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

8 years agotools.crossref: change crossref to store uses in hash-set.
John Benediktsson [Mon, 21 Mar 2016 03:20:34 +0000 (20:20 -0700)]
tools.crossref: change crossref to store uses in hash-set.

Previously it would use a hashtable where the key and value
were both the same.

8 years agohelp: cleanup usings.
John Benediktsson [Mon, 21 Mar 2016 02:42:38 +0000 (19:42 -0700)]
help: cleanup usings.

8 years agoui.gadgets.panes: fix use of string-lines that prevented icons from showing in help...
John Benediktsson [Sun, 20 Mar 2016 22:56:02 +0000 (15:56 -0700)]
ui.gadgets.panes: fix use of string-lines that prevented icons from showing in help browser.

8 years agocursors: zip-cursor distance-hint should be min length.
John Benediktsson [Sun, 20 Mar 2016 21:50:33 +0000 (14:50 -0700)]
cursors: zip-cursor distance-hint should be min length.

8 years agohelp: simplify.
John Benediktsson [Sun, 20 Mar 2016 21:39:13 +0000 (14:39 -0700)]
help: simplify.

8 years agokernel: improve docs for ?.
John Benediktsson [Sun, 20 Mar 2016 17:36:23 +0000 (10:36 -0700)]
kernel: improve docs for ?.

8 years agomaths.primes: finish renaming fast-gcd to simple-gcd.
Doug Coleman [Sun, 20 Mar 2016 00:21:24 +0000 (17:21 -0700)]
maths.primes: finish renaming fast-gcd to simple-gcd.

8 years agographviz: better stack effect for with-preview.
John Benediktsson [Sat, 19 Mar 2016 20:06:08 +0000 (13:06 -0700)]
graphviz: better stack effect for with-preview.

8 years agographviz: simpler preview-smoke-test.
John Benediktsson [Sat, 19 Mar 2016 20:03:37 +0000 (13:03 -0700)]
graphviz: simpler preview-smoke-test.

8 years agoio.files.unique: change cleanup-unique-file quot stack effect.
John Benediktsson [Sat, 19 Mar 2016 20:03:15 +0000 (13:03 -0700)]
io.files.unique: change cleanup-unique-file quot stack effect.

8 years agoui.backend.cocoa.views: add constants for modifier flags.
John Benediktsson [Sat, 19 Mar 2016 19:48:42 +0000 (12:48 -0700)]
ui.backend.cocoa.views: add constants for modifier flags.

8 years agomath: rename fast-gcd to simple-gcd.
John Benediktsson [Sat, 19 Mar 2016 19:19:25 +0000 (12:19 -0700)]
math: rename fast-gcd to simple-gcd.

8 years agostack-checker.known-words: fix input class declaration for <string>
Björn Lindqvist [Sat, 19 Mar 2016 17:59:19 +0000 (18:59 +0100)]
stack-checker.known-words: fix input class declaration for <string>

it should be { integer-array-capacity integer } ofcourse

8 years agofix some tests broken by my io.files.unique change.
John Benediktsson [Sat, 19 Mar 2016 16:50:01 +0000 (09:50 -0700)]
fix some tests broken by my io.files.unique change.

8 years agohelp.home: simplify USING.
John Benediktsson [Sat, 19 Mar 2016 15:54:59 +0000 (08:54 -0700)]
help.home: simplify USING.

8 years agohelp.home: use $content to render the handbook.
John Benediktsson [Sat, 19 Mar 2016 14:54:37 +0000 (07:54 -0700)]
help.home: use $content to render the handbook.

8 years agohelp.markup: adding $content to inline the content of another article.
John Benediktsson [Sat, 19 Mar 2016 14:54:24 +0000 (07:54 -0700)]
help.markup: adding $content to inline the content of another article.

8 years agohelp.home: make the home screen the handbook content.
John Benediktsson [Sat, 19 Mar 2016 11:27:20 +0000 (04:27 -0700)]
help.home: make the home screen the handbook content.

8 years agographviz.render: needs to USE: io.files.temp.
John Benediktsson [Sat, 19 Mar 2016 01:46:16 +0000 (18:46 -0700)]
graphviz.render: needs to USE: io.files.temp.

8 years agowebapps.mason.version.source: delete unique temp directory after upload.
John Benediktsson [Sat, 19 Mar 2016 01:45:00 +0000 (18:45 -0700)]
webapps.mason.version.source: delete unique temp directory after upload.

8 years agoRevert "webapps.mason.version.source: remove temporary unique directory."
John Benediktsson [Sat, 19 Mar 2016 00:49:49 +0000 (17:49 -0700)]
Revert "webapps.mason.version.source: remove temporary unique directory."

This reverts commit 3a202b6c4490ef83976219920be16d4127ed1dd3.

8 years agowebapps.mason.version.source: remove temporary unique directory.
John Benediktsson [Sat, 19 Mar 2016 00:47:55 +0000 (17:47 -0700)]
webapps.mason.version.source: remove temporary unique directory.

8 years agocleanup some uses of current-directory.
John Benediktsson [Sat, 19 Mar 2016 00:04:05 +0000 (17:04 -0700)]
cleanup some uses of current-directory.

8 years agoio.files.unique: some cleanup.
John Benediktsson [Fri, 18 Mar 2016 23:54:02 +0000 (16:54 -0700)]
io.files.unique: some cleanup.