Juan Jose Garcia Ripoll [Wed, 2 Dec 2009 15:02:58 +0000 (16:02 +0100)]
Do not free the input / output buffers to avoid consing and memory fragmentation when reading long strings.
Juan Jose Garcia Ripoll [Wed, 2 Dec 2009 15:02:14 +0000 (16:02 +0100)]
Methods now show up in the debugger with their original name.
Juan Jose Garcia Ripoll [Wed, 2 Dec 2009 14:43:04 +0000 (15:43 +0100)]
Enlarged the string buffers used for reading and parsing lisp data.
Juan Jose Garcia Ripoll [Wed, 2 Dec 2009 13:58:42 +0000 (14:58 +0100)]
The function EXTRACT-TYPE-CHECKS is now better isolated and issues the compiler note itself.
Juan Jose Garcia Ripoll [Tue, 1 Dec 2009 21:49:48 +0000 (22:49 +0100)]
We used the wrong data for the random state when dealing with bignums (src/c/num_rand.d)
Juan Jose Garcia Ripoll [Tue, 1 Dec 2009 20:44:48 +0000 (21:44 +0100)]
Changed release number for the patch
Juan Jose Garcia Ripoll [Tue, 1 Dec 2009 20:43:05 +0000 (21:43 +0100)]
random_integer() did not work when the input was a fixnum (src/c/num_rand.d).
Juan Jose Garcia Ripoll [Mon, 30 Nov 2009 20:49:18 +0000 (21:49 +0100)]
Note the latest ports
Juan Jose Garcia Ripoll [Mon, 30 Nov 2009 20:47:52 +0000 (21:47 +0100)]
Note last change
Juan Jose Garcia Ripoll [Mon, 30 Nov 2009 20:47:32 +0000 (21:47 +0100)]
The bignums generated by RANDOM did not contain enough random bits.
Juan Jose Garcia Ripoll [Mon, 30 Nov 2009 11:55:41 +0000 (12:55 +0100)]
The automatic generation of check-type forms for function arguments could not be suppressed when having additional declarations (src/cmp/cmplam.lsp)
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 23:27:53 +0000 (00:27 +0100)]
ENSURE-GENERIC-FUNCTION-USING-CLASS must interpret the generic-function-class argument when it is a symbol, looking for the appropriate class.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 22:24:23 +0000 (23:24 +0100)]
1Gb memory limit for 32bits systems
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 22:22:34 +0000 (23:22 +0100)]
Increase the memory limits
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:49:14 +0000 (22:49 +0100)]
Small change in define-complex-method-combination to fix an obscure bug (P. Costanza).
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:47:13 +0000 (22:47 +0100)]
ENSURE-GENERIC-FUNCTION-USING-CLASS does not provide a default method class.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:40:45 +0000 (22:40 +0100)]
The optimizer for TYPEP did not work when passed three arguments.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:26:59 +0000 (22:26 +0100)]
All changes to classes cause update-instance-for-redefined-class to be called, not only when the structure changes.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:02:52 +0000 (22:02 +0100)]
The slot accessors must check that the structures are up-to-date.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:02:06 +0000 (22:02 +0100)]
Slightly faster version of ensure-up-to-date macro (src/clos/macros.lsp) which generates code that can be inlined.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:00:29 +0000 (22:00 +0100)]
Provide compiler macros for the slot accessors of the root classes.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 21:00:00 +0000 (22:00 +0100)]
When creating structures and instances, always set instance.sig to a printable value, ECL_UNBOUND
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 20:59:15 +0000 (21:59 +0100)]
Provide inline forms for SI:INSTANCE-SET and MP:LOCK-COUNT.
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 18:07:19 +0000 (19:07 +0100)]
Update the name of the breakpoints (src/util/gdbinit)
Juan Jose Garcia Ripoll [Sun, 29 Nov 2009 17:09:12 +0000 (18:09 +0100)]
The field bytecodes.entry did not match the position of the same field in cfun (src/h/object.h)
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 15:59:20 +0000 (16:59 +0100)]
Update release number to december, for the release and most patches will appear then.
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 15:57:58 +0000 (16:57 +0100)]
Prepare announcement
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 15:41:57 +0000 (16:41 +0100)]
OPEN with :rename did not work in mingw if the backup file existed (src/c/unixfsys)
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 13:06:43 +0000 (14:06 +0100)]
Fixed typo.
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 13:03:03 +0000 (14:03 +0100)]
missing "break" statement in ecl_apply_from_stack_frame (src/c/eval.d)
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 12:52:40 +0000 (13:52 +0100)]
When clearing the FPE exception flags we were actually activating all exceptions.
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 12:36:58 +0000 (13:36 +0100)]
Undefine certain macros that collide with mingw definitions (src/h/config.h.in)
Juan Jose Garcia Ripoll [Sat, 28 Nov 2009 11:32:59 +0000 (12:32 +0100)]
src/c/unixfsys.d: drive_host_prefix() attempted to write on a constant string.
Juan Jose Garcia Ripoll [Fri, 27 Nov 2009 21:05:55 +0000 (22:05 +0100)]
src/clos/cmpclos.lsp: maybe-optimize-slot-accessor tried to optimize generic
function calls to functions that are not slot readers / writers.
Juan Jose Garcia Ripoll [Fri, 27 Nov 2009 19:18:00 +0000 (20:18 +0100)]
src/c/gfun.d: CLOS:SET-FUNCALLABLE-INSTANCE-FUNCTION broke the value if SI:INSTANCE-SIG
Juan Jose Garcia Ripoll [Fri, 27 Nov 2009 14:47:26 +0000 (15:47 +0100)]
src/c/pathname.d,unixfsys.d: added support for Windows UNC pathnames
Juan Jose Garcia Ripoll [Fri, 27 Nov 2009 14:47:04 +0000 (15:47 +0100)]
src/c/unixint.d: fixed typo in call to si_trap_fpe
Juan Jose Garcia Ripoll [Fri, 27 Nov 2009 11:29:29 +0000 (12:29 +0100)]
src/c/unixint.d: clear FPE exceptions before processing the exception. Otherwise later operations may re-signal the SAME error.
Juan Jose Garcia Ripoll [Mon, 23 Nov 2009 21:48:05 +0000 (22:48 +0100)]
src/c/read.d: the previous 'fix' for the circular reader lead to infinite recursion. This actual fix reimplements SBCL's strategy, using a hash table to prevent it.
Juan Jose Garcia Ripoll [Fri, 20 Nov 2009 09:25:01 +0000 (10:25 +0100)]
FDEFINITION/SYMBOL-FUNCTION cause an access violation instead of an undefined function message when acting on NIL
Juan Jose Garcia Ripoll [Fri, 20 Nov 2009 07:48:43 +0000 (08:48 +0100)]
Fix previous corrupt commit.
Juan Jose Garcia Ripoll [Thu, 19 Nov 2009 23:25:22 +0000 (00:25 +0100)]
Solve two problems with circular references reader:
* #n= does not immediately substitute for the value, even if known.
* #. did not use the flag recursive-p when calling READ, and thus had
no access to previously defined #n# reader values.
Juan Jose Garcia Ripoll [Thu, 19 Nov 2009 19:21:39 +0000 (20:21 +0100)]
Patch for tracker bug ID: 2900631. Losing non-primary values in compiled, proclaimed function calls (Abhishek)
Juan Jose Garcia Ripoll [Tue, 17 Nov 2009 21:52:26 +0000 (22:52 +0100)]
Upgrade ASDF to v1.369
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 22:42:37 +0000 (23:42 +0100)]
Simplify LOG/LOG1P so that when passed a NaN they do not enter an infinite recursion.
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 21:38:38 +0000 (22:38 +0100)]
src/clos/slot.lsp: parse-slot did not retrieve the right name of a slot and thus failed in some corner cases.
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 11:29:49 +0000 (12:29 +0100)]
LOG on #C(x x) produces a more accurate result which is stable when X == 0. ATAN with #C(0 x) now gives a result without infinite depth recursion.
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 10:02:26 +0000 (11:02 +0100)]
src/clos/standard.lsp: a previous patch prevented class slots to be reinitialized.
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 09:49:33 +0000 (10:49 +0100)]
src/c/list.d: in APPEND, add back error detection for non proper lists.
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 08:57:02 +0000 (09:57 +0100)]
Rewrite c_multiple_value_bind using a switch instead of concatenated ifs.
Juan Jose Garcia Ripoll [Sun, 15 Nov 2009 08:55:07 +0000 (09:55 +0100)]
Note the change which is now common to the compiler and interpreter.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 17:13:04 +0000 (18:13 +0100)]
src/lsp/setf.lsp: setf-expand-1 can be simplified now that multiple-value-bind with one variable is automatically optimized.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 17:12:12 +0000 (18:12 +0100)]
src/c/compiler.d: the interpreter optimizes MULTIPLE-VALUE-BIND with zero and one variables.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 17:00:56 +0000 (18:00 +0100)]
src/cmp/cmpmulti.lsp: c1multiple-value-bind replaces multiple-value-bind with a let form when there is only one variable to be bound.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 16:37:27 +0000 (17:37 +0100)]
APPEND copied also the last argument.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 16:36:55 +0000 (17:36 +0100)]
src/clos/method.lsp: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 16:36:28 +0000 (17:36 +0100)]
src/lsp/defstruct.lsp: APPEND -> NCONC when using freshly created lists.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 16:35:42 +0000 (17:35 +0100)]
src/c/pathname.d: use the (APPEND ... NIL) idiom to ensure that a fresh list is produced.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 15:13:58 +0000 (16:13 +0100)]
src/lsp/defmacro: cleaned up the code in sys:expand-defmacro.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 15:09:04 +0000 (16:09 +0100)]
src/lsp/defmacro.lsp: simplified the expander of DESTRUCTURING-BIND.
Juan Jose Garcia Ripoll [Sat, 14 Nov 2009 09:49:54 +0000 (10:49 +0100)]
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.
Juan Jose Garcia Ripoll [Tue, 10 Nov 2009 07:10:26 +0000 (08:10 +0100)]
Output a newline character after the version number.
Juan Jose Garcia Ripoll [Mon, 9 Nov 2009 23:06:26 +0000 (00:06 +0100)]
New command line option --version to print version number.
Juan Jose Garcia Ripoll [Mon, 9 Nov 2009 19:19:22 +0000 (20:19 +0100)]
Remove debug statement.
Juan Jose Garcia Ripoll [Mon, 9 Nov 2009 18:59:36 +0000 (19:59 +0100)]
FIND-SYMBOL now only accepts strings
Juan Jose Garcia Ripoll [Mon, 9 Nov 2009 18:25:01 +0000 (19:25 +0100)]
LOAD works on special files (/dev/null and the like).
Juan Jose Garcia Ripoll [Mon, 9 Nov 2009 09:12:45 +0000 (10:12 +0100)]
EXT:QUIT now stores the exit code of the program and this is returned by standalone executables.
Juan Jose Garcia Ripoll [Mon, 9 Nov 2009 08:30:49 +0000 (09:30 +0100)]
BREAK must set *DEBUGGER-HOOK* to NIL.
Juan Jose Garcia Ripoll [Sun, 8 Nov 2009 15:39:19 +0000 (16:39 +0100)]
The IGNORE/IGNORABLE declarations accept (but ignore) arguments of the for (FUNCTION function-name).
Juan Jose Garcia Ripoll [Sun, 8 Nov 2009 14:45:28 +0000 (15:45 +0100)]
SAFE-EVAL never returned the error value when passed a third argument.
Juan Jose Garcia Ripoll [Sun, 8 Nov 2009 14:38:33 +0000 (15:38 +0100)]
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.
Juan Jose Garcia Ripoll [Sun, 8 Nov 2009 14:19:04 +0000 (15:19 +0100)]
Increase release number.
Juan Jose Garcia Ripoll [Sun, 8 Nov 2009 14:04:37 +0000 (15:04 +0100)]
New function EXT:ARRAY-RAW-DATA returns an array of octets that overlaps with the data of a given array.
Alexander Gavrilov [Mon, 2 Nov 2009 18:54:43 +0000 (21:54 +0300)]
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.
Alexander Gavrilov [Mon, 2 Nov 2009 17:58:42 +0000 (20:58 +0300)]
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.
Juan Jose Garcia Ripoll [Sat, 7 Nov 2009 23:58:36 +0000 (00:58 +0100)]
* 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.
Alexander Gavrilov [Mon, 2 Nov 2009 08:39:03 +0000 (11:39 +0300)]
built-in-class should be an instance of standard-class.
Alexander Gavrilov [Mon, 2 Nov 2009 08:34:24 +0000 (11:34 +0300)]
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.
Juan Jose Garcia Ripoll [Sat, 7 Nov 2009 22:43:54 +0000 (23:43 +0100)]
src/lsp/predlib.lsp: SUBTYPEP fails when one of the arguments is an unfinalized class.
Juan Jose Garcia Ripoll [Sat, 7 Nov 2009 22:12:57 +0000 (23:12 +0100)]
ECL's compiler now interprets the IGNORABLE declaration.
Juan Jose Garcia Ripoll [Sat, 7 Nov 2009 21:27:29 +0000 (22:27 +0100)]
Removed a spurious warning in ffi:def-foreign-var (Andy Hefner)
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 19:28:04 +0000 (20:28 +0100)]
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.
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 19:26:23 +0000 (20:26 +0100)]
si:copy-file must be protected against interrupts
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 19:26:06 +0000 (20:26 +0100)]
In cygwin, the DLL has to be installed in two locations
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 19:25:37 +0000 (20:25 +0100)]
FEwin32_error is exported also in cygwin
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 01:42:18 +0000 (02:42 +0100)]
Note latest fixes in CHANGELOG.
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 01:41:15 +0000 (02:41 +0100)]
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.
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 01:38:36 +0000 (02:38 +0100)]
The :prologue-code in cmp:builder is now executed after cl_boot() and it can be lisp code.
Juan Jose Garcia Ripoll [Sun, 1 Nov 2009 01:37:38 +0000 (02:37 +0100)]
NO-APPLICABLE-METHOD now shows the types of the arguments when signalling an error.
Juan Jose Garcia Ripoll [Thu, 29 Oct 2009 13:35:30 +0000 (14:35 +0100)]
Note last change.
Juan Jose Garcia Ripoll [Thu, 29 Oct 2009 13:30:40 +0000 (14:30 +0100)]
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+.
Juan Jose Garcia Ripoll [Wed, 28 Oct 2009 21:25:00 +0000 (22:25 +0100)]
Legacy, HP-UX 'make' command does not handle well and end of line \ followed by comments.
Juan Jose Garcia Ripoll [Mon, 26 Oct 2009 16:37:26 +0000 (17:37 +0100)]
src/h/config.h.in: disable use of feenableexcept() for the Itanium architecture.
Samium Gromoff [Mon, 12 Oct 2009 16:40:12 +0000 (20:40 +0400)]
Generalise the ASDF epilogue code fix to monolithic bundle ops.
Juan Jose Garcia Ripoll [Sun, 18 Oct 2009 16:51:41 +0000 (18:51 +0200)]
Document last change
Juan Jose Garcia Ripoll [Sun, 18 Oct 2009 16:51:14 +0000 (18:51 +0200)]
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.
Juan Jose Garcia Ripoll [Sat, 17 Oct 2009 19:41:51 +0000 (21:41 +0200)]
contrib/sockets/sockets.lisp: two more typos fixed (Chun Tian)
Juan Jose Garcia Ripoll [Sat, 17 Oct 2009 17:55:35 +0000 (19:55 +0200)]
contrib/sockets/sockets.lisp: added a new argument to define-sockopt specifying the level of the interface (SOL_SOCKET or IPPROTO_TCP).
Juan Jose Garcia Ripoll [Wed, 14 Oct 2009 09:15:31 +0000 (11:15 +0200)]
src/c/unixint.d: cl_core.default_sigmask is not used in mingw32.
Juan Jose Garcia Ripoll [Tue, 13 Oct 2009 08:25:58 +0000 (10:25 +0200)]
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.