Commit Graph

87 Commits

Author SHA1 Message Date
Eliot Horowitz
5946dbf445 32-bit fix 2009-11-13 21:19:38 -05:00
Eliot Horowitz
ca785a0400 BDONObjBuilder::apendAsNumber
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mathias Stearn
44498641ea BSON_ARRAY macro 2009-11-05 13:34:14 -05:00
Mathias Stearn
e863bb68d6 BSONArray class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1ce5f2707b BSONArrayBuilder class 2009-11-05 13:34:14 -05:00
Mathias Stearn
1acf77ce0c Add nested-dotted converters for BSONObj 2009-11-02 13:32:20 -05:00
Eliot Horowitz
2dcaea56d3 windows compile MINOR 2009-10-29 12:06:16 -04:00
Eliot Horowitz
a770c37bd8 test for increasing OIDs 2009-10-29 11:58:32 -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
Mathias Stearn
326f612a98 un-overload appendTimeT to support MSVC 2009-10-15 15:23:53 -04:00
Mathias Stearn
f84a1f2429 support appending time_t to BSONObjBuilder 2009-10-15 13:59:30 -04:00
Dwight
ca9747f9cc Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-13 16:01:13 -04:00
Dwight
1083a425c2 ThreadLocalInt prettier 2009-10-13 12:55:23 -04:00
Mathias Stearn
ed92b96011 BSON( "created" << DATENOW ) 2009-10-13 12:33:25 -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
bbc42224b2 2 more tests MINOR 2009-10-07 09:15:30 -04:00
Eliot Horowitz
99fd09c2e9 some compat tests MINOR 2009-10-05 21:08:00 -04:00
unknown
7153023470 win pre-compild headers 2009-09-30 14:32:17 -04:00
Eliot Horowitz
c2c136a3f2 don't use any files for external sort if its in 1 chunk 2009-09-25 11:22:43 -04:00
Eliot Horowitz
ab135dd2f4 a unit test that already passes 2009-09-25 11:11:48 -04:00
Eliot Horowitz
d1ba3c244a dwight's test 2009-09-24 17:17:11 -04:00
Eliot Horowitz
56698dc313 return Iterator * 2009-09-24 17:04:44 -04:00
Eliot Horowitz
6d258c54de sort by obj,diskloc SERVER-291 2009-09-24 11:57:45 -04:00
Mike Dirolf
a2261b1eb6 minor: specify mongo namespace to avoid clash on windows 2009-09-18 14:26:15 -04:00
Mike Dirolf
53e89efce6 minor: whitespace 2009-09-18 14:25:23 -04:00
Eliot Horowitz
34e48aaf5d new unit test framework 2009-09-17 17:23:38 -04:00
Eliot Horowitz
03404026b9 external srot for BSONObj and DiskLoc SERVER-291 2009-09-16 15:26:18 -04:00
Eliot Horowitz
0c0a3893e4 option to appendOID to gen _id 2009-09-15 14:50:17 -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
4e225bb303 some tests for SERVER-282 2009-09-09 09:48:37 -04:00
Eliot Horowitz
af27a6594d append(Min|Max)ForType - so that range queries can be made smarter SERVER-177 2009-08-10 17:08:43 -04:00
Eliot Horowitz
004cd26dee fix appending BSONElement via << 2009-06-13 23:30:03 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Aaron
b7182b610a reset shared database after each test suite MINOR 2009-05-12 16:37:23 -04:00
Aaron
5b14118413 handle nan and inf double values in comparison 2009-04-07 17:58:25 -04:00
Aaron
8cd20d5ebb Add SIZE label 2009-03-27 13:31:13 -04:00
Aaron
e5a43008fd Build a subobject without recopying the contents 2009-03-25 18:24:22 -04:00
Aaron
18680997e8 Initialize BSONElement() with correct totalSize 2009-03-24 14:32:13 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
9d792eb0c5 Rename CurrentTime to Timestamp, don't change type on insert 2009-02-27 18:14:45 -05:00
Aaron
63e5764fe2 Add BSONElementManipulator and CurrentTime type 2009-02-27 17:18:56 -05:00
Aaron
8ccde5ae02 woCompare consider object length 2009-02-26 11:20:19 -05:00
Aaron
28d9cdb43b Fix woSortOrder 2009-02-24 18:53:34 -05:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
Aaron
e66877f86a Remove logging 2009-02-10 11:24:10 -05:00
Aaron
ea431a83dc Make labeled subobj specs easier in c++. Now you can do BSON( "a" << GT << 4 << LTE << 22.3 << NE << "foo" ) 2009-02-10 11:21:13 -05:00
Dwight
8cb17548c2 bsonobjbuilder cleanup 2009-02-09 15:38:26 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00