]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' into new_gc
Slava Pestov [Thu, 22 Oct 2009 10:40:57 +0000 (05:40 -0500)]
Merge branch 'master' into new_gc

14 years agotools.profiler: fix tests
Slava Pestov [Thu, 22 Oct 2009 10:40:31 +0000 (05:40 -0500)]
tools.profiler: fix tests

14 years agovm: fix compilation
Slava Pestov [Thu, 22 Oct 2009 10:38:02 +0000 (06:38 -0400)]
vm: fix compilation

14 years agovm: clean up signal handling and add EXC_BAD_INSTRUCTION Mach exception handler for...
Slava Pestov [Thu, 22 Oct 2009 10:22:59 +0000 (05:22 -0500)]
vm: clean up signal handling and add EXC_BAD_INSTRUCTION Mach exception handler for OS X, since signal handlers cannot change the stack pointer

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 22 Oct 2009 05:18:16 +0000 (00:18 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoalso print undocumented windows SSE exception codes
Joe Groff [Thu, 22 Oct 2009 05:18:01 +0000 (00:18 -0500)]
also print undocumented windows SSE exception codes

14 years agotweak windows exception error printing
Joe Groff [Thu, 22 Oct 2009 04:59:37 +0000 (23:59 -0500)]
tweak windows exception error printing

14 years agogive better error message for windows exceptions, and don't lop off the top end of...
Joe Groff [Thu, 22 Oct 2009 04:37:51 +0000 (23:37 -0500)]
give better error message for windows exceptions, and don't lop off the top end of the exception code when the vm throws the error

14 years agovm: debugging mark and sweep
Slava Pestov [Thu, 22 Oct 2009 04:24:35 +0000 (23:24 -0500)]
vm: debugging mark and sweep

14 years agooops, longlong comparison is sse4.2, not 4.1
Joe Groff [Thu, 22 Oct 2009 04:00:02 +0000 (23:00 -0500)]
oops, longlong comparison is sse4.2, not 4.1

14 years agofix tools.deploy test
Joe Groff [Thu, 22 Oct 2009 03:12:28 +0000 (22:12 -0500)]
fix tools.deploy test

14 years agoupdate a bunch of alien-callbacks and alien-indirects to use c-type words
Joe Groff [Thu, 22 Oct 2009 02:10:11 +0000 (21:10 -0500)]
update a bunch of alien-callbacks and alien-indirects to use c-type words

14 years agovm: use iostreams instead of printf for debug messages, clean up a few things
Slava Pestov [Thu, 22 Oct 2009 01:12:57 +0000 (20:12 -0500)]
vm: use iostreams instead of printf for debug messages, clean up a few things

14 years agovm: debugging mark-sweep
Slava Pestov [Thu, 22 Oct 2009 00:41:54 +0000 (19:41 -0500)]
vm: debugging mark-sweep

14 years agoupdate some naked alien-invokes to use c-type words
Joe Groff [Wed, 21 Oct 2009 23:44:00 +0000 (18:44 -0500)]
update some naked alien-invokes to use c-type words

14 years agoupdate cocoa tests
Joe Groff [Wed, 21 Oct 2009 23:19:35 +0000 (18:19 -0500)]
update cocoa tests

14 years agoupdate cocoa bridge to use c-type words
Joe Groff [Wed, 21 Oct 2009 23:17:29 +0000 (18:17 -0500)]
update cocoa bridge to use c-type words

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 21 Oct 2009 17:11:16 +0000 (12:11 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovif combinator
Joe Groff [Wed, 21 Oct 2009 03:49:20 +0000 (22:49 -0500)]
vif combinator

14 years agofix doc formatting for io.mmap
Doug Coleman [Wed, 21 Oct 2009 03:43:11 +0000 (22:43 -0500)]
fix doc formatting for io.mmap

14 years agofix a normalization bug in decimals
Doug Coleman [Wed, 21 Oct 2009 03:37:44 +0000 (22:37 -0500)]
fix a normalization bug in decimals

14 years agogenerate unsigned vector comparison fallbacks using min/max or xor/signed compare
Joe Groff [Wed, 21 Oct 2009 03:30:57 +0000 (22:30 -0500)]
generate unsigned vector comparison fallbacks using min/max or xor/signed compare

14 years agovm: mark sweep gc for tenured space work in progress
Slava Pestov [Wed, 21 Oct 2009 03:20:49 +0000 (22:20 -0500)]
vm: mark sweep gc for tenured space work in progress

14 years agogenerate better fallback code for vmin/vmax intrinsics
Joe Groff [Tue, 20 Oct 2009 23:45:35 +0000 (18:45 -0500)]
generate better fallback code for vmin/vmax intrinsics

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 20 Oct 2009 22:42:29 +0000 (17:42 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovalue numbering rewrite rules for vector ops to convert "not and" to "andn" and ...
Joe Groff [Tue, 20 Oct 2009 22:29:01 +0000 (17:29 -0500)]
value numbering rewrite rules for vector ops to convert "not and" to "andn" and "not andn" to "and"

14 years agoclean up vector lerp functions to be better vectorizable
Joe Groff [Tue, 20 Oct 2009 19:36:36 +0000 (14:36 -0500)]
clean up vector lerp functions to be better vectorizable

14 years agovm: split off free_list_allocator from heap class, rename zone to bump_allocator
Slava Pestov [Tue, 20 Oct 2009 20:15:05 +0000 (15:15 -0500)]
vm: split off free_list_allocator from heap class, rename zone to bump_allocator

14 years agoMerge branch 'master' into new_gc
Slava Pestov [Tue, 20 Oct 2009 19:28:51 +0000 (14:28 -0500)]
Merge branch 'master' into new_gc

14 years agoclasses.builtin: fix help lint
Slava Pestov [Tue, 20 Oct 2009 19:28:34 +0000 (14:28 -0500)]
classes.builtin: fix help lint

14 years agovm: simplify code heap by eliminating HeapLayout template parameter
Slava Pestov [Tue, 20 Oct 2009 19:01:46 +0000 (14:01 -0500)]
vm: simplify code heap by eliminating HeapLayout template parameter

14 years agovm: object start recording in cards is now independent of allocation strategy
Slava Pestov [Tue, 20 Oct 2009 18:47:04 +0000 (13:47 -0500)]
vm: object start recording in cards is now independent of allocation strategy

14 years agovm: move factor_vm::untagged_object_size() to object::size()
Slava Pestov [Tue, 20 Oct 2009 18:13:39 +0000 (13:13 -0500)]
vm: move factor_vm::untagged_object_size() to object::size()

14 years agoChange data heap alignment to 16 bytes
Slava Pestov [Tue, 20 Oct 2009 17:45:00 +0000 (12:45 -0500)]
Change data heap alignment to 16 bytes

14 years agovm: fix crash when converting a callstack to an array
Slava Pestov [Tue, 20 Oct 2009 17:19:02 +0000 (12:19 -0500)]
vm: fix crash when converting a callstack to an array

14 years agovm: working on making heap more generic
Slava Pestov [Tue, 20 Oct 2009 15:22:06 +0000 (10:22 -0500)]
vm: working on making heap more generic

14 years agovm: change code heap layout somewhat, remove unused allocation bitmap from mark_bits
Slava Pestov [Tue, 20 Oct 2009 14:37:24 +0000 (09:37 -0500)]
vm: change code heap layout somewhat, remove unused allocation bitmap from mark_bits

14 years agoMerge branch 'master' into new_gc
Slava Pestov [Tue, 20 Oct 2009 12:58:59 +0000 (07:58 -0500)]
Merge branch 'master' into new_gc

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 20 Oct 2009 12:07:16 +0000 (07:07 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agohelp.handbook: remove 'type index'
Slava Pestov [Tue, 20 Oct 2009 12:07:03 +0000 (07:07 -0500)]
help.handbook: remove 'type index'

14 years agomath.vectors: fix behavioral difference between generic vector vmin vmax and float...
Slava Pestov [Tue, 20 Oct 2009 12:06:44 +0000 (07:06 -0500)]
math.vectors: fix behavioral difference between generic vector vmin vmax and float specialized versions thereof

14 years agocpu.x86.32: only create 16-byte parameter area if the word calls into the VM
Slava Pestov [Tue, 20 Oct 2009 10:02:42 +0000 (05:02 -0500)]
cpu.x86.32: only create 16-byte parameter area if the word calls into the VM

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 20 Oct 2009 09:32:14 +0000 (04:32 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler: FFI is now slightly more efficient when unboxing parameters, only changes...
Slava Pestov [Tue, 20 Oct 2009 09:31:48 +0000 (04:31 -0500)]
compiler: FFI is now slightly more efficient when unboxing parameters, only changes data stack height once

14 years agocompiler, cpu.x86.32: clean up FFI implementation, in particular 32-bit x86-specific...
Slava Pestov [Tue, 20 Oct 2009 09:15:10 +0000 (04:15 -0500)]
compiler, cpu.x86.32: clean up FFI implementation, in particular 32-bit x86-specific backend

14 years agospecialized-arrays: fix unit test
Slava Pestov [Tue, 20 Oct 2009 07:18:28 +0000 (02:18 -0500)]
specialized-arrays: fix unit test

14 years agoui.gadgets.controls: fix load error
Slava Pestov [Tue, 20 Oct 2009 07:18:21 +0000 (02:18 -0500)]
ui.gadgets.controls: fix load error

14 years agoui.gadgets.editors: fix com-join-lines if there are more than two lines in the editor
Slava Pestov [Tue, 20 Oct 2009 03:46:46 +0000 (22:46 -0500)]
ui.gadgets.editors: fix com-join-lines if there are more than two lines in the editor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 20 Oct 2009 02:44:56 +0000 (21:44 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into new_gc
Slava Pestov [Tue, 20 Oct 2009 02:44:36 +0000 (21:44 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into new_gc

14 years agoBuild fixes
Slava Pestov [Tue, 20 Oct 2009 00:18:08 +0000 (19:18 -0500)]
Build fixes

14 years agohelp.tutorial: clarify role of ''reload'' word
Slava Pestov [Tue, 20 Oct 2009 00:17:38 +0000 (19:17 -0500)]
help.tutorial: clarify role of ''reload'' word

14 years agoinline trilerp so that perlin-noise is pretty much instantaneous
Joe Groff [Mon, 19 Oct 2009 20:11:59 +0000 (15:11 -0500)]
inline trilerp so that perlin-noise is pretty much instantaneous

14 years agoadd a typed-disassemble convenience word to typed.debugger
Joe Groff [Mon, 19 Oct 2009 17:26:26 +0000 (12:26 -0500)]
add a typed-disassemble convenience word to typed.debugger

14 years agomake vshuffle-bytes intrinsic for any shuffle mask type
Joe Groff [Mon, 19 Oct 2009 17:25:55 +0000 (12:25 -0500)]
make vshuffle-bytes intrinsic for any shuffle mask type

14 years agotools.deploy: increase terrain size tolerance, decrease windows size tolerance
Slava Pestov [Mon, 19 Oct 2009 11:11:00 +0000 (06:11 -0500)]
tools.deploy: increase terrain size tolerance, decrease windows size tolerance

14 years agovm: change code heap alignment to 16 bytes instead of 32 to reduce image size
Slava Pestov [Mon, 19 Oct 2009 11:10:39 +0000 (06:10 -0500)]
vm: change code heap alignment to 16 bytes instead of 32 to reduce image size

14 years agopeg: fix unit test failures
Slava Pestov [Mon, 19 Oct 2009 11:01:20 +0000 (06:01 -0500)]
peg: fix unit test failures

14 years agoMove modules and peg-lexer to unmaintained
Slava Pestov [Mon, 19 Oct 2009 10:56:35 +0000 (05:56 -0500)]
Move modules and peg-lexer to unmaintained

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 19 Oct 2009 10:37:10 +0000 (05:37 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://github.com/killy971/factor
Slava Pestov [Mon, 19 Oct 2009 10:36:03 +0000 (05:36 -0500)]
Merge branch 'master' of git://github.com/killy971/factor

14 years agorandom.sfmt: make it endian-agnostic
Slava Pestov [Mon, 19 Oct 2009 10:22:43 +0000 (05:22 -0500)]
random.sfmt: make it endian-agnostic

14 years agocompiler: fix typo in intrinsics tests
Slava Pestov [Mon, 19 Oct 2009 10:16:04 +0000 (05:16 -0500)]
compiler: fix typo in intrinsics tests

14 years agocompiler: fix low-level-ir test on PowerPC
Slava Pestov [Mon, 19 Oct 2009 10:03:02 +0000 (05:03 -0500)]
compiler: fix low-level-ir test on PowerPC

14 years agocompiler: on PPC, ANDI, ORI and XORI instructions take an unsigned 16-bit immediate...
Slava Pestov [Mon, 19 Oct 2009 09:58:29 +0000 (04:58 -0500)]
compiler: on PPC, ANDI, ORI and XORI instructions take an unsigned 16-bit immediate, unlike ADDI, SUBI and MULLI which take a signed 16-bit immediate. The code generator was not aware of this, and so for example '[ >fixnum -16 bitand ]' would generate incorrect code. Split up small-enough? hook into immediate-arithmetic? and immediate-bitwise? and update value numbering to be aware of this. Fixes classes.struct bitfields test failure

14 years agospecialized-arrays, specialized-vectors: fix potential problem if two vocabularies...
Slava Pestov [Mon, 19 Oct 2009 09:41:53 +0000 (04:41 -0500)]
specialized-arrays, specialized-vectors: fix potential problem if two vocabularies define different C types with the same name

14 years agopeg.ebnf: fix
Slava Pestov [Mon, 19 Oct 2009 09:05:26 +0000 (04:05 -0500)]
peg.ebnf: fix

14 years agopeg.ebnf: turn $unchecked-examples into $examples
Slava Pestov [Mon, 19 Oct 2009 08:44:50 +0000 (03:44 -0500)]
peg.ebnf: turn $unchecked-examples into $examples

14 years agovm: move compaction algorithm to mark_bits.hpp since it doesn't rely on properties...
Slava Pestov [Mon, 19 Oct 2009 08:05:20 +0000 (03:05 -0500)]
vm: move compaction algorithm to mark_bits.hpp since it doesn't rely on properties of heaps per se

14 years agovm: new mark_bits data structure replaces hashtable when compacting code heap
Slava Pestov [Mon, 19 Oct 2009 07:21:11 +0000 (02:21 -0500)]
vm: new mark_bits data structure replaces hashtable when compacting code heap

14 years agoMerge branch 'ebnf' of git://double.co.nz/git/factor
Slava Pestov [Mon, 19 Oct 2009 06:43:45 +0000 (01:43 -0500)]
Merge branch 'ebnf' of git://double.co.nz/git/factor

14 years agopeg.ebnf doc fixes to appease help.lint
Chris Double [Mon, 19 Oct 2009 05:26:19 +0000 (18:26 +1300)]
peg.ebnf doc fixes to appease help.lint

14 years agovm: cleanup
Slava Pestov [Mon, 19 Oct 2009 05:16:32 +0000 (00:16 -0500)]
vm: cleanup

14 years agoTweak what EBNF words are private
Chris Double [Mon, 19 Oct 2009 05:14:13 +0000 (18:14 +1300)]
Tweak what EBNF words are private

14 years agoBasic peg.ebnf docs
Chris Double [Mon, 19 Oct 2009 03:47:50 +0000 (16:47 +1300)]
Basic peg.ebnf docs

14 years agovm: working on new compaction implementation
Slava Pestov [Mon, 19 Oct 2009 05:07:43 +0000 (00:07 -0500)]
vm: working on new compaction implementation

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 19 Oct 2009 02:25:27 +0000 (21:25 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomath.vectors.conversion docs
Joe Groff [Mon, 19 Oct 2009 02:25:09 +0000 (21:25 -0500)]
math.vectors.conversion docs

14 years agovm: fix conflict in image.cpp
Slava Pestov [Mon, 19 Oct 2009 01:54:13 +0000 (20:54 -0500)]
vm: fix conflict in image.cpp

14 years agovm: rename myvm and parent_vm instance variables to parent, clean up casts in primiti...
Slava Pestov [Mon, 19 Oct 2009 01:31:59 +0000 (20:31 -0500)]
vm: rename myvm and parent_vm instance variables to parent, clean up casts in primitive definitions

14 years agovm: rename F to false_object, and rename T to true_object
Slava Pestov [Mon, 19 Oct 2009 01:26:21 +0000 (20:26 -0500)]
vm: rename F to false_object, and rename T to true_object

14 years agovm: fix GC safety issue in non-optimizing compiler
Slava Pestov [Sun, 18 Oct 2009 23:57:41 +0000 (18:57 -0500)]
vm: fix GC safety issue in non-optimizing compiler

14 years agogpu.render: factor out and make public a "bind-uniforms" word for binding a uniform...
Joe Groff [Sun, 18 Oct 2009 23:31:38 +0000 (18:31 -0500)]
gpu.render: factor out and make public a "bind-uniforms" word for binding a uniform-tuple to a program-instance independent of a render-set

14 years agoupdate vshuffle docs
Joe Groff [Sun, 18 Oct 2009 21:34:44 +0000 (16:34 -0500)]
update vshuffle docs

14 years agotools.deploy.test: cheat on windows until we have class stripping
Slava Pestov [Sun, 18 Oct 2009 20:24:09 +0000 (15:24 -0500)]
tools.deploy.test: cheat on windows until we have class stripping

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 18 Oct 2009 18:45:09 +0000 (13:45 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agogpu.shaders: carry over instances from old shader/program objects when GLSL-SHADER...
Joe Groff [Sun, 18 Oct 2009 18:44:24 +0000 (13:44 -0500)]
gpu.shaders: carry over instances from old shader/program objects when GLSL-SHADER: or GLSL-PROGRAM: forms get reparsed

14 years agoSolution to Project Euler problem 81
Guillaume Nargeot [Sun, 18 Oct 2009 14:45:33 +0000 (23:45 +0900)]
Solution to Project Euler problem 81

14 years agocpu.x86.32: fix callbacks on platforms where stack is not aligned
Slava Pestov [Sun, 18 Oct 2009 02:20:08 +0000 (21:20 -0500)]
cpu.x86.32: fix callbacks on platforms where stack is not aligned

14 years agoscuttle bogus math.vectors.simd test
Joe Groff [Sat, 17 Oct 2009 23:47:31 +0000 (18:47 -0500)]
scuttle bogus math.vectors.simd test

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 17 Oct 2009 21:55:14 +0000 (16:55 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix sporadic "fall-through in cond" failure in float math.vectors.simd tests
Joe Groff [Sat, 17 Oct 2009 21:54:51 +0000 (16:54 -0500)]
fix sporadic "fall-through in cond" failure in float math.vectors.simd tests

14 years agoterrain: fix deploy config
Slava Pestov [Sat, 17 Oct 2009 21:43:47 +0000 (16:43 -0500)]
terrain: fix deploy config

14 years agomoved "typed" to basis
Joe Groff [Sat, 17 Oct 2009 16:21:43 +0000 (11:21 -0500)]
moved "typed" to basis

14 years agofix type propagation information put on non-SIMD specializations of vany?, vall?...
Joe Groff [Sat, 17 Oct 2009 16:21:08 +0000 (11:21 -0500)]
fix type propagation information put on non-SIMD specializations of vany?, vall?, vnone?

14 years agomake hlshift/hrshift simd tests endian agnostic
Joe Groff [Sat, 17 Oct 2009 05:34:35 +0000 (00:34 -0500)]
make hlshift/hrshift simd tests endian agnostic

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 17 Oct 2009 05:14:14 +0000 (00:14 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse FRSP to convert double to single on PPC
Joe Groff [Sat, 17 Oct 2009 05:13:50 +0000 (00:13 -0500)]
use FRSP to convert double to single on PPC

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sat, 17 Oct 2009 05:11:22 +0000 (00:11 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoio.backend/pathnames: fix help lint
Slava Pestov [Sat, 17 Oct 2009 05:09:57 +0000 (00:09 -0500)]
io.backend/pathnames: fix help lint