]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Tue, 11 Nov 2014 07:08:49 +0000 (23:08 -0800)]
GNUmakefile, factor.cmd: Update versions to 0.98
Björn Lindqvist [Sun, 25 Aug 2013 15:41:39 +0000 (17:41 +0200)]
VM: using make vocab instead of consecutive appends
Björn Lindqvist [Sun, 25 Aug 2013 15:26:06 +0000 (17:26 +0200)]
VM: renamed version and git-label to vm-version and vm-git-label.
Björn Lindqvist [Mon, 19 Aug 2013 15:34:29 +0000 (17:34 +0200)]
VM: Three new special objects added to keep track of the builds version number, git label and compilation time respectively. The info is exposed in the system:version-info word and also shown in the banner during startup.
Conflicts:
Nmakefile
basis/ui/tools/listener/listener.factor
core/alien/strings/strings.factor
Doug Coleman [Tue, 11 Nov 2014 06:23:38 +0000 (06:23 +0000)]
vm: Fail with out_of_memory() if mprotect returns ENOMEM.
Add a message to out_of_memory(msg) calls so we know which call caused the OOM.
Fixes #664.
Doug Coleman [Tue, 11 Nov 2014 04:32:48 +0000 (20:32 -0800)]
forestdb: Fix platforms.txt
Doug Coleman [Tue, 11 Nov 2014 03:03:50 +0000 (19:03 -0800)]
forestdb.lib: Fix resource usage and cleanup. Reenable some snapshot tests but they expose bugs in forestdb, I think.
Doug Coleman [Tue, 11 Nov 2014 03:03:29 +0000 (19:03 -0800)]
forestdb.utils: Move utility words for tests into own vocab.
Doug Coleman [Tue, 11 Nov 2014 01:59:50 +0000 (17:59 -0800)]
forestdb.lib: Remove concept of handle pair.
Doug Coleman [Tue, 11 Nov 2014 00:56:41 +0000 (16:56 -0800)]
forestdb.lib: Add byseq mapper and unit test some deletion.
Doug Coleman [Mon, 10 Nov 2014 23:22:15 +0000 (15:22 -0800)]
forestdb.lib: Adding code to do compaction.
Doug Coleman [Mon, 10 Nov 2014 23:21:20 +0000 (15:21 -0800)]
forestdb.paths: Add words for messing around with forestdb paths.
Doug Coleman [Mon, 10 Nov 2014 18:30:35 +0000 (10:30 -0800)]
ffi_test: Can actually test 62 and 63 on windows.
Doug Coleman [Sun, 9 Nov 2014 18:52:16 +0000 (10:52 -0800)]
compiler.tests.alien: Don't test ffi calls 61-63 on Windows.
Doug Coleman [Sun, 9 Nov 2014 18:39:50 +0000 (10:39 -0800)]
ffi_test: Fix compilation on Windows.
Doug Coleman [Sun, 9 Nov 2014 06:32:50 +0000 (22:32 -0800)]
tools.gc-decode: Dumb fix for zip change.
Doug Coleman [Sun, 9 Nov 2014 06:32:36 +0000 (22:32 -0800)]
checksums.interleave: Dumb fix for zip change.
Doug Coleman [Sun, 9 Nov 2014 06:30:07 +0000 (22:30 -0800)]
assocs: Fix up some stack effects.
Doug Coleman [Sun, 9 Nov 2014 02:41:51 +0000 (18:41 -0800)]
tr: zip had a string as input. call { } zip-as instead.
Doug Coleman [Sun, 9 Nov 2014 02:26:21 +0000 (18:26 -0800)]
assocs: Make the output from zip, zip-index, and map-index the same type as the first seq/assoc argument. Add tests.
Doug Coleman [Sun, 9 Nov 2014 02:14:50 +0000 (18:14 -0800)]
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.
Doug Coleman [Sat, 8 Nov 2014 21:39:47 +0000 (13:39 -0800)]
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.
Doug Coleman [Sat, 8 Nov 2014 08:46:30 +0000 (00:46 -0800)]
basis, extra: Use zip-index.
Doug Coleman [Sat, 8 Nov 2014 08:40:13 +0000 (00:40 -0800)]
tools.scaffold: Add type for exemplar in docs.
Doug Coleman [Sat, 8 Nov 2014 08:39:38 +0000 (00:39 -0800)]
assocs: Add zip-index, zip-index-as and docs/tests.
sequences: Add map-index-as for symmetry and docs/tests.
Doug Coleman [Sat, 8 Nov 2014 06:03:12 +0000 (22:03 -0800)]
cpu.x86.64: 64-bit register is RDX not EDX. Fixes #1191.
Doug Coleman [Fri, 7 Nov 2014 23:42:25 +0000 (15:42 -0800)]
vm: Oops, test doesn't take a long long.
Doug Coleman [Fri, 7 Nov 2014 23:34:10 +0000 (15:34 -0800)]
compiler.tests.alien: Check in a failing unit test. Structure is getting returned improperly.
Doug Coleman [Fri, 7 Nov 2014 23:33:48 +0000 (15:33 -0800)]
forestdb.ffi: Fix up api.
Doug Coleman [Fri, 7 Nov 2014 21:06:53 +0000 (13:06 -0800)]
forestdb: Update for new api changes. Fix some unit tests, they look better now.
Doug Coleman [Fri, 7 Nov 2014 20:34:07 +0000 (12:34 -0800)]
forestdb.lib: Must close with WAL commit or else data gets lost on next open.
Doug Coleman [Fri, 7 Nov 2014 10:23:19 +0000 (02:23 -0800)]
forestdb.lib: iterator needs to call free on docs.
Doug Coleman [Fri, 7 Nov 2014 09:56:37 +0000 (01:56 -0800)]
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.
Doug Coleman [Fri, 7 Nov 2014 04:20:39 +0000 (20:20 -0800)]
forestdb.lib: Relax our expectations of ALIEN: slots and save other slots to doc tuple.
Doug Coleman [Fri, 7 Nov 2014 03:02:29 +0000 (19:02 -0800)]
forestdb: Add iteration by seq-num. Add tests for iteration by seq-num.
Document potential bugs.
Doug Coleman [Fri, 7 Nov 2014 02:24:25 +0000 (18:24 -0800)]
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.
Doug Coleman [Fri, 7 Nov 2014 01:01:58 +0000 (17:01 -0800)]
forestdb: Support snapshots and rollbacks, change how with-forestdb works. Unit test things.
Benjamin Pollack [Wed, 5 Nov 2014 21:22:15 +0000 (16:22 -0500)]
Remove executable bit from tons of files that aren't
Doug Coleman [Wed, 5 Nov 2014 20:03:05 +0000 (12:03 -0800)]
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
0ef942e400951bdce9924446f621bf4c0049fc40 .
Doug Coleman [Wed, 5 Nov 2014 18:00:27 +0000 (10:00 -0800)]
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.
Doug Coleman [Wed, 5 Nov 2014 18:03:52 +0000 (10:03 -0800)]
forestdb: Support more api calls.
Benjamin Pollack [Tue, 4 Nov 2014 23:38:10 +0000 (18:38 -0500)]
Link to the Python binding documentation from the Python vocabulary
Doug Coleman [Tue, 4 Nov 2014 23:59:13 +0000 (15:59 -0800)]
extra: Update usages of CONSTRUCTOR: for new parameter.
Doug Coleman [Tue, 4 Nov 2014 23:56:23 +0000 (15:56 -0800)]
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.
Björn Lindqvist [Mon, 3 Nov 2014 18:50:25 +0000 (19:50 +0100)]
fuel: get-vocabs word is redundant
Björn Lindqvist [Sat, 1 Nov 2014 22:10:45 +0000 (23:10 +0100)]
FUEL: when browsing vocab documentation, use the fuel-help--buffer-link variable to determine what vocabulary we are "in"
Björn Lindqvist [Sat, 1 Nov 2014 21:11:48 +0000 (22:11 +0100)]
FUEL: unit tests for fuel, only 2 so far but the number is expected to grow
Björn Lindqvist [Sat, 1 Nov 2014 21:08:04 +0000 (22:08 +0100)]
FUEL: fix markup of stack effects of quotations nested in stack effects
Doug Coleman [Tue, 4 Nov 2014 08:39:05 +0000 (00:39 -0800)]
forestdb.lib: use returned length since strings dont seem to be null terminated.
Doug Coleman [Tue, 4 Nov 2014 08:19:25 +0000 (00:19 -0800)]
forestdb.lib: Fix file name for test db.
John Benediktsson [Tue, 4 Nov 2014 06:26:22 +0000 (22:26 -0800)]
furnace.utilities: fix docs for resolve-word-path.
Björn Lindqvist [Mon, 3 Nov 2014 21:05:17 +0000 (22:05 +0100)]
furnace.utilities: refactor to not use make
Björn Lindqvist [Mon, 3 Nov 2014 17:47:22 +0000 (18:47 +0100)]
furnace.utilities: use a method based on where instead of vocab-path to find dir of vocab
Doug Coleman [Tue, 4 Nov 2014 02:10:17 +0000 (18:10 -0800)]
forestdb: Fix platforms.txt
Doug Coleman [Mon, 3 Nov 2014 19:37:57 +0000 (11:37 -0800)]
forestdb: Make an ffi binding and a basic lib wrapper that can save a key/document and retrieve it by key.
John Benediktsson [Mon, 3 Nov 2014 14:45:53 +0000 (06:45 -0800)]
vocabs.parser: need this wrapper.
John Benediktsson [Mon, 3 Nov 2014 04:16:22 +0000 (20:16 -0800)]
core: get rid of some unnecessary wrappers.
John Benediktsson [Mon, 3 Nov 2014 00:57:04 +0000 (16:57 -0800)]
Factor.app: update to 0.98 and update copyright years.
John Benediktsson [Sun, 2 Nov 2014 19:38:49 +0000 (11:38 -0800)]
tar: cleanup stack effects, make read-data-blocks recursive.
John Benediktsson [Sun, 2 Nov 2014 18:32:35 +0000 (10:32 -0800)]
tar: cleanup stack effects, minor things.
Doug Coleman [Sun, 2 Nov 2014 17:54:01 +0000 (09:54 -0800)]
tar: Fix comment, just trim tail.
Doug Coleman [Sun, 2 Nov 2014 17:44:03 +0000 (09:44 -0800)]
sequences: Add examples for some words.
Doug Coleman [Sun, 2 Nov 2014 06:11:35 +0000 (23:11 -0700)]
tar: Couple of optimizations.
John Benediktsson [Sat, 1 Nov 2014 22:29:37 +0000 (15:29 -0700)]
Revert "io.backend.unix.macosx: Trying to change instances of USE: to require if"
This reverts commit
4bab33bddb08427a1dbe96fb936b1a9c01ec25ca .
Doug Coleman [Sat, 1 Nov 2014 20:19:53 +0000 (13:19 -0700)]
zeromq: Opaque unit tests that keep failing are bad. Change to something
we can debug.
Doug Coleman [Sat, 1 Nov 2014 20:16:13 +0000 (13:16 -0700)]
io.backend.unix.macosx: Trying to change instances of USE: to require if
the vocab must be loaded but no symbols are directly depended upon.
Doug Coleman [Sat, 1 Nov 2014 18:36:43 +0000 (11:36 -0700)]
imap: Use uuids instead of random numbers.
Doug Coleman [Sat, 1 Nov 2014 18:35:55 +0000 (11:35 -0700)]
ui.event-loop: No need to special-case ui.private now that the auto-use
tool suggests private words.
Doug Coleman [Sat, 1 Nov 2014 18:34:52 +0000 (11:34 -0700)]
core: On Windows we depend on having io.strreams.byte-array for utf16
support. Include this in the boot image instead of alien.strings.
Doug Coleman [Sat, 1 Nov 2014 05:39:16 +0000 (22:39 -0700)]
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?
Doug Coleman [Sat, 1 Nov 2014 02:15:29 +0000 (19:15 -0700)]
alien.strings: Dependency on io.streams.byte-array. Clean this up somehow?
Doug Coleman [Sat, 1 Nov 2014 00:50:49 +0000 (17:50 -0700)]
sequences: Better docs for member?
Doug Coleman [Sat, 1 Nov 2014 00:46:36 +0000 (17:46 -0700)]
sequences: Add examples for member? word.
Doug Coleman [Sat, 1 Nov 2014 00:30:30 +0000 (17:30 -0700)]
tools.scaffold: Make a better scaffold-examples word in hopes it will cause more examples to get written. Add more docs. Fix spacing bug in scaffold-undocumented.
John Benediktsson [Fri, 31 Oct 2014 23:52:40 +0000 (16:52 -0700)]
cocoa: switch back to an assoc, used by tools.deploy.shaker.strip-cocoa.
John Benediktsson [Fri, 31 Oct 2014 18:35:15 +0000 (11:35 -0700)]
python.objects: use flags{ } for flags.
John Benediktsson [Fri, 31 Oct 2014 18:33:19 +0000 (11:33 -0700)]
cocoa: fix requirement that mac deploys have high reflection.
Björn Lindqvist [Fri, 31 Oct 2014 17:40:47 +0000 (18:40 +0100)]
python: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171
John Benediktsson [Fri, 31 Oct 2014 16:33:59 +0000 (09:33 -0700)]
io.encodings: fix for read-until seps not containing \n.
Doug Coleman [Fri, 31 Oct 2014 08:14:31 +0000 (01:14 -0700)]
core: Remove trailing whitespace.
Doug Coleman [Fri, 31 Oct 2014 07:58:53 +0000 (00:58 -0700)]
io.encodings: For decoders, try to gobble up the next newline if cr>> is true in stream-read-until. Add unit test. Fixes #1177.
Doug Coleman [Fri, 31 Oct 2014 07:45:51 +0000 (00:45 -0700)]
byte-vectors: dos2unix
Doug Coleman [Fri, 31 Oct 2014 02:41:59 +0000 (19:41 -0700)]
editors.sublime: oops.
Doug Coleman [Fri, 31 Oct 2014 02:16:02 +0000 (19:16 -0700)]
editors.sublime: Prefer sublime 3 over sublime 2 on mac.
Doug Coleman [Thu, 30 Oct 2014 23:19:30 +0000 (16:19 -0700)]
parser.notes: Remove trailing whitespace the parser noticed.
John Benediktsson [Thu, 30 Oct 2014 18:30:21 +0000 (11:30 -0700)]
graphs: using conjoin.
John Benediktsson [Sun, 26 Oct 2014 15:44:41 +0000 (08:44 -0700)]
io.backend.unix.macosx: need this for deploy.
Doug Coleman [Tue, 28 Oct 2014 02:38:32 +0000 (19:38 -0700)]
parser: Fix for empty word list. Oops.
Björn Lindqvist [Mon, 27 Oct 2014 22:12:47 +0000 (23:12 +0100)]
python.objects: fix <py-cfunction> need to malloc-struct PyMethodDef
Doug Coleman [Mon, 27 Oct 2014 20:39:08 +0000 (13:39 -0700)]
core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words.
Doug Coleman [Mon, 27 Oct 2014 19:12:23 +0000 (12:12 -0700)]
parser: Cleaner fix, comments. Fixes #1174.
Doug Coleman [Mon, 27 Oct 2014 19:01:37 +0000 (12:01 -0700)]
parser: Consider private words now for autocompletes, but to avoid pulling in private words unexpectedly, throw a restart that confirms you really want the private word. Fixes #1174.
Doug Coleman [Mon, 27 Oct 2014 18:33:59 +0000 (11:33 -0700)]
python: Fix >py stack effect for docs.
Björn Lindqvist [Mon, 27 Oct 2014 12:41:03 +0000 (13:41 +0100)]
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.
Björn Lindqvist [Mon, 27 Oct 2014 12:30:54 +0000 (13:30 +0100)]
python.tests: more destructors & refcounting tests
Björn Lindqvist [Mon, 27 Oct 2014 12:24:33 +0000 (13:24 +0100)]
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
Björn Lindqvist [Sun, 26 Oct 2014 23:23:54 +0000 (00:23 +0100)]
python: correction of reference counting logic and addition of None bindings
Björn Lindqvist [Sun, 26 Oct 2014 23:21:54 +0000 (00:21 +0100)]
python.errors: new semantics for unsteal-ref
Doug Coleman [Mon, 27 Oct 2014 00:22:20 +0000 (17:22 -0700)]
jamshred.player: Use nano-count instead of system-micros.
Doug Coleman [Sun, 26 Oct 2014 23:26:51 +0000 (16:26 -0700)]
ui.event-loop: Fix using list.