]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agoecho-server: switch to utf8.
John Benediktsson [Mon, 6 Aug 2012 22:22:18 +0000 (15:22 -0700)]
echo-server: switch to utf8.

11 years agosplitting: making split inline.
John Benediktsson [Mon, 6 Aug 2012 22:08:16 +0000 (15:08 -0700)]
splitting: making split inline.

11 years agosorting.extras: adding 'argsort'.
John Benediktsson [Mon, 6 Aug 2012 17:59:40 +0000 (10:59 -0700)]
sorting.extras: adding 'argsort'.

11 years agosequences.extras: adding "none?" and "one?".
John Benediktsson [Mon, 6 Aug 2012 15:52:45 +0000 (08:52 -0700)]
sequences.extras: adding "none?" and "one?".

11 years agolint: disabling tuck test.
John Benediktsson [Mon, 6 Aug 2012 14:57:35 +0000 (07:57 -0700)]
lint: disabling tuck test.

11 years agoextra/lint: Removed dup -rot -> tuck entry from manual-substitution table
otoburb [Sun, 6 Nov 2011 05:34:21 +0000 (01:34 -0400)]
extra/lint: Removed dup -rot -> tuck entry from manual-substitution table

tuck is deprecated. load-all shows a warning in the UI Listener as per #347

11 years agorandom.data: make constants available to random.data.
John Benediktsson [Sun, 5 Aug 2012 02:17:56 +0000 (19:17 -0700)]
random.data: make constants available to random.data.

11 years agovm: make sure we zero out the end of the bignums.
John Benediktsson [Sun, 5 Aug 2012 01:02:27 +0000 (18:02 -0700)]
vm: make sure we zero out the end of the bignums.

11 years agorosetta-code.image-noise: fix vocab name.
John Benediktsson [Sun, 5 Aug 2012 00:34:59 +0000 (17:34 -0700)]
rosetta-code.image-noise: fix vocab name.

11 years agorosetta-code.y-combinator: add ackerman functions to demonstrate several inputs
Jon Harper [Sat, 4 Aug 2012 20:31:10 +0000 (22:31 +0200)]
rosetta-code.y-combinator: add ackerman functions to demonstrate several inputs

11 years agocleanup: with fry, _ call is @
Jon Harper [Sat, 4 Aug 2012 20:25:03 +0000 (22:25 +0200)]
cleanup: with fry, _ call is @

11 years agorosetta-code.y-combinator use inline instead of call( x -- x )
Jon Harper [Sat, 4 Aug 2012 20:21:55 +0000 (22:21 +0200)]
rosetta-code.y-combinator use inline instead of call( x -- x )

11 years agorosetta-code.y-combinator, fix IN:
Jon Harper [Sat, 4 Aug 2012 16:44:44 +0000 (18:44 +0200)]
rosetta-code.y-combinator, fix IN:

11 years agonoise-ui, higher fps (x3)
Jon Harper [Thu, 2 Aug 2012 02:25:42 +0000 (04:25 +0200)]
noise-ui, higher fps (x3)

11 years ago1string string>number -> digit>
Jon Harper [Thu, 2 Aug 2012 00:04:00 +0000 (02:04 +0200)]
1string string>number -> digit>

11 years agorandom-string: make letters and numbers equiprobable
Jon Harper [Sat, 28 Jul 2012 00:43:43 +0000 (02:43 +0200)]
random-string: make letters and numbers equiprobable

11 years agobenchmark.find-pi: adding the bignum ratio find-pi benchmark.
John Benediktsson [Sat, 4 Aug 2012 17:06:40 +0000 (10:06 -0700)]
benchmark.find-pi: adding the bignum ratio find-pi benchmark.

11 years agovm: a bit faster not to trim on each iteration...
John Benediktsson [Sat, 4 Aug 2012 16:13:05 +0000 (09:13 -0700)]
vm: a bit faster not to trim on each iteration...

11 years agovm: additional fix in bignum_gcd.
John Benediktsson [Sat, 4 Aug 2012 04:50:48 +0000 (21:50 -0700)]
vm: additional fix in bignum_gcd.

11 years agorosetta-code: adding implementations of rosettacode.org solutions.
John Benediktsson [Fri, 3 Aug 2012 22:17:50 +0000 (15:17 -0700)]
rosetta-code: adding implementations of rosettacode.org solutions.

11 years agoecho-server: adding a simple echo server.
John Benediktsson [Fri, 3 Aug 2012 20:49:38 +0000 (13:49 -0700)]
echo-server: adding a simple echo server.

11 years agoclasses.tuple: Fix unit test.
Doug Coleman [Fri, 3 Aug 2012 22:11:30 +0000 (15:11 -0700)]
classes.tuple: Fix unit test.

11 years agonoise-ui: move to rosetta.image-noise
Doug Coleman [Fri, 3 Aug 2012 22:02:32 +0000 (15:02 -0700)]
noise-ui: move to rosetta.image-noise

11 years agocore: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum...
Doug Coleman [Fri, 3 Aug 2012 21:59:59 +0000 (14:59 -0700)]
core: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum doesn't fit. Fixes #594.

11 years agomason.common: Don't put a limit on prettyprinter output. Fixes #607.
Doug Coleman [Fri, 3 Aug 2012 21:18:59 +0000 (14:18 -0700)]
mason.common: Don't put a limit on prettyprinter output. Fixes #607.

11 years agonoise-ui: Add a MAIN:
Doug Coleman [Fri, 3 Aug 2012 19:29:35 +0000 (12:29 -0700)]
noise-ui: Add a MAIN:

11 years agovm: some fixes to fast bignum gcd.
John Benediktsson [Fri, 3 Aug 2012 19:13:46 +0000 (12:13 -0700)]
vm: some fixes to fast bignum gcd.

11 years agobenchmark.wrap: adding a wrap benchmark.
John Benediktsson [Fri, 3 Aug 2012 16:37:01 +0000 (09:37 -0700)]
benchmark.wrap: adding a wrap benchmark.

11 years agowrap.words: missed this commit.
John Benediktsson [Fri, 3 Aug 2012 15:44:22 +0000 (08:44 -0700)]
wrap.words: missed this commit.

11 years agohashtables: testing that associate and H{ } set-at have same characteristics.
John Benediktsson [Fri, 3 Aug 2012 15:30:55 +0000 (08:30 -0700)]
hashtables: testing that associate and H{ } set-at have same characteristics.

11 years agowrap: remove use of namespace, speed up a little.
John Benediktsson [Fri, 3 Aug 2012 15:26:58 +0000 (08:26 -0700)]
wrap: remove use of namespace, speed up a little.

11 years agohashtables: reduce default size of associate.
John Benediktsson [Fri, 3 Aug 2012 04:43:37 +0000 (21:43 -0700)]
hashtables: reduce default size of associate.

11 years agocore-text: use cached-lines get-global.
John Benediktsson [Fri, 3 Aug 2012 04:35:28 +0000 (21:35 -0700)]
core-text: use cached-lines get-global.

11 years agofix using list for recent test additions.
John Benediktsson [Fri, 3 Aug 2012 00:41:13 +0000 (17:41 -0700)]
fix using list for recent test additions.

11 years agovm: fix updating size inside bignum_gcd loop.
John Benediktsson [Fri, 3 Aug 2012 00:36:07 +0000 (17:36 -0700)]
vm: fix updating size inside bignum_gcd loop.

11 years agobignum: Fix bignum_gcd algorithm from overwriting the wrong bignum memory. Add GC_BIG...
Doug Coleman [Fri, 3 Aug 2012 00:02:41 +0000 (17:02 -0700)]
bignum: Fix bignum_gcd algorithm from overwriting the wrong bignum memory. Add GC_BIGNUM to prevent gc crashes. Fixes #599.

11 years agovm: adding more GC_BIGNUM to WIN64 path. See #599.
John Benediktsson [Fri, 3 Aug 2012 00:04:22 +0000 (17:04 -0700)]
vm: adding more GC_BIGNUM to WIN64 path.  See #599.

11 years agoadding some tests for the recent integer>fixnum fix.
John Benediktsson [Thu, 2 Aug 2012 22:24:31 +0000 (15:24 -0700)]
adding some tests for the recent integer>fixnum fix.

11 years agocompiler.cfg: don't need to escape the symbol here.
John Benediktsson [Thu, 2 Aug 2012 22:14:42 +0000 (15:14 -0700)]
compiler.cfg: don't need to escape the symbol here.

11 years agonamespaces: counter should be inlined for globals optimization to work.
John Benediktsson [Thu, 2 Aug 2012 22:14:21 +0000 (15:14 -0700)]
namespaces: counter should be inlined for globals optimization to work.

11 years agocompiler.codegen: instruction counter is a global.
John Benediktsson [Thu, 2 Aug 2012 22:06:04 +0000 (15:06 -0700)]
compiler.codegen: instruction counter is a global.

11 years agoio.sockets: fix stack effect names.
John Benediktsson [Thu, 2 Aug 2012 21:49:50 +0000 (14:49 -0700)]
io.sockets: fix stack effect names.

11 years agousing integer>fixnum in more places.
John Benediktsson [Thu, 2 Aug 2012 21:26:39 +0000 (14:26 -0700)]
using integer>fixnum in more places.

11 years agocombinators.random: some style cleanup.
John Benediktsson [Thu, 2 Aug 2012 21:06:08 +0000 (14:06 -0700)]
combinators.random: some style cleanup.

11 years agomake: update docs for 'make-assoc' functionality.
John Benediktsson [Thu, 2 Aug 2012 16:32:18 +0000 (09:32 -0700)]
make: update docs for 'make-assoc' functionality.

11 years agocore-foundation.run-loop: remove reset on every iteration.
John Benediktsson [Wed, 1 Aug 2012 23:59:33 +0000 (16:59 -0700)]
core-foundation.run-loop: remove reset on every iteration.

11 years agoui.backend.gtk.io.unix: switch to "mx get-global".
John Benediktsson [Wed, 1 Aug 2012 23:22:23 +0000 (16:22 -0700)]
ui.backend.gtk.io.unix: switch to "mx get-global".

11 years agoio.backend.unix.multiplexors.run-loop: switch to "mx get-global".
John Benediktsson [Wed, 1 Aug 2012 23:20:31 +0000 (16:20 -0700)]
io.backend.unix.multiplexors.run-loop: switch to "mx get-global".

11 years agounix.time: faster "0 make-timeval".
John Benediktsson [Wed, 1 Aug 2012 21:31:18 +0000 (14:31 -0700)]
unix.time: faster "0 make-timeval".

11 years agoio.backend: fix docs to show nanoseconds instead of micros.
John Benediktsson [Wed, 1 Aug 2012 19:08:18 +0000 (12:08 -0700)]
io.backend: fix docs to show nanoseconds instead of micros.

11 years agocore-foundation.run-loop: use fewer durations.
John Benediktsson [Wed, 1 Aug 2012 18:53:33 +0000 (11:53 -0700)]
core-foundation.run-loop: use fewer durations.

11 years agocore-foundation.run-loop: this is still needed, for now.
John Benediktsson [Wed, 1 Aug 2012 18:18:47 +0000 (11:18 -0700)]
core-foundation.run-loop: this is still needed, for now.

11 years agonoise-ui: Initial checkin. Slightly modified from http://rosettacode.org/wiki/Image_n...
Doug Coleman [Wed, 1 Aug 2012 18:07:06 +0000 (11:07 -0700)]
noise-ui: Initial checkin. Slightly modified from http://rosettacode.org/wiki/Image_noise#Factor

11 years agocore-foundation.run-loop: do less work, speeds up yield by 50%.
John Benediktsson [Wed, 1 Aug 2012 17:57:58 +0000 (10:57 -0700)]
core-foundation.run-loop: do less work, speeds up yield by 50%.

11 years agobenchmark.yield: testing lots of yields.
John Benediktsson [Wed, 1 Aug 2012 17:51:37 +0000 (10:51 -0700)]
benchmark.yield: testing lots of yields.

11 years agoui.gadgets: fix docs for max-dims.
John Benediktsson [Wed, 1 Aug 2012 14:37:44 +0000 (07:37 -0700)]
ui.gadgets: fix docs for max-dims.

11 years agoRevert "alien.libraries: allow "foo f address-of" to be folded."
John Benediktsson [Wed, 1 Aug 2012 05:11:25 +0000 (22:11 -0700)]
Revert "alien.libraries: allow "foo f address-of" to be folded."

This reverts commit 96c7a59ad2c5209dbc8db24cea47314b20ef4516.

11 years agocore-text: cache attribute assoc.
John Benediktsson [Wed, 1 Aug 2012 05:03:32 +0000 (22:03 -0700)]
core-text: cache attribute assoc.

11 years agoalien.libraries: allow "foo f address-of" to be folded.
John Benediktsson [Wed, 1 Aug 2012 05:03:06 +0000 (22:03 -0700)]
alien.libraries: allow "foo f address-of" to be folded.

11 years agoui: short-circuit layout-queued if deque is empty.
John Benediktsson [Wed, 1 Aug 2012 03:26:51 +0000 (20:26 -0700)]
ui: short-circuit layout-queued if deque is empty.

11 years agorandom: faster random-units and random-integers.
John Benediktsson [Wed, 1 Aug 2012 03:24:56 +0000 (20:24 -0700)]
random: faster random-units and random-integers.

11 years agoui.gadgets: faster max-dims and sum-dims.
John Benediktsson [Wed, 1 Aug 2012 03:23:32 +0000 (20:23 -0700)]
ui.gadgets: faster max-dims and sum-dims.

11 years agofix some docs to have string article names.
John Benediktsson [Tue, 31 Jul 2012 21:41:32 +0000 (14:41 -0700)]
fix some docs to have string article names.

11 years agohelp.search: bit faster, allow searching for things like "first2", formatted output...
John Benediktsson [Tue, 31 Jul 2012 21:23:18 +0000 (14:23 -0700)]
help.search: bit faster, allow searching for things like "first2", formatted output, and allow both phrase and starts-with searching.

11 years agofreetype: Disable on mac. Fixes #588.
Doug Coleman [Tue, 31 Jul 2012 18:59:47 +0000 (11:59 -0700)]
freetype: Disable on mac. Fixes #588.

11 years agoclutter: load gtk first. Fixes #598.
Doug Coleman [Tue, 31 Jul 2012 18:51:30 +0000 (11:51 -0700)]
clutter: load gtk first. Fixes #598.

11 years agohelp.search: allow searching within help articles.
John Benediktsson [Tue, 31 Jul 2012 17:31:05 +0000 (10:31 -0700)]
help.search: allow searching within help articles.

11 years agosequences: Change bounds-check? to be generic on integer so that floating points...
Doug Coleman [Tue, 31 Jul 2012 15:36:34 +0000 (08:36 -0700)]
sequences: Change bounds-check? to be generic on integer so that floating points can't index into sequences. Fixes #582.

11 years agoclasses.tuple: Fix unit tests related to coerce
Doug Coleman [Tue, 31 Jul 2012 01:41:22 +0000 (18:41 -0700)]
classes.tuple: Fix unit tests related to coerce

11 years agoslots: Don't coerce flots to integers in tuple slots. Add an initial value for bignum...
Doug Coleman [Tue, 31 Jul 2012 01:16:44 +0000 (18:16 -0700)]
slots: Don't coerce flots to integers in tuple slots. Add an initial value for bignums so they can be used as tuple slot types. Fixes #593.

11 years agomath.matrices: rename van-der-monde to vandermonde
Doug Coleman [Mon, 30 Jul 2012 23:44:08 +0000 (16:44 -0700)]
math.matrices: rename van-der-monde to vandermonde

11 years agomath.extras: adding moving sum/supremum/infimum.
John Benediktsson [Mon, 30 Jul 2012 23:16:10 +0000 (16:16 -0700)]
math.extras: adding moving sum/supremum/infimum.

11 years agomath.matrices: adding van-der-monde matrix.
John Benediktsson [Mon, 30 Jul 2012 23:15:21 +0000 (16:15 -0700)]
math.matrices: adding van-der-monde matrix.

11 years agomath.vectors: implement v^, v^n, n^v.
John Benediktsson [Mon, 30 Jul 2012 23:15:00 +0000 (16:15 -0700)]
math.vectors: implement v^, v^n, n^v.

11 years agoRevert "vocabs.loader: teach append-vocab-dir about private vocabs."
John Benediktsson [Mon, 30 Jul 2012 18:50:22 +0000 (11:50 -0700)]
Revert "vocabs.loader: teach append-vocab-dir about private vocabs."

This reverts commit 9b98c098c1f89554f07e326dd85894b9b6bdf04c.

11 years agovocabs.loader: teach append-vocab-dir about private vocabs.
John Benediktsson [Mon, 30 Jul 2012 18:36:54 +0000 (11:36 -0700)]
vocabs.loader: teach append-vocab-dir about private vocabs.

11 years agosplitting: crlf? was unnecessary.
John Benediktsson [Mon, 30 Jul 2012 18:26:38 +0000 (11:26 -0700)]
splitting: crlf? was unnecessary.

11 years agosequences: improve change-nth, if nth was successful, set-nth can be unsafe.
John Benediktsson [Mon, 30 Jul 2012 18:26:32 +0000 (11:26 -0700)]
sequences: improve change-nth, if nth was successful, set-nth can be unsafe.

11 years agoprettyprint.backend: fix docs.
John Benediktsson [Sun, 29 Jul 2012 18:52:36 +0000 (11:52 -0700)]
prettyprint.backend: fix docs.

11 years agomake some predicates return t/f instead of something/f.
John Benediktsson [Sun, 29 Jul 2012 17:52:46 +0000 (10:52 -0700)]
make some predicates return t/f instead of something/f.

11 years agoprettyprint: print unprintables by hex escaping.
John Benediktsson [Sun, 29 Jul 2012 17:14:54 +0000 (10:14 -0700)]
prettyprint: print unprintables by hex escaping.

11 years agosequences: slightly faster sequence=.
John Benediktsson [Sat, 28 Jul 2012 04:30:03 +0000 (21:30 -0700)]
sequences: slightly faster sequence=.

11 years agobyte-vectors: simplify >byte-vector.
John Benediktsson [Sat, 28 Jul 2012 04:29:52 +0000 (21:29 -0700)]
byte-vectors: simplify >byte-vector.

11 years agoio.streams.sequence: minor refactor, minor speedup.
John Benediktsson [Sat, 28 Jul 2012 04:12:26 +0000 (21:12 -0700)]
io.streams.sequence: minor refactor, minor speedup.

11 years agosequences: minor docs fixes.
John Benediktsson [Sat, 28 Jul 2012 04:04:37 +0000 (21:04 -0700)]
sequences: minor docs fixes.

11 years agoRevert "bootstrap: words have read-only string names."
John Benediktsson [Sat, 28 Jul 2012 02:35:48 +0000 (19:35 -0700)]
Revert "bootstrap: words have read-only string names."

This reverts commit 0fa588820f3b7d3235184d8998a754217c256e45.

11 years agoRevert "continuations: add typing."
John Benediktsson [Sat, 28 Jul 2012 02:21:47 +0000 (19:21 -0700)]
Revert "continuations: add typing."

This reverts commit 34d3f878cd4b012cb9904ea1051ac4cb4c1fb152.

11 years agocontinuations: add typing.
John Benediktsson [Sat, 28 Jul 2012 02:16:31 +0000 (19:16 -0700)]
continuations: add typing.

11 years agoparser: make sure lines is an array.
John Benediktsson [Sat, 28 Jul 2012 02:06:22 +0000 (19:06 -0700)]
parser: make sure lines is an array.

11 years agobootstrap: words have read-only string names.
John Benediktsson [Fri, 27 Jul 2012 23:44:43 +0000 (16:44 -0700)]
bootstrap: words have read-only string names.

11 years agolexer: typed slots.
John Benediktsson [Fri, 27 Jul 2012 23:05:28 +0000 (16:05 -0700)]
lexer: typed slots.

11 years agobenchmark.dispatch4: split into two benchmarks.
John Benediktsson [Fri, 27 Jul 2012 22:50:12 +0000 (15:50 -0700)]
benchmark.dispatch4: split into two benchmarks.

11 years agobenchmark.sum-file: removing dependency on random.
John Benediktsson [Fri, 27 Jul 2012 22:44:38 +0000 (15:44 -0700)]
benchmark.sum-file: removing dependency on random.

11 years agotools.scaffold: rename scaffold-help to scaffold-docs.
John Benediktsson [Fri, 27 Jul 2012 22:24:30 +0000 (15:24 -0700)]
tools.scaffold: rename scaffold-help to scaffold-docs.

11 years agosee: more information on built-in classes.
John Benediktsson [Fri, 27 Jul 2012 21:59:49 +0000 (14:59 -0700)]
see: more information on built-in classes.

11 years agoui.tools.operations: allow watch on non-annotated words, reset on annotated ones.
John Benediktsson [Fri, 27 Jul 2012 21:06:52 +0000 (14:06 -0700)]
ui.tools.operations: allow watch on non-annotated words, reset on annotated ones.

11 years agotools.annotations: add a predicate class for annotated words.
John Benediktsson [Fri, 27 Jul 2012 21:06:38 +0000 (14:06 -0700)]
tools.annotations: add a predicate class for annotated words.

11 years agocsv: bit faster writing csv.
John Benediktsson [Fri, 27 Jul 2012 20:47:15 +0000 (13:47 -0700)]
csv: bit faster writing csv.

11 years agohttp: only parse expires if non-empty.
John Benediktsson [Fri, 27 Jul 2012 20:46:45 +0000 (13:46 -0700)]
http: only parse expires if non-empty.

11 years agocsv: bit faster, simpler.
John Benediktsson [Fri, 27 Jul 2012 20:22:32 +0000 (13:22 -0700)]
csv: bit faster, simpler.