]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agofurnace.actions: return Method Not Allowed if not GET/HEAD/POST.
John Benediktsson [Sat, 15 Aug 2015 23:57:40 +0000 (16:57 -0700)]
furnace.actions: return Method Not Allowed if not GET/HEAD/POST.

8 years agowebapps.mason: protect from bad links to builder/release.
John Benediktsson [Sat, 15 Aug 2015 23:50:35 +0000 (16:50 -0700)]
webapps.mason: protect from bad links to builder/release.

8 years agowebapps.pastebin: fix calling >>annotations on f.
John Benediktsson [Sat, 15 Aug 2015 23:40:43 +0000 (16:40 -0700)]
webapps.pastebin: fix calling >>annotations on f.

8 years agonamespaces: don't need SLOT: and FROM:.
John Benediktsson [Sat, 15 Aug 2015 23:31:21 +0000 (16:31 -0700)]
namespaces: don't need SLOT: and FROM:.

8 years agoalien.strings: remove (symbol>string) helper word.
John Benediktsson [Sat, 15 Aug 2015 23:13:46 +0000 (16:13 -0700)]
alien.strings: remove (symbol>string) helper word.

8 years agoRevert "parser: split parse-file into (parse-file)."
John Benediktsson [Sat, 15 Aug 2015 23:05:41 +0000 (16:05 -0700)]
Revert "parser: split parse-file into (parse-file)."

This reverts commit 18bbe6292afc9fa1add305c09ac58644e74e4fc4.

8 years agotools.image-analyzer.gc-info.tests: fix word>gc-info-expected word,
Björn Lindqvist [Sat, 15 Aug 2015 04:06:01 +0000 (06:06 +0200)]
tools.image-analyzer.gc-info.tests: fix word>gc-info-expected word,
fixes #1436

8 years agoparser: split parse-file into (parse-file).
John Benediktsson [Sat, 15 Aug 2015 16:12:06 +0000 (09:12 -0700)]
parser: split parse-file into (parse-file).

8 years agosorting.quick: a bit faster for standard data types.
John Benediktsson [Sat, 15 Aug 2015 15:57:47 +0000 (08:57 -0700)]
sorting.quick: a bit faster for standard data types.

8 years agogrouping: make the $example, not $unchecked-example.
John Benediktsson [Sat, 15 Aug 2015 04:30:57 +0000 (21:30 -0700)]
grouping: make the $example, not $unchecked-example.

8 years agogrouping: simplify since we always slice.
John Benediktsson [Sat, 15 Aug 2015 04:12:28 +0000 (21:12 -0700)]
grouping: simplify since we always slice.

8 years agoVM: fix one callstack overflow problem by "unlocking" the callstacks
Björn Lindqvist [Fri, 14 Aug 2015 22:22:50 +0000 (00:22 +0200)]
VM: fix one callstack overflow problem by "unlocking" the callstacks
border pages

Also a new vocab compiler.tests.callstack-overflow which is supposed to
contain all tests for callstack overflow-related problems.

8 years agoVM: simplified logic for allot_object()
Björn Lindqvist [Fri, 14 Aug 2015 22:19:44 +0000 (00:19 +0200)]
VM: simplified logic for allot_object()

8 years agoVM: simplifies the dispatch_resumable_signal() method
Björn Lindqvist [Fri, 14 Aug 2015 22:08:42 +0000 (00:08 +0200)]
VM: simplifies the dispatch_resumable_signal() method

8 years agoVM: new method set_border_locked() in segment, so that you can remove
Björn Lindqvist [Fri, 14 Aug 2015 22:06:59 +0000 (00:06 +0200)]
VM: new method set_border_locked() in segment, so that you can remove
the protection of the guard pages

8 years agovm: add def for the segment struct, it's useful for testing
Björn Lindqvist [Fri, 14 Aug 2015 21:20:21 +0000 (23:20 +0200)]
vm: add def for the segment struct, it's useful for testing

8 years agoVM: smaller style-fixes, like removing redundant else clauses and this prefixes
Björn Lindqvist [Fri, 14 Aug 2015 20:31:04 +0000 (22:31 +0200)]
VM: smaller style-fixes, like removing redundant else clauses and this prefixes

8 years agoVM: move trace_partial_objects to visit_partial_objects since it is a
Björn Lindqvist [Fri, 14 Aug 2015 03:49:20 +0000 (05:49 +0200)]
VM: move trace_partial_objects to visit_partial_objects since it is a
kind of visitation function

8 years agoVM: split dispatch_signal_handler into two methods, one for resumable
Björn Lindqvist [Thu, 13 Aug 2015 02:59:14 +0000 (04:59 +0200)]
VM: split dispatch_signal_handler into two methods, one for resumable
and one for non-resumable signals

8 years agoVM: move the frame_predecessor() method to the code_heap class
Björn Lindqvist [Wed, 12 Aug 2015 18:32:04 +0000 (20:32 +0200)]
VM: move the frame_predecessor() method to the code_heap class

8 years agoVM: FRAME_RETURN_ADDRESS define unused
Björn Lindqvist [Wed, 12 Aug 2015 02:21:13 +0000 (04:21 +0200)]
VM: FRAME_RETURN_ADDRESS define unused

8 years agoVM: the JIT_PROFILING special object is never used, so rename it to
Björn Lindqvist [Wed, 12 Aug 2015 01:22:24 +0000 (03:22 +0200)]
VM: the JIT_PROFILING special object is never used, so rename it to
JIT_UNUSED (removing it breaks boot images)

8 years agobootstrap.image: better to use the special-object-count constant from kernel.private
Björn Lindqvist [Wed, 12 Aug 2015 00:39:02 +0000 (02:39 +0200)]
bootstrap.image: better to use the special-object-count constant from kernel.private

8 years agobootstrap.image: bs-special-objects -> special-objects,
Björn Lindqvist [Tue, 11 Aug 2015 18:53:58 +0000 (20:53 +0200)]
bootstrap.image: bs-special-objects -> special-objects,
bootstrap.image.syntax vocab not needed anymore

8 years agobootstrap.assembler.*: convert the other assembly files to the new
Björn Lindqvist [Tue, 11 Aug 2015 18:19:59 +0000 (20:19 +0200)]
bootstrap.assembler.*: convert the other assembly files to the new
jit-define system

8 years agobootstrap.image: attempt to remove the SPECIAL-OBJECT: table
Björn Lindqvist [Mon, 10 Aug 2015 12:40:56 +0000 (14:40 +0200)]
bootstrap.image: attempt to remove the SPECIAL-OBJECT: table

Instead of using newly defined words as keys to the special-objects
hash being built, you can reuse the constants in kernel.private

8 years agocompiler.cfg.save-contexts: context-save-needed not needed because it's
Björn Lindqvist [Sun, 9 Aug 2015 14:44:55 +0000 (16:44 +0200)]
compiler.cfg.save-contexts: context-save-needed not needed because it's
the same as gc-map-insn

8 years agoVM: emit_prolog/emit_epilog can be simplified because stack frame and
Björn Lindqvist [Sat, 8 Aug 2015 02:51:55 +0000 (04:51 +0200)]
VM: emit_prolog/emit_epilog can be simplified because stack frame and
safe point is always emitted together

8 years agoVM: the stack_frame_p() and safepoint_p() functions appear to be
Björn Lindqvist [Sat, 8 Aug 2015 02:45:40 +0000 (04:45 +0200)]
VM: the stack_frame_p() and safepoint_p() functions appear to be
semantically identical, let's merge them into a
no_non_safepoint_words_p() function

8 years agoVM: an unused #define we can eliminate
Björn Lindqvist [Fri, 7 Aug 2015 15:47:15 +0000 (17:47 +0200)]
VM: an unused #define we can eliminate

8 years agoVM: the context_object_count must be wrong, there are only 4 of them
Björn Lindqvist [Fri, 7 Aug 2015 00:18:50 +0000 (02:18 +0200)]
VM: the context_object_count must be wrong, there are only 4 of them

8 years agonamespaces: simplify (box-at) using cache.
John Benediktsson [Sat, 15 Aug 2015 02:51:29 +0000 (19:51 -0700)]
namespaces: simplify (box-at) using cache.

8 years agoparser: split out check-word-name.
John Benediktsson [Sat, 15 Aug 2015 02:46:09 +0000 (19:46 -0700)]
parser: split out check-word-name.

8 years agowindows.directx.dinput.constants: simplify uninitialize.
John Benediktsson [Sat, 15 Aug 2015 02:45:47 +0000 (19:45 -0700)]
windows.directx.dinput.constants: simplify uninitialize.

8 years agodecimals: rename D: to DECIMAL: to help with new parser until we figure out how best...
Doug Coleman [Fri, 14 Aug 2015 22:04:53 +0000 (15:04 -0700)]
decimals: rename D: to DECIMAL: to help with new parser until we figure out how best to deal with conflicts.

8 years agouse scrape-html instead of "http-get nip parse-html".
John Benediktsson [Fri, 14 Aug 2015 19:13:35 +0000 (12:13 -0700)]
use scrape-html instead of "http-get nip parse-html".

8 years agoRevert "vm: don't use implicit this. thanks to Jon Harper for the report."
Doug Coleman [Fri, 14 Aug 2015 18:15:55 +0000 (11:15 -0700)]
Revert "vm: don't use implicit this. thanks to Jon Harper for the report."

My bad. A buggy compiler is a buggy compiler. Not a good workaround.

This reverts commit 1602e5094c836e6081cc5f0139c0cab6b740debb.

8 years agovm: don't use implicit this. thanks to Jon Harper for the report.
Doug Coleman [Fri, 14 Aug 2015 17:16:22 +0000 (10:16 -0700)]
vm: don't use implicit this. thanks to Jon Harper for the report.

8 years agowindows.errors: fix bootstrap
Doug Coleman [Fri, 14 Aug 2015 06:07:32 +0000 (23:07 -0700)]
windows.errors: fix bootstrap

8 years agofix for bad renames.
John Benediktsson [Fri, 14 Aug 2015 02:07:50 +0000 (19:07 -0700)]
fix for bad renames.

8 years agocompiler: fix D.
Doug Coleman [Fri, 14 Aug 2015 01:14:16 +0000 (18:14 -0700)]
compiler: fix D.

8 years agomisc/vim: update with new core word renames.
John Benediktsson [Fri, 14 Aug 2015 00:56:16 +0000 (17:56 -0700)]
misc/vim: update with new core word renames.

8 years agonamespaces: rename namestack* to (get-namestack) for consistency.
John Benediktsson [Fri, 14 Aug 2015 00:53:07 +0000 (17:53 -0700)]
namespaces: rename namestack* to (get-namestack) for consistency.

8 years agocontinuations: rename catchstack* to (get-catchstack) for consistency.
John Benediktsson [Fri, 14 Aug 2015 00:52:40 +0000 (17:52 -0700)]
continuations: rename catchstack* to (get-catchstack) for consistency.

8 years agonamespaces: remove is-global word.
John Benediktsson [Fri, 14 Aug 2015 00:46:40 +0000 (17:46 -0700)]
namespaces: remove is-global word.

8 years agochange ERROR: words from throw-foo back to foo.
John Benediktsson [Thu, 13 Aug 2015 23:13:05 +0000 (16:13 -0700)]
change ERROR: words from throw-foo back to foo.

8 years agosee: ERROR: should print as ERROR:.
John Benediktsson [Thu, 13 Aug 2015 23:12:17 +0000 (16:12 -0700)]
see: ERROR: should print as ERROR:.

8 years agocompiler: rename D to D: because it wants a token. Same for R -> R:
Doug Coleman [Thu, 13 Aug 2015 22:23:10 +0000 (15:23 -0700)]
compiler: rename D to D: because it wants a token. Same for R -> R:

8 years agostack-checker: old bug, float>fixnum was not foldable!!
Doug Coleman [Thu, 13 Aug 2015 21:47:01 +0000 (14:47 -0700)]
stack-checker: old bug, float>fixnum was not foldable!!

8 years agowords: use get-callstack.
Doug Coleman [Thu, 13 Aug 2015 19:57:33 +0000 (12:57 -0700)]
words: use get-callstack.

8 years agocompiler: fix rename
Doug Coleman [Thu, 13 Aug 2015 19:55:28 +0000 (12:55 -0700)]
compiler: fix rename

8 years agothreads: fix test.
Doug Coleman [Thu, 13 Aug 2015 17:16:10 +0000 (10:16 -0700)]
threads: fix test.

8 years agocore: callstack is a builtin type and a class name. rename the *stack words that...
Doug Coleman [Thu, 13 Aug 2015 17:11:59 +0000 (10:11 -0700)]
core: callstack is a builtin type and a class name. rename the *stack words that grab the current stack get-foostack to avoid the callstack builtin conflict and for better symmetry with set-foostack.

8 years agoalien.libraries: try out throw-foo.
John Benediktsson [Thu, 13 Aug 2015 13:52:06 +0000 (06:52 -0700)]
alien.libraries: try out throw-foo.

8 years agoio.launcher: fix bad refactor.
John Benediktsson [Thu, 13 Aug 2015 13:51:44 +0000 (06:51 -0700)]
io.launcher: fix bad refactor.

8 years agoremove redundant IN:
John Benediktsson [Thu, 13 Aug 2015 13:44:37 +0000 (06:44 -0700)]
remove redundant IN:

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