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

8 years agocompiler.*, stack-checker.known-words: adds the integer-array-capacity
Björn Lindqvist [Fri, 18 Mar 2016 19:46:41 +0000 (20:46 +0100)]
compiler.*, stack-checker.known-words: adds the integer-array-capacity

This commit adds the integer-array-capacity declaration on a few
words. It should make loopy code compile faster and fix #1339

8 years agocompiler.tree.*: fixes the propagation and dead-code removal logic so it
Björn Lindqvist [Fri, 18 Mar 2016 19:39:28 +0000 (20:39 +0100)]
compiler.tree.*: fixes the propagation and dead-code removal logic so it
becomes aware of integer-array-capacity

8 years agobootstrap.primitives: new predicate integer-array-capacity
Björn Lindqvist [Fri, 18 Mar 2016 19:21:51 +0000 (20:21 +0100)]
bootstrap.primitives: new predicate integer-array-capacity

It is to be used to declare values for better optimizations.

8 years agocompiler.tree.cleanup: more docs and a test
Björn Lindqvist [Fri, 18 Mar 2016 15:28:01 +0000 (16:28 +0100)]
compiler.tree.cleanup: more docs and a test

8 years agocompiler.tree.dead-code.simple: tests and more docs
Björn Lindqvist [Fri, 18 Mar 2016 10:23:20 +0000 (11:23 +0100)]
compiler.tree.dead-code.simple: tests and more docs

8 years agoio.files.unique: change to create unique files and directories relative to the curren...
John Benediktsson [Fri, 18 Mar 2016 17:57:54 +0000 (10:57 -0700)]
io.files.unique: change to create unique files and directories relative to the current-directory.

8 years agoio.monitors: change tests to not use unique because it only ever used temp-file.
John Benediktsson [Fri, 18 Mar 2016 17:36:16 +0000 (10:36 -0700)]
io.monitors: change tests to not use unique because it only ever used temp-file.

8 years agoio.launcher.unix: simplify use of temp-directory.
John Benediktsson [Fri, 18 Mar 2016 17:32:49 +0000 (10:32 -0700)]
io.launcher.unix: simplify use of temp-directory.

8 years agotools.deploy.test.19: case sensitive on linux.
Doug Coleman [Fri, 18 Mar 2016 05:50:13 +0000 (22:50 -0700)]
tools.deploy.test.19: case sensitive on linux.

8 years agoio.files.info: cleanup by using with-temp-directory.
John Benediktsson [Fri, 18 Mar 2016 00:51:36 +0000 (17:51 -0700)]
io.files.info: cleanup by using with-temp-directory.

8 years agoio.directories: simplify tests by using with-temp-directory.
John Benediktsson [Fri, 18 Mar 2016 00:11:59 +0000 (17:11 -0700)]
io.directories: simplify tests by using with-temp-directory.

8 years agotools.deploy.test.19: make sure to test vocab urls.
John Benediktsson [Fri, 18 Mar 2016 00:00:32 +0000 (17:00 -0700)]
tools.deploy.test.19: make sure to test vocab urls.

8 years ago.gitignore: remove temp so that we can search io.files.temp. remove
Doug Coleman [Thu, 17 Mar 2016 09:39:38 +0000 (02:39 -0700)]
.gitignore: remove temp so that we can search io.files.temp. remove
_darcs.

8 years agolicense rename: fix the rest of it.
Doug Coleman [Thu, 17 Mar 2016 09:36:34 +0000 (02:36 -0700)]
license rename: fix the rest of it.

8 years agoio.files.temp: use a startup hook as the temp directory could change from run to...
John Benediktsson [Thu, 17 Mar 2016 04:40:25 +0000 (21:40 -0700)]
io.files.temp: use a startup hook as the temp directory could change from run to run.

8 years agoio.files.temp: Initialize symbols after the backends are loaded. Top level code sucks.
Doug Coleman [Thu, 17 Mar 2016 04:25:19 +0000 (21:25 -0700)]
io.files.temp: Initialize symbols after the backends are loaded. Top level code sucks.

8 years agoio.files.temp: allow changing of current temp and cache directory.
John Benediktsson [Wed, 16 Mar 2016 22:19:10 +0000 (15:19 -0700)]
io.files.temp: allow changing of current temp and cache directory.

8 years agoparser: fix docs typo.
John Benediktsson [Wed, 16 Mar 2016 19:36:08 +0000 (12:36 -0700)]
parser: fix docs typo.

8 years agographviz: use cleanup-unique-working-directory now.
John Benediktsson [Wed, 16 Mar 2016 19:11:14 +0000 (12:11 -0700)]
graphviz: use cleanup-unique-working-directory now.

8 years agocore: use $sequence help-markup in a few places.
John Benediktsson [Wed, 16 Mar 2016 17:13:25 +0000 (10:13 -0700)]
core: use $sequence help-markup in a few places.

8 years agouse the new bytes>hex-string.
John Benediktsson [Wed, 16 Mar 2016 17:12:48 +0000 (10:12 -0700)]
use the new bytes>hex-string.

8 years agomath.parser: adding bytes>hex-string and hex-string>bytes.
John Benediktsson [Wed, 16 Mar 2016 17:02:25 +0000 (10:02 -0700)]
math.parser: adding bytes>hex-string and hex-string>bytes.

8 years agoUpdate tests for LICENSE.txt rename.
John Benediktsson [Wed, 16 Mar 2016 16:59:42 +0000 (09:59 -0700)]
Update tests for LICENSE.txt rename.

8 years agoRename license.txt to LICENSE.txt.
John Benediktsson [Wed, 16 Mar 2016 16:58:09 +0000 (09:58 -0700)]
Rename license.txt to LICENSE.txt.

8 years agocompiler.cfg.stacks.local: replace-sets values must be hash-sets (#1507)
Björn Lindqvist [Wed, 16 Mar 2016 15:29:49 +0000 (16:29 +0100)]
compiler.cfg.stacks.local: replace-sets values must be hash-sets (#1507)

The compiler hang was because { D: 3 D: 2 } was unequal to { D: 2 D: 3
}, so using a set should fix that.

8 years agosystem: these words can't be foldable
Björn Lindqvist [Wed, 16 Mar 2016 15:18:23 +0000 (16:18 +0100)]
system: these words can't be foldable

Because they will return new values if you update the VM.

8 years agocompiler.cfg.stacks.*: new docs
Björn Lindqvist [Wed, 16 Mar 2016 14:21:42 +0000 (15:21 +0100)]
compiler.cfg.stacks.*: new docs

Mostly from making comments into doc definitions

8 years agocompiler.cfg.dataflow-analysis: removes the -analysis from the dfa token
Björn Lindqvist [Wed, 16 Mar 2016 13:37:33 +0000 (14:37 +0100)]
compiler.cfg.dataflow-analysis: removes the -analysis from the dfa token

It makes the FORWARD-ANALYSIS: and BACKWARD-ANALYSIS: functors less
magical if the generated singletons name is the same as in the syntax.

8 years agoBuild: fix makefile to work with new script path
Björn Lindqvist [Wed, 16 Mar 2016 13:28:09 +0000 (14:28 +0100)]
Build: fix makefile to work with new script path

8 years agocompiler.cfg.builder.blocks: return the slots, they are absolutely
Björn Lindqvist [Wed, 16 Mar 2016 13:08:49 +0000 (14:08 +0100)]
compiler.cfg.builder.blocks: return the slots, they are absolutely
needed for bootstrap

8 years agocompiler.cfg.*: the make-kill-block word is not needed
Björn Lindqvist [Wed, 16 Mar 2016 11:26:03 +0000 (12:26 +0100)]
compiler.cfg.*: the make-kill-block word is not needed

8 years agocompiler.cfg.builder.blocks: some cleanup
Björn Lindqvist [Wed, 16 Mar 2016 10:48:31 +0000 (11:48 +0100)]
compiler.cfg.builder.blocks: some cleanup

8 years agocompiler.cfg.*: better stack effect for end-stack-analysis
Björn Lindqvist [Tue, 15 Mar 2016 23:09:55 +0000 (00:09 +0100)]
compiler.cfg.*: better stack effect for end-stack-analysis

8 years agobitly: move from bit.ly to bitly.
Doug Coleman [Tue, 15 Mar 2016 07:22:01 +0000 (00:22 -0700)]
bitly: move from bit.ly to bitly.

8 years agofunctors: don't leak the bindings.
John Benediktsson [Tue, 15 Mar 2016 23:12:37 +0000 (16:12 -0700)]
functors: don't leak the bindings.

8 years agodocuments: rename string-lines to split-lines so I don't get restarts.
John Benediktsson [Tue, 15 Mar 2016 17:41:14 +0000 (10:41 -0700)]
documents: rename string-lines to split-lines so I don't get restarts.

8 years agolocals.parser: move parse-binding to functors.
John Benediktsson [Tue, 15 Mar 2016 17:34:07 +0000 (10:34 -0700)]
locals.parser: move parse-binding to functors.

8 years agoRevert "rename license.txt to LICENSE.txt to be more standard."
John Benediktsson [Tue, 15 Mar 2016 14:56:14 +0000 (07:56 -0700)]
Revert "rename license.txt to LICENSE.txt to be more standard."

This reverts commit a1ea69ff7b216865898f73eb68d9d6c4bceb8a54.

8 years agomason.release.tidy: add build.(sh|cmd).
John Benediktsson [Tue, 15 Mar 2016 10:19:54 +0000 (03:19 -0700)]
mason.release.tidy: add build.(sh|cmd).

8 years agomoving build-support/factor.(sh|cmd) to ./build.(sh|cmd).
John Benediktsson [Tue, 15 Mar 2016 10:16:33 +0000 (03:16 -0700)]
moving build-support/factor.(sh|cmd) to ./build.(sh|cmd).

8 years agomason.release.tidy: don't need with-resource-directory.
John Benediktsson [Tue, 15 Mar 2016 10:14:22 +0000 (03:14 -0700)]
mason.release.tidy: don't need with-resource-directory.

8 years agorename license.txt to LICENSE.txt to be more standard.
John Benediktsson [Tue, 15 Mar 2016 02:34:20 +0000 (19:34 -0700)]
rename license.txt to LICENSE.txt to be more standard.

8 years agorun-desc: not sure what this is for.
Doug Coleman [Tue, 15 Mar 2016 05:51:11 +0000 (22:51 -0700)]
run-desc: not sure what this is for.

8 years agoupdate: move to unmaintained.
Doug Coleman [Tue, 15 Mar 2016 05:47:36 +0000 (22:47 -0700)]
update: move to unmaintained.