Commit graph

624 commits

Author SHA1 Message Date
jjgarcia
ab95aec441 The dispatch macro from sharp+backslash works also when assigned to other characters. 2005-11-04 11:17:48 +00:00
jjgarcia
4c7187dae5 Forbid creating arrays with element type NIL, but produce the right output for UPGRADED-A-E-T. 2005-11-04 09:45:55 +00:00
jjgarcia
2205fb5abc Simplified routines for reading numbers 2005-10-28 09:42:32 +00:00
japhie
cd7d965c5c - Added omitted lock type to cl_alloc_object. 2005-10-27 18:48:18 +00:00
jjgarcia
4581520a15 Simplify the cl_alloc_object() routine 2005-10-27 17:46:52 +00:00
jjgarcia
7914b23b54 Change location of GC headers as seen by the C source code 2005-10-27 17:04:06 +00:00
goffioul
716eae22a8 Clean-up the way how GC symbols are accessed and re-exported from ECL. 2005-10-27 14:32:53 +00:00
jjgarcia
cc57385a24 Fixed limits of loop and moving of memory among overlapping regions 2005-10-27 14:12:45 +00:00
jjgarcia
279dcab0ab Some functions are not available in the statically linked ECL 2005-10-26 19:13:40 +00:00
jjgarcia
1cfd45f871 Port the changes from MSVC to GCC 2005-10-26 19:10:20 +00:00
goffioul
2301f0ceed Do not use calling convention for dynamic call of C functions: save/restore the stack pointer manually, which work in all cases. 2005-10-26 15:02:18 +00:00
goffioul
1861bee4ff Make FPE catching work under MSVC. 2005-10-26 11:29:28 +00:00
jjgarcia
a6e722ee50 Use make_{short/long}float to ensure that floating-point exceptions are detected 2005-10-26 11:21:26 +00:00
jjgarcia
4e81043908 Insert FWAIT routines in make_{short,long}float to detect floating point exceptions under x86 2005-10-26 09:14:59 +00:00
jjgarcia
a984e694e5 The flag HAVE_FENV_H is defined _after_ including ecl.h 2005-10-26 08:40:43 +00:00
jjgarcia
c7e83eeba9 While looking for the optimal length to print a floating point number, write_double() may cause some underflow exceptions, which are harmless and should be masks. 2005-10-26 07:49:08 +00:00
goffioul
0deebf6f4f Support FPE handling under MSVC/mingw32. 2005-10-25 13:05:39 +00:00
jjgarcia
41bb1742be Ported the new thread-import routines to the WIN32 architecture 2005-10-25 09:51:56 +00:00
jjgarcia
8c25fe45cb When using signal() the handler only takes one argument 2005-10-24 09:40:08 +00:00
goffioul
2ac98f0572 Avoid the garbage collection of foreign modules. 2005-10-24 09:38:48 +00:00
goffioul
bffae25f2f Avoid segmentation fault when module is :DEFAULT and the symbol is not found. 2005-10-24 09:06:21 +00:00
jjgarcia
8c730e452d When requesting to load a FASL twice, make a symbolic link to trick the dlopen() routine into thinking we are loading two different files. 2005-10-24 08:38:15 +00:00
jjgarcia
bb6d96d968 Fixed error which arises with (FLOOR 1/2 1.0d). 2005-10-24 08:38:00 +00:00
jjgarcia
4d67d21bbf More informative error message by failure of TRUENAME. The extended syntax is allowed in pathnames as a hack to allow using ':' in file names. 2005-10-24 08:37:42 +00:00
jjgarcia
c91a860688 The block name of a function does not include the lambda list. 2005-10-24 08:37:26 +00:00
jjgarcia
5f40338f1d NRECONC provides now a self consistent error message (before, the :DATUM was a proper list while the :EXPECTED-TYPE was (SATISFIES SI::PROPER-LIST-P)) 2005-10-24 08:36:58 +00:00
jjgarcia
1bf5ae26e9 LOAD can now load source code from streams which are not associated to files. 2005-10-24 08:35:24 +00:00
jjgarcia
4b1efccead Floating point exceptions raised and trapped when using GNU libc. 2005-10-24 08:35:12 +00:00
jjgarcia
bfceb89a55 MULTIPLE-VALUE-SETQ must output _only_ the primary value. 2005-10-24 08:33:52 +00:00
jjgarcia
5643e40059 Implemented DOLIST/DOTIMES as macros, without magic in the interpreter. 2005-10-24 08:33:32 +00:00
jjgarcia
5ea5102b91 Remove unused system property PRETTY-PRINT-FORMAT when using CMUCL's pprint routine. 2005-10-24 08:31:52 +00:00
jjgarcia
dd83a988c8 Using GC_clear_roots() we reduce the set of roots to the one ECL itself determines. 2005-10-24 08:29:10 +00:00
jjgarcia
21427c7060 The flag GC_THREADS is already defined in config.h 2005-10-24 08:27:10 +00:00
jjgarcia
05cae634f4 When using threads we have to define GC_THREADS so that the GC replaces the routines for creating threads. Change the initialization order in ecl_import_thread() to avoid referencing the environment before it is created. 2005-10-24 08:17:51 +00:00
jjgarcia
b176ac3809 Missing header in mingw32 2005-10-20 09:54:29 +00:00
goffioul
585fd4aa33 Remove unneeded line that makes compilation fail with threads enabled. 2005-10-19 08:19:56 +00:00
goffioul
5d0c5ebafe Mingw32 Typo. 2005-10-19 08:03:02 +00:00
goffioul
305163009c Implement controllable calling convention for FFI/callbacks. 2005-10-19 07:54:24 +00:00
goffioul
758ba5068c Fixes bugs in dynamic callbacks (MSVC). 2005-10-17 12:23:23 +00:00
jjgarcia
0ee18977e0 Implementation of dynamically created callbacks. FASL files and DLLs are now garbage collected unless a symbol has been referenced with si::find-foreign-symbol. 2005-10-17 10:29:33 +00:00
japhie
ddab9365a9 - #ifdef out symbols related to dynamic FFI (build on non-x86
platforms failed)
2005-10-13 11:07:45 +00:00
goffioul
45c74701d4 Make cl_core.libraries vector extendable. 2005-10-13 10:28:13 +00:00
jjgarcia
e1d3382279 Importing of C threads into the lisp world 2005-10-12 09:22:09 +00:00
goffioul
103730c6ba Remove duplicated (I guess) colon. 2005-10-12 07:46:44 +00:00
jjgarcia
9285b53303 Move variable declarations to the beginning of functions. 2005-10-12 07:41:58 +00:00
jjgarcia
4c146bc8c1 Simple implementation of callbacks, much like CFFI does. 2005-10-11 09:01:25 +00:00
goffioul
5e0c4037d5 Add dynamic FFI support under Win32/MSVC. 2005-10-10 14:54:57 +00:00
jjgarcia
6263acc77c Automatic generation of calls to C functions, plus fixes on the handling of :CSTRING arguments to C-INLINE 2005-10-10 11:11:48 +00:00
jjgarcia
f67be57b37 Automatic generation of calls to C functions, plus fixes on the handling of :CSTRING arguments to C-INLINE 2005-10-10 10:23:42 +00:00
jjgarcia
ef8fbc903d Fixes for the old garbage collector 2005-10-08 14:46:09 +00:00