]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agobasis: ERROR: changes.
Doug Coleman [Thu, 13 Aug 2015 10:20:39 +0000 (03:20 -0700)]
basis: ERROR: changes.

8 years agocompiler.tree.propagation: Fix build error
Doug Coleman [Thu, 13 Aug 2015 09:53:03 +0000 (02:53 -0700)]
compiler.tree.propagation: Fix build error

8 years agozoneinfo: at -> at-time
Doug Coleman [Thu, 13 Aug 2015 09:15:54 +0000 (02:15 -0700)]
zoneinfo: at -> at-time

8 years agoextra: use throw-foo for ERROR: change
Doug Coleman [Thu, 13 Aug 2015 08:56:32 +0000 (01:56 -0700)]
extra: use throw-foo for ERROR: change

8 years agozeromq: fix for ERROR: change.
Doug Coleman [Thu, 13 Aug 2015 07:58:59 +0000 (00:58 -0700)]
zeromq: fix for ERROR: change.

8 years agogpu.shaders: fix throw- error
Doug Coleman [Thu, 13 Aug 2015 07:24:10 +0000 (00:24 -0700)]
gpu.shaders: fix throw- error

8 years agodb.sqlite: fix ERROR:
Doug Coleman [Thu, 13 Aug 2015 07:18:29 +0000 (00:18 -0700)]
db.sqlite: fix ERROR:

8 years agoxml.errors: fix xml error.
Doug Coleman [Thu, 13 Aug 2015 07:04:16 +0000 (00:04 -0700)]
xml.errors: fix xml error.

8 years agochanger: docs didnt get committed. my git game is really off...
Doug Coleman [Thu, 13 Aug 2015 03:44:46 +0000 (20:44 -0700)]
changer: docs didnt get committed. my git game is really off...

8 years agogoogle.translate: fix the conflict in a naive way.
Doug Coleman [Thu, 13 Aug 2015 03:36:08 +0000 (20:36 -0700)]
google.translate: fix the conflict in a naive way.

8 years agoxml.errors: fix throw-unclosed. omg.
Doug Coleman [Thu, 13 Aug 2015 02:59:40 +0000 (19:59 -0700)]
xml.errors: fix throw-unclosed. omg.

8 years agoclasses.error: It was in the other patch but not this one...
Doug Coleman [Thu, 13 Aug 2015 02:40:25 +0000 (19:40 -0700)]
classes.error: It was in the other patch but not this one...

8 years agocpu.8080: opcode -> opcode:, cycles -> cycles:
Doug Coleman [Thu, 13 Aug 2015 00:57:55 +0000 (19:57 -0500)]
cpu.8080: opcode -> opcode:, cycles -> cycles:

8 years agococoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA...
Doug Coleman [Thu, 13 Aug 2015 00:44:07 +0000 (19:44 -0500)]
cocoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA-PROTOCOL: token.

8 years agofactor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw...
Doug Coleman [Wed, 12 Aug 2015 20:26:18 +0000 (15:26 -0500)]
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.

8 years agocompiler, alien: fix some duplication in ERROR: definitions. hope this doesnt trigger...
Doug Coleman [Wed, 12 Aug 2015 18:58:38 +0000 (13:58 -0500)]
compiler, alien: fix some duplication in ERROR: definitions. hope this doesnt trigger more failing builds than it fixed...

8 years agoextra: fix sets rename
Doug Coleman [Wed, 12 Aug 2015 18:58:20 +0000 (13:58 -0500)]
extra: fix sets rename

8 years agosyntax: fix SINGLETON: to be on its own line in docs.
Doug Coleman [Wed, 12 Aug 2015 17:10:32 +0000 (12:10 -0500)]
syntax: fix SINGLETON: to be on its own line in docs.

8 years agofactor: don't need FROM: namespaces => set or namespaces:set anymore
Doug Coleman [Wed, 12 Aug 2015 16:24:26 +0000 (11:24 -0500)]
factor: don't need FROM: namespaces => set or namespaces:set anymore

8 years agofactor: arch -> arch-name. fix breakage caused by other patch.
Doug Coleman [Wed, 12 Aug 2015 16:08:24 +0000 (11:08 -0500)]
factor: arch -> arch-name. fix breakage caused by other patch.

8 years agofactor: rename set to unordered-set.
Doug Coleman [Wed, 12 Aug 2015 15:37:06 +0000 (10:37 -0500)]
factor: rename set to unordered-set.

8 years agoio.styles: image -> image-style in docs too
Doug Coleman [Wed, 12 Aug 2015 14:09:41 +0000 (09:09 -0500)]
io.styles: image -> image-style in docs too

8 years agofactor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots...
Doug Coleman [Wed, 12 Aug 2015 13:49:02 +0000 (08:49 -0500)]
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.

8 years agoassocs: fix map>alist and docs.
Doug Coleman [Wed, 12 Aug 2015 13:48:33 +0000 (08:48 -0500)]
assocs: fix map>alist and docs.

8 years agobootstrap.image: images -> image-strings
Doug Coleman [Wed, 12 Aug 2015 13:42:58 +0000 (08:42 -0500)]
bootstrap.image: images -> image-strings

8 years agochanger: Add changer vocab.
Doug Coleman [Wed, 12 Aug 2015 04:54:20 +0000 (23:54 -0500)]
changer: Add changer vocab.

8 years agoassocs: add map>alist which is { } map>assoc but could map to an alist type sometime.
Doug Coleman [Wed, 12 Aug 2015 04:43:58 +0000 (23:43 -0500)]
assocs: add map>alist which is { } map>assoc but could map to an alist type sometime.

8 years agofactor: put inline on same line as ; for experimentation
Doug Coleman [Mon, 10 Aug 2015 17:55:27 +0000 (12:55 -0500)]
factor: put inline on same line as ; for experimentation

8 years agoserialize: change to "<" to match the comments.
John Benediktsson [Sun, 9 Aug 2015 00:17:07 +0000 (17:17 -0700)]
serialize: change to "<" to match the comments.

8 years agocompiler: oops, assoc-empty? vs empty?. undo harvest-values here.
Doug Coleman [Sat, 8 Aug 2015 17:27:36 +0000 (12:27 -0500)]
compiler: oops, assoc-empty? vs empty?. undo harvest-values here.

8 years agobasis: use harvest-values
Doug Coleman [Sat, 8 Aug 2015 17:24:22 +0000 (12:24 -0500)]
basis: use harvest-values

8 years agoassocs: Add harvest-keys, harvest-values to core/. Remove assoc-sift because it's...
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/.

8 years agoserialize, reduce by 2 bytes cells in [2^1008;2^1024[
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.

8 years agoserialize, test cells around first 2000 powers of 2
Jon Harper [Fri, 7 Aug 2015 23:19:14 +0000 (01:19 +0200)]
serialize, test cells around first 2000 powers of 2

8 years agoauthors, use utf-8 to fix Björn's name
Jon Harper [Sat, 8 Aug 2015 01:20:59 +0000 (03:20 +0200)]
authors, use utf-8 to fix Björn's name

8 years agocurses.listener: fix, need stream-write1 after changes to stream-bl 1426/head
Jon Harper [Sat, 8 Aug 2015 01:48:07 +0000 (03:48 +0200)]
curses.listener: fix, need stream-write1 after changes to stream-bl

8 years agotools.deploy: bump image sizes to get linux-x86-32 builds.
John Benediktsson [Fri, 7 Aug 2015 00:06:34 +0000 (17:06 -0700)]
tools.deploy: bump image sizes to get linux-x86-32 builds.

8 years agographviz: node[ -> [node etc. it can go back with the new parser.
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.

8 years agofactor: Rename I[ ]I to [I I]. Fix places where we do "string"token without whitespace.
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.

8 years agocombinators.smart: Add smart combinator that outputs a seq and (length-n) more elements.
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.

8 years agofuel.pprint: fix a thing that broke in fuel due to the source-file-error
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

8 years agoFUEL: new function, factor-syntax, which makes the declarations in
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

8 years agoFUEL: corrected highlighting of QUALIFIED-WITH:
Björn Lindqvist [Wed, 5 Aug 2015 11:57:53 +0000 (13:57 +0200)]
FUEL: corrected highlighting of QUALIFIED-WITH:

8 years agoFUEL: fix highlighting of FUNCTIONs
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

8 years agoFUEL: improved highlighting of alias defs
Björn Lindqvist [Wed, 5 Aug 2015 00:28:07 +0000 (02:28 +0200)]
FUEL: improved highlighting of alias defs

8 years agoFUEL: this fix makes it so stack effects spread out over multiple lines highlight
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

8 years agotools.tree: fix using.
John Benediktsson [Thu, 6 Aug 2015 04:39:51 +0000 (21:39 -0700)]
tools.tree: fix using.

8 years agomatch: making match-cond have an optional default like cond.
John Benediktsson [Thu, 6 Aug 2015 04:02:35 +0000 (21:02 -0700)]
match: making match-cond have an optional default like cond.

8 years agogeneric.standard: add some tests.
John Benediktsson [Thu, 6 Aug 2015 02:13:53 +0000 (19:13 -0700)]
generic.standard: add some tests.

8 years agogeneric.standard: check GENERIC# for integer dispatch#.
John Benediktsson [Thu, 6 Aug 2015 02:10:58 +0000 (19:10 -0700)]
generic.standard: check GENERIC# for integer dispatch#.

8 years agoio.files.info: use directory?, symbolic-link?, and regular-file?.
John Benediktsson [Thu, 6 Aug 2015 01:33:35 +0000 (18:33 -0700)]
io.files.info: use directory?, symbolic-link?, and regular-file?.

8 years agocompiler.tests: remove some tests that can't work now.
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.

8 years agofix some generic tests.
John Benediktsson [Thu, 6 Aug 2015 01:01:05 +0000 (18:01 -0700)]
fix some generic tests.

8 years agogeneric: check valid combination/effect.
John Benediktsson [Wed, 5 Aug 2015 22:13:23 +0000 (15:13 -0700)]
generic: check valid combination/effect.

8 years agotools.deploy: fix tests for windows.
John Benediktsson [Wed, 5 Aug 2015 21:04:49 +0000 (14:04 -0700)]
tools.deploy: fix tests for windows.

8 years agotools.deploy.embed: rename gone wrong. fixes #1415.
Doug Coleman [Wed, 5 Aug 2015 18:59:27 +0000 (11:59 -0700)]
tools.deploy.embed: rename gone wrong. fixes #1415.

8 years agomason.child: fix test for mason
Doug Coleman [Wed, 5 Aug 2015 18:24:35 +0000 (11:24 -0700)]
mason.child: fix test for mason

8 years agotools.deploy: disable opening directory after deploy for tests.
John Benediktsson [Wed, 5 Aug 2015 18:01:56 +0000 (11:01 -0700)]
tools.deploy: disable opening directory after deploy for tests.

8 years agomason.child: wrong code just doesn't do the right thing. hmm
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.

8 years agomason.child: suffix -> 2array
Doug Coleman [Wed, 5 Aug 2015 16:51:31 +0000 (09:51 -0700)]
mason.child: suffix -> 2array

8 years agofactor.cmd: Remove "call", not needed. Change line endings to unix
Doug Coleman [Wed, 5 Aug 2015 16:38:25 +0000 (09:38 -0700)]
factor.cmd: Remove "call", not needed. Change line endings to unix

8 years agosystem: Don't assume the git version is set.
Doug Coleman [Wed, 5 Aug 2015 16:34:31 +0000 (09:34 -0700)]
system: Don't assume the git version is set.

8 years agomason.child: Call factor.cmd to set up env vars instead of just calling nmake.
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.

8 years agotools.deploy.windows: fix using.
John Benediktsson [Wed, 5 Aug 2015 14:26:01 +0000 (07:26 -0700)]
tools.deploy.windows: fix using.

8 years agoslides: use toggle-fullscreen.
John Benediktsson [Wed, 5 Aug 2015 04:09:04 +0000 (21:09 -0700)]
slides: use toggle-fullscreen.

8 years agoslides: simplify strip-tease.
John Benediktsson [Wed, 5 Aug 2015 04:05:31 +0000 (21:05 -0700)]
slides: simplify strip-tease.

8 years agoprettyprint: use color constants for -> word-prop.
John Benediktsson [Wed, 5 Aug 2015 03:37:29 +0000 (20:37 -0700)]
prettyprint: use color constants for -> word-prop.

8 years agoRevert "report: Add build number to mason reports."
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.

8 years agotools.deploy: adding a deploy-path that gives you the executable that was created.
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.

8 years agolocals.prettyprint: remove "|" as a symbol.
John Benediktsson [Wed, 5 Aug 2015 02:04:09 +0000 (19:04 -0700)]
locals.prettyprint: remove "|" as a symbol.

8 years agosystem: Make a shorter banner on startup.
Doug Coleman [Tue, 4 Aug 2015 23:57:19 +0000 (16:57 -0700)]
system: Make a shorter banner on startup.

8 years agomason.report: Fix using.
Doug Coleman [Tue, 4 Aug 2015 23:28:21 +0000 (16:28 -0700)]
mason.report: Fix using.

8 years agobootstrap.image.upload: Use git id instead of build number.
Doug Coleman [Tue, 4 Aug 2015 23:27:59 +0000 (16:27 -0700)]
bootstrap.image.upload: Use git id instead of build number.

8 years agoGNUMakefile: Save entire git id.
Doug Coleman [Tue, 4 Aug 2015 23:27:41 +0000 (16:27 -0700)]
GNUMakefile: Save entire git id.

8 years agofactor.cmd: Save entire gid id.
Doug Coleman [Tue, 4 Aug 2015 23:26:53 +0000 (16:26 -0700)]
factor.cmd: Save entire gid id.

8 years agoreport: Add build number to mason reports.
Doug Coleman [Tue, 4 Aug 2015 22:17:07 +0000 (15:17 -0700)]
report: Add build number to mason reports.

8 years agoio.files: fix docs
Doug Coleman [Tue, 4 Aug 2015 22:07:01 +0000 (15:07 -0700)]
io.files: fix docs

8 years agobootstrap.image.upload: Upload build images as well for posterity.
Doug Coleman [Tue, 4 Aug 2015 22:05:38 +0000 (15:05 -0700)]
bootstrap.image.upload: Upload build images as well for posterity.

8 years agoio.files: Add change-file-lines and change-file-contents words.
Doug Coleman [Tue, 4 Aug 2015 22:03:37 +0000 (15:03 -0700)]
io.files: Add change-file-lines and change-file-contents words.

8 years agotools.image-analyzer.gc-info: Deferred words don't have any gc-info. Fix the unit...
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.

8 years agocontexts.hpp: Increase callstack reserve space to 16k for Mac64. Fixes issue #1419.
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.

8 years agoopengl: Temporary (?) fix for the ui. Issue #1379.
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.

8 years agourls: allow + in protocols, e.g. git+https://
Doug Coleman [Tue, 4 Aug 2015 00:38:13 +0000 (17:38 -0700)]
urls: allow + in protocols, e.g. git+https://

8 years agovm: minor fixes.
John Benediktsson [Tue, 4 Aug 2015 14:49:50 +0000 (07:49 -0700)]
vm: minor fixes.

8 years agoVM: fix silly compile error 1418/head
Björn Lindqvist [Tue, 4 Aug 2015 12:52:35 +0000 (14:52 +0200)]
VM: fix silly compile error

8 years agokernel.tests: address of fault is now in the 3rd element, so these tests
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

8 years agoVM: bump stack_reserved from 1kb to 4kb
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.

8 years agoVM: merge full_collector.hpp into full_collector.cpp
Björn Lindqvist [Mon, 3 Aug 2015 22:06:57 +0000 (00:06 +0200)]
VM: merge full_collector.hpp into full_collector.cpp

8 years agoVM: new method context::address_to_error
Björn Lindqvist [Mon, 3 Aug 2015 21:48:08 +0000 (23:48 +0200)]
VM: new method context::address_to_error

8 years agoVM: signal_error and fp_trap_error not needed, call general_error directly
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

8 years agoVM: a bunch of methods on factor_vm that can be converted into free
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

8 years agoVM: lets merge entry_points.hpp with vm.hpp, so you have one less header
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

8 years agoVM: you can insert the write_barrier() the first time you interate the
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

8 years agoVM: new method visit_instruction_operands(), it replaces the instruction
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

8 years agoVM: refactors slot_visitor by removing a lot of one-use methods
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

8 years agoVM: word_stack_frame_p() is not used and find_all_quotations() is
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

8 years agoVM: using compute_external_address everywhere instead of store_external_address
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

8 years agoVM: new method compute_external_address
Björn Lindqvist [Thu, 30 Jul 2015 23:14:38 +0000 (01:14 +0200)]
VM: new method compute_external_address

8 years agoVM: remove the collect_compact_code_impl(), collect_compact_impl() can
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

8 years agoVM: init_code_heap is trivial and only used once, so let's remove it
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