Skip to content
Snippets Groups Projects
  1. Nov 01, 2022
    • Raymond Toy's avatar
      Change :iso-8859-1 to :iso8859-1 in find-encoding · 88f6852f
      Raymond Toy authored
      While there's an alias for `:iso-8859-1`, it's safer to use
      `:iso8859-1` which is builtin.  Using `:iso-8859-1` requires the alias
      database to be loaded, which isn't (currently) guaranteed when
      `find-encoding` is called.  Thus use the builtin name instead.
      Besides, `:iso8859-1` is used in other places in "intl.lisp".
      
      (This is hard to test, but I noticed it when running
      ```
      LANG=ko_KR.utf8 lisp
      ```
      on the branch `issue-139-add-alias-local-external-format`.)
      88f6852f
  2. Nov 04, 2011
  3. Oct 01, 2011
  4. Sep 25, 2011
  5. Dec 19, 2010
  6. Dec 13, 2010
  7. Dec 11, 2010
    • rtoy's avatar
      Speed up building on sparc. Time taken is now almost half! This was · 1f888eec
      rtoy authored
      caused by all the calls to stat in PROBE-FILE in LOCATE-DOMAIN-FILE
      for files that did not exist.  The default locale was C, so every
      message lookup was causing many stat's to non-exist files.  (There
      were over 1000 calls/sec on a 750 MHz sparc!)
      
      So we cache all the calls to PROBE-FILE in LOCATE-DOMAIN-FILE.  But
      just in case, we also allow the user to get at the hash table to
      examine it (GET-DOMAIN-FILE-CACHE) and also allow the user to clear it
      (CLEAR-DOMAIN-FILE-CACHE) in case new translations are added without
      restarting lisp.
      1f888eec
  8. Jul 14, 2010
  9. Jul 13, 2010
    • 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
  10. Apr 20, 2010
  11. Apr 19, 2010
  12. Apr 18, 2010
    • 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
  13. Apr 14, 2010
    • rtoy's avatar
      code/intl.lisp: · a735122e
      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.
      a735122e
  14. Mar 19, 2010
Loading