Skip to content
Snippets Groups Projects
  1. Jul 14, 2010
  2. Jul 13, 2010
    • rtoy's avatar
      Regenerated from current code. · 462ae8bf
      rtoy authored
      462ae8bf
    • rtoy's avatar
      Some docstrings in signal.lisp were conditionalized for different · bf0b283a
      rtoy authored
      features and causes the translated string to be included or removed
      from cmucl.pot.  To help make this consistent, we put the
      system-dependent strings in the system-dependent pot files.
      
      bootfiles/20a/boot-2010-07-1.lisp:
      o Add a fake definition for with-textdomain so we can bootstrap the
        changes.
      o Removed a defstruct that was already commented out.
      
      code/exports.lisp:
      o Export WITH-TEXTDOMAIN.
      
      code/intl.lisp:
      o Add macro WITH-TEXTDOMAIN to temporarily bind the textdomain to the
        desired domain for the body, and restoring the original domain
        afterwards.
      
      code/signal.lisp:
      o Wrap the system-specific items in WITH-TEXTDOMAIN so they are placed
        in the system-dependent text domain.
      bf0b283a
    • rtoy's avatar
      o Update version to 2.004: · 3dfe0f91
      rtoy authored
        - Two minor bugs in error handling of compile-file*
        - Add optional arg to ensure-source-registry
        - Add clear-system
        - use /etc/common-lisp as documented
      o Add file-comment.
      3dfe0f91
  3. Jul 12, 2010
    • rtoy's avatar
      Update translations from current code. · ef08a04e
      rtoy authored
      ef08a04e
    • rtoy's avatar
      Add some comments, noting the author. · 1925cc9b
      rtoy authored
      1925cc9b
    • rtoy's avatar
      tools/build-world.sh: · 93bbfb9f
      rtoy authored
      o Load all the external formats so we can save the strings to the pot
        file.
      
      external-formats/*.lisp:
      o Set the text domain to cmucl for all of the files.
      93bbfb9f
    • rtoy's avatar
      Only update translations on the last build. · 143ddce4
      rtoy authored
      lisp/GNUmakefile:
      o Change "all" target to build just lisp.nm.  Don't also build the
        translations target.
      
      tools/build.sh:
      o Only make translations for the last build.
      143ddce4
    • 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
  4. 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
  5. Jul 07, 2010
    • rtoy's avatar
      iso8859-2.lisp: · 0d642ca8
      rtoy authored
      mac-roman.lisp:
      o Fix code so that the offending codepoint on output is actually
        passed to the error routine.  (Previously, we returned the value
        from the table which was always nil because the code did not have a
        valid output.)
      0d642ca8
    • rtoy's avatar
      o When encountering an overlong sequence, a surrogate code, or a · 2466a71d
      rtoy authored
        too-large codepoint, swallow the whole sequence instead  of putting
        back the characters like we did previously.  (This new way is in
        line with how we handle other bad sequences.)
      o Pass the number of octets read to the error handler in these cases.
      o Update the message strings to include the number of octets.
      2466a71d
    • rtoy's avatar
      0200c1fa
  6. Jul 06, 2010
  7. Jul 05, 2010
  8. Jul 03, 2010
  9. Jul 02, 2010
    • rtoy's avatar
      ascii.lisp: · 65b1ba6d
      rtoy authored
      o Forgot to add error parameter for code-to-octets and
        octets-to-code.
      o Call error handler for output errors.
      
      iso8859-2.lisp:
      mac-roman.lisp:
      o If defined, call error handler for output errors.
      
      utf-16.lisp:
      utf-16-be.lisp:
      utf-16-le.lisp:
      o If defined, call error handler for input and output errors.
      
      utf-32.lisp:
      utf-32-be.lisp:
      utf-32-le.lisp:
      o If defined, call error handler for input and output errors.
        (Previously, we didn't signal any output errors, but large
        codepoints and surrogate characters are not allowed in UTF-32 output
        streams.)
      
      utf-8.lisp:
      o Use lisp:codepoint-limit instead of #x10ffff.
      65b1ba6d
    • 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
      o Rearrange error calls so that error function can just return the · eceb1e3e
      rtoy authored
        desired replacement code.
      o Generate different messages for the possible caes of invalid
        codepoint, overlong sequence, and surrogate characters in UTF8
        stream.
      eceb1e3e
    • 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
Loading