Commit graph

3045 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
8265f44396 src/clos/method.lsp: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced. 2009-11-14 17:36:55 +01:00
Juan Jose Garcia Ripoll
b69d02dac6 src/lsp/defstruct.lsp: APPEND -> NCONC when using freshly created lists. 2009-11-14 17:36:28 +01:00
Juan Jose Garcia Ripoll
b4b2d12f7e src/c/pathname.d: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced. 2009-11-14 17:35:42 +01:00
Juan Jose Garcia Ripoll
4b38dd326e src/lsp/defmacro: cleaned up the code in sys:expand-defmacro. 2009-11-14 16:13:58 +01:00
Juan Jose Garcia Ripoll
8734f8fcb6 src/lsp/defmacro.lsp: simplified the expander of DESTRUCTURING-BIND. 2009-11-14 16:09:04 +01:00
Juan Jose Garcia Ripoll
3447e860eb src/cmp/cmpmain.lsp: in C:BUILDER, when using SI:SAFE-EVAL to execute the prologue and epilogue codes, allow by default to start up the debugger. 2009-11-14 10:49:54 +01:00
Juan Jose Garcia Ripoll
f932239809 Output a newline character after the version number. 2009-11-10 08:10:26 +01:00
Juan Jose Garcia Ripoll
7b36d76089 New command line option --version to print version number. 2009-11-10 00:06:26 +01:00
Juan Jose Garcia Ripoll
6c380fba8e Remove debug statement. 2009-11-09 20:19:22 +01:00
Juan Jose Garcia Ripoll
b074cd8b36 FIND-SYMBOL now only accepts strings 2009-11-09 19:59:36 +01:00
Juan Jose Garcia Ripoll
6a94780559 LOAD works on special files (/dev/null and the like). 2009-11-09 19:25:01 +01:00
Juan Jose Garcia Ripoll
a316938550 EXT:QUIT now stores the exit code of the program and this is returned by standalone executables. 2009-11-09 10:12:45 +01:00
Juan Jose Garcia Ripoll
a7088a9c13 BREAK must set *DEBUGGER-HOOK* to NIL. 2009-11-09 09:30:49 +01:00
Juan Jose Garcia Ripoll
18f5cf2d92 The IGNORE/IGNORABLE declarations accept (but ignore) arguments of the for (FUNCTION function-name). 2009-11-08 16:39:19 +01:00
Juan Jose Garcia Ripoll
750059ca2a SAFE-EVAL never returned the error value when passed a third argument. 2009-11-08 15:45:28 +01:00
Juan Jose Garcia Ripoll
e44656e9bb src/cmp/cmpmain.lsp: when building a standalone executable, wrap everything with a CL_CATCH_ALL to provide an exit point for EXT:QUIT and also to protect from unwanted transfers of control. 2009-11-08 15:38:33 +01:00
Juan Jose Garcia Ripoll
57aa2b2310 Increase release number. 2009-11-08 15:19:04 +01:00
Juan Jose Garcia Ripoll
9c2297058c New function EXT:ARRAY-RAW-DATA returns an array of octets that overlaps with the data of a given array. 2009-11-08 15:04:37 +01:00
Alexander Gavrilov
c567ef5d1c Fix shared slot initialization.
Shared slots must not be initialized every time an
instance is created, and the initform must be called
in the dynamic context of defclass, i.e. immediately
and only once.
2009-11-08 00:59:10 +01:00
Alexander Gavrilov
46671dfbe4 Fix propagation of class finalization.
Instead of calling reinitialize-instance, directly
invoke finalize on the subclasses. Also remove subclass
links from parents when the superclass list is changed.
2009-11-08 00:58:54 +01:00
Juan Jose Garcia Ripoll
ce91c03f9d * Created a new class, FUNCALLABLE-STANDARD-CLASS.
* Create a new class STD-CLASS that sits between CLASS and the
  two children STANDARD-CLASS and FUNCALLABLE-STANDARD-CLASS.
* Generic functions are now of type FUNCALLABLE-STANDARD-OBJECT.
Based on a patch by A. Gavrilov.
2009-11-08 00:58:36 +01:00
Alexander Gavrilov
35fd642cd6 built-in-class should be an instance of standard-class. 2009-11-07 23:46:50 +01:00
Alexander Gavrilov
9ce281fcc7 Fix the +the-standard-class+ constant.
It was NIL because of a typo. Also, class-slot-table
is actually called simply slot-table, and the order
of gethash arguments was wrong. However, it still
does not work, so disable the condition.
2009-11-07 23:46:35 +01:00
Juan Jose Garcia Ripoll
1d35794ba9 src/lsp/predlib.lsp: SUBTYPEP fails when one of the arguments is an unfinalized class. 2009-11-07 23:43:54 +01:00
Juan Jose Garcia Ripoll
8e9c6dcad6 ECL's compiler now interprets the IGNORABLE declaration. 2009-11-07 23:12:57 +01:00
Juan Jose Garcia Ripoll
f26fcc9001 Removed a spurious warning in ffi:def-foreign-var (Andy Hefner) 2009-11-07 22:27:29 +01:00
Juan Jose Garcia Ripoll
5b9d7c562b src/c/load.d:
* In cygwin, FASL files can not lack a file extension, because dlopen()
  then looks for a file ending in .dll and fails.
* In cygwin, files that are dlopen'ed must have executable permissions.
2009-11-01 20:28:04 +01:00
Juan Jose Garcia Ripoll
db15bbaa83 si:copy-file must be protected against interrupts 2009-11-01 20:26:23 +01:00
Juan Jose Garcia Ripoll
137c26782d In cygwin, the DLL has to be installed in two locations 2009-11-01 20:26:06 +01:00
Juan Jose Garcia Ripoll
438fac9bda FEwin32_error is exported also in cygwin 2009-11-01 20:25:37 +01:00
Juan Jose Garcia Ripoll
3ab430eb58 Note latest fixes in CHANGELOG. 2009-11-01 02:42:18 +01:00
Juan Jose Garcia Ripoll
6e7caff184 The :prologue-code in cmp:builder is now executed after cl_boot() and it can be lisp code. 2009-11-01 02:38:36 +01:00
Juan Jose Garcia Ripoll
41c4586f65 NO-APPLICABLE-METHOD now shows the types of the arguments when signalling an error. 2009-11-01 02:37:38 +01:00
Juan Jose Garcia Ripoll
28e3734746 Note last change. 2009-10-29 14:35:30 +01:00
Juan Jose Garcia Ripoll
5a35ce22df When creating a unified fasl, the init function name has to be exported outside the DLL. In cygwin this means adding ECL_DLLEXPORT to +lisp-program-init+. 2009-10-29 14:30:40 +01:00
Juan Jose Garcia Ripoll
1521275b11 Legacy, HP-UX 'make' command does not handle well and end of line \ followed by comments. 2009-10-28 22:25:00 +01:00
Juan Jose Garcia Ripoll
bdee456b29 src/h/config.h.in: disable use of feenableexcept() for the Itanium architecture. 2009-10-26 17:37:26 +01:00
Juan Jose Garcia Ripoll
55e2242c90 Document last change 2009-10-18 18:51:41 +02:00
Juan Jose Garcia Ripoll
7d0e542de1 contrib/sockets/sockets.lisp: added a new argument to define-sockopt specifying the level of the interface (SOL_SOCKET or IPPROTO_TCP). 2009-10-17 19:55:35 +02:00
Juan Jose Garcia Ripoll
877ef47289 src/c/unixint.d: cl_core.default_sigmask is not used in mingw32. 2009-10-14 11:15:31 +02:00
Juan Jose Garcia Ripoll
0f7cbfdfb7 src/lsp/top.lsp: in multithreaded ECL, when interrupting a process via Ctrl-C, and then using the interrupt-process restart, the interrupted thread did not set up a continue restart. 2009-10-13 10:25:58 +02:00
Juan Jose Garcia Ripoll
0e7bf4260f A new flag allows deactivating the dynamic foreign function interface. This is needed when the compiler does not understand GCC's inline assembly syntax and libffi is not available. 2009-10-12 10:51:22 +02:00
Juan Jose Garcia Ripoll
51c7a95982 Undo previous commit and fix the signal handler so that it restores the signal mask also in the single-threaded version of ECL. 2009-10-11 17:43:58 +02:00
Juan Jose Garcia Ripoll
9e350ebf88 src/h/config.h.in: do not use _setjmp/_longjmp because they cause problems when unwinding from a SIGFPE. 2009-10-11 13:36:00 +02:00
Juan Jose Garcia Ripoll
9563473a8c We can not ignore SIGFPE signals in x86 -- otherwise we enter an infinite loop. So, no matter what we did with si::trap-fpe, if the signal was produced, we generate an error. 2009-10-11 13:15:05 +02:00
Juan Jose Garcia Ripoll
800032ecdf Restore use of feenableexcept() for further tests. 2009-10-11 13:14:18 +02:00
Juan Jose Garcia Ripoll
47dd3f727a src/h/ecl.h: in Windows, refuse to build ECL without threads. 2009-10-09 18:38:06 +02:00
Juan Jose Garcia Ripoll
5f883a2582 Removed unused code. 2009-10-09 17:22:49 +02:00
Juan Jose Garcia Ripoll
1eec497853 src/h/ecl.h: include windows.h also for non-threaded builds. 2009-10-09 17:10:47 +02:00
Juan Jose Garcia Ripoll
f60f7636a7 Improve the explanation of certain changes in CHANGELOG. 2009-10-09 14:14:13 +02:00