Commit Graph

238 Commits (49e769e48ceeff88dc4b5fe9db34d8577af645da)

Author SHA1 Message Date
U-3ADF\Administrator 544c2370cf Fix SEH and USING: errors on windows nt 2007-09-25 10:37:45 +02:00
Slava Pestov b9ada9413f New icons from Elie 2007-09-24 15:34:17 -04:00
U-C4\Administrator 5e663a91d8 Try to get Windows NT bootstrapping with the latest compiler changes
SEH is broken
2007-09-23 23:52:58 -05:00
Slava 64e3e0c0d6 Fix callstack relocation 2007-09-22 18:56:27 -04:00
Slava Pestov 05e66a0659 Remove dead code; code_fixup stack frame return addrs 2007-09-22 17:17:37 -04:00
Slava Pestov 77d8a844f3 Untested Linux/x86 support 2007-09-22 04:00:22 -04:00
Slava Pestov 34465cf837 Remove debug message 2007-09-22 03:26:09 -04:00
Slava Pestov dacab19574 AMD64 fixes 2007-09-22 03:09:18 -04:00
Slava Pestov 136e249f6d x86-64 fixes 2007-09-22 02:28:49 -04:00
Slava Pestov 7b45efc69d VM fixes for Linux/x86-64 2007-09-22 00:28:55 -04:00
Slava 88cdd6ca9c Mac Intel compile fix 2007-09-22 00:13:01 -04:00
Slava Pestov 5d01a369e4 Update Config.* fixes (???) 2007-09-22 00:03:47 -04:00
Slava 6dc28869ce More build system work 2007-09-22 00:44:27 -04:00
Slava 2892083014 Merge branch 'master' of git://factorcode.org/git/factor 2007-09-22 00:41:36 -04:00
Slava 7475278aea Build system cleanup 2007-09-22 00:41:17 -04:00
Slava Pestov ae74818efa x86 fixes 2007-09-21 23:56:34 -04:00
Slava Pestov 3a1d458b29 More changes 2007-09-21 23:30:47 -04:00
Slava e2c65cbc2d FreeBSD/x86 support 2007-09-21 23:44:13 -04:00
Slava Pestov 7ff85dd33e Clean up x86 support code 2007-09-21 22:56:01 -04:00
Slava Pestov 1ba96d255b Tweak asm.h for Mac Intel 2007-09-21 16:55:55 -04:00
Slava d1b70d8b13 Mac OS X/x86 fixes 2007-09-21 16:43:55 -04:00
Slava 8c022cced5 Updates for Intel Mac 2007-09-20 19:17:17 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00
slava 1f8fa2c531 Fixes 2006-11-14 21:59:20 +00:00
slava 761dab4188 Fix sig11 when dividing large bignums 2006-11-09 23:10:02 +00:00
slava 7ee2128ff0 numbers-game has MAIN:, image loading cleanup 2006-11-09 03:13:33 +00:00
slava 75ee6ac549 PPC inline allocators almost working 2006-11-08 23:21:58 +00:00
slava d54e3baac8 First cut at bignum inline allocators 2006-11-07 05:22:34 +00:00
slava 7642d69352 Fix typo in fixnum* primitive 2006-11-07 23:04:16 +00:00
slava 4ee7c02798 Typo: box_float instead of box_double in floating point primitives 2006-11-04 22:04:22 +00:00
slava 48b288ceb9 Fix code heap saving if the last block in the heap is allocated 2006-11-04 21:51:18 +00:00
erg 6d3996ccfb fix win32 runtime compile errors 2006-11-04 16:52:57 +00:00
slava 861a6d32cf alien-invoke no longer generates calls to consing unbox_* functions -- instead we just unbox the parameter list first, in factor code 2006-11-03 21:39:37 +00:00
slava ab68570cc1 Fix callstack overflow handling 2006-11-03 21:14:53 +00:00
slava 4a8d65ccce Refactored the C type system in the alien interface and fixed some bugs 2006-11-03 08:54:30 +00:00
slava 726710a949 alien>char/u16-string primitives now work correctly if the input is a byte array 2006-11-03 05:37:51 +00:00
slava fada38fe0a Cleaning up windows code 2006-11-03 02:28:44 +00:00
slava 56f8f84751 More allot_* cleanups 2006-11-02 23:29:11 +00:00
slava 372872e41d Simplify implementation of /f word 2006-11-02 08:12:23 +00:00
slava a712af05a4 Update bignum code for allot_* changes 2006-11-02 08:00:02 +00:00
slava bf453cc1e2 Fix compile error 2006-11-01 19:30:33 +00:00
slava b571e6fb0d Remove unused environment slot and simply room primitive 2006-11-01 19:29:58 +00:00
slava 0e2871679a Don't use retain stack for extra roots 2006-11-01 05:20:49 +00:00
slava 3cdac5982d Big VM type renaming; add secure GC which wipes the heap after every collection (but really this is only for debugging local variable roots) 2006-11-01 04:20:34 +00:00
slava 780dfcc5d5 Fix unit test failures caused by stricter numeric coercion rules 2006-11-01 03:54:35 +00:00
slava 40ff6c6d3b >fixnum >bignum >float primitives split up into smaller sub-primitives and are now generic words in the library 2006-11-01 01:29:11 +00:00
slava 14a605498d More GC work 2006-10-31 21:45:12 +00:00
slava b116ab3c25 More allot_* work 2006-10-31 20:48:34 +00:00
slava 65128e6af3 Remove unused function from runtime 2006-10-31 06:04:02 +00:00
slava f485a7ecd4 Fix two minor issues found during review of allot_* patch 2006-10-31 06:00:43 +00:00
slava 415fe0a4a8 allot_* overhaul 2006-10-31 05:52:02 +00:00
slava 7e094f890c string>float primitive should not throw an error on invalid input (non-ASCII strings) 2006-10-30 02:34:10 +00:00
slava 5bb98d28d9 Add some failing unit tests 2006-10-30 02:21:48 +00:00
slava 5ca46b1a30 Slightly more compact relocation info 2006-10-25 00:26:32 +00:00
slava a74b452994 Config.linux.amd64 fix 2006-10-22 21:45:36 +00:00
slava 97f22b07ea Compile fix for 64-bit distros which put 64-bit libraries in lib64 2006-10-21 20:01:02 +00:00
erg 3b88353ff4 fix win32 directory primitive 2006-10-20 01:18:41 +00:00
erg 72ba2c98c5 better FFI error reporting 2006-10-18 21:16:37 +00:00
slava f7d4815d2e Better word hashing, working on class vtable dispatch 2006-10-17 06:44:05 +00:00
slava b5039442ab Automatically invoke code GC 2006-10-16 21:43:11 +00:00
slava 1398494f1d Remove integer-slot and set-integer-slot primitives, add word-xt primitive 2006-10-15 23:01:07 +00:00
slava 12d596d1e6 Windows SEH fix 2006-10-15 04:10:54 +00:00
slava c55e88356e Officially support running the X11 UI on Mac OS X 2006-10-14 04:48:59 +00:00
slava 341caf245c Interface builder menu bar not works 2006-10-14 02:49:14 +00:00
slava 99e4607178 Intel Mac exception handler fix 2006-10-02 05:11:56 +00:00
slava d505cf6b50 Saving the image performs a code GC 2006-09-29 20:27:03 +00:00
slava af9fd751a9 Debugging the code GC 2006-09-28 04:04:34 +00:00
slava 25e8988b86 Code heap debugging in FEP 2006-09-28 00:53:54 +00:00
slava fc0cea8e42 Replace compiled? primitive with compiled? word slot 2006-09-27 07:11:18 +00:00
slava 155cb7f3be Unmark marked blocks after code GC 2006-09-26 23:04:30 +00:00
slava 97a5436c61 New code-gc primitive 2006-09-26 23:00:41 +00:00
slava 39d363f265 Runtime code cleanups, implemented mark and sweep code GC 2006-09-26 22:44:18 +00:00
slava f55cfd918a Image save doesn't write the large free block at the end 2006-09-26 21:22:04 +00:00
slava 003d7cc91b Fix O(n^2) icache flush 2006-09-26 20:42:29 +00:00
slava 2196f3721b Fix room. 2006-09-26 05:08:05 +00:00
slava 7fbb1ae671 Code heap manager fixes 2006-09-25 06:47:56 +00:00
slava 4ede62e67b Starting mark sweep collector for code 2006-09-25 02:29:52 +00:00
slava 4b0d95d9e6 VM code cleanups 2006-09-24 19:28:44 +00:00
slava 459680c543 Increase default heap size 2006-09-04 01:15:25 +00:00
slava ccc0439b08 Small fixes, including x86 compiler failure 2006-09-02 19:57:29 +00:00
slava 1d7c563676 Fix 'bad XT' error 2006-09-02 05:58:23 +00:00
slava 4ba810d7f7 PowerPC icache bug 2006-09-11 04:12:42 +00:00
slava d48471c4bc alien-indirect now works on PowerPC; changed callback tests to use it and removed some test functions from runtime 2006-09-09 05:04:55 +00:00
slava 5a75f752b5 Non-local exit hook to make the stepper more reliable when continuations are flying around 2006-09-07 21:14:35 +00:00
slava dc8f6d703a Handle code heap exhaustion with a critical error, instead of sig11 + corrupt image 2006-09-05 23:10:42 +00:00
slava 6076d3f0e0 .app doesn't store resources anymore 2006-08-28 08:03:09 +00:00
slava 76e965d493 Move libm primitives to alien calls in library 2006-08-26 07:20:37 +00:00
slava d8567020fb loading the image should not exhaust nursery space 2006-08-24 02:56:39 +00:00
slava df5f7cc4df Small fixes 2006-07-26 04:38:19 +00:00
slava e3da107934 Runtime cleanup 2006-07-24 05:22:11 +00:00
slava 83e07c3093 Slight continuations cleanup 2006-07-24 04:41:27 +00:00
slava 53d61c188d Foo 2006-08-15 08:58:18 +00:00
slava f15e657631 Stack effect declaration fixes 2006-08-15 08:57:12 +00:00
slava fbddcdcca0 Mac OS X Intel compile fixes 2006-08-12 21:34:46 +00:00
slava 61e1dff787 Automatically recompile words when files are loaded 2006-08-11 20:55:43 +00:00
slava 2b2b4a9f22 Fix label handling in compiler 2006-08-10 04:14:43 +00:00
slava 40fdffe7fb Fix another typo 2006-08-09 22:50:36 +00:00
slava ed3424a0a1 Fix os-macosx-x86.h 2006-08-09 22:48:36 +00:00
slava 40e3a2a063 finalize-compile now takes an alist of xts; fix ppc %dispatch 2006-08-09 22:09:10 +00:00
slava 525687bc2b More compiler work; literal table fixes, relocation fix 2006-08-09 21:19:33 +00:00
slava 3b2d14c4c0 GC now scans literal data area 2006-08-09 20:15:27 +00:00
slava 25fc2f8af5 More generator/relocator fixes 2006-08-09 07:25:15 +00:00
slava 00d970cf15 Compiled code labels are now first-class 2006-08-09 06:12:01 +00:00
slava 251f12448f Big redesign of the compiler/runtime interface 2006-08-08 05:38:32 +00:00
slava b0b6da4f86 Minor tweaks 2006-08-07 00:31:52 +00:00
slava e12fba4b0e more relible mach exception code 2006-08-05 22:10:01 +00:00
erg de985de385 win32 seh paranoia unnecessary 2006-08-03 22:34:42 +00:00
erg 0a8ac653de win32 paranoia in seh handling 2006-08-03 22:17:24 +00:00
erg d205fc3808 fix some win32 seh compile warnings 2006-08-03 22:06:43 +00:00
slava 7517e389e0 Removed some code duplication between the Unix and Windows memory protection error handlers 2006-08-03 21:00:33 +00:00
erg 84655013c3 \r\n -> \n 2006-08-03 18:40:13 +00:00
erg 48daad545e win32 seh changes 2006-08-03 18:27:34 +00:00
slava f5450b045b char* types in FFI calls can no longer accept null pointers 2006-07-31 21:39:58 +00:00
slava e5abd93601 Simplify runtime's GC and relocation code 2006-07-31 21:36:15 +00:00
slava 32cc5849ba Foo 2006-07-28 05:17:05 +00:00
slava 15a7fa070a Another makefile fix 2006-07-28 05:16:08 +00:00
slava 995aa94d7c FreeBSD build fix 2006-07-21 22:32:41 +00:00
erg 87cd9febc7 removed windows formatting 2006-07-14 05:42:13 +00:00
erg 3f074308f5 win32 updates 2006-07-14 05:40:13 +00:00
slava d1d2507d31 Build fixes 2006-07-10 05:09:31 +00:00
slava 767c0836d4 Fix typos 2006-07-07 07:46:05 +00:00
slava d2bd5e9912 Remove C++ style commends 2006-07-07 04:19:59 +00:00
slava ca54e6b32b Missing file 2006-07-07 04:18:40 +00:00
slava c5a6f75488 Eliminate another #ifdef 2006-07-07 04:15:31 +00:00
slava 8d60d0f9c9 Build system fixes 2006-07-07 04:03:10 +00:00
slava 6d21c52ac9 Big runtime cleanup 2006-07-07 04:07:18 +00:00
slava c3a891b58c Mac OS X Intel signal handling fixes 2006-07-06 21:45:34 +00:00
slava 6a862a9696 Add support for 8-byte struct returns, Mac OS X Intel style 2006-07-06 07:04:58 +00:00
slava e8f3b4a0ad Fix PowerPC compile error 2006-07-04 21:25:23 +00:00
slava fe48d6452b Intel Mac OS X ABI code progress 2006-07-04 06:04:33 +00:00
slava 52d7f4b32a Get Factor to compile on OS X/Intel 2006-07-03 03:41:13 +00:00
slava f2ddbae4ac Command line handling cleanup 2006-07-02 22:51:57 +00:00
slava 5c8982c50c Tweak error reporting 2006-06-27 07:40:07 +00:00
slava c6718ba8c9 A simple fix for a subtle problem 2006-06-14 04:35:02 +00:00
slava f6b3681078 Remove some obsolete debugging code 2006-06-13 20:05:54 +00:00
slava 0f34d6ecec add-literal fix 2006-06-13 20:02:09 +00:00
slava 27d3728af3 Fix a runtime string hashing bug 2006-06-09 22:22:37 +00:00
slava 8ad4909c7a Since 'native Factor' is no longer a meaningful term like it was back in the JFactor days, rename native/ to vm/ 2006-06-06 23:56:01 +00:00