]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agowindows.time: fix using list.
John Benediktsson [Mon, 16 Jul 2012 22:46:52 +0000 (15:46 -0700)]
windows.time: fix using list.

11 years agousing if-zero in more places.
John Benediktsson [Mon, 16 Jul 2012 22:45:21 +0000 (15:45 -0700)]
using if-zero in more places.

11 years agowindows.time: faster windows-time>timestamp.
John Benediktsson [Mon, 16 Jul 2012 22:30:58 +0000 (15:30 -0700)]
windows.time: faster windows-time>timestamp.

11 years agosequences: prepend-as should be inlined.
John Benediktsson [Mon, 16 Jul 2012 18:54:32 +0000 (11:54 -0700)]
sequences: prepend-as should be inlined.

11 years agohints: prepend should have same hints as append.
John Benediktsson [Mon, 16 Jul 2012 18:07:13 +0000 (11:07 -0700)]
hints: prepend should have same hints as append.

11 years agosplitting.monotonic: revert to previous monotonic-split (thanks @k7f!).
John Benediktsson [Mon, 16 Jul 2012 14:39:03 +0000 (07:39 -0700)]
splitting.monotonic: revert to previous monotonic-split (thanks @k7f!).

11 years agocalendar.unix: fix timeval>seconds (thanks @k7f!)
John Benediktsson [Mon, 16 Jul 2012 14:37:02 +0000 (07:37 -0700)]
calendar.unix: fix timeval>seconds (thanks @k7f!)

11 years agovocabs.hierarchy: ensure-valid-root only once per root.
John Benediktsson [Sun, 15 Jul 2012 23:17:29 +0000 (16:17 -0700)]
vocabs.hierarchy: ensure-valid-root only once per root.

11 years agocsv: don't need optional first/last.
John Benediktsson [Sun, 15 Jul 2012 23:03:19 +0000 (16:03 -0700)]
csv: don't need optional first/last.

11 years agovocabs.hierarchy: some cleanup and minor speedups.
John Benediktsson [Sun, 15 Jul 2012 22:48:39 +0000 (15:48 -0700)]
vocabs.hierarchy: some cleanup and minor speedups.

11 years agocalendar.unix: making time conversions a lot faster.
John Benediktsson [Sun, 15 Jul 2012 22:16:28 +0000 (15:16 -0700)]
calendar.unix: making time conversions a lot faster.

11 years agovocabs: faster check-vocab-name.
John Benediktsson [Sun, 15 Jul 2012 21:21:25 +0000 (14:21 -0700)]
vocabs: faster check-vocab-name.

11 years agounicode.data: faster string operations by using constants instead of globals.
John Benediktsson [Sun, 15 Jul 2012 20:57:05 +0000 (13:57 -0700)]
unicode.data: faster string operations by using constants instead of globals.

11 years agocsv: faster, only use make when field contains quotes or newlines.
John Benediktsson [Sun, 15 Jul 2012 16:50:51 +0000 (09:50 -0700)]
csv: faster, only use make when field contains quotes or newlines.

11 years agosequences.extras: adding a trim-as word.
John Benediktsson [Sun, 15 Jul 2012 16:47:44 +0000 (09:47 -0700)]
sequences.extras: adding a trim-as word.

11 years agosequences.extras: adding a contains? (a faster sequence intersects?).
John Benediktsson [Sun, 15 Jul 2012 16:17:31 +0000 (09:17 -0700)]
sequences.extras: adding a contains? (a faster sequence intersects?).

11 years agocsv: faster for files that do not have blanks around delimiter.
John Benediktsson [Sun, 15 Jul 2012 16:15:55 +0000 (09:15 -0700)]
csv: faster for files that do not have blanks around delimiter.

11 years agotools.completion: fix chars-matching word.
John Benediktsson [Sat, 14 Jul 2012 23:14:48 +0000 (16:14 -0700)]
tools.completion: fix chars-matching word.

11 years agocsv: 20% faster.
John Benediktsson [Sat, 14 Jul 2012 22:33:24 +0000 (15:33 -0700)]
csv: 20% faster.

11 years agosplitting.monotonic: cleanup, a little faster.
John Benediktsson [Sat, 14 Jul 2012 22:22:34 +0000 (15:22 -0700)]
splitting.monotonic: cleanup, a little faster.

11 years agosequences.extras: bounds-check in rotate! and do exchange-unsafe.
John Benediktsson [Sat, 14 Jul 2012 22:12:18 +0000 (15:12 -0700)]
sequences.extras: bounds-check in rotate! and do exchange-unsafe.

11 years agoui.gadgets: rename max-dim and dim-sum.
John Benediktsson [Sat, 14 Jul 2012 06:19:21 +0000 (23:19 -0700)]
ui.gadgets: rename max-dim and dim-sum.

11 years agobenchmark.csv: adding a benchmark for csv.
John Benediktsson [Sat, 14 Jul 2012 05:20:34 +0000 (22:20 -0700)]
benchmark.csv: adding a benchmark for csv.

11 years agostrings.tables: adding empty format-table test case.
John Benediktsson [Sat, 14 Jul 2012 05:14:25 +0000 (22:14 -0700)]
strings.tables: adding empty format-table test case.

11 years agostrings.tables: fixing issue slicing empty arrays.
John Benediktsson [Sat, 14 Jul 2012 05:11:58 +0000 (22:11 -0700)]
strings.tables: fixing issue slicing empty arrays.

11 years agocsv: 20% faster reading, and 50% faster writing.
John Benediktsson [Sat, 14 Jul 2012 04:45:29 +0000 (21:45 -0700)]
csv: 20% faster reading, and 50% faster writing.

11 years agosplitting: slightly faster string-lines.
John Benediktsson [Sat, 14 Jul 2012 03:26:07 +0000 (20:26 -0700)]
splitting: slightly faster string-lines.

11 years agodlists: fix tests using list.
John Benediktsson [Sat, 14 Jul 2012 02:10:55 +0000 (19:10 -0700)]
dlists: fix tests using list.

11 years ago"H{ } substitute" is faster than "{ } substitute".
John Benediktsson [Sat, 14 Jul 2012 02:06:38 +0000 (19:06 -0700)]
"H{ } substitute" is faster than "{ } substitute".

11 years agoassocs.extras: adding (in-place) substitute!.
John Benediktsson [Sat, 14 Jul 2012 02:00:49 +0000 (19:00 -0700)]
assocs.extras: adding (in-place) substitute!.

11 years agoui.tools.listener.completion: intersects? is overkill here.
John Benediktsson [Sat, 14 Jul 2012 01:58:05 +0000 (18:58 -0700)]
ui.tools.listener.completion: intersects? is overkill here.

11 years agostrings.tables: faster format-table.
John Benediktsson [Sat, 14 Jul 2012 01:42:34 +0000 (18:42 -0700)]
strings.tables: faster format-table.

11 years agosplitting: string-lines is 30-70% faster.
John Benediktsson [Sat, 14 Jul 2012 01:24:45 +0000 (18:24 -0700)]
splitting: string-lines is 30-70% faster.

11 years agodlists: simpler equality.
John Benediktsson [Sat, 14 Jul 2012 00:29:20 +0000 (17:29 -0700)]
dlists: simpler equality.

11 years agodlists: fix equality when custom dlist-link nodes are used.
John Benediktsson [Fri, 13 Jul 2012 23:56:28 +0000 (16:56 -0700)]
dlists: fix equality when custom dlist-link nodes are used.

11 years agodlists: fix stack effect names.
John Benediktsson [Fri, 13 Jul 2012 23:21:29 +0000 (16:21 -0700)]
dlists: fix stack effect names.

11 years agobinary-search: check +eq+ last.
John Benediktsson [Fri, 13 Jul 2012 23:21:18 +0000 (16:21 -0700)]
binary-search: check +eq+ last.

11 years agobenchmark.binary-search: remove print in favor of assert.
John Benediktsson [Fri, 13 Jul 2012 23:11:01 +0000 (16:11 -0700)]
benchmark.binary-search: remove print in favor of assert.

11 years agodlists: rename "dlist>seq" to "dlist>sequence".
John Benediktsson [Fri, 13 Jul 2012 22:53:38 +0000 (15:53 -0700)]
dlists: rename "dlist>seq" to "dlist>sequence".

11 years agoui.gadgets: use curry in add-gadgets.
John Benediktsson [Fri, 13 Jul 2012 22:39:18 +0000 (15:39 -0700)]
ui.gadgets: use curry in add-gadgets.

11 years agoui.text: cleanup string-width/height and make text-dim a bit faster.
John Benediktsson [Fri, 13 Jul 2012 22:35:42 +0000 (15:35 -0700)]
ui.text: cleanup string-width/height and make text-dim a bit faster.

11 years agocore-text.fonts: making cache-font and cache-font-metrics twice as fast.
John Benediktsson [Fri, 13 Jul 2012 22:18:35 +0000 (15:18 -0700)]
core-text.fonts: making cache-font and cache-font-metrics twice as fast.

11 years agobenchmark.dlists: adding a dlist benchmark.
John Benediktsson [Fri, 13 Jul 2012 22:15:26 +0000 (15:15 -0700)]
benchmark.dlists: adding a dlist benchmark.

11 years agodlists: rename "seq>dlist" to ">dlist".
John Benediktsson [Fri, 13 Jul 2012 22:15:14 +0000 (15:15 -0700)]
dlists: rename "seq>dlist" to ">dlist".

11 years agodeques: fix stack effect to have "deque" not "dlist".
John Benediktsson [Fri, 13 Jul 2012 22:14:51 +0000 (15:14 -0700)]
deques: fix stack effect to have "deque" not "dlist".

11 years agoxml.data: some lint fixes.
John Benediktsson [Fri, 13 Jul 2012 02:24:18 +0000 (19:24 -0700)]
xml.data: some lint fixes.

11 years agoxml: 10-12% faster benchmark through cleanup and minor refactoring.
John Benediktsson [Fri, 13 Jul 2012 02:06:37 +0000 (19:06 -0700)]
xml: 10-12% faster benchmark through cleanup and minor refactoring.

11 years agoxml.data: eliminate unions in favor of maybe.
John Benediktsson [Fri, 13 Jul 2012 02:00:12 +0000 (19:00 -0700)]
xml.data: eliminate unions in favor of maybe.

11 years agoxml-rpc: removing unnecessary union.
John Benediktsson [Fri, 13 Jul 2012 01:59:17 +0000 (18:59 -0700)]
xml-rpc: removing unnecessary union.

11 years agoassocs.extras: fixing stack effect, inline words.
John Benediktsson [Thu, 12 Jul 2012 05:15:44 +0000 (22:15 -0700)]
assocs.extras: fixing stack effect, inline words.

11 years agojson.writer: slightly faster using first2.
John Benediktsson [Thu, 12 Jul 2012 03:47:38 +0000 (20:47 -0700)]
json.writer: slightly faster using first2.

11 years agojson.writer: using interleave is much cleaner (thanks @jckarter!).
John Benediktsson [Thu, 12 Jul 2012 03:41:25 +0000 (20:41 -0700)]
json.writer: using interleave is much cleaner (thanks @jckarter!).

11 years agoassocs.extras: adding a "zip-as" that is faster than "zip >hashtable".
John Benediktsson [Thu, 12 Jul 2012 03:37:12 +0000 (20:37 -0700)]
assocs.extras: adding a "zip-as" that is faster than "zip >hashtable".

11 years agojson.writer: faster writing, makes the json benchmark almost twice as fast.
John Benediktsson [Thu, 12 Jul 2012 02:31:57 +0000 (19:31 -0700)]
json.writer: faster writing, makes the json benchmark almost twice as fast.

11 years agojson.reader: make json parsing faster for files that contain a lot of spaces.
John Benediktsson [Thu, 12 Jul 2012 01:45:10 +0000 (18:45 -0700)]
json.reader: make json parsing faster for files that contain a lot of spaces.

11 years agobenchmark.json: adding a json benchmark.
John Benediktsson [Thu, 12 Jul 2012 01:43:22 +0000 (18:43 -0700)]
benchmark.json: adding a json benchmark.

11 years agoio.streams.sequence: faster stream-read-until.
John Benediktsson [Thu, 12 Jul 2012 01:26:41 +0000 (18:26 -0700)]
io.streams.sequence: faster stream-read-until.

11 years agomisc: update vim syntax file using ``generate-vim-syntax``.
John Benediktsson [Wed, 11 Jul 2012 21:28:15 +0000 (14:28 -0700)]
misc: update vim syntax file using ``generate-vim-syntax``.

11 years agomisc: update factor.vim generator with changes in last year.
John Benediktsson [Wed, 11 Jul 2012 21:27:48 +0000 (14:27 -0700)]
misc: update factor.vim generator with changes in last year.

11 years agoxml.traversal: use filter-as words.
John Benediktsson [Wed, 11 Jul 2012 21:19:07 +0000 (14:19 -0700)]
xml.traversal: use filter-as words.

11 years agosequences.deep: adding deep-filter-as and flatten-as.
John Benediktsson [Wed, 11 Jul 2012 21:18:11 +0000 (14:18 -0700)]
sequences.deep: adding deep-filter-as and flatten-as.

11 years agomath.statistics: faster and simpler entropy word.
John Benediktsson [Wed, 11 Jul 2012 19:26:20 +0000 (12:26 -0700)]
math.statistics: faster and simpler entropy word.

11 years agobuild-support: make factor.sh check the git branch.
John Benediktsson [Wed, 11 Jul 2012 19:08:29 +0000 (12:08 -0700)]
build-support: make factor.sh check the git branch.

11 years agocairo: Store the error number in the error tuple.
Doug Coleman [Wed, 11 Jul 2012 00:24:54 +0000 (17:24 -0700)]
cairo: Store the error number in the error tuple.

11 years agosequences.repeating: minor style cleanup.
John Benediktsson [Wed, 11 Jul 2012 00:03:13 +0000 (17:03 -0700)]
sequences.repeating: minor style cleanup.

11 years agomath.statistics: minor style cleanup.
John Benediktsson [Wed, 11 Jul 2012 00:03:01 +0000 (17:03 -0700)]
math.statistics: minor style cleanup.

11 years agosequences.repeating: rename repeating to cycle and add repeat
John Benediktsson [Tue, 10 Jul 2012 23:47:33 +0000 (16:47 -0700)]
sequences.repeating: rename repeating to cycle and add repeat

11 years agoConfig.macosx: first two digits of 'xcodebuild -version' number is enough; throw...
Doug Coleman [Fri, 22 Jun 2012 22:15:00 +0000 (15:15 -0700)]
Config.macosx: first two digits of 'xcodebuild -version' number is enough; throw away rest of version number.
$ xcodebuild -version
Xcode 4.3.3
Build version 4E3002
Fixes #543.

11 years agococoa.plists: Remove duplicate using.
Doug Coleman [Fri, 22 Jun 2012 20:47:17 +0000 (13:47 -0700)]
cocoa.plists: Remove duplicate using.

11 years agomath.functions: minor cleanup.
John Benediktsson [Fri, 22 Jun 2012 15:38:34 +0000 (08:38 -0700)]
math.functions: minor cleanup.

11 years agographviz.ffi: use unless-zero.
John Benediktsson [Fri, 22 Jun 2012 15:36:56 +0000 (08:36 -0700)]
graphviz.ffi: use unless-zero.

11 years agomath.text.french: removing duplicate if-zero definition.
John Benediktsson [Fri, 22 Jun 2012 15:36:37 +0000 (08:36 -0700)]
math.text.french: removing duplicate if-zero definition.

11 years agoui.tools.listener: adding docs for emacs-style key bindings.
John Benediktsson [Fri, 22 Jun 2012 03:18:13 +0000 (20:18 -0700)]
ui.tools.listener: adding docs for emacs-style key bindings.

11 years agoparser: Drunk coding is buzzed coding.
Doug Coleman [Fri, 22 Jun 2012 00:35:24 +0000 (17:35 -0700)]
parser: Drunk coding is buzzed coding.

11 years agoparser: last fix.
Doug Coleman [Thu, 21 Jun 2012 21:18:55 +0000 (14:18 -0700)]
parser: last fix.

11 years agopixel-format-attribute was just (pixel-format-attribute)
Doug Coleman [Thu, 21 Jun 2012 19:12:57 +0000 (12:12 -0700)]
pixel-format-attribute was just (pixel-format-attribute)
Rename the GENERIC: (pixel-format-attribute) to pixel-format-attribute ?

11 years agorenaming fixes: Forgot some words.
Doug Coleman [Thu, 21 Jun 2012 18:54:12 +0000 (11:54 -0700)]
renaming fixes: Forgot some words.

11 years agofuel.help: fix use of lookup-article.
John Benediktsson [Thu, 21 Jun 2012 18:53:25 +0000 (11:53 -0700)]
fuel.help: fix use of lookup-article.

11 years agodebugger: summary on check-mixin-class-error
Doug Coleman [Thu, 21 Jun 2012 16:12:15 +0000 (09:12 -0700)]
debugger: summary on check-mixin-class-error

11 years agoutf16n: botched merge commit. oops
Doug Coleman [Thu, 21 Jun 2012 16:04:09 +0000 (09:04 -0700)]
utf16n: botched merge commit. oops

11 years agodebugger: put method on no-current-vocab-error
Doug Coleman [Thu, 21 Jun 2012 16:01:57 +0000 (09:01 -0700)]
debugger: put method on no-current-vocab-error

11 years agodebugger: Put method on check-method-error.
Doug Coleman [Thu, 21 Jun 2012 15:56:57 +0000 (08:56 -0700)]
debugger: Put method on check-method-error.

11 years agoissue #358: rename no-current-vocab
Doug Coleman [Thu, 21 Jun 2012 07:37:55 +0000 (00:37 -0700)]
issue #358: rename no-current-vocab

11 years agoissue #358: change line-break to add-line-break
Doug Coleman [Thu, 21 Jun 2012 07:21:30 +0000 (00:21 -0700)]
issue #358: change line-break to add-line-break

11 years agoissue #358: delete unused word
Doug Coleman [Thu, 21 Jun 2012 07:21:16 +0000 (00:21 -0700)]
issue #358: delete unused word

11 years agoissue #358: rename ole32-error -> check-ole32-error
Doug Coleman [Thu, 21 Jun 2012 07:20:33 +0000 (00:20 -0700)]
issue #358: rename ole32-error -> check-ole32-error

11 years agoissue #358: fix a couple compiler errors
Doug Coleman [Thu, 21 Jun 2012 07:19:45 +0000 (00:19 -0700)]
issue #358: fix a couple compiler errors

11 years agoissue #358: command-map -> get-command-at
Doug Coleman [Thu, 21 Jun 2012 07:03:27 +0000 (00:03 -0700)]
issue #358: command-map -> get-command-at

11 years agoissue #358: code-blocks -> get-code-blocks
Doug Coleman [Thu, 21 Jun 2012 07:00:51 +0000 (00:00 -0700)]
issue #358: code-blocks -> get-code-blocks

11 years agoissue #358: Rename all of the words depends-on-* to add-depends-on*
Doug Coleman [Thu, 21 Jun 2012 06:55:24 +0000 (23:55 -0700)]
issue #358: Rename all of the words depends-on-* to add-depends-on*

11 years agoissue #358: Finish renaming <apropos> to <apropos-search>
Doug Coleman [Thu, 21 Jun 2012 06:55:01 +0000 (23:55 -0700)]
issue #358: Finish renaming <apropos> to <apropos-search>

11 years agoissue #358: fix images.gif
Doug Coleman [Thu, 21 Jun 2012 05:59:54 +0000 (22:59 -0700)]
issue #358: fix images.gif

11 years agoissue #358: annotation -> lookup-annotation
Doug Coleman [Thu, 21 Jun 2012 05:50:48 +0000 (22:50 -0700)]
issue #358: annotation -> lookup-annotation

11 years agoissue #358: Rename check-method and check-mixin-class TUPLE:s to ERROR:s.
Doug Coleman [Thu, 21 Jun 2012 05:45:52 +0000 (22:45 -0700)]
issue #358: Rename check-method and check-mixin-class TUPLE:s to ERROR:s.

11 years agoissue #358: Rename button-pen -> lookup-button-pen.
Doug Coleman [Thu, 21 Jun 2012 05:41:47 +0000 (22:41 -0700)]
issue #358: Rename button-pen -> lookup-button-pen.

11 years agoissue #358: Rename apropos tuple -> apropos-search.
Doug Coleman [Thu, 21 Jun 2012 05:38:41 +0000 (22:38 -0700)]
issue #358: Rename apropos tuple -> apropos-search.

11 years agoissue #358: Make a word lookup-article so that article is just a tuple.
Doug Coleman [Thu, 21 Jun 2012 05:33:47 +0000 (22:33 -0700)]
issue #358: Make a word lookup-article so that article is just a tuple.

11 years agoio.files.info.windows: Fix file-systems word in two ways. First, don't
Doug Coleman [Thu, 21 Jun 2012 15:32:53 +0000 (08:32 -0700)]
io.files.info.windows: Fix file-systems word in two ways. First, don't
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.

11 years agosequences.windowed: Add vocabulary for doing windowed sequences that look
Doug Coleman [Thu, 21 Jun 2012 04:40:38 +0000 (21:40 -0700)]
sequences.windowed: Add vocabulary for doing windowed sequences that look
n steps back. Different from clumps in that maping over them gives you a
sequence that's as long as the underlying sequence.

11 years agorandom: Add random-integers and random-units words.
Doug Coleman [Thu, 21 Jun 2012 04:04:57 +0000 (21:04 -0700)]
random: Add random-integers and random-units words.