Commit graph

274 commits

Author SHA1 Message Date
jjgarcia
f502f9321d Included support for multithreading under Windows/Cygwin. 2006-03-06 09:38:52 +00:00
jjgarcia
45a8e4cb69 Macro for self-explanatory references to symbols in the core. 2006-03-06 09:31:03 +00:00
jjgarcia
936b7fb6f6 Header files are now kept in a directory named 'ecl', so as to avoid name clashes with other headers. 2006-02-28 14:05:47 +00:00
jjgarcia
6055075b78 Separate temporary and permanent data in a compiled file 2006-02-16 11:04:55 +00:00
jjgarcia
770f071318 New implementation of SAFE-EVAL, cooperates better with the current condition system and can call TOP-LEVEL. 2006-02-06 10:07:16 +00:00
jjgarcia
0dcf6bbfe5 Removed unused function. 2006-01-09 09:16:05 +00:00
jjgarcia
66505e8fd9 ENSURE-GENERIC-FUNCTION implemented using only E-G-F-USING-CLASS. Removed assert_non_wild_pathname, as it is only required by one function. *LOAD-PATHNAME* contains the pathname supplied by the user, not the one merged with SI::GETCWD. 2006-01-09 09:15:10 +00:00
jjgarcia
b386f91f03 Fixed typo 2005-12-21 15:40:24 +00:00
jjgarcia
84e76bd6cf Remove unused files and flags 2005-12-13 10:00:36 +00:00
jjgarcia
4d94a84b79 Removed unused files 2005-12-13 09:54:36 +00:00
jjgarcia
48efb20909 Remove unused functions and use prefix ecl_ on all internal functions in file.d 2005-11-21 10:15:22 +00:00
jjgarcia
d55b5669ac Disable handling of FP exceptions in the Alpha machines 2005-11-15 19:18:42 +00:00
jjgarcia
644859e164 Added support for threads in FreeBSD 2005-11-10 09:00:37 +00:00
jjgarcia
c7322bd6e6 Port the floating-point exception handler to mingw32 2005-11-08 14:19:52 +00:00
jjgarcia
c2506f8283 Do not create SIMPLE-* versions of many conditions, but do that at run time, via a uniform SIGNAL-SIMPLE-ERROR function, that can produce both normal and correctable errors. 2005-11-04 12:35:20 +00:00
jjgarcia
ec31caef2a Move some internal functions from time.d and the SI package to mislib without exporting the names. 2005-11-04 11:24:32 +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
4e81043908 Insert FWAIT routines in make_{short,long}float to detect floating point exceptions under x86 2005-10-26 09:14:59 +00:00
goffioul
0deebf6f4f Support FPE handling under MSVC/mingw32. 2005-10-25 13:05:39 +00:00
jjgarcia
4b1efccead Floating point exceptions raised and trapped when using GNU libc. 2005-10-24 08:35:12 +00:00
jjgarcia
5643e40059 Implemented DOLIST/DOTIMES as macros, without magic in the interpreter. 2005-10-24 08:33:32 +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
7626509a55 call-cfun and make-dynamic-callback now take an optional argument 2005-10-19 09:05:53 +00:00
jjgarcia
b5ecf3d165 Fixed typo 2005-10-19 09:01:50 +00:00
goffioul
305163009c Implement controllable calling convention for FFI/callbacks. 2005-10-19 07:54:24 +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
jjgarcia
e1d3382279 Importing of C threads into the lisp world 2005-10-12 09:22:09 +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
goffioul
b9e0348f37 - Added SI:LOAD-FOREIGN-MODULE to load a dynamic module into memory with load-only-once capability
- Added :DEFAULT as possible module argument to SI:FIND-FOREIGN-SYMBOL to look into the already
  loaded modules
2005-10-06 13:51:09 +00:00
jjgarcia
96fcaaf344 New implementation of DEF-FOREIGN-VAR which can load shared libraries on demand (M. Goffioul) 2005-10-04 13:48:34 +00:00
japhie
51136f3ef4 - Added possibility of configuring --without-gmp when cross-compiling
to reduce memory usage when true bignums aren't needed (doesn't work
  for native compilation because compiler needs bignums).
2005-09-19 21:52:46 +00:00
jjgarcia
5bad4b0857 New hashing routine. 2005-08-30 15:44:50 +00:00
jjgarcia
b5211a4af7 Different, more compact structure for lexical environments. 2005-08-30 15:44:12 +00:00
jjgarcia
a5b4834caf Simplified the frame stack by replacing the frame class with a particular tag. 2005-08-30 14:38:04 +00:00
jjgarcia
7b762a99c4 New functions for performing type inference.
Arithmetic operators *,+,/,- now have simple optimizers.
Fixed several "bugs" in the C code to let ECL compile with GCC 4.0
2005-08-12 15:23:10 +00:00
jjgarcia
9052752e65 Reorganized the list of inliners and inline information, storing it in more detailed structures 2005-08-08 08:09:25 +00:00
jjgarcia
92757131b4 Several improvements related to inline of logical and cons functions, hardcoding frequently used symbols and a smaller version of TIME 2005-07-28 14:05:40 +00:00
jjgarcia
c882e22bdc Speed improvements in the subtypep implementation, plus additional type declarations to enforce inlining of CDR/CAR 2005-07-25 09:08:06 +00:00
japhie
2af3b9e0e7 - New configure flag --with-__thread which makes ecl use NPTL
thread-local variable (__thread) for cl_env.  Probably works also on
  win32 with msvc.
2005-07-08 23:47:24 +00:00
jjgarcia
4adbfe3ab8 A check for the isatty() function was missing in the configuration process 2005-06-30 17:26:11 +00:00
jjgarcia
7cc625e136 Minimized consing in VECTOR-PUSH-EXTEND and simplified sequence routines with two new abstractions ecl_copy/reverse_subarray(). 2005-06-27 08:14:04 +00:00
japhie
46331af806 - Move initializing big registers in cl_env to separate function to
initialize them properly when creating new threads.
2005-06-23 22:02:08 +00:00
japhie
75f748bf75 - Let GC know when we want to use threads 2005-06-23 21:55:14 +00:00
jjgarcia
85815eb157 DECLARATION names cannot be type names and viceversa 2005-06-09 08:05:17 +00:00
jjgarcia
49594fdc39 New function for converting objects to unsigned integers 2005-06-03 14:56:15 +00:00
jjgarcia
9ecbe76d8b Support for _unsigned_ specialized arrays of type CL-INDEX (i.e. the smallest unsigned word that fits a fixnum) 2005-06-02 13:44:34 +00:00
japhie
762cd7ebb3 Added function si:rmdir. 2005-05-28 22:34:05 +00:00
japhie
967ab52cc6 Corrected next typo. Remember: *don't* commit when half-asleep. 2005-05-26 23:52:03 +00:00