]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoRemoved VM_PTR macros. All builds reentrant by default
Phil Dawes [Wed, 14 Oct 2009 18:14:57 +0000 (19:14 +0100)]
Removed VM_PTR macros. All builds reentrant by default

14 years agonmap-as and nmap combinators
Joe Groff [Wed, 14 Oct 2009 05:38:51 +0000 (00:38 -0500)]
nmap-as and nmap combinators

14 years agoneach generalization
Joe Groff [Wed, 14 Oct 2009 05:09:57 +0000 (00:09 -0500)]
neach generalization

14 years agodata-map general-purpose binary mapping combinator
Joe Groff [Wed, 14 Oct 2009 03:45:17 +0000 (22:45 -0500)]
data-map general-purpose binary mapping combinator

14 years agoensure the typed subword gets xref-ed by the compiler
Joe Groff [Wed, 14 Oct 2009 02:20:05 +0000 (21:20 -0500)]
ensure the typed subword gets xref-ed by the compiler

14 years agochange TYPED: to put its magic inside macros and specialize the stack effect of the...
Joe Groff [Wed, 14 Oct 2009 01:11:17 +0000 (20:11 -0500)]
change TYPED: to put its magic inside macros and specialize the stack effect of the internal typed word so that it can follow tuple redefinitions

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

14 years agounbox read-only tuple arguments and box read-only tuple results to TYPED: words in...
Joe Groff [Tue, 13 Oct 2009 22:25:32 +0000 (17:25 -0500)]
unbox read-only tuple arguments and box read-only tuple results to TYPED: words in the inlined wrapper code to avoid allocation of unboxable tuples

14 years agoMerge branch 'master' of git://github.com/killy971/factor
Slava Pestov [Tue, 13 Oct 2009 22:09:35 +0000 (17:09 -0500)]
Merge branch 'master' of git://github.com/killy971/factor

14 years agoMerge branch 'master' into klazuka
Doug Coleman [Tue, 13 Oct 2009 20:08:21 +0000 (15:08 -0500)]
Merge branch 'master' into klazuka

14 years agohtml.streams: fixed broken unit-test
Keith Lazuka [Tue, 13 Oct 2009 12:54:37 +0000 (08:54 -0400)]
html.streams: fixed broken unit-test

14 years agomath.vectors.simd: fix typos in docs reported by Ed Swartz
Slava Pestov [Tue, 13 Oct 2009 10:13:22 +0000 (05:13 -0500)]
math.vectors.simd: fix typos in docs reported by Ed Swartz

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 12 Oct 2009 23:41:45 +0000 (18:41 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix a bug when printing calendars, add a unit test
Doug Coleman [Mon, 12 Oct 2009 21:55:52 +0000 (16:55 -0500)]
fix a bug when printing calendars, add a unit test

14 years agoAdded author
Guillaume Nargeot [Mon, 12 Oct 2009 13:01:29 +0000 (22:01 +0900)]
Added author

14 years agoSolution to Project Euler problem 188
Guillaume Nargeot [Mon, 12 Oct 2009 12:38:34 +0000 (21:38 +0900)]
Solution to Project Euler problem 188

14 years agomerge project-euler.factor
Guillaume Nargeot [Mon, 12 Oct 2009 08:08:50 +0000 (17:08 +0900)]
merge project-euler.factor

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

14 years agostore math.matrices.simd matrices in column-major order so that m4.v, frustum, and...
Joe Groff [Sat, 10 Oct 2009 22:45:15 +0000 (17:45 -0500)]
store math.matrices.simd matrices in column-major order so that m4.v, frustum, and translation construction are faster

14 years agoadd missing usings
Doug Coleman [Sat, 10 Oct 2009 19:04:22 +0000 (14:04 -0500)]
add missing usings

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sat, 10 Oct 2009 19:02:54 +0000 (14:02 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix the tuple subclassing example docs
Doug Coleman [Sat, 10 Oct 2009 19:02:35 +0000 (14:02 -0500)]
fix the tuple subclassing example docs

14 years agouse TEST reg, reg to compare integer equality with zero
Joe Groff [Sat, 10 Oct 2009 18:13:53 +0000 (13:13 -0500)]
use TEST reg, reg to compare integer equality with zero

14 years agofix fallbacks for vall?, vany?, vnone?
Joe Groff [Sat, 10 Oct 2009 18:01:13 +0000 (13:01 -0500)]
fix fallbacks for vall?, vany?, vnone?

14 years agoonly emit ##alien-vector/##set-alien-vector insns if the rep is available
Joe Groff [Sat, 10 Oct 2009 17:53:10 +0000 (12:53 -0500)]
only emit ##alien-vector/##set-alien-vector insns if the rep is available

14 years agochange the simd-struct tests to cover integer vector slots
Joe Groff [Sat, 10 Oct 2009 17:23:25 +0000 (12:23 -0500)]
change the simd-struct tests to cover integer vector slots

14 years agodon't use MOVSLDUP/MOVSHDUP to do specialized shuffles unless sse3 is available
Joe Groff [Sat, 10 Oct 2009 17:00:47 +0000 (12:00 -0500)]
don't use MOVSLDUP/MOVSHDUP to do specialized shuffles unless sse3 is available

14 years agohave vshuffle accept simd-128 variable byte shuffles
Joe Groff [Sat, 10 Oct 2009 15:40:09 +0000 (10:40 -0500)]
have vshuffle accept simd-128 variable byte shuffles

14 years agofix x86 uchar %scalar>integer
Joe Groff [Sat, 10 Oct 2009 15:39:23 +0000 (10:39 -0500)]
fix x86 uchar %scalar>integer

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

14 years agocompiler.tree.propagation.branches: fix live-branches computation for #dispatch nodes
Slava Pestov [Sat, 10 Oct 2009 05:23:50 +0000 (00:23 -0500)]
compiler.tree.propagation.branches: fix live-branches computation for #dispatch nodes

14 years agoMerge branch 'help2' of git://github.com/klazuka/factor
Doug Coleman [Sat, 10 Oct 2009 04:36:50 +0000 (23:36 -0500)]
Merge branch 'help2' of git://github.com/klazuka/factor

14 years agorename ##shuffle-vector to ##shuffle-vector-imm, and add a new ##shuffle-vector for...
Joe Groff [Sat, 10 Oct 2009 01:46:52 +0000 (20:46 -0500)]
rename ##shuffle-vector to ##shuffle-vector-imm, and add a new ##shuffle-vector for dynamic shuffles. have vshuffle use ##shuffle-vector to do word and byte shuffles on x86

14 years agoimages.normalization: reorder-components should fail if component-order is not a...
Keith Lazuka [Fri, 9 Oct 2009 19:50:57 +0000 (15:50 -0400)]
images.normalization: reorder-components should fail if component-order is not a representation of its layout

14 years agoimages.bitmap: fixed unit-test dependency
Keith Lazuka [Fri, 9 Oct 2009 19:14:23 +0000 (15:14 -0400)]
images.bitmap: fixed unit-test dependency

14 years agoimages.normalization: fixed USING
Keith Lazuka [Fri, 9 Oct 2009 19:08:57 +0000 (15:08 -0400)]
images.normalization: fixed USING

14 years agoimages.normalization: more unit tests and bug fix
Keith Lazuka [Fri, 9 Oct 2009 14:45:12 +0000 (10:45 -0400)]
images.normalization: more unit tests and bug fix

14 years agoimages.testing: added documentation
Keith Lazuka [Thu, 8 Oct 2009 17:55:05 +0000 (13:55 -0400)]
images.testing: added documentation

14 years agoimages.png: added PngSuite test image files
Keith Lazuka [Thu, 8 Oct 2009 16:06:18 +0000 (12:06 -0400)]
images.png: added PngSuite test image files

14 years agoimages.testing: switched from PAM reference image to Factor serialized image (.fig)
Keith Lazuka [Thu, 8 Oct 2009 10:23:17 +0000 (06:23 -0400)]
images.testing: switched from PAM reference image to Factor serialized image (.fig)

14 years agoimages.bitmap: respect upside-down? flag when encoding
Keith Lazuka [Wed, 7 Oct 2009 19:36:26 +0000 (15:36 -0400)]
images.bitmap: respect upside-down? flag when encoding

14 years agoimages.normalization: refactored to use locals
Keith Lazuka [Wed, 7 Oct 2009 19:11:33 +0000 (15:11 -0400)]
images.normalization: refactored to use locals

14 years agoimages.normalization: added documentation
Keith Lazuka [Wed, 7 Oct 2009 18:23:08 +0000 (14:23 -0400)]
images.normalization: added documentation

14 years agoimages.normalization: removed a lot of boilerplate
Keith Lazuka [Wed, 7 Oct 2009 17:53:32 +0000 (13:53 -0400)]
images.normalization: removed a lot of boilerplate

14 years agocap: explicitly set the image's component-type
Keith Lazuka [Tue, 6 Oct 2009 20:49:23 +0000 (16:49 -0400)]
cap: explicitly set the image's component-type

14 years agoimages.normalization: removed some boilerplate
Keith Lazuka [Tue, 6 Oct 2009 20:31:49 +0000 (16:31 -0400)]
images.normalization: removed some boilerplate

14 years agoimages.bitmap: now conforms to image encode protocol. images.normalization: added...
Keith Lazuka [Tue, 6 Oct 2009 19:36:58 +0000 (15:36 -0400)]
images.bitmap: now conforms to image encode protocol. images.normalization: added several component-order shuffle words

14 years agogenerate better code for vabs when instruction isn't available instead of using softw...
Joe Groff [Fri, 9 Oct 2009 19:14:44 +0000 (14:14 -0500)]
generate better code for vabs when instruction isn't available instead of using software fallback (-0.0 andn for floats, x > 0 ? x : -x for signed ints, nop for unsigned ints)

14 years agoimplement vneg as an intrinsic in terms of load -0, subtract
Joe Groff [Fri, 9 Oct 2009 18:16:39 +0000 (13:16 -0500)]
implement vneg as an intrinsic in terms of load -0, subtract

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

14 years agorefactor images.png logic for adam7. implement adam7
Doug Coleman [Fri, 9 Oct 2009 16:22:54 +0000 (11:22 -0500)]
refactor images.png logic for adam7.  implement adam7

14 years agohelp.markup: markup unit tests must ensure that 'last-element' is initialized to...
Keith Lazuka [Fri, 9 Oct 2009 16:09:54 +0000 (12:09 -0400)]
help.markup: markup unit tests must ensure that 'last-element' is initialized to 'f' before running each test.

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 9 Oct 2009 15:44:05 +0000 (10:44 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd SIMDS: ... ; and SPECIALIZED-ARRAYS: ... ; syntax
Joe Groff [Fri, 9 Oct 2009 15:43:37 +0000 (10:43 -0500)]
add SIMDS: ... ; and SPECIALIZED-ARRAYS: ... ; syntax

14 years agocompiler.codegen: fix failing tests
Slava Pestov [Fri, 9 Oct 2009 14:44:09 +0000 (09:44 -0500)]
compiler.codegen: fix failing tests

14 years agovm: fix integer overflow
Slava Pestov [Fri, 9 Oct 2009 10:53:55 +0000 (05:53 -0500)]
vm: fix integer overflow

14 years agovm: build fix
Slava Pestov [Fri, 9 Oct 2009 10:12:28 +0000 (05:12 -0500)]
vm: build fix

14 years agohelp.markup: long links don't show stack effect for parsing words and symbols
Slava Pestov [Fri, 9 Oct 2009 09:46:41 +0000 (04:46 -0500)]
help.markup: long links don't show stack effect for parsing words and symbols

14 years agoalien.syntax: add C-GLOBAL: for defining words to access global variables, and remove...
Slava Pestov [Fri, 9 Oct 2009 09:46:29 +0000 (04:46 -0500)]
alien.syntax: add C-GLOBAL: for defining words to access global variables, and remove the gimpy one from core-text.utilities

14 years agoalien.parser: fix behavior with restarts, reported by mnestic
Slava Pestov [Fri, 9 Oct 2009 09:25:25 +0000 (04:25 -0500)]
alien.parser: fix behavior with restarts, reported by mnestic

14 years agoMerge branch 'disassemble-quot' of git://github.com/phildawes/factor
Slava Pestov [Fri, 9 Oct 2009 09:17:27 +0000 (04:17 -0500)]
Merge branch 'disassemble-quot' of git://github.com/phildawes/factor

14 years agoMerge branch 'bitfields' of git://factorcode.org/git/factor into bitfields
Slava Pestov [Fri, 9 Oct 2009 09:12:34 +0000 (04:12 -0500)]
Merge branch 'bitfields' of git://factorcode.org/git/factor into bitfields

14 years agoMerge branch 's3' of git://double.co.nz/git/factor
Slava Pestov [Fri, 9 Oct 2009 09:06:55 +0000 (04:06 -0500)]
Merge branch 's3' of git://double.co.nz/git/factor

14 years agoMerge branch 'help' of git://github.com/klazuka/factor
Slava Pestov [Fri, 9 Oct 2009 09:03:16 +0000 (04:03 -0500)]
Merge branch 'help' of git://github.com/klazuka/factor

14 years agoMerge branch 'master' of git://github.com/jonenst/factor
Slava Pestov [Fri, 9 Oct 2009 08:59:08 +0000 (03:59 -0500)]
Merge branch 'master' of git://github.com/jonenst/factor

14 years agoReplace README.txt with readme.html
Slava Pestov [Fri, 9 Oct 2009 08:54:41 +0000 (03:54 -0500)]
Replace README.txt with readme.html

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 9 Oct 2009 08:21:31 +0000 (03:21 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agovm: misc cleanups
Slava Pestov [Fri, 9 Oct 2009 08:20:50 +0000 (03:20 -0500)]
vm: misc cleanups

14 years agovm: record bytes/objects copied again
Slava Pestov [Fri, 9 Oct 2009 08:20:06 +0000 (03:20 -0500)]
vm: record bytes/objects copied again

14 years agovm: fix formatting
Slava Pestov [Fri, 9 Oct 2009 07:57:04 +0000 (02:57 -0500)]
vm: fix formatting

14 years agovm: remove unrolled card scan loop since it appears to be a performance loss
Slava Pestov [Fri, 9 Oct 2009 07:05:31 +0000 (02:05 -0500)]
vm: remove unrolled card scan loop since it appears to be a performance loss

14 years agovm: simplify card marking logic, and unmark more cards during aging collections by...
Slava Pestov [Fri, 9 Oct 2009 06:37:45 +0000 (01:37 -0500)]
vm: simplify card marking logic, and unmark more cards during aging collections by checking if they actually contained young pointers or not

14 years agoextra error checking in images.png
Doug Coleman [Fri, 9 Oct 2009 06:25:20 +0000 (01:25 -0500)]
extra error checking in images.png

14 years agoFix problem if last card is marked
Slava Pestov [Fri, 9 Oct 2009 04:58:20 +0000 (23:58 -0500)]
Fix problem if last card is marked

14 years agovm: cleanup
Slava Pestov [Fri, 9 Oct 2009 04:39:54 +0000 (23:39 -0500)]
vm: cleanup

14 years agovm: more efficient code heap remembered set
Slava Pestov [Fri, 9 Oct 2009 04:10:32 +0000 (23:10 -0500)]
vm: more efficient code heap remembered set

14 years agoadd using and unit tests for mmap
Doug Coleman [Fri, 9 Oct 2009 04:06:40 +0000 (23:06 -0500)]
add using and unit tests for mmap

14 years agofix unit test
Doug Coleman [Fri, 9 Oct 2009 02:37:30 +0000 (21:37 -0500)]
fix unit test

14 years agohandle indexed color pngs
Doug Coleman [Fri, 9 Oct 2009 01:55:53 +0000 (20:55 -0500)]
handle indexed color pngs

14 years agofix byte swapping on greyscale-alpha
Doug Coleman [Fri, 9 Oct 2009 01:37:00 +0000 (20:37 -0500)]
fix byte swapping on greyscale-alpha

14 years agoushort pngs are byte-reversed from how i'm reading them -- fixed.
Doug Coleman [Fri, 9 Oct 2009 01:33:15 +0000 (20:33 -0500)]
ushort pngs are byte-reversed from how i'm reading them -- fixed.

14 years agodont scale 8,16 bit greyscale pngs. greyscale-alpha pngs are 8,16 bit already, so...
Doug Coleman [Fri, 9 Oct 2009 00:37:14 +0000 (19:37 -0500)]
dont scale 8,16 bit greyscale pngs.  greyscale-alpha pngs are 8,16 bit already, so don't scale them either.

14 years agoload greyscale png images, refactor some code
Doug Coleman [Thu, 8 Oct 2009 23:18:33 +0000 (18:18 -0500)]
load greyscale png images, refactor some code

14 years agomake pngs read scanlines in terms of bits instead of bytes
Doug Coleman [Thu, 8 Oct 2009 21:58:24 +0000 (16:58 -0500)]
make pngs read scanlines in terms of bits instead of bytes

14 years agoadd a couple of combinators to mmap that take a c-type to reduce conceptual overhead...
Doug Coleman [Thu, 8 Oct 2009 21:07:36 +0000 (16:07 -0500)]
add a couple of combinators to mmap that take a c-type to reduce conceptual overhead and boilerplate, more docs

14 years agoAnother identity in value numbering for bitfields
Daniel Ehrenberg [Thu, 8 Oct 2009 20:20:42 +0000 (15:20 -0500)]
Another identity in value numbering for bitfields

14 years agoadd a set-firstn generalization
Joe Groff [Thu, 8 Oct 2009 19:42:59 +0000 (14:42 -0500)]
add a set-firstn generalization

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into bitfields
Daniel Ehrenberg [Thu, 8 Oct 2009 19:19:20 +0000 (14:19 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor into bitfields

14 years agoCleaning up classes.struct.bit-accessors code
Daniel Ehrenberg [Thu, 8 Oct 2009 19:01:43 +0000 (14:01 -0500)]
Cleaning up classes.struct.bit-accessors code

14 years agoRefactoring bitfield accessors to eliminate code duplication
Daniel Ehrenberg [Thu, 8 Oct 2009 18:45:52 +0000 (13:45 -0500)]
Refactoring bitfield accessors to eliminate code duplication

14 years agoMaking struct bitfield writers fast
Daniel Ehrenberg [Thu, 8 Oct 2009 18:10:51 +0000 (13:10 -0500)]
Making struct bitfield writers fast

14 years agorefactor so that generalizations reuses the stub versions of nsequence, firstn, and...
Joe Groff [Thu, 8 Oct 2009 17:55:52 +0000 (12:55 -0500)]
refactor so that generalizations reuses the stub versions of nsequence, firstn, and n*quot needed by memoize

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 8 Oct 2009 17:39:02 +0000 (12:39 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 8 Oct 2009 17:30:54 +0000 (12:30 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix using
Doug Coleman [Thu, 8 Oct 2009 17:30:43 +0000 (12:30 -0500)]
fix using

14 years agoshatter the four-argument barrier in memoize
Joe Groff [Thu, 8 Oct 2009 17:24:07 +0000 (12:24 -0500)]
shatter the four-argument barrier in memoize

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Thu, 8 Oct 2009 16:37:12 +0000 (11:37 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agorefactor math.vectors.conversion
Joe Groff [Thu, 8 Oct 2009 16:35:40 +0000 (11:35 -0500)]
refactor math.vectors.conversion

14 years agoadd an "nspin" generalization
Joe Groff [Thu, 8 Oct 2009 16:34:20 +0000 (11:34 -0500)]
add an "nspin" generalization

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 8 Oct 2009 10:03:53 +0000 (05:03 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor