Commit graph

1279 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
8c0314022c Added support for new kind of break environment that will be needed to debug C-compiled code. 2009-06-08 11:49:19 +02:00
Juan Jose Garcia Ripoll
a834902181 Use a different unreadable printed form for bytecode-closures than for ordinary bytecode expressions. 2009-06-07 18:32:28 +02:00
Juan Jose Garcia Ripoll
dcfa4d2247 Forgot to save the interpreter environment before unoptimized calls (found out by JCB) 2009-06-07 18:27:44 +02:00
Juan Jose Garcia Ripoll
747652ed34 Compiled functions now carry information about their source file (based on code by JC Beaudoin) 2009-06-07 14:24:49 +02:00
Juan Jose Garcia Ripoll
f682dda3f4 Functions can now carry information about the source file and its position. 2009-06-07 01:14:16 +02:00
Juan Jose Garcia Ripoll
a671b57160 Some functions got new names: ecl_make_cfun, ecl_make_cfun_va, ecl_make_cclosure_va, ecl_def_c_function, ecl_def_c_function_va. 2009-06-07 00:32:33 +02:00
Juan Jose Garcia Ripoll
77cde5c2f8 Several fixes for various compiler warnings. 2009-06-07 00:02:49 +02:00
Juan Jose Garcia Ripoll
98ec5e960b Remove useless statements (ihs_push is done by ecl_interpret) 2009-06-06 22:12:15 +02:00
Juan Jose Garcia Ripoll
c6f88f754a Allow the user to change the signal number which is used for thread communication. 2009-06-06 22:10:01 +02:00
Juan Jose Garcia Ripoll
5008fdd45f Big patch for introducing NaNs and infinities. 2009-06-04 15:55:13 +02:00
Juan Jose Garcia Ripoll
f85eb932cc Avoid race conditions and data loss between the creation of a process and the actual thread being started. 2009-06-01 16:41:22 +02:00
Juan Jose Garcia Ripoll
b17e932972 Added support for the floating point exception FE_INVALID, which is signalled when trying to do 0/0 or sqrt(-1) (A. Gavrilov) 2009-06-01 14:44:11 +02:00
Juan Jose Garcia Ripoll
2b7a47bab7 Fixed typo 2009-05-23 20:23:43 +02:00
Juan Jose Garcia Ripoll
c6316ebae3 Simplify a bit the finalization routine 2009-05-23 20:22:30 +02:00
Juan Jose Garcia Ripoll
cc8be23678 Fixed typo that prevented ECL from recognizing EOF after an interrupt stopped an i/o operation (file.d) 2009-05-23 16:10:42 +02:00
Juan Jose Garcia Ripoll
94725152ce Fix Boehm-Weiser gc so that we can use our mprotect() mechanism for deferring signals together with B-W's memory protection and generational garbage collector. 2009-05-23 15:53:30 +02:00
Juan Jose Garcia Ripoll
82f27b15c0 Better name for the macro that generates signal handler prototypes (unixint.d) 2009-05-23 12:23:00 +02:00
Juan Jose Garcia Ripoll
762a948889 Fixed typo in SIGBUS message (unixint.d) 2009-05-23 12:20:43 +02:00
Juan Jose Garcia Ripoll
17b480b3f2 Only allocate the safety region when max_heap_size = 0 2009-05-21 12:47:11 +02:00
Juan Jose Garcia Ripoll
3b02b09ff6 Remove unused #ifdef statement in alloc_2.d 2009-05-20 22:44:31 +02:00
Juan Jose Garcia Ripoll
005d901521 Remove unused statement. 2009-05-20 22:43:54 +02:00
Juan Jose Garcia Ripoll
6f6868019a Remove the last explicit check for out of memory condition. 2009-05-20 22:39:34 +02:00
Juan Jose Garcia Ripoll
2c8690bf58 Out of memory errors are now somewhat restartable. 2009-05-20 22:03:58 +02:00
Juan Jose Garcia Ripoll
a692c9c50f We had introduced redundant lines: si_{set,get}_limit already had support for changing the heap size. 2009-05-20 20:11:52 +02:00
Juan Jose Garcia Ripoll
42fdda5e1c Whenever isfinite is not defined, use finite(). Additionally, in Solaris, load ieefp.h before using this macro. 2009-05-20 19:29:16 +02:00
Juan Jose Garcia Ripoll
cd04aa7d21 Set the value of cs_limit in units of bytes, not sizeof(int). Add to EXT:SET-LIMIT the ability to set the heap size 2009-05-19 23:53:52 +02:00
Juan Jose Garcia Ripoll
2a8894ff57 Use the value of CPPFLAGS when building dpp 2009-05-18 17:24:35 +02:00
Juan Jose Garcia Ripoll
91d17a676d All pathnames print readably, even those without a physical namestring 2009-05-02 14:36:21 +02:00
Juan Jose Garcia Ripoll
e1eb4c78cd Instead of pushing into features, use the appropriate table in main.d 2009-04-23 22:16:51 +02:00
Samium Gromoff
f783b8897c As __MINGW32__ now indirectly implies :win32, numlib.lsp defines hyperbolics for us. 2009-04-23 22:14:23 +02:00
Samium Gromoff
590e1c95e9 Use the unprotected allocation. 2009-04-23 22:07:31 +02:00
Samium Gromoff
da102ce9bd Unprotected allocation. 2009-04-23 22:07:27 +02:00
Samium Gromoff
7e0e86579b Set the TLS key value early enough for ecl_init_env -> ... -> ecl_alloc to succeed. 2009-04-23 22:03:06 +02:00
Samium Gromoff
d6f4fa8d37 Must allocate environments via GC, otherwise ecl_mark_env -> GC_set_mark_bit fails on us.
o  This restores buildability on win32/MSVC.
2009-04-17 14:52:59 +02:00
Juan Jose Garcia Ripoll
36d994a5c6 Allow the user defined methods for stream-peek-char to take effect. 2009-04-06 14:47:30 +02:00
Juan Jose Garcia Ripoll
4a351ae057 Fixes related to the new version of garbage collector and the Windows port. 2009-04-03 19:09:33 +02:00
Juan Jose Garcia Ripoll
3687fa0812 Upgraded Boehm-Weiser garbage collector to version 7.1 2009-04-03 18:01:00 +02:00
Juan Jose Garcia Ripoll
1b558faa95 Fixed two typos in ecl_to_int32_t() 2009-04-02 15:22:41 +02:00
Juan Jose Garcia Ripoll
6f01cc89c6 Files opened with :overwrite or :append were truncated. 2009-04-02 15:20:55 +02:00
Juan Jose Garcia Ripoll
2204be6e26 In the C streams case, we had forgotten about opening the file for smm_probe. 2009-04-02 15:20:54 +02:00
Juan Jose Garcia Ripoll
50b7095d00 Solved problems with patching of circular structures when reading bytecodes closures in read.d 2009-04-02 15:20:54 +02:00
Juan Jose Garcia Ripoll
005dc07061 Added the possibility of bytecompiling forms and saving them. New module bytecmp uses this to implement COMPILE and COMPILE-FILE. 2009-04-01 02:29:48 +02:00
Juan Jose Garcia Ripoll
8cd3b9d55f Allow to selectively build in or store as sources the different modules 2009-03-31 17:20:11 +02:00
Juan Jose Garcia Ripoll
ecf055bc5a Fixes for the Windows port, including a flag to make ANSI C streams the default file type. 2009-03-30 14:42:16 +02:00
Juan Jose Garcia Ripoll
3eb08e8fd7 Fixed typo in the size of element type of unicode arrays. 2009-03-29 00:12:58 +01:00
Juan Jose Garcia Ripoll
be68a056b8 Missing semicolon in ffi_x86_64.d 2009-03-28 23:41:10 +01:00
Juan Jose Garcia Ripoll
95bc1c21c5 Fixed typo in si_setenv. 2009-03-25 18:10:35 +01:00
Juan Jose Garcia Ripoll
a6e095cd7d Fixed typo in the ordering of drive and path in ecl_homedir_pathname() 2009-03-25 18:06:45 +01:00
Juan Jose Garcia Ripoll
37af713c87 Fixed typo from merge in c/array.d 2009-03-25 10:09:49 +01:00
Juan Jose Garcia Ripoll
2a34e578aa Debug statements in src/c/unixint.d prevented ECL from building with MSVC 2009-03-23 22:53:23 +01:00