]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agowindows: Fix bootstrap.
Doug Coleman [Thu, 25 Oct 2012 15:33:05 +0000 (08:33 -0700)]
windows: Fix bootstrap.

11 years agotar: Don't throw an error if the file does not exist to unlink.
Doug Coleman [Thu, 25 Oct 2012 15:35:16 +0000 (08:35 -0700)]
tar: Don't throw an error if the file does not exist to unlink.

11 years agoio.files.acls.macosx: finish separation of ffi vocab.
John Benediktsson [Thu, 25 Oct 2012 03:28:54 +0000 (20:28 -0700)]
io.files.acls.macosx: finish separation of ffi vocab.

11 years agoio.files.acls.macosx.lib: removing redundant vocab.
John Benediktsson [Thu, 25 Oct 2012 03:23:54 +0000 (20:23 -0700)]
io.files.acls.macosx.lib: removing redundant vocab.

11 years agosbufs: no need to contract.
John Benediktsson [Thu, 25 Oct 2012 03:16:34 +0000 (20:16 -0700)]
sbufs: no need to contract.

11 years agounix: adding mkfifo.
John Benediktsson [Thu, 25 Oct 2012 03:08:32 +0000 (20:08 -0700)]
unix: adding mkfifo.

11 years agounix.ffi.macosx: can't use iovec here...
John Benediktsson [Thu, 25 Oct 2012 03:08:20 +0000 (20:08 -0700)]
unix.ffi.macosx: can't use iovec here...

11 years agounix.ffi: adding sendfile.
John Benediktsson [Thu, 25 Oct 2012 02:53:39 +0000 (19:53 -0700)]
unix.ffi: adding sendfile.

11 years agounix.ffi: adding readv/writev.
John Benediktsson [Thu, 25 Oct 2012 02:53:24 +0000 (19:53 -0700)]
unix.ffi: adding readv/writev.

11 years agocgi: add some docs.
John Benediktsson [Thu, 25 Oct 2012 02:19:14 +0000 (19:19 -0700)]
cgi: add some docs.

11 years agotools.which: adding the "which" command.
John Benediktsson [Thu, 25 Oct 2012 01:32:55 +0000 (18:32 -0700)]
tools.which: adding the "which" command.

11 years agowindows: Attempt to fix circularity.
Doug Coleman [Thu, 25 Oct 2012 02:02:59 +0000 (19:02 -0700)]
windows: Attempt to fix circularity.

11 years agotar: Fix pax_global_header. Make symlinks work, do them at the end. Untars the linux...
Doug Coleman [Thu, 25 Oct 2012 01:58:11 +0000 (18:58 -0700)]
tar: Fix pax_global_header. Make symlinks work, do them at the end. Untars the linux kernel again.

11 years agoio.files.info.unix: errno EACCES should be handled separately.
John Benediktsson [Thu, 25 Oct 2012 00:50:45 +0000 (17:50 -0700)]
io.files.info.unix: errno EACCES should be handled separately.

11 years agowindows.shell32: Throw an error if file does not exist on file-executable?
Doug Coleman [Thu, 25 Oct 2012 00:47:30 +0000 (17:47 -0700)]
windows.shell32: Throw an error if file does not exist on file-executable?
call.

11 years agoio.files.info: make access checks throw on file-does-not-exist.
John Benediktsson [Thu, 25 Oct 2012 00:39:19 +0000 (17:39 -0700)]
io.files.info: make access checks throw on file-does-not-exist.

11 years agoio.files.info.windows: Implement file-readable?, writable?, and executable?
Doug Coleman [Thu, 25 Oct 2012 00:28:50 +0000 (17:28 -0700)]
io.files.info.windows: Implement file-readable?, writable?, and executable?

11 years agoio.files.info.unix: make sure to normalize so special paths work.
John Benediktsson [Thu, 25 Oct 2012 00:11:35 +0000 (17:11 -0700)]
io.files.info.unix: make sure to normalize so special paths work.

11 years agoio.files.acls.macosx: works!
John Benediktsson [Thu, 25 Oct 2012 00:04:47 +0000 (17:04 -0700)]
io.files.acls.macosx: works!

11 years agoio.files.acls: cleanup.
John Benediktsson [Wed, 24 Oct 2012 23:51:07 +0000 (16:51 -0700)]
io.files.acls: cleanup.

11 years agoio.files.acls: Add what I have for acl support on macosx.
Doug Coleman [Wed, 24 Oct 2012 23:34:01 +0000 (16:34 -0700)]
io.files.acls: Add what I have for acl support on macosx.

11 years agoio.files.info: adding checks for read, write, or execute permissions.
John Benediktsson [Wed, 24 Oct 2012 23:44:12 +0000 (16:44 -0700)]
io.files.info: adding checks for read, write, or execute permissions.

11 years agounix.ffi: adding "access".
John Benediktsson [Wed, 24 Oct 2012 23:37:05 +0000 (16:37 -0700)]
unix.ffi: adding "access".

11 years agowindows.shell32: Add a way to find out the kind of executable of a file on
Doug Coleman [Wed, 24 Oct 2012 23:15:28 +0000 (16:15 -0700)]
windows.shell32: Add a way to find out the kind of executable of a file on
windows. Inline a word.

11 years agoterminal.linux: fix using.
John Benediktsson [Wed, 24 Oct 2012 23:02:11 +0000 (16:02 -0700)]
terminal.linux: fix using.

11 years agowindows.kernel32: Add function and some structs.
Doug Coleman [Wed, 24 Oct 2012 20:25:45 +0000 (13:25 -0700)]
windows.kernel32: Add function and some structs.

11 years agoterminal: adding "terminal-size" vocab.
John Benediktsson [Wed, 24 Oct 2012 20:40:39 +0000 (13:40 -0700)]
terminal: adding "terminal-size" vocab.

11 years agoxml.syntax: Nested xml literals were not handled correctly.
Doug Coleman [Wed, 24 Oct 2012 17:48:22 +0000 (10:48 -0700)]
xml.syntax: Nested xml literals were not handled correctly.

11 years agounix.ffi: adding fileno.
John Benediktsson [Wed, 24 Oct 2012 16:00:08 +0000 (09:00 -0700)]
unix.ffi: adding fileno.

11 years agoio.random: bit faster using set-nth-unsafe.
John Benediktsson [Wed, 24 Oct 2012 02:30:20 +0000 (19:30 -0700)]
io.random: bit faster using set-nth-unsafe.

11 years agoio.random: much faster version of random-lines for large n.
John Benediktsson [Wed, 24 Oct 2012 02:03:34 +0000 (19:03 -0700)]
io.random: much faster version of random-lines for large n.

11 years agoopengl.gl: cleanup formatting.
John Benediktsson [Wed, 24 Oct 2012 00:13:06 +0000 (17:13 -0700)]
opengl.gl: cleanup formatting.

11 years agoio.random: Fix off-by-one error.
Doug Coleman [Tue, 23 Oct 2012 23:55:17 +0000 (16:55 -0700)]
io.random: Fix off-by-one error.

11 years agoAdd glDrawElementsBaseVertex
PGGB [Tue, 23 Oct 2012 22:03:59 +0000 (00:03 +0200)]
Add glDrawElementsBaseVertex

11 years agoio.random: cleanup using "each-numbered-line", implement "random-lines".
John Benediktsson [Tue, 23 Oct 2012 23:11:07 +0000 (16:11 -0700)]
io.random: cleanup using "each-numbered-line", implement "random-lines".

11 years agosequences.extras: implement "insert-nth!".
John Benediktsson [Tue, 23 Oct 2012 23:10:15 +0000 (16:10 -0700)]
sequences.extras: implement "insert-nth!".

11 years agoio.random: rename to "random-readln".
John Benediktsson [Tue, 23 Oct 2012 22:25:08 +0000 (15:25 -0700)]
io.random: rename to "random-readln".

11 years agoio.random: adding a "random-line" word.
John Benediktsson [Tue, 23 Oct 2012 22:24:03 +0000 (15:24 -0700)]
io.random: adding a "random-line" word.

11 years agohashtables: use "4drop" instead of "drop 3drop".
John Benediktsson [Tue, 23 Oct 2012 19:26:14 +0000 (12:26 -0700)]
hashtables: use "4drop" instead of "drop 3drop".

11 years agochange some "2drop 2drop" to "4drop".
John Benediktsson [Tue, 23 Oct 2012 19:21:30 +0000 (12:21 -0700)]
change some "2drop 2drop" to "4drop".

11 years agobenchmark.udp-echo0: "over over" is just "2dup".
John Benediktsson [Tue, 23 Oct 2012 19:16:12 +0000 (12:16 -0700)]
benchmark.udp-echo0: "over over" is just "2dup".

11 years agomath.primes.erato: minor performance improvements.
John Benediktsson [Tue, 23 Oct 2012 17:49:45 +0000 (10:49 -0700)]
math.primes.erato: minor performance improvements.

11 years agotools.completion: don't use file-directory.
John Benediktsson [Tue, 23 Oct 2012 16:49:44 +0000 (09:49 -0700)]
tools.completion: don't use file-directory.

11 years agoio.pathnames: remove file-directory (redundant to parent-directory).
John Benediktsson [Tue, 23 Oct 2012 16:47:57 +0000 (09:47 -0700)]
io.pathnames: remove file-directory (redundant to parent-directory).

11 years agoChange "3dup drop" to "2over".
John Benediktsson [Tue, 23 Oct 2012 03:45:15 +0000 (20:45 -0700)]
Change "3dup drop" to "2over".

11 years agourls: allow pathnames to convert >url.
John Benediktsson [Tue, 23 Oct 2012 03:16:19 +0000 (20:16 -0700)]
urls: allow pathnames to convert >url.

11 years agopresent: simplify M\ pathname present.
John Benediktsson [Tue, 23 Oct 2012 03:11:11 +0000 (20:11 -0700)]
present: simplify M\ pathname present.

11 years agopresent: implement M\ pathname present.
John Benediktsson [Tue, 23 Oct 2012 02:49:27 +0000 (19:49 -0700)]
present: implement M\ pathname present.

11 years agotools.completion: minor fix to complete against file-name, not full-path.
John Benediktsson [Tue, 23 Oct 2012 02:17:52 +0000 (19:17 -0700)]
tools.completion: minor fix to complete against file-name, not full-path.

11 years agoui.tools.listener: adding path completion to listener.
John Benediktsson [Tue, 23 Oct 2012 01:51:52 +0000 (18:51 -0700)]
ui.tools.listener: adding path completion to listener.

11 years agotools.completion: better paths-matching.
John Benediktsson [Tue, 23 Oct 2012 01:51:38 +0000 (18:51 -0700)]
tools.completion: better paths-matching.

11 years agotools.completion: fix CHAR: and COLOR: completion to require extra tokens.
John Benediktsson [Tue, 23 Oct 2012 01:29:53 +0000 (18:29 -0700)]
tools.completion: fix CHAR: and COLOR: completion to require extra tokens.

11 years agoio.pathnames: adding file-directory.
John Benediktsson [Tue, 23 Oct 2012 01:09:58 +0000 (18:09 -0700)]
io.pathnames: adding file-directory.

11 years agocolors.yiq: adding YIQ color support.
John Benediktsson [Mon, 22 Oct 2012 22:20:03 +0000 (15:20 -0700)]
colors.yiq: adding YIQ color support.

11 years agocolors.hsl: adding HSL color support.
John Benediktsson [Mon, 22 Oct 2012 22:19:51 +0000 (15:19 -0700)]
colors.hsl: adding HSL color support.

11 years agoopencl: Make it compile at least. Throws error -38 on my linux box.
Doug Coleman [Mon, 22 Oct 2012 21:02:19 +0000 (14:02 -0700)]
opencl: Make it compile at least. Throws error -38 on my linux box.

11 years agovim: update syntax file for new kernel words.
John Benediktsson [Mon, 22 Oct 2012 20:46:17 +0000 (13:46 -0700)]
vim: update syntax file for new kernel words.

11 years agostack-checker: adding 4dup and 4drop.
John Benediktsson [Mon, 22 Oct 2012 19:27:15 +0000 (12:27 -0700)]
stack-checker: adding 4dup and 4drop.

11 years agoRevert "sequences: change map-integers to require fixnum length."
John Benediktsson [Mon, 22 Oct 2012 18:13:56 +0000 (11:13 -0700)]
Revert "sequences: change map-integers to require fixnum length."

This reverts commit 0f71db0c9716682bedf3d7b260e8b0ea5993bfc0.

11 years agosequences: change map-integers to require fixnum length.
John Benediktsson [Mon, 22 Oct 2012 17:31:51 +0000 (10:31 -0700)]
sequences: change map-integers to require fixnum length.

11 years agomath.matrices: Trying to flesh out the matrices vocabulary a bit.
Doug Coleman [Sun, 14 Oct 2012 18:35:13 +0000 (11:35 -0700)]
math.matrices: Trying to flesh out the matrices vocabulary a bit.

11 years agotools.dns: Show ipv6 ips in host command.
Doug Coleman [Wed, 10 Oct 2012 22:00:48 +0000 (15:00 -0700)]
tools.dns: Show ipv6 ips in host command.

11 years agodns: Factor out filtering a and aaaa.
Doug Coleman [Wed, 10 Oct 2012 21:59:22 +0000 (14:59 -0700)]
dns: Factor out filtering a and aaaa.

11 years agostack-checker: Add alien-assembly to the do-not-compile list. Remove a duplicate...
Doug Coleman [Wed, 10 Oct 2012 21:14:45 +0000 (14:14 -0700)]
stack-checker: Add alien-assembly to the do-not-compile list. Remove a duplicate word from the do-not-call list. Reorder a bit.

11 years agomath.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population...
Doug Coleman [Wed, 3 Oct 2012 01:00:19 +0000 (18:00 -0700)]
math.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population (full) and unbiased (sample) statistics.

11 years agomath.matrices: Add some combinators for iterating over matrices. Add covariance matrix.
Doug Coleman [Wed, 3 Oct 2012 00:59:47 +0000 (17:59 -0700)]
math.matrices: Add some combinators for iterating over matrices. Add covariance matrix.

11 years agomath.matrics: Add some combinators and indexing words to math.matrices.
Doug Coleman [Wed, 3 Oct 2012 00:53:24 +0000 (17:53 -0700)]
math.matrics: Add some combinators and indexing words to math.matrices.

11 years agokernel: Add 4dup, 4drop, and 4cleave.
Doug Coleman [Fri, 28 Sep 2012 16:16:08 +0000 (09:16 -0700)]
kernel: Add 4dup, 4drop, and 4cleave.

11 years agocolors: can't bootstrap when using locals in colors...
John Benediktsson [Sun, 21 Oct 2012 21:53:24 +0000 (14:53 -0700)]
colors: can't bootstrap when using locals in colors...

11 years agocolors.hsv: adding complimentary-color.
John Benediktsson [Sun, 21 Oct 2012 20:24:51 +0000 (13:24 -0700)]
colors.hsv: adding complimentary-color.

11 years agocolors: adding inverse-color.
John Benediktsson [Sun, 21 Oct 2012 20:16:34 +0000 (13:16 -0700)]
colors: adding inverse-color.

11 years agocolors.hsv: adding rgba>hsva.
John Benediktsson [Sun, 21 Oct 2012 20:16:26 +0000 (13:16 -0700)]
colors.hsv: adding rgba>hsva.

11 years agocolors.cmyk: make sure cmyka is a color.
John Benediktsson [Sun, 21 Oct 2012 19:34:52 +0000 (12:34 -0700)]
colors.cmyk: make sure cmyka is a color.

11 years agocolors: adding linear-gradient.
John Benediktsson [Sun, 21 Oct 2012 19:32:45 +0000 (12:32 -0700)]
colors: adding linear-gradient.

11 years agocolors: fix using list, silly auto-use.
John Benediktsson [Sun, 21 Oct 2012 19:09:59 +0000 (12:09 -0700)]
colors: fix using list, silly auto-use.

11 years agocolors.cmyk: adding some docs.
John Benediktsson [Sun, 21 Oct 2012 19:06:40 +0000 (12:06 -0700)]
colors.cmyk: adding some docs.

11 years agocolors.gray: adding rgba>gray.
John Benediktsson [Sun, 21 Oct 2012 19:02:44 +0000 (12:02 -0700)]
colors.gray: adding rgba>gray.

11 years agocolors.cmyk: adding support for CMYK colors.
John Benediktsson [Sun, 21 Oct 2012 19:02:30 +0000 (12:02 -0700)]
colors.cmyk: adding support for CMYK colors.

11 years agoip-parser: minor cleanup.
John Benediktsson [Fri, 19 Oct 2012 00:01:49 +0000 (17:01 -0700)]
ip-parser: minor cleanup.

11 years agoip-parser: adding a "ping-compatible" IP address parser.
John Benediktsson [Thu, 18 Oct 2012 22:54:45 +0000 (15:54 -0700)]
ip-parser: adding a "ping-compatible" IP address parser.

11 years agorandom: support random on sets.
John Benediktsson [Fri, 5 Oct 2012 22:35:22 +0000 (15:35 -0700)]
random: support random on sets.

11 years agocompiler.tree.propagation: revert cleanup, this was more correct.
John Benediktsson [Fri, 5 Oct 2012 22:00:49 +0000 (15:00 -0700)]
compiler.tree.propagation: revert cleanup, this was more correct.

11 years agomath.extras: implement "search-sorted" and "weighted-random".
John Benediktsson [Fri, 5 Oct 2012 21:48:05 +0000 (14:48 -0700)]
math.extras: implement "search-sorted" and "weighted-random".

11 years agorandom: support "random" on floats (uses uniform-random-float).
John Benediktsson [Fri, 5 Oct 2012 21:47:40 +0000 (14:47 -0700)]
random: support "random" on floats (uses uniform-random-float).

11 years agocompiler.tree.propagation: throw the proper error in >fixnum methods.
John Benediktsson [Fri, 5 Oct 2012 16:54:51 +0000 (09:54 -0700)]
compiler.tree.propagation: throw the proper error in >fixnum methods.

11 years agocompiler.tree.propagation: cleanup known-words a bit.
John Benediktsson [Fri, 5 Oct 2012 16:47:27 +0000 (09:47 -0700)]
compiler.tree.propagation: cleanup known-words a bit.

11 years agoRevert "core: >array, >byte-vector, >hashtable, >vector should be inline."
John Benediktsson [Fri, 5 Oct 2012 15:30:41 +0000 (08:30 -0700)]
Revert "core: >array, >byte-vector, >hashtable, >vector should be inline."

This reverts commit cd6026e70efef3416d08160cd7cbaa5f67d8e0c7.

11 years agocompiler.tree.propagation: make sure integer>fixnum-strict infers a fixnum.
John Benediktsson [Fri, 5 Oct 2012 11:17:43 +0000 (04:17 -0700)]
compiler.tree.propagation: make sure integer>fixnum-strict infers a fixnum.

11 years agosequences.generalizations: add "nfind" and "nany?".
John Benediktsson [Thu, 4 Oct 2012 21:48:46 +0000 (14:48 -0700)]
sequences.generalizations: add "nfind" and "nany?".

11 years agoassocs.extras: adding if-assoc-empty.
John Benediktsson [Thu, 4 Oct 2012 11:08:44 +0000 (04:08 -0700)]
assocs.extras: adding if-assoc-empty.

11 years agorandom: implement random for assocs.
John Benediktsson [Wed, 3 Oct 2012 17:08:08 +0000 (10:08 -0700)]
random: implement random for assocs.

11 years agoui.backend.gtk: better gesture for shift tab
Jon Harper [Sat, 29 Sep 2012 13:49:42 +0000 (15:49 +0200)]
ui.backend.gtk: better gesture for shift tab

gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }

11 years agobit-sets: inline <bit-set>.
John Benediktsson [Sat, 29 Sep 2012 03:29:39 +0000 (20:29 -0700)]
bit-sets: inline <bit-set>.

11 years agocore: >array, >byte-vector, >hashtable, >vector should be inline.
John Benediktsson [Sat, 29 Sep 2012 02:31:14 +0000 (19:31 -0700)]
core: >array, >byte-vector, >hashtable, >vector should be inline.

11 years agoproject-euler.150: bit faster with inline.
John Benediktsson [Sat, 29 Sep 2012 02:21:23 +0000 (19:21 -0700)]
project-euler.150: bit faster with inline.

11 years agosmtp: plain-auth-string should return a ... string.
John Benediktsson [Sat, 29 Sep 2012 02:04:38 +0000 (19:04 -0700)]
smtp: plain-auth-string should return a ... string.

11 years agolibsvm: move to code-factor repository as it's not done yet.
Doug Coleman [Fri, 28 Sep 2012 00:04:10 +0000 (17:04 -0700)]
libsvm: move to code-factor repository as it's not done yet.

11 years agolibsvm: make unix-only for now.
John Benediktsson [Thu, 27 Sep 2012 19:29:50 +0000 (12:29 -0700)]
libsvm: make unix-only for now.

11 years agosequences.generalizations: fix stack effect docs for "nall?".
John Benediktsson [Thu, 27 Sep 2012 18:46:24 +0000 (11:46 -0700)]
sequences.generalizations: fix stack effect docs for "nall?".

11 years agosequences.generalizations: adding "nall?".
John Benediktsson [Thu, 27 Sep 2012 18:42:09 +0000 (11:42 -0700)]
sequences.generalizations: adding "nall?".