]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 15 Jan 2010 22:03:46 +0000 (14:03 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosqueeze some TYPED: juice on gpu.*
Joe Groff [Fri, 15 Jan 2010 22:03:15 +0000 (14:03 -0800)]
squeeze some TYPED: juice on gpu.*

14 years agoMerge branch 'mongodb-changes' of git://github.com/x6j8x/factor
Doug Coleman [Fri, 15 Jan 2010 11:41:22 +0000 (05:41 -0600)]
Merge branch 'mongodb-changes' of git://github.com/x6j8x/factor

14 years agoHelp lint fixes for iota
Slava Pestov [Fri, 15 Jan 2010 04:04:14 +0000 (17:04 +1300)]
Help lint fixes for iota

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 23:22:02 +0000 (17:22 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

Conflicts:
core/sequences/sequences-docs.factor

14 years agoFix a few integers-as-sequences in docs
Doug Coleman [Thu, 14 Jan 2010 23:20:43 +0000 (17:20 -0600)]
Fix a few integers-as-sequences in docs

14 years agoClean up a windows.time word
Doug Coleman [Thu, 14 Jan 2010 23:20:30 +0000 (17:20 -0600)]
Clean up a windows.time word

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 14 Jan 2010 21:06:08 +0000 (15:06 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse iota in retry combinator in mason
Slava Pestov [Thu, 14 Jan 2010 21:05:39 +0000 (15:05 -0600)]
use iota in retry combinator in mason

14 years agomath.parser: fix docs -- maximum radix is 16 not 36
Slava Pestov [Thu, 14 Jan 2010 19:36:40 +0000 (08:36 +1300)]
math.parser: fix docs -- maximum radix is 16 not 36

14 years agoparser: make 'CONSTANT: foo<newline>3' work in the listener
Slava Pestov [Thu, 14 Jan 2010 19:30:26 +0000 (08:30 +1300)]
parser: make 'CONSTANT: foo<newline>3' work in the listener

14 years agomath.functions: fix memory protection error if exp called on a complex number with...
Slava Pestov [Thu, 14 Jan 2010 19:23:48 +0000 (08:23 +1300)]
math.functions: fix memory protection error if exp called on a complex number with a rational real part (reported by prunedtree)

14 years agogeneric, sequences: update docs for iota
Slava Pestov [Thu, 14 Jan 2010 19:23:27 +0000 (08:23 +1300)]
generic, sequences: update docs for iota

14 years agoChange [0,b) usages to iota
Slava Pestov [Thu, 14 Jan 2010 19:05:50 +0000 (08:05 +1300)]
Change [0,b) usages to iota

14 years agostack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was...
Slava Pestov [Thu, 14 Jan 2010 19:04:14 +0000 (08:04 +1300)]
stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 18:55:56 +0000 (12:55 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agostack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error
Slava Pestov [Thu, 14 Jan 2010 18:51:36 +0000 (07:51 +1300)]
stack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error

14 years agorandom is generic now -- iota random -> random
Doug Coleman [Thu, 14 Jan 2010 18:48:57 +0000 (12:48 -0600)]
random is generic now -- iota random -> random

14 years agoUpdate docs for random
Doug Coleman [Thu, 14 Jan 2010 18:45:30 +0000 (12:45 -0600)]
Update docs for random

14 years agobenchmarks: update for iota
Slava Pestov [Thu, 14 Jan 2010 18:08:22 +0000 (07:08 +1300)]
benchmarks: update for iota

14 years agoDon't rely on integers as sequences for unit tests
Doug Coleman [Thu, 14 Jan 2010 18:00:39 +0000 (12:00 -0600)]
Don't rely on integers as sequences for unit tests

14 years agoMake random a generic so it can still be called on integers
Doug Coleman [Thu, 14 Jan 2010 17:59:53 +0000 (11:59 -0600)]
Make random a generic so it can still be called on integers

14 years ago24-game: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:22:20 +0000 (06:22 +1300)]
24-game: update for iota

14 years agosudoku: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:22:12 +0000 (06:22 +1300)]
sudoku: update for iota

14 years agomaze: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:21:56 +0000 (06:21 +1300)]
maze: update for iota

14 years agojamshred: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:19:20 +0000 (06:19 +1300)]
jamshred: update for iota

14 years agoui.pens.gradient: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:19:13 +0000 (06:19 +1300)]
ui.pens.gradient: update for iota

14 years agotetris.gl: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:15:15 +0000 (06:15 +1300)]
tetris.gl: update for iota

14 years agonoise: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:13:42 +0000 (06:13 +1300)]
noise: update for iota

14 years agoRemoving integers-as-sequences
Slava Pestov [Thu, 14 Jan 2010 15:10:13 +0000 (04:10 +1300)]
Removing integers-as-sequences

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 17:18:34 +0000 (11:18 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse clamp
Doug Coleman [Thu, 14 Jan 2010 17:18:10 +0000 (11:18 -0600)]
use clamp

14 years agoFix input-classes of /i and mod, and add some regression tests with various reduction...
Slava Pestov [Thu, 14 Jan 2010 05:15:47 +0000 (18:15 +1300)]
Fix input-classes of /i and mod, and add some regression tests with various reductions of the original test-case from the terrain demo

14 years agovm: fix compilation on 64-bit platforms
Slava Pestov [Wed, 13 Jan 2010 13:18:49 +0000 (02:18 +1300)]
vm: fix compilation on 64-bit platforms

14 years agocompiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb
Slava Pestov [Wed, 13 Jan 2010 10:18:43 +0000 (23:18 +1300)]
compiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb

14 years agovm: rework platform.hpp so that it is no longer necessary to pass -DFACTOR_64 and...
Slava Pestov [Wed, 13 Jan 2010 10:06:45 +0000 (23:06 +1300)]
vm: rework platform.hpp so that it is no longer necessary to pass -DFACTOR_64 and -DWINDOWS when compiling VM

14 years agoRework min and max so that behavior with floats and NaNs is consistent between generi...
Slava Pestov [Wed, 13 Jan 2010 09:20:16 +0000 (22:20 +1300)]
Rework min and max so that behavior with floats and NaNs is consistent between generic arithmetic and open-coded float intrinsics

14 years agoRename kernel.private:getenv/setenv to special-object/set-special-object to mirror...
Slava Pestov [Wed, 13 Jan 2010 05:08:18 +0000 (18:08 +1300)]
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side

14 years agoPowerPC optimizing compiler backend fixes
Slava Pestov [Tue, 12 Jan 2010 14:02:10 +0000 (08:02 -0600)]
PowerPC optimizing compiler backend fixes

14 years agoMore PowerPC non-optimizing compiler backend fixes
Slava Pestov [Tue, 12 Jan 2010 14:09:43 +0000 (03:09 +1300)]
More PowerPC non-optimizing compiler backend fixes

14 years agounwind-stack-frames didn't load VM pointer into the VM register on PowerPC and x86...
Slava Pestov [Tue, 12 Jan 2010 03:31:10 +0000 (16:31 +1300)]
unwind-stack-frames didn't load VM pointer into the VM register on PowerPC and x86-64, and so if C code had clobbered this register it would crash

14 years agoUse the bash path instead of /bin/sh for running a bash script
Doug Coleman [Mon, 11 Jan 2010 04:42:26 +0000 (22:42 -0600)]
Use the bash path instead of /bin/sh for running a bash script

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 11 Jan 2010 03:17:30 +0000 (21:17 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc: fix some typos in non-optimizing backend
Slava Pestov [Mon, 11 Jan 2010 01:15:41 +0000 (14:15 +1300)]
cpu.ppc: fix some typos in non-optimizing backend

14 years agosome minor bson performance improvements
Sascha Matzke [Sun, 10 Jan 2010 11:04:16 +0000 (12:04 +0100)]
some minor bson performance improvements

14 years agoadded mongodb connection pool responder
Sascha Matzke [Thu, 7 Jan 2010 07:31:32 +0000 (08:31 +0100)]
added mongodb connection pool responder

14 years agoremoved generic words; added kill-cursor + filter-fields words
Sascha Matzke [Wed, 6 Jan 2010 14:56:38 +0000 (15:56 +0100)]
removed generic words; added kill-cursor + filter-fields words

14 years agofixed result calculation; added ops/s value
Sascha Matzke [Wed, 25 Nov 2009 08:37:50 +0000 (09:37 +0100)]
fixed result calculation; added ops/s value

14 years agoadded filter-fields word which sets the returnfields slot in the current query object
Sascha Matzke [Sun, 27 Dec 2009 12:29:24 +0000 (13:29 +0100)]
added filter-fields word which sets the returnfields slot in the current query object

14 years agoStore VM object in a register on x86-64
Slava Pestov [Sun, 10 Jan 2010 12:20:32 +0000 (01:20 +1300)]
Store VM object in a register on x86-64

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sat, 9 Jan 2010 07:09:47 +0000 (01:09 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.x86: c-to-factor needs to deal with the fact that vm-reg might have been clobbered
Slava Pestov [Sat, 9 Jan 2010 06:09:48 +0000 (19:09 +1300)]
cpu.x86: c-to-factor needs to deal with the fact that vm-reg might have been clobbered

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 8 Jan 2010 10:17:00 +0000 (04:17 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompression.zlib: -1 * is neg
Slava Pestov [Fri, 8 Jan 2010 06:51:38 +0000 (19:51 +1300)]
compression.zlib: -1 * is neg

14 years agoFix zlib-error-message to include human-readable version
Alec Berryman [Tue, 29 Dec 2009 02:05:09 +0000 (20:05 -0600)]
Fix zlib-error-message to include human-readable version

The error string is looked up in an array, but because zlib
error codes are negative, the error's string was always "f".

14 years agobuild-support/factor.sh: allow user to specify NO_UI
Alec Berryman [Wed, 2 Dec 2009 16:34:37 +0000 (10:34 -0600)]
build-support/factor.sh: allow user to specify NO_UI

14 years agoStarting to update PowerPC backend for recent VM changes (untested)
Slava Pestov [Fri, 8 Jan 2010 06:46:27 +0000 (19:46 +1300)]
Starting to update PowerPC backend for recent VM changes (untested)

14 years agovm: remove some unused #defines
Slava Pestov [Thu, 7 Jan 2010 08:33:19 +0000 (21:33 +1300)]
vm: remove some unused #defines

14 years agoalien: fix help lint
Slava Pestov [Thu, 7 Jan 2010 07:54:27 +0000 (20:54 +1300)]
alien: fix help lint

14 years agomath.floats.env.x86: split off 32 and 64-bit code into sub-vocabularies
Slava Pestov [Thu, 7 Jan 2010 07:44:28 +0000 (20:44 +1300)]
math.floats.env.x86: split off 32 and 64-bit code into sub-vocabularies

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 7 Jan 2010 07:16:34 +0000 (20:16 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomath.floats.env: don't load cpu.x86.64 on x86.32
Slava Pestov [Thu, 7 Jan 2010 07:13:42 +0000 (20:13 +1300)]
math.floats.env: don't load cpu.x86.64 on x86.32

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 7 Jan 2010 06:40:39 +0000 (01:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: add VM_C_API declaration for factor_memcpy function
Slava Pestov [Thu, 7 Jan 2010 06:40:20 +0000 (01:40 -0500)]
vm: add VM_C_API declaration for factor_memcpy function

14 years agoFix set-callstack primitive on Windows
Slava Pestov [Thu, 7 Jan 2010 06:31:15 +0000 (19:31 +1300)]
Fix set-callstack primitive on Windows

14 years agocpu.x86: sse_version was renamed to (sse-version)
Slava Pestov [Thu, 7 Jan 2010 05:30:01 +0000 (18:30 +1300)]
cpu.x86: sse_version was renamed to (sse-version)

14 years agoRemove .S support from Makefile
Slava Pestov [Thu, 7 Jan 2010 05:12:33 +0000 (18:12 +1300)]
Remove .S support from Makefile

14 years agovm: remove asm.h
Slava Pestov [Thu, 7 Jan 2010 05:05:31 +0000 (18:05 +1300)]
vm: remove asm.h

14 years agocpu.x86: add some alien-assembly unit tests
Slava Pestov [Thu, 7 Jan 2010 04:59:17 +0000 (17:59 +1300)]
cpu.x86: add some alien-assembly unit tests

14 years agoalien: document alien-assembly
Slava Pestov [Thu, 7 Jan 2010 04:57:48 +0000 (17:57 +1300)]
alien: document alien-assembly

14 years agostack-checker: fix unit test
Slava Pestov [Thu, 7 Jan 2010 04:40:23 +0000 (17:40 +1300)]
stack-checker: fix unit test

14 years agoAdd alien-assembly form for inline assembler, works like alien-invoke except calls...
Slava Pestov [Thu, 7 Jan 2010 04:39:22 +0000 (17:39 +1300)]
Add alien-assembly form for inline assembler, works like alien-invoke except calls a user-supplied quotation instead of generating a subroutine call. Replaces FPU status control, SSE detection and read timestamp routines in vm/cpu-x86.*S

14 years agocompiler.tree: remove some code duplication concerning #alien nodes
Slava Pestov [Thu, 7 Jan 2010 03:06:07 +0000 (16:06 +1300)]
compiler.tree: remove some code duplication concerning #alien nodes

14 years agovm: Remove some dead code
Slava Pestov [Thu, 7 Jan 2010 00:54:22 +0000 (13:54 +1300)]
vm: Remove some dead code

14 years agovm: remove unnecessary call to compile_all_words() from primitive_become()
Slava Pestov [Thu, 7 Jan 2010 00:49:29 +0000 (13:49 +1300)]
vm: remove unnecessary call to compile_all_words() from primitive_become()

14 years agocalendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff)
Slava Pestov [Wed, 6 Jan 2010 11:02:16 +0000 (00:02 +1300)]
calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff)

14 years agocompiler.units: fix faulty unit test
Slava Pestov [Wed, 6 Jan 2010 10:52:14 +0000 (23:52 +1300)]
compiler.units: fix faulty unit test

14 years agovm: ensure that non-optimized calls to generic words which have not yet been compiled...
Slava Pestov [Wed, 6 Jan 2010 10:49:14 +0000 (23:49 +1300)]
vm: ensure that non-optimized calls to generic words which have not yet been compiled can still work

14 years agocpu.x86: don't have to pass VM pointer to quotations anymore
Slava Pestov [Wed, 6 Jan 2010 10:42:00 +0000 (23:42 +1300)]
cpu.x86: don't have to pass VM pointer to quotations anymore

14 years agoUpdate x86-32 for assembly entry point changes
Slava Pestov [Wed, 6 Jan 2010 04:55:20 +0000 (17:55 +1300)]
Update x86-32 for assembly entry point changes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 6 Jan 2010 04:54:22 +0000 (17:54 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routi...
Slava Pestov [Wed, 6 Jan 2010 02:47:36 +0000 (15:47 +1300)]
vm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routines into non-optimizing compiler for x86-64

14 years agofix joystick-demo for timer changes
Joe Groff [Tue, 5 Jan 2010 18:23:11 +0000 (10:23 -0800)]
fix joystick-demo for timer changes

14 years agofix bug in constructor redefinition
Doug Coleman [Mon, 4 Jan 2010 20:24:13 +0000 (14:24 -0600)]
fix bug in constructor redefinition

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 4 Jan 2010 15:59:39 +0000 (10:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoupdate fica constant
Doug Coleman [Mon, 4 Jan 2010 15:59:00 +0000 (10:59 -0500)]
update fica constant

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Sun, 3 Jan 2010 10:21:31 +0000 (23:21 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoChange how non-volatile register preservation is done in alien callbacks, with the...
Slava Pestov [Sat, 2 Jan 2010 12:03:30 +0000 (01:03 +1300)]
Change how non-volatile register preservation is done in alien callbacks, with the aim of fixing callbacks on PowerPC, and to eventually eliminate assembly code from VM
- Simplify calculation of offset in relocation table
- Open-code %alien-callback
- Remove magic_frame hack from context objects
- Move magical return instruction from optimizing compiler backend into callback entry stub

14 years agofix png loading
Doug Coleman [Wed, 30 Dec 2009 20:58:50 +0000 (14:58 -0600)]
fix png loading

14 years agoremove warning
Doug Coleman [Mon, 28 Dec 2009 16:02:36 +0000 (10:02 -0600)]
remove warning

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 28 Dec 2009 15:58:19 +0000 (09:58 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoavoid integer division in nano_count on windows
Doug Coleman [Mon, 28 Dec 2009 15:56:10 +0000 (09:56 -0600)]
avoid integer division in nano_count on windows

14 years agoPowerPC: fix set-callstack primitive and start updating optimizing compiler backend...
Slava Pestov [Mon, 28 Dec 2009 14:08:15 +0000 (08:08 -0600)]
PowerPC: fix set-callstack primitive and start updating optimizing compiler backend for recent changes

14 years agocpu.ppc: fix non-optimizing compiler backend
Slava Pestov [Mon, 28 Dec 2009 02:45:46 +0000 (15:45 +1300)]
cpu.ppc: fix non-optimizing compiler backend

14 years agocontinuations: remove outdated comment
Slava Pestov [Sun, 27 Dec 2009 23:42:25 +0000 (12:42 +1300)]
continuations: remove outdated comment

14 years agokernel: fix set-callstack docs
Slava Pestov [Sun, 27 Dec 2009 23:41:45 +0000 (12:41 +1300)]
kernel: fix set-callstack docs

14 years agoUpdating non-optimizing PowerPC backend for register variable removal (untested)
Slava Pestov [Sun, 27 Dec 2009 23:40:45 +0000 (12:40 +1300)]
Updating non-optimizing PowerPC backend for register variable removal (untested)

14 years agoMerge branch 'eliminating_register_variables'
Slava Pestov [Sat, 26 Dec 2009 12:29:53 +0000 (01:29 +1300)]
Merge branch 'eliminating_register_variables'

14 years agojson reader: correctly handle empty objects in objects
Alec Berryman [Thu, 24 Dec 2009 23:48:16 +0000 (17:48 -0600)]
json reader: correctly handle empty objects in objects

Attempting to parse { "foo" : {} } previously resulted in an error.
(close-hash) expected to consolidate an object into the values of the
containing object (in the first line of code).  While there is none in
the case of the empty hash, the structure of the accumulator looked like
it contained an unconsolidated object, so it folded the values into the
keys and got very confused.

14 years agoUpdating x86-64 port for global register variable removal
Slava Pestov [Sat, 26 Dec 2009 12:17:42 +0000 (01:17 +1300)]
Updating x86-64 port for global register variable removal