]> gitweb.factorcode.org Git - factor.git/log
factor.git
13 years agoMerge branch 'master' of github.com:erg/factor
Doug Coleman [Mon, 14 Jun 2010 01:35:26 +0000 (20:35 -0500)]
Merge branch 'master' of github.com:erg/factor

13 years agoMerge branch 'master' of http://factorcode.org/git/factor
Doug Coleman [Mon, 14 Jun 2010 00:59:38 +0000 (19:59 -0500)]
Merge branch 'master' of http://factorcode.org/git/factor

13 years agoCheck in Joe's codebook vocab with a few tweaks. Requires the kindlegen binary from...
Doug Coleman [Sun, 13 Jun 2010 23:32:46 +0000 (18:32 -0500)]
Check in Joe's codebook vocab with a few tweaks.  Requires the kindlegen binary from Amazon's website.

13 years agoAdd time vocab that can set system clock time
Doug Coleman [Sun, 13 Jun 2010 23:30:05 +0000 (18:30 -0500)]
Add time vocab that can set system clock time

13 years agoAdd more time bindings
Doug Coleman [Sun, 13 Jun 2010 23:25:08 +0000 (18:25 -0500)]
Add more time bindings

13 years agoBetter name for a word in calendar
Doug Coleman [Sun, 13 Jun 2010 23:24:48 +0000 (18:24 -0500)]
Better name for a word in calendar

13 years agoDelete the .git/index in case it's corrupted. Do a "git reset --hard HEAD" before...
Doug Coleman [Sun, 13 Jun 2010 23:23:41 +0000 (18:23 -0500)]
Delete the .git/index in case it's corrupted.  Do a "git reset --hard HEAD" before a git pull.  Make sure a build directory cannot collide with another build directory.

13 years agoAdd a combinator to make a unique directory, set that to the current and temp directo...
Doug Coleman [Fri, 11 Jun 2010 21:54:30 +0000 (16:54 -0500)]
Add a combinator to make a unique directory, set that to the current and temp directories, and then delete the directory when done.  Useful when working with apps that need to write intermediate files to the current directory

13 years agoalien.data: fix unit test failure
Slava Pestov [Fri, 11 Jun 2010 19:38:57 +0000 (15:38 -0400)]
alien.data: fix unit test failure

13 years agoio.encodings.detect: detect empty files as utf8 rather than raise a sequence error
Joe Groff [Fri, 11 Jun 2010 00:32:56 +0000 (17:32 -0700)]
io.encodings.detect: detect empty files as utf8 rather than raise a sequence error

13 years agoalien.data: make binary-zero? public and move it from classes.struct.private
Joe Groff [Fri, 11 Jun 2010 00:05:43 +0000 (17:05 -0700)]
alien.data: make binary-zero? public and move it from classes.struct.private

13 years agoclasses.struct: fix some bugs in binary-zero?, add unit tests
Joe Groff [Thu, 10 Jun 2010 23:49:59 +0000 (16:49 -0700)]
classes.struct: fix some bugs in binary-zero?, add unit tests

13 years agoio.encodings.detect: fill in USING: list for tests
Joe Groff [Thu, 10 Jun 2010 23:39:48 +0000 (16:39 -0700)]
io.encodings.detect: fill in USING: list for tests

13 years agovocabs.loader: tweak docs
Slava Pestov [Sun, 13 Jun 2010 22:11:39 +0000 (18:11 -0400)]
vocabs.loader: tweak docs

13 years agovm: have to be extra careful when messing with return addresses
Slava Pestov [Sun, 13 Jun 2010 21:57:16 +0000 (17:57 -0400)]
vm: have to be extra careful when messing with return addresses

13 years agoMerge branch 'master' of factorcode.org:/git/factor into clean-winnt-x86-64
Joe Groff [Sun, 13 Jun 2010 06:52:47 +0000 (23:52 -0700)]
Merge branch 'master' of factorcode.org:/git/factor into clean-winnt-x86-64

13 years agovm: context switching needs to scrub the return address
Slava Pestov [Sat, 12 Jun 2010 23:52:28 +0000 (19:52 -0400)]
vm: context switching needs to scrub the return address

13 years agospecialized-vectors: redefine "like" for the corresponding specialized-array of a...
Joe Groff [Sat, 12 Jun 2010 23:07:21 +0000 (16:07 -0700)]
specialized-vectors: redefine "like" for the corresponding specialized-array of a specialized-vector to share storage when a vector is liked

13 years agobuild-support/http-get.vbs: thwart stupid virus scanners
Joe Groff [Sat, 12 Jun 2010 03:30:01 +0000 (20:30 -0700)]
build-support/http-get.vbs: thwart stupid virus scanners

13 years agovm: fix RT_HERE fixup on image load
Slava Pestov [Sat, 12 Jun 2010 01:54:47 +0000 (21:54 -0400)]
vm: fix RT_HERE fixup on image load

13 years agocpu.x86: combine 32-bit and 64-bit %dispatch template
Slava Pestov [Sat, 12 Jun 2010 01:52:38 +0000 (21:52 -0400)]
cpu.x86: combine 32-bit and 64-bit %dispatch template

13 years agoMerge branch 'for-slava' of git://git.rfc1149.net/factor
Slava Pestov [Sat, 12 Jun 2010 00:10:07 +0000 (20:10 -0400)]
Merge branch 'for-slava' of git://git.rfc1149.net/factor

13 years agovm: fix typo
Slava Pestov [Sat, 12 Jun 2010 00:08:52 +0000 (20:08 -0400)]
vm: fix typo

13 years agoGC maps for more compact inline GC checks
Slava Pestov [Sat, 12 Jun 2010 00:06:00 +0000 (20:06 -0400)]
GC maps for more compact inline GC checks

13 years agomirrors: rename enumerated-sequence to inspected-sequence
Slava Pestov [Fri, 11 Jun 2010 21:14:15 +0000 (17:14 -0400)]
mirrors: rename enumerated-sequence to inspected-sequence

13 years agospecialized-vectors: add specialized-vectors.mirrors vocab for inspector support
Slava Pestov [Fri, 11 Jun 2010 21:11:21 +0000 (17:11 -0400)]
specialized-vectors: add specialized-vectors.mirrors vocab for inspector support

13 years agoalien.data: fix unit test failure
Slava Pestov [Fri, 11 Jun 2010 19:38:57 +0000 (15:38 -0400)]
alien.data: fix unit test failure

13 years agoFix "primes-between" and "primes-upto" with pathological bounds.
Samuel Tardieu [Fri, 11 Jun 2010 14:00:01 +0000 (16:00 +0200)]
Fix "primes-between" and "primes-upto" with pathological bounds.

"primes-between" was buggy when bounds were given in the wrong order
or when the high bound was smaller than 3.

13 years agoio.encodings.detect: detect empty files as utf8 rather than raise a sequence error
Joe Groff [Fri, 11 Jun 2010 00:32:56 +0000 (17:32 -0700)]
io.encodings.detect: detect empty files as utf8 rather than raise a sequence error

13 years agoalien.data: make binary-zero? public and move it from classes.struct.private
Joe Groff [Fri, 11 Jun 2010 00:05:43 +0000 (17:05 -0700)]
alien.data: make binary-zero? public and move it from classes.struct.private

13 years agoclasses.struct: fix some bugs in binary-zero?, add unit tests
Joe Groff [Thu, 10 Jun 2010 23:49:59 +0000 (16:49 -0700)]
classes.struct: fix some bugs in binary-zero?, add unit tests

13 years agoio.encodings.detect: fill in USING: list for tests
Joe Groff [Thu, 10 Jun 2010 23:39:48 +0000 (16:39 -0700)]
io.encodings.detect: fill in USING: list for tests

13 years agoRename alarms -> timers
Doug Coleman [Thu, 10 Jun 2010 21:39:13 +0000 (16:39 -0500)]
Rename alarms -> timers

13 years agoAdd a remove-wm-handler word to windows ui backend
Doug Coleman [Thu, 10 Jun 2010 21:06:38 +0000 (16:06 -0500)]
Add a remove-wm-handler word to windows ui backend

13 years agoCheck in benchmark.struct vocab
Doug Coleman [Thu, 10 Jun 2010 20:37:53 +0000 (15:37 -0500)]
Check in benchmark.struct vocab

13 years agoUse benchmark.struct vocab to record tick/draw timings in game loop
Doug Coleman [Tue, 8 Jun 2010 23:08:43 +0000 (18:08 -0500)]
Use benchmark.struct vocab to record tick/draw timings in game loop

13 years agoAdd start-game word, make foo-attributes words when GAME: foo is defined, don't lose...
Doug Coleman [Tue, 8 Jun 2010 23:05:28 +0000 (18:05 -0500)]
Add start-game word, make foo-attributes words when GAME: foo is defined, don't lose the loop object after the game is over

13 years agonew vocab io.encodings.detect: borrow binary file/text encoding detection heuristics...
Joe Groff [Wed, 9 Jun 2010 07:11:01 +0000 (00:11 -0700)]
new vocab io.encodings.detect: borrow binary file/text encoding detection heuristics from a certain text editor written in java

13 years agoxmode.modes: add cuda xmode
Joe Groff [Wed, 9 Jun 2010 00:08:51 +0000 (17:08 -0700)]
xmode.modes: add cuda xmode

13 years agospecialized-arrays, specialized-vectors: add direct-slice, direct-head, direct-tail...
Joe Groff [Tue, 8 Jun 2010 22:00:11 +0000 (15:00 -0700)]
specialized-arrays, specialized-vectors: add direct-slice, direct-head, direct-tail, etc. words for creating specialized-arrays over subsets of specialized sequences

13 years agoui: document non-polymorphic effect of with-ui, and that it doesn't return
Joe Groff [Tue, 8 Jun 2010 20:54:10 +0000 (13:54 -0700)]
ui: document non-polymorphic effect of with-ui, and that it doesn't return

13 years agospecialized-vectors: implement binary-object protocol for specialized-vectors
Joe Groff [Tue, 8 Jun 2010 20:40:07 +0000 (13:40 -0700)]
specialized-vectors: implement binary-object protocol for specialized-vectors

13 years agospecialized-vectors: add push-new operation that allocates and returns a new struct...
Joe Groff [Tue, 8 Jun 2010 20:15:04 +0000 (13:15 -0700)]
specialized-vectors: add push-new operation that allocates and returns a new struct on the end of a specialized vector

13 years agoclasses.struct: implement "group-words" method on struct-class so that struct classes...
Joe Groff [Tue, 8 Jun 2010 19:52:46 +0000 (12:52 -0700)]
classes.struct: implement "group-words" method on struct-class so that struct classes can be used as a CONSULT: protocol

13 years agoxml.syntax: parse <-variable->s with parse-word instead of search so the no-word...
Joe Groff [Tue, 8 Jun 2010 19:18:06 +0000 (12:18 -0700)]
xml.syntax: parse <-variable->s with parse-word instead of search so the no-word error gets properly raised when variable doesn't exist

13 years agoxmode.catalog: pre-convert globs to regexes in modes hash so their compilation is...
Joe Groff [Sun, 6 Jun 2010 05:27:26 +0000 (22:27 -0700)]
xmode.catalog: pre-convert globs to regexes in modes hash so their compilation is memoized

13 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sun, 6 Jun 2010 04:48:48 +0000 (00:48 -0400)]
Merge branch 'master' of git://factorcode.org/git/factor

13 years agoSets docs -- testing set membership: member? -> in?
Doug Coleman [Sat, 5 Jun 2010 23:54:34 +0000 (18:54 -0500)]
Sets docs -- testing set membership: member? -> in?

13 years agoxmode.catalog: factor ?find-mode (which returns f if no mode found) from find-mode...
Joe Groff [Sat, 5 Jun 2010 22:17:51 +0000 (15:17 -0700)]
xmode.catalog: factor ?find-mode (which returns f if no mode found) from find-mode (which defaults to "text" if no mode found)

13 years agoxmode.catalog: fix find-mode so it works with full paths
Joe Groff [Sat, 5 Jun 2010 22:07:45 +0000 (15:07 -0700)]
xmode.catalog: fix find-mode so it works with full paths

13 years agoMerge branch 'master' of http://github.com/Blei/factor
Slava Pestov [Sat, 5 Jun 2010 20:58:00 +0000 (16:58 -0400)]
Merge branch 'master' of http://github.com/Blei/factor

13 years agorevised tuple oid handling
Sascha Matzke [Sat, 5 Jun 2010 10:59:50 +0000 (12:59 +0200)]
revised tuple oid handling

13 years agofixed bson tests
Sascha Matzke [Sat, 5 Jun 2010 10:04:16 +0000 (12:04 +0200)]
fixed bson tests

13 years agofix doc typo and example error
Sascha Matzke [Fri, 4 Jun 2010 17:00:42 +0000 (19:00 +0200)]
fix doc typo and example error

13 years agouse mongodb standardport (27017) in benchmark
Sascha Matzke [Fri, 4 Jun 2010 17:00:01 +0000 (19:00 +0200)]
use mongodb standardport (27017) in benchmark

13 years agofix for changed mongodb behaviour
Sascha Matzke [Tue, 1 Jun 2010 18:07:09 +0000 (20:07 +0200)]
fix for changed mongodb behaviour

13 years agobson writer performance improvements
Sascha Matzke [Tue, 13 Apr 2010 07:58:12 +0000 (09:58 +0200)]
bson writer performance improvements

13 years agorenamed internal words
Sascha Matzke [Fri, 9 Apr 2010 08:28:32 +0000 (10:28 +0200)]
renamed internal words

13 years agowrapped output-stream get into it's own typed word
Sascha Matzke [Wed, 24 Mar 2010 07:28:22 +0000 (08:28 +0100)]
wrapped output-stream get into it's own typed word

13 years agofixed inline quots
Sascha Matzke [Mon, 15 Mar 2010 05:44:23 +0000 (06:44 +0100)]
fixed inline quots

13 years agotyped words
Sascha Matzke [Sun, 28 Feb 2010 13:09:40 +0000 (14:09 +0100)]
typed words

13 years agoremoved locals usage & dead code
Sascha Matzke [Sun, 28 Feb 2010 10:41:15 +0000 (11:41 +0100)]
removed locals usage & dead code

13 years agofixed USING:
Sascha Matzke [Fri, 26 Feb 2010 15:57:49 +0000 (16:57 +0100)]
fixed USING:

13 years agoadded gridfs implementation, reworked mongodb commands, some minor performance improv...
Sascha Matzke [Tue, 12 Jan 2010 19:40:57 +0000 (20:40 +0100)]
added gridfs implementation, reworked mongodb commands, some minor performance improvements

13 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Sat, 5 Jun 2010 00:13:26 +0000 (17:13 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

13 years agoNmakefile: delete factor.res when cleaning
Joe Groff [Sat, 5 Jun 2010 00:03:33 +0000 (17:03 -0700)]
Nmakefile: delete factor.res when cleaning

13 years agoDon't add empty vocab-roots lines
Doug Coleman [Fri, 4 Jun 2010 19:17:07 +0000 (14:17 -0500)]
Don't add empty vocab-roots lines

13 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 4 Jun 2010 13:37:15 +0000 (08:37 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

13 years agoui.backend.windows: make small-title-bar windows WS_EX_TOPMOST so they behave like...
Joe Groff [Fri, 4 Jun 2010 06:03:28 +0000 (23:03 -0700)]
ui.backend.windows: make small-title-bar windows WS_EX_TOPMOST so they behave like os x small-title-bar windows

13 years agocombinators: tweak docs
Slava Pestov [Fri, 4 Jun 2010 01:34:28 +0000 (21:34 -0400)]
combinators: tweak docs

13 years agojson.reader: factor read-jsons from json>
Joe Groff [Thu, 3 Jun 2010 20:11:47 +0000 (13:11 -0700)]
json.reader: factor read-jsons from json>

13 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 3 Jun 2010 19:52:32 +0000 (14:52 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

13 years agoui.backend.x11: fix typo
Slava Pestov [Wed, 2 Jun 2010 07:13:57 +0000 (03:13 -0400)]
ui.backend.x11: fix typo

13 years agoalien.prettyprint: fix wrapping when prettyprinting pointer:
Slava Pestov [Wed, 2 Jun 2010 07:11:46 +0000 (03:11 -0400)]
alien.prettyprint: fix wrapping when prettyprinting pointer:

13 years agoui.backend.windows: remove a usage of rot
Slava Pestov [Wed, 2 Jun 2010 06:59:35 +0000 (02:59 -0400)]
ui.backend.windows: remove a usage of rot

13 years agoui.backend.x11: fixing raise-window*
Slava Pestov [Wed, 2 Jun 2010 06:59:15 +0000 (02:59 -0400)]
ui.backend.x11: fixing raise-window*

13 years agox11: general cleanup
Slava Pestov [Wed, 2 Jun 2010 06:58:48 +0000 (02:58 -0400)]
x11: general cleanup

13 years agoMove system word from unix.ffi to libc since its not Unix-specific
Slava Pestov [Wed, 2 Jun 2010 06:58:04 +0000 (02:58 -0400)]
Move system word from unix.ffi to libc since its not Unix-specific

13 years agoui.render: set pack alignment to 1, so padding images isn't needed anymore
Philipp Brüschweiler [Tue, 1 Jun 2010 11:52:00 +0000 (13:52 +0200)]
ui.render: set pack alignment to 1, so padding images isn't needed anymore

13 years agocompiler.cfg.intrinsics.simd: intrinsic support for double-2>float-4 conversion
Joe Groff [Tue, 1 Jun 2010 07:34:50 +0000 (00:34 -0700)]
compiler.cfg.intrinsics.simd: intrinsic support for double-2>float-4 conversion

13 years agocalendar.model, tools.errors.model: re-initialize models on startup
Slava Pestov [Tue, 1 Jun 2010 00:14:26 +0000 (20:14 -0400)]
calendar.model, tools.errors.model: re-initialize models on startup

13 years agovocabs.refresh.monitor: spin off new monitor threads when add-vocab-root is called...
Slava Pestov [Tue, 1 Jun 2010 00:14:07 +0000 (20:14 -0400)]
vocabs.refresh.monitor: spin off new monitor threads when add-vocab-root is called. Fixes a problem where depending on the order of startup hooks, refresh-all would sometimes be broken for custom vocab roots

13 years agobenchmark.spectral-norm-simd: SIMD implementation of spectral-norm algorithm using...
Slava Pestov [Mon, 31 May 2010 00:10:39 +0000 (20:10 -0400)]
benchmark.spectral-norm-simd: SIMD implementation of spectral-norm algorithm using SIMD primitives, about 40% faster but takes ages to compile -- good compile-time benchmark

13 years agobenchmark.spectral-norm: add copyright notice
Slava Pestov [Sun, 30 May 2010 23:58:30 +0000 (19:58 -0400)]
benchmark.spectral-norm: add copyright notice

13 years agoalien.prettyprint: fix prettyprinting of array types and CALLBACK: (reported by Anton...
Slava Pestov [Sun, 30 May 2010 20:21:43 +0000 (16:21 -0400)]
alien.prettyprint: fix prettyprinting of array types and CALLBACK: (reported by Anton Gorenko)

13 years agoui.tools.listener: fix error bar display
Slava Pestov [Sun, 30 May 2010 20:09:51 +0000 (16:09 -0400)]
ui.tools.listener: fix error bar display

13 years agonibble-arrays: replace a -rot usage with locals
Slava Pestov [Sat, 29 May 2010 09:22:10 +0000 (05:22 -0400)]
nibble-arrays: replace a -rot usage with locals

13 years agotools.deploy.macosx: make deployment work when we're not running the .app bundle
Slava Pestov [Sat, 29 May 2010 08:13:04 +0000 (04:13 -0400)]
tools.deploy.macosx: make deployment work when we're not running the .app bundle

13 years agoAdd deployment descriptors for benchmarks, and add a bigger input file for knucleotid...
Slava Pestov [Sat, 29 May 2010 08:12:49 +0000 (04:12 -0400)]
Add deployment descriptors for benchmarks, and add a bigger input file for knucleotide and regex-dna

13 years agoui.backend.cocoa: factor out stop-io-thread word for use by upcoming Gtk UI backend
Slava Pestov [Sat, 29 May 2010 05:49:40 +0000 (01:49 -0400)]
ui.backend.cocoa: factor out stop-io-thread word for use by upcoming Gtk UI backend

13 years agokey-caps, joystick-demo: move demos to game.input.demos.key-caps, game.input.demos...
Joe Groff [Sat, 29 May 2010 07:20:09 +0000 (00:20 -0700)]
key-caps, joystick-demo: move demos to game.input.demos.key-caps, game.input.demos.joysticks

13 years agobuild-support/factor.cmd: cleanups recommended by mnestic
Joe Groff [Wed, 26 May 2010 04:32:07 +0000 (21:32 -0700)]
build-support/factor.cmd: cleanups recommended by mnestic

13 years agobuild-support/factor.cmd: spruce up "unable to detect cl.exe" message. use "call...
Joe Groff [Wed, 26 May 2010 03:47:20 +0000 (20:47 -0700)]
build-support/factor.cmd: spruce up "unable to detect cl.exe" message. use "call" to invoke cl so it doesn't stop the batch job if it's not on the path

13 years agobuild-support/factor.cmd: copy factor.image to factor.image.fresh after bootstrap...
Joe Groff [Wed, 26 May 2010 02:01:55 +0000 (19:01 -0700)]
build-support/factor.cmd: copy factor.image to factor.image.fresh after bootstrap completes, like factor.sh does

13 years agobuild-support/factor.cmd: detect cl.exe platform and choose build platform based...
Joe Groff [Wed, 26 May 2010 01:50:22 +0000 (18:50 -0700)]
build-support/factor.cmd: detect cl.exe platform and choose build platform based on that. fix errorlevel handling

13 years agoMerge branch 'master' of http://factorcode.org/git/factor
Joe Groff [Wed, 26 May 2010 01:40:58 +0000 (18:40 -0700)]
Merge branch 'master' of http://factorcode.org/git/factor

13 years agobootstrap.image.download: refactor it a bit to make mason.updates more robust
Slava Pestov [Tue, 25 May 2010 21:15:55 +0000 (17:15 -0400)]
bootstrap.image.download: refactor it a bit to make mason.updates more robust

13 years agocuda.gl: with-mapped-cuda-buffer helper word
Joe Groff [Tue, 25 May 2010 07:37:15 +0000 (00:37 -0700)]
cuda.gl: with-mapped-cuda-buffer helper word

13 years agocuda.gl: cuda-buffer helper object that pairs a buffer with its attached CUDA resource
Joe Groff [Tue, 25 May 2010 05:57:10 +0000 (22:57 -0700)]
cuda.gl: cuda-buffer helper object that pairs a buffer with its attached CUDA resource

13 years agonehe: fix load errors
Slava Pestov [Tue, 25 May 2010 05:40:47 +0000 (01:40 -0400)]
nehe: fix load errors