Debian Codegraph @

CHANGELOG

raw
1 * Announcement of ECL
2
3 ECL stands for Embeddable Common-Lisp. The ECL project aims to
4 produce an implementation of the Common-Lisp language which complies
5 to the ANSI X3J13 definition of the language.
6
7 The term embeddable refers to the fact that ECL includes a lisp to C
8 compiler, which produces libraries (static or dynamic) that can be
9 called from C programs. Furthermore, ECL can produce standalone
10 executables from your lisp code and can itself be linked to your
11 programs as a shared library.
12
13 ECL supports the operating systems Linux, FreeBSD, NetBSD, OpenBSD,
14 Solaris (at least v. 9), Microsoft Windows, OSX, Android and iOS, running
15 on top of the Intel, Sparc, Alpha, ARM and PowerPC processors. Porting
16 to other architectures should be rather easy.
17
18 * Known issues
19
20 - In Windows ECL comes with bytecodes compiler by default, because C
21 compilers are normally not available. Unfortunately several libraries
22 out there are not prepared for this. If you plan to use quicklisp and
23 have a C compiler accessible to ECL, you may use
24 (ext:install-c-compiler) to switch back to the Lisp-to-C compiler.
25
26 - Before issuing =make check= on the package package developer has to
27 install ECL on the preferred destination (specified with "--prefix"
28 parameter given to configure script).
29
30 * Pending changes since 24.5.10
31
32 - Byte operations on binary sequence streams and char operations on
33 character sequence streams do not require a roundtrip for encoding and
34 decoding elements (direct reading and writing to vector)
35
36 - When a sequence stream is created with :END NIL, then updating the vector
37 fill pointer affects the stream maximum position before EOF
38
39 - Sequence streams are now bivalent and allow for the underlying vector
40 upgraded array element type to be either a character or any byte
41
42 - Fix a bug in UNREAD-CHAR called on STRING-INPUT-STREAM that moved the
43 position to negative values
44
45 - New operators for binary and bivalent streams: EXT:PEEK-BYTE,
46 EXT:UNREAD-BYTE, GRAY:STREAM-PEEK-BYTE and GRAY:STREAM-UNREAD-BYTE.
47
48 - *READTABLE* and *PACKAGE* are local to an initialized module preventing
49 an issue where file-locality of them did not propagate to executables
50
51 - Logical pathnames with multiple wild directories are now correctly
52 translated. Previously using them resulted in an infinite recursion
53
54 - Process initial bindings, when specified, are inherited when the process
55 is enabled (previously they were copied when the process was created)
56
57 - Bytecodes VM stores locals on the stack (performance improvement)
58
59 - Bytecodes closures capture now only closed over variables (not whole env)
60
61 - MANY internal improvements and bug fixes for the native compiler.
62
63 - Reduced function call overhead.
64
65 - The cross-compilation instructions for iOS and emscripten have changed
66 slightly.
67
68 - Fix buffer overrun in stream encoding for UCS-4. This only occurred
69 when the first character was written with a BOM.
70
71 - ~MAKUNBOUND~ makes unbound the current variable binding instead of a
72 global value.
73
74 - Fix potential deadlock in synchronized hash tables during rehashing.
75
76 - All REPL I/O is performed through ~*QUERY-IO*~ and all debugger I/O is
77 performed through ~*DEBUG-IO*~, while ~*STANDARD-OUTPUT*,
78 ~*STANDARD-INPUT*~ and ~*ERROR-OUTPUT*~ are left for the user.
79
80 - Fix numerous issues in weak hash table implementation, most notably
81 resolve invalid handling of collissions.
82
83 - Update bundled libgc-8.2.4 to libgc-8.2.8.
84
85 * 24.5.10 changes since 23.9.9
86 ** Announcement
87 Dear Community,
88
89 We are announcing a new stable ECL release. The release mainly includes a
90 number of bug fixes, including changes that prevent rare crashes in the
91 garbage collector on Mac OS X, some bug fixes for gray streams and for
92 pathname related functionality. Moreover, the release features new
93 extensions for gray streams (gray:stream-line-length,
94 gray:stream-file-length, gray:stream-file-string-length and generic
95 versions of cl:pathname and cl:truename) as well as improved emscripten
96 support (allowing shared library builds) and small improvements to the
97 manual.
98
99 We'd like to thank all people who contributed to ECL with code, testing,
100 issue reports and otherwise.
101
102 People listed here contributed code in this iteration: Daniel Kochmański,
103 Kirill A. Korinsky, Marius Gerbershagen, Tarn W. Burton, Mark Shroyer,
104 Dmitry Solomennikov, Kevin Zheng.
105
106 This release is available for download in a form of a source code archive
107 (we do not ship prebuilt binaries):
108
109 - [ECL 24.5.10 tarball archive](https://common-lisp.net/project/ecl/static/files/release/ecl-24.5.10.tgz)
110 - [The ECL Manual](https://common-lisp.net/project/ecl/static/manual/)
111
112 Happy Hacking,
113 The ECL Developers
114
115 ** Enhancements
116 - Add gray-streams module. This makes it possible to load Gray stream
117 support via ~(require '#:gray-streams)~ versus calling the internal
118 function ~gray::redefine-cl-functions~.
119 - Add support for some Gray stream extensions by adding the following
120 generic functions.
121 1) ~gray:stream-line-length~ which allows stream specific line lengths
122 when ~cl:*print-right-margin*~ is NIL.
123 2) ~gray:stream-file-length~ which allows Gray streams to implement
124 ~cl:file-length~.
125 3) ~gray:stream-file-string-length~ which allows Gray streams to
126 implement ~cl:file-string-length~.
127 4) Generic versions of ~cl:pathname~ and ~cl:truename~.
128 - The emscripten target now supports shared libraries.
129
130 ** Bugs fixed
131 - Various bug fixes for Gray streams.
132 - The garbarge collector is set up to automatically handle fork calls on
133 Unix systems, preventing rare crashes on Mac OS X (where bdwgc does not
134 enable this option by default).
135
136 * 23.9.9 changes since 21.2.1
137 ** Announcement
138 Dear Community,
139
140 We are happy to announce a new stable ECL release tagged `23.9.9`. The new
141 release includes many bug fixes, some new features, improvements to the
142 compiler and more. Changes include but are not limited to:
143
144 - Complete overhaul of thread synchronization primitives (mutexes,
145 condition variables, etc.). Users of bordeaux-threads will have to update
146 as this breaks workarounds for missing timeouts on condition variable
147 wait operations in version 0.9.1 and earlier of this library.
148 - Better unicode support: add new functions to convert between Lisp strings
149 and byte arrays in different encodings, allow non-ascii characters in
150 pathnames and as arguments to ext:run-program.
151 - Preliminary support for the Emscripten target (bytecodes compiler only).
152 - Various bug fixes and internal improvements to the compiler.
153 - Better conformance to the ANSI standard.
154
155 We'd like to thank all people who contributed to ECL with code, testing,
156 issue reports and otherwise.
157
158 People listed here contributed code in this iteration: Caleb Xu, Catherine
159 Tower, Daniel Kochmański, Dima Pasechnik, Dmitry Solomennikov, Eric
160 Timmons, Florian Margaine, Jeronimo Pellegrini, Kevin Zheng, Kirill
161 A. Korinsky, Marius Gerbershagen, Nick Faro, Tarn W. Burton, Ulrich Müller,
162 Yuguo Zhang, Yuri D. Lensky.
163
164 People listed here tested ECL extensively before the release: Kirill
165 A. Korinsky, Marius Gerbershagen and Paul Ruetz.
166
167 This release is available for download in a form of a source code archive
168 (we do not ship prebuilt binaries):
169
170 - [ECL 23.9.9 tarball archive](https://common-lisp.net/project/ecl/static/files/release/ecl-23.9.9.tgz)
171 - [The ECL Manual](https://common-lisp.net/project/ecl/static/manual/)
172
173 Happy Hacking,
174 The ECL Developers
175
176 ** Enhancements
177 - Better type propagation (improves performance)
178 - More strict compile-time checking of arguments in standard operators
179 - Update the Unicode character database to a version 13.0.0
180 - Numerous minor conformity improvements in CLOS / MOP implementaiton
181 - Files compiled by the bytecode compiler may be concatenated
182 - Signal type-error in condition readers for WSCL conformance.
183 - Support for non-ascii characters in pathnames. Pathname encoding defaults
184 to utf-8 on Unix and may be changed using ~ext:*default-external-format*~
185 (Windows always uses the utf-16 format provided by the OS).
186 - Support non-ascii characters as arguments to ~ext:run-program~
187 - Add hook functions for ~cl:ed~ via ~ext:*ed-functions*~ list
188 - Remove homegrown mutex implementation - all multithreading
189 synchronization objects are now implemented on top of mutex and condition
190 variable primitives from the operating system (no api changes)
191 - Timeouts for condition variables and mutex locking and semaphore wait
192 operations
193 - Document the C FFI functions that are part of the ECL public interface
194 - Allow real-valued columns in Gray stream method ~stream-line-column~ and
195 ~stream-advance-to-column~. Use floor where needed to prevent breaking
196 existing code which depends on ~sys:file-column~
197 - Better conformance of the bytecodes compiler
198 - More consistent handling of signed zeros wrt branch cuts
199 - ~defstruct~ is better at checking whether a new definition is compatible
200 - faster hash table operations in specific cases (continuously adding and
201 removing elements without the hash table size changing)
202 - ~log~ returns more precise results for small ratios
203 - improve numerous error messages
204 - update bundled bdwgc to 8.2.4
205 - preliminary support for the Emscripten target (bytecodes compiler only)
206
207 ** API changes
208 - ~open~ accepts new keyword arguments ~:nonblock~ and ~:close-on-exec~
209 - ~ed~ consults the variable ~ext:*ed-functions*~ to find the editor
210 - New functions ~ext:octets-to-string~ and ~ext:string-to-octets~
211 - New C functions ~ecl_decode_from_cstring~, ~ecl_encode_to_cstring~ and
212 ~ecl_decode_from_unicode_wstring~
213 - A new function ~(mp:semaphore-wait semaphore count timeout)~
214 - Deprecate Functions ~mp:wait-on-semaphore~ and ~mp:try-get-semphore~
215 - The variable ~c:*user-ld-flags*~ is deprecated in favor of
216 ~c:*user-linker-flags*~ for option flags (like ~-Wl,foo~) and
217 ~c:*user-linker-libs*~ for libraries to link in (like ~-lfoo~).
218
219 The variable ~c:*user-ld-flags*~ is left for backward compatibility and
220 may be removed in future releases - it may cause option flags to be added
221 in the wrong place in the commandline when invoking the C compiler
222 program.
223 - ~funcallable-standard-object~ has a metaclass
224 ~funcallable-standard-class~ instead of a ~standard-class~ - the latter
225 was an apparent typo in AMOP - this interpretation is widely agreed with
226
227 ** Bugs fixed
228 - ~define-setf-expander~ accepts &body in its lambda list (#627)
229 - ~make-load-form~ coalasces correctly temporary and permanent objects
230 - ~prog1~ returns only a single value (#617)
231 - ~destructuring-bind~ signals ~program-error~ (per ANSI standard)
232 - ~function-keywords~ is a generic function (per ANSI standard)
233 - fix inlining of functions with mutually dependent keyword arguments
234 - handle a literal ~:allow-other-keys~ argument (per ANSI standard)
235 - ~symbol-macrolet~ signals ~program-error~ when due (per ANSI standard)
236 - ~(values (values))~ returns nil (per ANSI standard)
237 - ~multiple-value-setq~ evaluates args in correct order (per ANSI standard)
238 - ~elt~ compiler macro honors the ~fill-pointer~ (per ANSI standard)
239 - fix the invalid evaluation order in numerous compiler macros
240 - ~let~ fix incorrect expansion of a value in form ~(quote (quote value))~
241 - msvc now correctly reports ~:x86-64~ feature on 64bit builds
242 - ~define-compiler-macro~ does not set the function documentation (#658)
243 - hash tables with a custom test function does not error in a reader
244 - ~trap-fpe~ signals a condition when an unknown symbol is passed (#681)
245 - compiler does not loop infinitely on constants with circular structure
246 - ~format~ more conformant handling of the "~e" directive
247 - the ~define-method-combination~ long form correctly handles the
248 ~:arguments~ option and * qualifier
249 - ~(log n 0)~ returns 0 (per ANSI standard)
250 - ~multiple-value-bind~ code walkers have a correct macro expansion (#709)
251 * 21.2.1 changes since 20.4.24
252 ** Announcement
253 Dear Community,
254
255 We are announcing a new stable ECL release which fixes a number of bugs
256 from the previous release. Changes made include amongst others
257
258 - working generational and precise garbage collector modes
259 - support for using precompiled headers to improve compilation speed
260 - the bytecompiler correctly implements the ANSI specification for load
261 time forms of literal objects in compiled files
262 - fixes for encoding issues when reading in the output of the MSVC compiler
263 - issues preventing ECL from compiling on Xcode 12 and running on ARM64
264 versions of Mac OS have been rectified
265
266 More detailed information can be obtained from the CHANGELOG file and git
267 commit logs. We'd like to thank all people who contributed to this release.
268 Some of them are listed here (without any particular order): Paul Ruetz,
269 Karsten Poeck, Eric Timmons, Vladimir Sedach, Dima Pasechnik, Matthias
270 Köppe, Yuri Lensky, Tobias Hansen, Pritam Baral, Marius Gerbershagen and
271 Daniel Kochmański.
272
273 This release is available for download in a form of a source code archive
274 (we do not ship prebuilt binaries):
275
276 - [ECL 21.2.1 tarball archive](https://common-lisp.net/project/ecl/static/files/release/ecl-21.2.1.tgz)
277 - [The ECL Manual](https://common-lisp.net/project/ecl/static/manual/)
278
279 Happy Hacking,
280 The ECL Developers
281
282 ** Enhancements
283 - less cryptic names in backtraces of C-compiled functions
284 - ECL can now use precompiled headers to speed up compilation. Use ~(setq
285 c::*use-precompiled-headers* t)~ to enable this feature
286 ** Issues fixed
287 - the generational and precise garbage collector modes work again
288 - ~serve-event~ extension may be used simultaneously from different threads now
289 - several Unicode issues have been fixed thanks to Vladimir Sedach
290 - encoding issues when reading in the output of the MSVC compiler have been fixed
291 - inlining of a local function which closes over a variable no longer leads
292 to miscompilations if a variable with the same name exists at the point
293 where the function is inlined
294 - the bytecompiler handles load time forms from literal objects correctly
295 with regards to the evaluation order and to multiple occurrences of the same
296 literal object in a single file
297 - the ECL_C_COMPATIBLE_VARIADIC_DISPATCH option needed for running on Apple
298 ARM64 devices is automatically enabled when ECL is compiled for such a
299 device, allowing ECL to run on ARM64 Mac OS without any special compile
300 flags
301 ** API changes
302 - a condition ~ext:timeout~ is defined
303 * 20.4.24 changes since 16.1.3
304 ** Announcement
305 Dear Community,
306
307 After more than three years of development, we are proud to announce a new
308 ECL release having the version tag `20.4.24`. During that time many
309 important improvements have been made including bug fixes, stability
310 enhancements and new features. Changes include but are not limited to:
311
312 - package local nicknames support
313 - atomic operations support
314 - specialized representations of complex float types
315 - a port to the iOS platform
316 - fixes for weak hash tables and weak pointers
317 - fixes for race conditions in the ECL internals
318 - hash table extensions (synchronization and custom test functions)
319 - better MOP conformance and improved meta-stability
320 - improvements to the manual
321
322 For more information please read the file CHANGELOG which is located in the
323 source code, and browse commits. We'd like to thank all people who made
324 this release possible by contributions of code, documentation, issue
325 reports, testing and others. Some of them are listed here (without any
326 particular order): Paul Ruetz, Karsten Poeck, Vadim Penzin, Roger Sen, Stas
327 Boukarev, Michael Fox, Erik Bray, Bo Yao, Jeremy Cooper, Florian Margaine,
328 Fabrizio Fabbri, Tomek Kurcz, Kris Katterjohn, Marcin Kolenda, Zhang Yuguo,
329 Sébastien Villemot, Moritz Petersen, Marius Gerbershagen and Daniel
330 Kochmański. We'd also like to thank the company Rigetti Computing for
331 sponsoring the work on specialized complex float representations.
332
333 We have another important announcement we'd like to make. Embeddable
334 Common-Lisp project has now two maintainers: Daniel Kochmański and Marius
335 Gerbershagen. After numerous contributions from Marius I've proposed him
336 this responsibility and to my rejoice he has accepted it. That reflects our
337 community growth.
338
339 This release is available for download in a form of a source code archive
340 (we do not ship prebuilt binaries):
341
342 - [ECL 20.4.24 tarball archive](https://common-lisp.net/project/ecl/static/files/release/ecl-20.4.24.tgz)
343 - [The ECL Manual](https://common-lisp.net/project/ecl/static/manual/)
344
345 Happy Hacking,
346 The ECL Developers
347
348 ** Enhancements
349 - iOS support thanks to the help of P. Ruetz and gitlab user Whimse
350 - hash-table may now have a custom equivalence predicate
351 - ~make-load-form-with-slots~ works for structs even if slot names are not interned
352 - ~ext:weak-pointer-value~ returns two values (value and its presence)
353 - specialized complex float types based on C99 complex numbers have been
354 added, together with corresponding specialized array element types.
355 - support for atomic operations added with an interface similar to SBCL.
356 Currently (SBCL 1.4.12), it differs in the following points:
357 - the set of supported places is slightly different
358 - ~atomic-incf/decf~ always implement modular arithmetic with respect to
359 the width of a fixnum, instead of a width of 64 bits as for some places
360 in SBCL.
361 - Functions such as ~(cas foo)~ analogous to ~(setf foo)~ are not allowed
362 in ECL.
363 - The arguments of ~defcas~ are consistent with the short form of
364 ~defsetf~ in contrast to SBCL, where they are different.
365 - compare-and-swap expansions can be removed with ~remcas~
366 - experimental support for serializing Lisp objects in compiled files
367 directly instead of using the reader for faster loading of .fas files
368 (configure option ~--enable-serialization~).
369 - improvements to C backtrace interface. Compile with CFLAGS+="-rdynamic"
370 ./configure ... (Unix) or nmake ECL_USE_DBGHELP=yes ... (MSVC) to take
371 full advantage of this feature.
372 - better handling of fifo files (see man 7 fifo)
373 - unicode names are always linked for unicode builds (~--with-unicode-names~ removed)
374 - numerous bytecodes compiler enhancements
375 - ~ext:run-program~: process streams may be virtual streams (for instance
376 ~*standard-output*~ in slime, or a string-output-stream)
377 - ~ext:run-program~: environ argument defaults to ~:default~, when NIL
378 passed empty environment is used
379 - compiler: when gcc fails ecl prints the failing command output
380 - ASDF has been updated to 3.1.8.8
381 - The Boehm-Demers-Weiser garbage collector has been updated to version 7.6.8
382 - libffi has been updated to version 3.3
383 - package local nicknames has been implemented (after SBCL)
384 - hash table extensions are documented in newdoc
385 - various cleanups performed in the compiler
386 - compiler is less verbose by default now
387 - ~ext:run-program~ has been rewritten (almost) from scratch
388 - improved documentation of operating system interface (newdoc)
389 - example of parsing arguments in standalone executable (newdoc)
390 - example of using shared libraries from C world (newdoc)
391 - reduced =format= directive tables size
392 - simplified ~atan2~ implementation by using c99 equivalent - now we
393 produce correct output for signed zeros, infinities and nans.
394 - configure script supports new options =--with-libgc-prefix=,
395 =--with-libgc-incdir= and =--with-libgc-libdir= (these flags work the
396 same as flags for =libffi= and =libgmp=)
397 ** Issues fixed
398 - issues with type system revealed by sbcl bootstrapping are gone
399 - classes are not defined at compilation time
400 - weak hashtables mishandled weak values when keys were present
401 - gethash on weak hashtables returned the pointer instead of the value
402 - maphash on weak hashtables mapped over pointers instead of the values
403 - initarg caches are now invalidated when new methods are defined. Problem
404 found and fixed by Alexander Wood.
405 - ECL allocated too much space in lisp stack. Instead of the specified size
406 x in bytes, ECL allocated roughly x^2/p where p is defined in
407 LISP_PAGESIZE (2048 by default). If you're setting the value of
408 ECL_OPT_LISP_STACK_SIZE, please check whether you really have
409 set a high enough value.
410 - ~block/return-from~ fixed (didn't work across some closure boundaries)
411 - ~mp:semaphore-signal~ fixed (race when count was > 1)
412 - Multiple native threads issues fixed
413 - ASDF systems like foo/base and bar/base doesn't have conflicts in bundles
414 - interactive input stream in ext:run-program on Windows
415 - removed race condition between waitpid and sigchld handler on UNIX
416 - buildsystem parallel builds work (i.e make -j999)
417 - ECL builds on consoles with unusual encodings on Windows (i.e cp936)
418 ** API changes
419 - ~LISP~ and ~USER~ package nicknames to ~COMMON-LISP~ and
420 ~COMMON-LISP-USER~ are removed
421 - make-hash-table accepts a new keyword argument ~:hashing-function~
422 - no-op ~--enable-asmapply~ configure option has been removed
423 - ~profile~ and ~rt~ contribs are now deprecated and disabled by default
424 - thread-local variable support has been removed (~--with___thread~)
425 - deprecated configure option ~--enable-opcode8~ has been removed
426 - mk-defsystem is not build by default (enable by ~--with-defsystem=yes~)
427 - asdf:make-build accepts ~:init-name~ argument for libraries
428 this allows specifying human-memorable initialization function name to call
429 in C code
430 - package local nicknames protocol (documented in newdoc)
431 - make-hash-table accepts ~:synchronize~ flag for thread safe variant. New
432 predicate ~ext:hash-table-synchronized-p~ implemented
433 - make-hash-table ~:weakness~ argument new variant ~:key-or-value~
434 implemented
435 - No more explicit option in ~main.d~ to trap SIGCHLD asynchronously
436 - Zombie processes are cleaned in ~external-process~ finalizer. If process
437 is still referenced in the memory, it's programmer duty to call wait.
438 - The ECL_OPT_SIGALTSTACK_SIZE option has been removed, because it had no
439 effect.
440 - Non-standard package nicknames (USER for COMMON-LISP-USER and LISP for
441 COMMON-LISP) have been removed.
442 * 16.1.3 changes since 16.1.2
443 ** Announcement
444 Dear Community,
445
446 After almost a year of development we are proud to present a new release of
447 ECL tagged with version =16.1.3=. All changes are backward compatible
448 fixing bugs and other issues, implementing new interfaces and cleaning up
449 the code base.
450
451 ECL manual has been updated in a few places. Work on a new documentation is
452 still pending. It is still incomplete, but you may check see it here:
453 https://common-lisp.net/project/ecl/static/ecldoc/.
454
455 Before this release we have performed extensive tests on various platforms
456 (Linux, FreeBSD, OpenBSD, NetBSD, OSX, Windows MSVC, Windows MinGW, Windows
457 Cygwin, Android and Haiku). For details please consult
458 https://gitlab.com/embeddable-common-lisp/ecl/issues/307. Extra attention
459 has been paid to Windows testing to improve that platform support.
460
461 Best regards,
462 ECL Development Team
463
464 ** API changes
465 - Added better interface for package-locks.
466
467 Introduced functions:
468 =ext:package-locked-p package=
469 =ext:lock-package package=
470 =ext:unlock-package package=
471 =ext:without-package-locks=
472 =ext:with-unlocked-package=
473
474 To use these functions user has to require the module
475 #+BEGIN_SRC lisp
476 (require '#:package-locks)
477 #+END_SRC
478
479 =defpackage= accepts new option =lock= to allow locking package on
480 creation:
481
482 #+BEGIN_SRC lisp
483 (defpackage foo (:lock t))
484 #+END_SRC
485
486 - =mp:holding-lock-p=: introduce new function for multiprocessing. Function
487 verifies if lock is hold by the thread which calls the function. Usage:
488 =(mp:holding-lock-p my-lock)=.
489
490 - =make-random-state=: fix problem with simple-vectors. The correct
491 initialization types for =make-random-state= are: =(OR RANDOM-STATE
492 FIXNUM (MEMBER T NIL))=.
493
494 Initializing a random state with an appropriate array (element type and
495 arity dependent on platform) is also possible.
496
497 - =ext:random-state-array=: new extension for random-states. Usage:
498 =(ext:random-state-array random-state)=.
499
500 - =ext:terminate-process=: new extension for external processes. Usage:
501 =(ext:terminate-process process)= with a second, optional boolean
502 argument whenever termination should be forced or not.
503
504 ** Enhancements
505 - Implemented =CDR-7=.
506 https://common-lisp.net/project/cdr/document/7/index.html
507
508 - implemented CDRs: =CDR-1=, =CDR-5=, =CDR-14=. Both =CDR-1= and =CDR-5=
509 were already implemented, CDR-14 made us to list them in =*features*=
510 (https://common-lisp.net/project/cdr/document/14/index.html).
511
512 - if ECL is build with =--with-cxx= option, =:CXX-CORE= is present in
513 =*features*=.
514
515 - deprecated configure option =--with-local-gmp= has been removed - use
516 =--enable-gmp= (defaults to auto).
517
518 - configure options has been revised.
519
520 - ASDF has been upgraded to version 3.1.7.26 (with a few patches scheduled
521 for 3.2.0).
522
523 - bundled CLX has been purged. Lately I've fixed ECL support on portable
524 CLX maintained by sharplispers on https://github.com/sharplispers/clx
525 (available via QuickLisp).
526
527 - initial port for the Haiku platform. The port is done by Kacper Kasper's
528 work, one of Haiku developers. Threads are not supported yet.
529
530 - refactored ECL internal tests framework. Tests in =src/tests= are now
531 asdf-loadable (with =load-source-op=) and divided into test suites. =make
532 check= target runs all regression and feature tests which aren't supposed
533 to fail.
534
535 - removed 15000 lines of obsolete code. Files not included in the
536 buildsystem but lingering in the codebase or options failing to
537 build. All info is added in the new documentation in the section "Removed
538 interfaces".
539
540 - improved man page and help output. Man page now contains up-to-date list
541 of flags, as well as explanation of flag's behavior.
542
543 - deprecated long flags with one dash, added two-dash version. Flags that
544 aren't one-character, but start with one dash (e.g. =-eval=) are now
545 deprecated; long version =--eval= was added instead.
546
547 - indented C/C++ code to follow emacs's gnu C style. This is a first step
548 towards coding standards in the documentation. Additionally all in the
549 src/c/ directory are listed in the appropraite documentation section
550 (new-doc).
551
552 - refactored =list_current_directory in unixfsys.d=. Function was
553 obfuscated with ifdefs with non-even pairs of =#\{= and =#\}=.
554
555 ** Issues fixed
556 - ECL signals floating point exceptions in top-level console.
557
558 - =mp:rwlock= is treated as built-in class (previously process crashed if
559 =class-of= was called on such object).
560
561 - ECL builds now succesfully with =--with-ieee-fp=no= option.
562
563 - =ext:file-stream-fd=: doesn't cause an internal-error if called with
564 something not being a =file-stream= (signals a =SIMPLE-TYPE-ERROR=
565 condtition).
566
567 - =stable-sort=: bugfix and improvement in speed. Adapted from SBCL by
568 Diogo Franco.
569
570 - typep: accept =*= type specifier as abbreviation of =T= as described in
571 =2.4.3 Type Specifiers= of the specification.
572
573 - MOP: fix problemes when redefining non-standard and anonymous
574 classes. Bugs identified and fixed by Pascal Costanza.
575
576 - =getcwd=: fix issue with too long pathname. This fixes the regression,
577 which crashed ECL at start when pathname exceeded 128 characters limit.
578
579 - =make-random-state=: fix a problem with simple-vectors. Until now =#$=
580 reader macro accepted simple vectors as an argument, what lead to bugs if
581 vector didn't match specific requirements like the element type or the
582 arity. Now we sanitize this.
583
584 - =make-load-form=: provide implementation for random-state objects.
585
586 - thread fix on msvc: on windows importing thread was closing the thread
587 handler so the thread wakeup wasn't working because the handler is not
588 more valid.
589
590 - import thread wasn't set upping a proper environment: on some case the
591 thread was mistakenly thinking that the thread was already registered.
592
593 - =ECL_HANDLER_CASE= and =ECL_RESTART_CASE= didn't work as expected. Bug
594 identified and fixed by Vadim Penzin.
595
596 * 16.1.2 changes since 16.0.0
597
598 ** API changes
599
600 - =si:do-defsetf= accepts optional parameter stores.\\
601 New lambda-list:\\
602 =(access-fn function &optional (stores-no 1))=.\\
603 This change is backward compatible.
604
605 - New MP functions:\\
606 =mp:with-rwlock=\\
607 =mp:try-get-semaphore= (non-blocking)\\
608 =mp:mailbox-try-read= (non-blocking)\\
609 =mp:mailbox-try-send= (non-blocking)
610
611 - Added back removed C interfaces\\
612 =ecl_import_current_thread=\\
613 =ecl_release_current_thread=
614
615 - When =cl-truename= encounters a broken symlink, it returns its path
616 instead of signalling a file-error
617
618 - Deprecated variables has been removed
619 =c::*suppress-compiler-warnings*=, =c::*suppress-compiler-notes*=
620
621 - Random state might be initialized by a random seed (truncated to
622 32bit value) or by a precomputed array.
623
624 Latter is designed to allow reading back the printed random state
625 (when printed readably), not as an array to initialize the random
626 state.
627
628 - C99 supporting compiler is mandatory for C backend.
629
630 - =COMPILER::*CC_IS_CXX*=: New variable to switch the output extension of
631 emitted compiler code to ".cxx" when configured with "--with-c++". This
632 eliminates compiler warnings that compiling C++ with a ".c" extension is
633 deprecated; this is seen mostly with Clang++.
634
635 - =GRAY:CLOSE= isn't specialized on =T= to preserve compatibility with some
636 libraries.
637
638 ** Enhancements:
639
640 - Added code walker (present in =*features*= as =:walker=)
641
642 - Testing framework initial cleanup
643
644 - Format fallbacks to =prin1= if infinity or NaN are passed to it
645
646 - Annotations are added at runtime (better integration with SLIME)
647
648 - Mersenne-Twister RNG has new 64 bit implementation for appropriate
649 machines
650
651 - Add sockets implementation for the android platform
652
653 - Add android build target (official android support)
654
655 - Added Clang-specific pragmas to disable return type, unused value and
656 excessive parentheses warnings, which are fairly harmless, but annoying
657 and clutter user output.
658
659 ** Issues fixed:
660
661 - =si:open-unix-socket-stream= accepts both string and base-string
662 (automatic coercion is performed)
663
664 - Long form of =DEFSETF= accepts multiple-values as a store forms:
665
666 #+BEGIN_SRC lisp
667 (defsetf gah (x) (y z) `(list ,x ,y ,z))
668 (setf (gah 3) (values 3 4))
669 #+END_SRC
670
671 - Building with single-threaded boehm works if ECL threads are disabled
672
673 - Using labels works with sharp-S-reader
674
675 #+BEGIN_SRC lisp
676 (read-from-string
677 "(#1=\"Hello\" #S(sharp-s-reader.1.example-struct :A #1#))")
678 #+END_SRC
679
680 - Generated C code works well with IEEE 754 infinities
681 (regression tests created)
682
683 - User-defined heap sizes can now exceed the size of a fixnum on 32-bit
684
685 - The heap size limit was intended to be 1GB on 32-bit or 4GB on 64-bit
686 but inconsistency between =ECL_FIXNUM_BITS= and =FIXNUM_BITS= in the code
687 prevented the heap to grow for 64-bit. This now occurs, and a few
688 other less visible bugs were fixed by restoring consistency to
689 =ECL_FIXNUM_BITS=.
690
691 - =EXT:EXTERNAL-PROCESS-WAIT= potential race condition fix
692
693 - Building with object files not created by ECL works (CFFI wrappers)
694
695 - Regression regarding initialization of build by ECL libraries from
696 external code fixed. Static and shared libraries initialization
697 funcitons has predetermined name while object files has randomized
698 names.
699
700 - Random state initial state generation was buggy and insecure (entropy
701 from urandom was rejected)
702
703 - Fix =listen= on streams when =FILE_CNT= isn't available (use read instad
704 of fread)
705
706 - =FIND= compiled with C compiler didn't respect =START= nor =END=
707 arguments. Compiler macro is fixed now and should work as expected
708
709 - =compute-applicable-methods-using-classes= bugfix
710
711 * 16.0.0 changes since 15.3.7
712 ** API changes
713
714 - There is no UFFI nickname for FFI package - we piggyback on
715 cffi-uffi-compat for UFFI dependent systems (our UFFI wasn't version
716 2.0 compatible and there were problems with ADSF dependencies on
717 UFFI - it wasn't a system)
718
719 - CLOS has the new nickname "MOP"
720
721 - The new ext:run-program :error argument can automatically create a
722 separate stream if provided with the :stream keyword.
723 The external-process structure also has a new field to hold that
724 stream.
725
726 - ext:run-program accepts new arguments - :if-input-does-not-exist,
727 :if-error-exists and :external-format
728
729 - ext:system no longer binds *standard-input* and *standard-output* and
730 now ignores input and output (use ext:run-program for more control)
731
732 - methods can be specialized on both single-float and double-float
733 (built-in classes were added for them)
734
735 - LET/FLET/LABELS will signal error if parameter of the same name will
736 appear multiple times
737
738 - lambda lists with repeated required parameter name are considered
739 invalid
740
741 - deprecated configure options "--with-system-boehm=x" and
742 "--enable-slow-config" removed
743
744 ** Enhancements:
745
746 - Verification if manual is up-to-date, providing corrections for
747 outdated parts
748
749 - Documentation is now included in the main repository under the
750 toplevel directory `doc'
751
752 - Update libffi to version 3.2.1
753
754 - Update asdf to version 3.1.5.4
755
756 - Update Boehm-Demers-Weiser garbage collector to version 7.4.2
757
758 - Pathname string-parts internal representation is now character, not
759 base-char
760
761 - Dead code removal, tabulators were replaced by spaces
762
763 - Better quality of generated code (explicit casting when necessary)
764
765 ** Issues fixed:
766
767 - Various fixes of bogus declarations
768
769 - Remove deprecated GC calls
770
771 - ROTATEF, SHIFTF, PSETF reworked to conform to the ANSI standard.
772 Places were handled improperly in regard of multiple values.
773
774 - Improved unicode support in character handling
775
776 - Format handles floats and exponentials correctly (major format rework)
777
778 - Stack limits refinements and cleanup, inconsistency and bug fixes
779
780 - Duplicate large block deallocation with GMP 6.0.0a fixed
781
782 - ECL builds on OpenBSD with threads enabled
783
784 - Closures put in mapcar work as expected in both compiled and
785 interpreted code
786
787 - Improved readtable-case handling (:invert and character literals now
788 conform)
789
790 - Library initialization functions have unique names - no risk of
791 clashing symbol names in object files
792
793 - Format float bug fixed, when width and fdigits were not set, but k
794 was
795
796 - `logical-pathname-translations' now throws an error if logical
797 pathname wasn't defined yet, to conform with ANSI (it used to return
798 NIL)
799
800 - Wildcards in logical pathname translations are replaced correctly
801
802 - Regression testing framework and unit tests cleanup
803
804 - deftype ANSI conformity fix (deftype accepts macro labda-lists)
805
806 - ECL built with MSVC doesn't crash when Control-C is pressed
807
808 - Other minor tweaks
809
810 * 15.3.7 changes since 15.2.21
811 ** Issues fixed:
812
813 - DEFUN functions not defined as toplevel forms were also directly
814 referenced by other code in the same file.
815
816 - STABLE-SORT works as desired (bogus optimization for strings
817 fixed).
818
819 - broken --with-sse=yes configure flag works once again.
820
821 ** Enhancements:
822
823 - autoconf scripts are rewritten to support version 2.69 stack.
824
825 - stack direction is now correctly determined, fixing gcc 5.x builds.
826
827 - compilation of ECL under MSVC (2008/2010/2012) even with custom
828 code pages.
829
830 - In compiled code it is possible to declare variables to have a C
831 type such as in (declare (:double a)) and then the variable is
832 enforced to be unboxed to such type.
833
834 - New form FFI:C-PROGN used to interleave C statements with lisp
835 code, where the lisp code may refer to any number of
836 variables. Example:
837 #+BEGIN_SRC lisp
838 (lambda (i)
839 (let* ((limit i)
840 (iterator 0))
841 (declare (:int limit iterator))
842 (ffi:c-progn (limit iterator)
843 "for (#1 = 0; #1 < #0; #1++) {"
844 (print iterator)
845 "}")))
846 #+END_SRC
847
848 * 15.2.21 changes since 13.5.1
849
850 - Features coverity scan model, ffi-unload-module implementation,
851 probably more.
852
853 - Build system enhancements, parallel builds, fixes,
854 simplifications, cleanups, maintenance. minor cleanup,
855 maintenance.
856
857 - Numerous fixes.
858
859 * 13.5.1 changes since 12.7.1
860
861 ** Visible changes:
862
863 - ECL now reports #+UNIX for all compatible systems, including *BSD ones.
864
865 ** Compiler fixes:
866
867 - Minor readability improvements in the C code.
868
869 - MULTIPLE-VALUE-BIND compiles using MULTIPLE-VALUE-SETQ and now both are
870 better optimized, generating simpler C code.
871
872 - The type checking routine for LOGAND was producing spurious warnings.
873
874 - (LDB (BYTE ...) ...) no longer conses a BYTE object.
875
876 - Added optimizations for MASK-FIELD, DPB, DEPOSIT-FIELD, LDB-TEST and LDB.
877
878 - CONSTANT-VALUE-P and friends now use the (compiler) environment.
879
880 - No optional type check generated for constant values.
881
882 - Declare the temporary variables in DEFMACRO/DESTRUCTURING-BIND as IGNORABLE
883
884 - ECL now accepts WHILE/IF before FOR/AS, a construct that is not ANSI
885 An example: (LOOP FOR I IN LIST WHILE (SOME-TEST I) FOR X = (F I) ... )
886
887 ** Common Lisp fixes:
888
889 - CONSTANTP now performs a bit more work, macroexpanding forms.
890
891 - ENSURE-DIRECTORIES-EXIST ignores the host and device from the original
892 pathname when creating the directories.
893
894 - In FORMAT, printing of floating point numbers could lead to an infinite loop.
895
896 - ROUND, FLOOR, CEILING and TRUNCATE have been reorganized and work faster with
897 rational numbers.
898
899 - (CONCATENATE 'SIMPLE-BASE-STRING ...) returned an ordinary string.
900
901 - MAKE-ARRAY did not terminate strings with #\Null (needed internally by the C
902 code).
903
904 - (SETF DOCUMENTATION) did not operate on functions because the function object
905 documentation had precedence over the annotation.
906
907 - Added the whole Unicode character database to the C library. This means ECL
908 can now interpret all Unicode character names properly, and print them as
909 well. ECL now also recognizes all ASCII control-character abbreviations
910
911 - Print integers using upcase letters for radix > 10
912
913 - New functions RATIOP, {SINGLE,SHORT,DOUBLE,LONG}-FLOAT-P help avoid consing
914 in TYPEP
915
916 - HASH-TABLE-COUNT did not work with weak hashes: it did not update the count
917 of live cells (Note, however, that this function is by definition not
918 reliable, just a hint, since a garbage collection may happen while the count
919 is being computed)
920
921 - ECL no longer uses :READ-ONLY declarations in the SETF expansions because
922 there is code out there that modifies the values variables.
923
924 - PROGV can now 'unbind' variables when the list of variables is longer than
925 the list of values.
926
927 ** CLOS:
928
929 - Added built in classes FIXNUM and BIGNUM.
930
931 - Eliminated code for accessing slots that was no longer used. Removed also
932 redundant code.
933
934 - Updating a class (due to a change in metaclass) now forces updating its
935 children
936
937 - UPDATE-INSTANCE-FOR-REDEFINED-CLASS received an alist instead of a
938 propertly-list as last argument
939
940 - PRINT-OBJECT did not have a working default for built in classes.
941
942 ** Extensions:
943
944 - SYSTEM must use the POSIX shell, which usually lives in /bin/sh.
945
946 - CLX now uses recursive locks.
947
948 - ASDF upgraded to version 2.32, including the ASDF-BUNDLE facility, which
949 supersedes ECL's own implementation of precompiled libraries.
950
951 - MAKE-INSTANCE, SHARED-INITIALIZE, REINITIALIZE-INSTANCE now work on
952 structures as well.
953
954 * 12.7.1 changes
955
956 Some highlights of this release are:
957
958 - ECL now ships with the whole of the Unicode names database,
959 optimally compressed using constant C tables. This means ECL now
960 recognizes all valid Unicode (and ASCII) names for the whole range
961 of characters, and can print them as well.
962
963 - ECL has changed the way it stores compiled data in the C files, so
964 that it works around the limit of 65k characters per string.
965
966 - ECL now builds with Microsoft Visual Studio C++ 2012.
967
968 - We bend the knee and accepted WHILE/IF statements intertwined with
969 FOR/AS, though this is still not valid ANSI Common Lisp.
970
971 * Settings
972 ;;; Local Variables: ***
973 ;;; mode:org ***
974 ;;; fill-column:75 ***
975 ;;; End: ***