]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Sat, 8 Aug 2015 16:58:40 +0000 (11:58 -0500)]
assocs: Add harvest-keys, harvest-values to core/. Remove assoc-sift because it's sift-keys, sift-values in core/.
Jon Harper [Fri, 7 Aug 2015 22:39:36 +0000 (00:39 +0200)]
serialize, reduce by 2 bytes cells in [2^1008;2^1024[
We get this for free, and this is what the original comment
described. Also, this change is backwards compatible, ie it correctly
deserializes values that were serialized before this change.
Jon Harper [Fri, 7 Aug 2015 23:19:14 +0000 (01:19 +0200)]
serialize, test cells around first 2000 powers of 2
Jon Harper [Sat, 8 Aug 2015 01:20:59 +0000 (03:20 +0200)]
authors, use utf-8 to fix Björn's name
Jon Harper [Sat, 8 Aug 2015 01:48:07 +0000 (03:48 +0200)]
curses.listener: fix, need stream-write1 after changes to stream-bl
John Benediktsson [Fri, 7 Aug 2015 00:06:34 +0000 (17:06 -0700)]
tools.deploy: bump image sizes to get linux-x86-32 builds.
Doug Coleman [Thu, 6 Aug 2015 22:18:38 +0000 (17:18 -0500)]
graphviz: node[ -> [node etc. it can go back with the new parser.
Doug Coleman [Thu, 6 Aug 2015 22:05:12 +0000 (17:05 -0500)]
factor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
Doug Coleman [Thu, 6 Aug 2015 08:20:10 +0000 (03:20 -0500)]
combinators.smart: Add smart combinator that outputs a seq and (length-n) more elements.
Björn Lindqvist [Wed, 5 Aug 2015 23:09:42 +0000 (01:09 +0200)]
fuel.pprint: fix a thing that broke in fuel due to the source-file-error
tuple change
Björn Lindqvist [Wed, 5 Aug 2015 14:58:27 +0000 (16:58 +0200)]
FUEL: new function, factor-syntax, which makes the declarations in
factor-font-lock-keywords better looking and less verbose
Björn Lindqvist [Wed, 5 Aug 2015 11:57:53 +0000 (13:57 +0200)]
FUEL: corrected highlighting of QUALIFIED-WITH:
Björn Lindqvist [Wed, 5 Aug 2015 00:35:09 +0000 (02:35 +0200)]
FUEL: fix highlighting of FUNCTIONs
The final ; was dropped from the syntax, so FUEL looks for the finishing
bracket instead
Björn Lindqvist [Wed, 5 Aug 2015 00:28:07 +0000 (02:28 +0200)]
FUEL: improved highlighting of alias defs
Björn Lindqvist [Tue, 4 Aug 2015 23:41:33 +0000 (01:41 +0200)]
FUEL: this fix makes it so stack effects spread out over multiple lines highlight
John Benediktsson [Thu, 6 Aug 2015 04:39:51 +0000 (21:39 -0700)]
tools.tree: fix using.
John Benediktsson [Thu, 6 Aug 2015 04:02:35 +0000 (21:02 -0700)]
match: making match-cond have an optional default like cond.
John Benediktsson [Thu, 6 Aug 2015 02:13:53 +0000 (19:13 -0700)]
generic.standard: add some tests.
John Benediktsson [Thu, 6 Aug 2015 02:10:58 +0000 (19:10 -0700)]
generic.standard: check GENERIC# for integer dispatch#.
John Benediktsson [Thu, 6 Aug 2015 01:33:35 +0000 (18:33 -0700)]
io.files.info: use directory?, symbolic-link?, and regular-file?.
John Benediktsson [Thu, 6 Aug 2015 01:01:16 +0000 (18:01 -0700)]
compiler.tests: remove some tests that can't work now.
check-combination-effect raises an error at parse-time.
John Benediktsson [Thu, 6 Aug 2015 01:01:05 +0000 (18:01 -0700)]
fix some generic tests.
John Benediktsson [Wed, 5 Aug 2015 22:13:23 +0000 (15:13 -0700)]
generic: check valid combination/effect.
John Benediktsson [Wed, 5 Aug 2015 21:04:49 +0000 (14:04 -0700)]
tools.deploy: fix tests for windows.
Doug Coleman [Wed, 5 Aug 2015 18:59:27 +0000 (11:59 -0700)]
tools.deploy.embed: rename gone wrong. fixes #1415.
Doug Coleman [Wed, 5 Aug 2015 18:24:35 +0000 (11:24 -0700)]
mason.child: fix test for mason
John Benediktsson [Wed, 5 Aug 2015 18:01:56 +0000 (11:01 -0700)]
tools.deploy: disable opening directory after deploy for tests.
Doug Coleman [Wed, 5 Aug 2015 17:37:44 +0000 (10:37 -0700)]
mason.child: wrong code just doesn't do the right thing. hmm
Fixes #1404.
Doug Coleman [Wed, 5 Aug 2015 16:51:31 +0000 (09:51 -0700)]
mason.child: suffix -> 2array
Doug Coleman [Wed, 5 Aug 2015 16:38:25 +0000 (09:38 -0700)]
factor.cmd: Remove "call", not needed. Change line endings to unix
Doug Coleman [Wed, 5 Aug 2015 16:34:31 +0000 (09:34 -0700)]
system: Don't assume the git version is set.
Doug Coleman [Wed, 5 Aug 2015 16:33:18 +0000 (09:33 -0700)]
mason.child: Call factor.cmd to set up env vars instead of just calling nmake.
John Benediktsson [Wed, 5 Aug 2015 14:26:01 +0000 (07:26 -0700)]
tools.deploy.windows: fix using.
John Benediktsson [Wed, 5 Aug 2015 04:09:04 +0000 (21:09 -0700)]
slides: use toggle-fullscreen.
John Benediktsson [Wed, 5 Aug 2015 04:05:31 +0000 (21:05 -0700)]
slides: simplify strip-tease.
John Benediktsson [Wed, 5 Aug 2015 03:37:29 +0000 (20:37 -0700)]
prettyprint: use color constants for -> word-prop.
Doug Coleman [Wed, 5 Aug 2015 02:25:49 +0000 (19:25 -0700)]
Revert "report: Add build number to mason reports."
Maybe broke some things?
This reverts commit
a01ffaeac0b9f3d73bb853c40697f8b63b9ac71b .
John Benediktsson [Wed, 5 Aug 2015 02:06:19 +0000 (19:06 -0700)]
tools.deploy: adding a deploy-path that gives you the executable that was created.
John Benediktsson [Wed, 5 Aug 2015 02:04:09 +0000 (19:04 -0700)]
locals.prettyprint: remove "|" as a symbol.
Doug Coleman [Tue, 4 Aug 2015 23:57:19 +0000 (16:57 -0700)]
system: Make a shorter banner on startup.
Doug Coleman [Tue, 4 Aug 2015 23:28:21 +0000 (16:28 -0700)]
mason.report: Fix using.
Doug Coleman [Tue, 4 Aug 2015 23:27:59 +0000 (16:27 -0700)]
bootstrap.image.upload: Use git id instead of build number.
Doug Coleman [Tue, 4 Aug 2015 23:27:41 +0000 (16:27 -0700)]
GNUMakefile: Save entire git id.
Doug Coleman [Tue, 4 Aug 2015 23:26:53 +0000 (16:26 -0700)]
factor.cmd: Save entire gid id.
Doug Coleman [Tue, 4 Aug 2015 22:17:07 +0000 (15:17 -0700)]
report: Add build number to mason reports.
Doug Coleman [Tue, 4 Aug 2015 22:07:01 +0000 (15:07 -0700)]
io.files: fix docs
Doug Coleman [Tue, 4 Aug 2015 22:05:38 +0000 (15:05 -0700)]
bootstrap.image.upload: Upload build images as well for posterity.
Doug Coleman [Tue, 4 Aug 2015 22:03:37 +0000 (15:03 -0700)]
io.files: Add change-file-lines and change-file-contents words.
Doug Coleman [Tue, 4 Aug 2015 21:40:40 +0000 (14:40 -0700)]
tools.image-analyzer.gc-info: Deferred words don't have any gc-info. Fix the unit test to account for this. Fixes #1394.
Doug Coleman [Tue, 4 Aug 2015 19:43:24 +0000 (12:43 -0700)]
contexts.hpp: Increase callstack reserve space to 16k for Mac64. Fixes issue #1419.
Doug Coleman [Tue, 4 Aug 2015 19:23:55 +0000 (12:23 -0700)]
opengl: Temporary (?) fix for the ui. Issue #1379.
Throwing gl errors is not helpful because the ui gets messed up anyway. Print the error and continue. Maybe we should add a section in the F3 error window for opengl errors instead of printing them in the global stdout.
- We could also use gl-error on every platform except for MacOSX 10.11
- We could fix the underlying gl drawing commands that cause this error.
Doug Coleman [Tue, 4 Aug 2015 00:38:13 +0000 (17:38 -0700)]
urls: allow + in protocols, e.g. git+https://
John Benediktsson [Tue, 4 Aug 2015 14:49:50 +0000 (07:49 -0700)]
vm: minor fixes.
Björn Lindqvist [Tue, 4 Aug 2015 12:52:35 +0000 (14:52 +0200)]
VM: fix silly compile error
Björn Lindqvist [Tue, 4 Aug 2015 12:51:48 +0000 (14:51 +0200)]
kernel.tests: address of fault is now in the 3rd element, so these tests
need to be updated
Björn Lindqvist [Tue, 4 Aug 2015 12:27:14 +0000 (14:27 +0200)]
VM: bump stack_reserved from 1kb to 4kb
The added test case fails with a doulbe fault, which appears to be
caused by a stack overflow in the code that tries to handle the stack
overflow. So bumping it to 4096 bytes should give the code enough stack
space to play with.
Björn Lindqvist [Mon, 3 Aug 2015 22:06:57 +0000 (00:06 +0200)]
VM: merge full_collector.hpp into full_collector.cpp
Björn Lindqvist [Mon, 3 Aug 2015 21:48:08 +0000 (23:48 +0200)]
VM: new method context::address_to_error
Björn Lindqvist [Mon, 3 Aug 2015 21:45:20 +0000 (23:45 +0200)]
VM: signal_error and fp_trap_error not needed, call general_error directly
Björn Lindqvist [Mon, 3 Aug 2015 21:06:02 +0000 (23:06 +0200)]
VM: a bunch of methods on factor_vm that can be converted into free
functions
I think that makes it easier to see whats going on than having
everything added to factor_vm
Björn Lindqvist [Mon, 3 Aug 2015 13:07:48 +0000 (15:07 +0200)]
VM: lets merge entry_points.hpp with vm.hpp, so you have one less header
file to worry about
Björn Lindqvist [Sat, 1 Aug 2015 15:30:20 +0000 (17:30 +0200)]
VM: you can insert the write_barrier() the first time you interate the
blocks, so you don't need to do it twice
Björn Lindqvist [Sat, 1 Aug 2015 14:47:04 +0000 (16:47 +0200)]
VM: new method visit_instruction_operands(), it replaces the instruction
operand iteration code in compaction.cpp and image.cpp
Björn Lindqvist [Fri, 31 Jul 2015 18:45:11 +0000 (20:45 +0200)]
VM: refactors slot_visitor by removing a lot of one-use methods
I think it's easier to see the code flow if small method bodies that are
only called once are inlined into visit_all_roots() instead
Björn Lindqvist [Fri, 31 Jul 2015 18:31:47 +0000 (20:31 +0200)]
VM: word_stack_frame_p() is not used and find_all_quotations() is
trivial so those methods can be removed
Björn Lindqvist [Thu, 30 Jul 2015 23:34:53 +0000 (01:34 +0200)]
VM: using compute_external_address everywhere instead of store_external_address
Björn Lindqvist [Thu, 30 Jul 2015 23:14:38 +0000 (01:14 +0200)]
VM: new method compute_external_address
Björn Lindqvist [Wed, 29 Jul 2015 21:01:42 +0000 (23:01 +0200)]
VM: remove the collect_compact_code_impl(), collect_compact_impl() can
be used instead
this might slow down collect_growing_heap(), but heap growth happens so
rarely that it shouldn't matter
Björn Lindqvist [Wed, 29 Jul 2015 15:35:34 +0000 (17:35 +0200)]
VM: init_code_heap is trivial and only used once, so let's remove it
Björn Lindqvist [Wed, 29 Jul 2015 14:53:04 +0000 (16:53 +0200)]
VM: object_compaction_updater -> lambda func
Björn Lindqvist [Wed, 29 Jul 2015 14:33:59 +0000 (16:33 +0200)]
VM: another opportunity to use a lambda function over a struct
Björn Lindqvist [Wed, 29 Jul 2015 12:25:34 +0000 (14:25 +0200)]
VM: use a function update_relocation to replace the
code_block_compaction_relocation_visitor struct
Doug Coleman [Mon, 3 Aug 2015 19:23:08 +0000 (12:23 -0700)]
json.reader: Fix json reader for empty files to parse as H{ }. Add path>json word.
Rename read-jsons
Doug Coleman [Sat, 1 Aug 2015 21:34:04 +0000 (14:34 -0700)]
tools.deploy: increase image size for linux32
Doug Coleman [Sat, 1 Aug 2015 21:29:12 +0000 (14:29 -0700)]
syntax docs: Fix octal example.
John Benediktsson [Sat, 1 Aug 2015 14:59:21 +0000 (07:59 -0700)]
syntax: fix example in syntax-floats.
John Benediktsson [Sat, 1 Aug 2015 04:57:37 +0000 (21:57 -0700)]
stack-checker: too tired to figure out which using is required but not used.
John Benediktsson [Sat, 1 Aug 2015 03:41:46 +0000 (20:41 -0700)]
stack-checker: using cleanup.
John Benediktsson [Fri, 31 Jul 2015 01:16:31 +0000 (18:16 -0700)]
math.parser: make float-parse:point a fixnum.
John Benediktsson [Fri, 31 Jul 2015 00:59:21 +0000 (17:59 -0700)]
math.parser: some inline, some fixnum+fast, some disable tests.
Jon Harper [Wed, 24 Jun 2015 21:14:24 +0000 (23:14 +0200)]
math.parser: support >bin and >oct for floats
This is for symmetry with "0o1p0", "0b1p0", bin> and hex> which
all already work
Jon Harper [Tue, 23 Jun 2015 22:00:25 +0000 (00:00 +0200)]
math.parser: add tests/docs for floats 0b 0x bin> float> since they work
Jon Harper [Wed, 24 Jun 2015 21:22:59 +0000 (23:22 +0200)]
docs: hex floats exponents became mandatory
Jon Harper [Tue, 23 Jun 2015 21:09:51 +0000 (23:09 +0200)]
math.parser, don't take infinite time to parse huge exponents
Jon Harper [Tue, 23 Jun 2015 21:08:57 +0000 (23:08 +0200)]
math.parser: don't lose precision in make-float-bin-exponent
John Benediktsson [Thu, 30 Jul 2015 17:35:51 +0000 (10:35 -0700)]
reddit: use unix-time>timestamp.
John Benediktsson [Thu, 30 Jul 2015 17:34:49 +0000 (10:34 -0700)]
calendar.format: don't need unix-time>relative-time.
unix-time>timestamp relative-time
John Benediktsson [Thu, 30 Jul 2015 16:41:58 +0000 (09:41 -0700)]
math.ratios: moving to core.
Doug Coleman [Thu, 30 Jul 2015 16:10:48 +0000 (09:10 -0700)]
hacker-news: fix typo with descendants. use unix-time>relative-time
Doug Coleman [Thu, 30 Jul 2015 16:10:10 +0000 (09:10 -0700)]
calendar.elapsed: Support relative times in the future with "3 hours hence" etc.
Add unix-time>relative-time word for convenience.
John Benediktsson [Thu, 30 Jul 2015 15:56:55 +0000 (08:56 -0700)]
calendar.elapsed: make generic for more convenience.
John Benediktsson [Thu, 30 Jul 2015 15:54:02 +0000 (08:54 -0700)]
reddit: use calendar.elapsed for relative-time.
John Benediktsson [Thu, 30 Jul 2015 15:46:44 +0000 (08:46 -0700)]
hacker-news: add relative timestamp on posts.
John Benediktsson [Thu, 30 Jul 2015 15:16:34 +0000 (08:16 -0700)]
reddit: stop using tuples and just use the JSON.
Nice-looking tuples are nice but reddit keeps adding fields to their objects
and breaking our from-slots. We could hide the error, or ignore the extra
fields but this is probably better for now.
John Benediktsson [Thu, 30 Jul 2015 15:10:18 +0000 (08:10 -0700)]
calendar.elapsed: adding some elapsed time words.
Doug Coleman [Thu, 30 Jul 2015 06:51:26 +0000 (23:51 -0700)]
io.files.windows: Need the SLOT: file from io.sockets.secure.openssl
Doug Coleman [Thu, 30 Jul 2015 04:16:16 +0000 (21:16 -0700)]
hacker-news: Fix using, fix bug printing HN company posts. Refactor a bit
Doug Coleman [Thu, 30 Jul 2015 04:05:20 +0000 (21:05 -0700)]
hacker-news: use new hackernews api on firebase.
Doug Coleman [Thu, 30 Jul 2015 04:04:31 +0000 (21:04 -0700)]
benchmark.fasta: rename random.
Björn Lindqvist [Wed, 29 Jul 2015 10:51:05 +0000 (12:51 +0200)]
compiler.cfg.utilities: make it so block>cfg initializes spill-area-align