]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git@github.com:prunedtree/factor
Marc Fauconneau [Sun, 30 Aug 2009 08:24:25 +0000 (17:24 +0900)]
Merge branch 'master' of git@github.com:prunedtree/factor

Conflicts:
basis/math/matrices/matrices.factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 27 Aug 2009 05:06:30 +0000 (00:06 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler: new inline intrinsic for <displaced-alien> where the inputs have known...
Slava Pestov [Thu, 27 Aug 2009 05:06:19 +0000 (00:06 -0500)]
compiler: new inline intrinsic for <displaced-alien> where the inputs have known types; value numbering now eliminates unnecessary allocation of displaced aliens if the result is immediately unboxed again

14 years agothrow a friendlier error when attempting to create a struct without slots
Joe Groff [Thu, 27 Aug 2009 03:37:59 +0000 (22:37 -0500)]
throw a friendlier error when attempting to create a struct without slots

14 years agorequire struct-arrays after alien.structs is loaded
Joe Groff [Thu, 27 Aug 2009 03:24:55 +0000 (22:24 -0500)]
require struct-arrays after alien.structs is loaded

14 years agotest that array slots in structs optimize down
Joe Groff [Thu, 27 Aug 2009 02:50:12 +0000 (21:50 -0500)]
test that array slots in structs optimize down

14 years agoinline sequence methods on direct-arrays
Joe Groff [Thu, 27 Aug 2009 02:49:45 +0000 (21:49 -0500)]
inline sequence methods on direct-arrays

14 years agotest that struct-arrays and struct construction optimize down
Joe Groff [Thu, 27 Aug 2009 02:38:00 +0000 (21:38 -0500)]
test that struct-arrays and struct construction optimize down

14 years agomake struct-prototype foldable so that <struct> compiles efficiently
Joe Groff [Thu, 27 Aug 2009 02:27:12 +0000 (21:27 -0500)]
make struct-prototype foldable so that <struct> compiles efficiently

14 years agoadd a partial eval for memory>struct so that it compiles efficiently when the struct...
Joe Groff [Thu, 27 Aug 2009 02:18:19 +0000 (21:18 -0500)]
add a partial eval for memory>struct so that it compiles efficiently when the struct class is known

14 years agomore inlines on struct-arrays to make the optimizing go down smoother
Joe Groff [Thu, 27 Aug 2009 00:56:22 +0000 (19:56 -0500)]
more inlines on struct-arrays to make the optimizing go down smoother

14 years agofix struct-array of struct class; inline memory>struct so the compiler can optimize...
Joe Groff [Thu, 27 Aug 2009 00:20:20 +0000 (19:20 -0500)]
fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better

14 years agotrying to memory>struct a non-struct class is feptastic
Joe Groff [Thu, 27 Aug 2009 00:09:38 +0000 (19:09 -0500)]
trying to memory>struct a non-struct class is feptastic

14 years agoprettyprint struct-arrays
Joe Groff [Wed, 26 Aug 2009 23:22:51 +0000 (18:22 -0500)]
prettyprint struct-arrays

14 years agoliteral syntax for struct-arrays
Joe Groff [Wed, 26 Aug 2009 23:09:02 +0000 (18:09 -0500)]
literal syntax for struct-arrays

14 years agobitwise equal? for struct objects
Joe Groff [Wed, 26 Aug 2009 23:05:38 +0000 (18:05 -0500)]
bitwise equal? for struct objects

14 years agouse struct class in struct-arrays test
Joe Groff [Wed, 26 Aug 2009 22:38:33 +0000 (17:38 -0500)]
use struct class in struct-arrays test

14 years agobox elements of struct-arrays when a struct class is used as the element type
Joe Groff [Wed, 26 Aug 2009 22:19:30 +0000 (17:19 -0500)]
box elements of struct-arrays when a struct class is used as the element type

14 years agoon OS X, rather than define _XOPEN_SOURCE, use the non-deprecated sys/ucontext.h...
Joe Groff [Wed, 26 Aug 2009 21:44:25 +0000 (16:44 -0500)]
on OS X, rather than define _XOPEN_SOURCE, use the non-deprecated sys/ucontext.h header instead

14 years agoadd -D_XOPEN_SOURCE flag to suppress ucontext deprecation errors on snow leopard...
Joe Groff [Wed, 26 Aug 2009 21:29:55 +0000 (16:29 -0500)]
add -D_XOPEN_SOURCE flag to suppress ucontext deprecation errors on snow leopard. add -m32 flag when compiling 32-bit because snow leopard gcc defaults to x86_64

14 years agomove classes.struct from extra to basis
Joe Groff [Wed, 26 Aug 2009 20:55:01 +0000 (15:55 -0500)]
move classes.struct from extra to basis

14 years agoupdate gpu.demos.bunny for alien.arrays boxing change
Joe Groff [Wed, 26 Aug 2009 20:05:07 +0000 (15:05 -0500)]
update gpu.demos.bunny for alien.arrays boxing change

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 26 Aug 2009 19:59:18 +0000 (14:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocore-text: always create at least a 1x1 bitmap context. snow leopard refuses to creat...
Joe Groff [Wed, 26 Aug 2009 19:58:15 +0000 (14:58 -0500)]
core-text: always create at least a 1x1 bitmap context. snow leopard refuses to create 0x0 contexts

14 years agoremove debug, fix bootstrap
Doug Coleman [Wed, 26 Aug 2009 19:45:02 +0000 (14:45 -0500)]
remove debug, fix bootstrap

14 years agoadd find-images word
Doug Coleman [Wed, 26 Aug 2009 19:28:06 +0000 (14:28 -0500)]
add find-images word

14 years agosupport loading images from streams, add load-http-image
Doug Coleman [Wed, 26 Aug 2009 19:27:01 +0000 (14:27 -0500)]
support loading images from streams, add load-http-image

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 26 Aug 2009 19:07:33 +0000 (14:07 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosupport seeking on limited streams
Doug Coleman [Wed, 26 Aug 2009 18:48:41 +0000 (13:48 -0500)]
support seeking on limited streams

14 years agostore struct class in struct-array
Joe Groff [Wed, 26 Aug 2009 18:13:19 +0000 (13:13 -0500)]
store struct class in struct-array

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 26 Aug 2009 16:02:58 +0000 (11:02 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse structs
Doug Coleman [Wed, 26 Aug 2009 16:01:39 +0000 (11:01 -0500)]
use structs

14 years agowindows.ole32 guid functions don't need to box the byte-arrays themselves anymore
Joe Groff [Wed, 26 Aug 2009 14:28:10 +0000 (09:28 -0500)]
windows.ole32 guid functions don't need to box the byte-arrays themselves anymore

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 26 Aug 2009 14:15:33 +0000 (09:15 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

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

14 years agoallow alien.strings:alien>string to take an object with underlying>> slot
Joe Groff [Wed, 26 Aug 2009 14:13:30 +0000 (09:13 -0500)]
allow alien.strings:alien>string to take an object with underlying>> slot

14 years agocompiler.cfg.linear-scan: fix unit tests for new fake-representations
Slava Pestov [Wed, 26 Aug 2009 13:58:00 +0000 (08:58 -0500)]
compiler.cfg.linear-scan: fix unit tests for new fake-representations

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 26 Aug 2009 12:17:44 +0000 (07:17 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler: only run float test in low-level-ir if float intrinsics enabled; fixes...
Slava Pestov [Wed, 26 Aug 2009 11:58:47 +0000 (06:58 -0500)]
compiler: only run float test in low-level-ir if float intrinsics enabled; fixes SIGILL on non-sse2 x86 machines

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 26 Aug 2009 04:50:38 +0000 (23:50 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix directory-entries so we can bootstrap again
Joe Groff [Wed, 26 Aug 2009 04:50:27 +0000 (23:50 -0500)]
fix directory-entries so we can bootstrap again

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 26 Aug 2009 04:44:29 +0000 (23:44 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.debugger: fix fake-representations so that low-level-ir tests can pass...
Slava Pestov [Wed, 26 Aug 2009 04:44:01 +0000 (23:44 -0500)]
compiler.cfg.debugger: fix fake-representations so that low-level-ir tests can pass on x86

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 26 Aug 2009 04:22:43 +0000 (23:22 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.x86: use SQRTSD instruction for math.libm:fsqrt word
Slava Pestov [Wed, 26 Aug 2009 04:22:15 +0000 (23:22 -0500)]
cpu.x86: use SQRTSD instruction for math.libm:fsqrt word

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 26 Aug 2009 03:37:28 +0000 (22:37 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc.assembler: LOAD32 assembler macro was busted
Slava Pestov [Wed, 26 Aug 2009 03:37:10 +0000 (22:37 -0500)]
cpu.ppc.assembler: LOAD32 assembler macro was busted

14 years agotest array slots in STRUCTs
Joe Groff [Wed, 26 Aug 2009 02:54:19 +0000 (21:54 -0500)]
test array slots in STRUCTs

14 years agobox array c-types into direct-arrays
Joe Groff [Wed, 26 Aug 2009 02:36:25 +0000 (21:36 -0500)]
box array c-types into direct-arrays

14 years agono really, support <c-type-array> of structs using struct-arrays
Joe Groff [Wed, 26 Aug 2009 01:57:23 +0000 (20:57 -0500)]
no really, support <c-type-array> of structs using struct-arrays

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Wed, 26 Aug 2009 01:43:51 +0000 (20:43 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosupport <c-type-array> of structs using struct-arrays
Joe Groff [Wed, 26 Aug 2009 01:43:48 +0000 (20:43 -0500)]
support <c-type-array> of structs using struct-arrays

14 years agosupport <c-type-array> on complex ffi types
Joe Groff [Wed, 26 Aug 2009 00:58:04 +0000 (19:58 -0500)]
support <c-type-array> on complex ffi types

14 years agobasis/compiler/tests/low-level-ir: add ##copy double-float-rep test
sheeple [Wed, 26 Aug 2009 00:41:17 +0000 (19:41 -0500)]
basis/compiler/tests/low-level-ir: add ##copy double-float-rep test

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Wed, 26 Aug 2009 00:39:24 +0000 (19:39 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agobasis/cpu: eliminate some usages of rot
Slava Pestov [Wed, 26 Aug 2009 00:38:48 +0000 (19:38 -0500)]
basis/cpu: eliminate some usages of rot

14 years agobenchmark.raytracer: eliminate -rot usage
Slava Pestov [Wed, 26 Aug 2009 00:33:48 +0000 (19:33 -0500)]
benchmark.raytracer: eliminate -rot usage

14 years agocpu.ppc.assembler: fix FMR and FMR. opcodes
Slava Pestov [Wed, 26 Aug 2009 00:33:35 +0000 (19:33 -0500)]
cpu.ppc.assembler: fix FMR and FMR. opcodes

14 years agobyte-length method for classes.struct STRUCTs
Joe Groff [Wed, 26 Aug 2009 00:04:29 +0000 (19:04 -0500)]
byte-length method for classes.struct STRUCTs

14 years agospecialized-arrays.direct: define byte-length on direct arrays
Joe Groff [Tue, 25 Aug 2009 23:54:15 +0000 (18:54 -0500)]
specialized-arrays.direct: define byte-length on direct arrays

14 years agodocs for require-c-type-arrays, <c-type-array>, <c-type-direct-array>
Joe Groff [Tue, 25 Aug 2009 23:51:56 +0000 (18:51 -0500)]
docs for require-c-type-arrays, <c-type-array>, <c-type-direct-array>

14 years agothrow a better error if <c-type*-array> is called when specialized array vocab isn...
Joe Groff [Tue, 25 Aug 2009 23:24:49 +0000 (18:24 -0500)]
throw a better error if <c-type*-array> is called when specialized array vocab isn't loaded. fix <c-type-direct-array>

14 years agoassociate specialized-arrays vocabs with c-types; add words for requiring vocabs...
Joe Groff [Tue, 25 Aug 2009 22:56:01 +0000 (17:56 -0500)]
associate specialized-arrays vocabs with c-types; add words for requiring vocabs and constructing arrays by C type

14 years agoadd missing use to classes.struct tests
Joe Groff [Tue, 25 Aug 2009 22:19:26 +0000 (17:19 -0500)]
add missing use to classes.struct tests

14 years agoupdate new structs again
Doug Coleman [Tue, 25 Aug 2009 21:31:58 +0000 (16:31 -0500)]
update new structs again

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 25 Aug 2009 21:30:35 +0000 (16:30 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd an X-sequence mixin class for each specialized array type to span X-array, X...
Joe Groff [Tue, 25 Aug 2009 20:58:18 +0000 (15:58 -0500)]
add an X-sequence mixin class for each specialized array type to span X-array, X-vector, and direct-X-array

14 years agomake classes.struct work with string pointer slots
Joe Groff [Tue, 25 Aug 2009 18:18:20 +0000 (13:18 -0500)]
make classes.struct work with string pointer slots

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 25 Aug 2009 18:08:50 +0000 (13:08 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoclasses.c-types is kinda half-baked. get rid of it, and make classes.struct parse...
Joe Groff [Tue, 25 Aug 2009 18:03:43 +0000 (13:03 -0500)]
classes.c-types is kinda half-baked. get rid of it, and make classes.struct parse c types directly

14 years agoupdate compiler.tests.alien to joe's latest changes
Doug Coleman [Tue, 25 Aug 2009 17:00:06 +0000 (12:00 -0500)]
update compiler.tests.alien to joe's latest changes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 25 Aug 2009 16:51:50 +0000 (11:51 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Tue, 25 Aug 2009 16:40:26 +0000 (11:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix classes.struct structs when used in FFI, add a test
Joe Groff [Tue, 25 Aug 2009 16:40:05 +0000 (11:40 -0500)]
fix classes.struct structs when used in FFI, add a test

14 years agoadd aliases to classes.c-types to look more like FFI types
Joe Groff [Tue, 25 Aug 2009 16:39:44 +0000 (11:39 -0500)]
add aliases to classes.c-types to look more like FFI types

14 years agouse new structs wherever possible in compiler tests
Doug Coleman [Tue, 25 Aug 2009 15:59:33 +0000 (11:59 -0400)]
use new structs wherever possible in compiler tests

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 25 Aug 2009 13:33:42 +0000 (09:33 -0400)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoalien.marshall: fix unit tests
Slava Pestov [Tue, 25 Aug 2009 10:10:41 +0000 (05:10 -0500)]
alien.marshall: fix unit tests

14 years agoalien.marshall.syntax: don't clobber bool type in unit tests
Slava Pestov [Tue, 25 Aug 2009 10:06:16 +0000 (05:06 -0500)]
alien.marshall.syntax: don't clobber bool type in unit tests

14 years agowindows.com.wrapper: crash fix
Slava Pestov [Tue, 25 Aug 2009 10:02:50 +0000 (05:02 -0500)]
windows.com.wrapper: crash fix

14 years agohelp.vocabs: 'authors' and 'tags' weren't recursing like they should've been
Slava Pestov [Tue, 25 Aug 2009 02:56:14 +0000 (21:56 -0500)]
help.vocabs: 'authors' and 'tags' weren't recursing like they should've been

14 years agoImprove destructors docs, fix bug where debug-leaks? wasn't being switched off
Slava Pestov [Tue, 25 Aug 2009 02:44:48 +0000 (21:44 -0500)]
Improve destructors docs, fix bug where debug-leaks? wasn't being switched off

14 years agoio.monitors: fixes for disposable protocol
Slava Pestov [Tue, 25 Aug 2009 01:55:24 +0000 (20:55 -0500)]
io.monitors: fixes for disposable protocol

14 years agoalien.destructors: don't use disposable protocol, since it is common practice to...
Slava Pestov [Tue, 25 Aug 2009 01:45:46 +0000 (20:45 -0500)]
alien.destructors: don't use disposable protocol, since it is common practice to 'leak' alien destructors (|Foo idiom)

14 years agoui.pixel-formats: fix screwup
Slava Pestov [Tue, 25 Aug 2009 01:45:19 +0000 (20:45 -0500)]
ui.pixel-formats: fix screwup

14 years agotools.destructors: leaks now tracks leaks globally
Slava Pestov [Tue, 25 Aug 2009 01:45:06 +0000 (20:45 -0500)]
tools.destructors: leaks now tracks leaks globally

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 25 Aug 2009 01:34:15 +0000 (20:34 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMove a few more things over to new disposable protocol
Slava Pestov [Tue, 25 Aug 2009 01:33:27 +0000 (20:33 -0500)]
Move a few more things over to new disposable protocol

14 years agodestructors: already-unregistered error had the wrong content, also don't throw an...
Slava Pestov [Tue, 25 Aug 2009 01:27:22 +0000 (20:27 -0500)]
destructors: already-unregistered error had the wrong content, also don't throw an error when disposing a disposable twice

14 years agoui.tools.operations: disposables now have a 'dispose' operation, and disposables...
Slava Pestov [Tue, 25 Aug 2009 01:22:00 +0000 (20:22 -0500)]
ui.tools.operations: disposables now have a 'dispose' operation, and disposables created within a 'leaks' now have an operation which shows the continuation that created them

14 years agotools.destructors: destructors. and leaks words now output a 'show instances' link...
Slava Pestov [Tue, 25 Aug 2009 01:21:38 +0000 (20:21 -0500)]
tools.destructors: destructors. and leaks words now output a 'show instances' link which lists all relevant disposables

14 years agolibc: use central disposables mechanism to track mallocs
Slava Pestov [Tue, 25 Aug 2009 01:21:03 +0000 (20:21 -0500)]
libc: use central disposables mechanism to track mallocs

14 years agoio.streams.duplex: fix test
Slava Pestov [Tue, 25 Aug 2009 01:19:55 +0000 (20:19 -0500)]
io.streams.duplex: fix test

14 years agomake memory.piles load without auto-use
Joe Groff [Tue, 25 Aug 2009 00:43:19 +0000 (19:43 -0500)]
make memory.piles load without auto-use

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 24 Aug 2009 23:04:44 +0000 (18:04 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 24 Aug 2009 13:58:48 +0000 (09:58 -0400)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoDisposables are now registered in a global disposables set. To take advantage of...
Slava Pestov [Mon, 24 Aug 2009 07:26:13 +0000 (02:26 -0500)]
Disposables are now registered in a global disposables set. To take advantage of this, subclass disposable instead of providing a disposed slot and call new-disposable instead of new. tools.disposables defines two words, 'disposable.' and 'leaks', to help track down resource lifetime problems

14 years agotools.deploy.shaker: more compact next-method shaking
Slava Pestov [Mon, 24 Aug 2009 00:18:12 +0000 (19:18 -0500)]
tools.deploy.shaker: more compact next-method shaking

14 years agoUse utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii...
Slava Pestov [Mon, 24 Aug 2009 00:07:21 +0000 (19:07 -0500)]
Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps

14 years agotools.deploy.shaker: fix regression; strip-compiler-classes wasn't working
Slava Pestov [Sun, 23 Aug 2009 22:54:37 +0000 (17:54 -0500)]
tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working