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

8 years agoregexp: one R/ syntax to rule them all, simpler this way.
John Benediktsson [Thu, 31 Mar 2016 04:07:43 +0000 (21:07 -0700)]
regexp: one R/ syntax to rule them all, simpler this way.

8 years agoenglish: move to basis. closes #1587.
Doug Coleman [Thu, 31 Mar 2016 03:58:51 +0000 (20:58 -0700)]
english: move to basis. closes #1587.

8 years agobasis: Cleaning up tests using lists and IN: forms.
Doug Coleman [Thu, 31 Mar 2016 03:04:14 +0000 (20:04 -0700)]
basis: Cleaning up tests using lists and IN: forms.

8 years agocore: Trim using lists from -tests and clean up a few irregularities.
Doug Coleman [Thu, 31 Mar 2016 01:43:14 +0000 (18:43 -0700)]
core: Trim using lists from -tests and clean up a few irregularities.

8 years agobootstrap.image.primitives: attempt 2 at putting all primitives in this vocab
Björn Lindqvist [Thu, 31 Mar 2016 01:31:16 +0000 (03:31 +0200)]
bootstrap.image.primitives: attempt 2 at putting all primitives in this vocab

See ca82929ffb43b9107b989e6726b581b29d4aa13a. This time it should work
because the USING: list is not updated!

8 years agoio.files: make tests not use temp-file
Doug Coleman [Thu, 31 Mar 2016 00:30:12 +0000 (17:30 -0700)]
io.files: make tests not use temp-file

8 years agoio.streams.c: use unique-file
Doug Coleman [Wed, 30 Mar 2016 23:59:40 +0000 (16:59 -0700)]
io.streams.c: use unique-file

8 years agoio.pathnames: don't use temp-file
Doug Coleman [Wed, 30 Mar 2016 23:47:32 +0000 (16:47 -0700)]
io.pathnames: don't use temp-file

8 years agoeffects.parser: allow generic methods not in current vocabs.
John Benediktsson [Thu, 31 Mar 2016 00:21:58 +0000 (17:21 -0700)]
effects.parser: allow generic methods not in current vocabs.

8 years agotools.test: rethrow any restart failures from tests.
John Benediktsson [Wed, 30 Mar 2016 23:38:38 +0000 (16:38 -0700)]
tools.test: rethrow any restart failures from tests.

8 years agoio.mmap: Clean up mmap tests so they can run at the same time.
Doug Coleman [Wed, 30 Mar 2016 23:28:39 +0000 (16:28 -0700)]
io.mmap: Clean up mmap tests so they can run at the same time.

8 years agoparser: require an IN: for any word definitions (even generics).
John Benediktsson [Wed, 30 Mar 2016 23:12:56 +0000 (16:12 -0700)]
parser: require an IN: for any word definitions (even generics).

8 years agomason.release.sign: Default cert-path.
Doug Coleman [Wed, 30 Mar 2016 22:43:30 +0000 (15:43 -0700)]
mason.release.sign: Default cert-path.

8 years agoGNUmakefile: add -pedantic now that there are no warnings.
Doug Coleman [Wed, 30 Mar 2016 22:39:20 +0000 (15:39 -0700)]
GNUmakefile: add -pedantic now that there are no warnings.

8 years agovm: Fix four compile warnings reported by gcc with -pedantic flag.
Doug Coleman [Wed, 30 Mar 2016 22:29:09 +0000 (15:29 -0700)]
vm: Fix four compile warnings reported by gcc with -pedantic flag.

8 years agowebapps.mason.*: new docs and tests
Björn Lindqvist [Wed, 30 Mar 2016 22:18:20 +0000 (00:18 +0200)]
webapps.mason.*: new docs and tests

8 years agotools.deploy.test: new word test-image-path
Björn Lindqvist [Wed, 30 Mar 2016 22:13:14 +0000 (00:13 +0200)]
tools.deploy.test: new word test-image-path

8 years agoVM: fixes to make some if-else statements read better
Björn Lindqvist [Wed, 30 Mar 2016 22:06:35 +0000 (00:06 +0200)]
VM: fixes to make some if-else statements read better

8 years agoopengl: log all mac os errors where framebuffer is undefined.
John Benediktsson [Wed, 30 Mar 2016 22:28:39 +0000 (15:28 -0700)]
opengl: log all mac os errors where framebuffer is undefined.

8 years agoio.encodings: add a test that tell doesn't work anymore.
John Benediktsson [Wed, 30 Mar 2016 22:19:04 +0000 (15:19 -0700)]
io.encodings: add a test that tell doesn't work anymore.

8 years agoRevert "io.encodings: Add a stream-tell method for decoder streams."
John Benediktsson [Wed, 30 Mar 2016 22:16:19 +0000 (15:16 -0700)]
Revert "io.encodings: Add a stream-tell method for decoder streams."

This reverts commit 417b8abbeac013e20b2b360aa215c38604bd18fc.

8 years agoprettyprint: add an unsupported-number-base error.
John Benediktsson [Wed, 30 Mar 2016 21:55:11 +0000 (14:55 -0700)]
prettyprint: add an unsupported-number-base error.

8 years agomath.parser: add tests for change to not throw zero division.
John Benediktsson [Wed, 30 Mar 2016 21:31:37 +0000 (14:31 -0700)]
math.parser: add tests for change to not throw zero division.

8 years agomath.parser: number>string, don't throw zero division on '1/0'
Jon Harper [Mon, 15 Jun 2015 16:13:41 +0000 (18:13 +0200)]
math.parser: number>string, don't throw zero division on '1/0'

8 years agosummary: revert "a foo tuple" back to "foo".
John Benediktsson [Wed, 30 Mar 2016 21:01:34 +0000 (14:01 -0700)]
summary: revert "a foo tuple" back to "foo".

symmetry with "hashtable with 1 entries" and error throws.

8 years agoeuler.b-rep.io.obj: remove triple strings.
Doug Coleman [Wed, 30 Mar 2016 20:57:53 +0000 (13:57 -0700)]
euler.b-rep.io.obj: remove triple strings.

8 years agopeg.ebnf: different (better) error for peg.ebnf.semantic-action.
John Benediktsson [Wed, 30 Mar 2016 20:55:21 +0000 (13:55 -0700)]
peg.ebnf: different (better) error for peg.ebnf.semantic-action.

8 years agohttp.client: make no-proxy? to do less work with no proxies.
John Benediktsson [Wed, 30 Mar 2016 20:49:11 +0000 (13:49 -0700)]
http.client: make no-proxy? to do less work with no proxies.

8 years agohttp.client, allow to use http proxies
Jon Harper [Sun, 14 Feb 2016 17:21:58 +0000 (18:21 +0100)]
http.client, allow to use http proxies

8 years agohttp.client, automatically add basic auth from urls if present
Jon Harper [Fri, 19 Feb 2016 16:32:10 +0000 (17:32 +0100)]
http.client, automatically add basic auth from urls if present

8 years agohttp.client, don't write the anchor in the request line
Jon Harper [Fri, 4 Mar 2016 12:37:21 +0000 (13:37 +0100)]
http.client, don't write the anchor in the request line

8 years agohttp.client, fix GETs after POSTs redirects
Jon Harper [Tue, 16 Feb 2016 13:28:59 +0000 (14:28 +0100)]
http.client, fix GETs after POSTs redirects

Before this change, after a post is responded to by a 301 redirect,
the next GET had the "content-length: XX" and
"content-type: application/x-www-form-urlencoded" http headers.

Detected by running "http" test while using
squid 3.3.8 which returns a 411 error in this case.

8 years agosummary: use "a" or "an" when describing tuple.
John Benediktsson [Wed, 30 Mar 2016 20:41:41 +0000 (13:41 -0700)]
summary: use "a" or "an" when describing tuple.

8 years agopeg.ebnf: add a note for bug #23 and prefix articles with EBNF.
John Benediktsson [Wed, 30 Mar 2016 20:30:30 +0000 (13:30 -0700)]
peg.ebnf: add a note for bug #23 and prefix articles with EBNF.

8 years agoeffects.parser: fix some incorrect can't-nest-definition errors.
John Benediktsson [Wed, 30 Mar 2016 20:16:15 +0000 (13:16 -0700)]
effects.parser: fix some incorrect can't-nest-definition errors.

definitions in one vocabulary can trigger definitions in other vocabularies,
so track them separately instead of using a single boolean.

8 years agoRevert "bootstrap.image.primitives: make more primitives properties be declared here"
John Benediktsson [Wed, 30 Mar 2016 17:44:23 +0000 (10:44 -0700)]
Revert "bootstrap.image.primitives: make more primitives properties be declared here"

This reverts commit 80f30119c0b34e87fa97da4cd435e63cde76b61a.

8 years agomason.release.sign: Oops needed ${ after all.
Doug Coleman [Wed, 30 Mar 2016 18:28:29 +0000 (11:28 -0700)]
mason.release.sign: Oops needed ${ after all.

8 years agomason.release: Move code signing to its own vocab. Add hooks for mac and windows...
Doug Coleman [Wed, 30 Mar 2016 18:18:55 +0000 (11:18 -0700)]
mason.release: Move code signing to its own vocab. Add hooks for mac and windows code signing.

8 years agomaintain gml, euler, flatland, pong, multi-methods, pair-rockets, variables.
John Benediktsson [Wed, 30 Mar 2016 17:29:58 +0000 (10:29 -0700)]
maintain gml, euler, flatland, pong, multi-methods, pair-rockets, variables.