John Benediktsson
45c5213a5b
alien.cxx.demangle.libstdcxx: fix using list.
2014-11-21 06:57:43 -08:00
John Benediktsson
115511038d
libc: removing &(free) and |(free) destructors which aren't really used.
2014-11-20 19:51:10 -08:00
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
Björn Lindqvist
5e1a0e212a
tools.gc-decode: update vocab to match gc-map changes
2014-09-08 14:54:18 -07:00
Doug Coleman
1df0cffc8a
tools.gc-decode: Fix docs.
2014-08-25 16:40:31 -07:00
Björn Lindqvist
3a6c14765d
vm: add the gc-info struct
2014-08-25 14:52:11 -07:00
Björn Lindqvist
9b35de2b10
tools.gc-decode: vocab for reading words gc maps
2014-08-25 14:52:06 -07:00
Björn Lindqvist
4f1762d121
elf: only open file for reading
2014-08-25 14:51:05 -07:00
Björn Lindqvist
b5147aa549
curses.ffi: on some linuxes, libncursesw.so is a linker script so find-library is needed to find the real elf file
2014-08-25 14:50:26 -07:00
Doug Coleman
a8173daca2
curses: Add some more api calls. Allow a getch that doesn't throw on errors because you need it for window resize.
2014-08-25 14:50:20 -07:00
John Benediktsson
87433a4585
``swap drop`` is ``nip``.
2014-08-05 10:31:42 -07:00
John Benediktsson
5fd3230b2e
curl: slight refactor.
2014-07-22 08:40:06 -07:00
Björn Lindqvist
60ffe0680e
kernel: new combinator 2with = with with
2014-07-22 07:40:13 -07:00
John Benediktsson
80be72b6e1
colors.distances: add some tests, refactor locals a little bit.
2014-07-13 08:50:54 -07:00
John Benediktsson
88e2b08514
colors.distances: implement CIE76, CIE94, CIEDE2000, and CMC l:c color difference algorithms.
2014-07-11 17:20:57 -07:00
John Benediktsson
0b40888646
colors.lab: add copyright.
2014-07-11 17:20:57 -07:00
John Benediktsson
4cc811badf
pcre: add a comment for future knowledges.
2014-07-10 16:33:20 -07:00
Doug Coleman
452567f7d0
pcre: On at least win64, the pointer is returned as an int and is
...
negative. Cast it to a uint and everything works. Fixes #1105 .
2014-07-10 16:23:34 -07:00
John Benediktsson
6731b0fed4
use "of" in place of "swap at".
2014-07-10 07:53:13 -07:00
Doug Coleman
65ea46efbe
fftw.ffi: Find the fftw dll for Windows.
2014-07-09 23:11:49 -05:00
Doug Coleman
cc932b1a70
yaml.ffi: Fix library names. (for Windows, it's called libyaml-0-2.dll and
...
we dont prefix 'lib' in find-library)
2014-07-09 12:11:52 -05:00
John Benediktsson
05182b7a30
yaml.ffi: fix library names.
2014-07-09 09:06:42 -07:00
Jon Harper
902d3b9bcd
YAML: allow configuration of !!merge and !!value
2014-07-08 15:53:52 -07:00
Jon Harper
656be0f736
YAML: support !!value in !!map
2014-07-08 15:53:52 -07:00
Jon Harper
e1e2519d7a
YAML: support !!merge in !!map
2014-07-08 15:53:52 -07:00
Jon Harper
640975bdc2
YAML: support !!timestamp
2014-07-08 15:53:52 -07:00
Doug Coleman
85f5075c83
python.ffi: Use find-library-from-list instead of all that crufty code.
2014-07-08 11:59:07 -07:00
Doug Coleman
987967cf95
gdbm: Enable gdbm on Win64.
2014-07-08 12:50:13 -05:00
Doug Coleman
1e8655c5c0
alien.libraries.finder: More robust finder code that doesn't return f to a
...
string slot and error out. Use it in yaml.ffi.
2014-07-08 12:40:33 -05:00
Doug Coleman
8afdafac05
gdbm.ffi: Use find-library-from-list because nobody can agree on what to
...
name the gdbm dll.
2014-07-08 12:23:11 -05:00
John Benediktsson
ccfd9101f0
python: change to py-initialize in startup-hook and py-finalize in shutdown hook.
2014-07-06 10:18:27 -07:00
Doug Coleman
91b16d7ed1
python: Call py-initialize in example, just in case it hasn't been called. Otherwise, python segfaults..
2014-07-04 01:56:03 -07:00
Doug Coleman
c0b7fb6a23
python.ffi: Disable python3
2014-07-04 01:25:22 +00:00
Doug Coleman
5c8bb0f69e
python.ffi: On Arch Linux, the library is called libpython3.so
2014-07-04 01:17:22 +00:00
Björn Lindqvist
508b85851d
tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
...
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00:00
John Benediktsson
85fdc4f6d2
math.transforms.bwt: cleaner to check last.
2014-06-30 09:04:08 -07:00
John Benediktsson
14c5f30ee5
curl: bindings to libcurl.
2014-06-28 15:44:17 -07:00
John Benediktsson
3a9f4edcff
colors.lch: implement CIELCH colors.
2014-06-24 06:58:02 -07:00
John Benediktsson
08dcbdc949
io.binary.fast: le> and be> should be unsigned.
2014-06-23 21:12:26 -07:00
John Benediktsson
607d0becb2
colors: more doc fixes.
2014-06-22 07:12:10 -07:00
John Benediktsson
7431910b16
colors: adding some wikipedia links.
2014-06-22 07:10:23 -07:00
John Benediktsson
98c731b852
colors.lab: implement CIELAB colors.
2014-06-22 07:06:27 -07:00
John Benediktsson
0f74b77b27
colors.xyz: some refactoring.
2014-06-22 07:04:09 -07:00
John Benediktsson
858c5db19d
colors: fix summary.txt.
2014-06-21 09:22:01 -07:00
John Benediktsson
93fb63a8c3
colors.luv: fix for rgba.
2014-06-21 09:21:42 -07:00
John Benediktsson
f48c2b2d84
colors.luv: implement CIELUV colors.
2014-06-21 09:19:08 -07:00
John Benediktsson
725129e80b
colors: change article titles.
2014-06-20 20:23:47 -07:00
John Benediktsson
a4d624b7b0
colors.xyy: implement CIE xyY colors.
2014-06-20 20:22:11 -07:00
John Benediktsson
0fb4bbb6f3
colors.xyz: implement CIE XYZ colors.
2014-06-20 20:21:59 -07:00
John Benediktsson
199d6c3082
fftw: adding a test.
2014-06-18 10:42:01 -07:00
John Benediktsson
bfd615b1e8
brainfuck: more fries with that.
2014-06-17 21:09:42 -07:00