]>
gitweb.factorcode.org Git - factor.git/log
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
Doug Coleman [Thu, 14 Jan 2010 23:20:43 +0000 (17:20 -0600)]
Fix a few integers-as-sequences in docs
Doug Coleman [Thu, 14 Jan 2010 23:20:30 +0000 (17:20 -0600)]
Clean up a windows.time word
Slava Pestov [Thu, 14 Jan 2010 21:06:08 +0000 (15:06 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 14 Jan 2010 21:05:39 +0000 (15:05 -0600)]
use iota in retry combinator in mason
Slava Pestov [Thu, 14 Jan 2010 19:36:40 +0000 (08:36 +1300)]
math.parser: fix docs -- maximum radix is 16 not 36
Slava Pestov [Thu, 14 Jan 2010 19:30:26 +0000 (08:30 +1300)]
parser: make 'CONSTANT: foo<newline>3' work in the listener
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)
Slava Pestov [Thu, 14 Jan 2010 19:23:27 +0000 (08:23 +1300)]
generic, sequences: update docs for iota
Slava Pestov [Thu, 14 Jan 2010 19:05:50 +0000 (08:05 +1300)]
Change [0,b) usages to iota
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
Doug Coleman [Thu, 14 Jan 2010 18:55:56 +0000 (12:55 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 14 Jan 2010 18:51:36 +0000 (07:51 +1300)]
stack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error
Doug Coleman [Thu, 14 Jan 2010 18:48:57 +0000 (12:48 -0600)]
random is generic now -- iota random -> random
Doug Coleman [Thu, 14 Jan 2010 18:45:30 +0000 (12:45 -0600)]
Update docs for random
Slava Pestov [Thu, 14 Jan 2010 18:08:22 +0000 (07:08 +1300)]
benchmarks: update for iota
Doug Coleman [Thu, 14 Jan 2010 18:00:39 +0000 (12:00 -0600)]
Don't rely on integers as sequences for unit tests
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
Slava Pestov [Thu, 14 Jan 2010 17:22:20 +0000 (06:22 +1300)]
24-game: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:22:12 +0000 (06:22 +1300)]
sudoku: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:21:56 +0000 (06:21 +1300)]
maze: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:19:20 +0000 (06:19 +1300)]
jamshred: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:19:13 +0000 (06:19 +1300)]
ui.pens.gradient: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:15:15 +0000 (06:15 +1300)]
tetris.gl: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:13:42 +0000 (06:13 +1300)]
noise: update for iota
Slava Pestov [Thu, 14 Jan 2010 15:10:13 +0000 (04:10 +1300)]
Removing integers-as-sequences
Doug Coleman [Thu, 14 Jan 2010 17:18:34 +0000 (11:18 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 17:18:10 +0000 (11:18 -0600)]
use clamp
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
Slava Pestov [Wed, 13 Jan 2010 13:18:49 +0000 (02:18 +1300)]
vm: fix compilation on 64-bit platforms
Slava Pestov [Wed, 13 Jan 2010 10:18:43 +0000 (23:18 +1300)]
compiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb
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
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
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
Slava Pestov [Tue, 12 Jan 2010 14:02:10 +0000 (08:02 -0600)]
PowerPC optimizing compiler backend fixes
Slava Pestov [Tue, 12 Jan 2010 14:09:43 +0000 (03:09 +1300)]
More PowerPC non-optimizing compiler backend fixes
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
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
Doug Coleman [Mon, 11 Jan 2010 03:17:30 +0000 (21:17 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 11 Jan 2010 01:15:41 +0000 (14:15 +1300)]
cpu.ppc: fix some typos in non-optimizing backend
Slava Pestov [Sun, 10 Jan 2010 12:20:32 +0000 (01:20 +1300)]
Store VM object in a register on x86-64
Doug Coleman [Sat, 9 Jan 2010 07:09:47 +0000 (01:09 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
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
Doug Coleman [Fri, 8 Jan 2010 10:17:00 +0000 (04:17 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 8 Jan 2010 06:51:38 +0000 (19:51 +1300)]
compression.zlib: -1 * is neg
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".
Alec Berryman [Wed, 2 Dec 2009 16:34:37 +0000 (10:34 -0600)]
build-support/factor.sh: allow user to specify NO_UI
Slava Pestov [Fri, 8 Jan 2010 06:46:27 +0000 (19:46 +1300)]
Starting to update PowerPC backend for recent VM changes (untested)
Slava Pestov [Thu, 7 Jan 2010 08:33:19 +0000 (21:33 +1300)]
vm: remove some unused #defines
Slava Pestov [Thu, 7 Jan 2010 07:54:27 +0000 (20:54 +1300)]
alien: fix help lint
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
Slava Pestov [Thu, 7 Jan 2010 07:16:34 +0000 (20:16 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor
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
Slava Pestov [Thu, 7 Jan 2010 06:40:39 +0000 (01:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 7 Jan 2010 06:40:20 +0000 (01:40 -0500)]
vm: add VM_C_API declaration for factor_memcpy function
Slava Pestov [Thu, 7 Jan 2010 06:31:15 +0000 (19:31 +1300)]
Fix set-callstack primitive on Windows
Slava Pestov [Thu, 7 Jan 2010 05:30:01 +0000 (18:30 +1300)]
cpu.x86: sse_version was renamed to (sse-version)
Slava Pestov [Thu, 7 Jan 2010 05:12:33 +0000 (18:12 +1300)]
Remove .S support from Makefile
Slava Pestov [Thu, 7 Jan 2010 05:05:31 +0000 (18:05 +1300)]
vm: remove asm.h
Slava Pestov [Thu, 7 Jan 2010 04:59:17 +0000 (17:59 +1300)]
cpu.x86: add some alien-assembly unit tests
Slava Pestov [Thu, 7 Jan 2010 04:57:48 +0000 (17:57 +1300)]
alien: document alien-assembly
Slava Pestov [Thu, 7 Jan 2010 04:40:23 +0000 (17:40 +1300)]
stack-checker: fix unit test
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
Slava Pestov [Thu, 7 Jan 2010 03:06:07 +0000 (16:06 +1300)]
compiler.tree: remove some code duplication concerning #alien nodes
Slava Pestov [Thu, 7 Jan 2010 00:54:22 +0000 (13:54 +1300)]
vm: Remove some dead code
Slava Pestov [Thu, 7 Jan 2010 00:49:29 +0000 (13:49 +1300)]
vm: remove unnecessary call to compile_all_words() from primitive_become()
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)
Slava Pestov [Wed, 6 Jan 2010 10:52:14 +0000 (23:52 +1300)]
compiler.units: fix faulty unit test
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
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
Slava Pestov [Wed, 6 Jan 2010 04:55:20 +0000 (17:55 +1300)]
Update x86-32 for assembly entry point changes
Slava Pestov [Wed, 6 Jan 2010 04:54:22 +0000 (17:54 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor
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
Joe Groff [Tue, 5 Jan 2010 18:23:11 +0000 (10:23 -0800)]
fix joystick-demo for timer changes
Doug Coleman [Mon, 4 Jan 2010 20:24:13 +0000 (14:24 -0600)]
fix bug in constructor redefinition
Doug Coleman [Mon, 4 Jan 2010 15:59:39 +0000 (10:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 4 Jan 2010 15:59:00 +0000 (10:59 -0500)]
update fica constant
Slava Pestov [Sun, 3 Jan 2010 10:21:31 +0000 (23:21 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor
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
Doug Coleman [Wed, 30 Dec 2009 20:58:50 +0000 (14:58 -0600)]
fix png loading
Doug Coleman [Mon, 28 Dec 2009 16:02:36 +0000 (10:02 -0600)]
remove warning
Doug Coleman [Mon, 28 Dec 2009 15:58:19 +0000 (09:58 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 28 Dec 2009 15:56:10 +0000 (09:56 -0600)]
avoid integer division in nano_count on windows
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
Slava Pestov [Mon, 28 Dec 2009 02:45:46 +0000 (15:45 +1300)]
cpu.ppc: fix non-optimizing compiler backend
Slava Pestov [Sun, 27 Dec 2009 23:42:25 +0000 (12:42 +1300)]
continuations: remove outdated comment
Slava Pestov [Sun, 27 Dec 2009 23:41:45 +0000 (12:41 +1300)]
kernel: fix set-callstack docs
Slava Pestov [Sun, 27 Dec 2009 23:40:45 +0000 (12:40 +1300)]
Updating non-optimizing PowerPC backend for register variable removal (untested)
Slava Pestov [Sat, 26 Dec 2009 12:29:53 +0000 (01:29 +1300)]
Merge branch 'eliminating_register_variables'
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.
Slava Pestov [Sat, 26 Dec 2009 12:17:42 +0000 (01:17 +1300)]
Updating x86-64 port for global register variable removal
Slava Pestov [Sat, 26 Dec 2009 02:38:01 +0000 (15:38 +1300)]
kernel: fix stack effect declarations of call-clear and set-callstack, and add a unit test for call-clear
Slava Pestov [Sat, 26 Dec 2009 02:27:39 +0000 (15:27 +1300)]
primitives.factor: move call-clear into kernel.private since its unsafe
Slava Pestov [Sat, 26 Dec 2009 02:24:46 +0000 (15:24 +1300)]
Fix bug in c_to_factor
Slava Pestov [Sat, 26 Dec 2009 02:24:21 +0000 (15:24 +1300)]
vm: code cleanup
Doug Coleman [Wed, 23 Dec 2009 20:04:52 +0000 (14:04 -0600)]
Add 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH.
Slava Pestov [Wed, 23 Dec 2009 12:37:24 +0000 (01:37 +1300)]
vm: remove VM_ASM_API
Doug Coleman [Tue, 22 Dec 2009 20:39:30 +0000 (14:39 -0600)]
remove debug output
Doug Coleman [Tue, 22 Dec 2009 20:36:33 +0000 (14:36 -0600)]
try a different approach to fix the windows monotonic counter
Doug Coleman [Tue, 22 Dec 2009 19:33:39 +0000 (13:33 -0600)]
Ignore yet another undocumented exception. Tricks of the trade, I guess.