]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Tue, 9 Jun 2015 00:19:32 +0000 (17:19 -0700)]
backtrack: rename generically named require
Doug Coleman [Tue, 9 Jun 2015 00:16:42 +0000 (17:16 -0700)]
lcs: rename generic "diff" to lcs-diff
Doug Coleman [Tue, 9 Jun 2015 00:00:08 +0000 (17:00 -0700)]
benchmark: oops, used wrong word. so confusing.
Doug Coleman [Mon, 8 Jun 2015 23:53:54 +0000 (16:53 -0700)]
core: fix word link.
extra: fix word
Doug Coleman [Mon, 8 Jun 2015 22:22:58 +0000 (15:22 -0700)]
graphviz.notation: missed a create -> create-word
John Benediktsson [Mon, 8 Jun 2015 21:37:36 +0000 (14:37 -0700)]
Fix two places that should be "all-disk-vocabs-recursive".
Doug Coleman [Mon, 8 Jun 2015 20:21:24 +0000 (13:21 -0700)]
com.wrapper: create -> create-word
Doug Coleman [Mon, 8 Jun 2015 20:07:12 +0000 (13:07 -0700)]
windows: fix words -> vocab-words
Doug Coleman [Mon, 8 Jun 2015 19:38:38 +0000 (12:38 -0700)]
core: Rename create to create-word, create-in to create-word-in.
Doug Coleman [Mon, 8 Jun 2015 19:02:25 +0000 (12:02 -0700)]
core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.
Doug Coleman [Mon, 8 Jun 2015 18:48:13 +0000 (11:48 -0700)]
unicode.breaks: Rename words to unicode-words
Doug Coleman [Sun, 7 Jun 2015 23:12:20 +0000 (16:12 -0700)]
vocabs.refresh: Trying to clean up some vocabs code.
Björn Lindqvist [Sun, 7 Jun 2015 22:59:12 +0000 (00:59 +0200)]
FUEL: improved highlighting of some syntax words: PRIMITIVE, MAIN, INSTANCE
Björn Lindqvist [Sun, 7 Jun 2015 22:03:35 +0000 (00:03 +0200)]
FUEL: make it so $complex-shuffle words (like -rot) are rendered correctly
Björn Lindqvist [Sun, 7 Jun 2015 18:36:34 +0000 (20:36 +0200)]
FUEL: better way to font-lock comments.
just setting the comment property of the string in the
syntax-propertize-rules regexp appears to generate best results
Björn Lindqvist [Sun, 7 Jun 2015 02:16:23 +0000 (04:16 +0200)]
FUEL: the web reference have next and prev links for each word, let's add them to the fuel
help too
John Benediktsson [Sun, 7 Jun 2015 18:30:04 +0000 (11:30 -0700)]
benchmark.sieve: calculating the number of primes in [1,100,000,000].
John Benediktsson [Sun, 7 Jun 2015 18:07:58 +0000 (11:07 -0700)]
math.integers: speedup to fixnum-bit?.
John Benediktsson [Sun, 7 Jun 2015 18:07:34 +0000 (11:07 -0700)]
bootstrap.primitives: fix stack effect names for bignum-bit?.
Doug Coleman [Sun, 7 Jun 2015 00:04:30 +0000 (17:04 -0700)]
mason: rename some vague words like build to do-build, build? to
should-build? for clarity and because they're too generic and conflict
with kernel:build.
Doug Coleman [Sun, 7 Jun 2015 00:04:02 +0000 (17:04 -0700)]
windows.com: Prevent release from being called with f, which causes a
segfault.
John Benediktsson [Sat, 6 Jun 2015 16:27:19 +0000 (09:27 -0700)]
checksums.sha: remove trailing whitespace.
John Benediktsson [Sat, 6 Jun 2015 16:27:09 +0000 (09:27 -0700)]
metar: simplify <taf-report>.
John Benediktsson [Sat, 6 Jun 2015 16:26:17 +0000 (09:26 -0700)]
formatting: use nappend-as in sprintf.
John Benediktsson [Sat, 6 Jun 2015 16:25:58 +0000 (09:25 -0700)]
sequences.generalizations: use concat-as in nappend-as.
John Benediktsson [Sat, 6 Jun 2015 16:24:56 +0000 (09:24 -0700)]
sequences: make concat-as inline and don't special-case empty.
Doug Coleman [Sat, 6 Jun 2015 06:18:43 +0000 (23:18 -0700)]
compiler.tree: renaming is hard. cleanup -> cleanup-tree
Doug Coleman [Sat, 6 Jun 2015 06:03:42 +0000 (23:03 -0700)]
compiler.tree.debugger: more "cleanup"
Doug Coleman [Sat, 6 Jun 2015 12:52:35 +0000 (05:52 -0700)]
formatting: Welcome to the sprintf club, MSVC 2015. Fixes #1337.
Doug Coleman [Sat, 6 Jun 2015 04:22:50 +0000 (21:22 -0700)]
compiler.tree.cleanup: Fix docs
Doug Coleman [Sat, 6 Jun 2015 04:09:57 +0000 (21:09 -0700)]
bit-arrays: rename clean-up to zero-end-bits
Doug Coleman [Sat, 6 Jun 2015 04:08:18 +0000 (21:08 -0700)]
compiler: rename cleanup to cleanup-tree, cleanup* to cleanup-tree*
Doug Coleman [Sat, 6 Jun 2015 00:05:57 +0000 (17:05 -0700)]
alien.libraries.finder: Allow library to match just by name. Related to #1099.
Add some more unit tests. Fix a typo fidner->finder.
Doug Coleman [Fri, 5 Jun 2015 17:53:02 +0000 (10:53 -0700)]
platform.hpp: Indent so I can see wtf is going on with the preprocessor control flow.
Look for ``__linux__`` on linux instead of ``linux`` because compiling with
-std=c++11 removes the ``linux`` preprocessor symbol.
Doug Coleman [Fri, 5 Jun 2015 17:52:48 +0000 (10:52 -0700)]
Revert "GNUmakefile: Don't compile.gch with -std=c++11"
This wasn't the problem.
This reverts commit
e97e74b682aa1692fd72fe63f22b991176bb3e4e .
Doug Coleman [Fri, 5 Jun 2015 17:35:03 +0000 (10:35 -0700)]
GNUmakefile: Don't compile.gch with -std=c++11
Doug Coleman [Fri, 5 Jun 2015 17:31:49 +0000 (10:31 -0700)]
GNUmakefile: add -std=c++11 to CXXFLAGS
Doug Coleman [Fri, 5 Jun 2015 17:21:20 +0000 (10:21 -0700)]
ffi_test.c: Casting a 32bit int to a 64bit pointer is invalid. Instead,
cast it to a 64bit int then to the pointer. Found with visual studio 2015.
Doug Coleman [Fri, 5 Jun 2015 17:20:32 +0000 (10:20 -0700)]
utilities.hpp: Use auto pointer instead of gcc extension typeof().
Fixes #1336.
John Benediktsson [Fri, 5 Jun 2015 06:15:51 +0000 (23:15 -0700)]
deques: use fry to simplify.
Björn Lindqvist [Fri, 5 Jun 2015 00:11:28 +0000 (02:11 +0200)]
VM: fixes so that raw_fread and safe_fread returns a size_t again
Björn Lindqvist [Thu, 4 Jun 2015 15:30:36 +0000 (17:30 +0200)]
VM: make FACTOR_FOR_EACH not call .end() more than once
Björn Lindqvist [Sun, 31 May 2015 22:21:32 +0000 (00:21 +0200)]
VM: safe_fread needs to return an int so you can return -1 on error
Björn Lindqvist [Sat, 30 May 2015 18:07:16 +0000 (20:07 +0200)]
VM: move free_list_allocator<Block>::next_allocated_block_after to
tenured_space::next_allocated_object_after, because it's only used there
Björn Lindqvist [Sat, 30 May 2015 00:29:57 +0000 (02:29 +0200)]
VM: new functions raw_fclose and raw_fread
These need to be used when the image is loaded because there is no
context so you can't throw io errors yet.
Björn Lindqvist [Fri, 29 May 2015 10:25:12 +0000 (12:25 +0200)]
VM: macro FACTOR_FOR_EACH used in more places to drive iteration
Björn Lindqvist [Fri, 29 May 2015 00:03:37 +0000 (02:03 +0200)]
VM: macro FACTOR_FOR_EACH to make stl container iteration easier to express
Doug Coleman [Wed, 3 Jun 2015 21:35:48 +0000 (14:35 -0700)]
vm: Only call fclose() once. Rename io_error() to io_error_if_not_EINTR() to be more explicit.
Fixes #1335.
John Benediktsson [Wed, 3 Jun 2015 15:59:41 +0000 (08:59 -0700)]
assocs.extras: minor changes to assoc-merge.
John Benediktsson [Tue, 2 Jun 2015 18:54:05 +0000 (11:54 -0700)]
math.functions: some silly cleanup.
John Benediktsson [Tue, 2 Jun 2015 02:46:40 +0000 (19:46 -0700)]
benchmark.backtrack: some cleanup.
John Benediktsson [Tue, 2 Jun 2015 02:46:15 +0000 (19:46 -0700)]
game.models.obj: some cleanup.
John Benediktsson [Tue, 2 Jun 2015 02:46:08 +0000 (19:46 -0700)]
backtrack: some cleanup.
John Benediktsson [Mon, 1 Jun 2015 22:34:11 +0000 (15:34 -0700)]
editors.sublime: keep Sublime Text 2 support like we do on OS X.
Doug Coleman [Mon, 1 Jun 2015 22:22:05 +0000 (15:22 -0700)]
io.files.unique: Better docs for with-unique-directory.
Doug Coleman [Mon, 1 Jun 2015 22:00:10 +0000 (15:00 -0700)]
editors.sublime: Fix sublime for windows.
John Benediktsson [Mon, 1 Jun 2015 21:59:36 +0000 (14:59 -0700)]
Revert "io.standard-paths: adding support for PATHEXT."
This reverts commit
be9bff0e5bc77e3998bfc92257dcee9d8ee5728b .
John Benediktsson [Mon, 1 Jun 2015 21:57:47 +0000 (14:57 -0700)]
io.standard-paths: adding support for PATHEXT.
John Benediktsson [Mon, 1 Jun 2015 21:39:30 +0000 (14:39 -0700)]
editors: bunch of cleanup.
John Benediktsson [Mon, 1 Jun 2015 21:26:38 +0000 (14:26 -0700)]
io.standard-paths: add ?find-in-path.
John Benediktsson [Mon, 1 Jun 2015 21:26:27 +0000 (14:26 -0700)]
io.standard-paths.windows: use map-find.
John Benediktsson [Mon, 1 Jun 2015 16:11:19 +0000 (09:11 -0700)]
tools.which: add a convenience for "which or".
Doug Coleman [Sun, 31 May 2015 22:08:51 +0000 (15:08 -0700)]
calendar.format: Add a word to output times in the format that git uses. Rename a paren word.
John Benediktsson [Sun, 31 May 2015 15:44:55 +0000 (08:44 -0700)]
io.binary.fast: adding fast version of signed> words.
John Benediktsson [Sun, 31 May 2015 15:44:39 +0000 (08:44 -0700)]
io.binary: adding some tests for signed>.
John Benediktsson [Sun, 31 May 2015 15:09:05 +0000 (08:09 -0700)]
io.binary.fast: easier to read using stdint types.
John Benediktsson [Sun, 31 May 2015 15:04:34 +0000 (08:04 -0700)]
math.bitwise: bitfield should just use map-reduce.
John Benediktsson [Sun, 31 May 2015 14:08:07 +0000 (07:08 -0700)]
io.binary.fast: speed up when used by byte-arrays.
John Benediktsson [Sun, 31 May 2015 04:55:27 +0000 (21:55 -0700)]
math.bitwise: change bitfield to reduce from first argument rather than zero.
John Benediktsson [Sun, 31 May 2015 04:55:16 +0000 (21:55 -0700)]
english: fix copyright.
John Benediktsson [Sun, 31 May 2015 04:51:08 +0000 (21:51 -0700)]
math.bitwise: fix docs for bitfield.
Björn Lindqvist [Mon, 25 May 2015 13:04:33 +0000 (15:04 +0200)]
bootstrap.x86: fix assembler code bug in fixnum*
Now the operands are kept in EBP and ECX and the vm-reg (EBX) is not
used unnecessarily
Björn Lindqvist [Fri, 22 May 2015 18:29:20 +0000 (20:29 +0200)]
bootstrap.primitives: shorter code for mapping architecture to assembly file
Björn Lindqvist [Fri, 22 May 2015 15:17:00 +0000 (17:17 +0200)]
cpu.x86.*: %mov-vm-ptr isn't so useful, shorter and simpler to write
vm-reg MOV
Björn Lindqvist [Fri, 22 May 2015 15:16:00 +0000 (17:16 +0200)]
bootstrap.ppc: untested fix for #1319 for ppc
Björn Lindqvist [Fri, 22 May 2015 14:52:13 +0000 (16:52 +0200)]
VM: after reset_datastack and retainstack clear the stack segment. makes
it easier to find bad accesses to shadow data
Björn Lindqvist [Fri, 22 May 2015 13:29:38 +0000 (15:29 +0200)]
VM: possible fix for #1319.
Fix for reset_context() so that the top two stack items are never
removed from the stack so if the parent->init_context(ctx) call triggers
a GC, those items are never collected.
Björn Lindqvist [Wed, 20 May 2015 23:35:43 +0000 (01:35 +0200)]
threads.test: a test that is mostly able to reproduce #1319
Björn Lindqvist [Mon, 18 May 2015 16:43:20 +0000 (18:43 +0200)]
VM: the delete_context() and reset_context() api functions can be
simplified a bit
The functions always operates on parent->ctx, so passing a context*
parameter is redundant. This enables shorter assembly code for
the (start-context-and-delete) and (set-context-and-delete) primitives.
Björn Lindqvist [Mon, 18 May 2015 13:58:07 +0000 (15:58 +0200)]
bootstrap.x86: new words jit-call-Xarg for calling vm functions with
arguments, simplifies some assembly code
Björn Lindqvist [Sun, 17 May 2015 08:11:48 +0000 (10:11 +0200)]
Reorganising bootstrap files
All the bootstrap.factor scripts in cpu/ are run by the bootstrap to
make boot images, but aren't used otherwise. So I think it's cleaner to
put them in one directory inside the bootstrap hierarchy.
Doug Coleman [Fri, 22 May 2015 05:34:55 +0000 (22:34 -0700)]
io.directories.search: Add some more combinators for finding files.
Doug Coleman [Fri, 22 May 2015 05:34:29 +0000 (22:34 -0700)]
sequences.extras: Add selector* which saves the output from the quotation
not the original value.
Doug Coleman [Wed, 20 May 2015 22:02:04 +0000 (15:02 -0700)]
generalizations: dos2unix
Doug Coleman [Wed, 20 May 2015 21:57:43 +0000 (14:57 -0700)]
generalizations: Only define npick for >= 1. Fixes #1306.
Doug Coleman [Tue, 19 May 2015 19:37:07 +0000 (12:37 -0700)]
io.monitors: Fix using, speed up test from 3 second timeouts to 100ms timeouts.
Doug Coleman [Tue, 19 May 2015 17:57:13 +0000 (10:57 -0700)]
compression.zlib: Add some helper functions for streaming unzipping.
Doug Coleman [Tue, 19 May 2015 17:55:47 +0000 (10:55 -0700)]
compression.zlib.ffi: Add some structures and functions for streaming unzipping.
Doug Coleman [Tue, 19 May 2015 17:50:17 +0000 (10:50 -0700)]
io.monitors: Run each set of monitors tests in its own directory. Fixes #1106.
John Benediktsson [Mon, 18 May 2015 17:02:04 +0000 (10:02 -0700)]
compiler.cfg.stacks.clearing: fix help-lint.
Doug Coleman [Mon, 18 May 2015 07:37:05 +0000 (00:37 -0700)]
cpu.architecture: Fix trivial doc.
Björn Lindqvist [Mon, 18 May 2015 04:28:15 +0000 (06:28 +0200)]
cpu.x86: fix silly bug in %clear
John Benediktsson [Sun, 17 May 2015 16:32:44 +0000 (09:32 -0700)]
compiler.cfg.stacks.clearing: fix tests.
Björn Lindqvist [Sun, 17 May 2015 05:57:24 +0000 (07:57 +0200)]
compiler.*: new cfg instruction ##clear, it makes it easier to see where
the compiler.cfg.stacks.clearing pass inserts extra instructions
Björn Lindqvist [Sun, 17 May 2015 01:11:32 +0000 (03:11 +0200)]
compiler.*: now when we're tracking uninitialized locations instead of
initialized ones, the height slot isn't needed on ##call anymore
Björn Lindqvist [Wed, 13 May 2015 02:33:40 +0000 (04:33 +0200)]
VM: simplified logic in data_heap_checker
Björn Lindqvist [Tue, 12 May 2015 22:35:13 +0000 (00:35 +0200)]
compiler.cfg.stacks.*: new attempt at fixing the gc maps bugs
the padding vocab is inverted so that instead of trying to track which
locations are live, it tracks those which are dead which is much easier
to get right.
John Benediktsson [Thu, 14 May 2015 15:16:27 +0000 (08:16 -0700)]
compiler.tree.debugger: fix docs using.
John Benediktsson [Wed, 13 May 2015 23:09:14 +0000 (16:09 -0700)]
minor cleanup to some docs.
John Benediktsson [Wed, 13 May 2015 22:17:15 +0000 (15:17 -0700)]
math.primes: little bit more cleanup.