]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agoio: Make stream-contents call stream-contents* and do the disposal in the top-level...
Doug Coleman [Sun, 26 Aug 2012 00:03:51 +0000 (17:03 -0700)]
io: Make stream-contents call stream-contents* and do the disposal in the top-level. Fixes #645.

11 years agoimages: gdiplus had a resource leak (file descriptor). change stream>image to dispose...
Doug Coleman [Sat, 25 Aug 2012 18:44:40 +0000 (11:44 -0700)]
images: gdiplus had a resource leak (file descriptor). change stream>image to dispose of the
stream no matter what.

11 years agosets: minor improvements to sequence-as-sets.
John Benediktsson [Fri, 24 Aug 2012 23:36:30 +0000 (16:36 -0700)]
sets: minor improvements to sequence-as-sets.

11 years agocore: in-definition -> with-definition.
Doug Coleman [Fri, 24 Aug 2012 23:07:31 +0000 (16:07 -0700)]
core: in-definition -> with-definition.

11 years agocore: rename in-word-definition to in-definition
Doug Coleman [Fri, 24 Aug 2012 23:04:49 +0000 (16:04 -0700)]
core: rename in-word-definition to in-definition

11 years agocore: Don't allow nested defintions in :, ::, M:, M::. Fixes #469.
Doug Coleman [Fri, 24 Aug 2012 22:53:00 +0000 (15:53 -0700)]
core: Don't allow nested defintions in :, ::, M:, M::. Fixes #469.

11 years agoxml.tokenize: minor speedups.
John Benediktsson [Fri, 24 Aug 2012 22:16:04 +0000 (15:16 -0700)]
xml.tokenize: minor speedups.

11 years agounicode.case: slightly faster >title.
John Benediktsson [Fri, 24 Aug 2012 22:14:48 +0000 (15:14 -0700)]
unicode.case: slightly faster >title.

11 years agohashtables: Enforce shape on hashtable literals. Fixes #568.
Doug Coleman [Fri, 24 Aug 2012 22:00:33 +0000 (15:00 -0700)]
hashtables: Enforce shape on hashtable literals. Fixes #568.

11 years agounicode.breaks: removing unused word.
John Benediktsson [Fri, 24 Aug 2012 21:58:05 +0000 (14:58 -0700)]
unicode.breaks: removing unused word.

11 years agounicode.breaks: better version of previous patch.
John Benediktsson [Fri, 24 Aug 2012 21:57:26 +0000 (14:57 -0700)]
unicode.breaks: better version of previous patch.

11 years agointerval-maps: allow interval-at and interval-key? to optimize better...
John Benediktsson [Fri, 24 Aug 2012 21:37:46 +0000 (14:37 -0700)]
interval-maps: allow interval-at and interval-key? to optimize better...

11 years agointerval-maps: first2 is faster.
John Benediktsson [Fri, 24 Aug 2012 21:25:19 +0000 (14:25 -0700)]
interval-maps: first2 is faster.

11 years agoRevert "unicode.breaks: use find-index-from instead of slices."
John Benediktsson [Fri, 24 Aug 2012 21:10:19 +0000 (14:10 -0700)]
Revert "unicode.breaks: use find-index-from instead of slices."

This reverts commit 0aeb2174fb9cd0e91b774cf212507d3274693f99.

11 years agounicode.breaks: use find-index-from instead of slices.
John Benediktsson [Fri, 24 Aug 2012 19:18:12 +0000 (12:18 -0700)]
unicode.breaks: use find-index-from instead of slices.

11 years agointerval-maps: speed up interval-at.
John Benediktsson [Fri, 24 Aug 2012 19:14:48 +0000 (12:14 -0700)]
interval-maps: speed up interval-at.

11 years agoassocs: Add sift-keys and sift-values. Remove three other implementations
Doug Coleman [Fri, 24 Aug 2012 05:36:10 +0000 (22:36 -0700)]
assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.

11 years agoxml.name: simpler parse-name makes benchmark 12% faster.
John Benediktsson [Fri, 24 Aug 2012 01:07:25 +0000 (18:07 -0700)]
xml.name: simpler parse-name makes benchmark 12% faster.

11 years agoRevert "memoize: faster memoize for single argument words."
John Benediktsson [Fri, 24 Aug 2012 00:47:23 +0000 (17:47 -0700)]
Revert "memoize: faster memoize for single argument words."

This reverts commit bd06ea47abe42cbc55fd193e0f890de03bd9b154.

11 years agomemoize: faster memoize for single argument words.
John Benediktsson [Fri, 24 Aug 2012 00:39:07 +0000 (17:39 -0700)]
memoize: faster memoize for single argument words.

11 years agocombinators: M\ array hashcode* makes memoize faster.
John Benediktsson [Fri, 24 Aug 2012 00:28:27 +0000 (17:28 -0700)]
combinators: M\ array hashcode* makes memoize faster.

11 years agoio.streams.256color: adding support for bold and italic.
John Benediktsson [Thu, 23 Aug 2012 22:20:44 +0000 (15:20 -0700)]
io.streams.256color: adding support for bold and italic.

11 years agomath.primes.erato: bit faster by inlining.
John Benediktsson [Thu, 23 Aug 2012 16:35:09 +0000 (09:35 -0700)]
math.primes.erato: bit faster by inlining.

11 years agovm: simplify a bit the fixnum_divmod code.
John Benediktsson [Thu, 23 Aug 2012 15:38:18 +0000 (08:38 -0700)]
vm: simplify a bit the fixnum_divmod code.

11 years agovm: speed up primitive_fixnum_divmod by 10-12%.
John Benediktsson [Thu, 23 Aug 2012 04:46:59 +0000 (21:46 -0700)]
vm: speed up primitive_fixnum_divmod by 10-12%.

11 years agovm: use tabs instead of spaces in bignum_gcd.
John Benediktsson [Thu, 23 Aug 2012 04:31:27 +0000 (21:31 -0700)]
vm: use tabs instead of spaces in bignum_gcd.

11 years agobootstrap.syntax: removed deprecated ((.
John Benediktsson [Wed, 22 Aug 2012 03:46:29 +0000 (20:46 -0700)]
bootstrap.syntax: removed deprecated ((.

11 years agolayouts: defining "fixnum-bits".
John Benediktsson [Wed, 22 Aug 2012 00:54:01 +0000 (17:54 -0700)]
layouts: defining "fixnum-bits".

11 years agobit-arrays: move toggle-bit to bit-arrays.private.
John Benediktsson [Wed, 22 Aug 2012 00:51:10 +0000 (17:51 -0700)]
bit-arrays: move toggle-bit to bit-arrays.private.

11 years agoxkcd: Print images inline.
Doug Coleman [Fri, 17 Aug 2012 23:49:41 +0000 (16:49 -0700)]
xkcd: Print images inline.

11 years agomason.release.archive: fix extension name on release binaries.
John Benediktsson [Fri, 17 Aug 2012 18:53:51 +0000 (11:53 -0700)]
mason.release.archive: fix extension name on release binaries.

11 years agoFactor.app: update copyright.
John Benediktsson [Fri, 17 Aug 2012 18:45:31 +0000 (11:45 -0700)]
Factor.app: update copyright.

11 years agoxkcd: Typos.
Doug Coleman [Fri, 17 Aug 2012 17:41:45 +0000 (10:41 -0700)]
xkcd: Typos.

11 years agoui.tools.browser: fix stack effect name.
John Benediktsson [Fri, 17 Aug 2012 17:13:21 +0000 (10:13 -0700)]
ui.tools.browser: fix stack effect name.

11 years agoxkcd: XKCD Literals. Duh.
Doug Coleman [Fri, 17 Aug 2012 16:47:33 +0000 (09:47 -0700)]
xkcd: XKCD Literals. Duh.

11 years agoFactor.app: fix "About Factor" version number. It really is 0.95, this is just chrome...
John Benediktsson [Fri, 17 Aug 2012 16:09:31 +0000 (09:09 -0700)]
Factor.app: fix "About Factor" version number. It really is 0.95, this is just chrome on the wheels.

11 years agoREADME: minor introduction changes.
John Benediktsson [Fri, 17 Aug 2012 03:26:17 +0000 (20:26 -0700)]
README: minor introduction changes.

11 years agorandom: Bump up the random unit tests from 50k to 500k. At 50k, pareto doesn't have... similar-0.95
Doug Coleman [Thu, 16 Aug 2012 21:14:08 +0000 (14:14 -0700)]
random: Bump up the random unit tests from 50k to 500k. At 50k, pareto doesn't have enough samples to get the right std. At 500k, it should never fail again..

11 years agovm: Add more comments about functions that allocate.
Doug Coleman [Thu, 16 Aug 2012 05:00:08 +0000 (22:00 -0700)]
vm: Add more comments about functions that allocate.

11 years agovm: Add messages about things that can allocate. Fix a gc bug in the primitive for...
Doug Coleman [Thu, 16 Aug 2012 04:30:55 +0000 (21:30 -0700)]
vm: Add messages about things that can allocate. Fix a gc bug in the primitive for quotation-code.

11 years agoerrors.cpp: Previous fix was correct, except we shouldn't clear the data_roots before...
Doug Coleman [Thu, 16 Aug 2012 02:47:59 +0000 (19:47 -0700)]
errors.cpp: Previous fix was correct, except we shouldn't clear the data_roots before gc'ing. Laugh out loud. Fixes #615.

11 years agoerrors.cpp: Patch looked like it would work. It either exposes more gc bugs or is...
Doug Coleman [Thu, 16 Aug 2012 00:25:14 +0000 (17:25 -0700)]
errors.cpp: Patch looked like it would work. It either exposes more gc bugs or is incorrect.
Revert "errors.cpp: general_error() throws away its args when it calls compact_gc() when compiled with DEBUG=1. Save the args as data_roots instead. Fixes #615. See #620."

This reverts commit dc462970506ea721166dfd4ccd53a458cccd0505.

11 years agoerrors.cpp: general_error() throws away its args when it calls compact_gc() when...
Doug Coleman [Wed, 15 Aug 2012 23:36:36 +0000 (16:36 -0700)]
errors.cpp: general_error() throws away its args when it calls compact_gc() when compiled with DEBUG=1. Save the args as data_roots instead. Fixes #615. See #620.

11 years agohelp.tutorial: Explain the workflow before telling the user to edit the code.
Doug Coleman [Wed, 15 Aug 2012 15:57:22 +0000 (08:57 -0700)]
help.tutorial: Explain the workflow before telling the user to edit the code.

11 years agocalendar.unix: inline some things.
John Benediktsson [Wed, 15 Aug 2012 15:29:00 +0000 (08:29 -0700)]
calendar.unix: inline some things.

11 years agobignum.cpp: Fix calls to reallot_array() -- bignums can get new addresses if they...
Doug Coleman [Wed, 15 Aug 2012 06:44:43 +0000 (23:44 -0700)]
bignum.cpp: Fix calls to reallot_array() -- bignums can get new addresses if they are not in the nursery or are somehow larger. Fix a couple more correctness issues.

11 years agomath.cpp: Fix theoretical gc bug.
Doug Coleman [Wed, 15 Aug 2012 06:44:03 +0000 (23:44 -0700)]
math.cpp: Fix theoretical gc bug.

11 years agoslots: make predicates return booleans.
John Benediktsson [Wed, 15 Aug 2012 01:09:50 +0000 (18:09 -0700)]
slots: make predicates return booleans.

11 years agoio: improve docs for stream-copy*.
John Benediktsson [Tue, 14 Aug 2012 22:12:19 +0000 (15:12 -0700)]
io: improve docs for stream-copy*.

11 years agocommand-line: need to check for run differently.
John Benediktsson [Tue, 14 Aug 2012 04:06:57 +0000 (21:06 -0700)]
command-line: need to check for run differently.

11 years agocommand-line: need to check rest of args.
John Benediktsson [Tue, 14 Aug 2012 03:57:39 +0000 (20:57 -0700)]
command-line: need to check rest of args.

11 years agocombinators.smart: adding smart-with.
John Benediktsson [Tue, 14 Aug 2012 02:32:12 +0000 (19:32 -0700)]
combinators.smart: adding smart-with.

11 years agoeditors.vim: use string as article name.
John Benediktsson [Tue, 14 Aug 2012 01:22:14 +0000 (18:22 -0700)]
editors.vim: use string as article name.

11 years agorosetta-code.bulls-and-cows: digit> is better.
John Benediktsson [Tue, 14 Aug 2012 01:17:03 +0000 (18:17 -0700)]
rosetta-code.bulls-and-cows: digit> is better.

11 years agographviz: fix test errors on the mac.
John Benediktsson [Tue, 14 Aug 2012 00:59:09 +0000 (17:59 -0700)]
graphviz: fix test errors on the mac.

11 years agographviz: add some unit tests (stuff from the gallery)
Alex Vondrak [Sun, 18 Sep 2011 22:53:06 +0000 (15:53 -0700)]
graphviz: add some unit tests (stuff from the gallery)

11 years agoui.tools.operations: fix crash clicking on a model that hasn't been initialized properly.
John Benediktsson [Tue, 14 Aug 2012 00:02:39 +0000 (17:02 -0700)]
ui.tools.operations: fix crash clicking on a model that hasn't been initialized properly.

11 years agocommand-line: if run is specified first non-param starts the command-line.
John Benediktsson [Mon, 13 Aug 2012 23:42:56 +0000 (16:42 -0700)]
command-line: if run is specified first non-param starts the command-line.

11 years agowebapps.mason: show all the configured build machines, not just the failing ones.
John Benediktsson [Mon, 13 Aug 2012 23:21:32 +0000 (16:21 -0700)]
webapps.mason: show all the configured build machines, not just the failing ones.

11 years agoui.tools.listener.completion: make sure "IN:<Ctrl-h>" works.
John Benediktsson [Mon, 13 Aug 2012 22:16:16 +0000 (15:16 -0700)]
ui.tools.listener.completion: make sure "IN:<Ctrl-h>" works.

11 years agovocabs.cache: bringing back the fry change.
John Benediktsson [Mon, 13 Aug 2012 19:44:33 +0000 (12:44 -0700)]
vocabs.cache: bringing back the fry change.

11 years agoRevert "vocabs.cache: use fry, its cleaner."
John Benediktsson [Mon, 13 Aug 2012 19:36:06 +0000 (12:36 -0700)]
Revert "vocabs.cache: use fry, its cleaner."

This reverts commit 1a8d9f227d6b0dc19aab589ad34287933021966d.

11 years agoRevert "vocabs.cache: oops."
John Benediktsson [Mon, 13 Aug 2012 19:36:02 +0000 (12:36 -0700)]
Revert "vocabs.cache: oops."

This reverts commit c7c0fd7a4638632a724ab2e2862bed1a0ac14eb1.

11 years agovocabs.cache: oops.
John Benediktsson [Mon, 13 Aug 2012 19:31:36 +0000 (12:31 -0700)]
vocabs.cache: oops.

11 years agovocabs.cache: use fry, its cleaner.
John Benediktsson [Mon, 13 Aug 2012 19:30:17 +0000 (12:30 -0700)]
vocabs.cache: use fry, its cleaner.

11 years agohelp.html: fix test case back to original version.
John Benediktsson [Mon, 13 Aug 2012 19:25:08 +0000 (12:25 -0700)]
help.html: fix test case back to original version.

11 years agovocabs.cache: clear only the vocab that changed from vocab-file-contents.
John Benediktsson [Mon, 13 Aug 2012 19:24:14 +0000 (12:24 -0700)]
vocabs.cache: clear only the vocab that changed from vocab-file-contents.

11 years agovocabs: change vocabs-changed to be vocab-changed and take a vocab argument.
John Benediktsson [Mon, 13 Aug 2012 19:05:42 +0000 (12:05 -0700)]
vocabs: change vocabs-changed to be vocab-changed and take a vocab argument.

11 years agomemoize: fix invalidate-memoized for 0 args.
John Benediktsson [Mon, 13 Aug 2012 19:04:56 +0000 (12:04 -0700)]
memoize: fix invalidate-memoized for 0 args.

11 years agovocabs.hierarchy: much faster using directory entries.
John Benediktsson [Mon, 13 Aug 2012 18:12:15 +0000 (11:12 -0700)]
vocabs.hierarchy: much faster using directory entries.

11 years agovocabs.loader: early exit for private vocab.
John Benediktsson [Mon, 13 Aug 2012 18:11:59 +0000 (11:11 -0700)]
vocabs.loader: early exit for private vocab.

11 years agoeditors: these should understand private.
John Benediktsson [Mon, 13 Aug 2012 17:32:27 +0000 (10:32 -0700)]
editors: these should understand private.

11 years agovocabs: reverting recent private vocab changes.
John Benediktsson [Mon, 13 Aug 2012 17:32:14 +0000 (10:32 -0700)]
vocabs: reverting recent private vocab changes.

11 years agomath.functions: make it clear that 0 = is the more correct zero?.
John Benediktsson [Mon, 13 Aug 2012 15:03:54 +0000 (08:03 -0700)]
math.functions: make it clear that 0 = is the more correct zero?.

11 years agohelp.html: Fix unit test.
Doug Coleman [Sun, 12 Aug 2012 20:55:53 +0000 (13:55 -0700)]
help.html: Fix unit test.

11 years agomath.complex: Fix using list.
Doug Coleman [Sun, 12 Aug 2012 20:55:36 +0000 (13:55 -0700)]
math.complex: Fix using list.

11 years agoRevert "math.functions: cleaner rect>."
John Benediktsson [Sat, 11 Aug 2012 17:40:41 +0000 (10:40 -0700)]
Revert "math.functions: cleaner rect>."

This reverts commit 5ecff652babcdcb92948fe6715adbc3e082bc1d9.

11 years agovocabs.refresh: skip private vocabs.
John Benediktsson [Sat, 11 Aug 2012 02:33:18 +0000 (19:33 -0700)]
vocabs.refresh: skip private vocabs.

11 years agomath.complex: Check C{ } syntax -- can only have two elements in the complex array...
Doug Coleman [Fri, 10 Aug 2012 22:57:29 +0000 (15:57 -0700)]
math.complex: Check C{ } syntax -- can only have two elements in the complex array. Fixes #612.

11 years agomath.functions: cleaner rect>.
John Benediktsson [Fri, 10 Aug 2012 22:51:11 +0000 (15:51 -0700)]
math.functions: cleaner rect>.

11 years agotools.time: flush the banner so you can use time in a loop.
John Benediktsson [Fri, 10 Aug 2012 22:23:10 +0000 (15:23 -0700)]
tools.time: flush the banner so you can use time in a loop.

11 years agovocabs.loader: adding tests for recent changes.
John Benediktsson [Fri, 10 Aug 2012 22:15:38 +0000 (15:15 -0700)]
vocabs.loader: adding tests for recent changes.

11 years agovocabs.loader: simplify.
John Benediktsson [Fri, 10 Aug 2012 22:11:42 +0000 (15:11 -0700)]
vocabs.loader: simplify.

11 years agovocabs.loader: more private fixes.
John Benediktsson [Fri, 10 Aug 2012 22:08:40 +0000 (15:08 -0700)]
vocabs.loader: more private fixes.

11 years agovocabs.loader: better fix for append-vocab-dir.
John Benediktsson [Fri, 10 Aug 2012 22:01:37 +0000 (15:01 -0700)]
vocabs.loader: better fix for append-vocab-dir.

11 years agovocabs.loader: vocab-dir should work with private vocabs too.
John Benediktsson [Fri, 10 Aug 2012 21:43:59 +0000 (14:43 -0700)]
vocabs.loader: vocab-dir should work with private vocabs too.

11 years agovocabs: make source/docs/tests work for private vocabs.
John Benediktsson [Fri, 10 Aug 2012 21:39:53 +0000 (14:39 -0700)]
vocabs: make source/docs/tests work for private vocabs.

11 years agobignum: incorporate some fixes from @slavapestov.
John Benediktsson [Fri, 10 Aug 2012 21:28:44 +0000 (14:28 -0700)]
bignum: incorporate some fixes from @slavapestov.

11 years agoREADME.md: A few more cleanups suggested by @mrjbq7.
Doug Coleman [Fri, 10 Aug 2012 19:14:04 +0000 (12:14 -0700)]
README.md: A few more cleanups suggested by @mrjbq7.

11 years agoREADME.md: Don't assume the user has downloaded Factor yet. Instructions on how to...
Doug Coleman [Fri, 10 Aug 2012 19:02:29 +0000 (12:02 -0700)]
README.md: Don't assume the user has downloaded Factor yet. Instructions on how to clone git and build the latest Factor.

11 years agosequences.extras: moved 2each-index to extras for now.
John Benediktsson [Thu, 9 Aug 2012 23:36:35 +0000 (16:36 -0700)]
sequences.extras: moved 2each-index to extras for now.

11 years agosequences.repeating: fix repeat bug.
John Benediktsson [Thu, 9 Aug 2012 22:07:45 +0000 (15:07 -0700)]
sequences.repeating: fix repeat bug.

11 years agosequences.extras: adding even and odd indices virtual sequences.
John Benediktsson [Thu, 9 Aug 2012 19:49:29 +0000 (12:49 -0700)]
sequences.extras: adding even and odd indices virtual sequences.

11 years agomath.transforms.fft: bit simpler, faster.
John Benediktsson [Thu, 9 Aug 2012 19:34:02 +0000 (12:34 -0700)]
math.transforms.fft: bit simpler, faster.

11 years agomath.transforms.fft: specify algorithm.
John Benediktsson [Thu, 9 Aug 2012 15:56:47 +0000 (08:56 -0700)]
math.transforms.fft: specify algorithm.

11 years agomath.transforms.fft: using 2map-index to simplify.
John Benediktsson [Thu, 9 Aug 2012 15:36:26 +0000 (08:36 -0700)]
math.transforms.fft: using 2map-index to simplify.

11 years agosequences.extras: adding 2map-index.
John Benediktsson [Thu, 9 Aug 2012 15:36:17 +0000 (08:36 -0700)]
sequences.extras: adding 2map-index.

11 years agomath.transforms.fft: adding cross-correlation.
John Benediktsson [Thu, 9 Aug 2012 04:00:49 +0000 (21:00 -0700)]
math.transforms.fft: adding cross-correlation.

11 years agosequences.extras: adding 2map!.
John Benediktsson [Thu, 9 Aug 2012 03:55:26 +0000 (20:55 -0700)]
sequences.extras: adding 2map!.

11 years agosequences.extras: adding 2map-into.
John Benediktsson [Thu, 9 Aug 2012 03:35:09 +0000 (20:35 -0700)]
sequences.extras: adding 2map-into.