Commit Graph

11014 Commits (eb21e05fef1814c0f980b080c3f8244ca7d9de8f)

Author SHA1 Message Date
Björn Lindqvist ded3760d46 compiler.*: merge of ##inc-r and ##inc-d into one instruction ##inc with a loc slot
this is nice because it leads to simpler code and matches how ##peek and ##replace instructions work
2015-04-29 09:31:53 -07:00
John Benediktsson 6f3f4e8fb8 math.transforms.bwt: faster versions of Burrows-Wheeler Transform. 2015-04-28 19:28:14 -07:00
John Benediktsson 16213f8779 sequences.rotated: adding all-rotations. 2015-04-28 18:55:23 -07:00
John Benediktsson a9fc7d828b geekcode: moving to re-factor for now. 2015-04-28 17:10:42 -07:00
John Benediktsson 1707ec83b6 midi: make write-chunk generic. 2015-04-28 14:13:42 -07:00
John Benediktsson 93a0838ddf geekcode: The Code of the Geeks. 2015-04-28 09:11:58 -07:00
John Benediktsson 501b54ce52 sequences.extras: adding find-last-index. 2015-04-27 21:26:34 -07:00
John Benediktsson bbb06ee814 midi: readers and writers for MIDI files. 2015-04-24 14:30:41 -07:00
John Benediktsson d2043d67d9 io.streams.peek: fix stack effect for [stream-]peek1. 2015-04-21 11:55:16 -07:00
John Benediktsson 7c2d4ad4ea file-server: allow serving CGI using --cgi. 2015-04-20 17:37:25 -07:00
John Benediktsson 2db2cab09d backticks: use interpolate to allow parameterized commands. 2015-04-20 15:48:56 -07:00
John Benediktsson 5cc7bfb067 html.parser.printer: add helper words with string output. 2015-04-20 09:31:40 -07:00
John Benediktsson 94cc259ba2 smalltalk.parser: make sure to escape \ 2015-04-20 08:02:04 -07:00
John Benediktsson db1485b8bf backticks: remove workaround for simple-tokenizer bug. 2015-04-19 20:49:32 -07:00
John Benediktsson 4e219f04c7 file-monitor: adding some metadata. 2015-04-19 17:44:22 -07:00
John Benediktsson 7e842fbf4a file-server: adding some metadata. 2015-04-19 17:44:11 -07:00
John Benediktsson 4502973df8 file-monitor: command-line file change monitor. 2015-04-19 17:18:22 -07:00
John Benediktsson 529bf91643 file-server: command-line http file server. 2015-04-19 17:18:01 -07:00
John Benediktsson 24de8af6e5 backticks: adding backtick syntax experiment. 2015-04-17 17:40:12 -07:00
John Benediktsson 12f87c2678 rosetta-code.dice7: adding some docs for the problem being solved. 2015-04-16 18:34:59 -07:00
John Benediktsson 07874dbb71 rosetta-code.dice7: some cleanup from @erg. 2015-04-11 18:30:07 -07:00
John Benediktsson 8857633db0 rosetta-code.dice7: moving to proper location, dos2unix. 2015-04-11 18:23:20 -07:00
John Benediktsson 72d3c986b6 english: words for working with english language text. 2015-04-11 10:06:00 -07:00
John Benediktsson 008b653951 text-to-speech: enable use from command-line. 2015-04-09 10:44:18 -07:00
John Benediktsson 45ebfcf4eb curl: enable use from command-line. 2015-04-09 10:44:03 -07:00
John Benediktsson 01d244c829 brainfuck: enable use from command-line. 2015-04-09 10:43:54 -07:00
John Benediktsson 174f0f02a1 math.extras: change kelly criterion tests to use ratios. 2015-04-02 08:03:49 -07:00
John Benediktsson a4c0ae98c5 math.extras: adding the Kelly criterion. 2015-04-01 21:34:54 -07:00
John Benediktsson ce48bb2ebf robohash: adding a robot-based hashing tool. 2015-04-01 14:56:23 -07:00
John Benediktsson 5e1c0580d7 tools.echo: adding "echo" tool. 2015-04-01 14:51:32 -07:00
John Benediktsson 197b944c7e tools.grep: adding "grep" tool. 2015-04-01 14:41:41 -07:00
John Benediktsson b8cbe9d64d tools.uniq: adding "uniq" tool. 2015-04-01 14:37:53 -07:00
John Benediktsson becc1bc728 tools.tree: adding "tree" tool. 2015-04-01 14:37:39 -07:00
John Benediktsson a1b3886327 tools.seq: adding "seq" tool. 2015-04-01 14:37:00 -07:00
John Benediktsson 54595382ff tools.move: adding "move" tool. 2015-04-01 14:31:02 -07:00
John Benediktsson 24bd7c098f tools.copy: adding "copy" tool. 2015-04-01 14:30:49 -07:00
John Benediktsson 2e56aebcb2 tools.cat: adding "cat" tool. 2015-04-01 14:26:22 -07:00
John Benediktsson be1a8d085d tools.which: enable use from command-line. 2015-04-01 14:22:11 -07:00
John Benediktsson 44bfc19e3b tools.dns: enable use from command-line. 2015-04-01 14:18:31 -07:00
John Benediktsson 96ea327702 metar: adding METAR and TAF weather parsers. 2015-04-01 14:07:40 -07:00
John Benediktsson 59ec7f599e text-to-speech: simple cross-platform text-to-speech. 2015-04-01 14:05:55 -07:00
John Benediktsson 05b087fb07 text-to-pdf: simple text to pdf utility 2015-04-01 14:05:01 -07:00
John Benediktsson 9a12c7125c picomath: implementation of picomath.org small math words. 2015-04-01 14:03:53 -07:00
John Benediktsson dc0833a4c4 flip-text: fun with text flipping. 2015-04-01 14:03:09 -07:00
John Benediktsson 2a17c47736 enigma: implementation of Enigma cipher machine. 2015-04-01 13:57:25 -07:00
John Benediktsson 79b8ee5a24 colors.flex-hex: implementation of "flex hex" color algorithm. 2015-04-01 13:55:39 -07:00
Doug Coleman 299e4ff3ce forestdb.ffi: Update for latest ffi changes. 2015-03-27 13:32:48 -07:00
John Benediktsson e237b49f83 websites.factorcode: fix <br> so maybe our string>xml example works. 2015-03-03 07:12:22 -08:00
Doug Coleman ec896cd5ad images.tiff: Fix partial refactor rollback and offeset typo. 2015-02-13 20:53:36 -08:00
Doug Coleman 7f40cadf8b images.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certain offsets, then the next offset is after the IDF. If a next-offset is its own previous offset, then it would loop. Now we record the offset and stop if it would loop. 2015-02-13 14:58:18 -08:00
John Benediktsson 1728e99254 opencl: remove <size_t> (use size_t <ref> instead). 2015-02-11 17:38:44 -08:00
Doug Coleman 65d72d48bc forestdb.ffi: Update ffi. 2015-02-10 14:52:33 -08:00
Doug Coleman 91ba68cafe forestdb: Embrace the forestdb handle vs kvs handle idiom. Update tests. 2015-02-10 14:21:21 -08:00
Benjamin Pollack 4ada328880 Make fuel more discoverable when browsing Factor help 2015-02-03 15:27:46 -08:00
Benjamin Pollack 21fd64b271 Add more documentation to sequences.extras 2015-02-02 20:11:30 -05:00
Doug Coleman 9a2e5534fe tools.gc-decode: Remove duplicate line/dumb fix, maybe it was bootstrapping that actually
fixed it.
2015-01-31 15:22:57 -08:00
John Benediktsson ac23acc2c9 Fix some minor errors in help-lint. 2015-01-30 17:04:40 -08:00
Benjamin Pollack ab5bfd90ef Add more documentation for sequences.extras 2015-01-30 17:04:40 -08:00
Doug Coleman fde83ae6f1 gc-decode: Fix test for win64. 2015-01-30 15:52:21 -08:00
Björn Lindqvist 4a1877544e tools.gc-decode.tests: make test case work on 32 bit 2015-01-28 07:32:50 -08:00
Doug Coleman 6a7ef7662f forestdb.lib: Forestdb currently doesn't compile on Windows x86.
https://groups.google.com/forum/#!topic/forestdb/V9dwLOLCyCg
2015-01-23 19:43:47 -08:00
Björn Lindqvist 71b054cf39 compiler.cfg.stacks.*: updated tests to match 2015-01-22 12:17:21 -08:00
John Benediktsson d732195dad sequences.extras: removing contains? (probably a bad name or a bad definition). 2015-01-17 10:27:39 -08:00
Doug Coleman f015d3d6f6 forestdb: Remove unix only forestdb. Fix segfault for fdb-get-kv. 2015-01-08 19:26:28 -06:00
John Benediktsson ee8be0a8dd mason.git: fix status check. 2014-12-30 19:29:05 -08:00
John Benediktsson 9fd568267d io.launcher: add versions of with-process that preserve process and status. 2014-12-30 14:51:23 -08:00
John Benediktsson cd003fbef9 mason.git: fix use. 2014-12-30 14:48:21 -08:00
John Benediktsson 527177963e mason.git: fix for rename. 2014-12-30 12:51:33 -08:00
John Benediktsson 83f7b31910 io.launcher: cleanup public interface, make some things private or internal. 2014-12-30 10:04:09 -08:00
John Benediktsson e68c0ae8bd gopher: set 1 minute timeout by default. 2014-12-26 19:20:22 -08:00
John Benediktsson b2dec21d3e brainfuck: cleanup tests. 2014-12-26 19:20:11 -08:00
John Benediktsson 28ca2f5275 unix: some using cleanups. 2014-12-24 11:16:11 -08:00
John Benediktsson 3f98ac4a30 python: rename startup/shutdown hooks. 2014-12-24 08:10:52 -08:00
John Benediktsson 592764ded4 math.extras: adding the Möbius function. 2014-12-23 20:08:23 -08:00
John Benediktsson e60c661f72 gopher: use contents now that it works. 2014-12-23 19:22:35 -08:00
John Benediktsson b68174511c gopher: fix bug where empty lines weren't printed properly in menus. 2014-12-21 09:42:54 -08:00
John Benediktsson 9858753c43 gopher: simplify. 2014-12-20 12:27:51 -08:00
John Benediktsson c45e4e1c68 gopher: change gopher-text to use split1. 2014-12-20 12:11:23 -08:00
John Benediktsson ee6ae8a63c io.encodings.detect: simplify prolog-tag. 2014-12-20 12:06:54 -08:00
John Benediktsson 12050a0db9 gopher: add way to get result without converting to objects. 2014-12-20 11:28:23 -08:00
Doug Coleman 7bbf5a65c1 subrip-subtitles: Add parser for .srt files. Kind of ugly. 2014-12-17 16:49:52 -08:00
John Benediktsson 45cf47c290 gml.viewer: fix using. 2014-12-17 14:45:31 -08:00
John Benediktsson 979b3b6ab1 gopher: make default selector the menu. 2014-12-17 14:30:31 -08:00
John Benediktsson ac9c983c93 gopher-ui: remember scroll position in history. 2014-12-17 14:20:18 -08:00
John Benediktsson d93eb719c7 gopher: fix query params for searching. 2014-12-17 14:12:06 -08:00
John Benediktsson cc625546c0 gopher: don't require UI by default. 2014-12-17 13:54:14 -08:00
John Benediktsson a5632a8649 gopher-ui: adding a UI for gopher browsing. 2014-12-17 13:40:11 -08:00
John Benediktsson 9a47d60873 gopher: handle query params, maybe (not tested). 2014-12-17 13:38:29 -08:00
John Benediktsson cba72871c9 gopher: initial commit of gopher lib. 2014-12-17 13:07:15 -08:00
John Benediktsson f6af1da32f ui: use control-value/set-control-value in a few places. 2014-12-17 13:05:00 -08:00
Doug Coleman 9b6133d081 file-picker.windows: Basic file-picker works! 2014-12-16 13:45:31 -08:00
John Benediktsson defd931d21 file-picker.windows: mock up some code for windows. 2014-12-15 15:36:03 -08:00
John Benediktsson 0edddbafd2 file-picker: adding start of cross-platform file-picker. 2014-12-15 15:16:41 -08:00
Björn Lindqvist fd0b0cbf9e tools.gc-decode.tests: another tough test 2014-12-15 20:44:07 +01:00
John Benediktsson 24263299fa math.primes.solovay-strassen: adding Solovay-Strassen primality test. 2014-12-13 16:52:28 -08:00
John Benediktsson f562bc3385 space-invaders: add back run-rom for code reuse. 2014-12-12 14:01:13 -08:00
John Benediktsson 729ad520a8 fix for space-invaders changes. 2014-12-12 13:24:22 -08:00
John Benediktsson b477611142 space-invaders: some cleanup. 2014-12-12 11:00:16 -08:00
John Benediktsson b50286f137 cpu.8080: some cleanup. 2014-12-12 10:59:20 -08:00
John Benediktsson b76503a718 use ">>foo" instead of "over foo<<". 2014-12-11 20:55:04 -08:00
John Benediktsson 26583dbbaa trees: some cleanup. 2014-12-11 20:33:18 -08: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 c1e9993665 forestdb.lib: Add back the forestdb each test. 2014-12-11 15:04:18 -08:00
John Benediktsson 4d5f243fd6 compiler.cfg.gvn: fix tests for recent refactor. 2014-12-11 14:56:58 -08:00
Doug Coleman 1f16d1933b forestdb: Update for recent changes. 2014-12-11 14:42:31 -08:00
John Benediktsson 068ddd6c7b compiler: cleanup cfg passes to have stack effect ( cfg -- ) 2014-12-11 12:48:43 -08:00
Björn Lindqvist 33500db79f compiler.cfg.*: help-lint and test case fixes 2014-12-11 15:02:40 +01:00
Björn Lindqvist c85175c10c compiler.cfg.*: new utility word apply-passes to improve the looks of long cleave's where each quotation only contains one word 2014-12-11 14:30:47 +01:00
Björn Lindqvist e5866dfa80 compiler.cfg.*: changed stack effect of needs-predecessors from ( cfg -- cfg') to ( cfg -- ) 2014-12-11 14:30:47 +01:00
Björn Lindqvist 5fe9ce4235 compiler.cfg: fix stack effect of cfg-changed and predecessors changed to ( cfg -- ) 2014-12-11 14:30:46 +01:00
John Benediktsson cf3c0d96a1 dice: adding some tests, simplify a bit. 2014-12-10 08:46:15 -08:00
Björn Lindqvist 5130954591 tools.gc-decode.tests: tests for the troubles found in #1227 2014-12-08 18:13:47 -08:00
John Benediktsson 17d12ffaea rosetta-code.balanced-brackets: adding some tests. 2014-12-08 17:41:31 -08:00
John Benediktsson 94f66ec0be rosetta-code.balanced-brackets: cleanup and test. 2014-12-06 21:40:24 -08:00
John Benediktsson a7b782542d sequences.extras: using sift. 2014-12-06 21:20:24 -08:00
John Benediktsson 17de36ddfc sorting.extras: faster map-sort. 2014-12-05 10:50:32 -08:00
John Benediktsson 31b22494a1 extra: using empty? in some places. 2014-12-04 19:13:08 -08:00
John Benediktsson 1e1646a691 combinators.extras: adding swap-when. 2014-12-03 12:03:04 -08:00
John Benediktsson 6fd908da40 use suffix! and append!. 2014-12-03 11:37:34 -08:00
John Benediktsson 3aa14d7570 heaps: faster heaps, simpler heapsort. 2014-12-01 15:16:47 -08:00
John Benediktsson 937f575735 heaps: change slurp-heap to slurp keys and values. 2014-12-01 15:14:25 -08:00
John Benediktsson ab3f3173af change errors to use "object" instead of "obj". 2014-12-01 08:04:49 -08:00
Björn Lindqvist 3fc1842ac5 tools.gc-decode.tests: if the #1227 test failure happens again, you now get informativer output 2014-12-01 07:12:14 -08:00
John Benediktsson 76761b2e59 more minor cleanup. 2014-11-30 19:26:23 -08:00
John Benediktsson c8feb479cb variants: simplify M\ variant-class initial-value*. 2014-11-30 09:07:11 -08:00
John Benediktsson e12d4fba4c using crlf. 2014-11-30 08:48:28 -08:00
John Benediktsson 818f337b02 cleanup "over push" is "suffix!". 2014-11-30 08:38:59 -08:00
Doug Coleman 6dac68d593 html.parser: Strip trailing slashes / in html tags. Add unit test. Fixes #1233. 2014-11-30 09:33:39 -06:00
John Benediktsson 4b1690b9c1 models: some more cleanup. 2014-11-29 23:00:24 -08:00
John Benediktsson e41dea63e7 elf: some cleanup and minor performance improvements. 2014-11-29 19:04:04 -08:00
John Benediktsson d21ce7aa1c sorting.bubble: loop up to last changed index. 2014-11-29 18:36:46 -08:00
John Benediktsson 0d3fc9d976 sorting.bubble: adding Bubblesort. 2014-11-29 18:18:59 -08:00
John Benediktsson bcbd6c55e4 extra: "1 tail" is rest. 2014-11-29 17:44:43 -08:00
John Benediktsson 921e995ed9 math.binpack: faster by storing only items, not weights. 2014-11-29 17:35:01 -08:00
John Benediktsson 49bcbaee7a removing small and unnecessary files. 2014-11-29 17:24:42 -08:00
John Benediktsson 43fcee0d75 math.binpack: cleanup using. 2014-11-29 15:57:30 -08:00
John Benediktsson c4125ad96a math.binpack: make binpacking much faster by caching total weight per bin. 2014-11-29 15:54:14 -08:00
John Benediktsson 761be328a6 extra: using "swap index". 2014-11-29 11:25:42 -08:00
John Benediktsson 7379741b54 z-algorithm: slightly faster by allocating and using an array. 2014-11-28 10:19:10 -08:00
Doug Coleman 20add9544a compiler.cfg: cfg>insns has to go in linearization because of bootstrap circularity. Fix usings. 2014-11-23 22:53:27 -08:00
Björn Lindqvist 07178e16d5 tools.gc-decode: tests now get invariants from the compiler instead of hardcoding them 2014-11-24 06:27:19 +01:00
John Benediktsson 1f1f8d9839 tools.gc-decode: fix (again) for 64-bit. 2014-11-23 07:31:37 -08:00
John Benediktsson d65876021b tools.gc-decode: fix for 64-bit. 2014-11-23 07:13:30 -08:00
John Benediktsson 048ed1e5fd tools.gc-decode: fix for 32-bit. 2014-11-23 07:12:10 -08:00
Doug Coleman 339c73737b reddit: Add more slots that cause it to fail. There has to be a better way! 2014-11-23 02:40:26 -08:00
Björn Lindqvist 422c4b2051 splitting: new word split-indices, it's useful compiler.cfg.scheduling so let's add it to the splitting vocab too 2014-11-22 17:31:38 -08:00
Björn Lindqvist 96396cb3ad compiler.*: use block>cfg and insns>block in many tests instead of wordier code 2014-11-22 17:31:38 -08:00
Doug Coleman bc12a60a49 forestdb: fdb-handle -> fdb-kvs-handle. etc. 2014-11-21 23:58:26 -08:00
John Benediktsson 44f31ee13e use swapd instead of [ swap ] dip. 2014-11-21 11:56:17 -08:00
John Benediktsson 39093727b1 libc: rename (io-error) to throw-errno. 2014-11-21 09:29:45 -08:00
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