]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agoVM: no need for a nursery_space class, it's just a bump_allocator
Björn Lindqvist [Fri, 21 Nov 2014 09:34:23 +0000 (10:34 +0100)]
VM: no need for a nursery_space class, it's just a bump_allocator

9 years agomath.primes: speedup sieve.
John Benediktsson [Thu, 4 Dec 2014 18:11:32 +0000 (10:11 -0800)]
math.primes: speedup sieve.

9 years agovm: fix OS X issue with using symlinks from outside $factor.
John Benediktsson [Thu, 4 Dec 2014 03:19:52 +0000 (19:19 -0800)]
vm: fix OS X issue with using symlinks from outside $factor.

9 years agocombinators.extras: adding swap-when.
John Benediktsson [Wed, 3 Dec 2014 20:03:04 +0000 (12:03 -0800)]
combinators.extras: adding swap-when.

9 years agouse suffix! and append!.
John Benediktsson [Wed, 3 Dec 2014 19:37:34 +0000 (11:37 -0800)]
use suffix! and append!.

9 years agothreads: some cleanup.
John Benediktsson [Wed, 3 Dec 2014 00:44:24 +0000 (16:44 -0800)]
threads: some cleanup.

9 years agobasis: cleanup using.
John Benediktsson [Tue, 2 Dec 2014 06:18:32 +0000 (22:18 -0800)]
basis: cleanup using.

9 years agocompiler.cfg.linear-scan.allocation.state: simplify init-unhandled.
John Benediktsson [Tue, 2 Dec 2014 06:18:15 +0000 (22:18 -0800)]
compiler.cfg.linear-scan.allocation.state: simplify init-unhandled.

9 years agocore-foundation.run-loop: update using.
John Benediktsson [Tue, 2 Dec 2014 01:06:45 +0000 (17:06 -0800)]
core-foundation.run-loop: update using.

9 years agoheaps: faster heaps, simpler heapsort.
John Benediktsson [Mon, 1 Dec 2014 23:16:47 +0000 (15:16 -0800)]
heaps: faster heaps, simpler heapsort.

9 years agoheaps: change slurp-heap to slurp keys and values.
John Benediktsson [Mon, 1 Dec 2014 23:14:25 +0000 (15:14 -0800)]
heaps: change slurp-heap to slurp keys and values.

9 years agochange errors to use "object" instead of "obj".
John Benediktsson [Mon, 1 Dec 2014 16:04:49 +0000 (08:04 -0800)]
change errors to use "object" instead of "obj".

9 years agoeditors.cot: moving to editors.coteditor.
John Benediktsson [Mon, 1 Dec 2014 15:15:14 +0000 (07:15 -0800)]
editors.cot: moving to editors.coteditor.

9 years agotools.gc-decode.tests: if the #1227 test failure happens again, you now get informati...
Björn Lindqvist [Mon, 1 Dec 2014 15:10:01 +0000 (16:10 +0100)]
tools.gc-decode.tests: if the #1227 test failure happens again, you now get informativer output

9 years agoheaps: whoops, this was an error.
John Benediktsson [Mon, 1 Dec 2014 06:30:15 +0000 (22:30 -0800)]
heaps: whoops, this was an error.

9 years agourls.encoding: more cleanup.
John Benediktsson [Mon, 1 Dec 2014 05:33:48 +0000 (21:33 -0800)]
urls.encoding: more cleanup.

9 years agourls.encoding: cleanup.
John Benediktsson [Mon, 1 Dec 2014 05:22:54 +0000 (21:22 -0800)]
urls.encoding: cleanup.

9 years agomore minor cleanup.
John Benediktsson [Mon, 1 Dec 2014 03:26:23 +0000 (19:26 -0800)]
more minor cleanup.

9 years agoeditors.cot: missed this for some reason.
John Benediktsson [Mon, 1 Dec 2014 03:25:21 +0000 (19:25 -0800)]
editors.cot: missed this for some reason.

9 years agoeditors.cot: minor fixes.
John Benediktsson [Mon, 1 Dec 2014 03:23:22 +0000 (19:23 -0800)]
editors.cot: minor fixes.

9 years agoeditors.cot: adding CotEditor support.
John Benediktsson [Mon, 1 Dec 2014 03:20:03 +0000 (19:20 -0800)]
editors.cot: adding CotEditor support.

9 years agorefs: some cleanup.
John Benediktsson [Sun, 30 Nov 2014 18:24:07 +0000 (10:24 -0800)]
refs: some cleanup.

9 years agovariants: simplify M\ variant-class initial-value*.
John Benediktsson [Sun, 30 Nov 2014 17:07:11 +0000 (09:07 -0800)]
variants: simplify M\ variant-class initial-value*.

9 years agousing crlf.
John Benediktsson [Sun, 30 Nov 2014 16:48:28 +0000 (08:48 -0800)]
using crlf.

9 years agoftp: cleanup using.
John Benediktsson [Sun, 30 Nov 2014 16:44:29 +0000 (08:44 -0800)]
ftp: cleanup using.

9 years agoftp.server: use C: for ftp-get and ftp-put.
John Benediktsson [Sun, 30 Nov 2014 16:43:50 +0000 (08:43 -0800)]
ftp.server: use C: for ftp-get and ftp-put.

9 years agocleanup "over push" is "suffix!".
John Benediktsson [Sun, 30 Nov 2014 16:38:59 +0000 (08:38 -0800)]
cleanup "over push" is "suffix!".

9 years agocpu.x86: "dup pop* push" is just "set-last".
John Benediktsson [Sun, 30 Nov 2014 16:27:54 +0000 (08:27 -0800)]
cpu.x86: "dup pop* push" is just "set-last".

9 years agosystem: better key-for-value.
John Benediktsson [Sun, 30 Nov 2014 15:32:34 +0000 (07:32 -0800)]
system: better key-for-value.

9 years agohtml.parser: Strip trailing slashes / in html tags. Add unit test. Fixes #1233.
Doug Coleman [Sun, 30 Nov 2014 15:33:39 +0000 (09:33 -0600)]
html.parser: Strip trailing slashes / in html tags. Add unit test. Fixes #1233.

9 years agoRevert "ui.tools.listener: update docs for Emacs-style text entry."
John Benediktsson [Sun, 30 Nov 2014 15:13:10 +0000 (07:13 -0800)]
Revert "ui.tools.listener: update docs for Emacs-style text entry."

This reverts commit 913e69500f3d0b9b4203882be84cea093f120454.

9 years agomodels: some more cleanup.
John Benediktsson [Sun, 30 Nov 2014 07:00:24 +0000 (23:00 -0800)]
models: some more cleanup.

9 years agomodels: some cleanup.
John Benediktsson [Sun, 30 Nov 2014 06:37:59 +0000 (22:37 -0800)]
models: some cleanup.

9 years agomodels.delay: some cleanup.
John Benediktsson [Sun, 30 Nov 2014 06:12:16 +0000 (22:12 -0800)]
models.delay: some cleanup.

9 years agodefinitions: removing unused "new-word?" word.
John Benediktsson [Sun, 30 Nov 2014 05:46:26 +0000 (21:46 -0800)]
definitions: removing unused "new-word?" word.

9 years agoui.tools.listener: update docs for Emacs-style text entry.
John Benediktsson [Sun, 30 Nov 2014 05:18:52 +0000 (21:18 -0800)]
ui.tools.listener: update docs for Emacs-style text entry.

9 years agomisc/bash: minor updates to cdfactor script.
John Benediktsson [Sun, 30 Nov 2014 04:19:11 +0000 (20:19 -0800)]
misc/bash: minor updates to cdfactor script.

9 years agobasis: cleanup more usings.
John Benediktsson [Sun, 30 Nov 2014 04:10:37 +0000 (20:10 -0800)]
basis: cleanup more usings.

9 years agospecialized-vectors: cleanup using.
John Benediktsson [Sun, 30 Nov 2014 04:07:26 +0000 (20:07 -0800)]
specialized-vectors: cleanup using.

9 years agospecialized-arrays: cleanup using and direct-slice-unsafe.
John Benediktsson [Sun, 30 Nov 2014 04:02:51 +0000 (20:02 -0800)]
specialized-arrays: cleanup using and direct-slice-unsafe.

9 years agoelf: some cleanup and minor performance improvements.
John Benediktsson [Sun, 30 Nov 2014 03:04:04 +0000 (19:04 -0800)]
elf: some cleanup and minor performance improvements.

9 years agoimages.loader.gdiplus: use foo <c-direct-array> instead of <direct-foo-array>.
John Benediktsson [Sun, 30 Nov 2014 02:58:42 +0000 (18:58 -0800)]
images.loader.gdiplus: use foo <c-direct-array> instead of <direct-foo-array>.

9 years agosorting.bubble: loop up to last changed index.
John Benediktsson [Sun, 30 Nov 2014 02:36:46 +0000 (18:36 -0800)]
sorting.bubble: loop up to last changed index.

9 years agosorting.bubble: adding Bubblesort.
John Benediktsson [Sun, 30 Nov 2014 02:18:59 +0000 (18:18 -0800)]
sorting.bubble: adding Bubblesort.

9 years agoextra: "1 tail" is rest.
John Benediktsson [Sun, 30 Nov 2014 01:44:43 +0000 (17:44 -0800)]
extra: "1 tail" is rest.

9 years agomath.binpack: faster by storing only items, not weights.
John Benediktsson [Sun, 30 Nov 2014 01:34:27 +0000 (17:34 -0800)]
math.binpack: faster by storing only items, not weights.

9 years agovm: Annotate more places where we can gc.
Doug Coleman [Tue, 25 Nov 2014 09:12:45 +0000 (01:12 -0800)]
vm: Annotate more places where we can gc.
Code formatting fix.

9 years agoremoving small and unnecessary files.
John Benediktsson [Sun, 30 Nov 2014 01:24:42 +0000 (17:24 -0800)]
removing small and unnecessary files.

9 years agounmaintained: this should be tags.txt not tags.factor.
John Benediktsson [Sun, 30 Nov 2014 01:23:35 +0000 (17:23 -0800)]
unmaintained: this should be tags.txt not tags.factor.

9 years agomatch: rename ?1-tail to ?rest.
John Benediktsson [Sun, 30 Nov 2014 01:10:54 +0000 (17:10 -0800)]
match: rename ?1-tail to ?rest.

9 years agoclasses.tuple: use slots>tuple when possible.
John Benediktsson [Sun, 30 Nov 2014 00:54:50 +0000 (16:54 -0800)]
classes.tuple: use slots>tuple when possible.

9 years agocore: use if* in a couple places.
John Benediktsson [Sun, 30 Nov 2014 00:03:50 +0000 (16:03 -0800)]
core: use if* in a couple places.

9 years agomath.binpack: cleanup using.
John Benediktsson [Sat, 29 Nov 2014 23:57:30 +0000 (15:57 -0800)]
math.binpack: cleanup using.

9 years agomath.binpack: make binpacking much faster by caching total weight per bin.
John Benediktsson [Sat, 29 Nov 2014 23:54:14 +0000 (15:54 -0800)]
math.binpack: make binpacking much faster by caching total weight per bin.

9 years agologging: make log-root docs more explicit.
John Benediktsson [Sat, 29 Nov 2014 23:02:20 +0000 (15:02 -0800)]
logging: make log-root docs more explicit.

9 years agologging.server: use locals to make write-message more clear.
John Benediktsson [Sat, 29 Nov 2014 22:55:33 +0000 (14:55 -0800)]
logging.server: use locals to make write-message more clear.

9 years agomath.parser: simplify store-exponent.
John Benediktsson [Sat, 29 Nov 2014 22:31:23 +0000 (14:31 -0800)]
math.parser: simplify store-exponent.

9 years agomath.parser: whoops, this part shouldn't have been committed.
John Benediktsson [Sat, 29 Nov 2014 20:54:48 +0000 (12:54 -0800)]
math.parser: whoops, this part shouldn't have been committed.

9 years agomath.parser: remove float>string, speedup format-float.
John Benediktsson [Sat, 29 Nov 2014 20:47:57 +0000 (12:47 -0800)]
math.parser: remove float>string, speedup format-float.

9 years agoextra: using "swap index".
John Benediktsson [Sat, 29 Nov 2014 19:25:42 +0000 (11:25 -0800)]
extra: using "swap index".

9 years agocalendar.format: use format-float more.
John Benediktsson [Sat, 29 Nov 2014 05:27:30 +0000 (21:27 -0800)]
calendar.format: use format-float more.

9 years agojson: rename json-allow-nans? to json-allow-fp-special?.
John Benediktsson [Sat, 29 Nov 2014 00:36:07 +0000 (16:36 -0800)]
json: rename json-allow-nans? to json-allow-fp-special?.

9 years agoz-algorithm: slightly faster by allocating and using an array.
John Benediktsson [Fri, 28 Nov 2014 18:19:10 +0000 (10:19 -0800)]
z-algorithm: slightly faster by allocating and using an array.

9 years agojson: rename to json-coerce.
John Benediktsson [Fri, 28 Nov 2014 16:51:16 +0000 (08:51 -0800)]
json: rename to json-coerce.

9 years agojson: cleanup and add more parameters for writing.
John Benediktsson [Fri, 28 Nov 2014 16:11:21 +0000 (08:11 -0800)]
json: cleanup and add more parameters for writing.

9 years agojson: better support for escaped strings.
John Benediktsson [Thu, 27 Nov 2014 22:52:18 +0000 (14:52 -0800)]
json: better support for escaped strings.

9 years agomisc: update number and string literals in Factor.tmbundle syntax.
John Benediktsson [Tue, 25 Nov 2014 20:44:53 +0000 (12:44 -0800)]
misc: update number and string literals in Factor.tmbundle syntax.

9 years agocompiler.tests.alien: Test demonstrates padding bytes breaking struct= on linux32...
Doug Coleman [Mon, 24 Nov 2014 16:20:28 +0000 (08:20 -0800)]
compiler.tests.alien: Test demonstrates padding bytes breaking struct= on linux32. Disable for now.

9 years agoRevert "tools.test: Print tests homoiconically. There is too much spacing still"
Doug Coleman [Mon, 24 Nov 2014 07:59:57 +0000 (23:59 -0800)]
Revert "tools.test: Print tests homoiconically. There is too much spacing still"

This reverts commit 34a197248c07a09c433ed11ebd92418e568016d3.

9 years agoRevert "tools.test: Fix using list."
Doug Coleman [Mon, 24 Nov 2014 07:59:35 +0000 (23:59 -0800)]
Revert "tools.test: Fix using list."

This reverts commit 4306180c11a62352df40e9b812183992f471a510.

9 years agocompiler.cfg: cfg>insns has to go in linearization because of bootstrap circularity...
Doug Coleman [Mon, 24 Nov 2014 06:53:27 +0000 (22:53 -0800)]
compiler.cfg: cfg>insns has to go in linearization because of bootstrap circularity. Fix usings.

9 years agoRevert "parser: Print "Loading" message as a comment for homoiconicity. See #1221."
Doug Coleman [Mon, 24 Nov 2014 06:39:38 +0000 (22:39 -0800)]
Revert "parser: Print "Loading" message as a comment for homoiconicity. See #1221."

This reverts commit 10cf6e3dd2b095e6d9f35a0d0e5f98bfe3f78f02.

9 years agotools.gc-decode: tests now get invariants from the compiler instead of hardcoding... 1222/head
Björn Lindqvist [Mon, 24 Nov 2014 05:27:19 +0000 (06:27 +0100)]
tools.gc-decode: tests now get invariants from the compiler instead of hardcoding them

9 years agocompiler.cfg.*: getting an instruction sequence from a cfg is used in a few tests...
Björn Lindqvist [Mon, 24 Nov 2014 05:25:34 +0000 (06:25 +0100)]
compiler.cfg.*: getting an instruction sequence from a cfg is used in a few tests so let's make a word for it

9 years agocompiler.codegen.gc-maps.tests: fix tests for win 64
Björn Lindqvist [Mon, 24 Nov 2014 03:20:34 +0000 (04:20 +0100)]
compiler.codegen.gc-maps.tests: fix tests for win 64

9 years agocpu.architecture.tests: fix tests for win 64
Björn Lindqvist [Mon, 24 Nov 2014 03:04:26 +0000 (04:04 +0100)]
cpu.architecture.tests: fix tests for win 64

9 years agocompiler.cfg.build-stack-frame.tests: improved fix for the test case
Björn Lindqvist [Mon, 24 Nov 2014 02:42:27 +0000 (03:42 +0100)]
compiler.cfg.build-stack-frame.tests: improved fix for the test case

9 years agotools.test: Fix using list.
Doug Coleman [Mon, 24 Nov 2014 02:01:19 +0000 (18:01 -0800)]
tools.test: Fix using list.

9 years agoparser: Print "Loading" message as a comment for homoiconicity. See #1221.
Doug Coleman [Mon, 24 Nov 2014 00:56:49 +0000 (16:56 -0800)]
parser: Print "Loading" message as a comment for homoiconicity. See #1221.

9 years agotools.test: Print tests homoiconically. There is too much spacing still
Doug Coleman [Mon, 24 Nov 2014 00:51:40 +0000 (16:51 -0800)]
tools.test: Print tests homoiconically. There is too much spacing still
but it's better than before imo. See #1221.

9 years agojson.writer: Didn't end up using present vocab after all.
Doug Coleman [Sun, 23 Nov 2014 16:50:02 +0000 (08:50 -0800)]
json.writer: Didn't end up using present vocab after all.

9 years agotools.gc-decode: fix (again) for 64-bit.
John Benediktsson [Sun, 23 Nov 2014 15:31:37 +0000 (07:31 -0800)]
tools.gc-decode: fix (again) for 64-bit.

9 years agotools.gc-decode: fix for 64-bit.
John Benediktsson [Sun, 23 Nov 2014 15:13:30 +0000 (07:13 -0800)]
tools.gc-decode: fix for 64-bit.

9 years agotools.gc-decode: fix for 32-bit.
John Benediktsson [Sun, 23 Nov 2014 15:12:10 +0000 (07:12 -0800)]
tools.gc-decode: fix for 32-bit.

9 years agojson.writer: Allow more objects to be keys in >json. Not completely sure about -Infin...
Doug Coleman [Sun, 23 Nov 2014 12:02:52 +0000 (04:02 -0800)]
json.writer: Allow more objects to be keys in >json. Not completely sure about -Infinity being a key when ``jsvar-encode?`` is true. See #1189, this might solve it but we need more stress testing it.

9 years agoreddit: Add more slots that cause it to fail. There has to be a better way!
Doug Coleman [Sun, 23 Nov 2014 10:40:26 +0000 (02:40 -0800)]
reddit: Add more slots that cause it to fail. There has to be a better way!

9 years agoio.files: Move with-cd to the tests file so that nobody uses it. My bad. Basically...
Doug Coleman [Sun, 23 Nov 2014 09:37:25 +0000 (01:37 -0800)]
io.files: Move with-cd to the tests file so that nobody uses it. My bad. Basically nobody should ever use cd or cwd for anything. Fixes #1214.

9 years agocompiler.cfg: Add vocabulary for words defined just to test compiler.cfg.
Doug Coleman [Sun, 23 Nov 2014 09:06:46 +0000 (01:06 -0800)]
compiler.cfg: Add vocabulary for words defined just to test compiler.cfg.

9 years agohttp.server: Make sure http.forms is loaded for http.server docs. Fixes #1216.
Doug Coleman [Sun, 23 Nov 2014 09:05:21 +0000 (01:05 -0800)]
http.server: Make sure http.forms is loaded for http.server docs. Fixes #1216.

9 years agoio.files: add with-cd. Related to #1214.
Doug Coleman [Sun, 23 Nov 2014 06:20:58 +0000 (22:20 -0800)]
io.files: add with-cd. Related to #1214.

9 years agoio: aesthetics matter.
John Benediktsson [Sat, 22 Nov 2014 15:22:17 +0000 (07:22 -0800)]
io: aesthetics matter.

9 years agocompiler.cfg.scheduling: Fix V{ } -> { } unit test.
Doug Coleman [Sun, 23 Nov 2014 01:43:27 +0000 (17:43 -0800)]
compiler.cfg.scheduling: Fix V{ } -> { } unit test.

9 years agocompiler.cfg.dependence: docs
Björn Lindqvist [Tue, 11 Nov 2014 11:50:51 +0000 (12:50 +0100)]
compiler.cfg.dependence: docs

9 years agocompiler.cfg.dependence/scheduling: fix(?) for #1187, just avoid shuffling ##peek...
Björn Lindqvist [Tue, 11 Nov 2014 10:48:44 +0000 (11:48 +0100)]
compiler.cfg.dependence/scheduling: fix(?) for #1187, just avoid shuffling ##peek...

9 years agocompiler.cfg.dependence: if node subclasses identity-tuple it doesn't need the number...
Björn Lindqvist [Tue, 11 Nov 2014 07:21:45 +0000 (08:21 +0100)]
compiler.cfg.dependence: if node subclasses identity-tuple it doesn't need the number slot

9 years agocompiler.cfg.dependence: node class doesn't need parent attribute, that's nice
Björn Lindqvist [Tue, 11 Nov 2014 04:48:26 +0000 (05:48 +0100)]
compiler.cfg.dependence: node class doesn't need parent attribute, that's nice

9 years agocompiler.cfg.dependence/scheduling.tests: new tests, some that doesnt work yet
Björn Lindqvist [Tue, 11 Nov 2014 03:44:48 +0000 (04:44 +0100)]
compiler.cfg.dependence/scheduling.tests: new tests, some that doesnt work yet

9 years agocompiler.cfg.dependence/scheduling: refactoring to get rid of node's follows>>
Björn Lindqvist [Tue, 11 Nov 2014 01:22:50 +0000 (02:22 +0100)]
compiler.cfg.dependence/scheduling: refactoring to get rid of node's follows>>

9 years agocompiler.cfg.scheduling: refactoring to get rid of the roots dynamic variable
Björn Lindqvist [Tue, 11 Nov 2014 00:34:29 +0000 (01:34 +0100)]
compiler.cfg.scheduling: refactoring to get rid of the roots dynamic variable

9 years agocompiler.cfg.dependence: keys-for ?first is not deterministic, use tiebreak-parents...
Björn Lindqvist [Mon, 10 Nov 2014 22:20:46 +0000 (23:20 +0100)]
compiler.cfg.dependence: keys-for ?first is not deterministic, use tiebreak-parents to get predictable ordering