]>
gitweb.factorcode.org Git - factor.git/log
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.
John Benediktsson [Wed, 13 May 2015 21:47:31 +0000 (14:47 -0700)]
math.primes: use fast-gcd in coprime? and replicate instead of make.
John Benediktsson [Wed, 13 May 2015 21:47:15 +0000 (14:47 -0700)]
picomath: simplify.
John Benediktsson [Wed, 13 May 2015 21:46:59 +0000 (14:46 -0700)]
project-euler.026: simplify, use coprime? from math.primes.
John Benediktsson [Wed, 13 May 2015 13:29:05 +0000 (06:29 -0700)]
io.streams.peek: fix test using.
Doug Coleman [Wed, 13 May 2015 04:50:01 +0000 (21:50 -0700)]
io.streams.peek: Peek streams can break on file input. Fixes #1317.
John Benediktsson [Wed, 13 May 2015 02:40:21 +0000 (19:40 -0700)]
update vim syntax file.
John Benediktsson [Wed, 13 May 2015 02:08:42 +0000 (19:08 -0700)]
use assoc-reject instead of [ ... not ] assoc-filter.
John Benediktsson [Wed, 13 May 2015 02:08:21 +0000 (19:08 -0700)]
sequences: adding related-words for filter and reject.
John Benediktsson [Wed, 13 May 2015 02:07:00 +0000 (19:07 -0700)]
assocs: adding assoc-reject, assoc-reject-as, assoc-reject!.
John Benediktsson [Wed, 13 May 2015 01:50:34 +0000 (18:50 -0700)]
use reject instead of [ ... not ] filter.
John Benediktsson [Wed, 13 May 2015 01:39:19 +0000 (18:39 -0700)]
sequences: adding reject/reject-as/reject!.
John Benediktsson [Tue, 12 May 2015 17:46:37 +0000 (10:46 -0700)]
help.lint.checks: re-enable leak detection.
Björn Lindqvist [Mon, 3 Nov 2014 23:20:05 +0000 (00:20 +0100)]
io.crlf: the lf>crlf and crlf>lf words looks generally useful, lets put them in io.crlf to reduce some code duplication
Björn Lindqvist [Thu, 30 Oct 2014 12:37:48 +0000 (13:37 +0100)]
http.server.requests: an upper limit is needed for the content-length header
Björn Lindqvist [Thu, 30 Oct 2014 12:24:03 +0000 (13:24 +0100)]
http.server: extend handle-client-error so that it responds with 400 Bad Request if the request is invalid
Björn Lindqvist [Thu, 30 Oct 2014 00:15:00 +0000 (01:15 +0100)]
http.server.requests: if the content-length header is missing or invalid, a (controlled) error is thrown
Björn Lindqvist [Wed, 29 Oct 2014 20:41:17 +0000 (21:41 +0100)]
http.server.requests: system for read-request for reporting errors
The idea is that read-request throws request-error if something is
wrong with the request. handle-client* can then catch it and respond
with 400 bad request. This way you can differentiate between bad
requests and requests that causes the HTTP server to crash.
Björn Lindqvist [Wed, 29 Oct 2014 18:37:25 +0000 (19:37 +0100)]
http.server.requests.tests: more tests for POST requests handling
Björn Lindqvist [Wed, 29 Oct 2014 18:34:08 +0000 (19:34 +0100)]
mime.multipart: removed call to maybe-fill-bytes, fixes multipart parsing of short payloads
Björn Lindqvist [Wed, 29 Oct 2014 14:34:17 +0000 (15:34 +0100)]
http.server.requests: refactor the http.server vocabs request handling into its own vocab
John Benediktsson [Tue, 12 May 2015 02:41:01 +0000 (19:41 -0700)]
sequences.rotated: can be a lot faster if we don't circular-wrap.
John Benediktsson [Tue, 12 May 2015 00:57:11 +0000 (17:57 -0700)]
present: adding M\ complex present.
Jon Harper [Sun, 10 May 2015 16:57:36 +0000 (18:57 +0200)]
sequences.extras: add start-all and count-subseq for searching/counting all occurences of a subseq
John Benediktsson [Sun, 10 May 2015 17:13:57 +0000 (10:13 -0700)]
cpu/stack-checker: fix some help-lint warnings.
Björn Lindqvist [Sun, 10 May 2015 02:53:41 +0000 (04:53 +0200)]
compiler.cfg.*: new test-case and setting leader-map to f is better
Björn Lindqvist [Sat, 9 May 2015 23:27:43 +0000 (01:27 +0200)]
memory.tests: a full test against #1289, it shouldn't crash
Björn Lindqvist [Sat, 9 May 2015 23:26:43 +0000 (01:26 +0200)]
compiler.cfg.stacks.padding: docs
Björn Lindqvist [Sat, 9 May 2015 21:02:30 +0000 (23:02 +0200)]
compiler.cfg.ssa.destruction: fix and testcase for the
"lookup-base-pointer* does not define a method for the POSTPONE: f
class" bug
Björn Lindqvist [Sat, 9 May 2015 13:32:05 +0000 (15:32 +0200)]
compiler.cfg.stacks.*: new vocab 'padding' to perform much more accurate
live analysis. it will replace the 'map' vocab
Björn Lindqvist [Sat, 9 May 2015 01:21:24 +0000 (03:21 +0200)]
compiler.*: a bunch more compiler docs
Björn Lindqvist [Sat, 9 May 2015 00:57:23 +0000 (02:57 +0200)]
compiler.cfg.utilities: unused word
Björn Lindqvist [Thu, 7 May 2015 11:34:48 +0000 (13:34 +0200)]
compiler.*,cpu.*: add a height slot to ##call nodes, then other compiler
passes can much easier to accurate liveness analysis on stack locations
Björn Lindqvist [Thu, 7 May 2015 11:29:57 +0000 (13:29 +0200)]
VM: cleanups, like removing redundant paranthesis and removing method
declarations that doesn't exist
Björn Lindqvist [Thu, 7 May 2015 11:23:28 +0000 (13:23 +0200)]
compiler.cfg.*: a bunch of new tests
Björn Lindqvist [Mon, 4 May 2015 15:32:51 +0000 (17:32 +0200)]
VM: refactoring to use the visit_object_array method
Björn Lindqvist [Mon, 4 May 2015 01:57:35 +0000 (03:57 +0200)]
VM: the aging_policy and nursery_policy classes are so small that they
can be in the same cpp file with the methods that use them
Björn Lindqvist [Mon, 4 May 2015 01:50:02 +0000 (03:50 +0200)]
VM: the copying_collector only contained one method, so it can easily be
merged with its base class
Björn Lindqvist [Sun, 3 May 2015 15:51:51 +0000 (17:51 +0200)]
VM: to_tenured_collector isn't needed, it's just a normal collector instance
Björn Lindqvist [Sun, 3 May 2015 12:13:28 +0000 (14:13 +0200)]
VM: debug macros FACTOR_PRINT and FACTOR_PRINT_MARK to make better debug
printing messages than just using std::cout
Björn Lindqvist [Sat, 2 May 2015 22:14:14 +0000 (00:14 +0200)]
compiler.cfg.stacks.*: create-locs, word for creating stack locations
from a sequence
Doug Coleman [Sat, 9 May 2015 04:02:29 +0000 (21:02 -0700)]
io.directories.search: Add two tests for find-up-to-directory, one that finds a file and one that doesn't.
Benjamin Pollack [Fri, 8 May 2015 21:09:46 +0000 (17:09 -0400)]
Add a couple minor extra docs for math.extras
Doug Coleman [Thu, 7 May 2015 23:49:32 +0000 (16:49 -0700)]
io.directories.search: fix inline recursive combinator compilation. fix
reversed logic for containing-directory
Doug Coleman [Wed, 6 May 2015 06:26:52 +0000 (23:26 -0700)]
io.directories.search: Add find-up-to-root combinator and helper words.
Example: "c:\\factor64\\.git\\objects" [ ".txt" tail? ] find-up-to-root .
"c:\\factor64\\.git"
Doug Coleman [Wed, 6 May 2015 02:12:36 +0000 (19:12 -0700)]
tools.scaffold: generating docs for obj/f was broken.
John Benediktsson [Wed, 6 May 2015 00:20:04 +0000 (17:20 -0700)]
math.transforms.bwt: slightly faster, remove suffixes because it seems buggy.
John Benediktsson [Tue, 5 May 2015 23:08:55 +0000 (16:08 -0700)]
math.transforms.bwt: faster version of bwt if only needing transform.
John Benediktsson [Tue, 5 May 2015 22:36:49 +0000 (15:36 -0700)]
file-monitor: simplify.
John Benediktsson [Tue, 5 May 2015 22:33:17 +0000 (15:33 -0700)]
file-monitor: use with-monitor.
Doug Coleman [Sat, 2 May 2015 17:41:52 +0000 (10:41 -0700)]
compression.zlib: Just deal with raw bytes, no compressed object tuple.
Doug Coleman [Sat, 2 May 2015 17:46:00 +0000 (10:46 -0700)]
Revert "compression.zlib: fix help-lint."
This reverts commit
30492d1a0631254bdfad426f42398a270d55514b .
John Benediktsson [Sat, 2 May 2015 16:32:05 +0000 (09:32 -0700)]
compression.zlib: fix help-lint.