]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' into new_gc
Slava Pestov [Fri, 23 Oct 2009 08:56:46 +0000 (03:56 -0500)]
Merge branch 'master' into new_gc

14 years agoMerge branch 'client-bind' of git://github.com/x6j8x/factor
Slava Pestov [Fri, 23 Oct 2009 08:32:38 +0000 (03:32 -0500)]
Merge branch 'client-bind' of git://github.com/x6j8x/factor

14 years agohelp: don't consider children of $markup-examples for cross-referencing
Slava Pestov [Fri, 23 Oct 2009 08:27:45 +0000 (03:27 -0500)]
help: don't consider children of $markup-examples for cross-referencing

14 years agocompiler: fix stack effect inference bug discovered by x6j8x; it was possible to...
Slava Pestov [Fri, 23 Oct 2009 08:27:25 +0000 (03:27 -0500)]
compiler: fix stack effect inference bug discovered by x6j8x; it was possible to define a word which did not compile but could be called anyway

14 years agogrouping: clump on empty sequence was trying to make a sequence of length -1
Slava Pestov [Fri, 23 Oct 2009 07:58:15 +0000 (02:58 -0500)]
grouping: clump on empty sequence was trying to make a sequence of length -1

14 years agoadded with-local-address to bind the local address of a socket to a specific IP or...
Sascha Matzke [Sun, 27 Sep 2009 15:31:02 +0000 (17:31 +0200)]
added with-local-address to bind the local address of a socket to a specific IP or IP/port combination (sometimes required to get through firewalls)

14 years agovm: rename userenv to special_objects
Slava Pestov [Fri, 23 Oct 2009 05:33:53 +0000 (00:33 -0500)]
vm: rename userenv to special_objects

14 years agogpu.demos.bunny: tokenize model file as it's read to avoid an extra splitting-and...
Joe Groff [Fri, 23 Oct 2009 05:08:14 +0000 (00:08 -0500)]
gpu.demos.bunny: tokenize model file as it's read to avoid an extra splitting-and-filtering pass

14 years agoswap around io combinators to avoid a bunch of redundant "input-stream get"s in each...
Joe Groff [Fri, 23 Oct 2009 05:07:19 +0000 (00:07 -0500)]
swap around io combinators to avoid a bunch of redundant "input-stream get"s in each-line, each-block, contents, etc.

14 years agovm/mark_bits.hpp: fix incorrect constructor argument order
Slava Pestov [Fri, 23 Oct 2009 04:41:02 +0000 (23:41 -0500)]
vm/mark_bits.hpp: fix incorrect constructor argument order

14 years agotighten some screws in math.parser
Joe Groff [Fri, 23 Oct 2009 01:28:00 +0000 (20:28 -0500)]
tighten some screws in math.parser

14 years agoremove a redundant head from parse-bunny-model
Joe Groff [Fri, 23 Oct 2009 01:26:43 +0000 (20:26 -0500)]
remove a redundant head from parse-bunny-model

14 years agospeed up dec>float a little
Joe Groff [Thu, 22 Oct 2009 23:55:32 +0000 (18:55 -0500)]
speed up dec>float a little

14 years agomake new-resizable on growable sequences return a growable of the same type
Joe Groff [Thu, 22 Oct 2009 23:55:00 +0000 (18:55 -0500)]
make new-resizable on growable sequences return a growable of the same type

14 years agoadd filter-as to sequences
Joe Groff [Thu, 22 Oct 2009 22:28:01 +0000 (17:28 -0500)]
add filter-as to sequences

14 years agoinline the trivial words in math.parser
Joe Groff [Thu, 22 Oct 2009 22:26:22 +0000 (17:26 -0500)]
inline the trivial words in math.parser

14 years agoimprove gpu.demos.bunny mesh generation performance
Joe Groff [Thu, 22 Oct 2009 21:53:40 +0000 (16:53 -0500)]
improve gpu.demos.bunny mesh generation performance

14 years agomath.matrices: vectorizable definition of cross
Joe Groff [Thu, 22 Oct 2009 21:26:25 +0000 (16:26 -0500)]
math.matrices: vectorizable definition of cross

14 years agoadd nproduce and nproduce-as combinators to sequences.generalizations
Joe Groff [Thu, 22 Oct 2009 20:32:34 +0000 (15:32 -0500)]
add nproduce and nproduce-as combinators to sequences.generalizations

14 years agofix sequences bootstrap
Joe Groff [Thu, 22 Oct 2009 19:53:16 +0000 (14:53 -0500)]
fix sequences bootstrap

14 years agochange produce-as so it uses an intermediate vector of a type appropriate to the...
Joe Groff [Thu, 22 Oct 2009 19:35:27 +0000 (14:35 -0500)]
change produce-as so it uses an intermediate vector of a type appropriate to the destination type

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

14 years agobreak off a "sequences.generalizations" vocab for neach, nmap, and mnmap
Joe Groff [Thu, 22 Oct 2009 18:31:03 +0000 (13:31 -0500)]
break off a "sequences.generalizations" vocab for neach, nmap, and mnmap

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 22 Oct 2009 18:20:17 +0000 (13:20 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

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 agofix more docs typos
Doug Coleman [Wed, 21 Oct 2009 23:11:24 +0000 (18:11 -0500)]
fix more docs typos

14 years agofix a bunch of typos in docs
Doug Coleman [Wed, 21 Oct 2009 22:40:43 +0000 (17:40 -0500)]
fix a bunch of typos in docs

14 years agodon't natural-sort the stack effects or $values in help-lint -- catches a lot more...
Doug Coleman [Wed, 21 Oct 2009 22:39:53 +0000 (17:39 -0500)]
don't natural-sort the stack effects or $values in help-lint -- catches a lot more documentation errors

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