]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agomath.combinatorics: faster nCk (use integer division).
John Benediktsson [Sat, 6 Apr 2013 18:43:20 +0000 (11:43 -0700)]
math.combinatorics: faster nCk (use integer division).

11 years agomath.combinatorics: faster permutation (using slices).
John Benediktsson [Fri, 5 Apr 2013 14:28:22 +0000 (07:28 -0700)]
math.combinatorics: faster permutation (using slices).

11 years agobit-arrays: use integer>fixnum, cleanup resize.
John Benediktsson [Fri, 5 Apr 2013 01:12:20 +0000 (18:12 -0700)]
bit-arrays: use integer>fixnum, cleanup resize.

11 years agobloom-filters: fix docs.
John Benediktsson [Thu, 4 Apr 2013 23:06:01 +0000 (16:06 -0700)]
bloom-filters: fix docs.

11 years agoinfix: removing alternate syntax due to use of multiline strings...
John Benediktsson [Thu, 4 Apr 2013 22:17:14 +0000 (15:17 -0700)]
infix: removing alternate syntax due to use of multiline strings...

11 years agohelp.tutorial: Use scaffold-work in palindrome tutorial.
Doug Coleman [Thu, 4 Apr 2013 22:01:02 +0000 (15:01 -0700)]
help.tutorial: Use scaffold-work in palindrome tutorial.

11 years agoinfix: adding alternate syntax.
John Benediktsson [Thu, 4 Apr 2013 22:05:49 +0000 (15:05 -0700)]
infix: adding alternate syntax.

11 years agoinfix: adding pow().
John Benediktsson [Thu, 4 Apr 2013 22:04:14 +0000 (15:04 -0700)]
infix: adding pow().

11 years agoboids: fix typo.
John Benediktsson [Thu, 4 Apr 2013 20:33:26 +0000 (13:33 -0700)]
boids: fix typo.

11 years agobloom-filters: cleanup interface a little bit.
John Benediktsson [Thu, 4 Apr 2013 20:26:24 +0000 (13:26 -0700)]
bloom-filters: cleanup interface a little bit.

11 years agobase85: fix handling of pad characters.
John Benediktsson [Thu, 4 Apr 2013 18:43:17 +0000 (11:43 -0700)]
base85: fix handling of pad characters.

11 years agobase85: adding a base85 encoder/decoder.
John Benediktsson [Thu, 4 Apr 2013 17:39:43 +0000 (10:39 -0700)]
base85: adding a base85 encoder/decoder.

11 years agobenchmark.bloom-filters: more iterations now bloom-filters are faster.
John Benediktsson [Thu, 4 Apr 2013 14:10:30 +0000 (07:10 -0700)]
benchmark.bloom-filters: more iterations now bloom-filters are faster.

11 years agobloom-filters: tons of speed.
John Benediktsson [Thu, 4 Apr 2013 14:10:13 +0000 (07:10 -0700)]
bloom-filters: tons of speed.

11 years agobloom-filters: more speeeeeed.
John Benediktsson [Thu, 4 Apr 2013 03:27:23 +0000 (20:27 -0700)]
bloom-filters: more speeeeeed.

11 years agocolors.mix: some descriptions.
John Benediktsson [Thu, 4 Apr 2013 02:01:54 +0000 (19:01 -0700)]
colors.mix: some descriptions.

11 years agocolors.hsv: fix using.
John Benediktsson [Thu, 4 Apr 2013 01:27:01 +0000 (18:27 -0700)]
colors.hsv: fix using.

11 years agocolors: move mixing words to colors.mix.
John Benediktsson [Wed, 3 Apr 2013 23:33:33 +0000 (16:33 -0700)]
colors: move mixing words to colors.mix.

11 years agocolors: actually add the tests this time.
John Benediktsson [Wed, 3 Apr 2013 23:14:30 +0000 (16:14 -0700)]
colors: actually add the tests this time.

11 years agocolors: adding sample-linear-gradient and some tests.
John Benediktsson [Wed, 3 Apr 2013 23:09:06 +0000 (16:09 -0700)]
colors: adding sample-linear-gradient and some tests.

11 years agocolors.hsv: add a golden-rainbox color sequence word.
John Benediktsson [Wed, 3 Apr 2013 23:08:52 +0000 (16:08 -0700)]
colors.hsv: add a golden-rainbox color sequence word.

11 years agobloom-filters: minor style improvements.
John Benediktsson [Wed, 3 Apr 2013 22:20:49 +0000 (15:20 -0700)]
bloom-filters: minor style improvements.

11 years agobloom-filters: performance improvements.
John Benediktsson [Wed, 3 Apr 2013 22:11:08 +0000 (15:11 -0700)]
bloom-filters: performance improvements.

11 years agobenchmark.bloom-filters: adding a benchmark for bloom filters.
John Benediktsson [Wed, 3 Apr 2013 22:10:52 +0000 (15:10 -0700)]
benchmark.bloom-filters: adding a benchmark for bloom filters.

11 years agosequence.extras: adding ?trim-head and ?trim-tail.
John Benediktsson [Wed, 3 Apr 2013 15:55:48 +0000 (08:55 -0700)]
sequence.extras: adding ?trim-head and ?trim-tail.

11 years agocolors.hsv: use sort-triple instead of natural-sort.
John Benediktsson [Tue, 2 Apr 2013 23:55:03 +0000 (16:55 -0700)]
colors.hsv: use sort-triple instead of natural-sort.

11 years agoregexp.minimize: use sort-pair instead of natural-sort.
John Benediktsson [Tue, 2 Apr 2013 23:54:25 +0000 (16:54 -0700)]
regexp.minimize: use sort-pair instead of natural-sort.

11 years agosorting.extras: better tests and fix zip order.
John Benediktsson [Tue, 2 Apr 2013 03:31:34 +0000 (20:31 -0700)]
sorting.extras: better tests and fix zip order.

11 years agosorting.extras: adding map-sort for efficiently decorating, sorting, and undecorating...
John Benediktsson [Tue, 2 Apr 2013 01:35:05 +0000 (18:35 -0700)]
sorting.extras: adding map-sort for efficiently decorating, sorting, and undecorating a sequence.

11 years agomath.extras: adding round-to-step.
John Benediktsson [Tue, 2 Apr 2013 00:04:07 +0000 (17:04 -0700)]
math.extras: adding round-to-step.

11 years agomath.extras: adding round-to-decimal.
John Benediktsson [Tue, 2 Apr 2013 00:03:18 +0000 (17:03 -0700)]
math.extras: adding round-to-decimal.

11 years agomath.functions: remove round-to.
John Benediktsson [Tue, 2 Apr 2013 00:02:44 +0000 (17:02 -0700)]
math.functions: remove round-to.

11 years agoeditors.textadept: use "-e goto_line(n-1)".
John Benediktsson [Mon, 1 Apr 2013 21:56:24 +0000 (14:56 -0700)]
editors.textadept: use "-e goto_line(n-1)".

(as suggested by Mitchell@foicica.com on the textadept mailing list)

11 years agobenchmark.splitting: stop using split* and use slices only.
John Benediktsson [Mon, 1 Apr 2013 17:26:43 +0000 (10:26 -0700)]
benchmark.splitting: stop using split* and use slices only.

11 years agosplitting.extras: adding split* and split-find.
John Benediktsson [Mon, 1 Apr 2013 16:14:27 +0000 (09:14 -0700)]
splitting.extras: adding split* and split-find.

11 years agosplitting: removing split* to extras.
John Benediktsson [Mon, 1 Apr 2013 16:14:01 +0000 (09:14 -0700)]
splitting: removing split* to extras.

11 years agoascii: change >words not to use split*.
John Benediktsson [Mon, 1 Apr 2013 16:13:33 +0000 (09:13 -0700)]
ascii: change >words not to use split*.

11 years agoAdded Lua source files for Textadept editor support for Factor.
Michael T. Richter [Mon, 1 Apr 2013 06:25:32 +0000 (14:25 +0800)]
Added Lua source files for Textadept editor support for Factor.

11 years agosplitting: add another test case to make sure we can access ... args.
John Benediktsson [Mon, 1 Apr 2013 01:52:53 +0000 (18:52 -0700)]
splitting: add another test case to make sure we can access ... args.

11 years agoeditors.textadept: make it work on Mac OS X.
John Benediktsson [Mon, 1 Apr 2013 01:47:38 +0000 (18:47 -0700)]
editors.textadept: make it work on Mac OS X.

11 years agosee: fixing summary for ALIAS.
John Benediktsson [Mon, 1 Apr 2013 00:12:35 +0000 (17:12 -0700)]
see: fixing summary for ALIAS.

11 years agowords.alias: definition is just the def>>.
John Benediktsson [Mon, 1 Apr 2013 00:00:31 +0000 (17:00 -0700)]
words.alias: definition is just the def>>.

11 years agoascii: adding >words, >title, and capitalize.
John Benediktsson [Sun, 31 Mar 2013 23:09:37 +0000 (16:09 -0700)]
ascii: adding >words, >title, and capitalize.

11 years agosplitting: change split* to preserve (separately) the separators.
John Benediktsson [Sun, 31 Mar 2013 23:05:30 +0000 (16:05 -0700)]
splitting: change split* to preserve (separately) the separators.

11 years agoio.files: use split instead of split*.
John Benediktsson [Sun, 31 Mar 2013 23:04:11 +0000 (16:04 -0700)]
io.files: use split instead of split*.

11 years agococoa: maybe this is cleaner...
John Benediktsson [Sat, 30 Mar 2013 20:44:11 +0000 (13:44 -0700)]
cocoa: maybe this is cleaner...

11 years agococoa: add ?-> to remember messages being used at runtime.
John Benediktsson [Sat, 30 Mar 2013 20:14:51 +0000 (13:14 -0700)]
cocoa: add ?-> to remember messages being used at runtime.

11 years agococoa.messages: fix for deploy problem.
John Benediktsson [Sat, 30 Mar 2013 20:05:04 +0000 (13:05 -0700)]
cocoa.messages: fix for deploy problem.

11 years agoeditors.textadept: match style of other vocabs.
John Benediktsson [Sat, 30 Mar 2013 18:09:12 +0000 (11:09 -0700)]
editors.textadept: match style of other vocabs.

11 years agoadd textadept editor support
Michael T. Richter [Sat, 30 Mar 2013 13:07:01 +0000 (21:07 +0800)]
add textadept editor support

Signed-off-by: Michael T. Richter <ttmrichter@gmail.com>
11 years agoui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter).
John Benediktsson [Sat, 30 Mar 2013 03:33:42 +0000 (20:33 -0700)]
ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter).

11 years agocore-foundation.numbers: support converting CFNumber back to factor.
John Benediktsson [Sat, 30 Mar 2013 03:24:39 +0000 (20:24 -0700)]
core-foundation.numbers: support converting CFNumber back to factor.

11 years agodebugger: Fix error message.
Doug Coleman [Sat, 30 Mar 2013 00:37:31 +0000 (17:37 -0700)]
debugger: Fix error message.

11 years agodb, db.sqlite: If we are in a transaction, don't start another transaction. Add a...
Doug Coleman [Sat, 30 Mar 2013 00:29:25 +0000 (17:29 -0700)]
db, db.sqlite: If we are in a transaction, don't start another transaction. Add a unit test. Fixes #631. Fixes #623.

11 years agolayours.hpp: Don't need RETAG here. Found by @mrjbq7. Fixes #637.
Doug Coleman [Sat, 30 Mar 2013 00:20:08 +0000 (17:20 -0700)]
layours.hpp: Don't need RETAG here. Found by @mrjbq7. Fixes #637.

11 years agoui.backend.cocoa.views: spacing.
John Benediktsson [Fri, 29 Mar 2013 21:47:53 +0000 (14:47 -0700)]
ui.backend.cocoa.views: spacing.

11 years agococoa.messages: add super-sender for completeness.
John Benediktsson [Fri, 29 Mar 2013 21:45:17 +0000 (14:45 -0700)]
cocoa.messages: add super-sender for completeness.

11 years agoConfig.macosx: Try to support 10.5.
Doug Coleman [Fri, 29 Mar 2013 21:35:46 +0000 (14:35 -0700)]
Config.macosx: Try to support 10.5.

11 years agoui.backend.cocoa.views: simplify and add os version check.
John Benediktsson [Fri, 29 Mar 2013 21:29:41 +0000 (14:29 -0700)]
ui.backend.cocoa.views: simplify and add os version check.

11 years agoui.backend.cocoa.views: maybe this works on 10.6.
John Benediktsson [Fri, 29 Mar 2013 21:18:33 +0000 (14:18 -0700)]
ui.backend.cocoa.views: maybe this works on 10.6.

11 years agococoa.messages: some support for runtime message sending.
John Benediktsson [Fri, 29 Mar 2013 21:17:09 +0000 (14:17 -0700)]
cocoa.messages: some support for runtime message sending.

11 years agococoa.messages: use ERROR:.
John Benediktsson [Fri, 29 Mar 2013 20:21:42 +0000 (13:21 -0700)]
cocoa.messages: use ERROR:.

11 years agogdbm: Change the gdbm test file to have a different name on 32/64 bit. Fixes #673...
Doug Coleman [Fri, 29 Mar 2013 21:15:47 +0000 (14:15 -0700)]
gdbm: Change the gdbm test file to have a different name on 32/64 bit. Fixes #673 and the race condition when running two mason instances on 32/64 bit.

11 years agounix: use byte-vectors here.
John Benediktsson [Fri, 29 Mar 2013 18:36:13 +0000 (11:36 -0700)]
unix: use byte-vectors here.

11 years agocore-foundation.strings: faster CF>string.
John Benediktsson [Fri, 29 Mar 2013 18:31:39 +0000 (11:31 -0700)]
core-foundation.strings: faster CF>string.

11 years agoenvironment: Call unset-os-env when passed an ``f``. Fixes #794.
Doug Coleman [Fri, 29 Mar 2013 18:38:37 +0000 (11:38 -0700)]
environment: Call unset-os-env when passed an ``f``. Fixes #794.

11 years agodebugger: Try to be more helpful if linux libraries are not installed. Fixes #774.
Doug Coleman [Fri, 29 Mar 2013 17:35:51 +0000 (10:35 -0700)]
debugger: Try to be more helpful if linux libraries are not installed. Fixes #774.

11 years agoGNUmakefile: Version was still .94, bump it to .96
Doug Coleman [Fri, 29 Mar 2013 17:24:39 +0000 (10:24 -0700)]
GNUmakefile: Version was still .94, bump it to .96

11 years agoConfig.linux: Clean up warnings when compiling with clang on Linux. make CC=clang...
Doug Coleman [Fri, 29 Mar 2013 17:23:13 +0000 (10:23 -0700)]
Config.linux: Clean up warnings when compiling with clang on Linux. make CC=clang CPP=clang++

11 years agocpu.8080: Throw an error not a string.
Doug Coleman [Fri, 29 Mar 2013 16:46:34 +0000 (09:46 -0700)]
cpu.8080: Throw an error not a string.

11 years agoasn1: Throw an error not a string.
Doug Coleman [Fri, 29 Mar 2013 16:45:06 +0000 (09:45 -0700)]
asn1: Throw an error not a string.

11 years agopeg.ebnf: Throw errors not strings.
Doug Coleman [Fri, 29 Mar 2013 16:43:05 +0000 (09:43 -0700)]
peg.ebnf: Throw errors not strings.

11 years agobootstrap.image: Use error syntax.
Doug Coleman [Fri, 29 Mar 2013 16:35:13 +0000 (09:35 -0700)]
bootstrap.image: Use error syntax.

11 years agomath.floats: fix M\ float /mod.
John Benediktsson [Fri, 29 Mar 2013 15:48:28 +0000 (08:48 -0700)]
math.floats: fix M\ float /mod.

11 years agomath.ratios: adding some tests for M\ ratio /mod.
John Benediktsson [Fri, 29 Mar 2013 15:32:35 +0000 (08:32 -0700)]
math.ratios: adding some tests for M\ ratio /mod.

11 years agomath.floats: adding some tests for M\ float mod.
John Benediktsson [Fri, 29 Mar 2013 15:30:56 +0000 (08:30 -0700)]
math.floats: adding some tests for M\ float mod.

11 years agosequences.extras: faster even-indices and odd-indices.
John Benediktsson [Fri, 29 Mar 2013 14:10:27 +0000 (07:10 -0700)]
sequences.extras: faster even-indices and odd-indices.

11 years agoxmode.highlight: highlight vocabs and pathnames too.
John Benediktsson [Fri, 29 Mar 2013 04:03:17 +0000 (21:03 -0700)]
xmode.highlight: highlight vocabs and pathnames too.

11 years agogrouping: fix circular-slice equal.
John Benediktsson [Fri, 29 Mar 2013 03:05:42 +0000 (20:05 -0700)]
grouping: fix circular-slice equal.

11 years agoslots: fix typo, cleanup style a little bit.
John Benediktsson [Fri, 29 Mar 2013 03:04:19 +0000 (20:04 -0700)]
slots: fix typo, cleanup style a little bit.

11 years agomath.functions: faster >rect by specializing for complex.
John Benediktsson [Fri, 29 Mar 2013 01:02:55 +0000 (18:02 -0700)]
math.functions: faster >rect by specializing for complex.

11 years agoxmode.highlight: enable highlighting of words.
John Benediktsson [Thu, 28 Mar 2013 23:43:22 +0000 (16:43 -0700)]
xmode.highlight: enable highlighting of words.

11 years agomath.ratios: faster M\ ratio mod.
John Benediktsson [Thu, 28 Mar 2013 22:00:21 +0000 (15:00 -0700)]
math.ratios: faster M\ ratio mod.

11 years agomath.ratios: faster M\ ratio /mod.
John Benediktsson [Thu, 28 Mar 2013 21:56:47 +0000 (14:56 -0700)]
math.ratios: faster M\ ratio /mod.

11 years agomath.parser: don't use variables in M\ ratio >base.
John Benediktsson [Thu, 28 Mar 2013 21:31:55 +0000 (14:31 -0700)]
math.parser: don't use variables in M\ ratio >base.

11 years agobenchmark.parse-ratio: adding a ratio parse benchmark.
John Benediktsson [Thu, 28 Mar 2013 21:31:45 +0000 (14:31 -0700)]
benchmark.parse-ratio: adding a ratio parse benchmark.

11 years agomath.parser: exactly allocate sbuf for fixnums.
John Benediktsson [Thu, 28 Mar 2013 18:55:52 +0000 (11:55 -0700)]
math.parser: exactly allocate sbuf for fixnums.

11 years agobenchmark.parse-float: add a float parse benchmark.
John Benediktsson [Thu, 28 Mar 2013 18:41:57 +0000 (11:41 -0700)]
benchmark.parse-float: add a float parse benchmark.

11 years agomath.statistics: adding demean and demedian, cleanup a bit.
John Benediktsson [Thu, 28 Mar 2013 18:40:46 +0000 (11:40 -0700)]
math.statistics: adding demean and demedian, cleanup a bit.

11 years agobenchmark.parse-bignum: adding a bignum parse benchmark.
John Benediktsson [Thu, 28 Mar 2013 13:24:25 +0000 (06:24 -0700)]
benchmark.parse-bignum: adding a bignum parse benchmark.

11 years agobenchmark.parse-fixnum: adding a fixnum parse benchmark.
John Benediktsson [Thu, 28 Mar 2013 13:24:15 +0000 (06:24 -0700)]
benchmark.parse-fixnum: adding a fixnum parse benchmark.

11 years agopdf.wrap: adding some tests.
John Benediktsson [Thu, 28 Mar 2013 02:05:20 +0000 (19:05 -0700)]
pdf.wrap: adding some tests.

11 years agostack-checker: make recursive-reduce have same signature as reduce.
John Benediktsson [Thu, 28 Mar 2013 01:56:47 +0000 (18:56 -0700)]
stack-checker: make recursive-reduce have same signature as reduce.

11 years agostack-checker: maybe add a test that tests what the todo said.
John Benediktsson [Thu, 28 Mar 2013 01:44:32 +0000 (18:44 -0700)]
stack-checker: maybe add a test that tests what the todo said.

11 years agostack-checker: remove a test that is no longer valid, need to replace it with something.
John Benediktsson [Thu, 28 Mar 2013 01:17:49 +0000 (18:17 -0700)]
stack-checker: remove a test that is no longer valid, need to replace it with something.

11 years agomath.parser: do two digits down until 10.
John Benediktsson [Thu, 28 Mar 2013 01:01:59 +0000 (18:01 -0700)]
math.parser: do two digits down until 10.

11 years agomath.parser: faster using byte-arrays.
John Benediktsson [Thu, 28 Mar 2013 00:54:24 +0000 (17:54 -0700)]
math.parser: faster using byte-arrays.

11 years agosplitting: adding split-slice and split*-slice for completeness.
John Benediktsson [Wed, 27 Mar 2013 23:29:13 +0000 (16:29 -0700)]
splitting: adding split-slice and split*-slice for completeness.

11 years agohints: should hint on split not split,
John Benediktsson [Wed, 27 Mar 2013 23:21:32 +0000 (16:21 -0700)]
hints: should hint on split not split,

11 years agosplitting: add split*-when-slice and change to not use make.
John Benediktsson [Wed, 27 Mar 2013 23:19:56 +0000 (16:19 -0700)]
splitting: add split*-when-slice and change to not use make.