Commit Graph

34 Commits (75c28ee62f0f9c0b3be372b0c41ddbcbf6921d35)

Author SHA1 Message Date
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 aa77fdd4e5 removed unused vocab 2009-01-30 12:23:05 +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 f588143082 changed stream>assoc to return the amount of bytes read from the stream 2009-01-29 13:47:33 +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 3c8402dbca added README.txt 2009-01-25 11:19:07 +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
Slava Pestov ccd75d2a5e Add file to work dir to ensure it gets checked in 2008-09-12 04:36:32 -05:00