- Dec 11, 2010
-
-
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.
-
- Jul 14, 2010
-
-
rtoy authored
work. Use this new one. code/intl.lisp: o New WITH-TEXTDOMAIN. code/signal.lisp: o Update uses of WITH-TEXTDOMAIN. bootfiles/20a/boot-2010-07-1.lisp: o Update with new WITH-TEXTDOMAIN.
-
- Jul 13, 2010
-
-
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.
-
- Apr 20, 2010
-
-
rtoy authored
may get confused with source locations if the reader macros are installed.
-
- Apr 19, 2010
-
-
rtoy authored
-
- Apr 18, 2010
-
-
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 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.
-