gregs
99c28cb998
errorcodes
2011-06-21 22:09:04 -04:00
Aaron
fcbfd0f54e
SERVER-3222 merge
2011-06-21 10:51:15 -07:00
Aaron
4de924a3d9
SERVER-3222 min and max for type cleaning and fixes
2011-06-21 10:51:14 -07:00
Mathias Stearn
03736f9567
Don't allow manual split-point with different field order SERVER-3080
2011-06-20 19:29:12 -04:00
Dwight
89581c108f
fix hint1.js and minkey for date which is now tricky as we support a couple different compare semantics for V0 and V1 indexes
2011-06-06 12:40:41 -04:00
dwight
bc9b23b14d
towards signed dates
2011-06-06 08:17:55 -04:00
dwight
93b67ef211
move some functions to header as we want bson to be runnable header only
2011-06-05 18:10:07 -04:00
Dwight
5133061a17
prep for signed dates
2011-06-03 14:01:41 -04:00
Dwight
e104e01f84
use memcmp, not strcmp for comparing BSON strings
2011-06-01 14:57:40 -04:00
dwight
600f2eef36
SERVER-2935 fix woEqual which wasnt equalling ints and doubles
2011-06-01 09:35:42 -04:00
dwight
16f7b4fe65
some bson methods should be inline and were not
2011-05-23 20:03:16 -04:00
dwight
f3cfb889da
check we are in writelock on optime::now. also tune it a bit
2011-05-14 20:16:24 -04:00
Kristina
08b057a79d
json support for undefined
2011-05-13 15:27:25 -04:00
gregs
e4c3ecd92c
each location is a unique snowflake - don't merge in returned set
2011-05-05 11:28:42 -04:00
Mathias Stearn
33f74634e4
Make numStr safe in static init SERVER-2697
2011-04-04 12:05:43 -04:00
Mathias Stearn
244b162111
Use intrusive_ptr rather than shared_ptr for BSONObj
...
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster
Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
gregs
f45587a30a
allow multiple locations to be nested in different subdocuments SERVER-838
2011-03-28 15:51:50 -04:00
Eliot Horowitz
a5afcff324
make getFieldDottedOrArray 2x faster
2011-01-31 00:12:04 -05:00
Eliot Horowitz
d782a78fc7
put Array check back but at 1M instead of 4k
2011-01-20 17:06:20 -05:00
Eliot Horowitz
c07259ad3f
don't limit size of Array
2011-01-20 17:05:26 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Alberto Lerner
455f841fa7
explicit short sizeof assumption
2010-12-15 13:07:09 -05:00
dwight
4a5a00525b
refactor OID class a bit, cleanup, better id generation SERVER-2175
2010-12-05 20:56:51 -05:00
dwight
8b930cb852
strcpy_s change
2010-11-24 10:20:34 -05:00
Alberto Lerner
dce215638a
BSON( min << MINKEY << max << MAXKEY) is handy
2010-11-23 11:28:49 -05:00
Dwight
17a148278e
comment
2010-11-02 12:08:03 -04:00
Kristina Chodorow
7d3945a8be
fixes x.y.N skipping N's elements SERVER-1820
2010-09-21 13:54:23 -04:00
Mathias Stearn
0fe45dce90
Parse $nearSphere queries SERVER-1342
2010-09-02 20:12:37 -04:00
Eliot Horowitz
e3ff8becf3
sanity check for possible corruption
2010-08-22 16:32:14 -04:00
Alberto Lerner
c8ae18d4b4
change back header-only bson
2010-08-03 11:08:08 -04:00
Dwight
cafe5555c9
make bsondemo compile again with vs2010
2010-08-02 16:21:14 -04:00
Mathias Stearn
00679b9a2b
Test expect lowercase hex. May change them later.
2010-07-27 17:18:43 -04:00
Mathias Stearn
585b3797ff
use less stringstream in bson
2010-07-27 17:18:43 -04:00
Mathias Stearn
ce2bb7ee71
csv parsing issue SUPPORT-53
2010-07-22 21:13:52 -04:00
Alberto Lerner
9c33f219fb
SERVER-1272 Inline hot portion of BufBuild::grow()
2010-07-20 13:44:35 -04:00
Alberto Lerner
2b14da5f10
SERVER-1270 Elim c_str() /db
2010-07-20 12:39:35 -04:00
Alberto Lerner
27dde175e0
SERVER-1270 Hook StringData to BSONObjBuilder
2010-07-20 11:15:06 -04:00
dwight
c3b07d52ce
git????
2010-07-18 15:04:01 -04:00
Eliot Horowitz
867b9c16f1
use StringData in place rather than hacking
2010-07-18 11:14:32 -04:00
Mathias Stearn
4407f18829
extractFieldsDotted was unused and broken (done() vs obj()). use extractFields instead.
2010-07-14 14:34:44 -04:00
Mathias Stearn
0e5ed0a83e
more strlen(x) == 0 smashing
2010-06-29 20:07:09 -04:00
Mathias Stearn
23a6d6a869
Start handling Nuls in strings. SERVER-1177
2010-06-25 17:34:27 -04:00
Eliot Horowitz
9959f32daa
open to BSONObj::woCompare to treak compare key as dotted
2010-06-25 15:43:41 -04:00
Dwight
c1a862ddd6
see if this is happy on all platforms
2010-05-19 09:55:45 -04:00
Eliot Horowitz
04662e21d9
object id coordination across cluster SERVER-927
2010-05-11 12:06:09 -04:00
Eliot Horowitz
7e8ab84b41
jsonString for CodeWScope SERVER-1080
2010-05-03 16:36:04 -04:00
Dwight
bd28578ab8
stdafx->pch
2010-04-27 15:27:52 -04:00
Dwight
4ea1fe91d3
replsetcnfig work
2010-04-27 14:22:46 -04:00
Dwight Merriman
8fb9289813
bson cleaning
2010-04-25 17:48:49 -04:00
Eliot Horowitz
35b3b71bcf
more attemps to get tests to pass
2010-04-24 22:48:09 -04:00