Commit Graph

788 Commits

Author SHA1 Message Date
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
Mike Dirolf 453e09ce9e another test 2009-02-27 12:06:53 -05:00
Mike Dirolf 8af440308b more strict tests 2009-02-27 11:27:07 -05:00
Mike Dirolf 94fda16878 use new syntax for creating indexes 2009-02-27 09:23:13 -05:00
Mike Dirolf 9b9f14ce2e overhaul create_index - don't allow clients to specify their own name, allow descending indexes 2009-02-26 12:06:03 -05:00
Mike Dirolf 576ce7db59 benchmark suite for ruby 2009-02-26 10:39:39 -05:00
Mike Dirolf ff0a781d7f if there is an exception just let it get thrown so we get a useful stack trace 2009-02-24 15:28:02 -05:00
Mike Dirolf acfd505061 use fs as root collection, not gridfs 2009-02-18 17:50:07 -05:00
Mike Dirolf b4b4f289dd gridfs tests 2009-02-18 17:43:22 -05:00
Mike Dirolf 81d1e7bc3b pass additional args as command-line args 2009-02-18 17:42:37 -05:00