Commit graph

1301 commits

Author SHA1 Message Date
jjgarcia
4b1efccead Floating point exceptions raised and trapped when using GNU libc. 2005-10-24 08:35:12 +00:00
jjgarcia
a71ed7701e MAKE-CONDITION now accepts complex type specifiers. 2005-10-24 08:34:04 +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
69bc814ab1 Check for __thread attribute, but do not use it since it slows down ECL a lot. 2005-10-24 08:31:39 +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
0ab6dc90c0 Added RT module. 2005-10-24 08:28:58 +00:00
jjgarcia
0cea5ca4fc Delete the temporary file created by cmpmain.lsp 2005-10-24 08:27:22 +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
goffioul
a4192ae438 Add a dynamic form for ffi:load-foreign-library. 2005-10-24 08:07:37 +00:00
jjgarcia
944a853cc0 Avoid name clashing in initialization object files. 2005-10-21 08:42:52 +00:00
goffioul
a3bb74f990 Implement ECL-specific tools in ASDF to build shared and static libraries, FAS files and programs. 2005-10-20 14:01:30 +00:00
goffioul
f00afa3a6e Install internal.h under MSVC. 2005-10-20 13:59:00 +00:00
goffioul
91335cdfd3 Export new dynamic FFI functions. 2005-10-20 13:58:27 +00:00
jjgarcia
b1e54f45b2 Removed benchmarks 2005-10-20 10:15:06 +00:00
jjgarcia
bbb6b6d0a3 We have removed the benchmarks from the distribution 2005-10-20 10:11:38 +00:00
jjgarcia
b176ac3809 Missing header in mingw32 2005-10-20 09:54:29 +00:00
jjgarcia
5310eba47f Removed tests directories 2005-10-20 08:50:25 +00:00
jjgarcia
9e997c4d31 Removed tests because they now belong in the new test-suite project 2005-10-19 13:59:43 +00:00
goffioul
1a8185a2da Re-vamped Win32 FFI example using static and/or dynamic FFI/callbacks. The
example can make use of Scintilla component to provide syntax highlightening.
2005-10-19 09:26:15 +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
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
e4ed682397 Fix compiled callbacks: order arguments correctly and restore stack in correct state. 2005-10-18 14:30:44 +00:00
japhie
fb350f46e8 - Fixed second half of typo ;) 2005-10-17 21:09:17 +00:00
goffioul
758ba5068c Fixes bugs in dynamic callbacks (MSVC). 2005-10-17 12:23:23 +00:00
jjgarcia
407fe16185 Fixed typo (fixed previously by Macjiek, redone by today's sync) 2005-10-17 11:51:46 +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
40b4fdd62d - Fix :cstring argument type handling in ffi:c-inline; sockets do work again. 2005-10-13 18:58:54 +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
8399d27d19 A patch got applied twice. 2005-10-11 09:04:04 +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
goffioul
b7dfab42cd Fix dynamic FFI: low-level functions are in the system package. 2005-10-10 14:38:18 +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
goffioul
f1af99ebea Fix typos. 2005-10-10 08:42:22 +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
goffioul
07613cb30a Fix compilation failure under Win32/MSVC when using multi-thread support. 2005-10-06 08:06:08 +00:00
goffioul
6eb59b8daa Required under Win32 as ASD files are interpreted differently by LoadLibrary. 2005-10-04 14:56:28 +00:00
jjgarcia
77e86b4c38 Name change of FIND-FOREIGN-VAR -> FIND-FOREIGN-SYMBOL 2005-10-04 13:51:36 +00:00