]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agoFactor.app: enable NSHighResolutionCapable.
John Benediktsson [Thu, 1 Nov 2012 21:27:31 +0000 (14:27 -0700)]
Factor.app: enable NSHighResolutionCapable.

11 years agoassocs.extras: use min-length in zip-as.
John Benediktsson [Tue, 30 Oct 2012 16:50:53 +0000 (09:50 -0700)]
assocs.extras: use min-length in zip-as.

11 years agosequences.extras: adding a (slow) arg-sort.
John Benediktsson [Tue, 30 Oct 2012 00:45:33 +0000 (17:45 -0700)]
sequences.extras: adding a (slow) arg-sort.

11 years agoui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get...
Doug Coleman [Mon, 29 Oct 2012 17:56:34 +0000 (10:56 -0700)]
ui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get deleted when Factor exits. Fixes #548. Add paste-selection, but commented out for now.

11 years agogrouping: The expectation is that if there is a virtual clump of length N, then each...
Doug Coleman [Mon, 29 Oct 2012 16:47:15 +0000 (09:47 -0700)]
grouping: The expectation is that if there is a virtual clump of length N, then each iteration through that clump there are N elements available. This patch breaks that assumption.
Revert "change clump when the group size is greater than the sequence length"

This reverts commit baedb316c5e5c966400b903ac9bebd9bc70fbeba.

Conflicts:
basis/grouping/grouping-docs.factor
basis/grouping/grouping-tests.factor
basis/grouping/grouping.factor

11 years agoAllow circular clumps with a length smaller than the clump
Jon Harper [Sun, 28 Oct 2012 12:12:46 +0000 (13:12 +0100)]
Allow circular clumps with a length smaller than the clump

Conflicts:
basis/grouping/grouping-tests.factor

11 years agofixup: forgot the tests
Jon Harper [Sun, 28 Oct 2012 14:38:58 +0000 (15:38 +0100)]
fixup: forgot the tests

11 years agoclump: fix empty sequence input. rephrase docs a bit
Jon Harper [Sun, 28 Oct 2012 14:28:05 +0000 (15:28 +0100)]
clump: fix empty sequence input. rephrase docs a bit

11 years agochange clump when the group size is greater than the sequence length
Jon Harper [Sun, 28 Oct 2012 13:34:55 +0000 (14:34 +0100)]
change clump when the group size is greater than the sequence length

11 years agoFriendlier grouping/clumping error message
Jon Harper [Sun, 28 Oct 2012 12:50:16 +0000 (13:50 +0100)]
Friendlier grouping/clumping error message

11 years agoos-unix: Actually call pthread_join() to avoid an infinite loop and 100% cpu usage...
Doug Coleman [Fri, 26 Oct 2012 17:36:01 +0000 (10:36 -0700)]
os-unix: Actually call pthread_join() to avoid an infinite loop and 100% cpu usage. It happens randomly. Fixes #738. Thanks to kkrev or frankfranks.

11 years agoio.streams.zeros: write only 'n' zeros.
John Benediktsson [Fri, 26 Oct 2012 14:48:51 +0000 (07:48 -0700)]
io.streams.zeros: write only 'n' zeros.

11 years agoio.streams.zeros: adding authors.txt.
John Benediktsson [Fri, 26 Oct 2012 05:00:35 +0000 (22:00 -0700)]
io.streams.zeros: adding authors.txt.

11 years agoio.streams.random: stream-copy disposes, so we don't need to.
John Benediktsson [Fri, 26 Oct 2012 05:00:02 +0000 (22:00 -0700)]
io.streams.random: stream-copy disposes, so we don't need to.

11 years agounix: adding truncate-file.
John Benediktsson [Fri, 26 Oct 2012 04:51:08 +0000 (21:51 -0700)]
unix: adding truncate-file.

11 years agoio.streams.random: moving random-file here.
John Benediktsson [Fri, 26 Oct 2012 04:47:42 +0000 (21:47 -0700)]
io.streams.random: moving random-file here.

11 years agoio.streams.zeros: adding zero-file.
John Benediktsson [Fri, 26 Oct 2012 04:46:11 +0000 (21:46 -0700)]
io.streams.zeros: adding zero-file.

11 years agoio.streams.zeros: adding @erg's zero-stream.
John Benediktsson [Fri, 26 Oct 2012 04:43:52 +0000 (21:43 -0700)]
io.streams.zeros: adding @erg's zero-stream.

11 years agoio.random: adding "random-file".
John Benediktsson [Fri, 26 Oct 2012 04:40:43 +0000 (21:40 -0700)]
io.random: adding "random-file".

11 years agoio.streams.random: adding @erg's random-stream.
John Benediktsson [Fri, 26 Oct 2012 04:37:58 +0000 (21:37 -0700)]
io.streams.random: adding @erg's random-stream.

11 years agomath.statistics: add some padding in the docs (looks better).
John Benediktsson [Fri, 26 Oct 2012 02:48:05 +0000 (19:48 -0700)]
math.statistics: add some padding in the docs (looks better).

11 years agomachine-learning.one-hot: Use the example from my blog post as a unit test.
Doug Coleman [Fri, 26 Oct 2012 01:15:56 +0000 (18:15 -0700)]
machine-learning.one-hot: Use the example from my blog post as a unit test.

11 years agomath.statistics: add other cumulative words to help article.
John Benediktsson [Thu, 25 Oct 2012 23:30:31 +0000 (16:30 -0700)]
math.statistics: add other cumulative words to help article.

11 years agomachine-learning.one-hot: Start a machine learning library with a feature from scikit...
Doug Coleman [Thu, 25 Oct 2012 23:17:26 +0000 (16:17 -0700)]
machine-learning.one-hot: Start a machine learning library with a feature from scikit-learn.

11 years agosequences.extras: Add set-nths and set-nths-unsafe for setting many indices in a...
Doug Coleman [Thu, 25 Oct 2012 23:14:07 +0000 (16:14 -0700)]
sequences.extras: Add set-nths and set-nths-unsafe for setting many indices in a sequence to the same value.

11 years agomath.statistics: Add cum-count, cum-sum0, cum-map0. Add docs.
Doug Coleman [Thu, 25 Oct 2012 23:13:25 +0000 (16:13 -0700)]
math.statistics: Add cum-count, cum-sum0, cum-map0. Add docs.

11 years agosequences.extras: Add head-as, head*-as, tail-as, tail*-as.
Doug Coleman [Thu, 25 Oct 2012 18:38:31 +0000 (11:38 -0700)]
sequences.extras: Add head-as, head*-as, tail-as, tail*-as.

11 years agoio.directories: defining "?delete-file".
John Benediktsson [Thu, 25 Oct 2012 17:07:15 +0000 (10:07 -0700)]
io.directories: defining "?delete-file".

11 years agocalendar: Add yesterday, tomorrow, o'clock, am, pm.
Doug Coleman [Thu, 25 Oct 2012 16:46:11 +0000 (09:46 -0700)]
calendar: Add yesterday, tomorrow, o'clock, am, pm.

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.