]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agoRemove executable bit from tons of files that aren't
Benjamin Pollack [Wed, 5 Nov 2014 21:22:15 +0000 (16:22 -0500)]
Remove executable bit from tons of files that aren't

9 years agoRevert "gtk.ffi: Find the right gtk library in a startup-hook. Necessary because...
Doug Coleman [Wed, 5 Nov 2014 20:03:05 +0000 (12:03 -0800)]
Revert "gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185."

This reverts commit 0ef942e400951bdce9924446f621bf4c0049fc40.

9 years agogtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not...
Doug Coleman [Wed, 5 Nov 2014 18:00:27 +0000 (10:00 -0800)]
gtk.ffi: Find the right gtk library in a startup-hook. Necessary because gtk is not in the same place on varius distros, so just find it on demand. Fixes #1185.

9 years agoforestdb: Support more api calls.
Doug Coleman [Wed, 5 Nov 2014 18:03:52 +0000 (10:03 -0800)]
forestdb: Support more api calls.

9 years agoLink to the Python binding documentation from the Python vocabulary
Benjamin Pollack [Tue, 4 Nov 2014 23:38:10 +0000 (18:38 -0500)]
Link to the Python binding documentation from the Python vocabulary

9 years agoextra: Update usages of CONSTRUCTOR: for new parameter.
Doug Coleman [Tue, 4 Nov 2014 23:59:13 +0000 (15:59 -0800)]
extra: Update usages of CONSTRUCTOR: for new parameter.

9 years agoconstructors: Unify C:, CONSTRUCTOR:, NAMED-CONSTRUCTOR:, and DEFAULT-CONSTRUCTOR...
Doug Coleman [Tue, 4 Nov 2014 23:56:23 +0000 (15:56 -0800)]
constructors: Unify C:, CONSTRUCTOR:, NAMED-CONSTRUCTOR:, and DEFAULT-CONSTRUCTOR: by requiring the class name after the constructor word name.

example: CONSTRUCTOR: <foo> foo ( stack effect -- obj ) ;

The benefit is that we can now search for <foo> by name and it's not auto-generated--less magic. Also, there are fewer kinds of constructors.

Rename CONSTRUCTOR-SYNTAX: to SLOT-CONSTRUCTOR: since it's more descriptive.

9 years agofuel: get-vocabs word is redundant
Björn Lindqvist [Mon, 3 Nov 2014 18:50:25 +0000 (19:50 +0100)]
fuel: get-vocabs word is redundant

9 years agoFUEL: when browsing vocab documentation, use the fuel-help--buffer-link variable...
Björn Lindqvist [Sat, 1 Nov 2014 22:10:45 +0000 (23:10 +0100)]
FUEL: when browsing vocab documentation, use the fuel-help--buffer-link variable to determine what vocabulary we are "in"

9 years agoFUEL: unit tests for fuel, only 2 so far but the number is expected to grow
Björn Lindqvist [Sat, 1 Nov 2014 21:11:48 +0000 (22:11 +0100)]
FUEL: unit tests for fuel, only 2 so far but the number is expected to grow

9 years agoFUEL: fix markup of stack effects of quotations nested in stack effects
Björn Lindqvist [Sat, 1 Nov 2014 21:08:04 +0000 (22:08 +0100)]
FUEL: fix markup of stack effects of quotations nested in stack effects

9 years agoforestdb.lib: use returned length since strings dont seem to be null terminated.
Doug Coleman [Tue, 4 Nov 2014 08:39:05 +0000 (00:39 -0800)]
forestdb.lib: use returned length since strings dont seem to be null terminated.

9 years agoforestdb.lib: Fix file name for test db.
Doug Coleman [Tue, 4 Nov 2014 08:19:25 +0000 (00:19 -0800)]
forestdb.lib: Fix file name for test db.

9 years agofurnace.utilities: fix docs for resolve-word-path.
John Benediktsson [Tue, 4 Nov 2014 06:26:22 +0000 (22:26 -0800)]
furnace.utilities: fix docs for resolve-word-path.

9 years agofurnace.utilities: refactor to not use make
Björn Lindqvist [Mon, 3 Nov 2014 21:05:17 +0000 (22:05 +0100)]
furnace.utilities: refactor to not use make

9 years agofurnace.utilities: use a method based on where instead of vocab-path to find dir...
Björn Lindqvist [Mon, 3 Nov 2014 17:47:22 +0000 (18:47 +0100)]
furnace.utilities: use a method based on where instead of vocab-path to find dir of vocab

9 years agoforestdb: Fix platforms.txt
Doug Coleman [Tue, 4 Nov 2014 02:10:17 +0000 (18:10 -0800)]
forestdb: Fix platforms.txt

9 years agoforestdb: Make an ffi binding and a basic lib wrapper that can save a key/document...
Doug Coleman [Mon, 3 Nov 2014 19:37:57 +0000 (11:37 -0800)]
forestdb: Make an ffi binding and a basic lib wrapper that can save a key/document and retrieve it by key.

9 years agovocabs.parser: need this wrapper.
John Benediktsson [Mon, 3 Nov 2014 14:45:53 +0000 (06:45 -0800)]
vocabs.parser: need this wrapper.

9 years agocore: get rid of some unnecessary wrappers.
John Benediktsson [Mon, 3 Nov 2014 04:16:22 +0000 (20:16 -0800)]
core: get rid of some unnecessary wrappers.

9 years agoFactor.app: update to 0.98 and update copyright years.
John Benediktsson [Mon, 3 Nov 2014 00:57:04 +0000 (16:57 -0800)]
Factor.app: update to 0.98 and update copyright years.

9 years agotar: cleanup stack effects, make read-data-blocks recursive. 0.97
John Benediktsson [Sun, 2 Nov 2014 19:38:49 +0000 (11:38 -0800)]
tar: cleanup stack effects, make read-data-blocks recursive.

9 years agotar: cleanup stack effects, minor things.
John Benediktsson [Sun, 2 Nov 2014 18:32:35 +0000 (10:32 -0800)]
tar: cleanup stack effects, minor things.

9 years agotar: Fix comment, just trim tail.
Doug Coleman [Sun, 2 Nov 2014 17:54:01 +0000 (09:54 -0800)]
tar: Fix comment, just trim tail.

9 years agosequences: Add examples for some words.
Doug Coleman [Sun, 2 Nov 2014 17:44:03 +0000 (09:44 -0800)]
sequences: Add examples for some words.

9 years agotar: Couple of optimizations.
Doug Coleman [Sun, 2 Nov 2014 06:11:35 +0000 (23:11 -0700)]
tar: Couple of optimizations.

9 years agoRevert "io.backend.unix.macosx: Trying to change instances of USE: to require if"
John Benediktsson [Sat, 1 Nov 2014 22:29:37 +0000 (15:29 -0700)]
Revert "io.backend.unix.macosx: Trying to change instances of USE: to require if"

This reverts commit 4bab33bddb08427a1dbe96fb936b1a9c01ec25ca.

9 years agozeromq: Opaque unit tests that keep failing are bad. Change to something
Doug Coleman [Sat, 1 Nov 2014 20:19:53 +0000 (13:19 -0700)]
zeromq: Opaque unit tests that keep failing are bad. Change to something
we can debug.

9 years agoio.backend.unix.macosx: Trying to change instances of USE: to require if
Doug Coleman [Sat, 1 Nov 2014 20:16:13 +0000 (13:16 -0700)]
io.backend.unix.macosx: Trying to change instances of USE: to require if
the vocab must be loaded but no symbols are directly depended upon.

9 years agoimap: Use uuids instead of random numbers.
Doug Coleman [Sat, 1 Nov 2014 18:36:43 +0000 (11:36 -0700)]
imap: Use uuids instead of random numbers.

9 years agoui.event-loop: No need to special-case ui.private now that the auto-use
Doug Coleman [Sat, 1 Nov 2014 18:35:55 +0000 (11:35 -0700)]
ui.event-loop: No need to special-case ui.private now that the auto-use
tool suggests private words.

9 years agocore: On Windows we depend on having io.strreams.byte-array for utf16
Doug Coleman [Sat, 1 Nov 2014 18:34:52 +0000 (11:34 -0700)]
core: On Windows we depend on having io.strreams.byte-array for utf16
support. Include this in the boot image instead of alien.strings.

9 years agoimap: linux-x64.64/foo existed, so we couldn't delete linux-x64.64/ for some reason.
Doug Coleman [Sat, 1 Nov 2014 05:39:16 +0000 (22:39 -0700)]
imap: linux-x64.64/foo existed, so we couldn't delete linux-x64.64/ for some reason.
Delete like crazypeople.
Memoize _my_ random number. Hopefully tests are robust now?

9 years agoalien.strings: Dependency on io.streams.byte-array. Clean this up somehow?
Doug Coleman [Sat, 1 Nov 2014 02:15:29 +0000 (19:15 -0700)]
alien.strings: Dependency on io.streams.byte-array. Clean this up somehow?

9 years agosequences: Better docs for member?
Doug Coleman [Sat, 1 Nov 2014 00:50:49 +0000 (17:50 -0700)]
sequences: Better docs for member?

9 years agosequences: Add examples for member? word.
Doug Coleman [Sat, 1 Nov 2014 00:46:36 +0000 (17:46 -0700)]
sequences: Add examples for member? word.

9 years agotools.scaffold: Make a better scaffold-examples word in hopes it will cause more...
Doug Coleman [Sat, 1 Nov 2014 00:30:30 +0000 (17:30 -0700)]
tools.scaffold: Make a better scaffold-examples word in hopes it will cause more examples to get written. Add more docs. Fix spacing bug in scaffold-undocumented.

9 years agococoa: switch back to an assoc, used by tools.deploy.shaker.strip-cocoa.
John Benediktsson [Fri, 31 Oct 2014 23:52:40 +0000 (16:52 -0700)]
cocoa: switch back to an assoc, used by tools.deploy.shaker.strip-cocoa.

9 years agopython.objects: use flags{ } for flags.
John Benediktsson [Fri, 31 Oct 2014 18:35:15 +0000 (11:35 -0700)]
python.objects: use flags{ } for flags.

9 years agococoa: fix requirement that mac deploys have high reflection.
John Benediktsson [Fri, 31 Oct 2014 18:33:19 +0000 (11:33 -0700)]
cocoa: fix requirement that mac deploys have high reflection.

9 years agopython: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171
Björn Lindqvist [Fri, 31 Oct 2014 17:40:47 +0000 (18:40 +0100)]
python: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171

9 years agoio.encodings: fix for read-until seps not containing \n.
John Benediktsson [Fri, 31 Oct 2014 16:33:59 +0000 (09:33 -0700)]
io.encodings: fix for read-until seps not containing \n.

9 years agocore: Remove trailing whitespace.
Doug Coleman [Fri, 31 Oct 2014 08:14:31 +0000 (01:14 -0700)]
core: Remove trailing whitespace.

9 years agoio.encodings: For decoders, try to gobble up the next newline if cr>> is true in...
Doug Coleman [Fri, 31 Oct 2014 07:58:53 +0000 (00:58 -0700)]
io.encodings: For decoders, try to gobble up the next newline if cr>> is true in stream-read-until. Add unit test. Fixes #1177.

9 years agobyte-vectors: dos2unix
Doug Coleman [Fri, 31 Oct 2014 07:45:51 +0000 (00:45 -0700)]
byte-vectors: dos2unix

9 years agoeditors.sublime: oops.
Doug Coleman [Fri, 31 Oct 2014 02:41:59 +0000 (19:41 -0700)]
editors.sublime: oops.

9 years agoeditors.sublime: Prefer sublime 3 over sublime 2 on mac.
Doug Coleman [Fri, 31 Oct 2014 02:16:02 +0000 (19:16 -0700)]
editors.sublime: Prefer sublime 3 over sublime 2 on mac.

9 years agoparser.notes: Remove trailing whitespace the parser noticed.
Doug Coleman [Thu, 30 Oct 2014 23:19:30 +0000 (16:19 -0700)]
parser.notes: Remove trailing whitespace the parser noticed.

9 years agographs: using conjoin.
John Benediktsson [Thu, 30 Oct 2014 18:30:21 +0000 (11:30 -0700)]
graphs: using conjoin.

9 years agoio.backend.unix.macosx: need this for deploy.
John Benediktsson [Sun, 26 Oct 2014 15:44:41 +0000 (08:44 -0700)]
io.backend.unix.macosx: need this for deploy.

9 years agoparser: Fix for empty word list. Oops.
Doug Coleman [Tue, 28 Oct 2014 02:38:32 +0000 (19:38 -0700)]
parser: Fix for empty word list. Oops.

9 years agopython.objects: fix <py-cfunction> need to malloc-struct PyMethodDef
Björn Lindqvist [Mon, 27 Oct 2014 22:12:47 +0000 (23:12 +0100)]
python.objects: fix <py-cfunction> need to malloc-struct PyMethodDef

9 years agocore/basis: Trim or reorganize a few using lists. Playing around with auto-use restar...
Doug Coleman [Mon, 27 Oct 2014 20:39:08 +0000 (13:39 -0700)]
core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words.

9 years agoparser: Cleaner fix, comments. Fixes #1174.
Doug Coleman [Mon, 27 Oct 2014 19:12:23 +0000 (12:12 -0700)]
parser: Cleaner fix, comments. Fixes #1174.

9 years agoparser: Consider private words now for autocompletes, but to avoid pulling in private...
Doug Coleman [Mon, 27 Oct 2014 19:01:37 +0000 (12:01 -0700)]
parser: Consider private words now for autocompletes, but to avoid pulling in private words unexpectedly, throw a restart that confirms you really want the private word. Fixes #1174.

9 years agopython: Fix >py stack effect for docs.
Doug Coleman [Mon, 27 Oct 2014 18:33:59 +0000 (11:33 -0700)]
python: Fix >py stack effect for docs.

9 years agopython.syntax: new way to bind python functions to factor words and updated tests
Björn Lindqvist [Mon, 27 Oct 2014 12:41:03 +0000 (13:41 +0100)]
python.syntax: new way to bind python functions to factor words and updated tests

this way avoids binding literal alien values inside the words which is
just wrong. the hardcoded alien addresses goes "out of sync" when
factor is restarded and causes crashes.

9 years agopython.tests: more destructors & refcounting tests
Björn Lindqvist [Mon, 27 Oct 2014 12:30:54 +0000 (13:30 +0100)]
python.tests: more destructors & refcounting tests

9 years agopython.modules: vocab hierarchy for standard library modules
Björn Lindqvist [Mon, 27 Oct 2014 12:24:33 +0000 (13:24 +0100)]
python.modules: vocab hierarchy for standard library modules

pre-existing bindings for various python modules can be placed here so
that they dont have to be redeclared for everyone using them

9 years agopython: correction of reference counting logic and addition of None bindings
Björn Lindqvist [Sun, 26 Oct 2014 23:23:54 +0000 (00:23 +0100)]
python: correction of reference counting logic and addition of None bindings

9 years agopython.errors: new semantics for unsteal-ref
Björn Lindqvist [Sun, 26 Oct 2014 23:21:54 +0000 (00:21 +0100)]
python.errors: new semantics for unsteal-ref

9 years agojamshred.player: Use nano-count instead of system-micros.
Doug Coleman [Mon, 27 Oct 2014 00:22:20 +0000 (17:22 -0700)]
jamshred.player: Use nano-count instead of system-micros.

9 years agoui.event-loop: Fix using list.
Doug Coleman [Sun, 26 Oct 2014 23:26:51 +0000 (16:26 -0700)]
ui.event-loop: Fix using list.

9 years agoprocessing.shapes: fix using.
John Benediktsson [Sat, 25 Oct 2014 05:32:54 +0000 (22:32 -0700)]
processing.shapes: fix using.

9 years agounmaintained: restore pong.
John Benediktsson [Sat, 25 Oct 2014 05:29:44 +0000 (22:29 -0700)]
unmaintained: restore pong.

9 years agounmaintained: some cleanup.
John Benediktsson [Sat, 25 Oct 2014 05:10:08 +0000 (22:10 -0700)]
unmaintained: some cleanup.

9 years agounmaintained: restoring trails, which is a neat processing demo.
John Benediktsson [Sat, 25 Oct 2014 04:56:37 +0000 (21:56 -0700)]
unmaintained: restoring trails, which is a neat processing demo.

9 years agounmaintained: fix accessors (>>foo) should be foo<<.
John Benediktsson [Sat, 25 Oct 2014 04:39:58 +0000 (21:39 -0700)]
unmaintained: fix accessors (>>foo) should be foo<<.

9 years agounmaintained: reanimated cairo demos, mostly working.
John Benediktsson [Sat, 25 Oct 2014 04:39:18 +0000 (21:39 -0700)]
unmaintained: reanimated cairo demos, mostly working.

9 years agoboids: removing unnecessary with-translation.
John Benediktsson [Sat, 25 Oct 2014 04:34:53 +0000 (21:34 -0700)]
boids: removing unnecessary with-translation.

9 years agoimages: cleanup using.
John Benediktsson [Sat, 25 Oct 2014 01:18:45 +0000 (18:18 -0700)]
images: cleanup using.

9 years agojamshred: it lives again, now you can jam and shred!
John Benediktsson [Sat, 25 Oct 2014 01:17:33 +0000 (18:17 -0700)]
jamshred: it lives again, now you can jam and shred!

9 years agoio/ui: slim down the USE: list
John Benediktsson [Sat, 25 Oct 2014 00:33:27 +0000 (17:33 -0700)]
io/ui: slim down the USE: list

9 years agoio.backend: Remove duplicate definition of file-mode. Add mkdir-mode using non-magic...
Doug Coleman [Sat, 25 Oct 2014 00:16:40 +0000 (17:16 -0700)]
io.backend: Remove duplicate definition of file-mode. Add mkdir-mode using non-magic symbols. Cleanup imports.

9 years agolibc: don't use unparse which requires prettyprint.
John Benediktsson [Sat, 25 Oct 2014 00:09:27 +0000 (17:09 -0700)]
libc: don't use unparse which requires prettyprint.

9 years agoui.gadgets.tables: show summary for mouse row or selected row.
John Benediktsson [Fri, 24 Oct 2014 23:32:21 +0000 (16:32 -0700)]
ui.gadgets.tables: show summary for mouse row or selected row.

9 years agoui.gadgets.buttons: use hide-status on button-leave.
John Benediktsson [Fri, 24 Oct 2014 23:30:29 +0000 (16:30 -0700)]
ui.gadgets.buttons: use hide-status on button-leave.

9 years agohelp.topics: make wrappers unwrap into links.
John Benediktsson [Fri, 24 Oct 2014 00:10:05 +0000 (17:10 -0700)]
help.topics: make wrappers unwrap into links.

9 years agopython: fix a reference leak in the (>py) word
Björn Lindqvist [Thu, 23 Oct 2014 23:18:57 +0000 (01:18 +0200)]
python: fix a reference leak in the (>py) word

9 years agopython: feature to create python callbacks/functions, now you can call hofs like...
Björn Lindqvist [Thu, 23 Oct 2014 23:01:15 +0000 (01:01 +0200)]
python: feature to create python callbacks/functions, now you can call hofs like map and reduce

9 years agopython: new syntax PY-QUALIFIED-FROM, so you can import eg __builtin__:map and not...
Björn Lindqvist [Thu, 23 Oct 2014 16:43:36 +0000 (18:43 +0200)]
python: new syntax PY-QUALIFIED-FROM, so you can import eg __builtin__:map and not have it clash with factors map

9 years agoassocs.extras: adding delete-value-at.
John Benediktsson [Thu, 23 Oct 2014 22:08:38 +0000 (15:08 -0700)]
assocs.extras: adding delete-value-at.

9 years agopeg.ebnf: Update docs for peg change.
Doug Coleman [Thu, 23 Oct 2014 20:47:40 +0000 (13:47 -0700)]
peg.ebnf: Update docs for peg change.

9 years agopeg.debugger: don't use formatting.
John Benediktsson [Thu, 23 Oct 2014 19:01:51 +0000 (12:01 -0700)]
peg.debugger: don't use formatting.

9 years agopeg: add 'got' slot to parse-error, so you get a little more info about why the parsi...
Björn Lindqvist [Tue, 21 Oct 2014 14:27:33 +0000 (16:27 +0200)]
peg: add 'got' slot to parse-error, so you get a little more info about why the parsing fails

9 years agohttp.server: handle certain parse-errors from the peg vocab
Björn Lindqvist [Tue, 21 Oct 2014 16:39:24 +0000 (18:39 +0200)]
http.server: handle certain parse-errors from the peg vocab

Browsers that can't verify the certificate doesn't send any request at
all which causes parse-errors to be unnecessarily thrown and logged.

9 years agocompiler.cfg.stacks.local: Have unit test load prettyprint implementation for ds...
Doug Coleman [Wed, 22 Oct 2014 17:31:27 +0000 (10:31 -0700)]
compiler.cfg.stacks.local: Have unit test load prettyprint implementation for ds-loc so that it always prints as "D 4".

9 years agocompiler.tests.alien: use the with-callback combinator to plug the memory leaks in...
Björn Lindqvist [Wed, 22 Oct 2014 12:44:10 +0000 (14:44 +0200)]
compiler.tests.alien: use the with-callback combinator to plug the memory leaks in the tests

9 years agoalien.tests: fix the test cases so they dont leak, and new tc for with-callback
Björn Lindqvist [Wed, 22 Oct 2014 10:24:44 +0000 (12:24 +0200)]
alien.tests: fix the test cases so they dont leak, and new tc for with-callback

9 years agoalien,stack-checker.alien: new word with-callback
Björn Lindqvist [Wed, 22 Oct 2014 10:23:29 +0000 (12:23 +0200)]
alien,stack-checker.alien: new word with-callback

Since callbacks aren't automatically deallocated this word intends to
make sure "inline" callbacks are.

9 years agoFUEL: fix in table rendering, previously it cutted off some cells with to much text 1166/head
Björn Lindqvist [Tue, 21 Oct 2014 21:20:47 +0000 (23:20 +0200)]
FUEL: fix in table rendering, previously it cutted off some cells with to much text

9 years agocpu.x86.assembler.operands: fix help-lint.
John Benediktsson [Mon, 20 Oct 2014 16:24:20 +0000 (09:24 -0700)]
cpu.x86.assembler.operands: fix help-lint.

9 years agostack-checker: make this an unchecked-example.
John Benediktsson [Sun, 19 Oct 2014 15:29:51 +0000 (08:29 -0700)]
stack-checker: make this an unchecked-example.

9 years agocompiler: resolve duplicate doc for "compiled".
John Benediktsson [Sun, 19 Oct 2014 15:27:59 +0000 (08:27 -0700)]
compiler: resolve duplicate doc for "compiled".

9 years agocompiler.codegen.gc-maps: update docs so that they match how factors gc-maps currentl... 1163/head
Björn Lindqvist [Sun, 19 Oct 2014 12:17:54 +0000 (14:17 +0200)]
compiler.codegen.gc-maps: update docs so that they match how factors gc-maps currently work

9 years agoDocs: fixing smaller help-lint nitpicks
Björn Lindqvist [Sun, 19 Oct 2014 12:05:06 +0000 (14:05 +0200)]
Docs: fixing smaller help-lint nitpicks

9 years agocompiler.cfg.*: more stub docs for cfg construction words
Björn Lindqvist [Sun, 19 Oct 2014 11:45:42 +0000 (13:45 +0200)]
compiler.cfg.*: more stub docs for cfg construction words

9 years agocompiler.codegen.*: help for resolve-label misplaced -- move it
Björn Lindqvist [Sun, 19 Oct 2014 11:41:45 +0000 (13:41 +0200)]
compiler.codegen.*: help for resolve-label misplaced -- move it

9 years agocpu.*: docs and tests for words in the assembler
Björn Lindqvist [Sun, 19 Oct 2014 11:40:41 +0000 (13:40 +0200)]
cpu.*: docs and tests for words in the assembler

9 years agocompiler,cpu: more docs
Björn Lindqvist [Tue, 14 Oct 2014 15:37:46 +0000 (17:37 +0200)]
compiler,cpu: more docs