0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
Aaron
b47b8b6829 Make sure object w/ undefined elt is valid 2009-02-03 13:27:46 -05:00
Aaron
f4d6c7fec1 Undefined element can appear anywhere in object 2009-02-03 13:19:45 -05:00
Aaron
0f586a5a11 Add negative element size test 2009-01-21 10:58:53 -05:00
Aaron
75c6ef332d Try a short object too 2009-01-18 13:15:44 -05:00
Aaron
aadb251731 Patch some more holes in BSON validation 2009-01-18 13:11:43 -05:00
Aaron
9114640a56 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-17 09:12:43 -05:00
Aaron
204da5d094 Add more interesting fuzz tests, move json tests into separate file 2009-01-17 08:57:27 -05:00
Eliot Horowitz
1f27383fc2 oid parsing, slight better random 2009-01-17 00:20:47 -05:00
Aaron
cd8f315538 Just use a char 2009-01-16 16:51:06 -05:00
Aaron
980ce5a396 Add tests for BSON validating randomized bitstreams 2009-01-16 16:40:46 -05:00
Aaron
1c2b23bb0f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-16 15:15:33 -05:00
Aaron
1524c3e44b Enhance BSONObj::validate() 2009-01-16 15:13:46 -05:00
Eliot Horowitz
004db2d6fe incorrect implementation of OID 2009-01-16 14:21:46 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Aaron
f2bbe89666 Limit regex options, only use Dbref() in TenGen mode 2009-01-13 14:27:59 -05:00
Aaron
49043c49d6 Check syntactically reserved field names specifically 2009-01-12 11:51:20 -05:00
Aaron
f1a538c7c8 Don't allow field names starting with $, added some tests 2009-01-08 15:21:16 -05:00
Aaron
959598db78 Fix my dumb test 2009-01-07 18:21:03 -05:00
Aaron
df3e0eb486 Added token parse failure test 2009-01-07 10:35:17 -05:00
Aaron
dcb974a59f Add regex escaping test 2009-01-06 14:03:52 -05:00
Aaron
9c4278f3ff Fix up regexp parsing 2009-01-06 13:54:19 -05:00
Aaron
dacc872ba2 Enhance json parser 2009-01-06 13:02:09 -05:00
Aaron
f0b6cf77b5 Actually handle utf8 correctly 2009-01-02 10:57:33 -05:00
Aaron
6a4de72765 Add non-Strict mode for Dbref, use base64 encoding for bindata 2008-12-31 11:33:41 -05:00
Aaron
3b40382a0d Start on TenGen and JS modes 2008-12-30 19:04:40 -05:00
Aaron
e598a0cedd Only escape if utf8 character in basic ascii range 2008-12-30 18:20:57 -05:00
Aaron
6b9b6ffa77 Add date and regexp strict mode 2008-12-30 17:47:36 -05:00
Aaron
5c9b3f8d30 Added Symbol support to formattedString, modified BinData format 2008-12-30 17:16:39 -05:00
Aaron
cb023c8bb5 Better OID printing 2008-12-30 17:05:15 -05:00
Aaron
d5d630022a Started BSONObj::formattedString 2008-12-30 11:16:14 -05:00
Aaron
06e85597d4 Add newline at end of file to remove compiler warnings 2008-12-29 08:32:59 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
a16c235dad Add embedded object inequality test 2008-12-11 19:55:43 -05:00
Aaron
e85055ec41 Make object comparison recursive, with tests 2008-12-11 19:16:06 -05:00