Commit Graph

820 Commits

Author SHA1 Message Date
Mike Dirolf
075b0ba5ef minor: include all .h files in pymongo dir in manifest 2009-12-08 11:18:15 -05:00
Gregg Lind
a734f9baa7 better compatibility with bdist_rpm 2009-12-09 00:16:05 +08:00
Gregg Lind
0d19574d32 added Gregg Lind to contributors list 2009-12-08 05:58:10 +08:00
Gregg Lind
c0bf4bfa77 setup.py will work with elementtree or xml.etree.ElementTree
SON.py can use either elementree or xml.etree.ElementTree, but setup.py was only checking for xml.etree.
2009-12-08 05:58:10 +08:00
Mike Dirolf
28b9df9410 allow oplog. as a collection name 2009-12-04 15:37:38 -05:00
Mike Dirolf
e0ae571b8f minor: move some general utilities out to helpers.py 2009-12-04 10:57:55 -05:00
Mike Dirolf
a1c00f2b43 minor: these constants make more sense in grid_file.py 2009-12-04 10:41:22 -05:00
Mike Dirolf
143e649aca DEPRECATING ObjectId.url_encode and ObjectId.url_decode - use str() and ObjectId(), respectively. Also completely removing the ObjectId legacy stuff as I don't think anybody is using this. Improve ObjectId docs 2009-12-04 10:14:39 -05:00
Mike Dirolf
e70c6951a2 minor: doc fixes and tweaks for ObjectId 2009-12-03 17:47:25 -05:00
Mike Dirolf
b35cec3db5 add generation_time property to ObjectId instances 2009-12-03 17:12:38 -05:00
Mike Dirolf
a05b15925e minor: doc: clean up docs for main pymongo module 2009-12-03 16:49:02 -05:00
Mike Dirolf
d7005d4cce minor: commenting out test that is too dependent on timing 2009-12-03 10:41:07 -05:00
Mike Dirolf
f360566114 minor: make sure insert is finished before moving on to the next test 2009-12-01 17:24:31 -05:00
Mike Dirolf
c2acc083ce minor: no safe strcat for mingw32 2009-12-01 16:49:19 -05:00
Mike Dirolf
05f570d3b6 minor: oops 2009-12-01 16:47:41 -05:00
Mike Dirolf
45e1eea391 minor: fix for mingw32 / Python 2.5 on windows 2009-12-01 16:46:01 -05:00
Mike Dirolf
944451f9c0 minor: windows machine needs larger timeout 2009-12-01 13:43:31 -05:00
Mike Dirolf
9871699cb0 minor: oops. fix ifdef 2009-12-01 13:42:40 -05:00
Mike Dirolf
7a8d2d2930 minor: doc 2009-12-01 13:30:54 -05:00
Mike Dirolf
03b7b818ed minor: decrease timeout so test is less likely to be subject to timing issues 2009-12-01 13:29:43 -05:00
Mike Dirolf
e1927afdf2 allow any utf-8 string rather than just ascii. using unicode is still preferred because we don't have to check it at all 2009-12-01 13:27:44 -05:00
Mike Dirolf
9f18a4e8df minor: oops wrong nesting for ifdefs 2009-12-01 11:49:28 -05:00
Mike Dirolf
862c0a6c7c minor: implicit cast warning 2009-12-01 11:49:03 -05:00
Mike Dirolf
4e2dde1746 minor: refactor C time helpers out to a new file 2009-12-01 11:37:12 -05:00
Mike Dirolf
d9599059f1 minor: doc: version warning 2009-12-01 09:26:48 -05:00
Mike Dirolf
ed011b6530 minor: doc for conn[db] and conn.db 2009-11-30 17:19:41 -05:00
Mike Dirolf
57bd445cef fix for Cursor.__getitem__ after skip(), better docs for Cursor.__getitem__ 2009-11-30 17:09:31 -05:00
Mike Dirolf
9a0cf5a200 minor: skip m/r test on server < 1.1.1 2009-11-30 16:06:48 -05:00
Mike Dirolf
3d76a468da support for distinct w/ queries - Cursor.distinct 2009-11-30 15:57:48 -05:00
Mike Dirolf
0235da6729 minor: cross-reference to example 2009-11-30 15:08:25 -05:00
Mike Dirolf
83705c3a5e doc: add map/reduce example (as well as section for migrating existing examples to new doc system) 2009-11-30 15:02:15 -05:00
Mike Dirolf
1f7542d01c add Collection.map_reduce helper PYTHON-57 2009-11-30 13:39:49 -05:00
Mike Dirolf
c95ec94077 enforce 4MB document limit on the client side 2009-11-30 11:16:12 -05:00
Mike Dirolf
0924a9d01f always wrap queries with {query: ...}, even when there are no special options 2009-11-30 10:47:57 -05:00
Mike Dirolf
7fb44ebb6b minor: cleanup, tests and doc for last commit 2009-11-30 10:28:45 -05:00
Joshua Roesslein
2896911928 Fix Collection.remove() to allow optional spec parameter. This allows deleting all records in a collection. 2009-11-30 09:53:38 -05:00
Mike Dirolf
af312664f6 minor: cleaning up warnings on windows, linux 2009-11-25 14:22:14 -05:00
Mike Dirolf
8d9c4866f3 minor: a little bit more wiggle room 2009-11-25 10:33:19 -05:00
Mike Dirolf
71d672eb95 minor: update MANIFEST for switch to sphinx 2009-11-25 10:29:04 -05:00
Mike Dirolf
f5250a221f minor: no longer supporting regex from_xml 2009-11-24 10:49:37 -05:00
Mike Dirolf
b4602f3512 don't run regex mongo-qa tests because python regex equality testing is broken 2009-11-24 10:45:44 -05:00
Mike Dirolf
24cf411e53 minor: better debugging 2009-11-24 10:42:01 -05:00
Mike Dirolf
2a1c6968bc minor: oops forgot to update both places 2009-11-23 16:52:27 -05:00
Mike Dirolf
e631ddcc98 minor: add example to update docs 2009-11-23 16:47:54 -05:00
Mike Dirolf
1adcc8ec25 minor: only retry 10 times so we don't run out of sockets on win32 2009-11-23 16:20:18 -05:00
Mike Dirolf
a4bfa3157f minor: update version to 1.1.2+ 2009-11-23 16:07:43 -05:00
Mike Dirolf
7fb8bb63f4 BUMP 1.1.2 faster insert speed (message creation happens in C now), use random number for request_id, fix some race conditions with AutoReconnect exceptions 2009-11-23 15:58:19 -05:00
Mike Dirolf
856926dbab minor: don't try to connect indefinitely 2009-11-23 15:04:30 -05:00
Mike Dirolf
62fab40b44 close a single socket instead of doing a full reset - fixes some race conditions we were running into 2009-11-23 14:43:27 -05:00
Mike Dirolf
1b395b0d53 minor: (DOC) clarify desired performance of auto-reconnect 2009-11-23 10:15:33 -05:00