Commit Graph

60 Commits (0cc07ef41efe5a29d90403f0dccc65b51cc4ba9b)

Author SHA1 Message Date
slava 2ec46c8483 Makefile changes 2006-03-20 00:59:45 +00:00
slava 79bcbff3ec Double-clicking Factor.app now works 2006-03-19 07:42:40 +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 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 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
Doug Coleman ace98260e3 Added a fix for sigaction(): now retries on recoverable error EINTR 2006-01-31 01:11:22 +00:00
Slava Pestov a5e14acaa3 fix a crash 2005-12-25 04:01:49 +00:00
Slava Pestov 58a3e3ed16 new alien>string and string>alien primitives; powerpc backend fixes 2005-12-12 23:51:45 +00:00
Slava Pestov 036d1f9673 bootstrap fix 2005-11-15 17:58:44 +00:00
Slava Pestov 9440f385e5 interruption checks get compiled now, fixnum/mod fixed on powerpc 2005-11-12 05:37:24 +00:00
Slava Pestov 9d2e4a77a6 fix another Mach-O FFI problem 2005-10-24 02:31:01 +00:00
Slava Pestov b15a262e54 implement mach exception handling 2005-10-24 00:50:29 +00:00
Slava Pestov b6e1569ef5 make panes a bit more flexible 2005-09-25 04:18:12 +00:00
Slava Pestov 9f0434f30f some UI tweaking 2005-09-25 03:21:09 +00:00
Slava Pestov 29190ebc3e catch change, new cleanup word, with-server combinator 2005-09-21 00:18:01 +00:00
Slava Pestov 60d78bc4f1 remove debug code 2005-09-06 00:34:04 +00:00
Slava Pestov 30f0dcf5b9 fix powerpc typo 2005-09-06 00:33:36 +00:00
Slava Pestov 979225805e images referencing libraries that could not be found no longer fail to load 2005-08-15 19:34:00 +00:00
Slava Pestov bc95e906a3 better low memory barrier handling 2005-06-16 22:50:49 +00:00
Slava Pestov bf821880ab removed profiler because it sucks 2005-06-15 20:34:16 +00:00
Slava Pestov 69334b2043 various cleanups, and a new register class concept in preparation for float parameters in PowerPC FFI 2005-06-14 09:01:07 +00:00
Slava Pestov 01e7a2a820 further PowerPC fixes 2005-06-08 08:49:05 +00:00
Slava Pestov 46569a782b debugging generational GC 2005-05-12 07:52:56 +00:00
Slava Pestov 055d116310 generational GC work 2005-05-12 05:02:39 +00:00
Slava Pestov 056af41552 more generational GC work 2005-05-11 04:43:52 +00:00
Slava Pestov 16c95ca373 starting generational GC 2005-05-11 02:30:58 +00:00
Slava Pestov c15c1e3dd8 renaming c_stream_error to io_error 2005-05-01 18:30:53 +00:00
Slava Pestov 356af39cc6 truncate/floor/ceiling words; stop-httpd word fixed; accept did not yield properly 2005-04-30 04:43:39 +00:00
Slava Pestov 6e253bb8bb logging and unix socket fixes 2005-04-25 03:02:19 +00:00
Slava Pestov 3ab8c7cf47 removing cfactor I/O code; unix ffi I/O socket code fixes 2005-04-23 00:09:46 +00:00
Slava Pestov 9e678e52c7 accessing global variables with FFI 2005-03-30 00:11:10 +00:00
Slava Pestov 41cd52316a messing around with ffi, various other fixes 2005-03-29 04:45:13 +00:00
Mackenzie Straight 3c10cc9b22 rename types 2005-03-22 01:59:30 +00:00
Slava Pestov 916f24d8fa I/O task GC fix 2005-03-07 05:39:57 +00:00
Slava Pestov c4da07c80d halos 2005-03-04 01:43:55 +00:00
Slava Pestov ba492a60d8 built in type slot meta refactoring; string capacity is now a tagged slot; references word 2005-02-21 00:03:37 +00:00
Slava Pestov 3bf3e13f2e register declarations for powerpc 2005-02-20 04:25:21 +00:00
Slava Pestov a22dffcd62 UI fixes 2005-02-15 23:05:28 +00:00
Mackenzie Straight 88ba22ff6c Win32 version ported to gcc, eliminate MSVC hacks, add gcc hacks 2005-02-08 22:05:08 +00:00
Slava Pestov 0dfb0cf01e array refactoring; started hashtable refactoring 2005-01-26 00:40:57 +00:00
Slava Pestov b5801f45dd faster generic arithmetic, messing around with inference 2005-01-16 22:58:28 +00:00
Slava Pestov 8247cc5ff4 renumbering some types and other cleanups 2005-01-15 00:51:38 +00:00
Slava Pestov 6ac8fdb22f executing global was not GC'd 2004-12-31 07:38:58 +00:00