Commit Graph

246 Commits

Author SHA1 Message Date
Eliot Horowitz
9603130205 cleaning 2010-01-21 08:57:09 -05:00
Dwight
91637c8e9b Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-19 11:05:37 -05:00
Dwight
d8e9164616 rename Matcher class 2010-01-19 11:04:52 -05:00
Eliot Horowitz
14a0217520 jsonString supports timestamp 2010-01-19 10:16:45 -05:00
Eliot Horowitz
6830dd0dd0 BSONObj::okForStorage - just checks for $ and . for 2010-01-16 11:08:32 -05:00
Eliot Horowitz
cd7148702b jsonString handles Code SERVER-406 2010-01-16 10:39:51 -05:00
Mathias Stearn
4d29c6b654 simpleRegex() doesn't belong in BSONElement MINOR 2010-01-14 23:24:22 -05:00
Mathias Stearn
6ed57e7166 Use index for {$regex: "^foo"} queries 2010-01-14 23:24:22 -05:00
Mathias Stearn
e73ba7834e Use indexes for more regex queries 2010-01-12 21:16:52 -05:00
Eliot Horowitz
c9de787f17 basics os array element matching done SERVER-377 - doesn't work with query optimizer yet 2009-12-31 14:04:44 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
a71ff07701 BSONObjIteratorSorted - sorted iterator for bson obj that is sorted by field name 2009-12-18 01:50:43 -05:00
Mathias Stearn
4987213af9 More sane version of extractFieldsDotted (not used anywhere yet) 2009-12-09 13:19:18 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -05:00
Mathias Stearn
7133196d6b Make OID and MSGID increments atomic 2009-12-01 19:29:08 -05:00
dwight
6ef4bd7aa6 bug fix with OID generation on OS X (init order problem) 2009-11-24 18:09:20 -05:00
Mathias Stearn
498d87fe5b OID::newState to generate fresh "machine" bits 2009-11-23 11:33:27 -05:00
Mathias Stearn
33c85f0d84 Reduce probability of OID collisions 2009-11-23 11:33:27 -05:00
Eliot Horowitz
ca785a0400 BDONObjBuilder::apendAsNumber
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mike Dirolf
bb2e504105 use instead of for strict JSON DBRef encoding - more consistent 2009-11-10 17:28:51 -05:00
Mathias Stearn
edd9f57e7f BSONObjBuilder::numStr optimization 2009-11-05 13:34:14 -05:00
Mathias Stearn
0c48803a96 fix for boost 1.33. no BOOST_FOREACH :( 2009-11-02 13:46:25 -05:00
Mathias Stearn
1acf77ce0c Add nested-dotted converters for BSONObj 2009-11-02 13:32:20 -05:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Mathias Stearn
8190d8db53 Support {:'foo', :'bar'} syntax in queries. SERVER-275 2009-10-19 14:30:46 -04:00
Mathias Stearn
4f83c02fcc cleanup detection. MINOR 2009-10-19 14:29:50 -04:00
Eliot Horowitz
117a9b68f9 some prep work for comparing dotted field names. can't use strcmp like we used to since don't quite match 2009-10-16 23:41:21 -04:00
Dwight
f152047f19 fix assert to use ours and thus make unit test pass 2009-10-15 16:47:35 -04:00
Mathias Stearn
8037dc89bf Modify OID definition 2009-10-15 14:08:40 -04:00
Mathias Stearn
55a8da7715 codify some assumptions 2009-10-13 17:14:32 -04:00
Mathias Stearn
ed92b96011 BSON( "created" << DATENOW ) 2009-10-13 12:33:25 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Eliot Horowitz
e0462f7dcf refactor matcher a bit 2009-10-12 12:58:43 -04:00
Eliot Horowitz
a4f7dc11d7 $type operator - SERVER-336 2009-10-12 11:58:14 -04:00
Eliot Horowitz
9e46e19eeb BSONObj::md5() - some tests that can be copied to other drivers 2009-10-07 15:47:53 -04:00
Eliot Horowitz
283572bebc don't use Timestamp for other things since it may change 2009-10-05 17:13:55 -04:00
Eliot Horowitz
b8e956694f starting to rip out boost base64 2009-10-01 08:34:50 -04:00
Mathias Stearn
4a8c39140b group() now uses full key-names in output SERVER-296
Signed-off-by: Eliot <eliot@10gen.com>
2009-09-17 11:56:40 +08:00
Mike Dirolf
d78655dcf7 emit ObjectIds in strict JSON as { "$oid" : ... } 2009-09-15 12:14:00 -04:00
Mike Dirolf
bde9da79b6 minor: whitespace 2009-09-15 12:13:47 -04:00
Dwight
fd36a649d0 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-11 11:00:24 -04:00
Dwight
1bdc3762c6 GENOID feature for BSON in c++
BSON( GENOID << z << 3 );
2009-09-11 10:58:59 -04:00
Eliot Horowitz
cbb58275d2 make group work better with nulls 2009-09-10 15:45:31 -04:00
Eliot Horowitz
be97ce47b9 slight change to extractFields to make it more backwardsCompatible 2009-09-09 13:02:41 -04:00
Eliot Horowitz
0cb4b01795 fix SERVER-282 - BSONObj::extractFields 2009-09-09 12:25:02 -04:00
Eliot Horowitz
927078af78 normalize sort order - put null first 2009-09-09 11:51:23 -04:00
Eliot Horowitz
157df4a2cc fallout from Symbol change 2009-08-27 10:09:55 -04:00
Eliot Horowitz
da81fa2fcc symbol indexing fixes 2009-08-27 09:41:21 -04:00
Eliot Horowitz
5501d7c3ba make max for Timestamp better 2009-08-25 12:24:36 -04:00
Eliot Horowitz
76bf7fb38e spam MINOR 2009-08-25 11:09:20 -04:00