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

9 years agocompiler.cfg.*: more docs, tests and a small refactoring of the
Björn Lindqvist [Tue, 14 Oct 2014 11:41:14 +0000 (13:41 +0200)]
compiler.cfg.*: more docs, tests and a small refactoring of the
admissible-registers word

9 years agostack-checker,compiler: docs for stack-checker and compiler words
Björn Lindqvist [Mon, 13 Oct 2014 06:33:27 +0000 (08:33 +0200)]
stack-checker,compiler: docs for stack-checker and compiler words

9 years agocpu.architecture: %save-context example
Björn Lindqvist [Mon, 25 Aug 2014 13:26:35 +0000 (15:26 +0200)]
cpu.architecture: %save-context example

9 years agocompiler.codegen.gc-maps: initial docs
Björn Lindqvist [Wed, 20 Aug 2014 19:15:00 +0000 (21:15 +0200)]
compiler.codegen.gc-maps: initial docs

9 years agocompiler.*: doc improvements
Björn Lindqvist [Wed, 20 Aug 2014 19:14:28 +0000 (21:14 +0200)]
compiler.*: doc improvements

9 years agoio.launcher.windows: Make unit tests show that process fails rather than
Doug Coleman [Thu, 16 Oct 2014 23:40:49 +0000 (16:40 -0700)]
io.launcher.windows: Make unit tests show that process fails rather than
reporting bogus error. Fixes #1152 (it wasn't really a bug, just bad
tests).

9 years agomagic.ffi: look for "magic" (works better on linux).
John Benediktsson [Thu, 16 Oct 2014 01:22:57 +0000 (18:22 -0700)]
magic.ffi: look for "magic" (works better on linux).

9 years agomagic: some minor fixes.
John Benediktsson [Wed, 15 Oct 2014 20:46:47 +0000 (13:46 -0700)]
magic: some minor fixes.

9 years agomagic: bindings for libmagic.
John Benediktsson [Wed, 15 Oct 2014 03:50:38 +0000 (20:50 -0700)]
magic: bindings for libmagic.

9 years agofuel.eval: wrap fuel-pprint in a without-limits so fuel output isn't truncated
Björn Lindqvist [Fri, 10 Oct 2014 17:45:13 +0000 (19:45 +0200)]
fuel.eval: wrap fuel-pprint in a without-limits so fuel output isn't truncated

9 years agoio.streams.peek: Add file position indicator api calls.
Doug Coleman [Fri, 10 Oct 2014 18:54:35 +0000 (11:54 -0700)]
io.streams.peek: Add file position indicator api calls.

9 years agoimages.loader.tests: restructure the tests because the gtk linux backend doesn't...
Björn Lindqvist [Fri, 10 Oct 2014 09:37:54 +0000 (11:37 +0200)]
images.loader.tests: restructure the tests because the gtk linux backend doesn't handle some formats that the windows backend does

9 years agoimages.loader.gtk: fix fall-through in case problem in image>GdkPixbuf
Björn Lindqvist [Fri, 10 Oct 2014 09:14:57 +0000 (11:14 +0200)]
images.loader.gtk: fix fall-through in case problem in image>GdkPixbuf

9 years agoprettyprint: @mrjbq7's funny word for . that doesn't limit the length of things.
Doug Coleman [Fri, 10 Oct 2014 01:50:38 +0000 (18:50 -0700)]
prettyprint: @mrjbq7's funny word for . that doesn't limit the length of things.

9 years agoimap-tests: Reset test folder.
Doug Coleman [Thu, 9 Oct 2014 22:40:41 +0000 (15:40 -0700)]
imap-tests: Reset test folder.

9 years agoimages.loader.gdiplus: implementation of the image>stream word for GDI+
Björn Lindqvist [Wed, 8 Oct 2014 14:38:51 +0000 (16:38 +0200)]
images.loader.gdiplus: implementation of the image>stream word for GDI+
for Windows

9 years agoimages: move rowstride to the images vocab because it will be used by
Björn Lindqvist [Tue, 7 Oct 2014 15:33:30 +0000 (17:33 +0200)]
images: move rowstride to the images vocab because it will be used by
gdi too

9 years agotools.deploy-tests: inc size for linux32
Doug Coleman [Thu, 9 Oct 2014 19:22:04 +0000 (12:22 -0700)]
tools.deploy-tests: inc size for linux32

9 years agostack-checker.alien: We just want to track callbacks to see if we leak them, but...
Doug Coleman [Thu, 9 Oct 2014 08:01:27 +0000 (01:01 -0700)]
stack-checker.alien: We just want to track callbacks to see if we leak them, but not actually dispose of them yet. Fixes #1151.

9 years agocalendar.format: change rfc3339 to always print microseconds.
John Benediktsson [Wed, 8 Oct 2014 22:36:08 +0000 (15:36 -0700)]
calendar.format: change rfc3339 to always print microseconds.