slava
8eca428594
Huge compiler patch; two new fixnum-fast and fixnum+fast primitives which do not perform overflow checks
2006-04-24 21:52:03 +00:00
slava
0989004dd2
Minor launcher fixes
2006-04-09 23:14:30 +00:00
slava
52e4f4e991
Change Windows OS detection
2006-03-27 02:07:23 +00:00
slava
ca0ec4afaf
Changed alien constructor behavior, new-style string mode parsing for C enums and unions (C-ENUM: and C-UNION: words)
2006-03-27 00:47:51 +00:00
erg
ab97dccc66
win32 runtime fix for dealloc_bounded_block
2006-03-25 08:56:01 +00:00
slava
2ec46c8483
Makefile changes
2006-03-20 00:59:45 +00:00
slava
d87a0dffc2
Clean up Factor.app stuff
2006-03-19 20:43:40 +00:00
slava
79bcbff3ec
Double-clicking Factor.app now works
2006-03-19 07:42:40 +00:00
slava
1f63f15ade
Strip out SDL from the build process
2006-03-13 03:46:50 +00:00
slava
edfee7c3a3
Fix Objective C exception handling instability
2006-03-18 03:15:16 +00:00
slava
fe28ef4ec6
cards_offset register was being clobbered, leading to runtime crashes from callback use
2006-03-14 06:22:49 +00:00
slava
58de0364b0
Fix callback tests
2006-03-11 08:26:55 +00:00
slava
7bc7c86c56
Fix some runtime bugs
2006-03-11 08:17:24 +00:00
slava
c30f2f30f4
Value type struct inputs, for PowerPC
2006-03-11 03:16:46 +00:00
slava
f305c6a252
Fleshed out Cocoa subclassing
2006-03-09 06:44:17 +00:00
slava
9873d6285c
Update x86 and AMD64 backends for assembler changes
2006-02-24 01:29:53 +00:00
slava
3c2d412dac
Experimental x86 assembler refactoring
2006-02-24 00:01:12 +00:00
slava
9e7af4d8b4
Clean up exception handling in callbacks
2006-02-23 07:09:34 +00:00
slava
5e41efe8e2
Fix callframe loss
2006-02-23 06:33:15 +00:00
erg
a452f95788
windows ffi test fix
2006-02-21 23:55:42 +00:00
slava
3a3a1e602d
Completed support for UTF16 string inputs/outputs in alien interface
2006-02-21 21:42:56 +00:00
slava
09ca1c3642
Fix callbacks with lots of parameters
2006-02-20 22:49:44 +00:00
erg
579d8d2c5a
DLLEXPORT unbox_value_struct
2006-02-20 19:27:45 +00:00
erg
7fa831d2c4
ffi fix for windows[D[D[D[D[D[D[D[D[D[D[D[D[D[C[Cand dealloc_bounded_block for windows
2006-02-20 07:13:02 +00:00
slava
75d3509c09
maybe_gc() takes an argument; compile-gc didn't take this into account
2006-02-20 05:27:22 +00:00
slava
3b2b86e1a2
Don't run out of memory from boxing objects in FFI
2006-02-20 04:08:00 +00:00
slava
c2140920bd
renumber types, Objective-C exception handling
2006-02-20 03:08:08 +00:00
slava
4990bade15
Merge alien and displaced-alien types, assorted cleanups
2006-02-20 01:53:18 +00:00
erg
a82c9f2d09
safe_malloc
...
added-safe malloc to misc.c
added return check of VirtualAlloc()
2006-02-19 21:27:53 +00:00
slava
30ec4e75a9
Fix typo in ffi tests
2006-02-19 06:46:11 +00:00
slava
6189450318
More callback tests
2006-02-19 06:33:34 +00:00
slava
531dab7806
Implemented returning values from callbacks
2006-02-15 04:23:08 +00:00
slava
827df2d5d2
Added (presently failing) test for spilled arg callback
2006-02-14 22:27:28 +00:00
slava
d584e8c0bb
Basic callback unit tests pass
2006-02-14 03:47:42 +00:00
slava
90b10f1cfd
(Temporarily) add unnest_stacks() call
2006-02-14 03:31:50 +00:00
slava
2d1ef84911
Further work on callbacks
2006-02-14 03:20:39 +00:00
slava
1b5b692220
Fix FFI register clobberage and broken call stack semantics from recent runtime change
2006-02-13 22:57:20 +00:00
slava
8b74f721b5
Nullary callbacks are working
2006-02-13 22:16:34 +00:00
slava
3173747fb5
Various fixes for recent callback-related runtime changes
2006-02-13 21:00:21 +00:00
slava
84d24c4440
Runtime changes to support callbacks, and other cleanups
2006-02-13 07:46:07 +00:00
slava
1f153c24b2
Starting work on callbacks
2006-02-11 07:30:18 +00:00
slava
dc3f4b2efb
Cocoa binding improvements
2006-02-10 03:11:22 +00:00
slava
44f2cc04ef
Fix compile error
2006-02-09 03:15:23 +00:00
slava
3d5e96172f
Clean up out of memory handler
2006-02-09 03:12:20 +00:00
slava
b861c09e9f
Clean up AGL's patch
2006-02-08 00:09:46 +00:00
agl
d088a97f82
Add data/return stack under/over flow checks for POSIX
...
This adds extra errors:
#define ERROR_STACK_UNDERFLOW (12<<3)
#define ERROR_STACK_OVERFLOW (13<<3)
#define ERROR_RETSTACK_UNDERFLOW (14<<3)
#define ERROR_RETSTACK_OVERFLOW (15<<3)
On unix the data and return stacks have poison pages above and below them in
memory. This patch adds checks to the sigv signal handler which checks to see
if the faulting address is in one of these pages and, if so, triggers the
correct error.
To see:
: data-overflow 1 2 3 data-overflow ;
: ret-underflow V{ } set-callstack r> ;
: ret-overflow 1 >r ret-overflow ;
(to test data-underflow just call + with an empty stack)
AGL
2006-02-07 22:29:36 +00:00
slava
f353ea347b
Minor Windows build fixes
2006-02-07 19:37:32 +00:00
slava
ac68a16492
FFI now supports passing structs by value
...
So far, this is only supported on PowerPC.
2006-02-06 06:43:59 +00:00
slava
9e5b6424a1
Initial revision
2006-02-01 02:31:53 +00:00
Slava Pestov
2acb28ae0c
Solaris/x86 support
2006-01-31 19:31:31 +00:00