Joe Groff
19b10fb85e
bring back ( x: type y: type -- ) stack effect syntax, and automatically hint words based on types in their declared effect
2009-09-01 14:39:22 -05:00
Slava Pestov
7f25139cca
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-01 14:19:49 -05:00
Doug Coleman
eb98b49d74
openbsd defined a struct with freebsd in the name. oops.....
2009-09-01 14:18:29 -05:00
erg
4c354581a9
fix file-systems on the bsds
2009-09-01 13:16:37 -05:00
Joe Groff
522f426ba7
fix help lint failures
2009-09-01 13:04:00 -05:00
Joe Groff
d893f3cdb7
put a more useful mirror over structs
2009-08-31 22:26:03 -05:00
Slava Pestov
fdb3cd22cd
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 20:51:27 -05:00
Joe Groff
4cbd4d4b5c
update classes.struct tests, and make struct prettyprinting work again
2009-08-31 20:46:33 -05:00
Joe Groff
f3768b5361
clean up the bootstrap mess by moving the struct summary and make-mirror methods to classes.struct.prettyprint
2009-08-31 20:32:00 -05:00
Joe Groff
badbfef890
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 20:13:19 -05:00
Joe Groff
52a5a22b9d
restore pprint stack when c-object pprinters fail so that the fallback pprint syntax is still clickable
2009-08-31 20:10:51 -05:00
Joe Groff
79be927371
take advantage of pprint-prefix in c-object-pointer prettyprinters
2009-08-31 19:56:36 -05:00
Doug Coleman
f0e14d1c3c
mirrors on structs again, add summary method for structs
2009-08-31 19:27:29 -05:00
Doug Coleman
3d975ea7ab
struct mirrors were not ready yet
2009-08-31 19:10:48 -05:00
Doug Coleman
80e2feacd9
show c-type instead of factor type
2009-08-31 18:58:42 -05:00
Doug Coleman
1732bd730a
better keys in sturct mirrors
2009-08-31 18:57:03 -05:00
Doug Coleman
fee0953cc4
make-mirror method on structs. fix typo on struct-slots stack effect. don't filter initial values in struct>assoc because structs are more low-level and you want to see the entire layout of the struct you're working with, imo.
2009-08-31 18:51:47 -05:00
Joe Groff
3ea364bc80
suppress "no such C type" warnings from cocoa for "?" and private apple types
2009-08-31 18:10:35 -05:00
Joe Groff
f6c6593579
fix struct-arrays USING:
2009-08-31 18:04:29 -05:00
Joe Groff
0a7b62177b
link S{ and S@ docs in classes.struct
2009-08-31 18:04:09 -05:00
Joe Groff
0834b8270c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 17:49:55 -05:00
Joe Groff
84adb4cb55
"struct-array-on" word to easily promote a struct over memory to a struct-array over the same memory. buff up the struct-arrays docs
2009-08-31 17:49:45 -05:00
Slava Pestov
8a1dbe1652
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 16:48:24 -05:00
Slava Pestov
94c89e55e6
tools.deploy.shaker: strip out call( and execute( runtime checking in a way that still allows the inlining optimization to work
2009-08-31 16:48:10 -05:00
Slava Pestov
23f34febbb
Fix image size regression with struct array tree shaking
2009-08-31 16:34:58 -05:00
Doug Coleman
740856eeca
fix windows usings
2009-08-31 15:22:26 -05:00
Joe Groff
bce748ee81
fix newly introduced references to c-type-array
2009-08-31 12:49:09 -05:00
Joe Groff
9bd7471696
fix some things that broke in the windows UI/game-input backends
2009-08-31 12:45:39 -05:00
Joe Groff
175529c938
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:35:47 -05:00
Doug Coleman
0f8405c507
update pango for struct
2009-08-31 12:23:08 -05:00
Doug Coleman
6ac21a8cf9
fix using
2009-08-31 12:20:56 -05:00
Joe Groff
f74351ce64
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:01:23 -05:00
Joe Groff
1a84aa7fc3
Merge branch 'master' of git://factorcode.org/git/factor into struct-updates
2009-08-31 12:01:04 -05:00
Doug Coleman
0bcd7c2619
typo
2009-08-31 12:00:39 -05:00
Doug Coleman
d22a25a3ec
try to fix file-systems on a few platforms
2009-08-31 11:49:29 -05:00
Doug Coleman
6c996f4d30
fix netbsd file-systems
2009-08-31 11:38:21 -05:00
Doug Coleman
27af645048
fix file-systems on freebsd
2009-08-31 11:35:52 -05:00
Doug Coleman
736f78dfb5
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 11:34:39 -05:00
Joe Groff
67dd3ff6b6
clean up some game-input.dinput code to take advantage of structs and specialized arrays
2009-08-31 11:31:01 -05:00
Joe Groff
43f81d3835
hashcode* for structs
2009-08-31 10:51:45 -05:00
Joe Groff
2d37ac31be
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/environment/winnt/winnt.factor
basis/io/files/windows/nt/nt.factor
basis/windows/shell32/shell32.factor
2009-08-31 10:35:58 -05:00
Joe Groff
fc9f40b789
update environment.winnt for <c-array> change
2009-08-31 10:31:28 -05:00
Joe Groff
efe4f838ea
update windows.dinput structs
2009-08-31 10:28:22 -05:00
Joe Groff
5925043d34
update windows.* for <c-array> change
2009-08-31 09:58:27 -05:00
Joe Groff
c1fe3854d4
update io.files.*.windows to use specialized arrays; also, io.files.info.windows was providing buffers that were too small, so fix that
2009-08-31 09:58:04 -05:00
Slava Pestov
2e119a0ae7
struct-arrays: hack it up so that if the class name is a literal parameter for the constructor, then the array works in deployed apps even if not every call site of nth or set-nth is inlined on the array. Fixes tools.deploy.test.5 regression after kqueue was converted to use STRUCT:. Because of Dan's call(-inlining, no perf regression on struct-arrays benchmark!
2009-08-31 05:42:28 -05:00
Slava Pestov
41e83d2246
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 04:18:59 -05:00
Slava Pestov
6ed46177e9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 00:24:46 -04:00
Slava Pestov
861a3f563b
x11.events, ui.backend.x11: actually make it work
2009-08-31 00:24:25 -04:00
Doug Coleman
b91c8f5aad
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 23:09:35 -05:00
Doug Coleman
b8ce02bea3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 23:08:19 -05:00
Doug Coleman
45629c63b3
update users/groups for new structs
2009-08-30 23:07:46 -05:00
Slava Pestov
6b2a108f03
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 22:56:39 -05:00
Slava Pestov
e36029b376
x11 and ui.backend.x11: update to use new structs
2009-08-30 22:55:19 -05:00
Doug Coleman
e780e4fa55
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 22:50:22 -05:00
Doug Coleman
d8be0561fb
make a struct for dirents on linux, not a <c-object>
2009-08-30 22:49:35 -05:00
Joe Groff
472189452d
oops—fix STRUCT: functor
2009-08-30 22:40:18 -05:00
Joe Groff
ccb27f81ea
update math.blas for <c-array> change
2009-08-30 22:37:58 -05:00
Joe Groff
509ed99c79
refactor struct slot parsing so that there's a <struct-slot-spec> word for easily constructing struct slots outside classes.struct
2009-08-30 22:37:37 -05:00
Slava Pestov
1f40ea64f0
io.sockets.unix: cleanup two usages of 'rot' and use struct setter instead of memcpy
2009-08-30 22:21:14 -05:00
Slava Pestov
868009aaee
compiler.cfg.intrinsics: cleanup: the "intrinsic" word property is now a quotation, not a boolean, making this mechanism more extensible
2009-08-30 22:20:49 -05:00
Doug Coleman
14973eacb5
update dirent for structs
2009-08-30 22:11:42 -05:00
Joe Groff
4a243d2c04
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 22:08:46 -05:00
Doug Coleman
d5a7dde7ee
fix kqueue
2009-08-30 21:57:33 -05:00
Joe Groff
5d56e16188
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 21:14:33 -05:00
Joe Groff
adb15243f2
docs for new syntax and pprint config
2009-08-30 21:14:14 -05:00
Slava Pestov
5c10f390c7
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 21:12:23 -05:00
Joe Groff
e1e457c27e
pprint S@, X-array@ in <block block> for better formatting
2009-08-30 21:12:02 -05:00
Joe Groff
ab3ec291cd
struct-array@ syntax
2009-08-30 21:05:21 -05:00
Slava Pestov
348311ea90
io.backend.unix: tweak test
2009-08-30 21:01:49 -05:00
Slava Pestov
e918e9cddc
classes.struct: add more unit tests for clone method, and fix clone breakage when the struct class word is not a symbol
2009-08-30 21:01:44 -05:00
Slava Pestov
6f1a7c731c
cpu.ppc: fix %box-displaced-alien
2009-08-30 20:56:04 -05:00
Doug Coleman
867d87998c
fix typo in stat struct
2009-08-30 20:46:49 -05:00
Joe Groff
82025bde30
likewise, an S@ word for structs
2009-08-30 20:46:31 -05:00
Doug Coleman
b0e895b8f9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 20:26:44 -05:00
Doug Coleman
05cc8babb6
update kqueue for structs
2009-08-30 20:26:25 -05:00
Doug Coleman
6867f2a806
fix stat struct on freebsd
2009-08-30 20:25:57 -05:00
Joe Groff
dee9f56500
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
2009-08-30 20:23:55 -05:00
Slava Pestov
2dd3f5690d
classes.struct: make <struct>, malloc-struct, and clone work in deployed images where C type info has been stripped out
2009-08-30 20:13:54 -05:00
Doug Coleman
de94e49f06
escape the class name in io.files.info
2009-08-30 20:10:41 -05:00
Joe Groff
0f1270720d
fix bootstrap
2009-08-30 20:09:43 -05:00
Doug Coleman
d8e10a691d
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 19:06:02 -05:00
Doug Coleman
8be06f0e5e
typo in stat
2009-08-30 19:05:49 -05:00
Joe Groff
c9e83ba3c3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 19:05:43 -05:00
Joe Groff
0df9884ee5
change c-type-* to c-* everywhere
2009-08-30 19:05:29 -05:00
Slava Pestov
bd629c1262
compiler/tests/codegen.factor: don't do exact float comparison
2009-08-30 18:57:45 -05:00
Joe Groff
361cc04b02
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
2009-08-30 18:41:38 -05:00
Doug Coleman
2e40f83393
Revert "added send-synchronous-timeout word and tests"
...
This reverts commit 488c3bcaa5
.
2009-08-30 14:53:50 -05:00
Doug Coleman
97b6509cfe
Revert "reworked messaging, now always use an envelope around the message to handle expiration correctly in all use-cases"
...
This reverts commit 8231d10136
.
2009-08-30 14:53:33 -05:00
Doug Coleman
0f4dce4e4b
Revert "move a word out of private vocab"
...
This reverts commit 978de4476c
.
2009-08-30 14:53:19 -05:00
Doug Coleman
4c69f5641c
move a word out of private vocab
2009-08-30 14:22:09 -05:00
Doug Coleman
447be26efd
remove direct uint arrays in file info
2009-08-30 11:58:30 -05:00
Doug Coleman
b938123d94
Merge branch 'for-slava' of git://github.com/x6j8x/factor into x6
2009-08-30 10:34:00 -05:00
Sascha Matzke
7f0f3c3c1a
reworked messaging, now always use an envelope around the message to handle expiration correctly in all use-cases
2009-08-30 17:26:23 +02:00
Doug Coleman
be9035753a
fit typo
2009-08-30 10:02:32 -05:00
Sascha Matzke
0337413a51
Merge branch 'master' of git://factorcode.org/git/factor into for-slava
2009-08-30 16:59:41 +02:00
Doug Coleman
d33fb83e26
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 09:05:12 -05:00
Slava Pestov
ec70e1d714
More minor documentation tweaks
2009-08-30 06:32:20 -05:00
Slava Pestov
7983b5515f
math.functions: some fixes
2009-08-30 06:19:14 -05:00
Slava Pestov
d23688ea1a
tools.deploy.shaker: strip out functor-words global, fixing size regression from Joe's FUNCTOR-SYNTAX: patch
2009-08-30 05:36:16 -05:00
Sascha Matzke
3351391e50
added send-synchronous-timeout word and tests
2009-08-30 12:24:56 +02:00
Slava Pestov
447c5fbf7a
compiler.cfg.linear-scan.live-intervals: dead-value-error is never thrown anymore
2009-08-30 05:15:18 -05:00
Slava Pestov
9595be4bf9
%box-displaced-alien: fix clobberage found by Doug
2009-08-30 05:11:08 -05:00
Slava Pestov
0db01f6d5f
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
2009-08-30 04:52:01 -05:00
Doug Coleman
5c53b2c3e6
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 04:07:00 -05:00
Doug Coleman
783eb0bb53
change all stat, statfs, statvfs and calendar structs
2009-08-30 04:06:41 -05:00
Marc Fauconneau
2d4ba8de4d
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-30 17:31:30 +09:00
Marc Fauconneau
5a20dee2aa
Better error images for non-baseline JPEGs.
...
bugfix: Handles more than one table per DHT chunk.
2009-08-30 17:29:40 +09:00
Marc Fauconneau
bf15648b4d
Merge branch 'master' of git@github.com:prunedtree/factor
...
Conflicts:
basis/math/matrices/matrices.factor
2009-08-30 17:24:25 +09:00
Doug Coleman
d88cdffa47
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 23:39:20 -05:00
Joe Groff
be406fa964
fix alien.complex unboxer
2009-08-29 23:18:31 -05:00
Joe Groff
762a8c32cb
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 22:59:24 -05:00
Joe Groff
32f014a030
privatize classes.struct's shameful bits
2009-08-29 22:59:13 -05:00
Joe Groff
20aa00f8df
implement clone on struct classes to copy the struct contents
2009-08-29 22:54:56 -05:00
Joe Groff
4d8ed23db5
add non-initializing (malloc-array) and (malloc-object) for kicks
2009-08-29 22:42:48 -05:00
Joe Groff
3e51bde484
change malloc-struct to initialize struct from initial values; add (malloc-struct) and (struct) words that leave their memory uninitialized
2009-08-29 22:40:13 -05:00
Slava Pestov
11b2a409c3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 22:11:20 -05:00
Doug Coleman
ef800cb4d3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 21:29:55 -05:00
Joe Groff
7276fe44d7
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
2009-08-29 21:04:19 -05:00
Doug Coleman
e837a5cea8
structs in windows.shell32
2009-08-29 20:56:39 -05:00
Doug Coleman
fb3fa1f797
remove dead code, use ${ and GUID:, structs
2009-08-29 20:52:14 -05:00
Doug Coleman
d2dd206638
remove c-array usage
2009-08-29 20:43:07 -05:00
Doug Coleman
a5c078213a
more struct work
2009-08-29 20:39:06 -05:00
Doug Coleman
6e4ec190df
remove c-array usage
2009-08-29 20:34:29 -05:00
Joe Groff
db7eb4e27a
change alien.complex to use struct classes
2009-08-29 20:20:25 -05:00
Joe Groff
2e3f75fd87
fix STRUCT: functor when a slot name is the same as a non-lexical word name
2009-08-29 20:19:47 -05:00
Doug Coleman
e5b72af403
fix environment on winnt
2009-08-29 20:01:01 -05:00
Joe Groff
309b11213c
correct some classes.struct docs
2009-08-29 19:58:07 -05:00
Joe Groff
4cc2330a2a
add STRUCT: support to functors
2009-08-29 19:56:42 -05:00
Doug Coleman
dedc1eb0cb
more WIN32_FIND_DATA structs
2009-08-29 19:43:56 -05:00
Doug Coleman
57673db7ca
remove com-interface c-struct
2009-08-29 19:33:04 -05:00
Doug Coleman
a81c78e485
WSABUF struct
2009-08-29 19:25:18 -05:00
Doug Coleman
135d56fcd2
fix com, prettyprinting of GUIDs
2009-08-29 19:18:39 -05:00
Doug Coleman
1099e2ad3a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 18:59:36 -05:00
Doug Coleman
ec579dcfc1
fix using
2009-08-29 17:42:14 -05:00
Joe Groff
51405868d1
ignore deprecations in words that are themselves deprecated
2009-08-29 17:41:21 -05:00
Doug Coleman
50a99dcce6
guid, system-info
2009-08-29 17:41:08 -05:00
Doug Coleman
0c37990f53
windows.offscreen structs
2009-08-29 17:35:11 -05:00
Doug Coleman
eb21a7b0dd
fix uniscribe
2009-08-29 17:18:30 -05:00
Joe Groff
77bf009b6e
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 17:17:44 -05:00
Joe Groff
4e7bada863
use calloc in malloc-struct for consistency with malloc-object and malloc-array
2009-08-29 17:17:25 -05:00
Doug Coleman
3ecb3a85db
SIZE struct
2009-08-29 17:08:25 -05:00
Doug Coleman
ccb20bd00e
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 15:29:34 -05:00
Joe Groff
a71f242578
change malloc-object back to using calloc
2009-08-29 15:28:31 -05:00
Samuel Tardieu
e5897d52b2
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.
2009-08-29 21:42:15 +02:00
Doug Coleman
b8164120f5
oops, forgot to update a struct
2009-08-29 14:37:09 -05:00
Doug Coleman
f4d8a61461
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 14:30:55 -05:00
Doug Coleman
6aeb3614ff
new structs in font rendering
2009-08-29 14:29:46 -05:00
Doug Coleman
56be96429a
fix io monitors
2009-08-29 14:28:00 -05:00
Doug Coleman
d2accedf8d
more structs
2009-08-29 13:45:25 -05:00
Doug Coleman
f517e22e91
structs in calendar.windows
2009-08-29 13:39:48 -05:00
Doug Coleman
d7446f9a05
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 12:50:27 -05:00
Joe Groff
0e8fe01d11
change malloc-object and <c-object> not to be in terms of malloc-array and <c-array>
2009-08-29 12:45:59 -05:00
Joe Groff
64baa58a3d
typo in alien.c-types docs
2009-08-29 12:23:09 -05:00
Joe Groff
2eff554273
update cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays
2009-08-29 12:22:55 -05:00
Joe Groff
8a9d0e13bb
deprecate <c-array>, and make malloc-array box its returned buffer in a direct array
2009-08-29 11:15:23 -05:00
Samuel Tardieu
b7c50e6159
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 16:23:13 +02:00
Slava Pestov
908b4742c5
compiler.cfg.value-numbering: fix ##box-displaced-alien simplification
2009-08-28 19:05:49 -05:00
Slava Pestov
2bb6293217
compiler: add fixnum-min/max intrinsics; ~10% speedup on benchmark.yuv-to-rgb
2009-08-28 19:02:59 -05:00
Slava Pestov
790e7ec0bc
tools.deprecation: suppress 'computing usage index...' message
2009-08-28 05:32:34 -05:00
Slava Pestov
a96743d375
tools.deprecation: don't bail out if a word's usages are not all words
2009-08-28 05:31:27 -05:00
Slava Pestov
282d6e9acc
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-28 05:22:05 -05:00
Slava Pestov
d957ae4e44
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
2009-08-28 05:21:16 -05:00
Doug Coleman
8caece6928
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:58:47 -05:00
Joe Groff
b8978446d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:51:15 -05:00
Joe Groff
e85925153c
deprecate C-STRUCT:, C-UNION:, and old-school struct accessors
2009-08-27 21:51:08 -05:00
Slava Pestov
e2ebc2ac76
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:49:47 -05:00
Slava Pestov
7cf4e608e5
alien: move code for supporting CONSTANT: foo 123 { "int" foo } C types into one place instead of the old scattershot approach
2009-08-27 21:49:25 -05:00
Doug Coleman
111c0f6b89
more struct changes
2009-08-27 21:43:29 -05:00
Doug Coleman
ae001ce75c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:40:11 -05:00
Joe Groff
80a5bf7138
support { type dimension } c-type syntax in STRUCT: definitions
2009-08-27 21:39:43 -05:00
Joe Groff
c3002ed0f0
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:17:17 -05:00
Joe Groff
eb4081c696
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
2009-08-27 21:16:41 -05:00
Doug Coleman
c926854790
update RECT for new structs
2009-08-27 21:16:28 -05:00
Doug Coleman
7df875c7fe
update WNDCLASSEX
2009-08-27 20:43:42 -05:00
Doug Coleman
065db08680
TRACKMOUSEVENT uses <struct> now
2009-08-27 20:39:37 -05:00
Doug Coleman
7e6f6e6a44
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:36:19 -05:00
Doug Coleman
469e7e8d67
newstructify PIXELFORMAT
2009-08-27 20:35:37 -05:00
Slava Pestov
3f493bce1a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:30:08 -05:00
Slava Pestov
f1c971e3df
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:30:15 -05:00
Slava Pestov
37403b28a9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:29:28 -05:00
Slava Pestov
f1b4d94f2f
tools.deploy: remove malloc debugging better, and don't set next-method word prop for methods that don't call-next-method
2009-08-27 20:29:16 -05:00
Slava Pestov
0d70d07cf1
tools.deploy.test: give PowerPC an extra 100kb
2009-08-27 20:27:35 -05:00
Doug Coleman
ee418a75d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:53:46 -05:00
Joe Groff
367f024a1b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:23:20 -05:00
Joe Groff
7771c55cb5
ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard
2009-08-27 19:21:38 -05:00
Slava Pestov
ba0f3a9911
compiler.tree.propagation.transforms: don't fail to compile if 'at' called on something that's not an assoc
2009-08-27 18:57:56 -05:00
Doug Coleman
d4497c81ef
spacing
2009-08-27 11:43:19 -05:00
Doug Coleman
a17250bd1b
use constant
2009-08-27 11:24:26 -05:00
sheeple
98f93f799b
cpu.ppc: fix ##box-displaced-alien
2009-08-27 04:43:45 -05:00
Slava Pestov
8f19f14c1f
compiler.cfg.instructions: forgot that ##box-displaced-alien needs a GC check; fixes segfault in benchmark.mandel
2009-08-27 04:09:35 -05:00
Slava Pestov
f808f43ffb
A few inline declarations
2009-08-27 04:09:12 -05:00
Slava Pestov
1f58ca9e2a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 00:06:30 -05:00
Slava Pestov
f662e6403a
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
2009-08-27 00:06:19 -05:00
Joe Groff
69e640c55b
throw a friendlier error when attempting to create a struct without slots
2009-08-26 22:37:59 -05:00
Joe Groff
53b7729f76
require struct-arrays after alien.structs is loaded
2009-08-26 22:24:55 -05:00
Joe Groff
64990eb23d
test that array slots in structs optimize down
2009-08-26 21:50:12 -05:00
Joe Groff
08867f3576
inline sequence methods on direct-arrays
2009-08-26 21:49:45 -05:00
Joe Groff
ecd0bdbd58
test that struct-arrays and struct construction optimize down
2009-08-26 21:38:00 -05:00
Joe Groff
4bf4cacc4b
make struct-prototype foldable so that <struct> compiles efficiently
2009-08-26 21:27:12 -05:00
Joe Groff
4b56fa8009
add a partial eval for memory>struct so that it compiles efficiently when the struct class is known
2009-08-26 21:18:19 -05:00
Joe Groff
5376263984
more inlines on struct-arrays to make the optimizing go down smoother
2009-08-26 19:56:22 -05:00
Joe Groff
ad463795aa
fix struct-array of struct class; inline memory>struct so the compiler can optimize a little better
2009-08-26 19:20:20 -05:00
Joe Groff
9eb4ce2791
trying to memory>struct a non-struct class is feptastic
2009-08-26 19:09:38 -05:00
Joe Groff
49d123aa84
prettyprint struct-arrays
2009-08-26 18:22:51 -05:00
Joe Groff
2d66dc9f29
literal syntax for struct-arrays
2009-08-26 18:09:02 -05:00
Joe Groff
f4c90fdabe
bitwise equal? for struct objects
2009-08-26 18:05:38 -05:00
Joe Groff
469e4b526f
use struct class in struct-arrays test
2009-08-26 17:38:33 -05:00
Joe Groff
24c2eaae01
box elements of struct-arrays when a struct class is used as the element type
2009-08-26 17:19:30 -05:00
Joe Groff
784b8c04ce
move classes.struct from extra to basis
2009-08-26 15:55:01 -05:00
Joe Groff
8f99661f9a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 14:59:18 -05:00
Joe Groff
a56d4ec50d
core-text: always create at least a 1x1 bitmap context. snow leopard refuses to create 0x0 contexts
2009-08-26 14:58:15 -05:00
Doug Coleman
bdb95d7fc3
remove debug, fix bootstrap
2009-08-26 14:45:02 -05:00
Doug Coleman
974266c9d5
support loading images from streams, add load-http-image
2009-08-26 14:27:01 -05:00
Joe Groff
2ae4f64d65
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 14:07:33 -05:00
Doug Coleman
edb7090993
support seeking on limited streams
2009-08-26 13:48:41 -05:00
Joe Groff
4a9f885ac9
store struct class in struct-array
2009-08-26 13:13:19 -05:00
Doug Coleman
ddea2453a4
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 11:02:58 -05:00
Doug Coleman
1b77718625
use structs
2009-08-26 11:01:39 -05:00
Doug Coleman
03fc2a3461
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 09:40:49 -05:00
Joe Groff
5a298a00fd
windows.ole32 guid functions don't need to box the byte-arrays themselves anymore
2009-08-26 09:28:10 -05:00
Doug Coleman
bbcf08cdc3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 09:15:33 -05:00
Slava Pestov
8bf709acd0
compiler.cfg.linear-scan: fix unit tests for new fake-representations
2009-08-26 08:58:00 -05:00
Slava Pestov
168c81b6ac
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-26 07:17:44 -05:00
Slava Pestov
0ff80a063d
compiler: only run float test in low-level-ir if float intrinsics enabled; fixes SIGILL on non-sse2 x86 machines
2009-08-26 06:58:47 -05:00
Joe Groff
1403ba9482
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 23:50:38 -05:00
Joe Groff
a6c8e91f88
fix directory-entries so we can bootstrap again
2009-08-25 23:50:27 -05:00
Slava Pestov
132dff23ec
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 23:44:29 -05:00
Slava Pestov
8d55616d34
compiler.cfg.debugger: fix fake-representations so that low-level-ir tests can pass on x86
2009-08-25 23:44:01 -05:00
Joe Groff
ff9b54fd0c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 23:22:43 -05:00
Slava Pestov
0df8aadce2
cpu.x86: use SQRTSD instruction for math.libm:fsqrt word
2009-08-25 23:22:15 -05:00
Slava Pestov
86a8e016fe
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 22:37:28 -05:00
Slava Pestov
b7e29ca8dd
cpu.ppc.assembler: LOAD32 assembler macro was busted
2009-08-25 22:37:10 -05:00
Joe Groff
b6bba164e4
box array c-types into direct-arrays
2009-08-25 21:36:25 -05:00
Joe Groff
87c670b785
no really, support <c-type-array> of structs using struct-arrays
2009-08-25 20:57:23 -05:00
Joe Groff
39ac27c50a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 20:43:51 -05:00
Joe Groff
a2518377e3
support <c-type-array> of structs using struct-arrays
2009-08-25 20:43:48 -05:00
Joe Groff
8aa9327dcc
support <c-type-array> on complex ffi types
2009-08-25 19:58:04 -05:00
sheeple
61c1ed17d9
basis/compiler/tests/low-level-ir: add ##copy double-float-rep test
2009-08-25 19:41:17 -05:00
Slava Pestov
fb1693bf1d
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 19:39:24 -05:00
Slava Pestov
1afd001393
basis/cpu: eliminate some usages of rot
2009-08-25 19:38:48 -05:00
Slava Pestov
7b2c9df341
cpu.ppc.assembler: fix FMR and FMR. opcodes
2009-08-25 19:33:35 -05:00
Joe Groff
f4acf22433
specialized-arrays.direct: define byte-length on direct arrays
2009-08-25 18:54:15 -05:00
Joe Groff
005107973f
docs for require-c-type-arrays, <c-type-array>, <c-type-direct-array>
2009-08-25 18:51:56 -05:00
Joe Groff
59cdec755a
throw a better error if <c-type*-array> is called when specialized array vocab isn't loaded. fix <c-type-direct-array>
2009-08-25 18:24:49 -05:00
Doug Coleman
d109126c4b
more structs
2009-08-25 18:19:34 -05:00
Joe Groff
79787f6259
associate specialized-arrays vocabs with c-types; add words for requiring vocabs and constructing arrays by C type
2009-08-25 17:56:01 -05:00
Doug Coleman
003db124e2
use structs in process launcher
2009-08-25 17:46:07 -05:00
Doug Coleman
c50eaf1c29
less aggressive open-file for file-times, use FILETIME struct now
2009-08-25 17:34:06 -05:00
Doug Coleman
3507616f3b
use structs in a few places in windows backend
2009-08-25 17:23:23 -05:00
Doug Coleman
0ce57d0566
update new structs again
2009-08-25 16:31:58 -05:00
Joe Groff
f56615cec0
add an X-sequence mixin class for each specialized array type to span X-array, X-vector, and direct-X-array
2009-08-25 15:58:18 -05:00
Doug Coleman
2c6ef83c13
update compiler.tests.alien to joe's latest changes
2009-08-25 12:00:06 -05:00
Doug Coleman
b756a37d75
use new structs wherever possible in compiler tests
2009-08-25 11:59:33 -04:00
Doug Coleman
3a5c7d8908
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-25 09:33:42 -04:00
Slava Pestov
93adf617c0
windows.com.wrapper: crash fix
2009-08-25 05:02:50 -05:00
Slava Pestov
bb51ee8d26
help.vocabs: 'authors' and 'tags' weren't recursing like they should've been
2009-08-24 21:56:14 -05:00
Slava Pestov
c925724d7b
Improve destructors docs, fix bug where debug-leaks? wasn't being switched off
2009-08-24 21:44:48 -05:00
Slava Pestov
29b489c892
io.monitors: fixes for disposable protocol
2009-08-24 20:55:24 -05:00
Slava Pestov
7b6d00a833
alien.destructors: don't use disposable protocol, since it is common practice to 'leak' alien destructors (|Foo idiom)
2009-08-24 20:45:46 -05:00
Slava Pestov
8b68a07649
ui.pixel-formats: fix screwup
2009-08-24 20:45:19 -05:00
Slava Pestov
e44a0158e6
tools.destructors: leaks now tracks leaks globally
2009-08-24 20:45:06 -05:00
Slava Pestov
a2529717ba
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-24 20:34:15 -05:00
Slava Pestov
b2a1858f8f
Move a few more things over to new disposable protocol
2009-08-24 20:33:27 -05:00
Slava Pestov
623ddfca6f
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
2009-08-24 20:22:00 -05:00
Slava Pestov
b12bbaf7ec
tools.destructors: destructors. and leaks words now output a 'show instances' link which lists all relevant disposables
2009-08-24 20:21:38 -05:00
Slava Pestov
3be328056d
libc: use central disposables mechanism to track mallocs
2009-08-24 20:21:03 -05:00
Slava Pestov
197a64eaae
io.streams.duplex: fix test
2009-08-24 20:19:55 -05:00
Joe Groff
54ff361331
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-24 18:04:44 -05:00
Doug Coleman
16ad61021f
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-24 09:58:48 -04:00
Slava Pestov
46045c882e
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
2009-08-24 02:26:13 -05:00
Slava Pestov
e42216a569
tools.deploy.shaker: more compact next-method shaking
2009-08-23 19:18:12 -05:00
Slava Pestov
449be040f8
Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps
2009-08-23 19:07:21 -05:00
Slava Pestov
387007abfe
tools.deploy.shaker: fix regression; strip-compiler-classes wasn't working
2009-08-23 17:54:37 -05:00
Joe Groff
556adeb9b4
handle RGBA pngs (when inflate finally works)
2009-08-23 09:51:12 -05:00
Joe Groff
f93363567e
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-23 08:23:11 -05:00
Doug Coleman
71652d2826
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-22 21:27:26 -04:00
Doug Coleman
f18aef2afb
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-22 21:24:02 -04:00
sheeple
981e8470bf
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-22 20:24:01 -05:00
sheeple
b14dd8ab67
cpu.ppc: integer>fixnum scratch area overlapped with the rest of stack frame, very bad
2009-08-22 20:23:28 -05:00
Slava Pestov
f82627e736
math.intervals: comment out questionable unit tests
2009-08-22 19:39:32 -05:00
Slava Pestov
3979608b09
tools.deploy: faster default method stripping
2009-08-22 19:26:56 -05:00
Slava Pestov
44448c3ff6
iokit: don't depend on debugger, reduces terrain demo size by a bit
2009-08-22 19:02:40 -05:00
Slava Pestov
5e8e83c645
bootstrap.image: smarter object folding; 500kb boot image size reduction on 64-bit
2009-08-22 17:56:58 -05:00
Slava Pestov
d85b66536f
Add docs for break and B words
2009-08-22 17:45:18 -05:00
Slava Pestov
81b72cb5c5
Add some unit tests
2009-08-22 17:15:10 -05:00
Joe Groff
2d6622e5e9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-22 13:42:52 -05:00
Joe Groff
6f6edd79ac
combinators.smart: "keep-inputs" combinator
2009-08-21 21:17:15 -05:00
Slava Pestov
1961b4da16
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
2009-08-21 20:15:19 -05:00
Slava Pestov
2c533472f8
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-21 18:48:44 -05:00
Slava Pestov
9ab8734441
cpu.ppc: work in progress
2009-08-21 18:48:34 -05:00
Joe Groff
c6b9a45881
$deprecated help markup
2009-08-20 18:36:55 -05:00
Slava Pestov
5197aca215
compiler.cfg.dataflow-analysis: when intersecting sets, treat uninitialized sets as universal rather than empty; reduces number of stack instructions generated by 1%
2009-08-20 18:15:41 -05:00
Slava Pestov
49bd2228ec
compiler.tree.modular-arithmetic: fix regression; set-alien-*-1 was not always open-coded
2009-08-20 17:56:49 -05:00
Joe Groff
93c93a392b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-20 16:21:58 -05:00
Joe Groff
90f8cdc0d1
link tools.deprecation docs into handbook and error-list docs
2009-08-20 16:18:47 -05:00
Joe Groff
6ca45f07b4
load tools.deprecation from bootstrap.tools
2009-08-20 16:18:28 -05:00
Joe Groff
94c50cfaeb
install deprecation definition-observer as an init-hook
2009-08-20 16:18:06 -05:00
Joe Groff
6089251574
move deprecation to tools.deprecation; load with bootstrap.tools
2009-08-20 16:17:36 -05:00
Joe Groff
2760079b65
deprecation docs
2009-08-20 15:35:11 -05:00