]> gitweb.factorcode.org Git - factor.git/log
factor.git
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

14 years agorevert replicate change again...the world is not ready
Doug Coleman [Sun, 23 Aug 2009 05:00:46 +0000 (01:00 -0400)]
revert replicate change again...the world is not ready

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sun, 23 Aug 2009 01:27:26 +0000 (21:27 -0400)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sun, 23 Aug 2009 01:24:02 +0000 (21:24 -0400)]
Merge branch 'master' of git://factorcode.org/git/factor

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 agouse iota in replicate
Doug Coleman [Sun, 23 Aug 2009 01:00:18 +0000 (21:00 -0400)]
use iota in replicate

14 years agoRevert "use iota in replicate"
Doug Coleman [Sun, 23 Aug 2009 00:59:56 +0000 (20:59 -0400)]
Revert "use iota in replicate"

This reverts commit 88d1f0d78a55a2e86070509a33796ebf4afda9b8.

14 years agouse iota in replicate
Doug Coleman [Sun, 23 Aug 2009 00:59:36 +0000 (20:59 -0400)]
use iota in replicate

14 years agotemporary fix for core/effects
Doug Coleman [Sun, 23 Aug 2009 00:56:28 +0000 (20:56 -0400)]
temporary fix for core/effects

14 years agouse iota in a couple of places
Doug Coleman [Sun, 23 Aug 2009 00:56:16 +0000 (20:56 -0400)]
use iota in a couple of places

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

14 years agocompiler.cfg.stacks.local: more accurate local replace set computation; optimizes...
Slava Pestov [Thu, 20 Aug 2009 03:00:21 +0000 (22:00 -0500)]
compiler.cfg.stacks.local: more accurate local replace set computation; optimizes out 'swap swap'

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

14 years agomake slot initial-values check the class for an "initial-value" word prop; set this...
Joe Groff [Thu, 20 Aug 2009 02:28:20 +0000 (21:28 -0500)]
make slot initial-values check the class for an "initial-value" word prop; set this word prop on classes.c-types types

14 years agotest that STRUCT:s and UNION-STRUCT:s see properly
Joe Groff [Thu, 20 Aug 2009 01:32:49 +0000 (20:32 -0500)]
test that STRUCT:s and UNION-STRUCT:s see properly

14 years agofix up struct parsing/printing
Joe Groff [Thu, 20 Aug 2009 01:21:57 +0000 (20:21 -0500)]
fix up struct parsing/printing

14 years agoremove a layer of indirection from classes.c-types
Joe Groff [Wed, 19 Aug 2009 23:54:11 +0000 (18:54 -0500)]
remove a layer of indirection from classes.c-types

14 years agodecouple struct parsing/printing from tuple parsing/printing a bit
Joe Groff [Wed, 19 Aug 2009 23:53:44 +0000 (18:53 -0500)]
decouple struct parsing/printing from tuple parsing/printing a bit

14 years agocompiler: add unit tests for new bugs
Slava Pestov [Wed, 19 Aug 2009 21:56:26 +0000 (16:56 -0500)]
compiler: add unit tests for new bugs

14 years agomath.intervals: help lint fix
Slava Pestov [Wed, 19 Aug 2009 21:08:52 +0000 (16:08 -0500)]
math.intervals: help lint fix

14 years agoFix interval inference of abs, absq when input is a complex number
Slava Pestov [Wed, 19 Aug 2009 21:06:37 +0000 (16:06 -0500)]
Fix interval inference of abs, absq when input is a complex number

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

14 years agouse iota in generalizaions
Doug Coleman [Wed, 19 Aug 2009 14:53:13 +0000 (09:53 -0500)]
use iota in generalizaions

14 years agouse iota
Doug Coleman [Wed, 19 Aug 2009 13:27:28 +0000 (08:27 -0500)]
use iota

14 years agouse iota
Doug Coleman [Wed, 19 Aug 2009 13:21:45 +0000 (08:21 -0500)]
use iota

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

14 years agoclarify docs
Doug Coleman [Wed, 19 Aug 2009 09:41:33 +0000 (04:41 -0500)]
clarify docs

14 years agoadd smart-if to combinators.smart
Doug Coleman [Wed, 19 Aug 2009 09:38:59 +0000 (04:38 -0500)]
add smart-if to combinators.smart

14 years agocompiler.tree.propagation: improved interval inference for absq eliminates a conditio...
Slava Pestov [Wed, 19 Aug 2009 07:33:41 +0000 (02:33 -0500)]
compiler.tree.propagation: improved interval inference for absq eliminates a conditional from math.vectors:distance. Type inference for rational math also a bit sharper now

14 years agomath.intervals: tighter interval arithmetic for intervals with infinities
Slava Pestov [Wed, 19 Aug 2009 07:32:18 +0000 (02:32 -0500)]
math.intervals: tighter interval arithmetic for intervals with infinities

14 years agohints: HINTS: now recompiles subwords too, 15% perf improvement on reverse-complement...
Slava Pestov [Wed, 19 Aug 2009 00:40:54 +0000 (19:40 -0500)]
hints: HINTS: now recompiles subwords too, 15% perf improvement on reverse-complement because encoder-write is compiled with hints now

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 18 Aug 2009 22:20:55 +0000 (17:20 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoclasses, words: fix unit tests for method inlining change
Slava Pestov [Tue, 18 Aug 2009 22:20:17 +0000 (17:20 -0500)]
classes, words: fix unit tests for method inlining change

14 years agoclasses.struct unit tests to check union heap-size and that structs can be passed...
Joe Groff [Tue, 18 Aug 2009 18:10:52 +0000 (13:10 -0500)]
classes.struct unit tests to check union heap-size and that structs can be passed as FFI args

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Daniel Ehrenberg [Tue, 18 Aug 2009 17:49:29 +0000 (12:49 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoBiassocs have special clone method
Daniel Ehrenberg [Tue, 18 Aug 2009 17:48:09 +0000 (12:48 -0500)]
Biassocs have special clone method

14 years agodon't use setter words from classes.struct boa>object, otherwise struct literals...
Joe Groff [Tue, 18 Aug 2009 15:26:45 +0000 (10:26 -0500)]
don't use setter words from classes.struct boa>object, otherwise struct literals of classes in the current compilation unit won't compile

14 years agoremove irrelevant undo test from classes.struct
Joe Groff [Tue, 18 Aug 2009 15:25:47 +0000 (10:25 -0500)]
remove irrelevant undo test from classes.struct

14 years agoFix some unit test failures
Slava Pestov [Tue, 18 Aug 2009 08:49:05 +0000 (03:49 -0500)]
Fix some unit test failures

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 18 Aug 2009 08:47:29 +0000 (03:47 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoio.launcher.windows.nt: don't call duplicate-handle, and fix memory leak; io.backend...
Slava Pestov [Tue, 18 Aug 2009 08:46:46 +0000 (03:46 -0500)]
io.launcher.windows.nt: don't call duplicate-handle, and fix memory leak; io.backend.windows: track win32-handle instances in global win32-handles set to help find leaks

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

14 years agofix HEREDOC:s, add DELIMITED: which is like a HEREDOC: where the terminator can appea...
Doug Coleman [Tue, 18 Aug 2009 08:44:54 +0000 (03:44 -0500)]
fix HEREDOC:s, add DELIMITED: which is like a HEREDOC: where the terminator can appear anywhere

14 years agosmall fix for lexer
Doug Coleman [Tue, 18 Aug 2009 05:10:23 +0000 (00:10 -0500)]
small fix for lexer

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Daniel Ehrenberg [Tue, 18 Aug 2009 05:02:29 +0000 (00:02 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoFixing docs typo in math.floats
Daniel Ehrenberg [Tue, 18 Aug 2009 05:02:19 +0000 (00:02 -0500)]
Fixing docs typo in math.floats

14 years agocompiler: inline singleton predicates, and optimize predicate engines, reduces terrai...
Slava Pestov [Tue, 18 Aug 2009 04:59:24 +0000 (23:59 -0500)]
compiler: inline singleton predicates, and optimize predicate engines, reduces terrain demo deployed size by ~20kb

14 years agowindows.ole32: don't pull in debugger, reduces terrain demo deployed size by ~30kb
Slava Pestov [Tue, 18 Aug 2009 04:58:44 +0000 (23:58 -0500)]
windows.ole32: don't pull in debugger, reduces terrain demo deployed size by ~30kb

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Tue, 18 Aug 2009 03:38:21 +0000 (22:38 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoAdd inline declarations for various assorted methods
Slava Pestov [Tue, 18 Aug 2009 03:32:21 +0000 (22:32 -0500)]
Add inline declarations for various assorted methods

14 years agocompiler.tree.propagation: remove method inlining heuristic
Slava Pestov [Tue, 18 Aug 2009 03:29:05 +0000 (22:29 -0500)]
compiler.tree.propagation: remove method inlining heuristic

14 years agoMerge branch 'struct-classes' of git://factorcode.org/git/factor
Joe Groff [Tue, 18 Aug 2009 02:26:19 +0000 (21:26 -0500)]
Merge branch 'struct-classes' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Tue, 18 Aug 2009 01:47:40 +0000 (20:47 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix multiline docs
Doug Coleman [Tue, 18 Aug 2009 01:47:27 +0000 (20:47 -0500)]
fix multiline docs

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

14 years agorpn: new demo, simple RPN calculator that doesn't use Factor's evaluator reflectively
Slava Pestov [Tue, 18 Aug 2009 01:12:05 +0000 (20:12 -0500)]
rpn: new demo, simple RPN calculator that doesn't use Factor's evaluator reflectively

14 years agofix unit tests for multi-methods
Doug Coleman [Tue, 18 Aug 2009 00:24:14 +0000 (19:24 -0500)]
fix unit tests for multi-methods

14 years agomove IN: around
Doug Coleman [Tue, 18 Aug 2009 00:05:13 +0000 (19:05 -0500)]
move IN: around

14 years agoMerge git://github.com/mncharity/factor into mncharity
Doug Coleman [Tue, 18 Aug 2009 00:00:41 +0000 (19:00 -0500)]
Merge git://github.com/mncharity/factor into mncharity

14 years agotrivial factoring
Doug Coleman [Mon, 17 Aug 2009 23:59:03 +0000 (18:59 -0500)]
trivial factoring

14 years agomultiline: add HEREDOC: , slightly refactoring privates
Mitchell N Charity [Mon, 17 Aug 2009 21:05:14 +0000 (17:05 -0400)]
multiline: add HEREDOC: , slightly refactoring privates

14 years agomulti-methods: mv from unmaintained/ to extra/
Mitchell N Charity [Mon, 17 Aug 2009 19:32:44 +0000 (15:32 -0400)]
multi-methods: mv from unmaintained/ to extra/

14 years agomulti-methods: fix (1+ and 1- were recently removed)
Mitchell N Charity [Mon, 17 Aug 2009 18:52:15 +0000 (14:52 -0400)]
multi-methods: fix (1+ and 1- were recently removed)
multi-methods: fix tests (ambiguity and incorrect stack effect)

14 years agocompiler.tree.modular-arithmetic: >fixnum elimination and value info annotations...
Slava Pestov [Mon, 17 Aug 2009 06:20:25 +0000 (01:20 -0500)]
compiler.tree.modular-arithmetic: >fixnum elimination and value info annotations were too aggressive

14 years agocompiler.tree.modular-arithmetic: stronger optimization handles > 1 usages case as...
Slava Pestov [Sat, 15 Aug 2009 23:42:41 +0000 (18:42 -0500)]
compiler.tree.modular-arithmetic: stronger optimization handles > 1 usages case as well as values defined and used in loops. Eliminates 5 out of 8 >fixnum calls in benchmark.yuv-to-rgb

14 years agofix factor.sh for a couple of modes that nobody has used in a long time
Doug Coleman [Sat, 15 Aug 2009 19:25:16 +0000 (14:25 -0500)]
fix factor.sh for a couple of modes that nobody has used in a long time

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

14 years agofix docs
Doug Coleman [Sat, 15 Aug 2009 19:02:18 +0000 (14:02 -0500)]
fix docs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Daniel Ehrenberg [Sat, 15 Aug 2009 01:11:54 +0000 (20:11 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoImproving write barrier elimination; change to compiler.cfg.utilities to support...
Daniel Ehrenberg [Sat, 15 Aug 2009 00:41:41 +0000 (19:41 -0500)]
Improving write barrier elimination; change to compiler.cfg.utilities to support this