]> gitweb.factorcode.org Git - factor.git/log
factor.git
13 years agohtml.parser.analyzer: find-between* didn't always return a sequence, which in turn...
Philipp Brüschweiler [Fri, 13 Aug 2010 20:53:37 +0000 (22:53 +0200)]
html.parser.analyzer: find-between* didn't always return a sequence, which in turn broke find-hrefs (reported by randy7)

13 years agoopengl.gl: typo in the FFI bindings for some obscure gl functions
Joe Groff [Fri, 13 Aug 2010 17:16:47 +0000 (10:16 -0700)]
opengl.gl: typo in the FFI bindings for some obscure gl functions

13 years agomath.floats.env: detect +fp-x87-stack-fault+ during collect-fp-exceptions block
Joe Groff [Fri, 13 Aug 2010 06:22:09 +0000 (23:22 -0700)]
math.floats.env: detect +fp-x87-stack-fault+ during collect-fp-exceptions block

13 years agomath.libm: fix regression: fsqrt intrinsic was not working ever since change was...
Slava Pestov [Fri, 13 Aug 2010 04:41:57 +0000 (21:41 -0700)]
math.libm: fix regression: fsqrt intrinsic was not working ever since change was made to inline FUNCTION: bodies

13 years agoFUEL: Menus for factor, listener, doc and debug buffers.
Jose A. Ortega Ruiz [Fri, 13 Aug 2010 02:25:57 +0000 (04:25 +0200)]
FUEL: Menus for factor, listener, doc and debug buffers.

13 years agoalien.prettyprint: fix unit test snafu
Slava Pestov [Thu, 12 Aug 2010 04:52:37 +0000 (21:52 -0700)]
alien.prettyprint: fix unit test snafu

13 years agorename benchmark.struct to tools.time.struct since it is not a benchmark
Slava Pestov [Thu, 12 Aug 2010 04:51:19 +0000 (21:51 -0700)]
rename benchmark.struct to tools.time.struct since it is not a benchmark

13 years agotools.time: fix documentation error (reported by Mitchell N Charity)
Slava Pestov [Thu, 12 Aug 2010 02:20:37 +0000 (19:20 -0700)]
tools.time: fix documentation error (reported by Mitchell N Charity)

13 years agoMerge branch 'emacs' of http://git.hacks-galore.org/jao/factor
Slava Pestov [Thu, 12 Aug 2010 02:19:11 +0000 (19:19 -0700)]
Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor

13 years agoFUEL: Remove key bindings of the form C-c <alphabetic>
Jose A. Ortega Ruiz [Thu, 12 Aug 2010 01:09:15 +0000 (03:09 +0200)]
FUEL: Remove key bindings of the form C-c <alphabetic>

Bindings of the form C-c <alphabetic> (e.g. C-c z) are traditionally
reserved in Emacs for user-defined keymaps, and shouldn't be used by
packages.

This patch removes all bindings of that form, replacing them by C-c
C-<alphabetic> (or simply preserving a previously existing binding).
E.g., C-c z becomes C-c C-z. In most cases, the binding with two C's
was already present.

The only change not following the above rule is C-c h in the listener,
which has become C-c C-w (because the C-h suffix is also 'taken' by
Emacs conventions).

13 years agoopengl.gl: some opengl 4 functions were accidentally still presented as -EXT
Joe Groff [Wed, 11 Aug 2010 17:05:03 +0000 (10:05 -0700)]
opengl.gl: some opengl 4 functions were accidentally still presented as -EXT

13 years agoalien.c-types: classify typedefs of array/string types as typedef-words so they prett...
Joe Groff [Wed, 11 Aug 2010 17:02:51 +0000 (10:02 -0700)]
alien.c-types: classify typedefs of array/string types as typedef-words so they prettyprint correctly

13 years agodivisors returns empty list for 0
Jon Harper [Sun, 8 Aug 2010 16:19:15 +0000 (18:19 +0200)]
divisors returns empty list for 0

This is mainly for consistency with other words
(factors, group-factors, unique-factors)

13 years agolibc: make memory= inline just for fun
Slava Pestov [Fri, 6 Aug 2010 07:16:25 +0000 (00:16 -0700)]
libc: make memory= inline just for fun

13 years agopango: minor cleanups
Slava Pestov [Fri, 6 Aug 2010 07:16:18 +0000 (00:16 -0700)]
pango: minor cleanups

13 years agoclasses.struct: make hashcode and equal? work on structs wrapping null pointers,...
Slava Pestov [Fri, 6 Aug 2010 07:15:22 +0000 (00:15 -0700)]
classes.struct: make hashcode and equal? work on structs wrapping null pointers, to fix another obscure issues arising with tuple arrays

13 years agoGNUmakefile: remove tags rule
Slava Pestov [Tue, 3 Aug 2010 03:12:41 +0000 (23:12 -0400)]
GNUmakefile: remove tags rule

13 years agoFUEL: fix for error reporting in remote listeners.
Jose A. Ortega Ruiz [Sun, 1 Aug 2010 18:13:38 +0000 (20:13 +0200)]
FUEL: fix for error reporting in remote listeners.

13 years agocpu.x86.32: fix 32-bit bootstrap
Slava Pestov [Tue, 3 Aug 2010 00:51:29 +0000 (20:51 -0400)]
cpu.x86.32: fix 32-bit bootstrap

13 years agotools.scaffold: clean up
Slava Pestov [Tue, 3 Aug 2010 00:50:59 +0000 (20:50 -0400)]
tools.scaffold: clean up

13 years agovm: hard tabs, indent width 8
Slava Pestov [Tue, 3 Aug 2010 00:50:34 +0000 (20:50 -0400)]
vm: hard tabs, indent width 8

13 years agoMerge branch 'tools.scaffold' of http://github.com/jonenst/factor
Slava Pestov [Tue, 3 Aug 2010 00:47:13 +0000 (20:47 -0400)]
Merge branch 'tools.scaffold' of http://github.com/jonenst/factor

13 years agoFix start-context-and-delete sub-primitive (reported by Sascha Matzke)
Slava Pestov [Tue, 3 Aug 2010 00:28:23 +0000 (20:28 -0400)]
Fix start-context-and-delete sub-primitive (reported by Sascha Matzke)

13 years agoRemove redundant newline
Jon Harper [Sun, 9 May 2010 23:52:46 +0000 (01:52 +0200)]
Remove redundant newline

13 years agoremove duplicates to conform with lint-tool
Jon Harper [Sun, 9 May 2010 23:49:21 +0000 (01:49 +0200)]
remove duplicates to conform with lint-tool

13 years agovm/os-windows.cpp: fix compiler warnings/errors
Joe Groff [Mon, 2 Aug 2010 00:50:35 +0000 (17:50 -0700)]
vm/os-windows.cpp: fix compiler warnings/errors

13 years agovm: remove some mixed use of stdio/iostream. when monotonic timer decreases, log...
Joe Groff [Sun, 1 Aug 2010 23:14:20 +0000 (16:14 -0700)]
vm: remove some mixed use of stdio/iostream. when monotonic timer decreases, log old and new values

13 years agoio.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on...
Philipp Brüschweiler [Sun, 1 Aug 2010 12:00:03 +0000 (14:00 +0200)]
io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux)

13 years agojavascriptcore: added some platform.txt files
Philipp Brüschweiler [Sun, 1 Aug 2010 11:59:37 +0000 (13:59 +0200)]
javascriptcore: added some platform.txt files

13 years agomongodb.driver: fix help lint
Slava Pestov [Sat, 31 Jul 2010 22:34:43 +0000 (18:34 -0400)]
mongodb.driver: fix help lint

13 years agovm: fix compile error on Linux if inotify is not available (reported by Alec Barryman)
Slava Pestov [Sat, 31 Jul 2010 22:33:53 +0000 (18:33 -0400)]
vm: fix compile error on Linux if inotify is not available (reported by Alec Barryman)

13 years agotime-server: main word should not return immediately (reported by Alec Barryman)
Slava Pestov [Sat, 31 Jul 2010 22:33:39 +0000 (18:33 -0400)]
time-server: main word should not return immediately (reported by Alec Barryman)

13 years agoftp.server: remove MAIN: word, since it expected a parameter from the stack and main...
Slava Pestov [Sat, 31 Jul 2010 22:33:26 +0000 (18:33 -0400)]
ftp.server: remove MAIN: word, since it expected a parameter from the stack and main words must have effect ( -- ) (reported by Alec Barryman)

13 years agoFUEL: fix for listener's misbehaviour in the presence of output.
Jose A. Ortega Ruiz [Sat, 31 Jul 2010 21:39:21 +0000 (23:39 +0200)]
FUEL: fix for listener's misbehaviour in the presence of output.

13 years agoFUEL: New option to make listener's prompt non-readonly.
Jose A. Ortega Ruiz [Sat, 31 Jul 2010 18:04:00 +0000 (20:04 +0200)]
FUEL: New option to make listener's prompt non-readonly.

By setting fuel-listener-prompt-read-only-p to nil, you'll be able to
delete (portions of) the prompt in the listener. This doesn't have
much value by itself, except that, moreover, a non-read-only prompt
makes some i/o operations work. E.g.:

 "input x:" print flush readln

will work with the new variable set to nil.

13 years agofixed usages
Sascha Matzke [Sat, 31 Jul 2010 17:54:36 +0000 (19:54 +0200)]
fixed usages

13 years agofixed docs
Sascha Matzke [Sat, 31 Jul 2010 17:50:29 +0000 (19:50 +0200)]
fixed docs

13 years agobetter error handling when mongod can not be reached
Sascha Matzke [Sat, 31 Jul 2010 12:15:55 +0000 (14:15 +0200)]
better error handling when mongod can not be reached

13 years agoadded query and delete options
Sascha Matzke [Sat, 31 Jul 2010 09:41:07 +0000 (11:41 +0200)]
added query and delete options

13 years agoadded >multi word, removed unused singletons, fixed tuple example in docs
Sascha Matzke [Sat, 31 Jul 2010 08:48:49 +0000 (10:48 +0200)]
added >multi word, removed unused singletons, fixed tuple example in docs

13 years agouse encode-string to write utf8 strings to the stream
Sascha Matzke [Fri, 16 Jul 2010 08:31:20 +0000 (10:31 +0200)]
use encode-string to write utf8 strings to the stream

13 years agoio.ports: calling '0 read' now returns an empty sequence without blocking (reported...
Slava Pestov [Fri, 30 Jul 2010 19:58:33 +0000 (15:58 -0400)]
io.ports: calling '0 read' now returns an empty sequence without blocking (reported by Brennan Cheung)

13 years agostack-checker.alien: generate a declaration for input parameter types
Slava Pestov [Fri, 30 Jul 2010 19:49:45 +0000 (15:49 -0400)]
stack-checker.alien: generate a declaration for input parameter types

13 years agocombinators: make the behavior of 'case' consistent between the optimized and unoptim...
Slava Pestov [Fri, 30 Jul 2010 18:09:56 +0000 (14:09 -0400)]
combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms

13 years agocpu.x86: save context before calling new_context() since it can trigger GC (bug repor...
Slava Pestov [Fri, 30 Jul 2010 05:07:31 +0000 (01:07 -0400)]
cpu.x86: save context before calling new_context() since it can trigger GC (bug reported by Sascha Matzke)

13 years agoalien.prettyprint: fix test failure
Slava Pestov [Fri, 30 Jul 2010 01:09:05 +0000 (21:09 -0400)]
alien.prettyprint: fix test failure

13 years agocompiler.cfg.linear-scan: fix bad interaction between inactive intervals and sync...
Slava Pestov [Fri, 30 Jul 2010 01:06:48 +0000 (21:06 -0400)]
compiler.cfg.linear-scan: fix bad interaction between inactive intervals and sync points

13 years agoclasses.algebra: make it work better to fix bug reported by Sascha Matzke
Slava Pestov [Thu, 29 Jul 2010 23:57:23 +0000 (19:57 -0400)]
classes.algebra: make it work better to fix bug reported by Sascha Matzke

13 years agoui.backend.windows: fix compile error in ui-wndproc
Slava Pestov [Thu, 29 Jul 2010 21:22:34 +0000 (17:22 -0400)]
ui.backend.windows: fix compile error in ui-wndproc

13 years agoalien.syntax: FUNCTION: and FUNCTION-ALIAS: now define inline words
Slava Pestov [Wed, 28 Jul 2010 07:05:14 +0000 (03:05 -0400)]
alien.syntax: FUNCTION: and FUNCTION-ALIAS: now define inline words

13 years agoFFI rewrite part 7: compile callback bodies with the optimizing compiler
Slava Pestov [Wed, 28 Jul 2010 04:49:26 +0000 (00:49 -0400)]
FFI rewrite part 7: compile callback bodies with the optimizing compiler

13 years agoRevert "compiler.cfg: change linear ordering to place GC call blocks at the end"
Slava Pestov [Wed, 28 Jul 2010 03:58:41 +0000 (23:58 -0400)]
Revert "compiler.cfg: change linear ordering to place GC call blocks at the end"

This reverts commit 544a288192675b357e44833c7860a0f01ff0b46d.

13 years agovm: clean up main-windows-nt.cpp
Slava Pestov [Tue, 27 Jul 2010 17:03:11 +0000 (13:03 -0400)]
vm: clean up main-windows-nt.cpp

13 years agocompiler.cfg: change linear ordering to place GC call blocks at the end
Slava Pestov [Tue, 27 Jul 2010 17:00:28 +0000 (13:00 -0400)]
compiler.cfg: change linear ordering to place GC call blocks at the end

13 years agocompiler.cfg: now that kill-blocks cannot contain instructions that define vregs...
Slava Pestov [Tue, 27 Jul 2010 16:40:31 +0000 (12:40 -0400)]
compiler.cfg: now that kill-blocks cannot contain instructions that define vregs we can skip them all

13 years agohelp.html: escape % in word names (reported by Anton Gorenko)
Slava Pestov [Mon, 26 Jul 2010 21:43:34 +0000 (17:43 -0400)]
help.html: escape % in word names (reported by Anton Gorenko)

13 years agogdbm.ffi: fix DLL name on Windows
Slava Pestov [Mon, 26 Jul 2010 20:35:12 +0000 (15:35 -0500)]
gdbm.ffi: fix DLL name on Windows

13 years agoMerge branch 'master' of http://github.com/mrjbq7/factor
Slava Pestov [Mon, 26 Jul 2010 19:10:50 +0000 (15:10 -0400)]
Merge branch 'master' of http://github.com/mrjbq7/factor

13 years agopeg.ebnf: minor fix
Slava Pestov [Mon, 26 Jul 2010 16:40:32 +0000 (12:40 -0400)]
peg.ebnf: minor fix

13 years agomath.combinatorics: improve all-subsets and selections words.
John Benediktsson [Mon, 26 Jul 2010 15:12:36 +0000 (08:12 -0700)]
math.combinatorics: improve all-subsets and selections words.

13 years agodb: fix typo in docs.
John Benediktsson [Mon, 26 Jul 2010 15:11:51 +0000 (08:11 -0700)]
db: fix typo in docs.

13 years agomath.matrices: move normal word from gpu.demos.bunny and reverse sign
Slava Pestov [Sat, 24 Jul 2010 03:41:08 +0000 (20:41 -0700)]
math.matrices: move normal word from gpu.demos.bunny and reverse sign

13 years agoregexp: fix test
Slava Pestov [Sat, 24 Jul 2010 03:40:44 +0000 (20:40 -0700)]
regexp: fix test

13 years agoregexp: fix match iteration with empty matches, and fix reverse regexes since they...
Slava Pestov [Sat, 24 Jul 2010 02:44:39 +0000 (19:44 -0700)]
regexp: fix match iteration with empty matches, and fix reverse regexes since they were totally broken (bugs reported by Joe Groff and various others)

13 years agocompiler.tree.finalization: record dependencies on inlined predicates
Slava Pestov [Fri, 23 Jul 2010 23:31:15 +0000 (16:31 -0700)]
compiler.tree.finalization: record dependencies on inlined predicates

13 years agogdbm: fix tests
Slava Pestov [Fri, 23 Jul 2010 00:29:20 +0000 (17:29 -0700)]
gdbm: fix tests

13 years agogdbm: don't run tests on 64-bit Windows since there's no gdbm there
Slava Pestov [Thu, 22 Jul 2010 21:34:59 +0000 (14:34 -0700)]
gdbm: don't run tests on 64-bit Windows since there's no gdbm there

13 years agoio.files.unix: fix tests for recent calendar.unix vocab changes
Slava Pestov [Wed, 21 Jul 2010 04:23:35 +0000 (00:23 -0400)]
io.files.unix: fix tests for recent calendar.unix vocab changes

13 years agocompiler.cfg.alias-analysis: factor-call-insns which defined values were not handled...
Slava Pestov [Mon, 19 Jul 2010 23:56:00 +0000 (19:56 -0400)]
compiler.cfg.alias-analysis: factor-call-insns which defined values were not handled properly

13 years agocpu.x86.64: fix calling varargs functions
Slava Pestov [Mon, 19 Jul 2010 20:03:39 +0000 (16:03 -0400)]
cpu.x86.64: fix calling varargs functions

13 years agovm: fix alien-signed-1/2/4 primitives
Slava Pestov [Mon, 19 Jul 2010 20:03:27 +0000 (16:03 -0400)]
vm: fix alien-signed-1/2/4 primitives

13 years agocompiler.cfg: open-code parameter boxing and unboxing for certain C types
Slava Pestov [Mon, 19 Jul 2010 14:09:28 +0000 (10:09 -0400)]
compiler.cfg: open-code parameter boxing and unboxing for certain C types

13 years agocompiler.cfg.save-contexts: don't insert ##save-context in front of ##phi
Slava Pestov [Mon, 19 Jul 2010 13:27:10 +0000 (09:27 -0400)]
compiler.cfg.save-contexts: don't insert ##save-context in front of ##phi

13 years agocompiler.cfg.linear-scan.allocation: fix wrong order
Slava Pestov [Mon, 19 Jul 2010 10:46:50 +0000 (06:46 -0400)]
compiler.cfg.linear-scan.allocation: fix wrong order

13 years agocompiler.cfg.linear-scan: fix bad interaction between split position calculation...
Slava Pestov [Sun, 18 Jul 2010 21:38:29 +0000 (17:38 -0400)]
compiler.cfg.linear-scan: fix bad interaction between split position calculation and register-clobbering instructions

13 years agoui.gadgets.labels: fix stack effects for label-on-left and label-on-right
Slava Pestov [Sun, 18 Jul 2010 21:30:49 +0000 (17:30 -0400)]
ui.gadgets.labels: fix stack effects for label-on-left and label-on-right

13 years agocalendar: unit test for gmt
Joe Groff [Sun, 18 Jul 2010 20:45:00 +0000 (13:45 -0700)]
calendar: unit test for gmt

13 years agocalendar: since-1970 shouldn't >local-time; this causes words that want to return...
Joe Groff [Sun, 18 Jul 2010 20:42:51 +0000 (13:42 -0700)]
calendar: since-1970 shouldn't >local-time; this causes words that want to return GMT to return local time too

13 years agocalendar.unix: rename timespec>seconds to timespec>duration to be consistent with...
Slava Pestov [Sun, 18 Jul 2010 20:27:02 +0000 (16:27 -0400)]
calendar.unix: rename timespec>seconds to timespec>duration to be consistent with timeval>duration

13 years agoui: cleanup
Slava Pestov [Sat, 17 Jul 2010 20:09:25 +0000 (16:09 -0400)]
ui: cleanup

13 years agoui.gadgets.worlds: dispose of the handle after ungrabbing input
Slava Pestov [Sat, 17 Jul 2010 20:08:36 +0000 (16:08 -0400)]
ui.gadgets.worlds: dispose of the handle after ungrabbing input

13 years agostack-checker: calling 'boa' on a non-tuple would compile as a no-op rather than...
Slava Pestov [Sat, 17 Jul 2010 19:57:44 +0000 (15:57 -0400)]
stack-checker: calling 'boa' on a non-tuple would compile as a no-op rather than an error (reported by Joe Groff); clean up some other error reporting code too

13 years agocompiler.cfg.intrinsics.allot: clean up
Slava Pestov [Sat, 17 Jul 2010 00:04:03 +0000 (20:04 -0400)]
compiler.cfg.intrinsics.allot: clean up

13 years agocompiler.cfg: nuke ##allot-byte-array instruction
Slava Pestov [Fri, 16 Jul 2010 23:57:45 +0000 (19:57 -0400)]
compiler.cfg: nuke ##allot-byte-array instruction

13 years agoalien.data: remove second quotation parameter from with-out-parameters, now all value...
Slava Pestov [Fri, 16 Jul 2010 21:32:05 +0000 (17:32 -0400)]
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary

13 years agolibc: add memset just because
Slava Pestov [Fri, 16 Jul 2010 21:13:44 +0000 (17:13 -0400)]
libc: add memset just because

13 years agoalien.data: document with-scoped-allocation and with-out-parameters, and add initial...
Slava Pestov [Fri, 16 Jul 2010 21:13:38 +0000 (17:13 -0400)]
alien.data: document with-scoped-allocation and with-out-parameters, and add initial: syntax

13 years agocompiler.cfg.scheduling: ##dispatch must go at the end since its a control flow transfer
Slava Pestov [Fri, 16 Jul 2010 00:55:31 +0000 (20:55 -0400)]
compiler.cfg.scheduling: ##dispatch must go at the end since its a control flow transfer

13 years agocompiler.cfg: ##unbox-long-long can have multiple outputs now, clean up long long...
Slava Pestov [Thu, 15 Jul 2010 23:49:29 +0000 (19:49 -0400)]
compiler.cfg: ##unbox-long-long can have multiple outputs now, clean up long long parameter passing code using this

13 years agocompiler.cfg.scheduling: update to support multiple-output instructions
Slava Pestov [Thu, 15 Jul 2010 21:38:34 +0000 (17:38 -0400)]
compiler.cfg.scheduling: update to support multiple-output instructions

13 years agocpu.x86.32: fix %binary-float-function
Slava Pestov [Thu, 15 Jul 2010 07:09:06 +0000 (03:09 -0400)]
cpu.x86.32: fix %binary-float-function

13 years agocpu.x86.64: fix typos
Slava Pestov [Wed, 14 Jul 2010 21:59:51 +0000 (17:59 -0400)]
cpu.x86.64: fix typos

13 years agocpu.x86: fix %load/store-stack-param for 32-bit
Slava Pestov [Wed, 14 Jul 2010 21:47:21 +0000 (17:47 -0400)]
cpu.x86: fix %load/store-stack-param for 32-bit

13 years agomath.combinatorics: all-subsets and selections words (contributed by John Benediktsson)
Joe Groff [Wed, 14 Jul 2010 16:09:57 +0000 (09:09 -0700)]
math.combinatorics: all-subsets and selections words (contributed by John Benediktsson)

13 years agogdbm.ffi: fix add-library form
Slava Pestov [Tue, 13 Jul 2010 21:36:14 +0000 (17:36 -0400)]
gdbm.ffi: fix add-library form

13 years agocompiler: re-architect low-level optimizer to allow more than one output value per...
Slava Pestov [Tue, 13 Jul 2010 11:40:14 +0000 (07:40 -0400)]
compiler: re-architect low-level optimizer to allow more than one output value per instruction

13 years agotools.test: change unit-test docs so it's clear "output" is a sequence and not an...
Joe Groff [Mon, 12 Jul 2010 16:36:36 +0000 (09:36 -0700)]
tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity)

13 years agoio.streams.throwing: add test file
Joe Groff [Sat, 10 Jul 2010 06:36:40 +0000 (23:36 -0700)]
io.streams.throwing: add test file

13 years agoio.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws...
Joe Groff [Sat, 10 Jul 2010 01:08:45 +0000 (18:08 -0700)]
io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words

13 years agoio.streams.limited: scrape out last vestiges of unlimiting
Joe Groff [Fri, 9 Jul 2010 21:56:54 +0000 (14:56 -0700)]
io.streams.limited: scrape out last vestiges of unlimiting