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

11 years agosequences: change stack effect docs for map-reduce to be more consistent.
John Benediktsson [Thu, 27 Sep 2012 18:14:21 +0000 (11:14 -0700)]
sequences: change stack effect docs for map-reduce to be more consistent.

11 years agoupdate some docs that should use $quotation.
John Benediktsson [Thu, 27 Sep 2012 18:09:17 +0000 (11:09 -0700)]
update some docs that should use $quotation.

11 years agohelp.markup: require $quotation to specify stack effect.
John Benediktsson [Thu, 27 Sep 2012 18:08:52 +0000 (11:08 -0700)]
help.markup: require $quotation to specify stack effect.

11 years agovim: fix ".1" to be float syntax highlighted.
John Benediktsson [Thu, 27 Sep 2012 04:32:34 +0000 (21:32 -0700)]
vim: fix ".1" to be float syntax highlighted.

11 years agosequences.generalizations: adding nmap-reduce.
John Benediktsson [Thu, 27 Sep 2012 03:48:50 +0000 (20:48 -0700)]
sequences.generalizations: adding nmap-reduce.

11 years agolibsvm: Make it go.
Doug Coleman [Thu, 27 Sep 2012 01:10:28 +0000 (18:10 -0700)]
libsvm: Make it go.

11 years agosequences.zipped: adding zip virtual sequence.
John Benediktsson [Thu, 27 Sep 2012 01:07:53 +0000 (18:07 -0700)]
sequences.zipped: adding zip virtual sequence.

11 years agocombinators.smart: adding smart-2reduce and smart-2map-reduce, for @erg.
John Benediktsson [Thu, 27 Sep 2012 00:42:59 +0000 (17:42 -0700)]
combinators.smart: adding smart-2reduce and smart-2map-reduce, for @erg.

11 years agolibsvm: Make a binding to libsvm. It can call train, but the result is 'null' still.
Doug Coleman [Thu, 27 Sep 2012 00:14:17 +0000 (17:14 -0700)]
libsvm: Make a binding to libsvm. It can call train, but the result is 'null' still.

11 years agoalien.data: Add malloc-like for copying c-arrays into malloc'd c-arrays.
Doug Coleman [Wed, 26 Sep 2012 23:44:57 +0000 (16:44 -0700)]
alien.data: Add malloc-like for copying c-arrays into malloc'd c-arrays.

11 years agomath.statistics: empty-sequence is silly.
John Benediktsson [Thu, 27 Sep 2012 00:09:23 +0000 (17:09 -0700)]
math.statistics: empty-sequence is silly.

11 years agocombinators.smart: adding smart-reduce and smart-map-reduce.
John Benediktsson [Thu, 27 Sep 2012 00:01:19 +0000 (17:01 -0700)]
combinators.smart: adding smart-reduce and smart-map-reduce.

11 years agospecialized-arrays: Don't generate malloc-foo-array words. Use 4 \ double malloc...
Doug Coleman [Wed, 26 Sep 2012 23:24:21 +0000 (16:24 -0700)]
specialized-arrays: Don't generate malloc-foo-array words. Use 4 \ double malloc-array instead.

11 years agomath.extras: Call (gini).
Doug Coleman [Wed, 26 Sep 2012 22:34:08 +0000 (15:34 -0700)]
math.extras: Call (gini).

11 years agomath.extras: simpler herfindahl.
John Benediktsson [Wed, 26 Sep 2012 22:43:15 +0000 (15:43 -0700)]
math.extras: simpler herfindahl.

11 years agoassocs.extras: adding "of".
John Benediktsson [Wed, 26 Sep 2012 22:41:36 +0000 (15:41 -0700)]
assocs.extras: adding "of".

11 years agoassocs.extras: fix using.
John Benediktsson [Wed, 26 Sep 2012 22:34:31 +0000 (15:34 -0700)]
assocs.extras: fix using.

11 years agoassocs.extras: move assocs extras words here.
John Benediktsson [Wed, 26 Sep 2012 22:33:40 +0000 (15:33 -0700)]
assocs.extras: move assocs extras words here.

11 years agomath.extras: adding exponential-index.
John Benediktsson [Wed, 26 Sep 2012 22:29:08 +0000 (15:29 -0700)]
math.extras: adding exponential-index.

11 years agosequences.extras: adding map-product.
John Benediktsson [Wed, 26 Sep 2012 22:28:59 +0000 (15:28 -0700)]
sequences.extras: adding map-product.

11 years agomath.extras: adding the Herfindahl measure.
John Benediktsson [Wed, 26 Sep 2012 22:25:45 +0000 (15:25 -0700)]
math.extras: adding the Herfindahl measure.

11 years agomath.extras: remove variable effects from cum-reduce for now.
John Benediktsson [Wed, 26 Sep 2012 22:20:18 +0000 (15:20 -0700)]
math.extras: remove variable effects from cum-reduce for now.

11 years agomath.extras: invent "cum-reduce" concept for gini.
John Benediktsson [Wed, 26 Sep 2012 22:11:41 +0000 (15:11 -0700)]
math.extras: invent "cum-reduce" concept for gini.

11 years agoRevert "db: don't nest transactions.
John Benediktsson [Wed, 26 Sep 2012 20:29:40 +0000 (13:29 -0700)]
Revert "db: don't nest transactions.

This reverts commit e599a83de717b7b853aab67b89103805a0a05bd5.

11 years agodb: don't nest transactions.
John Benediktsson [Wed, 26 Sep 2012 17:35:22 +0000 (10:35 -0700)]
db: don't nest transactions.