Commit Graph

364 Commits

Author SHA1 Message Date
Mike Dirolf
0c9c4e7252 bumping 2009-02-06 16:09:31 -05:00
Mike Dirolf
40afeaba27 subtype is unsigned, another test 2009-02-06 16:07:19 -05:00
Mike Dirolf
2d7d198b7c add test that is failing for c decoder 2009-02-06 16:01:12 -05:00
Mike Dirolf
abbd6c0520 last of the leaks: encoding oids and dbrefs 2009-02-06 16:00:45 -05:00
Mike Dirolf
8ac859d8f0 encode re extra refs 2009-02-06 15:44:51 -05:00
Mike Dirolf
b713054689 decoding binary undecremented ref 2009-02-06 15:37:54 -05:00
Mike Dirolf
a15877f357 more reference count cleanup 2009-02-06 15:03:55 -05:00
Mike Dirolf
dbc05c7d23 think this cleans up all the leaks on the encoding side 2009-02-06 14:56:35 -05:00
Mike Dirolf
4e555bf5e6 more work on getting reference counts right 2009-02-06 14:37:13 -05:00
Mike Dirolf
3ffc1b5109 start patching leaks 2009-02-06 12:06:26 -05:00
Mike Dirolf
04e2fc00c9 make a better note of what is going on here 2009-02-06 10:57:42 -05:00
Mike Dirolf
4132b38704 possible leak 2009-02-06 10:53:53 -05:00
Mike Dirolf
c9b7f2e40f add MANIFEST file to include additional files in source distribution (this only happens automatically for svn and cvs). only use ez_setup if necessary. bump version 2009-02-06 10:00:34 -05:00
Mike Dirolf
c220a6031b bumping version 2009-02-05 17:18:40 -05:00
Mike Dirolf
0b5b331fb7 finish and enable C decoder 2009-02-05 17:08:44 -05:00
Mike Dirolf
70e7e1a4fd make test more lenient 2009-02-05 17:08:32 -05:00
Mike Dirolf
fc8afb6f44 oid, datetime, and dbref C decoders 2009-02-05 16:43:10 -05:00
Mike Dirolf
1305da2624 c encoder for Binary 2009-02-05 16:09:14 -05:00
Mike Dirolf
e755e41df8 undefined -> None too 2009-02-05 15:48:08 -05:00
Mike Dirolf
8c5a5d256a array, object, and null C decoders 2009-02-05 15:44:25 -05:00
Mike Dirolf
4dfcf3e872 more accurate benchmarking by adding _to_dict helper 2009-02-05 15:43:43 -05:00
Mike Dirolf
1b535bbbb2 hide to_dicts as _to_dicts 2009-02-05 15:40:07 -05:00
Mike Dirolf
49b1ecd591 write chunks before writing new file length 2009-02-05 15:09:55 -05:00
Mike Dirolf
1ffd0773e5 Revert "hopefully faster way to create SON"
unnecessary.

This reverts commit d1e2980046.
2009-02-05 14:44:01 -05:00
Mike Dirolf
f5aa8f66f1 just alias cProfile to profile 2009-02-05 14:43:02 -05:00
Mike Dirolf
3e4527cf17 faster. and just generate a dict, not SON, at least for now. 2009-02-05 14:42:35 -05:00
Mike Dirolf
d1e2980046 hopefully faster way to create SON 2009-02-05 13:34:28 -05:00
Mike Dirolf
29a57d8884 towards a C bson decoder. it's actually slightly slower than the python one right now because of overhead from creating an ordered dict. WIP. 2009-02-05 13:20:50 -05:00
Mike Dirolf
acbb77e86e consistent naming 2009-02-05 11:02:14 -05:00
Mike Dirolf
504c8fc942 unexpose / remove extraneous C helpers that were only useful during development 2009-02-05 11:00:50 -05:00
Mike Dirolf
7731009780 doc 2009-02-05 10:37:43 -05:00
Mike Dirolf
6aba7c9cdb support for the new driver tests 2009-02-05 10:35:24 -05:00
Mike Dirolf
7e109664ac drop_index by index specifier (in addition to index name) 2009-02-05 09:49:54 -05:00
Mike Dirolf
1540ca1ab0 doc 2009-02-05 09:48:59 -05:00
Mike Dirolf
9109d8ca5a bump version 2009-02-05 09:08:26 -05:00
Mike Dirolf
0d72379d54 support for regex and root SON objects. use c encoder if it's available 2009-02-04 19:39:51 -05:00
Mike Dirolf
40a470f3bf send args as list, not tuple 2009-02-04 19:36:26 -05:00
Mike Dirolf
ab18495cf1 oops, not ready to commit this yet 2009-02-04 19:03:21 -05:00
Mike Dirolf
5c9179ff7c initialize checked-against classes as static members of the module (instead of per-call) 2009-02-04 19:02:22 -05:00
Mike Dirolf
6b77b27c57 encode SON objects (ordered dicts) 2009-02-04 18:41:07 -05:00
Mike Dirolf
e4e9dffa23 C encoder for objectid and dbref 2009-02-04 18:08:11 -05:00
Mike Dirolf
a4afcd9de5 support for Code, datetime.datetime 2009-02-04 17:27:13 -05:00
Mike Dirolf
ba84559499 C Binary encoder 2009-02-04 16:17:03 -05:00
Mike Dirolf
72ed534bd8 support for dicts (but not SON yet) and lists in C encoder 2009-02-04 15:09:46 -05:00
Mike Dirolf
bacf2de02b make sure results are correct 2009-02-04 14:56:33 -05:00
Mike Dirolf
80249ee0b2 just check for instance of dict 2009-02-04 13:39:13 -05:00
Mike Dirolf
57d7fce271 just check for subclass of dict, not (SON, dict). SON is now a subclass of dict 2009-02-04 13:38:36 -05:00
Mike Dirolf
516b8271dc inherit from dict instead of DictMixin. doing this so that SON is a subclass of dict (for the C module) 2009-02-04 13:30:03 -05:00
Mike Dirolf
c14b392cd3 factor out _dict_to_bson 2009-02-04 11:01:27 -05:00
Mike Dirolf
4639bf843f clean script for hudson 2009-02-04 10:56:08 -05:00