]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Wed, 26 Aug 2009 14:40:49 +0000 (09:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

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
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 agomore structs
Doug Coleman [Tue, 25 Aug 2009 23:19:34 +0000 (18:19 -0500)]
more structs

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 agouse structs in process launcher
Doug Coleman [Tue, 25 Aug 2009 22:46:07 +0000 (17:46 -0500)]
use structs in process launcher

14 years agoless aggressive open-file for file-times, use FILETIME struct now
Doug Coleman [Tue, 25 Aug 2009 22:34:06 +0000 (17:34 -0500)]
less aggressive open-file for file-times, use FILETIME struct now

14 years agouse structs in a few places in windows backend
Doug Coleman [Tue, 25 Aug 2009 22:23:23 +0000 (17:23 -0500)]
use structs in a few places in windows backend

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 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 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 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 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 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

14 years agohandle RGBA pngs (when inflate finally works)
Joe Groff [Sun, 23 Aug 2009 14:51:12 +0000 (09:51 -0500)]
handle RGBA pngs (when inflate finally works)

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

14 years agomemory.piles: <pile-c-object> and <pile-c-array> convenience words
Joe Groff [Sun, 23 Aug 2009 02:03:39 +0000 (21:03 -0500)]
memory.piles: <pile-c-object> and <pile-c-array> convenience words

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
sheeple [Sun, 23 Aug 2009 01:24:01 +0000 (20:24 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc: integer>fixnum scratch area overlapped with the rest of stack frame, very bad
sheeple [Sun, 23 Aug 2009 01:23:28 +0000 (20:23 -0500)]
cpu.ppc: integer>fixnum scratch area overlapped with the rest of stack frame, very bad

14 years agogpu.shaders docs corrections
Joe Groff [Sun, 23 Aug 2009 01:15:13 +0000 (20:15 -0500)]
gpu.shaders docs corrections

14 years agomath.intervals: comment out questionable unit tests
Slava Pestov [Sun, 23 Aug 2009 00:39:32 +0000 (19:39 -0500)]
math.intervals: comment out questionable unit tests

14 years agotools.deploy: faster default method stripping
Slava Pestov [Sun, 23 Aug 2009 00:26:56 +0000 (19:26 -0500)]
tools.deploy: faster default method stripping

14 years agoiokit: don't depend on debugger, reduces terrain demo size by a bit
Slava Pestov [Sun, 23 Aug 2009 00:02:40 +0000 (19:02 -0500)]
iokit: don't depend on debugger, reduces terrain demo size by a bit

14 years agobootstrap.image: smarter object folding; 500kb boot image size reduction on 64-bit
Slava Pestov [Sat, 22 Aug 2009 22:56:58 +0000 (17:56 -0500)]
bootstrap.image: smarter object folding; 500kb boot image size reduction on 64-bit

14 years agoAdd docs for break and B words
Slava Pestov [Sat, 22 Aug 2009 22:45:18 +0000 (17:45 -0500)]
Add docs for break and B words

14 years agoAdd some unit tests
Slava Pestov [Sat, 22 Aug 2009 22:15:10 +0000 (17:15 -0500)]
Add some unit tests

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 22 Aug 2009 18:42:52 +0000 (13:42 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocombinators.smart: "keep-inputs" combinator
Joe Groff [Sat, 22 Aug 2009 02:17:15 +0000 (21:17 -0500)]
combinators.smart: "keep-inputs" combinator

14 years agonext-fastcall-param word was not being called; on x86 its equivalent to inc but on...
Slava Pestov [Sat, 22 Aug 2009 01:15:19 +0000 (20:15 -0500)]
next-fastcall-param word was not being called; on x86 its equivalent to inc but on ppc there is more logic, this fixes FFI on PowerPC

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 21 Aug 2009 23:48:44 +0000 (18:48 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc: work in progress
Slava Pestov [Fri, 21 Aug 2009 23:48:34 +0000 (18:48 -0500)]
cpu.ppc: work in progress

14 years ago$deprecated help markup
Joe Groff [Thu, 20 Aug 2009 23:36:55 +0000 (18:36 -0500)]
$deprecated help markup

14 years agoclarify 'deprecated' docs
Joe Groff [Thu, 20 Aug 2009 23:36:34 +0000 (18:36 -0500)]
clarify 'deprecated' docs

14 years agocompiler.cfg.dataflow-analysis: when intersecting sets, treat uninitialized sets...
Slava Pestov [Thu, 20 Aug 2009 23:15:41 +0000 (18:15 -0500)]
compiler.cfg.dataflow-analysis: when intersecting sets, treat uninitialized sets as universal rather than empty; reduces number of stack instructions generated by 1%

14 years agocompiler.tree.modular-arithmetic: fix regression; set-alien-*-1 was not always open...
Slava Pestov [Thu, 20 Aug 2009 22:56:49 +0000 (17:56 -0500)]
compiler.tree.modular-arithmetic: fix regression; set-alien-*-1 was not always open-coded

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 20 Aug 2009 21:21:58 +0000 (16:21 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agolink tools.deprecation docs into handbook and error-list docs
Joe Groff [Thu, 20 Aug 2009 21:18:47 +0000 (16:18 -0500)]
link tools.deprecation docs into handbook and error-list docs

14 years agoload tools.deprecation from bootstrap.tools
Joe Groff [Thu, 20 Aug 2009 21:18:28 +0000 (16:18 -0500)]
load tools.deprecation from bootstrap.tools

14 years agoinstall deprecation definition-observer as an init-hook
Joe Groff [Thu, 20 Aug 2009 21:18:06 +0000 (16:18 -0500)]
install deprecation definition-observer as an init-hook

14 years agomove deprecation to tools.deprecation; load with bootstrap.tools
Joe Groff [Thu, 20 Aug 2009 21:17:36 +0000 (16:17 -0500)]
move deprecation to tools.deprecation; load with bootstrap.tools

14 years agodeprecation docs
Joe Groff [Thu, 20 Aug 2009 20:35:11 +0000 (15:35 -0500)]
deprecation docs

14 years ago"deprecated" declaration, "deprecation" vocab to track deprecations in the error log
Joe Groff [Thu, 20 Aug 2009 20:10:42 +0000 (15:10 -0500)]
"deprecated" declaration, "deprecation" vocab to track deprecations in the error log

14 years agoconvert alien.struct fields to classes.struct fields; add tests
Joe Groff [Thu, 20 Aug 2009 13:44:19 +0000 (08:44 -0500)]
convert alien.struct fields to classes.struct fields; add tests

14 years agomath: move float methods to math.floats
Slava Pestov [Thu, 20 Aug 2009 08:55:19 +0000 (03:55 -0500)]
math: move float methods to math.floats

14 years agobootstrap.compiler: add -debug-compiler switch which loads compiler but doesn't compi...
Slava Pestov [Thu, 20 Aug 2009 08:48:03 +0000 (03:48 -0500)]
bootstrap.compiler: add -debug-compiler switch which loads compiler but doesn't compile any words

14 years agocompiler.tree.modular-arithmetic: eliminate >bignum calls where possible, convert...
Slava Pestov [Thu, 20 Aug 2009 08:47:45 +0000 (03:47 -0500)]
compiler.tree.modular-arithmetic: eliminate >bignum calls where possible, convert fixnum-shift to fixnum-shift-fast if shift count is positive, don't run if there are no modular values

14 years agocompiler.tree.propagation: bitand custom inlining was wrong if the second input was...
Slava Pestov [Thu, 20 Aug 2009 08:47:07 +0000 (03:47 -0500)]
compiler.tree.propagation: bitand custom inlining was wrong if the second input was a bignum

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 20 Aug 2009 03:50:21 +0000 (22:50 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomake a corresponding traditional C-STRUCT: for STRUCT: classes
Joe Groff [Thu, 20 Aug 2009 03:50:02 +0000 (22:50 -0500)]
make a corresponding traditional C-STRUCT: for STRUCT: classes

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 20 Aug 2009 03:00:31 +0000 (22:00 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor