]> gitweb.factorcode.org Git - factor.git/log
factor.git
13 years agoClean up html.parser.analyzer, apply blei's fix for find-between*
Doug Coleman [Sun, 29 Aug 2010 18:22:11 +0000 (13:22 -0500)]
Clean up html.parser.analyzer, apply blei's fix for find-between*

13 years agoFix the max-depth variable in spider
Doug Coleman [Sun, 29 Aug 2010 18:21:50 +0000 (13:21 -0500)]
Fix the max-depth variable in spider

13 years agomath.floats.env.x86: make sure the x87 stack is cleared after the overflow test,...
Slava Pestov [Sat, 28 Aug 2010 17:01:09 +0000 (12:01 -0500)]
math.floats.env.x86: make sure the x87 stack is cleared after the overflow test, otherwise random things screw up later

13 years agoserialize, io.streams.byte-array: fix unit tests for utf8 encoding strictness
Slava Pestov [Thu, 26 Aug 2010 00:51:44 +0000 (17:51 -0700)]
serialize, io.streams.byte-array: fix unit tests for utf8 encoding strictness

13 years agoio.encodings.utf8: formatting fix
Slava Pestov [Thu, 26 Aug 2010 00:47:26 +0000 (17:47 -0700)]
io.encodings.utf8: formatting fix

13 years agoio.encodings.utf8: also guard against decoding code points > 0x10FFFF
Joe Groff [Wed, 25 Aug 2010 16:28:39 +0000 (09:28 -0700)]
io.encodings.utf8: also guard against decoding code points > 0x10FFFF

13 years agoio.encodings.utf8: guard against decoding overlong encodings
Joe Groff [Wed, 25 Aug 2010 16:17:57 +0000 (09:17 -0700)]
io.encodings.utf8: guard against decoding overlong encodings

13 years agoio.monitors.linux: fix typo
Slava Pestov [Wed, 25 Aug 2010 03:01:37 +0000 (23:01 -0400)]
io.monitors.linux: fix typo

13 years agoio.monitors.recursive: fix typo
Slava Pestov [Tue, 24 Aug 2010 04:54:59 +0000 (21:54 -0700)]
io.monitors.recursive: fix typo

13 years agoAdd unless-disposed combinator to clean up some repetition, and fix bogus error repor...
Slava Pestov [Tue, 24 Aug 2010 02:08:16 +0000 (21:08 -0500)]
Add unless-disposed combinator to clean up some repetition, and fix bogus error reported from timer thread if an I/O operation with a set timeout fails on Windows

13 years agowebapps.wiki: fix wording of rollback message to be more accurate
Slava Pestov [Mon, 23 Aug 2010 04:58:13 +0000 (21:58 -0700)]
webapps.wiki: fix wording of rollback message to be more accurate

13 years agowebapps.mason: remove XML prolog from downloads.xml since the output of this template...
Slava Pestov [Mon, 23 Aug 2010 04:56:57 +0000 (21:56 -0700)]
webapps.mason: remove XML prolog from downloads.xml since the output of this template gets included in another page

13 years agofurnace.chloe-tags: fix t:a, t:atom, t:form tags after recent Chloe change
Slava Pestov [Mon, 23 Aug 2010 04:55:34 +0000 (21:55 -0700)]
furnace.chloe-tags: fix t:a, t:atom, t:form tags after recent Chloe change

13 years agowebapps.mason: update links
Slava Pestov [Mon, 23 Aug 2010 04:30:19 +0000 (21:30 -0700)]
webapps.mason: update links

13 years agovm: C I/O streams became unusable after a single EOF (reported by John Benediktsson)
Slava Pestov [Mon, 23 Aug 2010 03:56:29 +0000 (20:56 -0700)]
vm: C I/O streams became unusable after a single EOF (reported by John Benediktsson)

13 years agocpu.x86.32: commit 05ba77262afe897bc67e1b26084d7c8b36a0e847 only fixed the start...
Slava Pestov [Mon, 23 Aug 2010 02:30:54 +0000 (19:30 -0700)]
cpu.x86.32: commit 05ba77262afe897bc67e1b26084d7c8b36a0e847 only fixed the start-context-and-delete callframe leak on x86-64. Fix it on x86-32 and add a regression test

13 years agogeneric.single: fix bug where dynamic and static dispatch didn't co-incide (reported...
Slava Pestov [Sun, 22 Aug 2010 01:12:00 +0000 (18:12 -0700)]
generic.single: fix bug where dynamic and static dispatch didn't co-incide (reported by Mitchell N. Charity and others)

13 years agoclasses: remove fragile unit test
Slava Pestov [Sun, 22 Aug 2010 01:10:09 +0000 (18:10 -0700)]
classes: remove fragile unit test

13 years agogeneric: clean up unit tests a bit
Slava Pestov [Sat, 21 Aug 2010 20:04:37 +0000 (13:04 -0700)]
generic: clean up unit tests a bit

13 years agohtml.templates.chloe.test: forgot to check in test14.xml and test15.xml
Slava Pestov [Sat, 21 Aug 2010 02:28:38 +0000 (19:28 -0700)]
html.templates.chloe.test: forgot to check in test14.xml and test15.xml

13 years agoconcurrency.semaphores: add more compelling example to docs"
Slava Pestov [Sat, 21 Aug 2010 02:28:20 +0000 (19:28 -0700)]
concurrency.semaphores: add more compelling example to docs"

13 years agohtml.templates.chloe: add notion of "string context" where tags are not allowed and...
Slava Pestov [Sat, 21 Aug 2010 02:15:58 +0000 (19:15 -0700)]
html.templates.chloe: add notion of "string context" where tags are not allowed and <>& are not escaped; fixes <t:title> double escaping bug reported by John Benediktsson

13 years agocompiler.tests: forgot to check in x87-regression test way back
Slava Pestov [Sat, 21 Aug 2010 01:36:26 +0000 (18:36 -0700)]
compiler.tests: forgot to check in x87-regression test way back

13 years agohttp: turns out we do need to handle port number in host header, and client needs...
Slava Pestov [Sat, 21 Aug 2010 01:28:50 +0000 (18:28 -0700)]
http: turns out we do need to handle port number in host header, and client needs to send it but only for non-default ports, since sending it for the default port breaks Twitter's HTTP server (reported by John Benediktsson)

13 years agomath.vectors.simd: docs mention obsolete 'test-mr mr.' words
Slava Pestov [Sat, 21 Aug 2010 00:59:56 +0000 (17:59 -0700)]
math.vectors.simd: docs mention obsolete 'test-mr mr.' words

13 years agoRefactor spider vocab to fix a bug and remove a rot
Doug Coleman [Wed, 18 Aug 2010 16:34:36 +0000 (11:34 -0500)]
Refactor spider vocab to fix a bug and remove a rot

13 years agoMake suffix arrays prune repeated members before construction
Doug Coleman [Sun, 8 Aug 2010 15:34:19 +0000 (10:34 -0500)]
Make suffix arrays prune repeated members before construction

13 years agotwitter: remove obsolete comment
Slava Pestov [Wed, 18 Aug 2010 02:24:52 +0000 (19:24 -0700)]
twitter: remove obsolete comment

13 years agomacros: clarify docs
Slava Pestov [Wed, 18 Aug 2010 02:24:45 +0000 (19:24 -0700)]
macros: clarify docs

13 years agogpu.shaders: typo in docs reported by typemore
Joe Groff [Wed, 18 Aug 2010 00:07:15 +0000 (17:07 -0700)]
gpu.shaders: typo in docs reported by typemore

13 years agomason.child: remove PPC unit tests
Slava Pestov [Mon, 16 Aug 2010 05:24:28 +0000 (22:24 -0700)]
mason.child: remove PPC unit tests

13 years agoOfficially drop PowerPC port
Slava Pestov [Sun, 15 Aug 2010 21:37:22 +0000 (14:37 -0700)]
Officially drop PowerPC port

13 years agowindows.directx: update for void being parsed like a word
Slava Pestov [Sun, 15 Aug 2010 20:15:23 +0000 (15:15 -0500)]
windows.directx: update for void being parsed like a word

13 years agocompiler: update tests for void being parsed like a real word
Slava Pestov [Sun, 15 Aug 2010 20:01:42 +0000 (13:01 -0700)]
compiler: update tests for void being parsed like a real word

13 years agoclasses.struct: fields with a type that's an array of pointers (eg int*[3]) now work
Slava Pestov [Sun, 15 Aug 2010 09:44:21 +0000 (02:44 -0700)]
classes.struct: fields with a type that's an array of pointers (eg int*[3]) now work

13 years agoalien.parser: make int[3]* parse, make int[3][4 not parse
Slava Pestov [Sun, 15 Aug 2010 09:37:17 +0000 (02:37 -0700)]
alien.parser: make int[3]* parse, make int[3][4 not parse

13 years agoUpdate code for brave new world where alien.parser doesn't special-case void, and...
Slava Pestov [Sun, 15 Aug 2010 09:29:12 +0000 (02:29 -0700)]
Update code for brave new world where alien.parser doesn't special-case void, and instead looks it up like any other word

13 years agoalien.parser: array types where the base type was a pointer didn't parse (reported...
Slava Pestov [Sun, 15 Aug 2010 08:51:55 +0000 (01:51 -0700)]
alien.parser: array types where the base type was a pointer didn't parse (reported by Dmitry Shubin)

13 years agoio.sockets.windows: win32-socket instances were not being unregistered from global...
Slava Pestov [Sun, 15 Aug 2010 05:05:27 +0000 (00:05 -0500)]
io.sockets.windows: win32-socket instances were not being unregistered from global disposables hash; also check return value of closesocket

13 years agoslots: use em dashes
Philipp Brüschweiler [Sat, 14 Aug 2010 16:27:30 +0000 (18:27 +0200)]
slots: use em dashes

13 years agoMerge remote branch 'Blei/master'
Joe Groff [Sat, 14 Aug 2010 16:20:15 +0000 (09:20 -0700)]
Merge remote branch 'Blei/master'

13 years agocpu.x86.64: rescue from the perils of cut and paste code (fix bug reported by x6j8x)
Joe Groff [Sat, 14 Aug 2010 16:14:22 +0000 (09:14 -0700)]
cpu.x86.64: rescue from the perils of cut and paste code (fix bug reported by x6j8x)

13 years agocompiler: now that FFI has been deconcatenatized, we no longer need the special ...
Slava Pestov [Sat, 14 Aug 2010 06:59:19 +0000 (23:59 -0700)]
compiler: now that FFI has been deconcatenatized, we no longer need the special ##unary-float-function and ##binary-float-function fastpaths

13 years agocompiler.cfg: Reading the return value of a float-returning function on x86-32 had...
Slava Pestov [Sat, 14 Aug 2010 06:19:30 +0000 (23:19 -0700)]
compiler.cfg: Reading the return value of a float-returning function on x86-32 had a side effect of popping the x87 stack, so it was not correct for DCE to just eliminate this if the return value was not used. Fix this by adding a new dead-outputs slot to alien-call-insns and having DCE move dead returns there

13 years agomath.floats.env.x86: more direct test for stack fault detection
Joe Groff [Sat, 14 Aug 2010 05:19:54 +0000 (22:19 -0700)]
math.floats.env.x86: more direct test for stack fault detection

13 years agohelp.apropos: some cleanup and performance improvement.
John Benediktsson [Sat, 14 Aug 2010 02:32:49 +0000 (19:32 -0700)]
help.apropos: some cleanup and performance improvement.

13 years agotools.completion: making completions a lot faster using make.
John Benediktsson [Sat, 14 Aug 2010 02:28:44 +0000 (19:28 -0700)]
tools.completion: making completions a lot faster using make.

13 years agoslots: the docs for writer used obsolete (>>slot) syntax
Philipp Brüschweiler [Fri, 13 Aug 2010 21:50:10 +0000 (23:50 +0200)]
slots: the docs for writer used obsolete (>>slot) syntax

13 years agomath.combinatorics: Fixing selections bug with nested sequences.
John Benediktsson [Fri, 13 Aug 2010 21:34:14 +0000 (14:34 -0700)]
math.combinatorics: Fixing selections bug with nested sequences.

13 years agoAdding the "internet checksum" (RFC 1071).
John Benediktsson [Fri, 13 Aug 2010 21:32:26 +0000 (14:32 -0700)]
Adding the "internet checksum" (RFC 1071).

13 years agodb.sqlite.lib: fixing sqlite-row word.
John Benediktsson [Fri, 13 Aug 2010 21:23:05 +0000 (14:23 -0700)]
db.sqlite.lib: fixing sqlite-row word.

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