Commit Graph

41 Commits (2a29d7fed42e2976273e0e41db40cbf62a6f825b)

Author SHA1 Message Date
Sascha Matzke 2a29d7fed4 changed find, update and get-more 2009-03-11 14:40:07 +01:00
Sascha Matzke 536933fafc some formatting 2009-03-09 22:58:19 +01:00
Sascha Matzke a041fb06dc added some more inlines to make words infer 2009-03-07 19:08:40 +01:00
Sascha Matzke 26c4aae74b fixed per-trial and batch-size variables to ensure the value is a number 2009-03-07 14:52:28 +01:00
Sascha Matzke 4b7c4a3564 made variables strings so that they can be set from the commandline 2009-03-07 14:24:38 +01:00
Sascha Matzke aaf887ab1d added stack effect to quot argument to with-db
made key check in query benchmarks optional
2009-03-07 14:06:53 +01:00
Sascha Matzke ca2459f729 made some performance improvements by using a shared byte-vector buffer for serialization 2009-03-07 13:54:53 +01:00
Sascha Matzke f56df9e965 added benchmark vocab - @see http://www.mongodb.org/display/DOCS/Performance+Testing 2009-03-06 22:56:24 +01:00
Sascha Matzke cdb2e6e565 added doc skeletons 2009-03-06 22:56:02 +01:00
Sascha Matzke 87f0eeb282 fixed bug in bson.writer which caused any field name "_id" to be written twice,
fixed lasterror in mongodb.driver
2009-03-05 07:01:12 +01:00
Sascha Matzke 66cf30ac1c made most "front" methods generic
switched back to assoc generic type
2009-03-03 22:44:24 +01:00
Sascha Matzke 75c28ee62f renamed some things
moved _id and _mdb_ constants to bson vocab
2009-03-03 16:26:54 +01:00
Sascha Matzke 22a891b483 added _id handling; the _id field must always be the first field in
a bson document. Handling it at this "low" level makes things easier
in the layers above
2009-03-02 18:44:24 +01:00
Sascha Matzke e21f367691 removed mongodb.factor isn't needed until tuple integration really works 2009-03-02 06:53:32 +01:00
Sascha Matzke 83b251feee removed tuple integration from main branch 2009-03-02 06:44:35 +01:00
Sascha Matzke 02a76d0a3e started complete rewrite... Now there's a low-level driver (mongodb.driver)
implementation. Tuple integration will follow soon.
2009-03-01 22:45:38 +01:00
Sascha Matzke 2e641216f3 changed type > byte-array conversion; now using io.binary (>le, le>)
updated USING:s
2009-02-09 08:31:47 +01:00
Sascha Matzke 16965933bc dropped oid and dbref support from bson; now using uuid (v1) for objid (Binary, Subtype: UUID)
and custom binary format for objrefs (ns, objid - Binary, Subtype: Custom)
2009-02-01 17:40:52 +01:00
Sascha Matzke 0e2b60bf89 fixed ismastercmd 2009-01-31 16:06:49 +01:00
Sascha Matzke bd6be4fe27 using CONSTRUCTOR: for non-generic tuple constructors 2009-01-31 16:05:21 +01:00
Sascha Matzke 5dacbdaace rewrote (write-message) 2009-01-31 16:04:19 +01:00
Sascha Matzke 9838b6fee1 reworked reading of cstrings (using BV{ } now) - not sure about using read-until 2009-01-31 11:51:30 +01:00
Sascha Matzke af9f0f32df added update message 2009-01-30 12:51:46 +01:00
Sascha Matzke 7179e2f84b added missing messages: killcursors, getmore, delete 2009-01-30 12:23:35 +01:00
Sascha Matzke 050b77d44c nicer output 2009-01-29 13:52:37 +01:00
Sascha Matzke e5ba1d2509 fixed reading of multiple bson objects in one message (tracking bytes read and comparing with overall message size) 2009-01-29 13:51:51 +01:00
Sascha Matzke 399838b960 rewrote low-level (find-one) word as wrapper around (find) 2009-01-29 13:50:42 +01:00
Sascha Matzke eb00f33fa8 removed findOne words, added new word nfind ( example n -- result ) which limits the number of results returned to n 2009-01-29 13:49:18 +01:00
Sascha Matzke 0cbd1ed207 rewrote check-nodes 2009-01-29 13:48:22 +01:00
Sascha Matzke fa8aa747b9 added mongo message monitor in factor... fixed some things, unified read/write message 2009-01-28 21:11:45 +01:00
Sascha Matzke ef9971840d some more cleaning up 2009-01-27 19:42:29 +01:00
Sascha Matzke c0f2c3a95f recovered files lost by my own stupidity... 2009-01-27 09:21:04 +01:00
Sascha Matzke 3e433f52a2 various changes 2009-01-23 06:53:08 +01:00
Sascha Matzke 28809b0ec0 made bson a toplevel vocab 2009-01-03 12:48:11 +01:00
Sascha Matzke 3a03cadef6 some further persistent tuple work; not sure if the whole tuple
persistence behavior should bleed into the bson reader/writer,
of if to keep them "pure"
2008-12-27 16:57:54 +01:00
Sascha Matzke eaa88c90ab Merge commit 'f742a8f9db55ce2c9184803ac278af5ec107b15f'
Conflicts:
	work/mongodb/persistent/persistent.factor
2008-12-27 12:13:33 +01:00
Sascha Matzke 34bf034b92 modified version 2008-12-27 12:11:15 +01:00
Sascha Matzke 88d337a001 added _p_info hashtable constant keys
commented make-persistent cause it's not working, yet
2008-12-27 12:03:30 +01:00
Sascha Matzke 752c637cb8 some work 2008-12-19 14:57:01 +01:00
Sascha Matzke f67441f493 started working on transparent persistence for tuples (using dynamic subclassing)
*** state: broken ***
2008-12-19 13:47:46 +01:00
Sascha Matzke dc825d21c5 working round-trip bson (tuples - strings, numbers, other tuples as members ) >bson/bson> 2008-12-16 14:17:00 +01:00