]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoupdate windows.* for <c-array> change
Joe Groff [Mon, 31 Aug 2009 14:58:27 +0000 (09:58 -0500)]
update windows.* for <c-array> change

14 years agoupdate io.files.*.windows to use specialized arrays; also, io.files.info.windows...
Joe Groff [Mon, 31 Aug 2009 14:58:04 +0000 (09:58 -0500)]
update io.files.*.windows to use specialized arrays; also, io.files.info.windows was providing buffers that were too small, so fix that

14 years agowean extra/ vocabs off <c-array>
Joe Groff [Mon, 31 Aug 2009 14:54:35 +0000 (09:54 -0500)]
wean extra/ vocabs off <c-array>

14 years agochange gpu VERTEX-STRUCT: to make a struct class
Joe Groff [Mon, 31 Aug 2009 04:06:15 +0000 (23:06 -0500)]
change gpu VERTEX-STRUCT: to make a struct class

14 years agooops—fix STRUCT: functor
Joe Groff [Mon, 31 Aug 2009 03:40:18 +0000 (22:40 -0500)]
oops—fix STRUCT: functor

14 years agoupdate math.blas for <c-array> change
Joe Groff [Mon, 31 Aug 2009 03:37:58 +0000 (22:37 -0500)]
update math.blas for <c-array> change

14 years agorefactor struct slot parsing so that there's a <struct-slot-spec> word for easily...
Joe Groff [Mon, 31 Aug 2009 03:37:37 +0000 (22:37 -0500)]
refactor struct slot parsing so that there's a <struct-slot-spec> word for easily constructing struct slots outside classes.struct

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 31 Aug 2009 03:08:46 +0000 (22:08 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agofix kqueue
Doug Coleman [Mon, 31 Aug 2009 02:57:33 +0000 (21:57 -0500)]
fix kqueue

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

14 years agodocs for new syntax and pprint config
Joe Groff [Mon, 31 Aug 2009 02:14:14 +0000 (21:14 -0500)]
docs for new syntax and pprint config

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Mon, 31 Aug 2009 02:12:23 +0000 (21:12 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agopprint S@, X-array@ in <block block> for better formatting
Joe Groff [Mon, 31 Aug 2009 02:12:02 +0000 (21:12 -0500)]
pprint S@, X-array@ in <block block> for better formatting

14 years agostruct-array@ syntax
Joe Groff [Mon, 31 Aug 2009 02:05:21 +0000 (21:05 -0500)]
struct-array@ syntax

14 years agoio.backend.unix: tweak test
Slava Pestov [Mon, 31 Aug 2009 02:01:49 +0000 (21:01 -0500)]
io.backend.unix: tweak test

14 years agoclasses.struct: add more unit tests for clone method, and fix clone breakage when...
Slava Pestov [Mon, 31 Aug 2009 02:01:44 +0000 (21:01 -0500)]
classes.struct: add more unit tests for clone method, and fix clone breakage when the struct class word is not a symbol

14 years agofix typo in stat struct
Doug Coleman [Mon, 31 Aug 2009 01:46:49 +0000 (20:46 -0500)]
fix typo in stat struct

14 years agolikewise, an S@ word for structs
Joe Groff [Mon, 31 Aug 2009 01:46:31 +0000 (20:46 -0500)]
likewise, an S@ word for structs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 31 Aug 2009 01:26:44 +0000 (20:26 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoupdate kqueue for structs
Doug Coleman [Mon, 31 Aug 2009 01:26:25 +0000 (20:26 -0500)]
update kqueue for structs

14 years agofix stat struct on freebsd
Doug Coleman [Mon, 31 Aug 2009 01:25:57 +0000 (20:25 -0500)]
fix stat struct on freebsd

14 years agoadd alternate literal syntax "X-array@ PTR LEN" for direct-arrays. pprint with this...
Joe Groff [Mon, 31 Aug 2009 01:23:55 +0000 (20:23 -0500)]
add alternate literal syntax "X-array@ PTR LEN" for direct-arrays. pprint with this syntax when c-object-pointers? prettyprint flag is set, or the pointer under the direct-array is invalid

14 years agoclasses.struct: make <struct>, malloc-struct, and clone work in deployed images where...
Slava Pestov [Mon, 31 Aug 2009 01:13:54 +0000 (20:13 -0500)]
classes.struct: make <struct>, malloc-struct, and clone work in deployed images where C type info has been stripped out

14 years agoescape the class name in io.files.info
Doug Coleman [Mon, 31 Aug 2009 01:10:41 +0000 (20:10 -0500)]
escape the class name in io.files.info

14 years agofix bootstrap
Joe Groff [Mon, 31 Aug 2009 01:09:43 +0000 (20:09 -0500)]
fix bootstrap

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

14 years agotypo in stat
Doug Coleman [Mon, 31 Aug 2009 00:05:49 +0000 (19:05 -0500)]
typo in stat

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Mon, 31 Aug 2009 00:05:43 +0000 (19:05 -0500)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agochange c-type-* to c-* everywhere
Joe Groff [Mon, 31 Aug 2009 00:05:29 +0000 (19:05 -0500)]
change c-type-* to c-* everywhere

14 years agocompiler/tests/codegen.factor: don't do exact float comparison
Slava Pestov [Sun, 30 Aug 2009 23:57:45 +0000 (18:57 -0500)]
compiler/tests/codegen.factor: don't do exact float comparison

14 years agorather than deprecate <c-array>, replace it with <c-type-array> . to stay consistent...
Joe Groff [Sun, 30 Aug 2009 23:41:38 +0000 (18:41 -0500)]
rather than deprecate <c-array>, replace it with <c-type-array> . to stay consistent, rename <c-type-direct-array> to <c-direct-array> and require-c-type-arrays to require-c-arrays

14 years agoRevert "added send-synchronous-timeout word and tests"
Doug Coleman [Sun, 30 Aug 2009 19:53:50 +0000 (14:53 -0500)]
Revert "added send-synchronous-timeout word and tests"

This reverts commit 488c3bcaa54eccb62ae3da73b6496045d24928ed.

14 years agoRevert "reworked messaging, now always use an envelope around the message to handle...
Doug Coleman [Sun, 30 Aug 2009 19:53:33 +0000 (14:53 -0500)]
Revert "reworked messaging, now always use an envelope around the message to handle expiration correctly in all use-cases"

This reverts commit 8231d101367e4b2318bee3bec17a2d257bf14b63.

14 years agoRevert "move a word out of private vocab"
Doug Coleman [Sun, 30 Aug 2009 19:53:19 +0000 (14:53 -0500)]
Revert "move a word out of private vocab"

This reverts commit 978de4476ccd1acf734c600da1802b1d4e0000df.

14 years agomove a word out of private vocab
Doug Coleman [Sun, 30 Aug 2009 19:22:09 +0000 (14:22 -0500)]
move a word out of private vocab

14 years agoremove direct uint arrays in file info
Doug Coleman [Sun, 30 Aug 2009 16:58:30 +0000 (11:58 -0500)]
remove direct uint arrays in file info

14 years agoMerge branch 'for-slava' of git://github.com/x6j8x/factor into x6
Doug Coleman [Sun, 30 Aug 2009 15:34:00 +0000 (10:34 -0500)]
Merge branch 'for-slava' of git://github.com/x6j8x/factor into x6

14 years agoreworked messaging, now always use an envelope around the message to handle expiratio...
Sascha Matzke [Sun, 30 Aug 2009 15:26:23 +0000 (17:26 +0200)]
reworked messaging, now always use an envelope around the message to handle expiration correctly in all use-cases

14 years agofit typo
Doug Coleman [Sun, 30 Aug 2009 15:02:32 +0000 (10:02 -0500)]
fit typo

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into for-slava
Sascha Matzke [Sun, 30 Aug 2009 14:59:41 +0000 (16:59 +0200)]
Merge branch 'master' of git://factorcode.org/git/factor into for-slava

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

14 years agoMore minor documentation tweaks
Slava Pestov [Sun, 30 Aug 2009 11:32:20 +0000 (06:32 -0500)]
More minor documentation tweaks

14 years agomath.functions: some fixes
Slava Pestov [Sun, 30 Aug 2009 11:19:14 +0000 (06:19 -0500)]
math.functions: some fixes

14 years agotools.deploy.shaker: strip out functor-words global, fixing size regression from...
Slava Pestov [Sun, 30 Aug 2009 10:36:16 +0000 (05:36 -0500)]
tools.deploy.shaker: strip out functor-words global, fixing size regression from Joe's FUNCTOR-SYNTAX: patch

14 years agoadded send-synchronous-timeout word and tests
Sascha Matzke [Sat, 22 Aug 2009 14:46:45 +0000 (16:46 +0200)]
added send-synchronous-timeout word and tests

14 years agocompiler.cfg.linear-scan.live-intervals: dead-value-error is never thrown anymore
Slava Pestov [Sun, 30 Aug 2009 10:15:18 +0000 (05:15 -0500)]
compiler.cfg.linear-scan.live-intervals: dead-value-error is never thrown anymore

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Sascha Matzke [Sun, 30 Aug 2009 10:11:25 +0000 (12:11 +0200)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years ago%box-displaced-alien: fix clobberage found by Doug
Slava Pestov [Sun, 30 Aug 2009 10:11:08 +0000 (05:11 -0500)]
%box-displaced-alien: fix clobberage found by Doug

14 years agocompiler.cfg.linear-scan now supports partial sync-points where all registers are...
Slava Pestov [Sun, 30 Aug 2009 09:52:01 +0000 (04:52 -0500)]
compiler.cfg.linear-scan now supports partial sync-points where all registers are spilled; taking advantage of this, there are new trigonometric intrinsics which yield a 2x performance boost on benchmark.struct-arrays and a 25% boost on benchmark.partial-sums

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

14 years agochange all stat, statfs, statvfs and calendar structs
Doug Coleman [Sun, 30 Aug 2009 09:06:41 +0000 (04:06 -0500)]
change all stat, statfs, statvfs and calendar structs

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 agoMerge branch 'master' of git://factorcode.org/git/factor
Sascha Matzke [Sat, 29 Aug 2009 10:48:54 +0000 (12:48 +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
Sascha Matzke [Fri, 28 Aug 2009 05:07:14 +0000 (07:07 +0200)]
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 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