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

8 years agopeg: simplify parse-satisfy.
John Benediktsson [Wed, 30 Mar 2016 17:29:43 +0000 (10:29 -0700)]
peg: simplify parse-satisfy.

8 years agomath.floats.env: restore test cases that were disabled.
John Benediktsson [Wed, 30 Mar 2016 17:13:27 +0000 (10:13 -0700)]
math.floats.env: restore test cases that were disabled.

8 years agosmalltalk.parser: cleaner grammar (?)
Doug Coleman [Wed, 30 Mar 2016 17:15:57 +0000 (10:15 -0700)]
smalltalk.parser: cleaner grammar (?)

8 years agopeg: Throw an error if nothing at all matches at position 0.
Doug Coleman [Wed, 30 Mar 2016 16:16:02 +0000 (09:16 -0700)]
peg: Throw an error if nothing at all matches at position 0.

8 years agosmalltalk: Clean up grammar and fix a bug with underscores in identifiers.
Doug Coleman [Wed, 30 Mar 2016 15:49:28 +0000 (08:49 -0700)]
smalltalk: Clean up grammar and fix a bug with underscores in identifiers.

8 years agopeg: Don't need to add empty errors here. It breaks the real error message.
Doug Coleman [Wed, 30 Mar 2016 15:25:36 +0000 (08:25 -0700)]
peg: Don't need to add empty errors here. It breaks the real error message.

8 years agobootstrap.image.primitives: make more primitives properties be declared here
Björn Lindqvist [Wed, 30 Mar 2016 16:59:10 +0000 (18:59 +0200)]
bootstrap.image.primitives: make more primitives properties be declared here

This commit merges the input/output-classes and flush/foldable
declarations from stack-checker.known-words to this vocab. This should
make adding primitives a little simpler (#1134).

8 years agoui: change active? back to a boolean.
John Benediktsson [Wed, 30 Mar 2016 14:31:13 +0000 (07:31 -0700)]
ui: change active? back to a boolean.

8 years agotools.deploy.windows: Windows processes launch from relation to the executable that...
Doug Coleman [Wed, 30 Mar 2016 06:46:34 +0000 (23:46 -0700)]
tools.deploy.windows: Windows processes launch from relation to the executable that launches them. Therefore, we need to normalize the path for the "Hello World" binary since it's in the temp directory and not relative to the factor/ directory.

8 years agounix.groups: cleanup using.
John Benediktsson [Wed, 30 Mar 2016 05:53:45 +0000 (22:53 -0700)]
unix.groups: cleanup using.

8 years agoui.backend.gtk: only use the timer when not io.backend.unix.
John Benediktsson [Wed, 30 Mar 2016 05:36:02 +0000 (22:36 -0700)]
ui.backend.gtk: only use the timer when not io.backend.unix.

8 years agoui.backend.gtk: try yield in idle callback.
John Benediktsson [Wed, 30 Mar 2016 05:15:57 +0000 (22:15 -0700)]
ui.backend.gtk: try yield in idle callback.

8 years agoui.backend.gtk: simplify.
John Benediktsson [Wed, 30 Mar 2016 03:52:49 +0000 (20:52 -0700)]
ui.backend.gtk: simplify.

8 years agofix some tests for the sets:set change.
John Benediktsson [Wed, 30 Mar 2016 03:43:46 +0000 (20:43 -0700)]
fix some tests for the sets:set change.

8 years agoui.gadgets: fix tests for namespaces:set.
John Benediktsson [Wed, 30 Mar 2016 01:57:15 +0000 (18:57 -0700)]
ui.gadgets: fix tests for namespaces:set.

8 years agobuild.sh/build.cmd: support both latest and update
Doug Coleman [Wed, 30 Mar 2016 01:44:32 +0000 (18:44 -0700)]
build.sh/build.cmd: support both latest and update

8 years agoio.monitors.linux: fix a set.
Doug Coleman [Wed, 30 Mar 2016 01:27:47 +0000 (18:27 -0700)]
io.monitors.linux: fix a set.

8 years agoui.backend.windows: fix set.
Doug Coleman [Wed, 30 Mar 2016 01:05:23 +0000 (18:05 -0700)]
ui.backend.windows: fix set.

8 years agoemojify: I :heart: Factor :+1:.
John Benediktsson [Wed, 30 Mar 2016 00:53:32 +0000 (17:53 -0700)]
emojify: I :heart: Factor :+1:.

8 years agodisambiguate namespaces:set and sets:set.
John Benediktsson [Wed, 30 Mar 2016 00:14:42 +0000 (17:14 -0700)]
disambiguate namespaces:set and sets:set.

8 years agodelegate.protocols: add set-protocol.
John Benediktsson [Tue, 29 Mar 2016 23:51:19 +0000 (16:51 -0700)]
delegate.protocols: add set-protocol.

8 years agosets: rename unordered-set back to set.
John Benediktsson [Tue, 29 Mar 2016 22:46:29 +0000 (15:46 -0700)]
sets: rename unordered-set back to set.

8 years agolinked-sets: adding an ordered-set.
John Benediktsson [Tue, 29 Mar 2016 21:54:22 +0000 (14:54 -0700)]
linked-sets: adding an ordered-set.

(yes, it's an instance of unordered-set, patches to follow).

8 years agobootstrap.image.primitives: the primitive_ prefix is implied
Björn Lindqvist [Tue, 29 Mar 2016 13:53:51 +0000 (15:53 +0200)]
bootstrap.image.primitives: the primitive_ prefix is implied

So it can be removed from the big list, making primitive declarations simpler.

8 years agobootstrap.image.primitives: new vocab to make primitive declarations better
Björn Lindqvist [Tue, 29 Mar 2016 13:41:58 +0000 (15:41 +0200)]
bootstrap.image.primitives: new vocab to make primitive declarations better

8 years agotools.deploy.windows: use "resource:" instead of "" for deploy on windows.
Doug Coleman [Tue, 29 Mar 2016 21:43:51 +0000 (14:43 -0700)]
tools.deploy.windows: use "resource:" instead of "" for deploy on windows.

8 years agosequences.extras: oops. cleanup dumb implementation.
Doug Coleman [Tue, 29 Mar 2016 20:25:29 +0000 (13:25 -0700)]
sequences.extras: oops. cleanup dumb implementation.

8 years agovocabs: words-named should't f suffix.
John Benediktsson [Tue, 29 Mar 2016 20:14:24 +0000 (13:14 -0700)]
vocabs: words-named should't f suffix.

8 years agointerpolate: make interpolate and interpolate-locals symmetric.
John Benediktsson [Tue, 29 Mar 2016 20:03:38 +0000 (13:03 -0700)]
interpolate: make interpolate and interpolate-locals symmetric.

8 years agovocabs: support qualified lookups in no-word restarts.
John Benediktsson [Tue, 29 Mar 2016 19:37:24 +0000 (12:37 -0700)]
vocabs: support qualified lookups in no-word restarts.

8 years agosequences.extras: add map-zip.
Doug Coleman [Tue, 29 Mar 2016 19:58:26 +0000 (12:58 -0700)]
sequences.extras: add map-zip.

8 years agotools.deploy.shaker: Fix load error.
Doug Coleman [Tue, 29 Mar 2016 19:33:30 +0000 (12:33 -0700)]
tools.deploy.shaker: Fix load error.
images.png: fix load error.

8 years agourls.secure: roll this into urls since we ship libressl on windows now.
Doug Coleman [Tue, 29 Mar 2016 18:40:42 +0000 (11:40 -0700)]
urls.secure: roll this into urls since we ship libressl on windows now.

8 years agotools.deploy: add using
Doug Coleman [Tue, 29 Mar 2016 17:53:01 +0000 (10:53 -0700)]
tools.deploy: add using

8 years agocleanup some QUALIFIED: that are no longer needed.
John Benediktsson [Tue, 29 Mar 2016 17:06:28 +0000 (10:06 -0700)]
cleanup some QUALIFIED: that are no longer needed.

8 years agovocabs.parser: all USE: vocabs are also QUALIFIED:.
John Benediktsson [Tue, 29 Mar 2016 16:59:58 +0000 (09:59 -0700)]
vocabs.parser: all USE: vocabs are also QUALIFIED:.

8 years agomason.release.dlls: Bundle sqlite3 on Windows. Fixes #856.
Doug Coleman [Tue, 29 Mar 2016 17:17:37 +0000 (10:17 -0700)]
mason.release.dlls: Bundle sqlite3 on Windows. Fixes #856.

8 years agomason.release.dlls: Copy dlls in the whitelist from the directory that the mason...
Doug Coleman [Tue, 29 Mar 2016 16:52:12 +0000 (09:52 -0700)]
mason.release.dlls: Copy dlls in the whitelist from the directory that the mason instance runs from to the release directory.
Currently we only copy libressl dlls on Windows, but other targets are the openal dylib on Mac and libressl on other platforms?

8 years agomason.release.tidy: On Windows, we use the build.cmd script to set env variables
Doug Coleman [Tue, 29 Mar 2016 16:32:54 +0000 (09:32 -0700)]
mason.release.tidy: On Windows, we use the build.cmd script to set env variables
for the Nmakefile. build.cmd makes a factor.image.fresh, which we need to delete.

8 years agoNmakefile: remove BOOTIMAGE_VERSION. The git-id is enough to recover the boot image...
Doug Coleman [Tue, 29 Mar 2016 16:31:52 +0000 (09:31 -0700)]
Nmakefile: remove BOOTIMAGE_VERSION. The git-id is enough to recover the boot image name.

8 years agotools.deploy: Make sure to deploy-test in a temp directory and not the factor/ directory.
Doug Coleman [Tue, 29 Mar 2016 15:44:24 +0000 (08:44 -0700)]
tools.deploy: Make sure to deploy-test in a temp directory and not the factor/ directory.

8 years agoRevert "mason.release.tidy: adding libfactor-ffi-test.dylib."
John Benediktsson [Tue, 29 Mar 2016 15:12:54 +0000 (08:12 -0700)]
Revert "mason.release.tidy: adding libfactor-ffi-test.dylib."

This reverts commit 2c1739deb0e3ffc233576356ea7b08325e13b1e2.

8 years agotools.test: fix <test-failure> stack effect for file -> path change.
John Benediktsson [Tue, 29 Mar 2016 15:06:56 +0000 (08:06 -0700)]
tools.test: fix <test-failure> stack effect for file -> path change.

8 years agoalien.libraries.finder: rename ?add-library to ?update-library.
John Benediktsson [Tue, 29 Mar 2016 14:35:45 +0000 (07:35 -0700)]
alien.libraries.finder: rename ?add-library to ?update-library.

8 years agoalien.libraries: split update-library and add-library again.
John Benediktsson [Tue, 29 Mar 2016 13:07:14 +0000 (06:07 -0700)]
alien.libraries: split update-library and add-library again.

8 years agotools.deploy: need to USE: system.
John Benediktsson [Tue, 29 Mar 2016 13:05:05 +0000 (06:05 -0700)]
tools.deploy: need to USE: system.

8 years agoRevert "spider: simplify apply-filters."
John Benediktsson [Tue, 29 Mar 2016 13:03:31 +0000 (06:03 -0700)]
Revert "spider: simplify apply-filters."

This reverts commit be2b048920e8c6a5e9d8d24a9c32e1e114353949.