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

8 years agogtk.ffi: stop using find-library.
John Benediktsson [Tue, 29 Mar 2016 06:55:49 +0000 (23:55 -0700)]
gtk.ffi: stop using find-library.

8 years agoopengl.gl: stop using find-library.
John Benediktsson [Tue, 29 Mar 2016 06:55:39 +0000 (23:55 -0700)]
opengl.gl: stop using find-library.

8 years agoalien.libraries.finder: adding (poorly named) ?add-library.
John Benediktsson [Tue, 29 Mar 2016 06:04:19 +0000 (23:04 -0700)]
alien.libraries.finder: adding (poorly named) ?add-library.

Runs find-library when the library was not added yet or the dll is not valid.

8 years agoRevert "alien.libraries.finder: Allow library to match just by name. Related to ...
John Benediktsson [Tue, 29 Mar 2016 06:01:56 +0000 (23:01 -0700)]
Revert "alien.libraries.finder: Allow library to match just by name. Related to #1099."

This reverts commit 20a1c09a423455eca9e3c079969ffe896f31b81d.

8 years agoalien.libraries: merge update-library and find-library.
John Benediktsson [Tue, 29 Mar 2016 05:49:23 +0000 (22:49 -0700)]
alien.libraries: merge update-library and find-library.

8 years agovm: compact-gc was checked twice.
John Benediktsson [Tue, 29 Mar 2016 05:28:57 +0000 (22:28 -0700)]
vm: compact-gc was checked twice.

8 years agoHopefully fix stack effects of error hooks to throw when required.
John Benediktsson [Tue, 29 Mar 2016 05:27:35 +0000 (22:27 -0700)]
Hopefully fix stack effects of error hooks to throw when required.

8 years agospider: simplify apply-filters.
John Benediktsson [Tue, 29 Mar 2016 05:26:12 +0000 (22:26 -0700)]
spider: simplify apply-filters.

8 years agoui.backend.cocoa.views: call super.prepareOpenGL().
John Benediktsson [Tue, 29 Mar 2016 04:51:16 +0000 (21:51 -0700)]
ui.backend.cocoa.views: call super.prepareOpenGL().

8 years agopeg.ebnf: whoops, fix using for some reason not included in previous patch.
John Benediktsson [Tue, 29 Mar 2016 00:24:57 +0000 (17:24 -0700)]
peg.ebnf: whoops, fix using for some reason not included in previous patch.

8 years agopeg.ebnf: fix and a better fix.
John Benediktsson [Tue, 29 Mar 2016 00:03:40 +0000 (17:03 -0700)]
peg.ebnf: fix and a better fix.

8 years agoeditors.visual-studio-code: Use the application name Electron on Mac instead of calli...
Doug Coleman [Mon, 28 Mar 2016 23:56:07 +0000 (16:56 -0700)]
editors.visual-studio-code: Use the application name Electron on Mac instead of calling it through ``open`` util. Similar to how we do Atom editor support.

8 years agopeg.ebnf: reset qualified-vocabs so FROM: statements don't leak.
John Benediktsson [Mon, 28 Mar 2016 23:41:56 +0000 (16:41 -0700)]
peg.ebnf: reset qualified-vocabs so FROM: statements don't leak.

8 years agorosetta-code.image-noise: use delete-all.
John Benediktsson [Mon, 28 Mar 2016 21:18:47 +0000 (14:18 -0700)]
rosetta-code.image-noise: use delete-all.

8 years agoglobs: ignore hidden paths.
John Benediktsson [Mon, 28 Mar 2016 15:01:28 +0000 (08:01 -0700)]
globs: ignore hidden paths.

8 years agoglobs: use path-separator? to allow windows to split on /.
John Benediktsson [Mon, 28 Mar 2016 13:38:05 +0000 (06:38 -0700)]
globs: use path-separator? to allow windows to split on /.

8 years agoFUEL: shouldn't clobber the 'symbol variable for thing-at-point, fixes #1592
Björn Lindqvist [Sun, 27 Mar 2016 22:17:01 +0000 (00:17 +0200)]
FUEL: shouldn't clobber the 'symbol variable for thing-at-point, fixes #1592

8 years agoglobs: more tests.
John Benediktsson [Mon, 28 Mar 2016 03:50:13 +0000 (20:50 -0700)]
globs: more tests.

8 years agoglobs: adding tests for char-range.
John Benediktsson [Mon, 28 Mar 2016 01:55:45 +0000 (18:55 -0700)]
globs: adding tests for char-range.

8 years agoglobs: removing glob-parent-directory.
John Benediktsson [Mon, 28 Mar 2016 01:54:38 +0000 (18:54 -0700)]
globs: removing glob-parent-directory.

8 years agoshell: using glob-directory.
John Benediktsson [Mon, 28 Mar 2016 01:52:45 +0000 (18:52 -0700)]
shell: using glob-directory.

8 years agoglobs: implement glob-directory.
John Benediktsson [Mon, 28 Mar 2016 01:52:20 +0000 (18:52 -0700)]
globs: implement glob-directory.

It looks too complicated, and maybe it is.  Some tests pass.

8 years agoregexp.combinators: fix <char-range>.
John Benediktsson [Mon, 28 Mar 2016 01:49:42 +0000 (18:49 -0700)]
regexp.combinators: fix <char-range>.

8 years agoshell: resurrecting from unmaintained to extra.
John Benediktsson [Sun, 27 Mar 2016 23:08:35 +0000 (16:08 -0700)]
shell: resurrecting from unmaintained to extra.

8 years agocompiler.cfg.save-contexts: fix $link markup
Björn Lindqvist [Sun, 27 Mar 2016 21:47:08 +0000 (23:47 +0200)]
compiler.cfg.save-contexts: fix $link markup

8 years agocompiler.cfg.save-contexts: ##save-context isn't need in front of ##call-gc
Björn Lindqvist [Sun, 27 Mar 2016 17:14:29 +0000 (19:14 +0200)]
compiler.cfg.save-contexts: ##save-context isn't need in front of ##call-gc

The reason is because the minor-gc primitive itself saves the
context. Not inlining context saves, saves 20 bytes/call site.

8 years agocompiler.cfg.*: indentation fixes
Björn Lindqvist [Sun, 27 Mar 2016 17:07:21 +0000 (19:07 +0200)]
compiler.cfg.*: indentation fixes

8 years agostack-checker: a little cleanup.
John Benediktsson [Sun, 27 Mar 2016 17:01:56 +0000 (10:01 -0700)]
stack-checker: a little cleanup.

8 years agobootstrap.assembler.ppc: make ppc also use define-sub-primitives
Björn Lindqvist [Sun, 27 Mar 2016 15:46:55 +0000 (17:46 +0200)]
bootstrap.assembler.ppc: make ppc also use define-sub-primitives

8 years agobootstrap.assembler: new word define-sub-primitives
Björn Lindqvist [Sun, 27 Mar 2016 15:07:27 +0000 (17:07 +0200)]
bootstrap.assembler: new word define-sub-primitives

This way all sub primitives can be declared at once which imo is cleaner.

8 years agostack-checker.known-words: simpler infer-ndip and infer-builder.
John Benediktsson [Sun, 27 Mar 2016 01:37:25 +0000 (18:37 -0700)]
stack-checker.known-words: simpler infer-ndip and infer-builder.

8 years agomirrors: make all sequences be "inspectable", could fix #1237
Björn Lindqvist [Sat, 26 Mar 2016 14:08:31 +0000 (15:08 +0100)]
mirrors: make all sequences be "inspectable", could fix #1237

8 years agocompression.zlib.ffi: add more functions.
John Benediktsson [Sat, 26 Mar 2016 03:55:41 +0000 (20:55 -0700)]
compression.zlib.ffi: add more functions.

8 years agomirrors: fix tests for string change.
John Benediktsson [Fri, 25 Mar 2016 22:56:42 +0000 (15:56 -0700)]
mirrors: fix tests for string change.

8 years agomirrors: makes string an inspectable sequence, fixes #1238
Björn Lindqvist [Fri, 25 Mar 2016 20:10:26 +0000 (21:10 +0100)]
mirrors: makes string an inspectable sequence, fixes #1238

8 years agosummary: better word re-use.
John Benediktsson [Fri, 25 Mar 2016 16:43:35 +0000 (09:43 -0700)]
summary: better word re-use.

8 years agosequences.extras: Fix bad rename. (each-from) -> setup-each-from now. Add a unit...
Doug Coleman [Fri, 25 Mar 2016 16:42:09 +0000 (09:42 -0700)]
sequences.extras: Fix bad rename. (each-from) -> setup-each-from now. Add a unit test for reduce-from.

8 years agosummary: can't use formatting or it breaks bootstrap.
John Benediktsson [Fri, 25 Mar 2016 16:42:04 +0000 (09:42 -0700)]
summary: can't use formatting or it breaks bootstrap.

8 years agosummary: string summary should say characters, not elements
Björn Lindqvist [Fri, 25 Mar 2016 13:46:37 +0000 (14:46 +0100)]
summary: string summary should say characters, not elements

8 years agosummary: improved summary for tuples
Björn Lindqvist [Fri, 25 Mar 2016 13:37:53 +0000 (14:37 +0100)]
summary: improved summary for tuples

It reads nicer if it says "a blabla tuple" instead of just "blabla".

8 years agoenglish: new word count-of-things, it pluralizes depending on count
Björn Lindqvist [Fri, 25 Mar 2016 13:08:14 +0000 (14:08 +0100)]
english: new word count-of-things, it pluralizes depending on count

8 years agosummary: refactoring to use the formatting vocab + tests
Björn Lindqvist [Fri, 25 Mar 2016 13:00:48 +0000 (14:00 +0100)]
summary: refactoring to use the formatting vocab + tests

8 years agounicode.data, terrain.generation: remove abusive stack effect names.
Doug Coleman [Fri, 25 Mar 2016 10:12:57 +0000 (03:12 -0700)]
unicode.data, terrain.generation: remove abusive stack effect names.

8 years agofactor: remove rest of double paren words.
Doug Coleman [Fri, 25 Mar 2016 10:10:47 +0000 (03:10 -0700)]
factor: remove rest of double paren words.

8 years agocore: rename some double paren words.
Doug Coleman [Fri, 25 Mar 2016 10:00:54 +0000 (03:00 -0700)]
core: rename some double paren words.

8 years agoio.streams.sequence: make some errors into ERROR:. rename double paren word.
Doug Coleman [Fri, 25 Mar 2016 10:00:07 +0000 (03:00 -0700)]
io.streams.sequence: make some errors into ERROR:. rename double paren word.

8 years agohashtables: rename ((tombstone)) to +tombstone+, ((empty)) to +empty+
Doug Coleman [Fri, 25 Mar 2016 08:52:07 +0000 (01:52 -0700)]
hashtables: rename ((tombstone)) to +tombstone+, ((empty)) to +empty+

8 years agoeffects.parser: Remove left-over old code that did (( -- )) stack effects.
Doug Coleman [Fri, 25 Mar 2016 08:50:00 +0000 (01:50 -0700)]
effects.parser: Remove left-over old code that did (( -- )) stack effects.

8 years agounix: fixed read-symbolic-link (#1074) + tests
Björn Lindqvist [Wed, 23 Mar 2016 14:25:32 +0000 (15:25 +0100)]
unix: fixed read-symbolic-link (#1074) + tests

8 years agoVM: improved vm_executable_path which works for arbitrary long paths
Björn Lindqvist [Wed, 23 Mar 2016 14:21:30 +0000 (15:21 +0100)]
VM: improved vm_executable_path which works for arbitrary long paths

8 years agoio.files.unix: loop getcwd with an expanding buffer, fixes part of #1074
Björn Lindqvist [Wed, 23 Mar 2016 12:22:31 +0000 (13:22 +0100)]
io.files.unix: loop getcwd with an expanding buffer, fixes part of #1074

It appears that the right way to do it is using an arbitrary sized buffer
and just expanding it in case getcwd reports ERANGE.

8 years agoVM: fix string copying to not use PATH_MAX here
Björn Lindqvist [Wed, 23 Mar 2016 11:17:38 +0000 (12:17 +0100)]
VM: fix string copying to not use PATH_MAX here

8 years agovocabs.metadata: moving os-specific paths to tools.deploy.
John Benediktsson [Wed, 23 Mar 2016 14:44:35 +0000 (07:44 -0700)]
vocabs.metadata: moving os-specific paths to tools.deploy.

8 years agoVM: on errors, only dump the heap if it has been initialized
Björn Lindqvist [Tue, 22 Mar 2016 18:33:27 +0000 (19:33 +0100)]
VM: on errors, only dump the heap if it has been initialized

8 years agocompiler.tests: fix a few KERNEL-ERROR.
John Benediktsson [Tue, 22 Mar 2016 22:22:15 +0000 (15:22 -0700)]
compiler.tests: fix a few KERNEL-ERROR.

8 years agodb.errors: move to db.{postgresql,sqlite}.errors.
John Benediktsson [Tue, 22 Mar 2016 19:44:23 +0000 (12:44 -0700)]
db.errors: move to db.{postgresql,sqlite}.errors.

8 years agoFUEL: support for the $sequence help syntax
Björn Lindqvist [Tue, 22 Mar 2016 16:04:03 +0000 (17:04 +0100)]
FUEL: support for the $sequence help syntax

8 years agoVM: removes the OBJ-ERROR special object in favor of a constant
Björn Lindqvist [Tue, 22 Mar 2016 14:56:41 +0000 (15:56 +0100)]
VM: removes the OBJ-ERROR special object in favor of a constant

The special object contained the string "kernel-error" which were used
to tag VM errors. But it is simplier and removes a little complexity to
just tag them with a fixnum constant.

8 years agotools.completion: fix help-lint for runs now that it returns slices.
John Benediktsson [Tue, 22 Mar 2016 14:44:28 +0000 (07:44 -0700)]
tools.completion: fix help-lint for runs now that it returns slices.

8 years agotools.completion: simplify runs which is just monotonic-split.
John Benediktsson [Tue, 22 Mar 2016 14:41:33 +0000 (07:41 -0700)]
tools.completion: simplify runs which is just monotonic-split.

8 years agochecksums: remove hex-string in favor of math.parser:bytes>hex-string.
John Benediktsson [Tue, 22 Mar 2016 04:04:40 +0000 (21:04 -0700)]
checksums: remove hex-string in favor of math.parser:bytes>hex-string.

8 years agogmae.input: rename ` to backtick
Doug Coleman [Mon, 21 Mar 2016 21:57:48 +0000 (14:57 -0700)]
gmae.input: rename ` to backtick

8 years agographs: move to core and simplify.
John Benediktsson [Mon, 21 Mar 2016 17:17:29 +0000 (10:17 -0700)]
graphs: move to core and simplify.

1. remove add-vertex* and remove-vertex* that contradicted the documentation.
2. graphs use hash-sets of edges instead of hashtables of {edge,edge} pairs.
3. make graphs:closure work like classes:closure, use in classes.

8 years agomirrors: define M\ hash-set make-mirror so inspector works better on hash-sets.
John Benediktsson [Mon, 21 Mar 2016 16:33:32 +0000 (09:33 -0700)]
mirrors: define M\ hash-set make-mirror so inspector works better on hash-sets.

8 years agoslots: add initial value for integer-array-capacity, fixes part of #1571
Björn Lindqvist [Mon, 21 Mar 2016 17:10:39 +0000 (18:10 +0100)]
slots: add initial value for integer-array-capacity, fixes part of #1571

8 years agomason.release.tidy: adding libfactor-ffi-test.dylib.
John Benediktsson [Mon, 21 Mar 2016 14:22:22 +0000 (07:22 -0700)]
mason.release.tidy: adding libfactor-ffi-test.dylib.

8 years agobasis: rename the only four words with backtick in their name.
Doug Coleman [Mon, 21 Mar 2016 04:03:44 +0000 (21:03 -0700)]
basis: rename the only four words with backtick in their name.

8 years agoifaddrs: get interface-names on unix.
John Benediktsson [Mon, 21 Mar 2016 04:00:18 +0000 (21:00 -0700)]
ifaddrs: get interface-names on unix.