Commit Graph

479 Commits

Author SHA1 Message Date
Mike Dirolf
5e8dedfc38 bump version - fix for dbref perf. regression 2009-03-18 14:00:05 -04:00
Mike Dirolf
157e032892 handle dbrefs in c bson module as well 2009-03-18 11:53:03 -04:00
Mike Dirolf
8578b20e64 handle dbrefs in the bson encoder rather than as a layer on top 2009-03-18 10:31:47 -04:00
Mike Dirolf
9f3ad7f0d4 bumping version: faster decoding, master-slave support, use code_w_scope, new-style dbrefs, auto-ref 2009-03-17 13:37:52 -04:00
Mike Dirolf
9eebac461e add a test for what marc has been trying to do 2009-03-17 13:18:08 -04:00
Mike Dirolf
7ddbdc5442 add basic auto-ref support 2009-03-17 13:04:50 -04:00
Mike Dirolf
055bd7f31c test that already passes 2009-03-17 11:26:31 -04:00
Mike Dirolf
61fe349105 newly added manipulators get applied before existing ones 2009-03-17 11:11:00 -04:00
Mike Dirolf
943b9e1328 test dereferencing a non-objectid dbref 2009-03-17 11:00:07 -04:00
Mike Dirolf
708f12a33a _id can be anything in DBRef instance 2009-03-17 10:43:25 -04:00
Mike Dirolf
b57d8c2d60 SONManipulator for converting between DBRefs and the corresponding embedded objects 2009-03-17 10:10:54 -04:00
Mike Dirolf
5942f0de08 clean up the concept of copying vs non-copying manipulators. placeholder for dbreftransformer 2009-03-16 15:38:24 -04:00
Mike Dirolf
396d4ded9d make collection, id properties of dbref 2009-03-12 13:45:07 -04:00
Mike Dirolf
411e4bc517 use the InvalidDocument exception class for C encoding / decoding errors 2009-03-12 11:58:52 -04:00
Mike Dirolf
3262cfc215 make subtype a property instead of a regular method 2009-03-12 11:52:52 -04:00
Mike Dirolf
06f1c92637 test that already passes 2009-03-12 11:47:09 -04:00
Mike Dirolf
e0776fb06a c encoder + decoder for code_w_scope 2009-03-12 11:46:59 -04:00
Mike Dirolf
6ca697554d support for scopes in where clauses. and getter for code_w_scope 2009-03-12 11:25:00 -04:00
Mike Dirolf
5eda427cbc use code_w_scope instead of code for eval. change Code class to support scopes 2009-03-12 11:16:03 -04:00
Mike Dirolf
238dc58b85 oops. make sure we have enough space for all possible flags' 2009-03-10 16:01:44 -04:00
Mike Dirolf
fdb9a94db6 fix some tests 2009-03-09 14:22:21 -04:00
Mike Dirolf
98dd6765bb test killing cursors on master-slave 2009-03-09 14:02:51 -04:00
Mike Dirolf
33ef246812 towards master-slave support 2009-03-09 11:47:54 -04:00
Mike Dirolf
e9f8e7e98f possible fix for connection issue that SW ran into... 2009-03-06 15:48:08 -05:00
Mike Dirolf
179bbd9156 spelling 2009-03-06 10:56:04 -05:00
Mike Dirolf
29e48049c6 faster bson decoding 2009-02-27 17:50:07 -05:00
Mike Dirolf
52bfc2cf5b do less repacking on encodes 2009-02-27 16:06:10 -05:00
Mike Dirolf
838bf02481 bumping version - faster encoding, some fixes to keep up w/ mongod changes 2009-02-27 10:31:18 -05:00
Mike Dirolf
3e5b35ac51 buffer based C BSON encoder 2009-02-27 10:22:23 -05:00
Mike Dirolf
9edafa2167 make sure we're using utc 2009-02-25 17:42:03 -05:00
Mike Dirolf
f9610dc74d document that all datetime instances should be UTC 2009-02-25 17:16:13 -05:00
Mike Dirolf
5e641f8774 error message changed 2009-02-25 12:11:36 -05:00
Mike Dirolf
df221cf2fe replace old benchmark suite with new one 2009-02-25 10:07:16 -05:00
Mike Dirolf
19f0d9a041 ops / second, fix range tests 2009-02-25 10:06:42 -05:00
Mike Dirolf
68667ef189 new benchmark suite 2009-02-24 17:42:49 -05:00
Mike Dirolf
33e563147e use cursorInfo command instead of intr collection 2009-02-23 18:08:52 -05:00
Mike Dirolf
f7a1349f74 oops -a by accident
This reverts commit 28d2d0cbb0.
2009-02-23 18:05:47 -05:00
Mike Dirolf
28d2d0cbb0 use cursorInfo command instead of intr collection 2009-02-23 18:05:20 -05:00
Mike Dirolf
92f671958d add simple auto-reconnect test script 2009-02-23 15:37:53 -05:00
Mike Dirolf
18dc433699 update link 2009-02-23 15:29:06 -05:00
Mike Dirolf
83f08fb178 doc updates 2009-02-23 15:22:10 -05:00
Mike Dirolf
d8bca13d43 reraise to see why this is failing sometimes 2009-02-23 09:02:29 -05:00
Mike Dirolf
6c582b500e allow subclasses of string and unicode in the C encoder. this matches the python encoder's behavior... probably a bit slower for most cases though 2009-02-20 17:02:30 -05:00
Mike Dirolf
68546ffc4e change status classifier 2009-02-20 15:12:10 -05:00
Mike Dirolf
691a1a1fb6 note in README about 2.3 support. bump version (adding support for 2.3) 2009-02-20 15:07:50 -05:00
Mike Dirolf
1961c3dfce add qcheck to manifest 2009-02-20 15:04:38 -05:00
Mike Dirolf
7bbb4a5133 python 2.3 support
mostly not using unittest.assertTrue and assertFalse.
also not using decorator syntax, and some missing built-ins (sorted, etc.)
2009-02-20 14:35:21 -05:00
Mike Dirolf
75fb46a732 bumping version w/ support for Python 2.4 2009-02-20 11:08:43 -05:00
Mike Dirolf
9415161e83 update README to add support for 2.4. only require elementtree if version is < 2.5 2009-02-20 11:07:27 -05:00
Mike Dirolf
f167101a3e changes to support python 2.4 2009-02-20 10:38:17 -05:00