Commit Graph

42 Commits (0cc07ef41efe5a29d90403f0dccc65b51cc4ba9b)

Author SHA1 Message Date
slava c2140920bd renumber types, Objective-C exception handling 2006-02-20 03:08:08 +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 29190ebc3e catch change, new cleanup word, with-server combinator 2005-09-21 00:18:01 +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 2645eaf918 httpd fixes and socket timeout 2005-05-23 23:14:29 +00:00
Slava Pestov 6e253bb8bb logging and unix socket fixes 2005-04-25 03:02:19 +00:00
Slava Pestov 57559ee676 PowerPC work on conditionals and branches 2005-03-18 04:29:08 +00:00
Slava Pestov 916f24d8fa I/O task GC fix 2005-03-07 05:39:57 +00:00
Slava Pestov 1fe16b1a6c eliminate library/primitives.factor 2005-02-18 02:19:27 +00:00
Slava Pestov 2909d9141a started type inference, and some bug fixes 2004-12-23 03:16:46 +00:00
Slava Pestov f9ba944fde string>memory and memory>string primitives 2004-12-20 02:07:17 +00:00
Slava Pestov 80c116a7b4 renaming types to avoid clashing with win32 2004-12-11 02:46:42 +00:00
Slava Pestov a3bb6acf52 fixed signal handling, factoroids 2004-11-09 17:29:25 +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 6ed8e58242 local aliens 2004-09-22 02:58:54 +00:00
Slava Pestov 436c2f85f5 rewrote generic arithmetic in factor 2004-09-19 04:33:40 +00:00
Slava Pestov f7fe2598dd start FFI 2004-09-18 22:15:01 +00:00
Slava Pestov 77bfc275a2 more compiler work, a few java factor fixes 2004-09-07 02:39:12 +00:00
Slava Pestov 7f16568a49 clean up bignum cached constants 2004-08-29 05:04:42 +00:00
Slava Pestov e0590377ff fix various memory corruption issues 2004-08-27 06:09:24 +00:00
Slava Pestov c78b0a099a inferior.factor is usable for real work 2004-08-24 22:01:36 +00:00
Slava Pestov c66ded6bf8 a profiler 2004-08-23 05:13:09 +00:00
Slava Pestov b23622f947 better error reporting in native factor 2004-08-23 03:02:29 +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 73a4e3e6c5 some plugin bug fixes, and implementing client sockets in cfactor 2004-08-18 19:23:42 +00:00
Slava Pestov 05a44aa547 signal handling of sorts 2004-08-17 01:05:38 +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 0b73b1c864 Factor jEdit plugin! 2004-08-06 06:51:32 +00:00
Slava Pestov de95f233de some progress towards self hosting 2004-07-31 18:58:16 +00:00
Slava Pestov b8f516ab2c working on native I/O 2004-07-24 21:37:42 +00:00
Slava Pestov a545665c7f started server sockets for native factor 2004-07-23 22:52:08 +00:00
Slava Pestov d0cab962c0 prettyprinter recursion limit; better inspector 2004-07-23 05:21:47 +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