Commit graph

259 commits

Author SHA1 Message Date
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
japhie
10be25aff7 Moved ecl_init_function_t declaration to ecl.h, previous commit was mistyped. 2005-05-26 23:04:25 +00:00
japhie
b563329a50 Declared type of object entry function ecl_init_function_t. 2005-05-26 22:43:31 +00:00
japhie
1079c2973c Reverted changes (environ declaration) 2005-05-23 12:06:01 +00:00
japhie
d1c53ba9ee Declare extern char **environ. 2005-05-23 01:43:52 +00:00
jjgarcia
21a2ebcfc0 Renamed the frame structure to avoid name clashes with NetBSD/68k 2005-05-20 15:02:52 +00:00
jjgarcia
a7529246c6 Fix order of parenthesis, which made the expression a wrong lvalue 2005-05-19 16:15:13 +00:00
jjgarcia
e6632b5ab5 Reorder the fields in the symbol structure, so that cons.cdr overlaps with symbol.gfdef, and now we are allowed to set property lists of NIL. 2005-05-12 15:45:22 +00:00
jjgarcia
d664bee374 Implemented GETPID (M. Goffioul) 2005-05-03 14:43:53 +00:00
jjgarcia
de9f212f14 Optimizing of real constants 2005-05-03 14:30:11 +00:00
goffioul
a9a277b8b6 Export GC_dont_gc variable. 2005-04-07 13:11:42 +00:00
jjgarcia
4d88711624 Implemented our version of Gray streams. 2005-03-17 16:47:53 +00:00
jjgarcia
b8ab417619 Minor cast errors 2005-03-15 14:26:32 +00:00
goffioul
2624a02fc2 - Update to new extensions handling in compilation process
- smm_output_wsock is defined twice
2005-02-21 12:42:50 +00:00
jjgarcia
9a5ab7eb9e New stream mode smm_io_wsock. 2005-02-17 12:40:26 +00:00
jjgarcia
a19d3afbeb Flag PTHREAD_MUTEX_ERRORCHECK_NP is PTHREAD_MUTEX_ERRORCHECK in FreeBSD 2005-02-04 14:09:40 +00:00