Joe Groff
1c3ee6034a
change malloc-object back to using calloc
2009-08-29 15:28:31 -05:00
Samuel Tardieu
48ef66e45c
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
be82de6cfd
oops, forgot to update a struct
2009-08-29 14:37:09 -05:00
Doug Coleman
a4b7506401
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 14:30:55 -05:00
Doug Coleman
b4ccda4e5e
new structs in font rendering
2009-08-29 14:29:46 -05:00
Doug Coleman
33af60c618
fix io monitors
2009-08-29 14:28:00 -05:00
Doug Coleman
7bad32ae73
more structs
2009-08-29 13:45:25 -05:00
Doug Coleman
341dca1825
structs in calendar.windows
2009-08-29 13:39:48 -05:00
Doug Coleman
fc3d1fad0d
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 12:50:27 -05:00
Joe Groff
1d646c8231
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
711af71ca6
typo in alien.c-types docs
2009-08-29 12:23:09 -05:00
Joe Groff
ee4735eec9
update cocoa and core-foundation stuff to use classes.struct and boxed malloc-arrays
2009-08-29 12:22:55 -05:00
Joe Groff
3a06bfaf2d
deprecate <c-array>, and make malloc-array box its returned buffer in a direct array
2009-08-29 11:15:23 -05:00
Joe Groff
74235d1645
mark integer sequence methods as deprecated
2009-08-29 10:29:41 -05:00
Samuel Tardieu
89374e2a25
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 16:23:13 +02:00
Sascha Matzke
feb1a50912
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 12:48:54 +02:00
Slava Pestov
fa64522421
compiler.cfg.value-numbering: fix ##box-displaced-alien simplification
2009-08-28 19:05:49 -05:00
Slava Pestov
f30aa5d20e
compiler: add fixnum-min/max intrinsics; ~10% speedup on benchmark.yuv-to-rgb
2009-08-28 19:02:59 -05:00
Joe Groff
25e19a8eb4
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-28 10:40:30 -05:00
Joe Groff
6abaeeb953
add a terrain-generation benchmark so slava will make it fast
2009-08-28 10:40:01 -05:00
Slava Pestov
38e69d3b74
system-info.windows: fix load error
2009-08-28 05:38:29 -05:00
Slava Pestov
32657551fc
tools.deprecation: suppress 'computing usage index...' message
2009-08-28 05:32:34 -05:00
Slava Pestov
a53653bc00
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
b0d5fffd49
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-28 05:22:05 -05:00
Slava Pestov
ce02a430ad
benchmark.struct-arrays: new benchmark to measure performance of struct-arrays, struct classes, and floating point math
2009-08-28 05:21:54 -05:00
Slava Pestov
99bf9fadfb
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
Sascha Matzke
a18495efef
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-28 07:07:14 +02:00
Doug Coleman
475a2fd6e5
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:58:47 -05:00
Joe Groff
d155b44d51
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:51:15 -05:00
Joe Groff
64b59dcf1e
deprecate C-STRUCT:, C-UNION:, and old-school struct accessors
2009-08-27 21:51:08 -05:00
Slava Pestov
418e3ca126
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:49:47 -05:00
Slava Pestov
55b5b63b63
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
b70b6ae7da
more struct changes
2009-08-27 21:43:29 -05:00
Doug Coleman
76ee24f482
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:40:11 -05:00
Joe Groff
5cd24e5002
support { type dimension } c-type syntax in STRUCT: definitions
2009-08-27 21:39:43 -05:00
Joe Groff
3859579c72
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:17:17 -05:00
Joe Groff
a74a0151c3
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
482c632fe5
update RECT for new structs
2009-08-27 21:16:28 -05:00
Doug Coleman
a51c8d27f4
update WNDCLASSEX
2009-08-27 20:43:42 -05:00
Doug Coleman
abb34b5ea4
TRACKMOUSEVENT uses <struct> now
2009-08-27 20:39:37 -05:00
Doug Coleman
1df4ec0d83
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:36:19 -05:00
Doug Coleman
850475c2ab
newstructify PIXELFORMAT
2009-08-27 20:35:37 -05:00
Slava Pestov
41f65c45dc
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:30:08 -05:00
Slava Pestov
36b04676ae
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:30:15 -05:00
Slava Pestov
d4986fba10
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 20:29:28 -05:00
Slava Pestov
57bafa6860
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
dc951c4ad1
tools.deploy.test: give PowerPC an extra 100kb
2009-08-27 20:27:35 -05:00
Doug Coleman
c09b07baa3
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:53:46 -05:00
Joe Groff
8e85b5ef96
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:23:20 -05:00
Joe Groff
ee8c48bbb8
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