- Jul 02, 2010
-
-
rtoy authored
o Pass the error handler on for composed external formats. code/fd-stream.lisp: o Forgot to pass the error-handler to char-to-octets in EF-COUT. o In MAKE-FD-STREAM slightly change handling of encoding-error and decoding-error: - If :encoding-error is a character, then the external format will use that character whenever an encoding error happens instead of the default (internally specified by the external format). - If :decoding-error is a character, then the external format will use that character whenever an encoding error happens instead of the default (internally specified by the external format). If :decoding-error is T, then a cerror is signaled; if continued, the Unicode replacement character (#\U+FFFD) is used. o Fix bug in OPEN: The :decoding-error and :encoding-error keyword parameter was placed in the &aux section by mistake.
-
rtoy authored
o The optional error parameter doesn't need to be optional in DEFINE-EXTERNAL-FORMAT, EF-STRING-TO-OCTETS, EF-OCTETS-TO-STRING, EF-ENCODE and EF-DECODE. code/fd-stream.lisp: o Update comments for char-to-octets-error and octets-to-char-error. o Forgot to pass the error handler to char-to-octets in EF-SOUT and EF-STRLEN.
-
rtoy authored
-
rtoy authored
code/extfmts.lisp o Call the error handler for iso8859-1 output. o In OCTETS-TO-CODEPOINT and CODEPOINT-TO-OCTETS, call the external format with the error argument. o In OCTETS-TO-CHAR - Call OCTETS-TO-CODEPOINT with the error handler. - For all of the error conditions, call the error handler if defined. o Add error parameter to EF-STRING-TO-OCTETS and EF-ENCODE so we can handle errors. Call CHAR-TO-OCTETS with the error handler. o Add error parameter to STRING-TO-OCTETS and use it. o Add error parameter to EF-OCTETS-TO-STRING and EF-DECODE so we can handle errors. Call OCTETS-TO-CHAR with the error handler. o Add error parameter to OCTETS-TO-STRING and use it. o In STRING-ENCODE and STRING-DECODE, call the ef function with the error handler. o Change STRING-ENCODE to use keyword args instead of optional args. Add error parameter and use it. code/fd-stream-extfmt.lisp: o Tell OCTETS-TO-STRING about the error handler stored in the fd-stream. code/fd-stream.lisp: o OPEN, MAKE-FD-STREAM, and OPEN-FD-STREAM get DECODING-ERROR and ENCODING-ERROR keyword arguments for specifying how to handle decoding and encoding errors in external formats. code/stream.lisp: o Make sure the error handler is called in FAST-READ-CHAR-STRING-REFILL. pcl/simple-streams/external-formats/utf-8.lisp: o Initial cut at calling the error handler for the various possible invalid octet streams for a utf-8 encoding.
-
- Jun 30, 2010
-
-
rtoy authored
o All external formats need an extra required argument for the error handler. o Add optional error parameter to OCTETS-TO-CODEPOINT, CODEPOINT-TO-OCTETS, OCTETS-TO-CHAR, and CHAR-TO-OCTETS.
-
rtoy authored
when converting octets to characters or characters to octets. These aren't currently being used, but will be. A basic cross-compile is needed. When CMUCL asks about incompatible structures, select the CLOBBER-IT restart in all cases.
-
- Jun 22, 2010
-
-
rtoy authored
Carl's suggestion and define new SC numbers for the xmm registers instead of overloading the x87 fpu registers and the xmm register SC's. bootfiles/20a/boot-2010-06-cross-x86.lisp: o New file needed for cross-compiling this change. code/x86-vm.lisp: o Revert previous change. compiler/x86/sse2-c-call.lisp: o Use xmm0-tn instead of fr0-tn. No functional change, but makes the code more readable. compiler/x86/vm.lisp: o Increase the number of float registers from 8 to 16 (8 more for SSE2 registers). o Define new xmm<n> registers o Update the locations with the new sse2 SC locations for single-reg, double-reg, double-double-reg, complex-single-reg, complex-double-reg, and complex-double-double-reg storage classes. lisp/Darwin-os.c: o Revert previous change. o Update os_sigcontext_fpu_reg to support the xmm registers. lisp/Linux-os.c: o Update os_sigcontext_fpu_reg to support the xmm registers.
-
rtoy authored
floating-point values for arguments because the x87 registers were used instead of the sse2 registers in the sigcontext. code/x86-vm.lisp: o For SSE2 on Mac OS X, call os_sigcontext_fpu_reg_sse2 to get the SSE2 register values from the sigcontext. lisp/Darwin-os.c: o Add os_sigcontext_fpu_reg_sse2 to get the SSE2 floating point values. general-info/release-20b.txt: o Document this change.
-
- Jun 07, 2010
-
-
rtoy authored
o FILE-WRITE-DATE merges the filename with *DEFAULT-PATHNAME-DEFAULTS*, as required by CLHS sec 19.2.3. general-info/release-20b.txt: o Update.
-
rtoy authored
o OPEN merges the filename with *DEFAULT-PATHNAME-DEFAULTS*, as required by CLHS sec 19.2.3. code/filesys.lisp: o DELETE-FILE, ENSURE-DIRECTORIES-EXIST, and FILE-AUTHOR merge the filename with *DEFAULT-PATHNAME-DEFAULTS*, as required by CLHS sec 19.2.3. general-info/release-20b.txt: o Update.
-
- Jun 01, 2010
-
-
rtoy authored
-
- May 25, 2010
-
-
rtoy authored
o In DEFINE-COMPILER-MACRO, use the correct BLOCK name for SETF functions o Signal an error if the function name is not a valid function name. general-info/release-20b.txt: o Update.
-
- May 16, 2010
- May 15, 2010
-
-
rtoy authored
up neatly when describe prints them.
-
rtoy authored
o Update DEFSWITCH to allow docstrings (and argument names) o Add docstrings to the available switches o Add -help (and --help) switches to print out usage information and exit. code/save.lisp: o If the command line includes -help or --help, disable loading of the user init and site init files. We don't want to process them if we're going to just print out help and exit.
-
- May 12, 2010
-
-
rtoy authored
asdf.
-
- May 10, 2010
-
-
rtoy authored
asdf/asdf.lisp: o Current version of asdf2 imported from common-lisp.net asdf project. defsystem/defsystem.lisp: o Restored from repository and updated to current version from clocc.sourceforge.net. code/modules.lisp: o Indent docstrings to match the style of cmucl docstrings used elsewhere. (Lines after the first are indented 2 spaces.) o Add module for asdf and defsystem. tools/build-utils.sh: o Compile asdf and defsystem so when users require them, they're not compiled again or run in the interpreter. tools/clean-target.sh: o Keep the asdf and defsystem directories when requested so that both x87 and sse2 versions can be built. tools/make-extra-dist.sh: o Skip the asdf and defsystem directories when building the extras tarball; we don't need copies in the main and extras tarball. tools/make-main-dist.sh: o Install the asdf and defsystem directories in the correct place o Copy the asdf and defsystem fasls.
-
- May 04, 2010
-
-
rtoy authored
680564733841876926926749214863536422912) -> -512 instead of 512. (From sbcl.)
-
- Apr 27, 2010
-
-
rtoy authored
Replace the call to (setf info) with a (new) function, set-defvar-textdomain, that calls (setf info). The (setf info) was causing the compiler to run and producing an unexpected message. The compiler doesn't need to handle the new function specially. o DEFCONSTANT was not recording the text domain for the new constant. Call set-defvar-textdomain to record the text domain.
-
- Apr 23, 2010
-
-
rtoy authored
code/defstruct.lisp: o Save source info for defstructs code/macros.lisp: o Save source info for deftypes. compiler/globaldb.lisp: o Add comments that the info type source-location defvar also includes defparameter, defconstant, defstruct, and deftype.
-
- Apr 20, 2010
-
-
rtoy authored
may get confused with source locations if the reader macros are installed.
-
- Apr 19, 2010
- Apr 18, 2010
-
-
rtoy authored
that accept docstrings to note the docstrings as translatable. o Remove _N"" reader macro from docstrings.
-
rtoy authored
*TRANSLATIONS* is non-NIL. Use boot-2010-04-1 to bootstrap this. code/intl.lisp: o Change default for *TRANSLATIONS* to NIL to disable translations. o Add TRANSLATION-ENABLE and TRANSLATION-DISABLE. code/exports.lisp: o Update exports list for new functions in INTL. o Remove *TRANSLATABLE-DUMP-STREAM* which no longer exists. bootfiles/20a/boot-2010-04-1.lisp: o New bootstrap file.
-
- Apr 16, 2010
-
-
agoncharov authored
-
rtoy authored
code/print.lisp: o Add optional *PRINT-READABLY* argument to STRINGIFY-OBJECT. o Update PRINC-TO-STRING with new docstring and call STRINGIFY-OBJECT with *PRINT-READABLY* bound to NIL. general-info/release-20b.txt: o Update
-
rtoy authored
what INTERN and FIND-SYMBOL do with strings.
-
rtoy authored
o WITH-STANDARD-IO-SYNTAX needs to use the standard pprint dispatch table. general-info/release-20b.txt: o Update
-
- Apr 14, 2010
-
-
rtoy authored
o When saving the file name, use *compile-file-truename* instead of *compile-file-pathname*. Also use enough-namestring to make a shorter name. The file names that were placed in the pot file included search-lists which aren't understood by anything besides CMUCL. o Don't install the reader macros by default anymore. o Change INSTALL to accept an optional readtable that is modified with the reader macros and such. code/exports.lisp: o Export INTL::INSTALL. tools/build-world.sh: tools/build-utils.sh: o Need to install the reader macros when building so we can get generate the pot files. o Set *default-pathname-defaults* to be the (full) current build directory so that the pathnames in the pot file are relative to the build directory. These changes fix the main part of Ticket #39.
-
- Mar 19, 2010
-
-
rtoy authored
boot-2010-02-1 as the bootstrap file. You should probably also use the new -P option for build.sh to generate and update the po files while building.
-
- Mar 18, 2010
-
-
rtoy authored
continued, the accessor is redefined. Previously, a warning was printed and the structure was (mostly) undefined. compiler/proclaim.lisp: o Add new function NOTE-IF-ACCESSOR to check if we're redefining a slot accessor. If so, signal a cerror, and redefine if continued. o Adjust DEFINE-FUNCTION-NAME to call NOTE-IF-ACCESSOR. compiler/main.lisp: o Make COMPILE-FIX-FUNCTION-NAME call NOTE-IF-ACCESSOR to catch attempts to redefine a slot-accessor. code/macros.lisp: o Move call to C::DEFINE-FUNCTION-NAME to the top of C::%%DEFUN before we set the fdefinition. This allows us to give up before modifying anything if we choose not to redefine the slot accessor.
-
- Mar 12, 2010
-
-
rtoy authored
NIL, so check for that before trying to access the DEBUG-SOURCE-FROM.
-
rtoy authored
ensure that we can compile the external format correctly no matter what the user might have done to readtable and other variables. This supersedes the previous change that just bound *readtable* to the standard read table.
-
- Mar 08, 2010
-
-
rtoy authored
format in case the user has set a non-standard readtable that can't process the external format.
-
- Feb 19, 2010
-
-
rtoy authored
o L command includes an optional prefix. o PP is not the same as P; it prints out more info. o DESCRIBE was missing.
-
- Feb 07, 2010
-
-
rtoy authored
get rid of a warning.
-
- Feb 05, 2010
-
-
rtoy authored
negative zero. o Change %unary-ftruncate to call %unary-fround. This speeds up ftruncate by 2-4 times.
-