]> gitweb.factorcode.org Git - factor.git/log
factor.git
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.

11 years agosplitting: adding split*, a variant that keeps elements we split upon.
John Benediktsson [Thu, 21 Jun 2012 02:57:11 +0000 (19:57 -0700)]
splitting: adding split*, a variant that keeps elements we split upon.

11 years ago24-game: add division operation.
John Benediktsson [Thu, 21 Jun 2012 00:55:11 +0000 (17:55 -0700)]
24-game: add division operation.

11 years agomath.blas.config: deal with OS X libblas ABI mess
John Benediktsson [Thu, 21 Jun 2012 00:17:49 +0000 (17:17 -0700)]
math.blas.config: deal with OS X libblas ABI mess
x86-64 libblas uses different ABIs on 10.5 and 10.7, and is broken on 10.6.
Modified from patch by Joe Groff.

11 years agoalien.fortran: add a bad-fortran-abi object
John Benediktsson [Thu, 21 Jun 2012 00:16:50 +0000 (17:16 -0700)]
alien.fortran: add a bad-fortran-abi object
Use this to represent an invalid Fortran library ABI with information about how to fix it.
Modified from patch by Joe Groff.

11 years ago24-game: Fix the docs.
Doug Coleman [Wed, 20 Jun 2012 07:37:09 +0000 (00:37 -0700)]
24-game: Fix the docs.

11 years ago24-game: flush output, add some tests.
John Benediktsson [Wed, 20 Jun 2012 06:11:10 +0000 (23:11 -0700)]
24-game: flush output, add some tests.

11 years ago24-game: simplify and cleanup.
John Benediktsson [Wed, 20 Jun 2012 06:09:56 +0000 (23:09 -0700)]
24-game: simplify and cleanup.

11 years agotools.deploy: use splitting, sigh.
John Benediktsson [Wed, 20 Jun 2012 01:56:03 +0000 (18:56 -0700)]
tools.deploy: use splitting, sigh.

11 years agoenvironment: Add change-os-env, docs, example, etc.
Slava Pestov [Wed, 20 Jun 2012 01:45:53 +0000 (18:45 -0700)]
environment: Add change-os-env, docs, example, etc.

11 years agotools.deploy: fix test for staging name.
John Benediktsson [Wed, 20 Jun 2012 00:57:22 +0000 (17:57 -0700)]
tools.deploy: fix test for staging name.

11 years agotools.deploy: whoops, need bootstrap.image.
John Benediktsson [Wed, 20 Jun 2012 00:32:46 +0000 (17:32 -0700)]
tools.deploy: whoops, need bootstrap.image.

11 years agotools.deploy: delete all cached staging images in deploy tests.
John Benediktsson [Wed, 20 Jun 2012 00:13:45 +0000 (17:13 -0700)]
tools.deploy: delete all cached staging images in deploy tests.

11 years agotools.deploy.backend: include arch in staging image name.
John Benediktsson [Wed, 20 Jun 2012 00:13:33 +0000 (17:13 -0700)]
tools.deploy.backend: include arch in staging image name.

11 years agomath.extras: adding nonzero.
John Benediktsson [Tue, 19 Jun 2012 21:23:00 +0000 (14:23 -0700)]
math.extras: adding nonzero.

11 years agobenchmark.completion: adding a benchmark of tools.completion.
John Benediktsson [Tue, 19 Jun 2012 21:09:38 +0000 (14:09 -0700)]
benchmark.completion: adding a benchmark of tools.completion.

11 years agotools.completion: 5-7% performance improvement.
John Benediktsson [Tue, 19 Jun 2012 20:50:50 +0000 (13:50 -0700)]
tools.completion: 5-7% performance improvement.

11 years agomason.docs: make docs archive have relative paths.
John Benediktsson [Tue, 19 Jun 2012 17:08:14 +0000 (10:08 -0700)]
mason.docs: make docs archive have relative paths.

11 years agowebsites.factorcode: remove trailing semi-colon.
John Benediktsson [Tue, 19 Jun 2012 00:45:05 +0000 (17:45 -0700)]
websites.factorcode: remove trailing semi-colon.

11 years agowebsites.factorcode: adding a happy birthday example.
John Benediktsson [Tue, 19 Jun 2012 00:43:32 +0000 (17:43 -0700)]
websites.factorcode: adding a happy birthday example.

11 years agoio.streams.memory: adding with-memory-reader.
John Benediktsson [Tue, 19 Jun 2012 00:24:21 +0000 (17:24 -0700)]
io.streams.memory: adding with-memory-reader.

11 years agomacosx: Remove /opt/local prefix on some mac ffi libs.
Slava Pestov [Tue, 19 Jun 2012 00:00:49 +0000 (17:00 -0700)]
macosx: Remove /opt/local prefix on some mac ffi libs.

11 years agomath: using if-zero in more places.
John Benediktsson [Mon, 18 Jun 2012 21:32:39 +0000 (14:32 -0700)]
math: using if-zero in more places.

11 years agotools.deploy.windows: need to use io.files.temp.
John Benediktsson [Mon, 18 Jun 2012 21:20:40 +0000 (14:20 -0700)]
tools.deploy.windows: need to use io.files.temp.

11 years agowake-on-lan: adding support for Wake-on-LAN protocol.
John Benediktsson [Mon, 18 Jun 2012 19:47:21 +0000 (12:47 -0700)]
wake-on-lan: adding support for Wake-on-LAN protocol.

11 years agotools.deploy.windows: use temp directory.
John Benediktsson [Mon, 18 Jun 2012 19:34:34 +0000 (12:34 -0700)]
tools.deploy.windows: use temp directory.

11 years agoalien.remote-control: using temp directory.
John Benediktsson [Mon, 18 Jun 2012 19:33:14 +0000 (12:33 -0700)]
alien.remote-control: using temp directory.

11 years agohttp: using temp directory.
John Benediktsson [Mon, 18 Jun 2012 19:33:07 +0000 (12:33 -0700)]
http: using temp directory.

11 years agowebapps.help: fixing location of generated html docs.
John Benediktsson [Mon, 18 Jun 2012 19:32:44 +0000 (12:32 -0700)]
webapps.help: fixing location of generated html docs.

11 years agomason.docs: fix making and uploading of docs archive.
John Benediktsson [Mon, 18 Jun 2012 19:26:02 +0000 (12:26 -0700)]
mason.docs: fix making and uploading of docs archive.

11 years agoio.files.temp: adding with-temp-directory and with-cache-directory.
John Benediktsson [Mon, 18 Jun 2012 19:22:59 +0000 (12:22 -0700)]
io.files.temp: adding with-temp-directory and with-cache-directory.

11 years agotools.ps: Fix ps tool for linux < 3.
Doug Coleman [Mon, 18 Jun 2012 16:51:07 +0000 (09:51 -0700)]
tools.ps: Fix ps tool for linux < 3.

11 years agodeploy test 5: use new temp directory.
Doug Coleman [Wed, 13 Jun 2012 18:29:35 +0000 (11:29 -0700)]
deploy test 5: use new temp directory.

11 years agomath.parser: simplify error types.
John Benediktsson [Fri, 8 Jun 2012 14:32:01 +0000 (07:32 -0700)]
math.parser: simplify error types.

11 years agomath.parser: add some tests for errors.
John Benediktsson [Wed, 6 Jun 2012 22:14:52 +0000 (15:14 -0700)]
math.parser: add some tests for errors.

11 years agomath.parser: better error messages suggested by @erg.
John Benediktsson [Wed, 6 Jun 2012 22:12:33 +0000 (15:12 -0700)]
math.parser: better error messages suggested by @erg.

11 years agomath.parser: only allow 10 and 16 base for float>base.
John Benediktsson [Wed, 6 Jun 2012 21:50:07 +0000 (14:50 -0700)]
math.parser: only allow 10 and 16 base for float>base.

11 years agocore-text: remove unused local.
John Benediktsson [Wed, 6 Jun 2012 21:46:49 +0000 (14:46 -0700)]
core-text: remove unused local.

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).