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

14 years agowrap alien.fortran c-type conversion tests in with-manifest
Joe Groff [Tue, 2 Feb 2010 06:03:51 +0000 (22:03 -0800)]
wrap alien.fortran c-type conversion tests in with-manifest

14 years agoUnify obj and collada loading under a common models umbrella loader
erikc [Tue, 2 Feb 2010 02:44:09 +0000 (18:44 -0800)]
Unify obj and collada loading under a common models umbrella loader

14 years agoalien.fortran: convert fortran types to word c-types
Joe Groff [Mon, 1 Feb 2010 20:06:10 +0000 (12:06 -0800)]
alien.fortran: convert fortran types to word c-types

14 years agotweak images.atlas interface. return a hash of images to texcoords for the images...
Joe Groff [Mon, 1 Feb 2010 20:05:28 +0000 (12:05 -0800)]
tweak images.atlas interface. return a hash of images to texcoords for the images that made up the atlas

14 years agomason: print callstack trace for build loop errors
Slava Pestov [Mon, 1 Feb 2010 18:41:04 +0000 (12:41 -0600)]
mason: print callstack trace for build loop errors

14 years agoio.launcher.windows: include launch descriptor in error thrown when launching a proce...
Slava Pestov [Mon, 1 Feb 2010 18:39:29 +0000 (12:39 -0600)]
io.launcher.windows: include launch descriptor in error thrown when launching a process fails

14 years agocompiler.crossref: clean up and fix bug with forgotten classes
Slava Pestov [Mon, 1 Feb 2010 04:20:08 +0000 (17:20 +1300)]
compiler.crossref: clean up and fix bug with forgotten classes

14 years agotools.test: run-test-file is public now, fix no-method error if unit test forgets...
Slava Pestov [Mon, 1 Feb 2010 04:09:57 +0000 (17:09 +1300)]
tools.test: run-test-file is public now, fix no-method error if unit test forgets a vocab

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
erikc [Mon, 1 Feb 2010 00:57:12 +0000 (16:57 -0800)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoMissed a few changed
erikc [Mon, 1 Feb 2010 00:56:58 +0000 (16:56 -0800)]
Missed a few changed

14 years agoFactored collada implementation a bit more and fixed some bugs
erikc [Mon, 1 Feb 2010 00:56:26 +0000 (16:56 -0800)]
Factored collada implementation a bit more and fixed some bugs

14 years agoMake sure we're not reading 0 bits in the lzw decompression loop -- this causes a...
Doug Coleman [Sun, 31 Jan 2010 22:29:20 +0000 (16:29 -0600)]
Make sure we're not reading 0 bits in the lzw decompression loop -- this causes a hang

14 years agoRewrite mnapply to be a combinator instead of a macro. Write nspread* to implement...
Doug Coleman [Sun, 31 Jan 2010 20:46:46 +0000 (14:46 -0600)]
Rewrite mnapply to be a combinator instead of a macro.  Write nspread* to implement mnapply

14 years agoAdd [1,b) to math.ranges. Use [1,b] in random.sfmt
Doug Coleman [Sun, 31 Jan 2010 20:46:20 +0000 (14:46 -0600)]
Add [1,b) to math.ranges.  Use [1,b] in random.sfmt

14 years agoFix using
Doug Coleman [Sat, 30 Jan 2010 07:55:01 +0000 (01:55 -0600)]
Fix using

14 years agoBetter implementation of sample, fix docs formatting
Doug Coleman [Sat, 30 Jan 2010 06:58:29 +0000 (00:58 -0600)]
Better implementation of sample, fix docs formatting

14 years agotools.deploy.shaker: fix load error
Slava Pestov [Sun, 31 Jan 2010 17:02:09 +0000 (06:02 +1300)]
tools.deploy.shaker: fix load error

14 years agoclasses: If a tuple class with subclasses is redefined into something that's not...
Slava Pestov [Sun, 31 Jan 2010 13:48:39 +0000 (02:48 +1300)]
classes: If a tuple class with subclasses is redefined into something that's not a tuple class, subclasses are changed to inherit from 'tuple' instead of being forgotten. Also, changing the metaclass of a union or intersection member no longer removes it from the union or intersection. Finally, make some internal words private

14 years agoclasses: more robust code for detecting circular inheritance, move it out of classes...
Slava Pestov [Sun, 31 Jan 2010 11:08:18 +0000 (00:08 +1300)]
classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too

14 years agoFix a couple of unit tests that were relying on the old compiler crossref structures
Slava Pestov [Sun, 31 Jan 2010 10:26:55 +0000 (23:26 +1300)]
Fix a couple of unit tests that were relying on the old compiler crossref structures

14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Sun, 31 Jan 2010 05:29:15 +0000 (18:29 +1300)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agocompiler.cfg.intrinsics.simd: ignore dummy assert-positive word
Slava Pestov [Sun, 31 Jan 2010 05:19:14 +0000 (18:19 +1300)]
compiler.cfg.intrinsics.simd: ignore dummy assert-positive word

14 years agoMerge up
erikc [Sun, 31 Jan 2010 04:48:06 +0000 (20:48 -0800)]
Merge up

14 years agoFFI bindings for Win32 RawInput
erikc [Sun, 31 Jan 2010 04:40:41 +0000 (20:40 -0800)]
FFI bindings for Win32 RawInput

14 years agoTemporary xinput backend for game.input
erikc [Sun, 31 Jan 2010 04:40:16 +0000 (20:40 -0800)]
Temporary xinput backend for game.input

14 years agoMerge up
erikc [Sun, 31 Jan 2010 04:39:43 +0000 (20:39 -0800)]
Merge up

14 years agoRefactored collada loader significantly
Erik Charlebois [Sun, 31 Jan 2010 03:48:10 +0000 (19:48 -0800)]
Refactored collada loader significantly

14 years agoMerge git://github.com/littledan/Factor into littledan
Slava Pestov [Sat, 30 Jan 2010 13:54:58 +0000 (02:54 +1300)]
Merge git://github.com/littledan/Factor into littledan

14 years agotools.deploy.shaker: update for new crossref word props
Slava Pestov [Sat, 30 Jan 2010 13:50:55 +0000 (02:50 +1300)]
tools.deploy.shaker: update for new crossref word props

14 years agowords: fix unit test
Slava Pestov [Sat, 30 Jan 2010 13:50:47 +0000 (02:50 +1300)]
words: fix unit test