Commit Graph

30 Commits (5b3933e2e404a538dcff7450196d5cbcccb7572d)

Author SHA1 Message Date
Doug Coleman c69c40b616 forestdb: Default config changed, change it back for Factor. Add more comments.
Caught up to commit cce989f8ed66f1221fd57905123df79e35d5ff39
2016-03-05 15:15:43 -08:00
Doug Coleman 666b076d4c forestdb.lib: fix using 2016-02-19 19:22:19 -08:00
Doug Coleman 97296e7199 forestdb: allow setting byte-arrays. 2016-02-19 19:21:13 -08:00
Doug Coleman d99c9e1663 forestdb: Update for new apis. Fix a bug with iteration, fix a test case that changed behavior. 2016-02-18 10:09:44 -08:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman 91ba68cafe forestdb: Embrace the forestdb handle vs kvs handle idiom. Update tests. 2015-02-10 14:21:21 -08:00
Doug Coleman f015d3d6f6 forestdb: Remove unix only forestdb. Fix segfault for fdb-get-kv. 2015-01-08 19:26:28 -06:00
Doug Coleman 7e35c28bc6 forestdb.lib: fdb_iterator_get() actually calls create_doc and mallocs the memory for you. We use fdb_doc_free to free() it in with-doc later. 2014-12-11 15:28:13 -08:00
Doug Coleman 1f16d1933b forestdb: Update for recent changes. 2014-12-11 14:42:31 -08:00
Doug Coleman bc12a60a49 forestdb: fdb-handle -> fdb-kvs-handle. etc. 2014-11-21 23:58:26 -08:00
Doug Coleman df1b9dffe0 forestdb: Update forestdb api.
Fix opening snapshots -- use -1 as parameter.
2014-11-17 08:48:21 -08:00
Doug Coleman 114342a799 forestdb: Fix platforms.txt 2014-11-10 20:32:48 -08:00
Doug Coleman 114afdaaf7 forestdb.lib: Fix resource usage and cleanup. Reenable some snapshot tests but they expose bugs in forestdb, I think. 2014-11-10 19:10:36 -08:00
Doug Coleman a58dbdabb2 forestdb.lib: Remove concept of handle pair. 2014-11-10 19:10:35 -08:00
Doug Coleman 089b6e2570 forestdb.lib: Add byseq mapper and unit test some deletion. 2014-11-10 19:10:35 -08:00
Doug Coleman 89c33e9e30 forestdb.lib: Adding code to do compaction. 2014-11-10 19:10:35 -08:00
Doug Coleman 590cde5617 forestdb.ffi: Fix up api. 2014-11-07 15:33:48 -08:00
Doug Coleman c4be743bbe forestdb: Update for new api changes. Fix some unit tests, they look better now. 2014-11-07 13:06:53 -08:00
Doug Coleman bfd8771081 forestdb.lib: Must close with WAL commit or else data gets lost on next open. 2014-11-07 12:34:07 -08:00
Doug Coleman 24c6bbc2a8 forestdb.lib: iterator needs to call free on docs. 2014-11-07 02:23:19 -08:00
Doug Coleman 2f2cd7b299 forestdb.lib: fdb_doc has to be malloc'd. Iterators have to fdb_doc_free docs. Add with-doc and with-create-doc combinators. Unit testing fdb-get etc. 2014-11-07 01:56:37 -08:00
Doug Coleman 9348cb48ef forestdb.lib: Relax our expectations of ALIEN: slots and save other slots to doc tuple. 2014-11-06 20:20:39 -08:00
Doug Coleman ef743f3b90 forestdb: Add iteration by seq-num. Add tests for iteration by seq-num.
Document potential bugs.
2014-11-06 19:06:59 -08:00
Doug Coleman 76b14d1bea forestdb.ffi: Make fdb_iterator_opt_t its own type and remove comment.
forestdb.lib: Implement iterators and some related stuff.
Document possible bugs for now.
forestdb.lib-tests: Test iterators.
2014-11-06 18:33:51 -08:00
Doug Coleman 046e815a8c forestdb: Support snapshots and rollbacks, change how with-forestdb works. Unit test things. 2014-11-06 17:01:58 -08:00
Doug Coleman 0b72a51cb3 forestdb: Support more api calls. 2014-11-05 10:04:09 -08:00
Doug Coleman e5ee876dc5 forestdb.lib: use returned length since strings dont seem to be null terminated. 2014-11-04 00:39:05 -08:00
Doug Coleman 0cb9ae0fb4 forestdb: Make an ffi binding and a basic lib wrapper that can save a key/document and retrieve it by key. 2014-11-03 16:51:47 -08:00