]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agowindows.ddk.setupapi: use PACKED-STRUCT (thanks Joe Moschini).
John Benediktsson [Tue, 5 Jun 2012 02:08:46 +0000 (19:08 -0700)]
windows.ddk.setupapi: use PACKED-STRUCT (thanks Joe Moschini).

11 years agocalendar.holidays.us: Donuts too often
Doug Coleman [Sat, 2 Jun 2012 01:03:14 +0000 (18:03 -0700)]
calendar.holidays.us: Donuts too often

11 years agocore-foundation.strings: prevent creating CFString from characters in range 0xd800...
John Benediktsson [Sat, 2 Jun 2012 00:56:34 +0000 (17:56 -0700)]
core-foundation.strings: prevent creating CFString from characters in range 0xd800-0xdfff.

11 years agolistener: move pprint error catching to stack.
John Benediktsson [Sat, 2 Jun 2012 00:54:58 +0000 (17:54 -0700)]
listener: move pprint error catching to stack.

11 years agocalendar.holidays.us: Today is National Donut Day.
Doug Coleman [Sat, 2 Jun 2012 00:17:45 +0000 (17:17 -0700)]
calendar.holidays.us: Today is National Donut Day.

11 years agolistener: don't crash if pprint fails.
John Benediktsson [Sat, 2 Jun 2012 00:07:10 +0000 (17:07 -0700)]
listener: don't crash if pprint fails.

11 years agoclasses.tuple: Better error message for tuples that try to inherit from themselves...
Doug Coleman [Fri, 1 Jun 2012 23:46:45 +0000 (16:46 -0700)]
classes.tuple: Better error message for tuples that try to inherit from themselves. Add must-fail tests for tuples that try to inherit from themselves and for inheriting from a generic.
Fixes #412.

11 years agobenchmark.busy-loop: make sure fixnum math on 32-bit.
John Benediktsson [Fri, 1 Jun 2012 23:26:46 +0000 (16:26 -0700)]
benchmark.busy-loop: make sure fixnum math on 32-bit.

11 years agobenchmark.busy-loop: adding a busy-loop "control" benchmark.
John Benediktsson [Fri, 1 Jun 2012 23:15:56 +0000 (16:15 -0700)]
benchmark.busy-loop: adding a busy-loop "control" benchmark.

11 years agoio.files.info.unix: When setting access or modified time alone, don't set the other...
Doug Coleman [Fri, 1 Jun 2012 23:02:07 +0000 (16:02 -0700)]
io.files.info.unix: When setting access or modified time alone, don't set the other time to 1970.
See #490.

11 years agodebugger: fix error summary for not-found-in-roots.
John Benediktsson [Fri, 1 Jun 2012 23:00:59 +0000 (16:00 -0700)]
debugger: fix error summary for not-found-in-roots.

11 years agoprettyprint: document "~1 more~" behavior (funny because it takes as much as room...
John Benediktsson [Fri, 1 Jun 2012 22:15:29 +0000 (15:15 -0700)]
prettyprint: document "~1 more~" behavior (funny because it takes as much as room as... 1 more).

11 years agofastcgi: removing dependency on unix-only.
John Benediktsson [Fri, 1 Jun 2012 21:34:36 +0000 (14:34 -0700)]
fastcgi: removing dependency on unix-only.

11 years agomath.combinatorics: 100%+ faster combinations.
John Benediktsson [Fri, 1 Jun 2012 21:07:39 +0000 (14:07 -0700)]
math.combinatorics: 100%+ faster combinations.

11 years agomath.functions: implement copysign.
John Benediktsson [Fri, 1 Jun 2012 15:24:35 +0000 (08:24 -0700)]
math.functions: implement copysign.

11 years agosequences.extras: adding sift-as and harvest-as.
John Benediktsson [Thu, 31 May 2012 18:01:16 +0000 (11:01 -0700)]
sequences.extras: adding sift-as and harvest-as.

11 years agosequences.extras: even simpler round-robin.
John Benediktsson [Thu, 31 May 2012 17:46:42 +0000 (10:46 -0700)]
sequences.extras: even simpler round-robin.

11 years agosequences.extras: simpler round-robin.
John Benediktsson [Thu, 31 May 2012 15:17:08 +0000 (08:17 -0700)]
sequences.extras: simpler round-robin.

11 years agosequences.extras: adding round-robin.
John Benediktsson [Thu, 31 May 2012 00:50:00 +0000 (17:50 -0700)]
sequences.extras: adding round-robin.

11 years agofix some tests broken by the prepend change.
John Benediktsson [Tue, 29 May 2012 23:58:58 +0000 (16:58 -0700)]
fix some tests broken by the prepend change.

11 years agosequences: un-inline prepend to fix "cannot call" error.
John Benediktsson [Tue, 29 May 2012 22:58:19 +0000 (15:58 -0700)]
sequences: un-inline prepend to fix "cannot call" error.

11 years agoio.sockets: fix stack effect for <broadcast>.
John Benediktsson [Tue, 29 May 2012 22:47:15 +0000 (15:47 -0700)]
io.sockets: fix stack effect for <broadcast>.

11 years agosequences: change prepend to return type of first sequence to match append.
John Benediktsson [Tue, 29 May 2012 18:59:03 +0000 (11:59 -0700)]
sequences: change prepend to return type of first sequence to match append.

11 years agoio.sockets.windows: get the handle from the handle.
John Benediktsson [Tue, 29 May 2012 18:20:55 +0000 (11:20 -0700)]
io.sockets.windows: get the handle from the handle.

11 years agoio.sockets: adding "broadcast port", ideally would just be +broadcast+ or something...
John Benediktsson [Tue, 29 May 2012 17:46:19 +0000 (10:46 -0700)]
io.sockets: adding "broadcast port", ideally would just be +broadcast+ or something, but this works.

11 years agounix.ffi: adding some socket constants.
John Benediktsson [Tue, 29 May 2012 17:45:41 +0000 (10:45 -0700)]
unix.ffi: adding some socket constants.

11 years agovim: allow sign of exponent to be optional (e.g., "1e10" should be highlighted correc...
John Benediktsson [Tue, 29 May 2012 14:43:09 +0000 (07:43 -0700)]
vim: allow sign of exponent to be optional (e.g., "1e10" should be highlighted correctly).

11 years agovim: fix float syntax highlighting of "1."
John Benediktsson [Tue, 29 May 2012 03:48:15 +0000 (20:48 -0700)]
vim: fix float syntax highlighting of "1."

11 years agocompaction: Inifnite headaches--cured! Two compact functions, one was not like the...
Doug Coleman [Mon, 28 May 2012 01:23:50 +0000 (18:23 -0700)]
compaction: Inifnite headaches--cured! Two compact functions, one was not like the other.

11 years agomath.matrices: adding docs for a few words.
John Benediktsson [Fri, 25 May 2012 19:19:23 +0000 (12:19 -0700)]
math.matrices: adding docs for a few words.

11 years agomath.matrices: Add another test to make sure we calculate kron correctly.
Doug Coleman [Thu, 24 May 2012 16:02:47 +0000 (09:02 -0700)]
math.matrices: Add another test to make sure we calculate kron correctly.

11 years agomath.matrices: Add stitch. Add Kronecker product.
Doug Coleman [Thu, 24 May 2012 15:52:50 +0000 (08:52 -0700)]
math.matrices: Add stitch. Add Kronecker product.

11 years agoparser: fix typo in docs
Felix Kaiser [Sat, 19 May 2012 22:34:06 +0000 (00:34 +0200)]
parser: fix typo in docs

11 years agosequences.extras: move min-by/max-by to math.compare.
John Benediktsson [Sat, 19 May 2012 18:26:01 +0000 (11:26 -0700)]
sequences.extras: move min-by/max-by to math.compare.

11 years agoAdding a readme that github can understand.
John Benediktsson [Thu, 17 May 2012 18:50:12 +0000 (11:50 -0700)]
Adding a readme that github can understand.

11 years agoassocs.extras: more tests for deep-at.
John Benediktsson [Thu, 17 May 2012 16:40:43 +0000 (09:40 -0700)]
assocs.extras: more tests for deep-at.

11 years agoassocs.extras: adding deep-at.
John Benediktsson [Tue, 15 May 2012 00:04:52 +0000 (17:04 -0700)]
assocs.extras: adding deep-at.

11 years agosequences.extras: adding supremum-by and infimum-by that call the "map" quot once...
John Benediktsson [Mon, 14 May 2012 23:44:07 +0000 (16:44 -0700)]
sequences.extras: adding supremum-by and infimum-by that call the "map" quot once per element.

11 years agosequences.extras: adding each-from and reduce-from.
John Benediktsson [Mon, 14 May 2012 23:43:42 +0000 (16:43 -0700)]
sequences.extras: adding each-from and reduce-from.

11 years agosequences.extras: adding test for insert-sorted.
John Benediktsson [Mon, 14 May 2012 23:12:35 +0000 (16:12 -0700)]
sequences.extras: adding test for insert-sorted.

11 years agohash-sets: using ?adjoin to implement duplicates, some tests.
John Benediktsson [Mon, 14 May 2012 22:47:56 +0000 (15:47 -0700)]
hash-sets: using ?adjoin to implement duplicates, some tests.

11 years agosets: adding ?adjoin.
John Benediktsson [Mon, 14 May 2012 22:47:44 +0000 (15:47 -0700)]
sets: adding ?adjoin.

11 years agomodels: adding ?set-model.
John Benediktsson [Mon, 14 May 2012 22:40:55 +0000 (15:40 -0700)]
models: adding ?set-model.

11 years agomath.statistics: adding winsorized-mean.
John Benediktsson [Tue, 8 May 2012 15:48:15 +0000 (08:48 -0700)]
math.statistics: adding winsorized-mean.

11 years agomath.statistics: adding trim-mean and signal-to-noise.
John Benediktsson [Tue, 8 May 2012 15:24:57 +0000 (08:24 -0700)]
math.statistics: adding trim-mean and signal-to-noise.

11 years agomath.similarity: fix tests, not sure this is the correct definition.
John Benediktsson [Tue, 8 May 2012 15:05:31 +0000 (08:05 -0700)]
math.similarity: fix tests, not sure this is the correct definition.

11 years agointerval-sets: inline unicode constant.
John Benediktsson [Tue, 8 May 2012 00:30:54 +0000 (17:30 -0700)]
interval-sets: inline unicode constant.

11 years agomath.statistics: Add sum-of-squares word, add sum-of-squared-errors/sum-of-absolute...
Doug Coleman [Mon, 7 May 2012 22:03:45 +0000 (15:03 -0700)]
math.statistics: Add sum-of-squares word, add sum-of-squared-errors/sum-of-absolute-errors words.

11 years agosequences.extra: Fix min-by and max-by.
Doug Coleman [Mon, 7 May 2012 22:02:44 +0000 (15:02 -0700)]
sequences.extra: Fix min-by and max-by.
maximum and minimum run 2x as many calls to the quotation as are actually necessary; fix this eventually.

11 years agomemoize: moving MEMO[ to memoize.syntax to work around bootstrap issue.
John Benediktsson [Sat, 5 May 2012 05:24:21 +0000 (22:24 -0700)]
memoize: moving MEMO[ to memoize.syntax to work around bootstrap issue.

11 years agomemoize: change MEMO[ to push a quotation.
John Benediktsson [Sat, 5 May 2012 04:31:23 +0000 (21:31 -0700)]
memoize: change MEMO[ to push a quotation.

11 years agomemoize: cleaner test case.
John Benediktsson [Sat, 5 May 2012 03:43:23 +0000 (20:43 -0700)]
memoize: cleaner test case.

11 years agomemoize: adding a MEMO[ word which makes an inlined anonymous memoized quotation.
John Benediktsson [Sat, 5 May 2012 03:39:26 +0000 (20:39 -0700)]
memoize: adding a MEMO[ word which makes an inlined anonymous memoized quotation.

11 years agoui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document.
John Benediktsson [Sat, 5 May 2012 01:38:12 +0000 (18:38 -0700)]
ui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document.

11 years agoRevert "Clean up smalltalk grammar"
John Benediktsson [Sat, 5 May 2012 01:20:04 +0000 (18:20 -0700)]
Revert "Clean up smalltalk grammar"

This reverts commit 578bb98f2139fa1e82e99e9687932de59fb96ab6.

11 years agomath.matrices: adding hilbert-matrix, toeplitz-matrix, hankel-matrix, and box-matrix.
John Benediktsson [Sat, 5 May 2012 01:01:21 +0000 (18:01 -0700)]
math.matrices: adding hilbert-matrix, toeplitz-matrix, hankel-matrix, and box-matrix.

11 years agointerval-sets: change tests to use constant literals.
John Benediktsson [Sat, 5 May 2012 00:40:45 +0000 (17:40 -0700)]
interval-sets: change tests to use constant literals.

11 years agointerval-sets: some modernization.
John Benediktsson [Sat, 5 May 2012 00:33:10 +0000 (17:33 -0700)]
interval-sets: some modernization.

11 years agoInterval sets library
Daniel Ehrenberg [Thu, 26 Mar 2009 23:15:22 +0000 (18:15 -0500)]
Interval sets library

11 years agoClean up smalltalk grammar
Slava Pestov [Mon, 6 Apr 2009 04:53:35 +0000 (23:53 -0500)]
Clean up smalltalk grammar

11 years agomath.statistics: Add power-mean and quadratic-mean.
Doug Coleman [Fri, 4 May 2012 22:27:46 +0000 (15:27 -0700)]
math.statistics: Add power-mean and quadratic-mean.

11 years agomath.statistics: simpler (faster) version of rescale.
John Benediktsson [Fri, 4 May 2012 21:51:38 +0000 (14:51 -0700)]
math.statistics: simpler (faster) version of rescale.

11 years agomath.statistics: adding contraharmonic-mean.
John Benediktsson [Fri, 4 May 2012 21:43:29 +0000 (14:43 -0700)]
math.statistics: adding contraharmonic-mean.

11 years agomath.statistics: adding mean-dev and median-dev.
John Benediktsson [Fri, 4 May 2012 21:40:24 +0000 (14:40 -0700)]
math.statistics: adding mean-dev and median-dev.

11 years agomath.statistics: separate "sample-" and "full-" versions of var, std, ste, and corr.
John Benediktsson [Fri, 4 May 2012 21:31:26 +0000 (14:31 -0700)]
math.statistics: separate "sample-" and "full-" versions of var, std, ste, and corr.

11 years agomath.extras: adding moving-median.
John Benediktsson [Fri, 4 May 2012 21:23:15 +0000 (14:23 -0700)]
math.extras: adding moving-median.

11 years agomath.statistics: adding standardize, differences, rescale.
John Benediktsson [Fri, 4 May 2012 21:18:45 +0000 (14:18 -0700)]
math.statistics: adding standardize, differences, rescale.

11 years agomath.matrices: Add a diagonal-matrix word that makes an nxn matrix from a sequence.
Doug Coleman [Fri, 4 May 2012 18:23:38 +0000 (11:23 -0700)]
math.matrices: Add a diagonal-matrix word that makes an nxn matrix from a sequence.
Optimize identity-matrix word -- 2-3x faster using diagonal-matrix.
Add an eye word that makes an mxn diagonal matrix with a diagonal offset by k.

11 years agomath.finance: adding some tests.
John Benediktsson [Fri, 4 May 2012 17:06:24 +0000 (10:06 -0700)]
math.finance: adding some tests.

11 years agomath.finance: some fixes to dema, gdema, and tema.
John Benediktsson [Fri, 4 May 2012 16:40:04 +0000 (09:40 -0700)]
math.finance: some fixes to dema, gdema, and tema.

11 years agoprettyprint: Fix unit tests. Remove useless line.
Doug Coleman [Fri, 4 May 2012 16:09:14 +0000 (09:09 -0700)]
prettyprint: Fix unit tests. Remove useless line.

11 years agomath.extras: adding moving-average and exponential-moving-average words.
John Benediktsson [Fri, 4 May 2012 16:04:27 +0000 (09:04 -0700)]
math.extras: adding moving-average and exponential-moving-average words.

11 years agocompiler.units: Oops, meant not to commit this one.
Doug Coleman [Fri, 4 May 2012 16:05:15 +0000 (09:05 -0700)]
compiler.units: Oops, meant not to commit this one.

11 years agomath.blas, alien.fortran: Back from beyond the grave.
Doug Coleman [Fri, 4 May 2012 16:03:27 +0000 (09:03 -0700)]
math.blas, alien.fortran: Back from beyond the grave.

11 years agomath.extras: adding jacobi and legendere symbols.
John Benediktsson [Fri, 4 May 2012 15:57:09 +0000 (08:57 -0700)]
math.extras: adding jacobi and legendere symbols.

11 years agoclasses:
Doug Coleman [Fri, 4 May 2012 02:17:41 +0000 (19:17 -0700)]
classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.

11 years agomath.finance: adding dema, gdema, and tema.
John Benediktsson [Thu, 3 May 2012 23:31:04 +0000 (16:31 -0700)]
math.finance: adding dema, gdema, and tema.

11 years agomath.distances: adding correlation-distance.
John Benediktsson [Thu, 3 May 2012 22:52:28 +0000 (15:52 -0700)]
math.distances: adding correlation-distance.

11 years agomath.distances: adding a couple more distance functions.
John Benediktsson [Thu, 3 May 2012 22:42:12 +0000 (15:42 -0700)]
math.distances: adding a couple more distance functions.

11 years agomath.functions: adding generalized signum function. Fixes #509.
John Benediktsson [Thu, 3 May 2012 21:44:10 +0000 (14:44 -0700)]
math.functions: adding generalized signum function.  Fixes #509.

11 years agomath.distances: adding some distance functions.
John Benediktsson [Thu, 3 May 2012 20:38:59 +0000 (13:38 -0700)]
math.distances: adding some distance functions.

11 years agomath.vectors: adding p-norm.
John Benediktsson [Thu, 3 May 2012 20:27:00 +0000 (13:27 -0700)]
math.vectors: adding p-norm.

11 years agosequences.extras: adding 2map-sum and 2count.
John Benediktsson [Thu, 3 May 2012 18:31:38 +0000 (11:31 -0700)]
sequences.extras: adding 2map-sum and 2count.

11 years agomath.similarity: adding a few similarity metrics.
John Benediktsson [Thu, 3 May 2012 17:57:30 +0000 (10:57 -0700)]
math.similarity: adding a few similarity metrics.

11 years agosequences.extras: adding "filter-map".
John Benediktsson [Wed, 2 May 2012 18:14:10 +0000 (11:14 -0700)]
sequences.extras: adding "filter-map".

11 years agomath.functions: rename exp to e^ to be consistent with 2^ and 10^. update things.
Doug Coleman [Wed, 2 May 2012 16:59:09 +0000 (09:59 -0700)]
math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things.

11 years agomath.functions: Add e^ and sigmoid functions.
Doug Coleman [Wed, 2 May 2012 16:21:34 +0000 (09:21 -0700)]
math.functions: Add e^ and sigmoid functions.

12 years agosequences: adding find-index-from.
John Benediktsson [Fri, 27 Apr 2012 20:41:47 +0000 (13:41 -0700)]
sequences: adding find-index-from.

12 years agotools.deploy: fix location of port-number file.
John Benediktsson [Fri, 27 Apr 2012 20:17:03 +0000 (13:17 -0700)]
tools.deploy: fix location of port-number file.

12 years agoctags.etags: remove unnecessary test.
John Benediktsson [Fri, 27 Apr 2012 19:05:51 +0000 (12:05 -0700)]
ctags.etags: remove unnecessary test.

12 years agoassocs.extras: adding assoc-harvest and assoc-sift.
John Benediktsson [Fri, 27 Apr 2012 18:39:20 +0000 (11:39 -0700)]
assocs.extras: adding assoc-harvest and assoc-sift.

12 years agosplitting: fixing split1-last.
John Benediktsson [Fri, 27 Apr 2012 15:48:57 +0000 (08:48 -0700)]
splitting: fixing split1-last.

12 years agomath.statistics: adding entropy function.
John Benediktsson [Fri, 27 Apr 2012 01:40:59 +0000 (18:40 -0700)]
math.statistics: adding entropy function.

12 years agoproject-euler: fix shadowing of permutations?.
John Benediktsson [Thu, 26 Apr 2012 23:58:09 +0000 (16:58 -0700)]
project-euler: fix shadowing of permutations?.

12 years agosequences.extras: fixing map-concat to return type of first mapped value.
John Benediktsson [Thu, 26 Apr 2012 22:07:39 +0000 (15:07 -0700)]
sequences.extras: fixing map-concat to return type of first mapped value.

12 years agousing reverse! when possible.
John Benediktsson [Thu, 26 Apr 2012 03:09:36 +0000 (20:09 -0700)]
using reverse! when possible.

12 years agoassocs: 50% faster zip.
John Benediktsson [Thu, 26 Apr 2012 03:09:21 +0000 (20:09 -0700)]
assocs: 50% faster zip.

12 years agosequences.extras: faster longest-subseq, cleanup other words.
John Benediktsson [Wed, 25 Apr 2012 23:30:08 +0000 (16:30 -0700)]
sequences.extras: faster longest-subseq, cleanup other words.

12 years agosequences.extras: adding map-sift and map-harvest.
John Benediktsson [Wed, 25 Apr 2012 22:58:18 +0000 (15:58 -0700)]
sequences.extras: adding map-sift and map-harvest.

12 years agosequences.extras: adding map-filter.
John Benediktsson [Wed, 25 Apr 2012 22:50:35 +0000 (15:50 -0700)]
sequences.extras: adding map-filter.