Commit Graph

1344 Commits (0bb9e1df300fc01516e8e9e21c83b39e8b79b1d0)

Author SHA1 Message Date
slava 0bb9e1df30 Fix infinite loop with unterminated ( 2006-02-21 23:33:16 +00:00
slava 4ae3b85dbf Bootstrap fix and AMD64 tweak 2006-02-21 23:12:00 +00:00
slava 09ca1c3642 Fix callbacks with lots of parameters 2006-02-20 22:49:44 +00:00
slava 6cfd968ea4 comment out problematic unit test 2006-02-20 06:04:59 +00:00
slava be66f57b92 AMD64 callbacks support 2006-02-20 05:55:38 +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 d8466f6bc6 Fix Win32 I/O FEP 2006-02-20 04:16:25 +00:00
slava 3b2b86e1a2 Don't run out of memory from boxing objects in FFI 2006-02-20 04:08:00 +00:00
slava 5c637e05f3 Throw an error if a CF bundle could not be loaded 2006-02-20 03:51:55 +00:00
slava 6d3657ece1 Support Objective C messages returning structs by value 2006-02-20 03:47:07 +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
slava 49257f2498 x86 floating point parameter stack usage fix 2006-02-19 21:34:58 +00:00
slava 68071fedab Minor win32 I/O cleanup 2006-02-19 21:17:09 +00:00
slava ff4d87161c Fix bootstrap on win32 2006-02-19 21:02:52 +00:00
slava 6980d1ce44 Test fixes 2006-02-19 06:35:14 +00:00
slava 6189450318 More callback tests 2006-02-19 06:33:34 +00:00
slava 58143c8226 Further x86 alien fixes; callbacks now work 2006-02-18 23:39:23 +00:00
slava 096513609a x86 alien work 2006-02-18 06:58:08 +00:00
slava 85eaa1e193 Fix AMD64 bootstrap failure 2006-02-15 05:25:15 +00:00
slava 92db0f8343 Updated alien interface for x86 2006-02-15 05:20:35 +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 b3a3124566 Bootstrap fix for PowerPC 2006-02-14 03:50:26 +00:00
slava d584e8c0bb Basic callback unit tests pass 2006-02-14 03:47:42 +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 84d24c4440 Runtime changes to support callbacks, and other cleanups 2006-02-13 07:46:07 +00:00
slava adf0ffeae9 Fix bootstrap problem 2006-02-13 04:38:29 +00:00
slava e6bc188bad Cleanup 2006-02-11 07:34:33 +00:00
slava 1f153c24b2 Starting work on callbacks 2006-02-11 07:30:18 +00:00
slava ecf9010f6d Fix PDFKit demo 2006-02-10 03:35:28 +00:00
slava dc3f4b2efb Cocoa binding improvements 2006-02-10 03:11:22 +00:00
slava 10df681132 Working on Cocoa bindings 2006-02-10 01:36:11 +00:00
slava 21af22aa5b Moving Cocoa bindings 2006-02-10 01:34:49 +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 7e14e38cc0 Debugging Cocoa bridge 2006-02-07 03:58:18 +00:00
slava 5e5fd021c2 Fix a typo in alien unit test 2006-02-07 02:52:25 +00:00
slava 85b6ea9280 Auto-discovery of Objective-C methods 2006-02-07 02:51:04 +00:00
slava cc1c072cb6 Formatting fix 2006-02-06 21:31:43 +00:00
slava a0b10e42fa Fix file-responder directory listing problem 2006-02-06 19:31:54 +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
microdan 149ce89d0b default resource-path 2006-02-03 21:07:25 +00:00
slava 4c5e65d213 Fix a pair of race conditions in the Unix I/O code 2006-02-04 07:19:45 +00:00
slava 16f54dfde6 little C streams cleanup 2006-02-04 01:01:31 +00:00
slava e9f73af344 Fix inspector problem with empty hashtables 2006-02-03 18:20:22 +00:00
slava 130a5a5962 Bootstrap fix and little cleanup 2006-02-02 20:51:12 +00:00
slava ebcac67995 Fix inspector error with empty hashtable 2006-02-02 05:30:03 +00:00