Commit graph

3403 commits

Author SHA1 Message Date
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
e6eee9f5d1 contrib/asdf/asdf-ecl.lisp:
* added a field :prologue-code to the monolithic operation. This field works
  just like the previous :epilogue-code.
* gather-components uses a new way to list the set of load-op operations that
  ASDF would normally produce.
* library operations would collect too many object files by not filtering
  by system. This was probably a typo in bundle-sub-operations.
2009-11-01 02:41:15 +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
Samium Gromoff
a027435354 Generalise the ASDF epilogue code fix to monolithic bundle ops. 2009-10-24 18:42:53 +02:00
Juan Jose Garcia Ripoll
55e2242c90 Document last change 2009-10-18 18:51:41 +02:00
Juan Jose Garcia Ripoll
b606466993 contrib/sockets/sockets.lisp: Implemente SO_LINGER properly (needs struct linger) (M. Mondor). In Windows, set-sockopt-timeval had the older interface, without the socket level. 2009-10-18 18:51:14 +02:00
Juan Jose Garcia Ripoll
25e7849e2b contrib/sockets/sockets.lisp: two more typos fixed (Chun Tian) 2009-10-17 21:41:51 +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
Juan Jose Garcia Ripoll
ab76c8d40c src/aclocal.m4: fake -rpath in OSX using -install_name. 2009-10-09 12:23:11 +02:00
Juan Jose Garcia Ripoll
cac368ef42 Note latest change in src/clx/dependent.lisp 2009-10-08 20:54:24 +02:00
Juan Jose Garcia Ripoll
66408efb09 src/clx/dependent.lisp: the definition of holding-lock was not protected by an unwind-protect. 2009-10-08 20:29:17 +02:00
Juan Jose Garcia Ripoll
5fe3f34c55 src/clx/dependent.lisp: fixed typo in the definition for make-process-lock. 2009-10-08 20:27:54 +02:00
Juan Jose Garcia Ripoll
2f254ceb59 src/c/unixint.d, src/c/stacks.d: we cannot execute signal handlers in separate stacks, because it confuses the lisp environment. Instead when detecting stack overflows we just jump out. 2009-10-08 20:19:28 +02:00
Juan Jose Garcia Ripoll
8b3ee8313d src/c/unixint.d: ignore floating point point exceptions which are not marked as trappable. 2009-10-08 20:10:04 +02:00
Juan Jose Garcia Ripoll
fad9e444e5 Using feenableexcept() does not really work on linux: it is broken and makes the signal handler be ignored. 2009-10-08 20:09:36 +02:00
Juan Jose Garcia Ripoll
ae89c2f09d Restore the lines for building the replacement module sb-bsd-sockets.lisp. 2009-10-08 18:22:08 +02:00
Juan Jose Garcia Ripoll
3cba18c74f src/c/main.d, src/c/all_symbols.d, src/h/external.h: the package MP is created also in single-threaded versions. 2009-10-08 18:13:56 +02:00
Juan Jose Garcia Ripoll
a621342f3d Tag new release. 2009-10-08 14:19:32 +02:00
Juan Jose Garcia Ripoll
ce0cdc024e Make ANNOUNCEMENT independent of the release. 2009-10-08 14:18:42 +02:00