]> gitweb.factorcode.org Git - factor.git/log
factor.git
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!.

8 years agocompiler.cfg.linear-scan.allocation.spilling: fix $maybe docs.
John Benediktsson [Mon, 4 Apr 2016 17:40:02 +0000 (10:40 -0700)]
compiler.cfg.linear-scan.allocation.spilling: fix $maybe docs.

8 years agouse with-temp-file and with-temp-directory in some tests.
John Benediktsson [Mon, 4 Apr 2016 17:32:42 +0000 (10:32 -0700)]
use with-temp-file and with-temp-directory in some tests.

8 years agotools.test: adding with-test-file and with-test-directory.
John Benediktsson [Mon, 4 Apr 2016 17:31:47 +0000 (10:31 -0700)]
tools.test: adding with-test-file and with-test-directory.

These provide unique temp files (and directories) that are
automatically cleaned up when the quotation exits. Mostly this
allows us to simplify some of our test files.

8 years agoui.backend.gtk: simplify <window-handle>.
John Benediktsson [Sat, 2 Apr 2016 16:31:30 +0000 (09:31 -0700)]
ui.backend.gtk: simplify <window-handle>.

8 years agocompiler.cfg.linear-scan.allocation.spilling: fix stack effect
Björn Lindqvist [Sun, 3 Apr 2016 13:36:39 +0000 (15:36 +0200)]
compiler.cfg.linear-scan.allocation.spilling: fix stack effect

8 years agocompiler.cfg.linear-scan.live-intervals: hairy- and clober-insn moved to
Björn Lindqvist [Sun, 3 Apr 2016 03:53:18 +0000 (05:53 +0200)]
compiler.cfg.linear-scan.live-intervals: hairy- and clober-insn moved to
this vocab

8 years agocompiler.cfg.linear-scan.assignment: refactoring + tests
Björn Lindqvist [Sun, 3 Apr 2016 00:48:37 +0000 (02:48 +0200)]
compiler.cfg.linear-scan.assignment: refactoring + tests

better expire-old-intervals, activate-new-intervals and assign-gc-roots

8 years agocompiler.cfg.linear-scan.assignment: refactoring
Björn Lindqvist [Sat, 2 Apr 2016 17:17:22 +0000 (19:17 +0200)]
compiler.cfg.linear-scan.assignment: refactoring

Better definitions for expire-old-intervals, activate-new-intervals and
assign-registers-in-insn.

8 years agocompiler.cfg.linear-scan.live-intervals: better way to write insn>sync-point
Björn Lindqvist [Sat, 2 Apr 2016 16:58:18 +0000 (18:58 +0200)]
compiler.cfg.linear-scan.live-intervals: better way to write insn>sync-point

8 years agographviz: Fix test for rename of rotate!
Doug Coleman [Sun, 3 Apr 2016 02:57:33 +0000 (19:57 -0700)]
graphviz: Fix test for rename of rotate!

8 years agocommand-line: gvim example obsolete. update to new example.
Doug Coleman [Sat, 2 Apr 2016 23:51:35 +0000 (16:51 -0700)]
command-line: gvim example obsolete. update to new example.

8 years agosequences.extras: Check if slices overlap or touch. Add a merge-slices word. For...
Doug Coleman [Sat, 2 Apr 2016 22:46:08 +0000 (15:46 -0700)]
sequences.extras: Check if slices overlap or touch. Add a merge-slices word. For efficiency, provide ordered/unordered versions of each word based on whether you know the slices have been swapped or not so they are ordered by from>>.

8 years agosequences.extras: rename rotate to rotate-headwards and rotate-tailwards. add experim...
Doug Coleman [Sat, 2 Apr 2016 22:17:12 +0000 (15:17 -0700)]
sequences.extras: rename rotate to rotate-headwards and rotate-tailwards. add experimental length- word and addo some slice util words.

8 years agoui.debugger: copyrighter.
John Benediktsson [Sat, 2 Apr 2016 16:30:41 +0000 (09:30 -0700)]
ui.debugger: copyrighter.

8 years agotools.deploy.*: refactoring to not use dynamic variables in make-deploy-image
Björn Lindqvist [Sat, 2 Apr 2016 02:56:04 +0000 (04:56 +0200)]
tools.deploy.*: refactoring to not use dynamic variables in make-deploy-image

8 years agocompiler.cfg.linear-scan.assignment: dont think prepare-insn should be called twice...
Björn Lindqvist [Sat, 2 Apr 2016 01:22:41 +0000 (03:22 +0200)]
compiler.cfg.linear-scan.assignment: dont think prepare-insn should be called twice here

8 years agocompiler.cfg.linear.scan.*: makes it so ranges and uses are guaranteed
Björn Lindqvist [Fri, 1 Apr 2016 22:23:49 +0000 (00:23 +0200)]
compiler.cfg.linear.scan.*: makes it so ranges and uses are guaranteed
to be vectors

Simplifies the code and makes it a little faster.

8 years agoui.debugger: If Linux has a ui error on startup you get popups continuously until...
Doug Coleman [Sat, 2 Apr 2016 08:56:48 +0000 (01:56 -0700)]
ui.debugger: If Linux has a ui error on startup you get popups continuously until you quit. The stack effect doesnt' throw, but I guess it's better to not have tons of popups.

8 years agocompiler.cfg.linear-scan.live-intervals: doc lint fixes
Björn Lindqvist [Fri, 1 Apr 2016 21:42:00 +0000 (23:42 +0200)]
compiler.cfg.linear-scan.live-intervals: doc lint fixes

8 years agobasis.compiler.cfg.linear-scan.*: fixing boostrap problems due to the
Björn Lindqvist [Fri, 1 Apr 2016 18:16:13 +0000 (20:16 +0200)]
basis.compiler.cfg.linear-scan.*: fixing boostrap problems due to the
word rename

Sorry for the noise.

8 years agocompiler.cfg.linear-scan.allocation.splitting: fix HINTS: specialization
Björn Lindqvist [Fri, 1 Apr 2016 17:38:45 +0000 (19:38 +0200)]
compiler.cfg.linear-scan.allocation.splitting: fix HINTS: specialization
for split-interval

8 years agocompiler.cfg.linear-scan.live-intervals: simplify uses-vregs*
Björn Lindqvist [Fri, 1 Apr 2016 16:54:13 +0000 (18:54 +0200)]
compiler.cfg.linear-scan.live-intervals: simplify uses-vregs*

8 years agocompiler.cfg.linear-scan.*: removed start and end from live-interval-state
Björn Lindqvist [Fri, 1 Apr 2016 04:08:40 +0000 (06:08 +0200)]
compiler.cfg.linear-scan.*: removed start and end from live-interval-state

They weren't needed because start>> was always equal to ranges min and
end>> ranges max

8 years agoio.files.unix: more test cleanup.
John Benediktsson [Fri, 1 Apr 2016 04:31:44 +0000 (21:31 -0700)]
io.files.unix: more test cleanup.

8 years agoio: fix some temp-file uses in tests.
John Benediktsson [Fri, 1 Apr 2016 04:08:03 +0000 (21:08 -0700)]
io: fix some temp-file uses in tests.

8 years agozoneinfo.tests: a few trivial tests, for diagnosing #1513
Björn Lindqvist [Fri, 1 Apr 2016 00:43:09 +0000 (02:43 +0200)]
zoneinfo.tests: a few trivial tests, for diagnosing #1513

8 years agozoneinfo: removing a few empty words and unused tuples
Björn Lindqvist [Fri, 1 Apr 2016 00:42:16 +0000 (02:42 +0200)]
zoneinfo: removing a few empty words and unused tuples

8 years agoRevert "ui.backend.gtk: try yield in idle callback."
John Benediktsson [Thu, 31 Mar 2016 23:53:52 +0000 (16:53 -0700)]
Revert "ui.backend.gtk: try yield in idle callback."

This reverts commit 2929cc21f5d1b17e71014f0c32f3fb2f33f744b6.

8 years agoRevert "ui.backend.gtk: only use the timer when not io.backend.unix."
John Benediktsson [Thu, 31 Mar 2016 23:53:47 +0000 (16:53 -0700)]
Revert "ui.backend.gtk: only use the timer when not io.backend.unix."

This reverts commit 7d5df2c8a28b37cb5a4f8dfbbb40698ed6507793.

8 years agomason.release.sign: use build-dir not build-dir get. make factor path at run-time...
Doug Coleman [Thu, 31 Mar 2016 16:54:02 +0000 (09:54 -0700)]
mason.release.sign: use build-dir not build-dir get. make factor path at run-time not at parse-time.

8 years agosequences.frozen: adding virtual "frozen" sequences.
John Benediktsson [Thu, 31 Mar 2016 16:14:30 +0000 (09:14 -0700)]
sequences.frozen: adding virtual "frozen" sequences.

8 years agovocabs.parser: sift the search-vocabs.
John Benediktsson [Thu, 31 Mar 2016 15:36:23 +0000 (08:36 -0700)]
vocabs.parser: sift the search-vocabs.

Because non-existing private vocabs are in the search-vocabs list.

8 years agomath: fix docs for binary printing.
Doug Coleman [Thu, 31 Mar 2016 14:46:05 +0000 (07:46 -0700)]
math: fix docs for binary printing.

8 years agocompiler.tests.stack-trace: remove temp-file usage.
Doug Coleman [Thu, 31 Mar 2016 14:37:50 +0000 (07:37 -0700)]
compiler.tests.stack-trace: remove temp-file usage.

8 years agotools.test: maybe "continue running tests" isn't a good idea.
John Benediktsson [Thu, 31 Mar 2016 14:20:31 +0000 (07:20 -0700)]
tools.test: maybe "continue running tests" isn't a good idea.

8 years agotools.test: add a restartable-tests? flag to control restarts.
John Benediktsson [Thu, 31 Mar 2016 13:51:17 +0000 (06:51 -0700)]
tools.test: add a restartable-tests? flag to control restarts.

8 years agohttp.client, proxy defaults to http protocol like for the target
Jon Harper [Thu, 31 Mar 2016 11:15:39 +0000 (13:15 +0200)]
http.client, proxy defaults to http protocol like for the target

8 years agohttp.client, request-url don't try to fix unfixable urls
Jon Harper [Thu, 31 Mar 2016 11:01:07 +0000 (13:01 +0200)]
http.client, request-url don't try to fix unfixable urls

Before, it would prepend http:// to anything and that would create
bad urls like URL" http://http://". It's simpler to fix only what is
fixable

8 years agohttp.client: throw if the proxy not empty and not valid
Jon Harper [Wed, 30 Mar 2016 21:10:55 +0000 (23:10 +0200)]
http.client: throw if the proxy not empty and not valid

8 years agounicode: get the tests to run again.
John Benediktsson [Thu, 31 Mar 2016 13:04:37 +0000 (06:04 -0700)]
unicode: get the tests to run again.

8 years agoio: fix some temp-files in the tests to use unique-files.
John Benediktsson [Thu, 31 Mar 2016 07:23:13 +0000 (00:23 -0700)]
io: fix some temp-files in the tests to use unique-files.

8 years agounicode: make this the API for all unicode things.
John Benediktsson [Thu, 31 Mar 2016 06:29:48 +0000 (23:29 -0700)]
unicode: make this the API for all unicode things.

8 years agotools.test: better restart checking.
John Benediktsson [Thu, 31 Mar 2016 04:55:07 +0000 (21:55 -0700)]
tools.test: better restart checking.

8 years agoregexp: Fix / escape in regexp. Fixes validators test.
Doug Coleman [Thu, 31 Mar 2016 06:28:12 +0000 (23:28 -0700)]
regexp: Fix / escape in regexp. Fixes validators test.

8 years agoprettyprint: Print .b .o .h with prefixes so it's not super confusing. Fixes #1351.
Doug Coleman [Thu, 31 Mar 2016 05:59:29 +0000 (22:59 -0700)]
prettyprint: Print .b .o .h with prefixes so it's not super confusing. Fixes #1351.

8 years agosyntax: Fix docs for removed article syntax.comments.
Doug Coleman [Thu, 31 Mar 2016 05:55:37 +0000 (22:55 -0700)]
syntax: Fix docs for removed article syntax.comments.

8 years agotags.txt: Remove empty files.
Doug Coleman [Thu, 31 Mar 2016 05:14:50 +0000 (22:14 -0700)]
tags.txt: Remove empty files.

8 years agoauthors.txt: Remove empty lines.
Doug Coleman [Thu, 31 Mar 2016 05:13:32 +0000 (22:13 -0700)]
authors.txt: Remove empty lines.

8 years agosummary.txt: Delete empty lines and empty files.
Doug Coleman [Thu, 31 Mar 2016 05:11:51 +0000 (22:11 -0700)]
summary.txt: Delete empty lines and empty files.

8 years agovocabs.metadata: Refactor metadata so that all metadata files harvest empty lines.
Doug Coleman [Thu, 31 Mar 2016 05:11:18 +0000 (22:11 -0700)]
vocabs.metadata: Refactor metadata so that all metadata files harvest empty lines.

8 years agovocabs.metadata: Allow empty lines in platforms.txt parsing. Fixes 1554.
Doug Coleman [Thu, 31 Mar 2016 04:52:13 +0000 (21:52 -0700)]
vocabs.metadata: Allow empty lines in platforms.txt parsing. Fixes 1554.

8 years agoregexp: need this to be (parse-raw).
John Benediktsson [Thu, 31 Mar 2016 04:24:43 +0000 (21:24 -0700)]
regexp: need this to be (parse-raw).

8 years agoio.encodings.utf16n: Fix using.
Doug Coleman [Thu, 31 Mar 2016 04:13:53 +0000 (21:13 -0700)]
io.encodings.utf16n: Fix using.

8 years agolexer: make CHAR: ! work.
John Benediktsson [Thu, 31 Mar 2016 04:21:40 +0000 (21:21 -0700)]
lexer: make CHAR: ! work.

8 years agolexer: support universal comments.
John Benediktsson [Thu, 31 Mar 2016 04:08:41 +0000 (21:08 -0700)]
lexer: support universal comments.