/[cmucl]/src/code/intl.lisp
ViewVC logotype

Log of /src/code/intl.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Links to snapshot-2011-07: (view) (annotate)
Sticky Tag:

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Dec 19 03:01:47 2010 UTC (3 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: GIT-CONVERSION, HEAD, cross-sol-x86-merged, snapshot-2011-01, snapshot-2011-02, snapshot-2011-03, snapshot-2011-04, snapshot-2011-06, snapshot-2011-07, snapshot-2011-09
Changes since 1.10: +37 -37 lines
Diff to previous 1.10
Oops.  If the domain-entry-encoding is NIL, we just want to return
NIL.  (From Paul Foley.)

Revision 1.10 - (view) (annotate) - [select for diffs]
Mon Dec 13 00:19:38 2010 UTC (3 years, 4 months ago) by rtoy
Branch: MAIN
CVS Tags: cross-sol-x86-base
Branch point for: cross-sol-x86-branch
Changes since 1.9: +31 -46 lines
Diff to previous 1.9
Revert previous change.  Instead of caching probe-file, have
LOAD-DOMAIN return an appropriate entry instead of returning NIL.
This still gets rid of all the stats.

Solution from Paul Foley.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Dec 11 22:39:46 2010 UTC (3 years, 4 months ago) by rtoy
Branch: MAIN
Changes since 1.8: +45 -25 lines
Diff to previous 1.8
Speed up building on sparc.  Time taken is now almost half!  This was
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.

Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jul 14 03:13:20 2010 UTC (3 years, 9 months ago) by rtoy
Branch: MAIN
CVS Tags: RELEASE_20b, cross-sparc-branch-base, release-20b-pre1, release-20b-pre2, snapshot-2010-08, snapshot-2010-11, snapshot-2010-12, sparc-tramp-assem-2010-07-19, sparc-tramp-assem-base
Branch point for: RELEASE-20B-BRANCH, cross-sparc-branch, sparc-tramp-assem-branch
Changes since 1.7: +7 -6 lines
Diff to previous 1.7
Oops.  Previous implementation of with-textdomain didn't actually
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.

Revision 1.7 - (view) (annotate) - [select for diffs]
Tue Jul 13 23:43:39 2010 UTC (3 years, 9 months ago) by rtoy
Branch: MAIN
Changes since 1.6: +9 -2 lines
Diff to previous 1.6
Some docstrings in signal.lisp were conditionalized for different
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.

Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Apr 20 17:57:44 2010 UTC (4 years ago) by rtoy
Branch: MAIN
CVS Tags: snapshot-2010-05, snapshot-2010-06, snapshot-2010-07
Changes since 1.5: +8 -8 lines
Diff to previous 1.5
Change uses of _"foo" to (intl:gettext "foo").  This is because slime
may get confused with source locations if the reader macros are
installed.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Apr 19 12:18:16 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4
Remove _N"" reader macro from docstrings when possible.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sun Apr 18 16:47:37 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.3: +15 -5 lines
Diff to previous 1.3
From Paul Foley.  Translatable strings are recorded only if
*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.

Revision 1.3 - (view) (annotate) - [select for diffs]
Wed Apr 14 16:39:52 2010 UTC (4 years ago) by rtoy
Branch: MAIN
Changes since 1.2: +10 -9 lines
Diff to previous 1.2
code/intl.lisp:
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.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Mar 19 15:18:59 2010 UTC (4 years, 1 month ago) by rtoy
Branch: MAIN
CVS Tags: post-merge-intl-branch, snapshot-2010-04
Changes since 1.1: +815 -0 lines
Diff to previous 1.1
Merge intl-branch 2010-03-18 to HEAD.  To build, you need to use
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.

Revision 1.1
Mon Feb 8 02:49:49 2010 UTC (4 years, 2 months ago) by rtoy
Branch: MAIN
Branch point for: intl-2-branch, intl-branch
FILE REMOVED
file intl.lisp was initially added on branch intl-branch.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.5