Commit Graph

50 Commits (0cc07ef41efe5a29d90403f0dccc65b51cc4ba9b)

Author SHA1 Message Date
slava 9e7af4d8b4 Clean up exception handling in callbacks 2006-02-23 07:09:34 +00:00
slava 84d24c4440 Runtime changes to support callbacks, and other cleanups 2006-02-13 07:46:07 +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 Pestov 29104bb40e fix powerpc relocation bug 2005-10-12 01:46:14 +00:00
Slava Pestov 29190ebc3e catch change, new cleanup word, with-server combinator 2005-09-21 00:18:01 +00:00
Slava Pestov fa1e1a4801 f throw no longer a no-op 2005-09-18 02:25:18 +00:00
Slava Pestov 2645eaf918 httpd fixes and socket timeout 2005-05-23 23:14:29 +00:00
Slava Pestov 055d116310 generational GC work 2005-05-12 05:02:39 +00:00
Slava Pestov cc5246686f some unix i/o work 2005-04-06 02:18:36 +00:00
Slava Pestov fccfd9b81a improved single-stepper offers option to continue execution of stepped continuation in primary interpreter 2005-03-21 00:05:57 +00:00
Slava Pestov 57559ee676 PowerPC work on conditionals and branches 2005-03-18 04:29:08 +00:00
Slava Pestov 5e5cc68fec error reporting hack 2005-03-15 21:50:08 +00:00
Slava Pestov 916f24d8fa I/O task GC fix 2005-03-07 05:39:57 +00:00
Slava Pestov b97f362201 hashcodes are now fixnums, added debug.c 2004-12-28 05:04:20 +00:00
Mackenzie Straight 97d77d0ecc Win32 sockets support 2004-12-27 11:56:05 +00:00
Slava Pestov c908e1920a kernel errors a bit better, inference cleanup 2004-12-26 06:42:09 +00:00
Slava Pestov 2909d9141a started type inference, and some bug fixes 2004-12-23 03:16:46 +00:00
Slava Pestov 80c116a7b4 renaming types to avoid clashing with win32 2004-12-11 02:46:42 +00:00
Slava Pestov 1aac0e1a7a started merging eiz's win32 port 2004-12-11 02:39:45 +00:00
Slava Pestov 46d15bc82c fix literal dataflow, other fixes 2004-11-29 02:56:58 +00:00
Slava Pestov a3bb6acf52 fixed signal handling, factoroids 2004-11-09 17:29:25 +00:00
Slava Pestov fb798e97fa a pile of bug fixes and improvements 2004-11-09 03:36:51 +00:00
Slava Pestov 5f5b0e131b datastack in ESI 2004-11-06 20:51:17 +00:00
Slava Pestov 7451cfb339 quit-responder fix, pointless and misguided type number rearrangement 2004-10-31 19:36:42 +00:00
Slava Pestov 00c4b2d09b various cleanups, better memory signal handler 2004-10-17 23:01:16 +00:00
Slava Pestov be8eb34102 memory management change, allocating primitives call gc directly 2004-10-13 03:49:43 +00:00
Slava Pestov c70b0cecf5 throw is primitive in CFactor, working on test suite 2004-10-03 20:07:48 +00:00
Slava Pestov f7fe2598dd start FFI 2004-09-18 22:15:01 +00:00
Slava Pestov fa79feb68a compiler compiles fib 2004-09-08 06:31:03 +00:00
Slava Pestov 29907bfdf1 more work on assembler 2004-09-07 05:34:10 +00:00
Slava Pestov 77bfc275a2 more compiler work, a few java factor fixes 2004-09-07 02:39:12 +00:00
Slava Pestov 80f80acb7b assorted enhancements, started 64-bit image output 2004-09-04 05:05:50 +00:00
Slava Pestov 5542e7c199 nicer multiply_fixnum; thanks The_Vulture 2004-09-03 22:49:04 +00:00
Slava Pestov 7a6d816ab0 Factor 0.64 2004-08-28 03:20:10 +00:00
Slava Pestov 64de158286 some miscellaneous error handling and bootstrapping cleanups 2004-08-23 06:15:10 +00:00
Slava Pestov c66ded6bf8 a profiler 2004-08-23 05:13:09 +00:00
Slava Pestov 2c5413cec5 fix redirect headers, postpone i/o errors until calling operation recovers them 2004-08-21 01:16:47 +00:00
Slava Pestov 5b24e99fc9 working on cfactor bootstrap 2004-08-20 22:48:08 +00:00
Slava Pestov 73a4e3e6c5 some plugin bug fixes, and implementing client sockets in cfactor 2004-08-18 19:23:42 +00:00
Chris Double 7b0d286102 Modified setjmp and friends to use setsigjmp to handle signals correctly
on linux.
2004-08-17 01:25:01 +00:00
Slava Pestov 171c890597 i/o refactoring continues 2004-08-16 01:50:44 +00:00
Slava Pestov 00dc2c9464 guard pages for stack, started io multiplexing 2004-08-12 21:36:36 +00:00
Slava Pestov 38835c2832 complex numbers in native factor, all of test suite except html and httpd tests runs in native factor 2004-08-06 22:40:44 +00:00
Slava Pestov de95f233de some progress towards self hosting 2004-07-31 18:58:16 +00:00
Slava Pestov 5542602156 working on 64-bit fake 'bignums' 2004-07-28 23:02:24 +00:00
Slava Pestov b8f516ab2c working on native I/O 2004-07-24 21:37:42 +00:00
Slava Pestov 253ce9cc1a CHAR: notation for literal chars, native parser work 2004-07-22 23:48:50 +00:00
Slava Pestov f2b186ffc7 some cleanup of run-file 2004-07-20 06:59:32 +00:00
Slava Pestov c8654c207d First import of Factor 0.60 2004-07-16 06:26:21 +00:00