John Benediktsson
0ba693b3fa
cuda.memory: use binary-object.
2014-11-20 18:41:19 -08:00
Doug Coleman
8c95cddc08
pcre.ffi: Use pcre.dll on Windows.
2014-11-18 13:51:29 -08:00
Björn Lindqvist
8b09038e2f
project-euler: [ + ] 2map -> v+
2014-11-17 19:02:12 -08:00
Björn Lindqvist
61ba941740
math.vectors: changes so that some vocabs that can use math.vector words does it
2014-11-17 19:02:12 -08:00
Björn Lindqvist
001acde590
math.vectors: new word v>integer = [ >integer ] map
2014-11-17 19:02:12 -08:00
Björn Lindqvist
45ef36e42c
fuel.xref: refactor of normalize-loc and group-xrefs per mrjbq7s comments
2014-11-17 19:00:32 -08:00
Björn Lindqvist
2b1e080ccd
FUEL: big refactoring of fuel-xref-mode and the fuel.xref vocab
...
The big difference is that links to words are now grouped by vocab and
sorted alphabetically which I think makes *fuel xref* much more usable
when you have lots of words in the list
2014-11-17 19:00:32 -08:00
Björn Lindqvist
bc3a6660b8
FUEL: words-matching outputs an assoc so pick only the keys which are the words + test
2014-11-17 19:00:32 -08:00
Doug Coleman
df1b9dffe0
forestdb: Update forestdb api.
...
Fix opening snapshots -- use -1 as parameter.
2014-11-17 08:48:21 -08:00
John Benediktsson
ef6b2e231f
mason: cleanup usings and misc stuff.
2014-11-15 16:20:49 -08:00
John Benediktsson
b7ed0a431c
basis/extra: cleanup some platform requires.
2014-11-15 14:25:12 -08:00
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
Björn Lindqvist
f0b07540d3
python.tests: more destructors & refcounting tests
2014-10-27 09:52:04 -07:00
Björn Lindqvist
e819e34cec
python.modules: vocab hierarchy for standard library modules
...
pre-existing bindings for various python modules can be placed here so
that they dont have to be redeclared for everyone using them
2014-10-27 09:52:04 -07:00
Björn Lindqvist
87b0205c87
python: correction of reference counting logic and addition of None bindings
2014-10-27 09:52:04 -07:00
Björn Lindqvist
3feec7b14b
python.errors: new semantics for unsteal-ref
2014-10-27 09:52:04 -07:00
Doug Coleman
37b5ef7577
jamshred.player: Use nano-count instead of system-micros.
2014-10-26 17:22:20 -07:00
John Benediktsson
7ba4df4c1f
processing.shapes: fix using.
2014-10-24 22:32:54 -07:00
John Benediktsson
00ff4cd2bc
unmaintained: restore pong.
2014-10-24 22:29:44 -07:00
John Benediktsson
e9c0fe0acf
unmaintained: restoring trails, which is a neat processing demo.
2014-10-24 21:56:37 -07:00
John Benediktsson
798f6445bd
unmaintained: reanimated cairo demos, mostly working.
2014-10-24 21:39:18 -07:00
John Benediktsson
67dc51160c
boids: removing unnecessary with-translation.
2014-10-24 21:34:53 -07:00
John Benediktsson
541ccb3170
jamshred: it lives again, now you can jam and shred!
2014-10-24 18:17:33 -07:00
Björn Lindqvist
a3fe45e7ac
python: fix a reference leak in the (>py) word
2014-10-23 17:01:46 -07:00
Björn Lindqvist
4029bf7a17
python: feature to create python callbacks/functions, now you can call hofs like map and reduce
2014-10-23 17:01:46 -07:00
Björn Lindqvist
ba564d1b78
python: new syntax PY-QUALIFIED-FROM, so you can import eg __builtin__:map and not have it clash with factors map
2014-10-23 17:01:45 -07:00
John Benediktsson
dce2e90839
assocs.extras: adding delete-value-at.
2014-10-23 15:08:38 -07:00
John Benediktsson
df46b02b08
magic.ffi: look for "magic" (works better on linux).
2014-10-15 18:22:57 -07:00
John Benediktsson
e9a4f50394
magic: some minor fixes.
2014-10-15 13:46:47 -07:00
John Benediktsson
df1a1fffd0
magic: bindings for libmagic.
2014-10-14 20:50:38 -07:00
Björn Lindqvist
0d6f70cc7c
fuel.eval: wrap fuel-pprint in a without-limits so fuel output isn't truncated
2014-10-10 14:01:23 -07:00
Doug Coleman
5091780740
io.streams.peek: Add file position indicator api calls.
2014-10-10 11:55:14 -07:00
Doug Coleman
659572f30a
imap-tests: Reset test folder.
2014-10-09 15:40:41 -07:00
Björn Lindqvist
c6d419e0fe
imap: fix parse-store-mail parsing because it breaks on gmail
...
gmail responses include lines with the order of UID and FLAGS reversed
to indicate the previous flags for a mail. Just ignore those lines
because they aren't useful and non-standard.
2014-10-07 15:12:02 -07:00
Doug Coleman
61676954d4
tools.gc-decode: Just make sure that the gc-decode tests work. Any answer
...
is ok.
2014-10-07 13:13:58 -07:00
Björn Lindqvist
527318be63
graphviz.render.windows: need to return with the whole path in case
...
graphivz directory is not in PATH
2014-10-03 07:12:28 -07:00
Björn Lindqvist
12862dd313
webapps.mason.backend.tests: change db filename to mason-test.db to
...
avoid interference from other tests
2014-10-03 07:12:28 -07:00
Björn Lindqvist
43dc1ba259
python: docs for python-error
2014-10-02 08:32:39 -07:00
Björn Lindqvist
a530a10187
python: tests and plug a reference leak in the exception throwing code
2014-10-02 08:32:39 -07:00
Björn Lindqvist
ab75bcb60f
python.throwing: new module to support capturing python tracebacks
2014-10-02 08:32:39 -07:00
Doug Coleman
90094dffac
build-support: test failed on mac somehow, add a timeout so it fails faster.
2014-09-30 12:42:25 -07:00
Björn Lindqvist
4a96e6163b
VM: new primitive (callback-room) for querying the VM about memory usage
...
The word works exactly like (code-room) except it looks at the memory
usage in the callback heap instead of the code heap.
2014-09-29 07:30:21 -07:00
John Benediktsson
3ca2801d33
mason.report: dos2unix.
2014-09-28 20:31:39 -07:00
Björn Lindqvist
2a7a2b32ff
benchmark.reverse-complement.tests,mason.report.tests: fix for the test
...
cases so they write to temp files instead of in resource:
2014-09-28 20:31:18 -07:00
John Benediktsson
179c60b0a5
help.html: make docs use same completions algorithm as listener.
2014-09-25 21:08:15 -07:00
Doug Coleman
ae81a9c426
tools.gc-decode: linux32 is a slow vm and i'm committing from mac and things passed on mac last time. ugh.
2014-09-24 17:20:57 -07:00
Doug Coleman
b0179f528e
tools.gc-decode: typo..
2014-09-24 17:15:18 -07:00
Doug Coleman
3aa88dbeea
tools.gc-decode: Fix test for linux32.
2014-09-24 17:12:02 -07:00
Björn Lindqvist
ab61ba56fc
imap.tests: created connections needs to be disposed
2014-09-22 14:30:52 -07:00
Doug Coleman
202254a087
tools.gc-decode: Fix unit tests for 32bit.
2014-09-12 12:07:26 -07:00
Doug Coleman
d2ffa127e4
tools.gc-decode: Fix unit test for compiler fix.
2014-09-08 18:08:50 -07:00