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

14 years agoBetter error images for non-baseline JPEGs.
Marc Fauconneau [Sun, 30 Aug 2009 08:29:40 +0000 (17:29 +0900)]
Better error images for non-baseline JPEGs.
bugfix: Handles more than one table per DHT chunk.

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 agofix alien.complex unboxer
Joe Groff [Sun, 30 Aug 2009 04:18:31 +0000 (23:18 -0500)]
fix alien.complex unboxer

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 30 Aug 2009 03:59:24 +0000 (22:59 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoprivatize classes.struct's shameful bits
Joe Groff [Sun, 30 Aug 2009 03:59:13 +0000 (22:59 -0500)]
privatize classes.struct's shameful bits

14 years agoimplement clone on struct classes to copy the struct contents
Joe Groff [Sun, 30 Aug 2009 03:54:56 +0000 (22:54 -0500)]
implement clone on struct classes to copy the struct contents

14 years agoadd non-initializing (malloc-array) and (malloc-object) for kicks
Joe Groff [Sun, 30 Aug 2009 03:42:48 +0000 (22:42 -0500)]
add non-initializing (malloc-array) and (malloc-object) for kicks

14 years agochange malloc-struct to initialize struct from initial values; add (malloc-struct...
Joe Groff [Sun, 30 Aug 2009 03:40:13 +0000 (22:40 -0500)]
change malloc-struct to initialize struct from initial values; add (malloc-struct) and (struct) words that leave their memory uninitialized

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

14 years agoMerge branch 'for-slava' of git://git.rfc1149.net/factor
Slava Pestov [Sun, 30 Aug 2009 03:10:48 +0000 (22:10 -0500)]
Merge branch 'for-slava' of git://git.rfc1149.net/factor

14 years agobenchmark.terrain-generation: fix type error
Slava Pestov [Sun, 30 Aug 2009 03:09:51 +0000 (22:09 -0500)]
benchmark.terrain-generation: fix type error

14 years agobenchmark.struct-arrays: doesn't actually need HINTS:
Slava Pestov [Sun, 30 Aug 2009 02:23:35 +0000 (21:23 -0500)]
benchmark.struct-arrays: doesn't actually need HINTS:

14 years agorefactor functors so that new functor syntax words can be added outside of functors...
Joe Groff [Sun, 30 Aug 2009 02:04:19 +0000 (21:04 -0500)]
refactor functors so that new functor syntax words can be added outside of functors vocab, and move STRUCT: functor syntax to classes.struct to break a circular dependency

14 years agochange alien.complex to use struct classes
Joe Groff [Sun, 30 Aug 2009 01:20:25 +0000 (20:20 -0500)]
change alien.complex to use struct classes

14 years agofix STRUCT: functor when a slot name is the same as a non-lexical word name
Joe Groff [Sun, 30 Aug 2009 01:19:47 +0000 (20:19 -0500)]
fix STRUCT: functor when a slot name is the same as a non-lexical word name

14 years agocorrect some classes.struct docs
Joe Groff [Sun, 30 Aug 2009 00:58:07 +0000 (19:58 -0500)]
correct some classes.struct docs

14 years agoadd STRUCT: support to functors
Joe Groff [Sun, 30 Aug 2009 00:56:42 +0000 (19:56 -0500)]
add STRUCT: support to functors

14 years agoignore deprecations in words that are themselves deprecated
Joe Groff [Sat, 29 Aug 2009 22:41:21 +0000 (17:41 -0500)]
ignore deprecations in words that are themselves deprecated

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

14 years agouse calloc in malloc-struct for consistency with malloc-object and malloc-array
Joe Groff [Sat, 29 Aug 2009 22:17:25 +0000 (17:17 -0500)]
use calloc in malloc-struct for consistency with malloc-object and malloc-array

14 years agochange malloc-object back to using calloc
Joe Groff [Sat, 29 Aug 2009 20:28:31 +0000 (15:28 -0500)]
change malloc-object back to using calloc

14 years agoEnsure that random-prime result has the right size
Samuel Tardieu [Sat, 29 Aug 2009 19:42:15 +0000 (21:42 +0200)]
Ensure that random-prime result has the right size

As noted by Slava, choosing the next prime following a random number
with a specified number of bits may give a number one more bit long.

14 years agochange malloc-object and <c-object> not to be in terms of malloc-array and <c-array>
Joe Groff [Sat, 29 Aug 2009 17:45:59 +0000 (12:45 -0500)]
change malloc-object and <c-object> not to be in terms of malloc-array and <c-array>

14 years agotypo in alien.c-types docs
Joe Groff [Sat, 29 Aug 2009 17:23:09 +0000 (12:23 -0500)]
typo in alien.c-types docs

14 years agoupdate cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays
Joe Groff [Sat, 29 Aug 2009 17:22:55 +0000 (12:22 -0500)]
update cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays

14 years agodeprecate <c-array>, and make malloc-array box its returned buffer in a direct array
Joe Groff [Sat, 29 Aug 2009 16:15:23 +0000 (11:15 -0500)]
deprecate <c-array>, and make malloc-array box its returned buffer in a direct array

14 years agomark integer sequence methods as deprecated
Joe Groff [Sat, 29 Aug 2009 15:29:41 +0000 (10:29 -0500)]
mark integer sequence methods as deprecated

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Samuel Tardieu [Sat, 29 Aug 2009 14:23:13 +0000 (16:23 +0200)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompiler.cfg.value-numbering: fix ##box-displaced-alien simplification
Slava Pestov [Sat, 29 Aug 2009 00:05:49 +0000 (19:05 -0500)]
compiler.cfg.value-numbering: fix ##box-displaced-alien simplification

14 years agocompiler: add fixnum-min/max intrinsics; ~10% speedup on benchmark.yuv-to-rgb
Slava Pestov [Sat, 29 Aug 2009 00:02:59 +0000 (19:02 -0500)]
compiler: add fixnum-min/max intrinsics; ~10% speedup on benchmark.yuv-to-rgb

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 28 Aug 2009 15:40:30 +0000 (10:40 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd a terrain-generation benchmark so slava will make it fast
Joe Groff [Fri, 28 Aug 2009 15:40:01 +0000 (10:40 -0500)]
add a terrain-generation benchmark so slava will make it fast

14 years agosystem-info.windows: fix load error
Slava Pestov [Fri, 28 Aug 2009 10:38:29 +0000 (05:38 -0500)]
system-info.windows: fix load error

14 years agotools.deprecation: suppress 'computing usage index...' message
Slava Pestov [Fri, 28 Aug 2009 10:32:34 +0000 (05:32 -0500)]
tools.deprecation: suppress 'computing usage index...' message

14 years agotools.deprecation: don't bail out if a word's usages are not all words
Slava Pestov [Fri, 28 Aug 2009 10:31:27 +0000 (05:31 -0500)]
tools.deprecation: don't bail out if a word's usages are not all words

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

14 years agobenchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struc...
Slava Pestov [Fri, 28 Aug 2009 10:21:54 +0000 (05:21 -0500)]
benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math

14 years agoPerformance improvements to make struct-arrays benchmark faster
Slava Pestov [Fri, 28 Aug 2009 10:21:16 +0000 (05:21 -0500)]
Performance improvements to make struct-arrays benchmark faster
- improved optimization of ##unbox-any-c-ptr on ##box-displaced-alien; convert it to ##unbox-c-ptr where possible using class info stored in the ##bda instruction
- make fcos, fsin, etc inline again; everything in math.libm inline again, except for fsqrt which is an intrinsic
- convert min and max on floats to float-min and float-max
- make min and max not inline, so that the above can work
- struct-arrays: rice a bit so that more fixnums come up

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

14 years agodeprecate C-STRUCT:, C-UNION:, and old-school struct accessors
Joe Groff [Fri, 28 Aug 2009 02:51:08 +0000 (21:51 -0500)]
deprecate C-STRUCT:, C-UNION:, and old-school struct accessors

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 28 Aug 2009 02:49:47 +0000 (21:49 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoalien: move code for supporting CONSTANT: foo 123 { "int" foo } C types into one...
Slava Pestov [Fri, 28 Aug 2009 02:49:25 +0000 (21:49 -0500)]
alien: move code for supporting CONSTANT: foo 123 { "int" foo } C types into one place instead of the old scattershot approach

14 years agosupport { type dimension } c-type syntax in STRUCT: definitions
Joe Groff [Fri, 28 Aug 2009 02:39:43 +0000 (21:39 -0500)]
support { type dimension } c-type syntax in STRUCT: definitions

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

14 years agoreturn YES from cocoa app delegate's applicationShouldHandleReopen: method. this...
Joe Groff [Fri, 28 Aug 2009 02:16:41 +0000 (21:16 -0500)]
return YES from cocoa app delegate's applicationShouldHandleReopen: method. this allows app-icon-minimized windows on snow leopard to automatically restore when the dock icon is clicked

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 28 Aug 2009 01:36:19 +0000 (20:36 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agonewstructify PIXELFORMAT
Doug Coleman [Fri, 28 Aug 2009 01:35:37 +0000 (20:35 -0500)]
newstructify PIXELFORMAT

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Fri, 28 Aug 2009 01:30:08 +0000 (20:30 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

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

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

14 years agotools.deploy: remove malloc debugging better, and don't set next-method word prop...
Slava Pestov [Fri, 28 Aug 2009 01:29:16 +0000 (20:29 -0500)]
tools.deploy: remove malloc debugging better, and don't set next-method word prop for methods that don't call-next-method

14 years agotools.deploy.test: give PowerPC an extra 100kb
Slava Pestov [Fri, 28 Aug 2009 01:27:35 +0000 (20:27 -0500)]
tools.deploy.test: give PowerPC an extra 100kb

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 28 Aug 2009 00:53:46 +0000 (19:53 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 28 Aug 2009 00:23:20 +0000 (19:23 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while...
Joe Groff [Fri, 28 Aug 2009 00:21:38 +0000 (19:21 -0500)]
ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 28 Aug 2009 00:06:56 +0000 (19:06 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoadd an image-control gadget
Doug Coleman [Fri, 28 Aug 2009 00:05:44 +0000 (19:05 -0500)]
add an image-control gadget

14 years agocompiler.tree.propagation.transforms: don't fail to compile if 'at' called on somethi...
Slava Pestov [Thu, 27 Aug 2009 23:57:56 +0000 (18:57 -0500)]
compiler.tree.propagation.transforms: don't fail to compile if 'at' called on something that's not an assoc

14 years agofix typo in gensym reported by mnestic
Doug Coleman [Thu, 27 Aug 2009 21:10:00 +0000 (16:10 -0500)]
fix typo in gensym reported by mnestic

14 years agomanually apply alec's patch for bloom filters
Doug Coleman [Thu, 27 Aug 2009 21:03:45 +0000 (16:03 -0500)]
manually apply alec's patch for bloom filters

14 years agoadd initial gif parsing. needs to be run on more gifs, needs lzw decompression
Doug Coleman [Thu, 27 Aug 2009 19:15:34 +0000 (14:15 -0500)]
add initial gif parsing.  needs to be run on more gifs, needs lzw decompression

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 27 Aug 2009 17:33:06 +0000 (12:33 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agobetter factor.sh output after git fetch whether script is restarted or not
Joe Groff [Thu, 27 Aug 2009 17:15:52 +0000 (12:15 -0500)]
better factor.sh output after git fetch whether script is restarted or not

14 years agochange factor.sh update to fetch and pull in separate steps so certain platforms...
Joe Groff [Thu, 27 Aug 2009 17:05:56 +0000 (12:05 -0500)]
change factor.sh update to fetch and pull in separate steps so certain platforms that exclusive-lock running scripts won't ruin the repo when factor.sh changes in the future

14 years agospacing
Doug Coleman [Thu, 27 Aug 2009 16:43:19 +0000 (11:43 -0500)]
spacing

14 years agouse constant
Doug Coleman [Thu, 27 Aug 2009 16:24:26 +0000 (11:24 -0500)]
use constant

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 27 Aug 2009 12:07:09 +0000 (07:07 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc: fix ##box-displaced-alien
sheeple [Thu, 27 Aug 2009 09:43:45 +0000 (04:43 -0500)]
cpu.ppc: fix ##box-displaced-alien

14 years agocompiler.cfg.instructions: forgot that ##box-displaced-alien needs a GC check; fixes...
Slava Pestov [Thu, 27 Aug 2009 09:09:35 +0000 (04:09 -0500)]
compiler.cfg.instructions: forgot that ##box-displaced-alien needs a GC check; fixes segfault in benchmark.mandel

14 years agoA few inline declarations
Slava Pestov [Thu, 27 Aug 2009 09:09:12 +0000 (04:09 -0500)]
A few inline declarations

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 agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 27 Aug 2009 03:26:29 +0000 (22:26 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

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 agoremove duplicate usings
Doug Coleman [Thu, 27 Aug 2009 03:23:03 +0000 (22:23 -0500)]
remove duplicate usings

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