Skip to content
Snippets Groups Projects
  1. Jul 12, 2010
    • rtoy's avatar
      Add a documentation slot to external formats so that we can give a · 7421caf2
      rtoy authored
      little information about the format.  Provide a means to get a list of
      external formats and to display the documentation.
      
      bootfiles/20a/boot-2010-07-1.lisp:
      o Use this bootstrap file when doing a normal build.
      
      code/exports.lisp:
      o New functions:
        - Add LIST-ALL-EXTERNAL-FORMATS to list all available external formats
          and their corresponding aliases.
        - Add DESCRIBE-EXTERNAL-FORMAT to print some information about the
          given format.
      o Add docuemntation slot to defstruct EXTERNAL-FORMAT.
      o Change DEFINE-EXTERNAL-FORMAT macro.  Adds :DOCUMENTATION keyword to
        specify the documentation.  Add :BASE keyword indicate that the
        external format is based on another format.  (Previously, this
        wasn't needed, but is somewhat incompatible with adding a
        documentation string.)
      o Change DEFINE-COMPOSING-EXTERNAL-FORMAT to include :documentation
        keyword to specify the documentation for the format.
      o Minor reindentation of some docstrings.
      o Make sure documentation strings for external format are marked for
        translation; wrap other strings with intl:gettext to explicitly mark
        them for translations.
      o Add docstring for VOID and ISO8859-1 external formats.
      
      code/exports.lisp:
      o Export the new symbols LIST-ALL-EXTERNAL-FORMATS and
        DESCRIBE-EXTERNAL-FORMAT.  Import into EXTENSIONS package.
      
      docs/cmu-user/unicode.tex:
      o Update docs to include LIST-ALL-EXTERNAL-FORMATS and
        DESCRIBE-EXTERNAL-FORMAT.
      o Update docs for DEFINE-EXTERNAL-FORMAT and
        DEFINE-COMPOSING-EXTERNAL-FORMAT to match implementation.
      
      general-info/release-20b.txt:
      o Update
      
      external-formats/*.lisp:
      o Update with docstrings.
      o Add :BASE keyword where needed.
      7421caf2
  2. Jul 10, 2010
    • rtoy's avatar
      extfmts.lisp: · 7acf0a1a
      rtoy authored
      o Add a simple function it list all external formats.
      o Add some docstrings.
      o Correctly indent some s-exps.
      
      exports.lisp:
      o Update package definitions to export new LIST-ALL-EXTERNAL-FORMATS.
      7acf0a1a
  3. Jul 05, 2010
  4. Jul 03, 2010
    • rtoy's avatar
      extfmts.lisp: · af5cd1ae
      rtoy authored
      o Update comments for the various slots in DEFINE-EXTERNAL-FORMAT.
      
      fd-stream.lisp:
      o Declare the types for the CHAR-TO-OCTETS-ERROR and
        OCTETS-TO-CHAR-ERROR slots in FD-STREAM.
      o Update docstrings for MAKE-FD-STREAM and OPEN for :DECODING-ERROR
        and :ENCODING-ERROR parameters.
      af5cd1ae
    • rtoy's avatar
      Fix some compiler notes by adding declarations and removing one · 7b95ed2b
      rtoy authored
      variable that was shadowing another.
      7b95ed2b
    • rtoy's avatar
      In EF-FLUSH, we need to handle bare surrogates ourselves for the case · 275f6bf1
      rtoy authored
      where the external format does not have a flush-state method.
      275f6bf1
    • rtoy's avatar
      code/extfmts.lisp: · 6afe1d62
      rtoy authored
      o Add error parameter to flush-state in external format definition so
        we can handle errors when flushing the state to a stream.
      o Add optional error parameter to flush-state macro.
      
      code/fd-stream.lisp:
      o For the case where an external format has flush method, EF-FLUSH was
        not calling it correctly.  Update so the output function actuall
        works.
      o Add error handler to call to flush-state.
      o For the case where an external format does not have a flush method,
        output the state value instead of a replacement character so the
        external format can handle any errors.
      6afe1d62
  5. Jul 02, 2010
    • rtoy's avatar
      code/extfmts.lisp: · eade50bb
      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.
      eade50bb
    • rtoy's avatar
      code/extfmts.lisp: · b1c92748
      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.
      b1c92748
    • rtoy's avatar
      Oops. Remove stray character. · fa932df0
      rtoy authored
      fa932df0
    • rtoy's avatar
      Implement more of the external format error handlers. · f971e392
      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.
      f971e392
  6. Jun 30, 2010
  7. Jun 22, 2010
    • rtoy's avatar
      Revert the previous change to fix debug:arg/trace issue. Instead, use · 1fea054f
      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.
      1fea054f
    • rtoy's avatar
      Fix issue where the debugger (and TRACE) would get the wrong · 2b3d7fb0
      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.
      2b3d7fb0
  8. Jun 07, 2010
    • rtoy's avatar
      code/filesys.lisp: · 01274f39
      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.
      01274f39
    • rtoy's avatar
      code/fd-stream.lisp: · c5eff503
      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.
      c5eff503
  9. Jun 01, 2010
  10. May 25, 2010
    • rtoy's avatar
      code/macros.lisp: · 48f2c8e6
      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.
      48f2c8e6
  11. May 16, 2010
  12. May 15, 2010
    • rtoy's avatar
      Make the docstrings follow the CMUCL convention so that they are lined · 64564400
      rtoy authored
      up neatly when describe prints them.
      64564400
    • rtoy's avatar
      code/commandline.lisp: · f95cf535
      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.
      f95cf535
  13. May 12, 2010
  14. May 10, 2010
    • rtoy's avatar
      Add asdf2 and restore (and update) defsystem. · 36d9b3bc
      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.
      36d9b3bc
  15. May 04, 2010
  16. Apr 27, 2010
    • rtoy's avatar
      o Work around issue pointed out by Madhu on cmucl-imp, 2010-04-24. · 30c2e45f
      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.
      30c2e45f
  17. Apr 23, 2010
    • rtoy's avatar
      Add source location info for defstructs and deftypes. · 4c3c1c2a
      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.
      4c3c1c2a
  18. Apr 20, 2010
  19. Apr 19, 2010
  20. Apr 18, 2010
    • rtoy's avatar
      o Modify DEFVAR, DEFUN, DEFPARAMETER, DEFCONSTANT, and other macros · cf4952a5
      rtoy authored
        that accept docstrings to note the docstrings as translatable.
      o Remove _N"" reader macro from docstrings.
      cf4952a5
    • rtoy's avatar
      From Paul Foley. Translatable strings are recorded only if · 6a1850a3
      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.
      6a1850a3
  21. Apr 16, 2010
Loading