]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'new-math-parser' of git://factorcode.org/git/factor into new-math-parser
Slava Pestov [Sun, 7 Feb 2010 10:28:18 +0000 (23:28 +1300)]
Merge branch 'new-math-parser' of git://factorcode.org/git/factor into new-math-parser

14 years agofill in USING: for sequences.inserters tests
Joe Groff [Sun, 7 Feb 2010 08:14:56 +0000 (00:14 -0800)]
fill in USING: for sequences.inserters tests

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 7 Feb 2010 08:13:44 +0000 (00:13 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosequences.inserters: a new utility that abuses the exemplar parameter of *-as combina...
Joe Groff [Sun, 7 Feb 2010 08:13:32 +0000 (00:13 -0800)]
sequences.inserters: a new utility that abuses the exemplar parameter of *-as combinators to direct their output into existing growable sequences, either appending to the end of the vector (appender) or emptying the vector and replacing the contents (replacer)

14 years agoassocs: use collector-for in assoc>map to create a temporary vector appropriate for...
Joe Groff [Sun, 7 Feb 2010 07:59:34 +0000 (23:59 -0800)]
assocs: use collector-for in assoc>map to create a temporary vector appropriate for the exemplar

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sun, 7 Feb 2010 05:21:32 +0000 (18:21 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoui.text: fix outdated material
Slava Pestov [Sun, 7 Feb 2010 05:20:54 +0000 (18:20 +1300)]
ui.text: fix outdated material

14 years agoio.launcher.unix: sometimes both WIFEXITED and WIFSIGNALED would return true, and...
Slava Pestov [Sun, 7 Feb 2010 05:17:53 +0000 (18:17 +1300)]
io.launcher.unix: sometimes both WIFEXITED and WIFSIGNALED would return true, and the wrong status would be reported

14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Sun, 7 Feb 2010 05:09:04 +0000 (18:09 +1300)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agoDon't FEP on unhandled case for WM_APPCOMMAND
erikc [Sat, 6 Feb 2010 07:50:58 +0000 (23:50 -0800)]
Don't FEP on unhandled case for WM_APPCOMMAND

14 years agoFix spaces that crept into vm/ cpp files
Doug Coleman [Sat, 6 Feb 2010 07:06:26 +0000 (01:06 -0600)]
Fix spaces that crept into vm/ cpp files

14 years agovm: disable silly nano-count workaround on Win64, fix some indentation issues
Slava Pestov [Sat, 6 Feb 2010 06:45:06 +0000 (00:45 -0600)]
vm: disable silly nano-count workaround on Win64, fix some indentation issues

14 years agocpu.x86.64: inline cache miss blocks have a prolog generated in the middle of a proce...
Slava Pestov [Sat, 6 Feb 2010 05:41:58 +0000 (18:41 +1300)]
cpu.x86.64: inline cache miss blocks have a prolog generated in the middle of a procedure; undo a recent change to non-optimizing backend to fix random crashes

14 years agocpu.ppc: needs same fix for jit-profiling as on x86-64
Slava Pestov [Sat, 6 Feb 2010 05:04:28 +0000 (18:04 +1300)]
cpu.ppc: needs same fix for jit-profiling as on x86-64

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 6 Feb 2010 04:13:45 +0000 (20:13 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Fri, 5 Feb 2010 23:53:18 +0000 (15:53 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoAdd brace matching for parse time quotes $\[
erikc [Fri, 5 Feb 2010 23:52:55 +0000 (15:52 -0800)]
Add brace matching for parse time quotes $\[

14 years agoAdd material loading for OBJ format, generalize model-viewer and removed hard-coded...
erikc [Fri, 5 Feb 2010 23:51:53 +0000 (15:51 -0800)]
Add material loading for OBJ format, generalize model-viewer and removed hard-coded paths

14 years agoHad the color order for TGA backwards
erikc [Fri, 5 Feb 2010 23:32:38 +0000 (15:32 -0800)]
Had the color order for TGA backwards

14 years agojson: if-json-null combinator, in the same vein as if-zero, if-empty, etc.
Joe Groff [Fri, 5 Feb 2010 22:09:43 +0000 (14:09 -0800)]
json: if-json-null combinator, in the same vein as if-zero, if-empty, etc.

14 years agogpu.buffers: allocate-byte-array word, equivalent to [ byte-length ] keep allocate...
Joe Groff [Fri, 5 Feb 2010 22:07:45 +0000 (14:07 -0800)]
gpu.buffers: allocate-byte-array word, equivalent to [ byte-length ] keep allocate-buffer

14 years agogitignore .RES
Doug Coleman [Fri, 5 Feb 2010 20:10:53 +0000 (14:10 -0600)]
gitignore .RES

14 years agoFix typo in dinput binding
Doug Coleman [Fri, 5 Feb 2010 20:09:17 +0000 (14:09 -0600)]
Fix typo in dinput binding

14 years agowindows.types: remove duplicate typedefs flagged by recent alien.syntax change
Slava Pestov [Fri, 5 Feb 2010 12:04:12 +0000 (06:04 -0600)]
windows.types: remove duplicate typedefs flagged by recent alien.syntax change

14 years agoalien.syntax: save source location for TYPEDEF:, raise error on redefinition
Slava Pestov [Fri, 5 Feb 2010 07:26:20 +0000 (20:26 +1300)]
alien.syntax: save source location for TYPEDEF:, raise error on redefinition

14 years agocpu.x86: fix crashes when using certain features (threads, errors, etc) with profilin...
Slava Pestov [Fri, 5 Feb 2010 01:29:45 +0000 (14:29 +1300)]
cpu.x86: fix crashes when using certain features (threads, errors, etc) with profiling enabled on x86-64. The profiling stub was clobbering an argument for the unwind_native_frames() entry point

14 years agowindows.types: another Win64 fix
Slava Pestov [Fri, 5 Feb 2010 07:47:03 +0000 (01:47 -0600)]
windows.types: another Win64 fix

14 years agoFix help lint for user-id
Doug Coleman [Fri, 5 Feb 2010 07:20:40 +0000 (01:20 -0600)]
Fix help lint for user-id

14 years agoreorder functions in header file
Doug Coleman [Fri, 5 Feb 2010 05:55:17 +0000 (23:55 -0600)]
reorder functions in header file

14 years agoRefactor error handling in io.cpp. Update image.cpp and header files for changes.
Doug Coleman [Fri, 5 Feb 2010 05:52:55 +0000 (23:52 -0600)]
Refactor error handling in io.cpp.  Update image.cpp and header files for changes.

14 years agowindows.types: fix LONG_PTR type on win64
unknown [Fri, 5 Feb 2010 04:43:14 +0000 (22:43 -0600)]
windows.types: fix LONG_PTR type on win64

14 years agoFix user-name in unix.users, add unit test
Doug Coleman [Fri, 5 Feb 2010 03:50:33 +0000 (21:50 -0600)]
Fix user-name in unix.users, add unit test

14 years agomath.quaternions: slerp function
Joe Groff [Fri, 5 Feb 2010 04:08:37 +0000 (20:08 -0800)]
math.quaternions: slerp function

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 5 Feb 2010 03:45:25 +0000 (19:45 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoimages.atlas: add "make-atlas-assoc" word to take a name->image assoc and generate...
Joe Groff [Fri, 5 Feb 2010 03:43:14 +0000 (19:43 -0800)]
images.atlas: add "make-atlas-assoc" word to take a name->image assoc and generate a name->texcoord assoc alongside the atlas

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 4 Feb 2010 22:03:16 +0000 (16:03 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMove jamshred to unmaintained
Doug Coleman [Thu, 4 Feb 2010 22:03:00 +0000 (16:03 -0600)]
Move jamshred to unmaintained

14 years agoquaterion to matrix4 conversion
Joe Groff [Thu, 4 Feb 2010 19:25:45 +0000 (11:25 -0800)]
quaterion to matrix4 conversion

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 4 Feb 2010 05:50:36 +0000 (21:50 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agotools.deploy.shaker: don't try to intern all word props anymore
Slava Pestov [Thu, 4 Feb 2010 04:40:18 +0000 (17:40 +1300)]
tools.deploy.shaker: don't try to intern all word props anymore

14 years agoAllow setting errno instead of just clearing it
Doug Coleman [Wed, 3 Feb 2010 23:20:24 +0000 (17:20 -0600)]
Allow setting errno instead of just clearing it

14 years agofix typo in os-windows.cpp
Doug Coleman [Wed, 3 Feb 2010 22:03:22 +0000 (16:03 -0600)]
fix typo in os-windows.cpp

14 years agoDon't allow access through symlinks leading out of the ftp.server serving directory
Doug Coleman [Wed, 3 Feb 2010 21:26:37 +0000 (15:26 -0600)]
Don't allow access through symlinks leading out of the ftp.server serving directory

14 years agogitignore *.exp for win64
Doug Coleman [Wed, 3 Feb 2010 21:16:52 +0000 (15:16 -0600)]
gitignore *.exp for win64

14 years agoChange the MOVE_FILE macro to a function named move_file
Doug Coleman [Wed, 3 Feb 2010 21:12:13 +0000 (15:12 -0600)]
Change the MOVE_FILE macro to a function named move_file

14 years agocpu.ppc: final fix
Slava Pestov [Wed, 3 Feb 2010 19:37:12 +0000 (13:37 -0600)]
cpu.ppc: final fix

14 years agocpu.ppc: another fix
Slava Pestov [Wed, 3 Feb 2010 19:19:59 +0000 (08:19 +1300)]
cpu.ppc: another fix

14 years agocpu.ppc: load fixes
Slava Pestov [Wed, 3 Feb 2010 19:08:31 +0000 (08:08 +1300)]
cpu.ppc: load fixes

14 years agopairs: assoc implementation optimized for a single key/value pair
Slava Pestov [Wed, 3 Feb 2010 19:05:01 +0000 (08:05 +1300)]
pairs: assoc implementation optimized for a single key/value pair

14 years agoFix classes.tuple tests and assocs help lint
Slava Pestov [Wed, 3 Feb 2010 19:04:47 +0000 (08:04 +1300)]
Fix classes.tuple tests and assocs help lint

14 years agoERROR:s is immutable now, so don't use it in db
Doug Coleman [Wed, 3 Feb 2010 18:25:55 +0000 (12:25 -0600)]
ERROR:s is immutable now, so don't use it in db

14 years agohelp.handbook: mention foo! naming convention
Slava Pestov [Wed, 3 Feb 2010 14:55:08 +0000 (03:55 +1300)]
help.handbook: mention foo! naming convention

14 years agoUpdate some more 'update' usages to call 'assoc-union!'
Slava Pestov [Wed, 3 Feb 2010 14:25:53 +0000 (03:25 +1300)]
Update some more 'update' usages to call 'assoc-union!'

14 years agocompiler.units: fix bug that came up recently with nested compilation units
Slava Pestov [Wed, 3 Feb 2010 14:20:48 +0000 (03:20 +1300)]
compiler.units: fix bug that came up recently with nested compilation units

14 years agoRename update to assoc-union!, add assoc-filter! assoc-diff! words
Slava Pestov [Wed, 3 Feb 2010 13:55:00 +0000 (02:55 +1300)]
Rename update to assoc-union!, add assoc-filter! assoc-diff! words

14 years agocompiler: remove some unnecessary complexity
Slava Pestov [Wed, 3 Feb 2010 12:36:52 +0000 (01:36 +1300)]
compiler: remove some unnecessary complexity

14 years agocompiler: tweak recompilation logic. speeds up '"terrain" require' by 8 seconds
Slava Pestov [Wed, 3 Feb 2010 12:09:57 +0000 (01:09 +1300)]
compiler: tweak recompilation logic. speeds up '"terrain" require' by 8 seconds

14 years agoCompiled code size optimizations for x86-64 resulting in development image size reduc...
Slava Pestov [Wed, 3 Feb 2010 08:27:18 +0000 (21:27 +1300)]
Compiled code size optimizations for x86-64 resulting in development image size reduction of about 350kb
- RIP-relative LEA is now used to load program counter in prolog and tail calls; saves 3 bytes of code and 4 bytes of relocation information over an immediate MOV
- VM field accesses no longer involve a redundant addition

14 years agovm: always check call sites when installing PICs, not just when FACTOR_DEBUG is on...
Slava Pestov [Wed, 3 Feb 2010 07:32:18 +0000 (20:32 +1300)]
vm: always check call sites when installing PICs, not just when FACTOR_DEBUG is on, since the check is cheap and saves debugging time when compiler is changed

14 years agotools.memory: display some more code heap stats
Slava Pestov [Wed, 3 Feb 2010 07:28:36 +0000 (20:28 +1300)]
tools.memory: display some more code heap stats

14 years agomath.statistics: rename histogram* to histogram! and rename sequence>assoc* to sequen...
Slava Pestov [Wed, 3 Feb 2010 07:28:20 +0000 (20:28 +1300)]
math.statistics: rename histogram* to histogram! and rename sequence>assoc* to sequence>assoc!

14 years agocompiler.tree.propagation.call-effect: hack so that call( doesn't clear the last...
Slava Pestov [Tue, 2 Feb 2010 12:48:43 +0000 (01:48 +1300)]
compiler.tree.propagation.call-effect: hack so that call( doesn't clear the last error

14 years agoAdd code heap introspection primitive to VM, and make a code-blocks word in tools...
Slava Pestov [Tue, 2 Feb 2010 12:46:17 +0000 (01:46 +1300)]
Add code heap introspection primitive to VM, and make a code-blocks word in tools.memory that wraps a useful interface around this. Add a lookup-return-address word and use this in tools.disassembler.utils

14 years agobinary-search: improve docs
Slava Pestov [Tue, 2 Feb 2010 12:15:14 +0000 (01:15 +1300)]
binary-search: improve docs

14 years agostrings.tables: fix a logic error
Slava Pestov [Tue, 2 Feb 2010 10:48:30 +0000 (23:48 +1300)]
strings.tables: fix a logic error

14 years agoTest fixes
Slava Pestov [Mon, 1 Feb 2010 20:41:13 +0000 (09:41 +1300)]
Test fixes

14 years agodb: update for ERROR: change
Slava Pestov [Mon, 1 Feb 2010 20:40:56 +0000 (09:40 +1300)]
db: update for ERROR: change

14 years agomacros: handle compile-time stack effect check of macro body more elegantly than...
Slava Pestov [Mon, 1 Feb 2010 17:56:13 +0000 (06:56 +1300)]
macros: handle compile-time stack effect check of macro body more elegantly than previous attempt

14 years agotuple-arrays: cleanup
Slava Pestov [Mon, 1 Feb 2010 17:20:25 +0000 (06:20 +1300)]
tuple-arrays: cleanup

14 years agoDocumentation improvements
Slava Pestov [Mon, 1 Feb 2010 16:55:22 +0000 (05:55 +1300)]
Documentation improvements

14 years agoRevert "macros: macro body is now defined in its own subword, for compile-time stack...
Slava Pestov [Mon, 1 Feb 2010 16:50:13 +0000 (05:50 +1300)]
Revert "macros: macro body is now defined in its own subword, for compile-time stack effect checking"

This reverts commit 24de7c52f0c3f21cfcdb80235cac7296b0401c85.

14 years agoprettyprint.callables: not needed anymore since fry output is prettier
Slava Pestov [Mon, 1 Feb 2010 14:22:39 +0000 (03:22 +1300)]
prettyprint.callables: not needed anymore since fry output is prettier

14 years agovm: modify-code-heap primitive now takes a pair of parameters, update-existing? and...
Slava Pestov [Mon, 1 Feb 2010 13:49:05 +0000 (02:49 +1300)]
vm: modify-code-heap primitive now takes a pair of parameters, update-existing? and reset-pics?. If no generic words were changed, PICs do not need to be reset. If no existing words were redefined, the code heap doesn't have to be traced at all. Speeds up compilation of PEGs since those create lots of compilation units

14 years agocombinators: fix typo
Slava Pestov [Mon, 1 Feb 2010 13:40:28 +0000 (02:40 +1300)]
combinators: fix typo

14 years agoClarify documentation for compilation units and 'undefined' error
Slava Pestov [Mon, 1 Feb 2010 11:57:01 +0000 (00:57 +1300)]
Clarify documentation for compilation units and 'undefined' error

14 years agoprettyprint: make callstack output needlessly fancier
Slava Pestov [Mon, 1 Feb 2010 11:39:32 +0000 (00:39 +1300)]
prettyprint: make callstack output needlessly fancier

14 years agocombinators: ricing call-effect
Slava Pestov [Mon, 1 Feb 2010 08:10:11 +0000 (21:10 +1300)]
combinators: ricing call-effect

14 years agolistener: add tools.walker to default interactive vocab path
Slava Pestov [Mon, 1 Feb 2010 07:54:31 +0000 (20:54 +1300)]
listener: add tools.walker to default interactive vocab path

14 years agoclasses.tuple: make error slots read only for small space savings
Slava Pestov [Mon, 1 Feb 2010 07:54:08 +0000 (20:54 +1300)]
classes.tuple: make error slots read only for small space savings

14 years agoBetter error message for call( when quotation has the wrong effect
Slava Pestov [Mon, 1 Feb 2010 07:50:44 +0000 (20:50 +1300)]
Better error message for call( when quotation has the wrong effect

14 years agogeneric: rename method-body predicate class to method
Slava Pestov [Mon, 1 Feb 2010 07:08:24 +0000 (20:08 +1300)]
generic: rename method-body predicate class to method

14 years agowords: undefined error now contains the word in question
Slava Pestov [Mon, 1 Feb 2010 05:45:08 +0000 (18:45 +1300)]
words: undefined error now contains the word in question

14 years agomacros: macro body is now defined in its own subword, for compile-time stack effect...
Slava Pestov [Mon, 1 Feb 2010 05:15:24 +0000 (18:15 +1300)]
macros: macro body is now defined in its own subword, for compile-time stack effect checking

14 years agoMinor updates to string documentation
Slava Pestov [Wed, 3 Feb 2010 10:07:53 +0000 (23:07 +1300)]
Minor updates to string documentation

14 years agoMerge branch 'master' of git://github.com/littledan/Factor
Slava Pestov [Wed, 3 Feb 2010 09:58:25 +0000 (22:58 +1300)]
Merge branch 'master' of git://github.com/littledan/Factor

14 years agoMinor doc fixes
Slava Pestov [Wed, 3 Feb 2010 09:56:32 +0000 (22:56 +1300)]
Minor doc fixes

14 years agoMore documentation cleanup.
Brad Christensen [Wed, 3 Feb 2010 06:37:20 +0000 (23:37 -0700)]
More documentation cleanup.

14 years agoA number of documentation fixes and cleanup.
Brad Christensen [Tue, 2 Feb 2010 16:44:10 +0000 (09:44 -0700)]
A number of documentation fixes and cleanup.

14 years agoMinor doc cleanup.
Brad Christensen [Tue, 2 Feb 2010 04:05:37 +0000 (21:05 -0700)]
Minor doc cleanup.

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 3 Feb 2010 06:05:15 +0000 (00:05 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoChange benchmark.recursive to make less recursions to avoid overflowing the callstack...
Doug Coleman [Wed, 3 Feb 2010 06:04:37 +0000 (00:04 -0600)]
Change benchmark.recursive to make less recursions to avoid overflowing the callstack on win64

14 years agovm: fix ffi_test.h
Slava Pestov [Tue, 2 Feb 2010 10:15:42 +0000 (05:15 -0500)]
vm: fix ffi_test.h

14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Tue, 2 Feb 2010 10:04:29 +0000 (04:04 -0600)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agoFix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI...
Slava Pestov [Tue, 2 Feb 2010 10:01:12 +0000 (04:01 -0600)]
Fix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI for struct returns than MS's compiler; make the MS ABI the default for cdecl on Windows, and add mingw ABI for libraries that use the MINGW ABI

14 years agovector-friendlier math.quaternions
Joe Groff [Tue, 2 Feb 2010 08:30:21 +0000 (00:30 -0800)]
vector-friendlier math.quaternions

14 years agomissed an alien.fortran test
Joe Groff [Tue, 2 Feb 2010 08:13:13 +0000 (00:13 -0800)]
missed an alien.fortran test

14 years agoUpdating docs to say Unicode 5.2
Daniel Ehrenberg [Tue, 2 Feb 2010 07:49:24 +0000 (01:49 -0600)]
Updating docs to say Unicode 5.2

14 years agoUpdating Unicode to version 5.2
Daniel Ehrenberg [Tue, 2 Feb 2010 07:38:17 +0000 (01:38 -0600)]
Updating Unicode to version 5.2

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Tue, 2 Feb 2010 06:13:05 +0000 (22:13 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoMove collada viewer to extra/model-viewer
erikc [Tue, 2 Feb 2010 06:12:22 +0000 (22:12 -0800)]
Move collada viewer to extra/model-viewer