Commit Graph

10651 Commits (dcbe85fe9cc84d35e0a40c44b414c8901071bd6c)

Author SHA1 Message Date
John Benediktsson de179243ce basis/extra: cleanup uses of add-library. 2014-11-13 13:05:14 -08:00
John Benediktsson 2b32e31ad2 readline-listener: print version-info. 2014-11-13 13:02:30 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
John Benediktsson 4154f25c58 magic.ffi: add platforms.txt. 2014-11-13 09:37:32 -08:00
John Benediktsson 3a0c04340e Revert "alien.libraries.finder: using find-library for some often missing libs"
This reverts commit a6b3f50e2c.

Conflicts:
	basis/gtk/ffi/ffi.factor
2014-11-13 09:33:30 -08:00
John Benediktsson 9f44b1c37a xkcd: need to html-unescape. 2014-11-12 19:44:25 -08:00
John Benediktsson 4fce958402 xkcd: fix comic-text. 2014-11-12 19:41:58 -08:00
John Benediktsson 760126525b basis/extra: fix using for map-index move back to sequences. 2014-11-11 18:00:44 -08:00
John Benediktsson be25dc2b7e Revert "tools.gc-decode: Dumb fix for zip change."
This reverts commit 4c1f7451a4.
2014-11-11 17:56:35 -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 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 4c1f7451a4 tools.gc-decode: Dumb fix for zip change. 2014-11-08 22:32:50 -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 56f1b87a6f basis, extra: Use zip-index. 2014-11-08 00:46:30 -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 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
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
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
John Benediktsson eb3ca17974 tar: cleanup stack effects, make read-data-blocks recursive. 2014-11-02 11:38:49 -08:00
John Benediktsson d31d836f86 tar: cleanup stack effects, minor things. 2014-11-02 10:32:53 -08:00
Doug Coleman d11737ac8e tar: Fix comment, just trim tail. 2014-11-02 09:54:01 -08:00
Doug Coleman cbe72a7605 tar: Couple of optimizations. 2014-11-01 23:12:25 -07:00
Doug Coleman fb09b8c69c zeromq: Opaque unit tests that keep failing are bad. Change to something
we can debug.
2014-11-01 13:19:53 -07:00
Doug Coleman 44e7c9b142 imap: Use uuids instead of random numbers. 2014-11-01 11:36:43 -07:00
Doug Coleman d5ad435914 imap: linux-x64.64/foo existed, so we couldn't delete linux-x64.64/ for some reason.
Delete like crazypeople.
Memoize _my_ random number. Hopefully tests are robust now?
2014-10-31 22:39:16 -07:00
John Benediktsson 6d6303010f python.objects: use flags{ } for flags. 2014-10-31 11:35:15 -07:00
Björn Lindqvist 929fca6b7e python: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171 2014-10-31 10:48:55 -07:00
Björn Lindqvist 8cbfaa9450 python.objects: fix <py-cfunction> need to malloc-struct PyMethodDef 2014-10-27 19:38:27 -07:00
Doug Coleman 60f7197134 python: Fix >py stack effect for docs. 2014-10-27 11:33:59 -07:00
Björn Lindqvist 584e9c5ce2 python.syntax: new way to bind python functions to factor words and updated tests
this way avoids binding literal alien values inside the words which is
just wrong. the hardcoded alien addresses goes "out of sync" when
factor is restarded and causes crashes.
2014-10-27 09:52:04 -07:00