Commit Graph

26516 Commits (114342a799ef4773e27e9ec03fa6b493abccd50d)

Author SHA1 Message Date
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 80f53ac954 forestdb.utils: Move utility words for tests into own vocab. 2014-11-10 19:10:35 -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 bc25858a4e forestdb.paths: Add words for messing around with forestdb paths. 2014-11-10 19:10:35 -08:00
Doug Coleman 466fe4559d ffi_test: Can actually test 62 and 63 on windows. 2014-11-10 10:30:35 -08:00
Doug Coleman 564a67ce7e compiler.tests.alien: Don't test ffi calls 61-63 on Windows. 2014-11-09 10:52:16 -08:00
Doug Coleman 1107edcc52 ffi_test: Fix compilation on Windows. 2014-11-09 10:39:50 -08:00
Doug Coleman 4c1f7451a4 tools.gc-decode: Dumb fix for zip change. 2014-11-08 22:32:50 -08:00
Doug Coleman 4b8de3ca1e checksums.interleave: Dumb fix for zip change. 2014-11-08 22:32:36 -08:00
Doug Coleman 46d855665a assocs: Fix up some stack effects. 2014-11-08 22:30:07 -08:00
Doug Coleman 3c4d1e41b7 tr: zip had a string as input. call { } zip-as instead. 2014-11-08 18:41:51 -08:00
Doug Coleman 45e7fd7921 assocs: Make the output from zip, zip-index, and map-index the same type as the first seq/assoc argument. Add tests. 2014-11-08 18:26:21 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
Doug Coleman 1b5711cc42 compiler.tests.alien: Add structs with uint and ulonglong pairs and return them from an FFI call. macosx32 seems to be working, hopefully this will break it or confirm that it's working. Linux32 is broken, hopefully this will show how. 2014-11-08 13:39:47 -08:00
Doug Coleman 56f1b87a6f basis, extra: Use zip-index. 2014-11-08 00:46:30 -08:00
Doug Coleman 1ce7c6a9e7 tools.scaffold: Add type for exemplar in docs. 2014-11-08 00:40:13 -08:00
Doug Coleman 0a0895f90f assocs: Add zip-index, zip-index-as and docs/tests.
sequences: Add map-index-as for symmetry and docs/tests.
2014-11-08 00:39:38 -08:00
Doug Coleman 9ff6d2d49c cpu.x86.64: 64-bit register is RDX not EDX. Fixes #1191. 2014-11-07 22:03:12 -08:00
Doug Coleman 0244a64d83 vm: Oops, test doesn't take a long long. 2014-11-07 15:42:25 -08:00
Doug Coleman e494e3965b compiler.tests.alien: Check in a failing unit test. Structure is getting returned improperly. 2014-11-07 15:34:10 -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
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Doug Coleman 8c3a817706 Revert "gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185."
This reverts commit 0ef942e400.
2014-11-05 12:03:05 -08:00
Doug Coleman 0ef942e400 gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185. 2014-11-05 10:04:21 -08:00
Doug Coleman 0b72a51cb3 forestdb: Support more api calls. 2014-11-05 10:04:09 -08:00
Benjamin Pollack 3359e9716b Link to the Python binding documentation from the Python vocabulary 2014-11-04 16:01:51 -08:00
Doug Coleman f6d28bebc8 extra: Update usages of CONSTRUCTOR: for new parameter. 2014-11-04 15:59:13 -08:00
Doug Coleman 73bd47f639 constructors: Unify C:, CONSTRUCTOR:, NAMED-CONSTRUCTOR:, and DEFAULT-CONSTRUCTOR: by requiring the class name after the constructor word name.
example: CONSTRUCTOR: <foo> foo ( stack effect -- obj ) ;

The benefit is that we can now search for <foo> by name and it's not auto-generated--less magic. Also, there are fewer kinds of constructors.

Rename CONSTRUCTOR-SYNTAX: to SLOT-CONSTRUCTOR: since it's more descriptive.
2014-11-04 15:56:23 -08:00
Björn Lindqvist db88ae8d30 fuel: get-vocabs word is redundant 2014-11-04 07:40:16 -08:00
Björn Lindqvist 079d2e41db FUEL: when browsing vocab documentation, use the fuel-help--buffer-link variable to determine what vocabulary we are "in" 2014-11-04 07:40:16 -08:00
Björn Lindqvist 189bc7a409 FUEL: unit tests for fuel, only 2 so far but the number is expected to grow 2014-11-04 07:40:16 -08:00
Björn Lindqvist 28b2942167 FUEL: fix markup of stack effects of quotations nested in stack effects 2014-11-04 07:40:16 -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 d5834dd7c6 forestdb.lib: Fix file name for test db. 2014-11-04 00:19:45 -08:00
John Benediktsson 5208f8bf4f furnace.utilities: fix docs for resolve-word-path. 2014-11-03 22:26:22 -08:00
Björn Lindqvist e206a5e453 furnace.utilities: refactor to not use make 2014-11-03 20:49:18 -08:00
Björn Lindqvist b29aa88f3c furnace.utilities: use a method based on where instead of vocab-path to find dir of vocab 2014-11-03 20:49:18 -08:00
Doug Coleman 9905b52f15 forestdb: Fix platforms.txt 2014-11-03 18:10:17 -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