Commit Graph

1297 Commits

Author SHA1 Message Date
Mike Dirolf 0d72ad3cdf c encoder/decoder for new Code type 2009-03-12 16:12:52 -04:00
Mike Dirolf 4e06c63972 fix warning 2009-03-12 16:01:13 -04:00
Mike Dirolf 0f546eb5c5 add new code type rather than doing hacks based on field name. use code_w_scope instead of code 2009-03-12 15:34:15 -04:00
Mike Dirolf d3594fe8b5 update types in example 2009-03-12 15:33:13 -04:00
Mike Dirolf 7e6e11ba99 only mask socket errors 2009-03-12 14:31:37 -04:00
Mike Dirolf 401922ca63 check count after as well 2009-03-11 13:42:19 -04:00
Mike Dirolf acaf635e33 count checks 2009-03-11 13:37:42 -04:00
Mike Dirolf d8a8c03a81 need to initialize this 2009-03-11 11:37:18 -04:00
Mike Dirolf 68807b8df5 a couple of fixes 2009-03-11 10:49:30 -04:00
Mike Dirolf 29e538e935 decode to an OrderedHash 2009-03-10 15:41:28 -04:00
Mike Dirolf 12e959eb15 regexp decoding 2009-03-10 15:33:03 -04:00
Mike Dirolf 173ebdbf48 dbref 2009-03-10 14:58:20 -04:00
Mike Dirolf 56fddf79d4 dbrefs only need an oid and a collection, not all this extra cruft... 2009-03-10 14:17:01 -04:00
Mike Dirolf a3f4e4565a undefined, oid, date decoders 2009-03-10 13:19:18 -04:00
Mike Dirolf 5bbbd0b1cd decode binary, code, symbol 2009-03-10 11:48:06 -04:00
Mike Dirolf 0d2e87d105 enough decoders to run bson_benchmark.rb 2009-03-10 10:45:56 -04:00
Mike Dirolf d0d043323f towards c decoder 2009-03-10 10:23:42 -04:00
Mike Dirolf 66cb1d492c run the test again on a unique collection 2009-03-09 10:21:08 -04:00
Mike Dirolf 5921fabfa4 run the test twice for debugging 2009-03-09 09:37:33 -04:00
Mike Dirolf 8b9bcb1e63 add back in logging and size checks around all socket receive's 2009-03-06 10:02:43 -05:00
Mike Dirolf 3ef1a6dfa8 support for bignum 2009-03-05 17:03:49 -05:00
Mike Dirolf 380a3aa3a1 write values as code 2009-03-05 16:08:10 -05:00
Mike Dirolf 1a52281b4e write _id first 2009-03-05 15:48:40 -05:00
Mike Dirolf e93b02137c test an ordered hash and encode them specially in c 2009-03-05 14:58:34 -05:00
Mike Dirolf 1d0fe595c8 equality for ordered hashes 2009-03-05 13:48:15 -05:00
Mike Dirolf 6f845b2dbf regex encoder 2009-03-05 13:16:34 -05:00
Mike Dirolf 56595af858 dbref encoder 2009-03-05 11:45:04 -05:00
Mike Dirolf 9f2305715e oid encoder 2009-03-05 11:38:08 -05:00
Mike Dirolf 634766b14e encode undefined 2009-03-05 11:12:44 -05:00
Mike Dirolf cfb1cb73ce encoder for symbols 2009-03-05 11:09:52 -05:00
Mike Dirolf 3904079715 encoder for Time 2009-03-05 10:58:56 -05:00
Mike Dirolf 709e819523 handle symbol keys as well as strings 2009-03-05 10:27:19 -05:00
Mike Dirolf 0ac6f2b4ed use ruby allocation macros 2009-03-05 09:48:12 -05:00
Mike Dirolf 5e1f827b09 bytebuffers => binary w/ subtype 2 2009-03-05 09:22:55 -05:00
Mike Dirolf 24e695b40d encoder for binary 2009-03-04 17:38:06 -05:00
Mike Dirolf 79b3df3c9e do all recv's in a loop. remove debugging cruft 2009-03-04 14:28:00 -05:00
Mike Dirolf 8b18502cd0 debug logs and assertions 2009-03-04 13:52:09 -05:00
Mike Dirolf 765ed9334e do to_a if it's not a string 2009-03-04 11:16:28 -05:00
Mike Dirolf 3a3109e7dc enough encoders to do bson_benchmark 2009-03-04 11:07:22 -05:00
Mike Dirolf 064ddacd5e c encoder for string types 2009-03-04 10:05:50 -05:00
Mike Dirolf bdec973ff4 more debugging 2009-03-04 09:35:27 -05:00
Mike Dirolf c69fbb7f67 checkpoint - beginnings of c encoder 2009-03-03 17:07:22 -05:00
Mike Dirolf f907edcde5 more stuff to see on failure 2009-03-03 09:59:36 -05:00
Mike Dirolf 0d64ec9de1 temporarily raise a different exception 2009-03-03 09:27:38 -05:00
Mike Dirolf f91c59ca7b the equivalent bson_benchmark to the python one 2009-03-02 16:03:36 -05:00
Mike Dirolf 332c4cfe29 create_index fixed in driver 2009-03-02 16:03:07 -05:00
Mike Dirolf a5a2e82836 fix breakage when running tests on non-default port. removing ability to specify connections in [port, host] ordering. 2009-03-02 13:37:12 -05:00
Mike Dirolf 27d6106376 bad test in 1.9 2009-03-02 11:49:56 -05:00
Mike Dirolf 544a044105 tests that already pass 2009-03-02 10:49:27 -05:00
Mike Dirolf 6a71b7e612 bumping - updates to gridfs and index creation 2009-02-27 12:23:14 -05:00