1. 26 May, 2013 1 commit
  2. 25 May, 2013 1 commit
    • Raymond Toy's avatar
      Remove all the extensions to string-upcase and friends. The extended · 49f041ad
      Raymond Toy authored
      functions now live in the new UNICODE package.
      
       src/code/exports.lisp::
       * Export some unicode functions and constants.
      
       src/code/string.lisp::
       * Removed the extended versions of string-upcase and friends.
       * Export surrogates function.
       * Make sure with-one-string is defined so the unicode package can use
         it.
      
       src/code/unicode.lisp:;
       * New file with extended versions of string-upcase and friends.
      
       src/code/unidata.lisp::
       * Export some unicode functions and constants.
      
       src/compiler/fndb.lisp::
       * Update defknowns for string-upcase and friends.
      
       src/tools/worldbuild.lisp::
       * Build unicode.lisp
      
       src/tools/worldcom.lisp::
       * Load unicode.lisp
      49f041ad
  3. 25 Mar, 2013 1 commit
  4. 24 Feb, 2013 1 commit
    • Raymond Toy's avatar
      Fix ticket:73 · 00844093
      Raymond Toy authored
      error.lisp::
      * Create two new conditions, one for modifying the readtable and one
        for the pprint dispatch table.
      
      exports.lisp::
      * Export the two new conditions.
      
      pprint.lisp::
      * Add check to SET-PPRINT-DISPATCH to disallow modifying the standard
        pprint dispatch table.
      * Allow PPRINT-INIT to modify the standard pprint dispatch table.
      
      print.lisp::
      * In WITH-STANDARD-IO-SYNTAX, don't copy a new dispatch table; bind
        *print-pprint-dispatch* to the standard table.
      
      reader.lisp::
      * Add check to disallow modifying the standard readtable.
      * Allow INIT-STD-LISP-READTABLE to modify the standard readtable.
      00844093
  5. 19 Feb, 2013 1 commit
  6. 23 Dec, 2012 2 commits
  7. 30 May, 2012 1 commit
  8. 26 May, 2012 1 commit
  9. 06 Jan, 2012 1 commit
  10. 04 Nov, 2011 1 commit
  11. 15 Oct, 2011 1 commit
    • Raymond Toy's avatar
      Properly handle a denormal operand exception. This should get rid of · 7b6eb217
      Raymond Toy authored
      the occasional problem about SIGFPE's with no exceptions enabled.
      
      error.lisp:
      o Add floating-point-denormal-operand arithmetic error.
      
      exports.lisp:
      o Export the new arithmetic error type.
      
      float-trap.lisp:
      o Check the denormal trap bit and signal the appropriate error.
      
      release-20c.txt:
      o Update.
      7b6eb217
  12. 25 Sep, 2011 1 commit
  13. 10 Jun, 2011 1 commit
    • rtoy's avatar
      Add function to load all unicode data into memory. · 55d7f671
      rtoy authored
      This makes it easy to make an executable image that doesn't need
      unidata.bin around.  (Should we do this for normal cores?  It seems to
      add about 1 MB to the core size.)
      
      code/unidata.lisp:
      o Add LOAD-ALL-UNICODE-DATA to load all unicode data.
      o Add UNICODE-DATA-LOADED-P to check that unicode data has been
        loaded.
      
      code/print.lisp:
      o If unicode data is loaded, don't check for existence of
        *unidata-path*, because we don't need it.
      
      code/exports.lisp:
      o Export LOAD-ALL-UNICODE-DATA.
      
      general-info/release-20c.txt:
      o Update info
      55d7f671
  14. 02 Feb, 2011 1 commit
  15. 09 Dec, 2010 1 commit
  16. 10 Nov, 2010 1 commit
    • rtoy's avatar
      Add new slots to the backend to hold the foreign linkage space start · e4befc68
      rtoy authored
      and entry size.  Not yet used anywhere.
      
      This change needs a cross-compile; use boot-2010-11-1-cross.lisp as
      the cross-compile script.
      
      compiler/backend.lisp:
      o Add the two new slots to the backend.
      
      compiler/dump.lisp:
      o DUMP-DATA-MAYBE-BYTE-SWAPPING needs to handle (unicode) strings
      o DUMP-DATA-MAYBE-BYTE-SWAPPING should not swap bytes of a string.
        Genesis will make that happen.
      
      code/exports.lisp:
      o Export BACKEND-FOREIGN-LINKAGE-SPACE-START and
        BACKEND-FOREIGN-LINKAGE-ENTRY-SIZE.
      
      bootfiles/20b/boot-2010-11-1-cross.lisp:
      o Cross-compile script for this change.
      e4befc68
  17. 17 Sep, 2010 1 commit
    • rtoy's avatar
      exports.lisp: · 9563cc0b
      rtoy authored
      o Export STRING-TO-NFC, UNICODE-COMPLETE, and UNICODE-COMPLETE-NAME.
      
      unidata.lisp:
      o Add explicit exports.
      9563cc0b
  18. 04 Aug, 2010 1 commit
  19. 13 Jul, 2010 1 commit
    • 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
  20. 12 Jul, 2010 1 commit
    • 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
  21. 10 Jul, 2010 1 commit
    • 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
  22. 18 Apr, 2010 1 commit
    • 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
  23. 14 Apr, 2010 1 commit
    • 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
  24. 19 Mar, 2010 1 commit
  25. 07 Feb, 2010 1 commit
  26. 17 Dec, 2009 1 commit
    • rtoy's avatar
      code/unix.lisp: · e70c9348
      rtoy authored
      o Add UNIX-GETRLIMIT and appropriate constants (for solaris and
        darwin/x86)
      
      code/exports.lisp:
      o Export them.
      e70c9348
  27. 14 Oct, 2009 1 commit
    • agoncharov's avatar
      · 173e967f
      agoncharov authored
      As suggested by Madhu <madhu@cs.unm.edu>, removed the ext:getenv
      function that I had introduced a few days ago.  Instead, four foreign
      function definitions are introduced, following Madhu's proposal.
      
      The four functions:
      
         unix-getenv unix-setenv unix-putenv unix-unsetenv
      
      are defined both in unix.lisp and unix-glibc2.lisp.
      173e967f
  28. 26 Aug, 2009 2 commits
    • rtoy's avatar
      Add support for flushing out any state in an external format when · 1325c62e
      rtoy authored
      closing an output stream.  This causes things like
      
      (with-open-file (s "foo" :direction :output :external-format :utf-8)
        (write-char #\u+d800 s))
      
      to output the replacement character instead of creating an empty file.
      
      code/extfmts.lisp:
      o Add new slot to efx structure to hold the function to flush the
        state in an external format.
      o Add accessor for the flush-state slot.
      o Update DEFINE-EXTERNAL-FORMAT to allow specifying the flush
        function.
      o Add macro to call the flush-state function.
      o Added +EF-FLUSH+
      o Use vm::defenum to name the constants instead of the hand-written
        values.
      o Export +REPLACEMENT-CHARACTER-CODE+
      o Document the slots in an efx stucture.
      
      code/fd-stream.lisp:
      o Add ef-flush def-ef-macro to flush the state of an external format
        when closing an output file.  If ef-flush-state is NIL, we just call
        EF-COUT to send out the replacement character.  Otherwise, the
        flush-state function is called to handle it.
      o When closing an output character stream, call ef-flush to flush any
        state before flushing the buffers of the stream.
      o Document the unicode slots in an fd-stream.
      
      code/exports.lisp:
      o Export +REPLACEMENT-CHARACTER-CODE+
      1325c62e
    • rtoy's avatar
  29. 11 Aug, 2009 1 commit
    • rtoy's avatar
      Some symbol cleanups. · 36b8abb9
      rtoy authored
      code/exports.lisp:
      o Import STREAM:SET-SYSTEM-EXTERNAL-FORMAT into the EXT package.
      o Define and export %sin-quick, %cos-quick, and %tan-quick only for
        x87 builds.
      
      compiler/float-tran.lisp:
      o Only apply defknowns and deftransforms for %sin-quick, %cos-quick,
        and %tan-quick for x87 builds.
      36b8abb9
  30. 10 Aug, 2009 2 commits
    • rtoy's avatar
      Export SET-SYSTEM-EXTERNAL-FORMAT. · 8c1377a5
      rtoy authored
      8c1377a5
    • rtoy's avatar
      Fixes from Paul Foley: · 94ed0111
      rtoy authored
      o Standard streams no longer change formats when
        *default-external-format* changes.  Use
        stream:set-system-external-format instead, or (setf
        external-format).
      o char-to-octets properly handles surrogate characters being written.
      o Makes simple-streams work again.
      
      This change needs to be cross-compiled.  2009-07 binaries work for
      cross-compiling using the 19e/boot-2008-05-cross-unicode-*.lisp
      cross-compile script.
      94ed0111
  31. 23 Jul, 2009 1 commit
  32. 16 Jun, 2009 1 commit
    • rtoy's avatar
      code/string.lisp: · a826481f
      rtoy authored
      o Only define STRING-TO-NFD, STRING-TO-NFKD, and STRING-TO-NFKC for
        Unicode builds.  Conditionalize out their support functions too.
      o Update export list to be conditional on Unicode too.
      o Use new name for get-pairwise-composition.
      
      code/exports.lisp:
      o Update export list to be conditional on Unicode for above changes
        in string.lisp.
      
      code/unidata.lisp:
      o Change name from GET-PAIRWISE-COMPOSITION to
        UNICODE-PAIRWISE-COMPOSITION to match other Unicode function names.
      a826481f
  33. 11 Jun, 2009 1 commit
  34. 13 Apr, 2009 1 commit
  35. 21 Jan, 2009 1 commit
  36. 06 Jan, 2009 2 commits
    • agoncharov's avatar
      · c2323072
      agoncharov authored
      * code/exports.lisp -- Added a missing quote characher.
      * lisp/FreeBSD-os.c -- Fixed the switch to the SSE2 mode, in line with other OSes.
      * lisp/Linux-os.c -- Fixed a comment (sse != sse2)
      c2323072
    • rtoy's avatar
      code/commandline.lisp: · addf17d7
      rtoy authored
      o Command line parsing now recognizes "--" and disables any further
        processing by CMUCL itself.  Everything after "--" is placed in the
        new variable EXT:*COMMAND-LINE-APPLICATION-ARGUMENTS*, which is a
        list of strings.
      
      code/exports.lisp:
      o Export EXT:*COMMAND-LINE-APPLICATION-ARGUMENTS*.
      
      general-info/release-19f.txt:
      o Update.
      addf17d7