summaryrefslogtreecommitdiff
path: root/lang/clisp
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-03-11 23:32:44 +0000
committerwiz <wiz@pkgsrc.org>2006-03-11 23:32:44 +0000
commit6b5e25539ae4686526e6558a33e66de3b7d1a2e7 (patch)
tree96d88797bc32f612f4922106dfc7a234459c6005 /lang/clisp
parent27a464ab136f84aef975a5578d8012c4aa58d6fa (diff)
downloadpkgsrc-6b5e25539ae4686526e6558a33e66de3b7d1a2e7.tar.gz
Update to 2.38:
2.38 (2006-01-24) ================= User visible changes -------------------- * SAVEINITMEM can create standalone executables. Thanks to Frank Buß for the idea. SAVEINITMEM also accepts :NORC argument do disable RC-file loading. See <http://clisp.cons.org/impnotes/image.html> for details. * POSIX:SYSLOG no longer recognizes "%m" and other formatting instructions. For your safety and security, please do all formatting in Lisp. * Fixed the OPEN :IF-EXISTS :APPEND bug introduced in 2.37. * Fixed a crash on woe32 in opening files with names longer than MAX_PATH. * Module berkeley-db now supports Berkeley DB 4.4. 2.37 (2006-01-02) ================= User visible changes -------------------- * Signal a continuable error when an already opened file is opened again, unless both streams are read-only. * SOCKET-SERVER now accepts :BACKLOG and :INTERFACE arguments. The first (optional) argument should be the port number or NIL. Use (SOCKET-SERVER NIL :INTERFACE SOCKET) instead of (SOCKET-SERVER SOCKET). Thanks to Tomas Zellerin See <http://clisp.cons.org/impnotes/socket.html#sose> for details. * EXT:HTTP-PROXY now uses the environment variable "http_proxy", not "HTTP_PROXY", like curl does, to avoid confusing it with CGI arguments. * OPEN :DIRECTION :OUTPUT now creates write-only handles and treats named pipes correctly. * Fixed EXT:SETENV on non-POSIX systems (woe32 and BSD derivatives). * Fixed a bug in EXT:! on 64-bit platforms. Thanks to Dr. Werner Fink 2.36 (2005-12-04) ================= User visible changes -------------------- * Infrastructure: + Top-level configure now accepts the option --enable-maintainer-mode that affects autoconf-related Makefile targets. The default value is determined based on the presence of the CVS directories. + When libsigsegv is not found, print instructions on getting/building libsigsegv and bail out; override with --ignore-absence-of-libsigsegv. + When --with-dynamic-ffi is supplied, but the FFI fails to build, abort. + When --with-readline is supplied, but GNU readline is not found, abort. + makemake no longer checks with_module_* variables. * New function EXT:OPEN-HTTP and macro EXT:WITH-HTTP-INPUT. See <http://clisp.cons.org/impnotes/macros3.html#open-http> for details. * New declaration EXT:NOTSPECIAL undoes the effects of DEFVAR and DEFCONSTANT. See <http://clisp.cons.org/impnotes/declarations.html#notspec-decl> for details. * Function EXT:CLHS is now deprecated in favor of DESCRIBE, which can now point your web browser to the ANSI CL and CLISP-specific documentation. See <http://clisp.cons.org/impnotes/environment-dict.html#describe> for details. * FFI modules can now take advantage of autoconf feature detection. See <http://clisp.cons.org/impnotes/dffi.html#ffi-guard> for details. * New FFI macro FFI:DEF-C-CONST. See <http://clisp.cons.org/impnotes/dffi.html#def-c-const> for details. * New charset BASE64 encodes arbitrary byte sequences with strings of printable ASCII characters (4 characters per 3 bytes). See <http://clisp.cons.org/impnotes/encoding.html#base64> for details. * New module readline offers some advanced readline and history features. It is a BASE module and is available when both FFI and readline are present. * SOCKET:SOCKET-SERVICE-PORT is now deprecated in favor of OS:SERVICE. See <http://clisp.cons.org/impnotes/syscalls.html#service> for details. * New SETF-able functions POSIX:GETUID, POSIX:GETGID, POSIX:GETEUID, POSIX:GETEGID. New functions POSIX:GROUP-INFO and POSIX:STRING-TIME. Function POSIX:USER-DATA is renamed to POSIX:USER-INFO. See <http://clisp.cons.org/impnotes/syscalls.html> for details. * New NEW-CLX demo: foch.lisp draws fractal snowflakes. Implemented XLIB:SET-MODIFIER-MAPPING, XLIB:KEYSYM->KEYCODES, XLIB:ACCESS-HOSTS, XLIB:ADD-ACCESS-HOST, XLIB:REMOVE-ACCESS-HOST, XLIB:CHANGE-KEYBOARD-CONTROL, XLIB:CHANGE-KEYBOARD-MAPPING, XLIB:KEYBOARD-MAPPING, XLIB:KEYSYM-NAME, XLIB:KEYCODE->CHARACTER, XLIB:SHAPE-EXTENTS, XLIB:SHAPE-RECTANGLES, XLIB:DEFAULT-KEYSYM-INDEX. Use MAP instead of ELT for sequence access in NEW-CLX. * ANSI CL compliance issues: + DEFPACKAGE options :SHADOWING-IMPORT-FROM, :USE, :IMPORT-FROM accept package designators, not just package names. + ENCODE-UNIVERSAL-TIME is now the perfect inverse for DECODE-UNIVERSAL-TIME. * The command line option -v now affects *LOAD-ECHO* also. See <http://clisp.cons.org/clisp.html#opt-v> for details. * When a CLISP process is killed, clean-up is always executed. * DEFCLASS now permits user-defined :ALLOCATION arguments. * Fixed (FUNCTION-LAMBDA-EXPRESSION #'(SETF FOO)) on compiled functions. * Fixed re-exporting symbols from POSIX to EXT. * Fixed module rawsock on platforms with non-trivial struct sockaddr layout. Functions that take a BUFFER argument, also take :START and :END arguments. Renamed RAWSOCK:LISTEN to RAWSOCK:SOCK-LISTEN to avoid a conflict with CL. New functions RAWSOCK:PROTOCOL, RAWSOCK:NETWORK, RAWSOCK:GETADDRINFO, RAWSOCK:GETNAMEINFO. See <http://clisp.cons.org/impnotes/rawsock.html> for details. * Fixed module postgresql logging behavior. * Fixed clisp.h generation to conform to the internal definitions. 2.35 (2005-08-29) ================= User visible changes -------------------- * SOCKET:SOCKET-STREAM-SHUTDOWN does not call CLOSE anymore, just shutdown(2) - as it has always been documented. It now also works on raw sockets, thus RAWSOCK:SHUTDOWN has been removed. See <http://clisp.cons.org/impnotes.html#sost-shut> and <http://clisp.cons.org/impnotes.html#rawsock> for details. * When the command line option -E receives an invalid encoding, ISO-8859-1 is used instead. [It was ASCII (for *FOREIGN-ENCODING*) or UTF-8 (for all other encodings) before.] Rationale: this is a 1:1 that corresponds to CLISP CODE-CHAR/CHAR-CODE and avoids spurious errors in DIRECTORY on startup. * New function EXT:COMPILED-FILE-P - checks whether the file is a CLISP-compiled file with a compatible bytecode format. See <http://clisp.cons.org/impnotes.html#compiled-file-p> for details. * New functions EXT:CHAR-INVERTCASE, EXT:STRING-INVERTCASE and EXT:NSTRING-INVERTCASE invert case of characters and strings. See <http://clisp.cons.org/impnotes.html#char-invertcase> and <http://clisp.cons.org/impnotes.html#string-invertcase> for details. * New function POSIX:STREAM-OPTIONS calls fcntl(2). See <http://clisp.cons.org/impnotes.html#fcntl> for details. * Explicitly close all possible file descriptors before exec(). * Danish translations of the user interface messages have been added. Thanks to Dennis Decker Jensen 2.34 (2005-07-20) ================= Important notes --------------- * All .fas files generated by previous CLISP versions are invalid and must be recompiled. This is caused by the addition of MOP, the DEFSETF fixes, and the TRANSLATE-PATHNAME and MAKE-HASH-TABLE enhancements. Set CUSTOM:*LOAD-OBSOLETE-ACTION* to :COMPILE to automate this. See <http://clisp.cons.org/impnotes.html#loadfile> for details. * The name of the Run-Control file has changed from '_clisprc' to '.clisprc' on all platforms. If you are using woe32, please rename your Run-Control file. * Modules i18n, regexp, and syscalls are now present even in the base linking set. Do not pass, e.g., "--with-module=regexp" to configure. User visible changes -------------------- * The CLOS MetaObject Protocol is supported: + New class METAOBJECT. + Classes: New classes STANDARD-READER-METHOD, STANDARD-WRITER-METHOD, FORWARD-REFERENCED-CLASS. New functions ENSURE-CLASS. New generic functions CLASS-DIRECT-SUPERCLASSES, CLASS-PRECEDENCE-LIST, CLASS-DIRECT-SLOTS, CLASS-SLOTS, CLASS-DIRECT-DEFAULT-INITARGS, CLASS-DEFAULT-INITARGS. New customizable generic functions For class creation: ENSURE-CLASS-USING-CLASS, VALIDATE-SUPERCLASS, COMPUTE-DIRECT-SLOT-DEFINITION-INITARGS, COMPUTE-CLASS-PRECEDENCE-LIST, COMPUTE-EFFECTIVE-SLOT-DEFINITION, COMPUTE-EFFECTIVE-SLOT-DEFINITION-INITARGS, COMPUTE-SLOTS, COMPUTE-DEFAULT-INITARGS, READER-METHOD-CLASS, WRITER-METHOD-CLASS. For notification about subclasses: CLASS-DIRECT-SUBCLASSES, ADD-DIRECT-SUBCLASS, REMOVE-DIRECT-SUBCLASS. + Generic Functions: New classes FUNCALLABLE-STANDARD-CLASS, FUNCALLABLE-STANDARD-OBJECT. New functions ENSURE-GENERIC-FUNCTION, SET-FUNCALLABLE-INSTANCE-FUNCTION, COMPUTE-EFFECTIVE-METHOD-AS-FUNCTION. New generic functions GENERIC-FUNCTION-NAME, GENERIC-FUNCTION-METHODS, GENERIC-FUNCTION-METHOD-CLASS, GENERIC-FUNCTION-LAMBDA-LIST, GENERIC-FUNCTION-METHOD-COMBINATION, GENERIC-FUNCTION-ARGUMENT-PRECEDENCE-ORDER, GENERIC-FUNCTION-DECLARATIONS. New customizable generic functions ENSURE-GENERIC-FUNCTION-USING-CLASS, COMPUTE-DISCRIMINATING-FUNCTION, COMPUTE-APPLICABLE-METHODS, COMPUTE-APPLICABLE-METHODS-USING-CLASSES. + Methods: New generic functions METHOD-FUNCTION, METHOD-GENERIC-FUNCTION, METHOD-LAMBDA-LIST, METHOD-SPECIALIZERS, ACCESSOR-METHOD-SLOT-DEFINITION. New functions EXTRACT-LAMBDA-LIST, EXTRACT-SPECIALIZER-NAMES. + Method-Combinations: New generic function FIND-METHOD-COMBINATION. New customizable generic function COMPUTE-EFFECTIVE-METHOD. + Slot-Definitions: New classes SLOT-DEFINITION, STANDARD-SLOT-DEFINITION, DIRECT-SLOT-DEFINITION, STANDARD-DIRECT-SLOT-DEFINITION, EFFECTIVE-SLOT-DEFINITION, STANDARD-EFFECTIVE-SLOT-DEFINITION. New generic functions SLOT-DEFINITION-NAME, SLOT-DEFINITION-INITFORM, SLOT-DEFINITION-INITFUNCTION, SLOT-DEFINITION-TYPE, SLOT-DEFINITION-ALLOCATION, SLOT-DEFINITION-INITARGS, SLOT-DEFINITION-READERS, SLOT-DEFINITION-WRITERS, SLOT-DEFINITION-LOCATION. New customizable generic functions DIRECT-SLOT-DEFINITION-CLASS, EFFECTIVE-SLOT-DEFINITION-CLASS. + Specializers: New classes SPECIALIZER, EQL-SPECIALIZER. New generic functions SPECIALIZER-DIRECT-GENERIC-FUNCTIONS, SPECIALIZER-DIRECT-METHODS. New functions EQL-SPECIALIZER-OBJECT, INTERN-EQL-SPECIALIZER. New customizable generic functions ADD-DIRECT-METHOD, REMOVE-DIRECT-METHOD. + Slot access: New generic functions SLOT-VALUE-USING-CLASS, (SETF SLOT-VALUE-USING-CLASS), SLOT-BOUNDP-USING-CLASS, SLOT-MAKUNBOUND-USING-CLASS. New functions STANDARD-INSTANCE-ACCESS, FUNCALLABLE-STANDARD-INSTANCE-ACCESS. + Dependent object notification: New functions MAP-DEPENDENTS. New customizable generic functions ADD-DEPENDENT, REMOVE-DEPENDENT, UPDATE-DEPENDENT. See <http://clisp.cons.org/impnotes.html#mop-chap> for details, and <http://clisp.cons.org/impnotes.html#mop-clisp> for a list of differences between CLISP and "The Art of the Metaobject Protocol". *FEATURES* now contains :MOP. * CLISP now supports programming with case sensitive symbols. This is the default when CLISP is started with the new command line option "-modern". See <http://clisp.cons.org/impnotes.html#package-case> for details. * Several new datatypes that manage weak references: WEAK-LIST, WEAK-AND-RELATION, WEAK-OR-RELATION, WEAK-MAPPING, WEAK-AND-MAPPING, WEAK-OR-MAPPING, WEAK-ALIST. New functions - for WEAK-LIST: MAKE-WEAK-LIST, WEAK-LIST-P, WEAK-LIST-LIST, (SETF WEAK-LIST-LIST), - for WEAK-AND-RELATION: MAKE-WEAK-AND-RELATION, WEAK-AND-RELATION-P, WEAK-AND-RELATION-LIST, - for WEAK-OR-RELATION: MAKE-WEAK-OR-RELATION, WEAK-OR-RELATION-P, WEAK-OR-RELATION-LIST, - for WEAK-MAPPING: MAKE-WEAK-MAPPING, WEAK-MAPPING-P, WEAK-MAPPING-PAIR, WEAK-MAPPING-VALUE, (SETF WEAK-MAPPING-VALUE), - for WEAK-AND-MAPPING: MAKE-WEAK-AND-MAPPING, WEAK-AND-MAPPING-P, WEAK-AND-MAPPING-PAIR, WEAK-AND-MAPPING-VALUE, (SETF WEAK-AND-MAPPING-VALUE), - for WEAK-OR-MAPPING: MAKE-WEAK-OR-MAPPING, WEAK-OR-MAPPING-P, WEAK-OR-MAPPING-PAIR, WEAK-OR-MAPPING-VALUE, (SETF WEAK-OR-MAPPING-VALUE), - for WEAK-ALIST: MAKE-WEAK-ALIST, WEAK-ALIST-P, WEAK-ALIST-TYPE, WEAK-ALIST-CONTENTS, (SETF WEAK-ALIST-CONTENTS), WEAK-ALIST-ASSOC, WEAK-ALIST-RASSOC, WEAK-ALIST-VALUE, (SETF WEAK-ALIST-VALUE). See <http://clisp.cons.org/impnotes.html#weak> for details. * You can create formatting streams of class EXT:FILL-STREAM. See <http://clisp.cons.org/impnotes.html#fill-stream> for details. * SUBTYPEP can determine subtype relationship and type equivalence much better than it could before. * When *PRINT-READABLY* is true, symbols are now printed with package marker and vertical bars. * ANSI CL compliance issues: + Issue <DECLARATION-SCOPE:NO-HOISTING> is implemented: The scope of declarations that do not apply to bindings, such as free SPECIAL, NOTINLINE or OPTIMIZE declarations, includes only the body forms and no longer includes the initforms of the LAMBDA/LET/LET*/MULTIPLE-VALUE-BIND bindings. + Vectors of element type NIL are now strings in all aspects. But the type BASE-STRING does _not_ include vectors of element type NIL. + TYPE-OF now returns STANDARD-CHAR instead of CHARACTER when possible. + The type COMPILED-FUNCTION no longer encompasses generic functions. + TYPE-OF now returns COMPILED-FUNCTION or STANDARD-GENERIC-FUNCTION instead of FUNCTION when possible. + The space character is printed as "#\ " if CUSTOM:*PRINT-SPACE-CHAR-ANSI* is true. + The #<PACKAGE KEYWORD> no longer has the nickname "". The syntax :FOO for keywords still works, but is now special cased in the reader. + Class redefinition with DEFCLASS no longer modifies the previous class if it doesn't have a "proper name". + Class redefinition with DEFCLASS removes accessor methods that have been installed through the previous DEFCLASS definition of the same class. + Generic function redefinition with DEFGENERIC removes methods that have been installed through the previous DEFGENERIC definition of the same function. + The set of qualifiers allowed for methods that are combined with a method combination defined through the short form of DEFINE-METHOD-COMBINATION now includes the name of the method combination instead of the operator. + FIND-METHOD now gives an error if the list of specializers has a wrong length. + ARRAY-TOTAL-SIZE-LIMIT, ARRAY-DIMENSION-LIMIT, ARRAY-RANK-LIMIT are now fixnums. + SHORT-FLOATs whose absolute value is an integer in the range between 10^5 and 10^7 are now printed with full precision. + Operations combining rational and floating-point numbers now return a floating-point result if CUSTOM:*FLOATING-POINT-RATIONAL-CONTAGION-ANSI* is true. When the mathematical result in a situation is rational, a warning is issued if CUSTOM:*WARN-ON-FLOATING-POINT-RATIONAL-CONTAGION* is true. + Class redefinition with DEFCLASS now updates existing instances as specified. + An ABORT restart is now always installed. + UPDATE-INSTANCE-FOR-DIFFERENT-CLASS does the required argument checking. + Passing invalid initialization arguments to MAKE-INSTANCE and similar now generates a PROGRAM-ERROR instead of just an ERROR. + Documentation strings are now attached to class objects, not just to their name. + Arrays with total array size 0 are printed in a lossy way if CUSTOM:*PRINT-EMPTY-ARRAYS-ANSI* is true and *PRINT-READABLY* is false. + Allow () to match NIL in destructuring lambda lists. + Documentation strings at a place where only declarations and forms are allowed now give a warning, not an error. + LAST, BUTLAST and NBUTLAST check their list argument for circularity. + Different LOAD-TIME-VALUE forms that are EQUAL but not EQ are no longer coalesced by COMPILE-FILE. + DEFSETF lambda-lists now support &ENVIRONMENT. + DEFSETF lambda-lists are no longer destructuring lambda-lists. + NAMESTRING no longer accepts an optional second argument. + SETF of VALUES now uses only the first value of each subform. + SPECIAL declarations of variables are now correctly respected inside macro expanders defined through MACROLET within the declaration's scope. + (EXPORT NIL), (UNEXPORT NIL), (IMPORT NIL), (SHADOWING-IMPORT NIL), (SHADOW NIL) are now nops. + An attempt to create a condition from an invalid condition designator now always results in a TYPE-ERROR being signalled. + The reader's errors are now of type READER-ERROR when they should be. + READ-DELIMITED-LIST now returns NIL when *READ-SUPPRESS* is true. + Printing of multidimensional arrays now respects *PRINT-LEVEL*. + As required by 19.2.3, *DEFAULT-PATHNAME-DEFAULTS* is merged into pathnames before accessing the file system. + LOGICAL-PATHNAME now gives an error if the argument string does not contain a host specification. + The PRINT-UNREADABLE macro prints extraneous spaces if CUSTOM:*PRINT-UNREADABLE-ANSI* is true. + In the #n= and #n# reader syntax, the integer n may now be larger than 7 digits. + IN-PACKAGE forms with constant arguments are no longer executed by the compiler if they occur in a non-null lexical environment. + COMPILE-FILE now always returns the TRUENAME of its output file. + GET-SETF-EXPANSION now accepts NIL as the environment argument to mean null lexical environment Thanks to Paul F. Dietz and his ANSI compliance suite, which helped detect some of these deficiencies. Thanks to Yuji Minejima and his ANSI compliance suite, which helped detect some of these deficiencies. * Global error handlers can now be installed and removed using EXT:SET-GLOBAL-HANDLER, EXT:WITHOUT-GLOBAL-HANDLERS, and -on-error command line option. See <http://clisp.cons.org/impnotes.html#global-handler> and <http://clisp.cons.org/clisp.html#opt-on-error> for details. * TRANSLATE-PATHNAME and TRANSLATE-LOGICAL-PATHNAME accept a new keyword argument :ABSOLUTE which makes them convert their return values to absolute pathnames. See <http://clisp.cons.org/impnotes.html#translate-pathname> and <http://clisp.cons.org/impnotes.html#translate-logpath> for details. * New function EXT:ABSOLUTE-PATHNAME. See <http://clisp.cons.org/impnotes.html#absolute-pathname> for details. * New function EXT:ELASTIC-NEWLINE and new FORMAT directive "~.". See <http://clisp.cons.org/impnotes.html#elastic-newline> and <http://clisp.cons.org/impnotes.html#format-dot> for details. Through this function, CLISP no longer produces spurious blank lines when a program uses the convention of printing a #\Newline before each line. * TRACE has a new option :MAX-DEPTH, that is useful to avoid infinite recursions in the tracer. See <http://clisp.cons.org/impnotes.html#trace> for details. * The function LENGTH and a few other sequence functions now signal a TYPE-ERROR when a circular list has been given as argument. * Function UPGRADED-COMPLEX-PART-TYPE is now as precise as possible. See <http://clisp.cons.org/impnotes.html#ucpt> for details. * In non-interactive batch mode, *ERROR-OUTPUT* now uses the system's standard error stream, instead of the standard output stream. * The macros MUFFLE-CERRORS, APPEASE-CERRORS and EXIT-ON-ERROR now treat CONTINUE restarts which require interactive user intervention like other restarts. Only non-interactive CONTINUE restarts are silently invoked. * LOAD :OBSOLETE-ACTION can now also be :COMPILE to automatically recompile the obsolete *.fas file. LOAD can now ignore erroneous forms using SKIP and STOP restarts. See <http://clisp.cons.org/impnotes.html#loadfile> for details. * References from within macros defined through MACROLET to variables or functions defined in the lexical environment outside the MACROLET form now signal an error. Previously, this resulted in undefined behavior. * The FFI recognizes the c-type declaration (FFI:C-POINTER <c-type>) to handle references without conversion to/from Lisp structures. See <http://clisp.cons.org/impnotes.html#c-pointer> for details. * The FFI variable FFI:*FOREIGN-ENCODING* can now be a multibyte encoding. The warning "*FOREIGN-ENCODING*: reset to ASCII" at startup is gone. * New FFI constructor functions FFI:FOREIGN-VARIABLE and FFI:FOREIGN-FUNCTION, more operators are now exported (FFI:FOREIGN-VALUE, FFI:PARSE-C-TYPE). See <http://clisp.cons.org/impnotes.html#dffi-make-var> and <http://clisp.cons.org/impnotes.html#dffi-make-func> for details. * FFI macro FFI:C-LINES can now be used to fine-tune initialization and finalization. See <http://clisp.cons.org/impnotes.html#c-lines> for details. * New FFI function FFI:CLOSE-FOREIGN-LIBRARY can be used to unload a library. See <http://clisp.cons.org/impnotes.html#dffi-close-lib> for details. * New FFI low-level accessor FFI:MEMORY-AS. See <http://clisp.cons.org/impnotes.html#memory-as> for details. * Foreign functions and variables can now be documented using the :DOCUMENTATION option to FFI:DEF-CALL-OUT and FFI:DEF-C-VAR. * Buffered streams now are suitable for interactive streams. It is no longer necessary to use :BUFFERED NIL to avoid blocking in various situations. * Function EXT:READ-BYTE-SEQUENCE takes a new keyword argument :INTERACTIVE. See <http://clisp.cons.org/impnotes.html#rd-by-seq> for details. * Methods on GRAY:STREAM-READ-BYTE-SEQUENCE and GRAY:STREAM-WRITE-BYTE-SEQUENCE now need to accept a second optional argument. * The possible values of the :WEAK argument of MAKE-HASH-TABLE are changed: Use :KEY-AND-VALUE instead of :EITHER, :KEY-OR-VALUE instead of :BOTH now. * The :LIBRARY option argument to EXT:DEF-CALL-OUT and EXT:DEF-C-VAR is now evaluated (i.e., it can now be a variable) and may take a value of :DEFAULT and :NEXT in addition to being a string as before. See <http://clisp.cons.org/impnotes.html#def-c-var> and <http://clisp.cons.org/impnotes.html#def-call-out> for details. * New user variable CUSTOM:*PRINT-SYMBOL-PACKAGE-PREFIX-SHORTEST* allows using the shortest package (nick)name as the symbol prefix. See <http://clisp.cons.org/impnotes.html#pr-sym-pack-prefix> for details. * The user commands can now be extended using CUSTOM:*USER-COMMANDS*. See <http://clisp.cons.org/impnotes.html#user-commands> for details. * Initialization and finalization of the CLISP process can now be augmented with CUSTOM:*INIT-HOOKS* and CUSTOM:*FINI-HOOKS*. See <http://clisp.cons.org/impnotes.html#init-hooks> and <http://clisp.cons.org/impnotes.html#fini-hooks> for details. * SET functions (like UNION et al) are now much faster on large lists. * The second, optional argument of EXT:SPECIAL-VARIABLE-P can no longer be T; please use (THE-ENVIRONMENT) instead. * New function EXT:FEATUREP - the run-time version of read-time #+/#-. See <http://clisp.cons.org/impnotes.html#featurep> for details. * Bug fixes: + The interpreter no longer executes the body of (EVAL-WHEN (COMPILE) ...) forms. + Fixes to internationalized error messages. + When an interpreted INITIALIZE-INSTANCE method uses CALL-NEXT-METHOD with a modified argument list, MAKE-INSTANCE could in some cases initialize the new object three times instead of just once. + Fixed a compiler bug that could lead to incorrect code when a LAMBDA with SPECIAL-declared optional variables was compiled inline and the initforms of the optional variables depended on the values of the previous optional variables. + Passing a package as second argument of RENAME-PACKAGE led to an unjustified error. + Passing a displaced vector as argument to REVERSE could lead to an unjustified error. + FRESH-LINE did not work in some situations. + Fixed ATANH on complex numbers. + The macros EXT:LETF and EXT:LETF* now work correctly on symbol-macros. + Fixed a spurious crash of MULTIPLE-VALUE-SETQ in interpreted code. + Fixed a crash of (COPY-READTABLE NIL some-readtable). + Fixed a crash when using a hash-table as hash-table key. + Fixed a crash triggered by the READ-BYTE function on streams with element type ([UN]SIGNED-BYTE n), 24 < n < 32, on big-endian platforms. + Fixed a crash that occurred on glibc platforms when writing Unicode characters in the range #\U000E0000..#\U000E007F on a stream with an encoding other than UTF-8. + An invalid bignum could be returned by GET-INTERNAL-RUN-TIME on 64-bit platforms. + Third party code walkers can now handle HANDLER-BIND et al. * Woe32 distribution now comes with a binary driver clisp.exe. Do not copy it anywhere - create a shortcut to it instead! Use install.bat to automate shortcut creation. Modules ------- * New module matlab interfaces to <http://www.mathworks.com/products/matlab/> and allows complicated matrix computations. See <http://clisp.cons.org/impnotes.html#matlab> for details. * New module rawsock offers low-level socket access. Thanks to Fred and Don Cohens. See <http://clisp.cons.org/impnotes.html#rawsock> for details. * New module zlib interfaces to <http://www.zlib.org> and allows compression and uncompression of vectors. See <http://clisp.cons.org/impnotes.html#zlib> for details. * New module i18n now contains the GNU gettext interface as well as other functionality for Lisp program internationalization. See <http://clisp.cons.org/impnotes.html#i18n-mod> for details. * New module PARI interfaces to <http://pari.math.u-bordeaux.fr/>. See <http://clisp.cons.org/impnotes.html#pari> for details. * Module syscalls is significantly expanded. See <http://clisp.cons.org/impnotes.html#syscalls> for details. * Module berkeley-db is vastly expanded. See <http://clisp.cons.org/impnotes.html#berkeley-db> for details. Added support for Berkeley DB 4.3. * Modules now have an exit function. See <http://clisp.cons.org/impnotes.html#modexit> for details. Portability ----------- * Heaps and memory images larger than 4 GB are now supported on 64-bit platforms. * Support files larger than 2 GB or 4 GB also on Windows. * Weak pointers now also work on platforms without mmap(). * Weak hash tables now also work on platforms without mmap(). * Dynamic modules now work on woe32 too. * On most 64-bit platforms, fixnums are now 49 bits wide (including the sign bit), instead of 33 bits wide.
Diffstat (limited to 'lang/clisp')
-rw-r--r--lang/clisp/Makefile51
-rw-r--r--lang/clisp/PLIST16
-rw-r--r--lang/clisp/distinfo12
-rw-r--r--lang/clisp/patches/patch-aa29
-rw-r--r--lang/clisp/patches/patch-ab12
-rw-r--r--lang/clisp/patches/patch-ai48
6 files changed, 59 insertions, 109 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
index cf82743e431..0e7b3c406bd 100644
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -1,49 +1,48 @@
-# $NetBSD: Makefile,v 1.47 2006/03/04 21:29:53 jlam Exp $
+# $NetBSD: Makefile,v 1.48 2006/03/11 23:32:44 wiz Exp $
-DISTNAME= clisp-2.33.2
-PKGREVISION= 1
-CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
-EXTRACT_SUFX= .tar.bz2
+DISTNAME= clisp-2.38
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clisp/}
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://clisp.cons.org/
-COMMENT= CLISP, a Common Lisp implementation
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://clisp.cons.org/
+COMMENT= CLISP, a Common Lisp implementation
-NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 *-*-x86_64 # severe LP64 problems
+# XXX: uncomment if still true (commented out during update to 2.38)
+#NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 *-*-x86_64 # severe LP64 problems
-PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_INSTALLATION_TYPES= overwrite pkgviews
-WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_PKGLOCALEDIR= YES
-CONFIGURE_ENV+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} CPPFLAGS=${CPPFLAGS:M*:Q} \
- gt_cv_func_gnugettext2_libintl=yes
+BUILD_DIRS= src
+CONFIGURE_DIRS= . modules/i18n modules/syscalls modules/pcre modules/readline modules/regexp modules/wildcard
+CONFIGURE_ENV+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} CPPFLAGS=${CPPFLAGS:M*:Q}
GNU_CONFIGURE= YES
UNLIMIT_RESOURCES= stacksize
USE_LIBTOOL= YES
USE_GNU_READLINE= YES
-MODULES= --with-module=syscalls --with-module=regexp
MODULES+= --with-module=pcre --with-module=wildcard
+CONFIGURE_ARGS+= ${MODULES}
+TEST_TARGET= check
post-patch:
- ${CP} files/tramp-rs6000-netbsd.o ${WRKSRC}/../ffcall/callback/trampoline_r
- ${CP} files/tramp-rs6000-netbsd.s ${WRKSRC}/../ffcall/callback/trampoline_r
- ${CP} files/vacall-rs6000-netbsd.s ${WRKSRC}/../ffcall/callback/vacall_r
-
-do-configure:
- cd ${WRKSRC} && \
- (cd .. ; ${SETENV} ${CONFIGURE_ENV} \
- ${CONFIGURE_SCRIPT} --host=${MACHINE_GNU_PLATFORM} \
- --prefix=${PREFIX} ${MODULES}) && \
+ ${CP} files/tramp-rs6000-netbsd.o ${WRKSRC}/ffcall/callback/trampoline_r
+ ${CP} files/tramp-rs6000-netbsd.s ${WRKSRC}/ffcall/callback/trampoline_r
+ ${CP} files/vacall-rs6000-netbsd.s ${WRKSRC}/ffcall/callback/vacall_r
+
+post-configure:
+ cd ${WRKSRC}/src && \
./makemake --prefix=${PREFIX} --with-readline --with-gettext \
--with-dynamic-ffi --fsstnd=netbsd ${MODULES} >Makefile
pre-build:
- cd ${WRKSRC}/avcall && ${MAKE}
- cd ${WRKSRC}/callback && ${MAKE}
+ cd ${WRKSRC}/src/avcall && ${MAKE}
+ cd ${WRKSRC}/src/callback && ${MAKE}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libsigsegv/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
diff --git a/lang/clisp/PLIST b/lang/clisp/PLIST
index 2dda444d604..00a7e0fbb74 100644
--- a/lang/clisp/PLIST
+++ b/lang/clisp/PLIST
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.7 2005/08/03 20:46:16 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2006/03/11 23:32:44 wiz Exp $
bin/clisp
+lib/clisp/base/calls.o
+lib/clisp/base/gettext.o
lib/clisp/base/libavcall.a
lib/clisp/base/libcallback.a
lib/clisp/base/libcharset.a
@@ -10,11 +12,16 @@ lib/clisp/base/lispinit.mem
lib/clisp/base/makevars
lib/clisp/base/modules.h
lib/clisp/base/modules.o
+lib/clisp/base/readline.o
+lib/clisp/base/regex.o
+lib/clisp/base/regexi.o
+lib/clisp/base/regexp.dvi
lib/clisp/clisp-link
+lib/clisp/data/Symbol-Table.text
lib/clisp/data/UnicodeDataFull.txt
-lib/clisp/data/clhs.txt
lib/clisp/full/calls.o
lib/clisp/full/cpcre.o
+lib/clisp/full/gettext.o
lib/clisp/full/libavcall.a
lib/clisp/full/libcallback.a
lib/clisp/full/libcharset.a
@@ -25,12 +32,13 @@ lib/clisp/full/lispinit.mem
lib/clisp/full/makevars
lib/clisp/full/modules.h
lib/clisp/full/modules.o
+lib/clisp/full/readline.o
+lib/clisp/full/regex.o
lib/clisp/full/regexi.o
lib/clisp/full/regexp.dvi
lib/clisp/full/wildcard.dvi
lib/clisp/full/wildcard.o
lib/clisp/linkkit/clisp.h
-lib/clisp/linkkit/exporting.lisp
lib/clisp/linkkit/modprep.lisp
lib/clisp/linkkit/modules.c
lib/clisp/linkkit/modules.d
@@ -54,6 +62,8 @@ share/doc/clisp/clisp.ps
share/doc/clisp/editors.txt
share/doc/clisp/impnotes.css
share/doc/clisp/impnotes.html
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/clisp.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/clisplow.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/clisp.mo
${PKGLOCALEDIR}/locale/de/LC_MESSAGES/clisplow.mo
${PKGLOCALEDIR}/locale/en/LC_MESSAGES/clisp.mo
diff --git a/lang/clisp/distinfo b/lang/clisp/distinfo
index 114038d0fc7..be721bd86dd 100644
--- a/lang/clisp/distinfo
+++ b/lang/clisp/distinfo
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.10 2005/12/30 12:39:43 joerg Exp $
+$NetBSD: distinfo,v 1.11 2006/03/11 23:32:44 wiz Exp $
-SHA1 (clisp-2.33.2.tar.bz2) = b2403257f244a1502d63280a262629795821edae
-RMD160 (clisp-2.33.2.tar.bz2) = 2ecbd8f215e1485c63f80776ee37a02b770f98c7
-Size (clisp-2.33.2.tar.bz2) = 6091273 bytes
-SHA1 (patch-aa) = e7ef5ce48e6215d803d03ea57b23a80fb0862794
-SHA1 (patch-ab) = 3211f0d859fae536d11f7b7cd677ed5e83dc5f8a
-SHA1 (patch-ai) = 1890cdfb1f59ca573a802e889f2bb2dbc8e32256
+SHA1 (clisp-2.38.tar.bz2) = d9586c04ed4778b5c603b3b1df73e8c76220df59
+RMD160 (clisp-2.38.tar.bz2) = 9070e1d7cd4db66de62f077b68a7fef7413da622
+Size (clisp-2.38.tar.bz2) = 8078151 bytes
+SHA1 (patch-aa) = b22797602a3cbd43fb56ad4a2a54f69d67979929
diff --git a/lang/clisp/patches/patch-aa b/lang/clisp/patches/patch-aa
index 5f62e1c3fa8..094b9bfc2b4 100644
--- a/lang/clisp/patches/patch-aa
+++ b/lang/clisp/patches/patch-aa
@@ -1,14 +1,17 @@
-$NetBSD: patch-aa,v 1.11 2004/03/29 02:46:18 perry Exp $
+$NetBSD: patch-aa,v 1.12 2006/03/11 23:32:44 wiz Exp $
---- ../configure.orig 2004-03-28 16:37:55.000000000 -0500
-+++ ../configure 2004-03-28 16:39:05.000000000 -0500
-@@ -7,6 +7,9 @@
- # configure make.gcc gcc (deprecated)
- # configure make.cc cc (deprecated)
-
-+# strip leading spaces, which lead to problems later on
-+CPPFLAGS="`echo $CPPFLAGS`"
-+
- info_help () {
- cat << \EOP
- Usage: configure [options] [dirname]
+--- src/makemake.in.orig 2006-01-23 21:07:27.000000000 +0000
++++ src/makemake.in
+@@ -823,10 +823,10 @@ else
+ fi
+ if [ $HOS = unix ] ; then
+ test -n "$mandir" ||
+- mandir='${datadir}/man' # with autoconf-2.60: mandir='@mandir@' # usually '${datadir}/man'
++ mandir='${prefix}/man' # with autoconf-2.60: mandir='@mandir@' # usually '${datadir}/man'
+ MANDIR=`echo "$mandir" | sed -e "$brace_to_paren"`
+ else
+- mandir="\$(datadir)${NEXT_}man"
++ mandir="\$(prefix)${NEXT_}man"
+ MANDIR="$mandir"
+ fi
+ if [ $HOS = unix ] ; then
diff --git a/lang/clisp/patches/patch-ab b/lang/clisp/patches/patch-ab
deleted file mode 100644
index cae80c8a90b..00000000000
--- a/lang/clisp/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2005/12/30 12:39:43 joerg Exp $
-
---- unix.d.orig 2005-12-30 12:22:01.000000000 +0000
-+++ unix.d
-@@ -25,7 +25,6 @@
-
- /* the table of the system error messages */
- #include <errno.h>
--extern int errno; /* last error code */
- /* NB: errno may be a macro which expands to a function call.
- Therefore access and assignment to errno must be wrapped in
- begin_system_call()/end_system_call() */
diff --git a/lang/clisp/patches/patch-ai b/lang/clisp/patches/patch-ai
deleted file mode 100644
index b8bb636284c..00000000000
--- a/lang/clisp/patches/patch-ai
+++ /dev/null
@@ -1,48 +0,0 @@
-$NetBSD: patch-ai,v 1.2 2004/03/29 02:46:18 perry Exp $
-
---- makemake.in.orig 2004-03-16 17:04:05.000000000 -0500
-+++ makemake.in 2004-03-28 21:14:18.000000000 -0500
-@@ -348,6 +348,7 @@
- GROFF='@GROFF@' # either 'groff' or ''
- GMALLOC='@GMALLOC@' # either 'gmalloc' or ''
- LIBS='@LIBS@' # list of system libraries
-+ LDFLAGS='@LDFLAGS@' # additional options for linking
- LIBTERMCAP='@LIBTERMCAP@' # either '-ltermcap' or '-lncurses'
- LIBICONV='@LIBICONV@' # either '-liconv' or ''
- LIBSIGSEGV='@LTLIBSIGSEGV@' # '-lsigsegv -L/usr/local/lib' or ''
-@@ -1534,7 +1535,7 @@
- echol "exec_prefix = ${EXEC_PREFIX}"
- echol "bindir = \$(exec_prefix)${NEXT_}bin"
- echol "shared = \$(prefix)${NEXT_}share"
--echol "mandir = \$(shared)${NEXT_}man"
-+echol "mandir = \$(prefix)${NEXT_}man"
- echol "docdir = \$(shared)${NEXT_}doc"
- case "$fsstnd" in
- suse)
-@@ -1611,12 +1612,14 @@
- echol "CPP = ${XCPP}"
- echol "CLFLAGS = ${XCLFLAGS}"
- echol "LIBS = ${LIBS}"
-+ echol "LDFLAGS = ${LDFLAGS}"
- XCC="\$(CC)"
- XCPPFLAGS="\$(CPPFLAGS)"
- XCFLAGS="\$(CFLAGS)"
- XCPP="\$(CPP)"
- XCLFLAGS="\$(CLFLAGS)"
- LIBS="\$(LIBS)"
-+ LDFLAGS="\$(LDFLAGS)"
- fi
- echol "X_LIBS = ${X_LIBS}"
- X_LIBS="\$(X_LIBS)"
-@@ -2479,9 +2482,9 @@
- if [ $XCC_GCC = true -a -n "$SOLARIS_LINKING" ] ; then
- # Dynamically linking on Solaris 2.[23] is a pain.
- LIBGCC_DIR='`'"${XCC} -print-libgcc-file-name"' | sed -e '"'"'s,[^/]*$$,,'"'"'`'
-- echotab "${XCC} ${XCFLAGS} ${XCLFLAGS} \$(OBJECTS) modules${TOBJ} ${LIBS} -o lisp${LEXE} || /usr/ccs/bin/ld -V -dy -Bdynamic -Y P,/usr/ccs/lib:/usr/lib -Qy -o lisp${LEXE} ${LIBGCC_DIR}crt1.o ${LIBGCC_DIR}crti.o /usr/ccs/lib/values-Xa.o ${LIBGCC_DIR}crtbegin.o \$(OBJECTS) modules${TOBJ} -L${LIBGCC_DIR} -L/usr/ccs/bin ${LIBS} -lgcc -lc ${LIBGCC_DIR}crtend.o ${LIBGCC_DIR}crtn.o -lgcc"
-+ echotab "${XCC} ${XCFLAGS} ${XCLFLAGS} ${LDFLAGS} \$(OBJECTS) modules${TOBJ} ${LIBS} -o lisp${LEXE} || /usr/ccs/bin/ld -V -dy -Bdynamic -Y P,/usr/ccs/lib:/usr/lib -Qy -o lisp${LEXE} ${LIBGCC_DIR}crt1.o ${LIBGCC_DIR}crti.o /usr/ccs/lib/values-Xa.o ${LIBGCC_DIR}crtbegin.o \$(OBJECTS) modules${TOBJ} -L${LIBGCC_DIR} -L/usr/ccs/bin ${LIBS} -lgcc -lc ${LIBGCC_DIR}crtend.o ${LIBGCC_DIR}crtn.o -lgcc"
- else
-- echotab "${XCC} ${XCFLAGS} ${XCLFLAGS} \$(OBJECTS) modules${TOBJ} ${LIBS} -o lisp${LEXE}"
-+ echotab "${XCC} ${XCFLAGS} ${XCLFLAGS} ${LDFLAGS} \$(OBJECTS) modules${TOBJ} ${LIBS} -o lisp${LEXE}"
- fi
- if [ $HOS = unix ] ; then
- echotab "-sync"