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
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
77e86b4c38
Name change of FIND-FOREIGN-VAR -> FIND-FOREIGN-SYMBOL
2005-10-04 13:51:36 +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
2d5bb45946
Replaced the code walker with some hooks in the bytecodes compiler and use this for the analysis of method functions. The optimizations of SLOT-VALUE references are removed, since they are buggy.
2005-09-19 09:31:01 +00:00
japhie
e466f359e8
- Compiler warning fix.
2005-09-11 13:54:08 +00:00
japhie
05548a030e
- Typo fix.
2005-09-04 02:26:19 +00:00
jjgarcia
bd6e9940f2
Unify code for CATCH and BLOCK.
2005-08-30 16:59:47 +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
japhie
098a9253e0
- Added :wants-dlopen build-time feature, changed conditionals accordingly
...
- Got rid of @ECL_MODULES@ in favor of :wants-something features
- Build compiler with build-module from bare.lsp
- Added variable *static-modules* where modules built statically into ecl are
pushed by build-module
- Make build-module work without :wants-dlopen
- Moved dlopen-dependent variables to bottom of symbols list to make compiling
static ecl with dynamic one possible; TODO: make built ecl independent of
features compiled in native ecl when cross-compiling
2005-08-15 16:36:38 +00:00
japhie
32e51960bb
- Moved setting *features* for ecl_min to compile.lsp
...
- Added possibility of compiling --without-cmp (for cross-compilation)
2005-08-14 22:54:15 +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
0f08472bc2
When failed to load a binary file, a codeblock structure might be incomplete and cause a SIGSEGV
2005-08-10 16:51:31 +00:00
jjgarcia
2d6c31597c
I mixed up the source, from and to pathnames when fixing cl_translate_pathname (Juanjo)
2005-08-04 16:44:37 +00:00
jjgarcia
5a7e3dfd80
Fix translation of pathnames with version = :WILD
2005-08-03 16:53:26 +00:00
jjgarcia
8e7a684026
Silent ECL when garbage collecting FASL files if SI::*GC-VERBOSE* is T
2005-07-29 09:35:49 +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
jjgarcia
425335f570
Reduce the set of static roots by allocating the stacks with cl_alloc_atomic(). Ensure that the list of libraries is also marked as atomic, so as to allow garbage collection of FASL files
2005-07-11 12:27:54 +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
f703c00ed9
TWO-WAY-STREAMS are interactive if the input stream is
2005-07-08 15:22:53 +00:00
jjgarcia
c8ea5f1974
LSP and LISP are now valid source file extensions
2005-06-30 17:26:01 +00:00
jjgarcia
d7f4088302
Remove one more pathname which ends in / and causes problems with Mingw32
2005-06-29 16:25:41 +00:00
jjgarcia
1dc52cf684
It is now possible to change the syntax of colon, #\:, and #\Space is always an invalid character
2005-06-29 08:16:39 +00:00
jjgarcia
6516071898
Comparison between fixnums and floats is done without loss of precision
2005-06-29 08:16:07 +00:00
japhie
947e7057e0
- Completed DESTDIR support in make install*
2005-06-28 14:39:51 +00:00