Commit Graph

330 Commits

Author SHA1 Message Date
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
Mike Dirolf
07f5fb506f float and none c encoders 2009-02-04 10:55:56 -05:00
Mike Dirolf
ff8a59125c only print collections starting with dbs 2009-02-04 10:24:25 -05:00
Mike Dirolf
312f8c3cf3 c bool encoding 2009-02-04 10:03:26 -05:00
Mike Dirolf
4a3105d727 print one collection name per line, to match expected output 2009-02-04 09:37:11 -05:00
Mike Dirolf
6718be86c0 c encoder for ints 2009-02-03 17:19:06 -05:00
Mike Dirolf
10e53b6abc indent w/ 4 spaces 2009-02-03 16:57:41 -05:00
Mike Dirolf
69a9167a35 factor out common code for strings and unicode 2009-02-03 16:48:09 -05:00
Mike Dirolf
6c21ead4aa support for strings in c module. 2009-02-03 16:29:00 -05:00
Mike Dirolf
fa1eb0da08 c version of _element_to_bson for unicode. use the c version whenever it supports an element type 2009-02-03 15:53:48 -05:00
Mike Dirolf
f716ea6f38 change db name for examples 2009-02-03 15:14:09 -05:00
Mike Dirolf
3f098ce8a7 admin and dbs test. remove circular test entirely. don't print anything if the test is skipped 2009-02-03 14:44:42 -05:00
Mike Dirolf
6f29ed27d7 create a collection even if no options are passed to create_collection 2009-02-03 14:31:57 -05:00
Mike Dirolf
6c2944802f doc 2009-02-03 14:16:13 -05:00
Mike Dirolf
f18626a4b9 bump version: binary subtypes, gridfs 1.0, safe insert operations 2009-02-03 12:13:41 -05:00
Mike Dirolf
3b09dfe320 doc 2009-02-03 12:04:28 -05:00
Mike Dirolf
63f882af99 added safe save. can't think of a good way to test this w/o depending on auth being on, which would break the rest of the tests 2009-02-03 11:57:04 -05:00
Mike Dirolf
9d3679c2cf safe update 2009-02-03 11:48:46 -05:00
Mike Dirolf
37a5fe52e1 insert takes 'safe' argument. test and fix for update 2009-02-03 11:47:52 -05:00
Mike Dirolf
94645a115a insert takes 'safe' argument. test and fix for update 2009-02-03 11:46:22 -05:00
Mike Dirolf
b9acd8ff9f create index, use stored chunk_number instead of sorting each time, convert length to int 2009-02-03 10:54:32 -05:00
Mike Dirolf
dc874b932d default root collection: gridfs -> fs 2009-02-03 10:19:16 -05:00
Mike Dirolf
ff15368fcb gridfs 1.0 2009-02-03 10:09:13 -05:00
Mike Dirolf
8fe10b9731 set a timeout of 20 seconds on connections 2009-02-02 17:45:13 -05:00
Mike Dirolf
57941f9166 towards gridfs 1.0: support metadata 2009-02-02 17:39:30 -05:00
Mike Dirolf
7507898476 towards gridfs 1.0 -> change collection structure / default naming 2009-02-02 17:14:05 -05:00
Mike Dirolf
d1b7314127 wip: c version of element_to_bson 2009-02-02 16:31:16 -05:00
Mike Dirolf
b036a279f3 make c string before calling element_to_bson 2009-02-02 15:26:41 -05:00
Mike Dirolf
fab5ce00a3 output to file 2009-02-02 15:14:38 -05:00
Mike Dirolf
52d5c364e1 seperate shuffle logic from module interface 2009-02-02 14:58:49 -05:00
Mike Dirolf
d953cf070b really simple c extension module for bson - basically just experimenting with how this works 2009-02-02 14:25:01 -05:00
Mike Dirolf
31429f62b5 ignore compiled c extensions 2009-02-02 13:47:19 -05:00
Mike Dirolf
f6237d63d9 note about using pickle 2009-02-02 11:38:23 -05:00
Mike Dirolf
50ce01d820 ignore the symlinks i add to make sure examples run against most recent code 2009-02-02 11:36:56 -05:00
Mike Dirolf
444a7122e1 add an example of saving and restoring custom types 2009-02-02 11:34:04 -05:00