]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agocompiler.*: more compiler tests
Björn Lindqvist [Fri, 22 Apr 2016 10:44:25 +0000 (12:44 +0200)]
compiler.*: more compiler tests

8 years agocompiler.cfg.ssa.interference.live-ranges: Docs
Björn Lindqvist [Fri, 22 Apr 2016 10:33:39 +0000 (12:33 +0200)]
compiler.cfg.ssa.interference.live-ranges: Docs

8 years agocompiler.cfg.linear-scan.allocation.splitting: Docs
Björn Lindqvist [Fri, 22 Apr 2016 10:16:46 +0000 (12:16 +0200)]
compiler.cfg.linear-scan.allocation.splitting: Docs

8 years agocompiler.cfg.linear-scan.allocation: removes no-free-registers?
Björn Lindqvist [Fri, 22 Apr 2016 10:04:22 +0000 (12:04 +0200)]
compiler.cfg.linear-scan.allocation: removes no-free-registers?

8 years agoVM: the factor_vm::code_blocks() method isn't needed
Björn Lindqvist [Tue, 12 Apr 2016 00:48:24 +0000 (02:48 +0200)]
VM: the factor_vm::code_blocks() method isn't needed

8 years agoVM: merge of free_list_allocator.hpp into free_list.hpp
Björn Lindqvist [Mon, 11 Apr 2016 23:47:40 +0000 (01:47 +0200)]
VM: merge of free_list_allocator.hpp into free_list.hpp

It's better if all the free list stuff is in a single header.

8 years agoVM: nr of code blocks scanned always = points_to_<gen>.size()
Björn Lindqvist [Sun, 10 Apr 2016 23:31:43 +0000 (01:31 +0200)]
VM: nr of code blocks scanned always = points_to_<gen>.size()

8 years agoVM: parent and code attrs in collector struct is not used
Björn Lindqvist [Sun, 10 Apr 2016 23:25:23 +0000 (01:25 +0200)]
VM: parent and code attrs in collector struct is not used

8 years agouse MAIN-WINDOW: in a few places.
John Benediktsson [Fri, 22 Apr 2016 00:00:06 +0000 (17:00 -0700)]
use MAIN-WINDOW: in a few places.

8 years agodecimals: cleanup.
John Benediktsson [Thu, 21 Apr 2016 23:59:56 +0000 (16:59 -0700)]
decimals: cleanup.

8 years agoui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main...
John Benediktsson [Thu, 21 Apr 2016 17:13:57 +0000 (10:13 -0700)]
ui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main word.

8 years agoctags.etags: cleanup.
John Benediktsson [Tue, 19 Apr 2016 15:40:42 +0000 (08:40 -0700)]
ctags.etags: cleanup.

8 years agomoney: more of this should be public.
John Benediktsson [Tue, 19 Apr 2016 14:29:42 +0000 (07:29 -0700)]
money: more of this should be public.

8 years agoio.encodings.iso2022: stop using sets:unique.
John Benediktsson [Tue, 19 Apr 2016 04:10:17 +0000 (21:10 -0700)]
io.encodings.iso2022: stop using sets:unique.

8 years ago24-game: cleanup.
John Benediktsson [Tue, 19 Apr 2016 03:48:20 +0000 (20:48 -0700)]
24-game: cleanup.

8 years agoctags: whoops, forgot this.
John Benediktsson [Tue, 19 Apr 2016 03:25:21 +0000 (20:25 -0700)]
ctags: whoops, forgot this.

8 years agoctags: cleanup docs and tests.
John Benediktsson [Tue, 19 Apr 2016 03:24:42 +0000 (20:24 -0700)]
ctags: cleanup docs and tests.

8 years agomoney: cleanup.
John Benediktsson [Tue, 19 Apr 2016 03:16:33 +0000 (20:16 -0700)]
money: cleanup.

8 years agoctags: simplify.
John Benediktsson [Tue, 19 Apr 2016 00:21:30 +0000 (17:21 -0700)]
ctags: simplify.

8 years agolists: more cleanup.
John Benediktsson [Mon, 18 Apr 2016 16:46:29 +0000 (09:46 -0700)]
lists: more cleanup.

8 years agoui.debugger: don't rethrow at all. it just makes an infinite loop.
Doug Coleman [Mon, 18 Apr 2016 16:27:32 +0000 (09:27 -0700)]
ui.debugger: don't rethrow at all. it just makes an infinite loop.

8 years agolists: first pass at some cleanup.
John Benediktsson [Sun, 17 Apr 2016 20:08:32 +0000 (13:08 -0700)]
lists: first pass at some cleanup.

Now lists.lazy:lmap-lazy and lists.lazy:lappend-lazy names differentiate
from their non-lazy counterparts in lists.

8 years agoAtom package: update paths
Friedrich von Never [Sun, 17 Apr 2016 15:21:28 +0000 (22:21 +0700)]
Atom package: update paths

8 years agourls: remove unnecessary >secure-addr indirection.
John Benediktsson [Sun, 17 Apr 2016 00:11:01 +0000 (17:11 -0700)]
urls: remove unnecessary >secure-addr indirection.

8 years agosoundex: make implementation private.
John Benediktsson [Sat, 16 Apr 2016 23:38:42 +0000 (16:38 -0700)]
soundex: make implementation private.

8 years agosoundex: fix soundex to handle test cases from wikipedia.
John Benediktsson [Sat, 16 Apr 2016 23:37:44 +0000 (16:37 -0700)]
soundex: fix soundex to handle test cases from wikipedia.

8 years agoreplace some 1 head* with but-last.
John Benediktsson [Sat, 16 Apr 2016 22:54:23 +0000 (15:54 -0700)]
replace some 1 head* with but-last.

8 years agosuffix-arrays.words: removing, not that useful.
John Benediktsson [Sat, 16 Apr 2016 16:17:05 +0000 (09:17 -0700)]
suffix-arrays.words: removing, not that useful.

8 years agosuffix-arrays: remove docs of removed private word.
John Benediktsson [Fri, 15 Apr 2016 23:02:11 +0000 (16:02 -0700)]
suffix-arrays: remove docs of removed private word.

8 years agoftp.server: Don't fetch to the same directory we serve from or else it will overwrite...
Doug Coleman [Fri, 15 Apr 2016 22:52:06 +0000 (15:52 -0700)]
ftp.server: Don't fetch to the same directory we serve from or else it will overwrite the file. Race condition, only shows up on Windows for some reason.

8 years agosuffix-arrays: simplify a bit.
John Benediktsson [Fri, 15 Apr 2016 20:20:11 +0000 (13:20 -0700)]
suffix-arrays: simplify a bit.

8 years agodelegate: use string word-prop keys.
John Benediktsson [Fri, 15 Apr 2016 03:19:54 +0000 (20:19 -0700)]
delegate: use string word-prop keys.

8 years agomemory: no need to use memory.private.
John Benediktsson [Fri, 15 Apr 2016 03:06:27 +0000 (20:06 -0700)]
memory: no need to use memory.private.

8 years agosource-files: simplify, remove unnecessary error.
John Benediktsson [Fri, 15 Apr 2016 00:21:05 +0000 (17:21 -0700)]
source-files: simplify, remove unnecessary error.

8 years agoslots: silly formatting change.
John Benediktsson [Thu, 14 Apr 2016 23:59:33 +0000 (16:59 -0700)]
slots: silly formatting change.

8 years agobootstrap.image.upload: use vm-git-id.
John Benediktsson [Thu, 14 Apr 2016 23:59:23 +0000 (16:59 -0700)]
bootstrap.image.upload: use vm-git-id.

8 years agosystem: can use value-at, don't need to split.
John Benediktsson [Thu, 14 Apr 2016 23:59:08 +0000 (16:59 -0700)]
system: can use value-at, don't need to split.

8 years agopoker: simplify a bit.
John Benediktsson [Thu, 14 Apr 2016 21:07:37 +0000 (14:07 -0700)]
poker: simplify a bit.

8 years agoparser: make scan-class assert result is a classoid like it used to.
John Benediktsson [Wed, 13 Apr 2016 23:41:48 +0000 (16:41 -0700)]
parser: make scan-class assert result is a classoid like it used to.

8 years agoclasses: unset defining-class in define-class.
John Benediktsson [Wed, 13 Apr 2016 23:41:42 +0000 (16:41 -0700)]
classes: unset defining-class in define-class.

8 years agoclasses.algebra: removing valid-classoid? (enforced in constructors).
John Benediktsson [Wed, 13 Apr 2016 21:29:24 +0000 (14:29 -0700)]
classes.algebra: removing valid-classoid? (enforced in constructors).

8 years agoclasses.maybe: this restriction isn't necessary anymore.
John Benediktsson [Wed, 13 Apr 2016 21:20:00 +0000 (14:20 -0700)]
classes.maybe: this restriction isn't necessary anymore.

8 years agoeffects: swap got expected.
John Benediktsson [Wed, 13 Apr 2016 20:16:59 +0000 (13:16 -0700)]
effects: swap got expected.

8 years agoRevert "ftp.server: make sure the test file returns a normalized path."
John Benediktsson [Wed, 13 Apr 2016 20:06:05 +0000 (13:06 -0700)]
Revert "ftp.server: make sure the test file returns a normalized path."

This reverts commit fda3024fe96129b81b4fab270ae478d8e705e0b3.

8 years agoftp.server: make sure the test file returns a normalized path.
John Benediktsson [Wed, 13 Apr 2016 16:29:55 +0000 (09:29 -0700)]
ftp.server: make sure the test file returns a normalized path.

8 years agoeffects: Fix check-stack-effect. Better to report the expected before the got.
Doug Coleman [Wed, 13 Apr 2016 00:06:12 +0000 (17:06 -0700)]
effects: Fix check-stack-effect. Better to report the expected before the got.

8 years agoregexp.disambiguate: Make it cleaner imo, but still can't make heads of tails of...
Doug Coleman [Tue, 12 Apr 2016 21:19:18 +0000 (14:19 -0700)]
regexp.disambiguate: Make it cleaner imo, but still can't make heads of tails of the algorithm being used.

8 years agoassocs: Add assoc-union-as. Use assoc-reject-like.
Doug Coleman [Tue, 12 Apr 2016 21:18:54 +0000 (14:18 -0700)]
assocs: Add assoc-union-as. Use assoc-reject-like.

8 years agobootstrap.primitives: assoc-each to register builtins
Björn Lindqvist [Sat, 9 Apr 2016 22:53:32 +0000 (00:53 +0200)]
bootstrap.primitives: assoc-each to register builtins

8 years agocompiler.cfg.linear-scan.assignment: better vregs>regs
Björn Lindqvist [Thu, 7 Apr 2016 09:28:17 +0000 (11:28 +0200)]
compiler.cfg.linear-scan.assignment: better vregs>regs

8 years agocompiler.cfg.linear-scan.assignment: refactoring of assign-registers-in-block + tests
Björn Lindqvist [Thu, 7 Apr 2016 09:20:20 +0000 (11:20 +0200)]
compiler.cfg.linear-scan.assignment: refactoring of assign-registers-in-block + tests

8 years agounicode: Let upper? lower? etc work with slices by using sequence= instead of =.
Doug Coleman [Sun, 10 Apr 2016 18:39:18 +0000 (11:39 -0700)]
unicode: Let upper? lower? etc work with slices by using sequence= instead of =.

8 years agosequences.extras: add a nullable span-slices word that allows f.
Doug Coleman [Sun, 10 Apr 2016 18:38:42 +0000 (11:38 -0700)]
sequences.extras: add a nullable span-slices word that allows f.

8 years agoio.files: fix cd test on windows (needs normalize-path instead of absolute-path).
John Benediktsson [Sat, 9 Apr 2016 17:25:10 +0000 (10:25 -0700)]
io.files: fix cd test on windows (needs normalize-path instead of absolute-path).

8 years agolinked-sets: adding summary.txt.
John Benediktsson [Sat, 9 Apr 2016 15:54:31 +0000 (08:54 -0700)]
linked-sets: adding summary.txt.

8 years agofactor: remove some extra whitespace.
Doug Coleman [Thu, 7 Apr 2016 21:30:36 +0000 (14:30 -0700)]
factor: remove some extra whitespace.

8 years agosequences.extras: Allow from to be f in ?<slice>
Doug Coleman [Thu, 7 Apr 2016 20:22:18 +0000 (13:22 -0700)]
sequences.extras: Allow from to be f in ?<slice>

8 years agoio.files: Make sure ascii can't write higher than char 127 to file. Allow writes...
Doug Coleman [Thu, 7 Apr 2016 19:51:30 +0000 (12:51 -0700)]
io.files: Make sure ascii can't write higher than char 127 to file. Allow writes to ascii from { } and B{ } if they don't violate the encoding.

8 years agoio.files: Ensure that slices can be written to utf8/utf16/ascii streams.
Doug Coleman [Thu, 7 Apr 2016 19:42:52 +0000 (12:42 -0700)]
io.files: Ensure that slices can be written to utf8/utf16/ascii streams.

8 years agoio.encodings: a bit faster and make ascii support slices.
John Benediktsson [Thu, 7 Apr 2016 19:32:05 +0000 (12:32 -0700)]
io.encodings: a bit faster and make ascii support slices.

8 years agoio.encodings: allow encode-string to be called with non-strings.
John Benediktsson [Thu, 7 Apr 2016 19:17:00 +0000 (12:17 -0700)]
io.encodings: allow encode-string to be called with non-strings.

8 years agoalien.prettyprint: forgot to commit the tests fixes.
John Benediktsson [Thu, 7 Apr 2016 18:21:39 +0000 (11:21 -0700)]
alien.prettyprint: forgot to commit the tests fixes.

8 years agoalien.prettyprint: don't print ; or declarations for alien words.
John Benediktsson [Thu, 7 Apr 2016 14:38:09 +0000 (07:38 -0700)]
alien.prettyprint: don't print ; or declarations for alien words.

8 years agohelp: for $default, make sure effect-in is a string.
John Benediktsson [Thu, 7 Apr 2016 14:25:53 +0000 (07:25 -0700)]
help: for $default, make sure effect-in is a string.

8 years agoRevert "alien.c-types: Implement present on pointers for help-lint."
John Benediktsson [Thu, 7 Apr 2016 14:22:52 +0000 (07:22 -0700)]
Revert "alien.c-types: Implement present on pointers for help-lint."

This reverts commit f865273e4d4fe584feb5bd73a4d4690f7e019cd5.

8 years agocuda: adding prettyprint for cuda functions.
John Benediktsson [Thu, 7 Apr 2016 14:21:41 +0000 (07:21 -0700)]
cuda: adding prettyprint for cuda functions.

8 years agocontinuations: Moving usages of rethrow below where it's defined. I don't know if...
Doug Coleman [Thu, 7 Apr 2016 00:55:47 +0000 (17:55 -0700)]
continuations: Moving usages of rethrow below where it's defined. I don't know if these work, but I'm trying to make the hooks throw like the stack effect requests.

8 years agoui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop...
Doug Coleman [Thu, 7 Apr 2016 00:30:22 +0000 (17:30 -0700)]
ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere.

8 years agoshell: fix rename of glob-directory to glob.
John Benediktsson [Thu, 7 Apr 2016 00:01:40 +0000 (17:01 -0700)]
shell: fix rename of glob-directory to glob.

8 years agofactor: fix whitespace at end of files.
Doug Coleman [Wed, 6 Apr 2016 23:53:25 +0000 (16:53 -0700)]
factor: fix whitespace at end of files.

8 years agoglobs: rename glob-directory to glob.
John Benediktsson [Wed, 6 Apr 2016 21:04:21 +0000 (14:04 -0700)]
globs: rename glob-directory to glob.

8 years agoglobs: making glob-matches? support wildcards.
John Benediktsson [Wed, 6 Apr 2016 21:02:48 +0000 (14:02 -0700)]
globs: making glob-matches? support wildcards.

8 years agocuda: use arg names in stack effect.
John Benediktsson [Wed, 6 Apr 2016 20:11:32 +0000 (13:11 -0700)]
cuda: use arg names in stack effect.

8 years agoglobs: fix glob pattern on directories.
John Benediktsson [Wed, 6 Apr 2016 20:10:24 +0000 (13:10 -0700)]
globs: fix glob pattern on directories.

8 years agoio.streams.byte-array.fast: don't need >c-ptr.
John Benediktsson [Wed, 6 Apr 2016 19:39:50 +0000 (12:39 -0700)]
io.streams.byte-array.fast: don't need >c-ptr.

8 years agoalien.c-types: Implement present on pointers for help-lint.
Doug Coleman [Wed, 6 Apr 2016 05:17:36 +0000 (22:17 -0700)]
alien.c-types: Implement present on pointers for help-lint.

8 years agosplitting: string-lines is optimized for strings. revert my previous slowdown of...
Doug Coleman [Wed, 6 Apr 2016 04:16:27 +0000 (21:16 -0700)]
splitting: string-lines is optimized for strings. revert my previous slowdown of 50% or so. add a note so this won't happen again. oops.

8 years agohelp.lint.checks: ignore words without defined word-help.
John Benediktsson [Wed, 6 Apr 2016 02:03:08 +0000 (19:03 -0700)]
help.lint.checks: ignore words without defined word-help.

This allows us to skip words that use the $default help.

8 years agosplitting-docs: Fix stack effect of string-lines.
Doug Coleman [Tue, 5 Apr 2016 21:50:50 +0000 (14:50 -0700)]
splitting-docs: Fix stack effect of string-lines.

8 years agoio.directories.search: Fix unit test using list.
Doug Coleman [Tue, 5 Apr 2016 21:49:27 +0000 (14:49 -0700)]
io.directories.search: Fix unit test using list.

8 years agocore: clean up split-lines with subseq-as. clean up subseq/subseq-as/subseq-unsafe...
Doug Coleman [Tue, 5 Apr 2016 19:21:52 +0000 (12:21 -0700)]
core: clean up split-lines with subseq-as. clean up subseq/subseq-as/subseq-unsafe/subseq-unsafe-as.

8 years agostrings.parser: allow "\u{snowman}" or "\u{2603}".
John Benediktsson [Tue, 5 Apr 2016 17:19:43 +0000 (10:19 -0700)]
strings.parser: allow "\u{snowman}" or "\u{2603}".

8 years agosets: make null? use cardinality.
John Benediktsson [Tue, 5 Apr 2016 04:06:21 +0000 (21:06 -0700)]
sets: make null? use cardinality.

8 years agohelp: small fix because I forgot to test predicates still worked.
John Benediktsson [Mon, 4 Apr 2016 22:40:26 +0000 (15:40 -0700)]
help: small fix because I forgot to test predicates still worked.

8 years agohelp: adding a default word help if not defined by HELP:.
John Benediktsson [Mon, 4 Apr 2016 22:31:53 +0000 (15:31 -0700)]
help: adding a default word help if not defined by HELP:.

8 years agostrings.parser: adding error tests.
John Benediktsson [Mon, 4 Apr 2016 22:13:46 +0000 (15:13 -0700)]
strings.parser: adding error tests.

8 years agostrings.parser: fix docs for parse-string.
John Benediktsson [Mon, 4 Apr 2016 22:01:43 +0000 (15:01 -0700)]
strings.parser: fix docs for parse-string.

8 years agostrings.parser: remove parse-short-string, everyone should parse-string.
John Benediktsson [Mon, 4 Apr 2016 21:54:06 +0000 (14:54 -0700)]
strings.parser: remove parse-short-string, everyone should parse-string.

8 years agostrings.parser: better string error messages.
John Benediktsson [Mon, 4 Apr 2016 21:48:05 +0000 (14:48 -0700)]
strings.parser: better string error messages.

8 years agoui.backend.gtk: simplify calls to gtk_init.
John Benediktsson [Mon, 4 Apr 2016 21:26:19 +0000 (14:26 -0700)]
ui.backend.gtk: simplify calls to gtk_init.

8 years agoimages.http: make it easier to image. stuff.
John Benediktsson [Mon, 4 Apr 2016 19:55:18 +0000 (12:55 -0700)]
images.http: make it easier to image. stuff.

8 years agocompiler.tests.stack-trace: use with-test-file.
John Benediktsson [Mon, 4 Apr 2016 19:55:02 +0000 (12:55 -0700)]
compiler.tests.stack-trace: use with-test-file.

8 years agoVM: refactoring which removes two not useful short methods
Björn Lindqvist [Mon, 4 Apr 2016 21:30:16 +0000 (23:30 +0200)]
VM: refactoring which removes two not useful short methods

8 years agoui.gadgets.corners: move to unmaintained. trim using lists.
Doug Coleman [Mon, 4 Apr 2016 21:11:54 +0000 (14:11 -0700)]
ui.gadgets.corners: move to unmaintained. trim using lists.

8 years agosequences.extras: Add a word to ensure that the underlying for slices is the same...
Doug Coleman [Mon, 4 Apr 2016 18:45:48 +0000 (11:45 -0700)]
sequences.extras: Add a word to ensure that the underlying for slices is the same. Add a more forgiving version of merge-slices called span-slices.

8 years agoassocs.extras: Add a word set-once-at that throws if the key is already set.
Doug Coleman [Mon, 4 Apr 2016 18:45:21 +0000 (11:45 -0700)]
assocs.extras: Add a word set-once-at that throws if the key is already set.

8 years agosequences.extras: make rotate wrap.
John Benediktsson [Mon, 4 Apr 2016 18:17:24 +0000 (11:17 -0700)]
sequences.extras: make rotate wrap.

8 years agosequences.extras: make rotate! support negative indices.
John Benediktsson [Mon, 4 Apr 2016 18:13:11 +0000 (11:13 -0700)]
sequences.extras: make rotate! support negative indices.

8 years agosequences.extras: make rotate support negative n.
John Benediktsson [Mon, 4 Apr 2016 18:05:28 +0000 (11:05 -0700)]
sequences.extras: make rotate support negative n.

8 years agosequences.extras: rename back to rotate!.
John Benediktsson [Mon, 4 Apr 2016 17:59:32 +0000 (10:59 -0700)]
sequences.extras: rename back to rotate!.