summaryrefslogtreecommitdiffstats
path: root/tests/msgcat.test
Commit message (Collapse)AuthorAgeFilesLines
* * tests/msgcat.test: Bumped version in auxiliary files as well.andreas_kupries2006-09-111-3/+3
| | | | | | * doc/msgcat.n: FossilOrigin-Name: f2526797ed2e61d4f24923d4d8cd14f9fd50a10a
* * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-5/+9
| | | | | | | | | | | | * tests/msgcat.test: default msgcat locale to * unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier if available (via private ::tcl::mac::locale global, set at interp init when on Mac OS X 10.3 or later with CoreFoundation). * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.13 FossilOrigin-Name: 6d22c64949b909db405d46f98f9f11f174b45442
* * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-131-3/+19
| | | | | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.3 FossilOrigin-Name: 9b7f1874b708accec96c97bebd70db9a99555dcc
* * library/tcltest/tcltest.tcl: Added reporting duringdgp2003-03-261-2/+2
| | | | | | | | | | | | | [configure -debug 1] operations to warn about multiple uses of the same test name. [FR 576693] Replaced [regexp] and [regsub] with [string map] where possible. Thanks to David Welton. [Bugs 667456,667558] * library/tcltest/pkgIndex.tcl: Bumped to tcltest 2.2.3 * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid duplication. [Bug 710356] FossilOrigin-Name: a5e5886f0eb5dcc0b6e04b527de9c44b2f4a71db
* * Revised locale initialization to interpretdgp2002-06-171-371/+512
| | | | | | | | | | | environment variable locale values according to XPG4, and to recognize the LC_ALL and LC_MESSAGES values over that of LANG. Also added many Windows Registry locale values to those recognized by msgcat. Revised tests and docs. Bumped to version 1.3. Thanks to Bruno Haible for the report and assistance crafting the solution. [Bug 525522, 525525] FossilOrigin-Name: e23dfc2c8c3a3a15b13018d43db6d9efee9df61c
* * library/msgcat1.0/msgcat.tcl:ericm2000-07-171-3/+19
| | | | | | | | | | | | | * doc/msgcat.n: * tests/msgcat.test: Applied patches from Chris Nelson, to provide the mcmset function, which allows the translator to set multiple string translations in a single function call, rather than requiring many calls to mcset. [RFE: 6000, 5993]. In addition, these patches correct mcload to use utf-8 encoding on when reading message catalog files, and provides for better default behavior for determining the locale on a Windows system. FossilOrigin-Name: 3ad3252f556dddad29e7d484185cae63b065edeb
* * tests/msgcat.test:ericm2000-07-061-1/+4
| | | | | | | | | * library/msgcat1.0/msgcat.tcl: Applied patch from Christian Krone, to provide extended args support for msgcat::unknown, which is used for strings without a known translation in the current locale [Bug: 5984]. FossilOrigin-Name: 011b026d9e45af829132833543db89368ee11061
* * msgcat.n: Added docs for new behavior from patch in [Bug: 4158].ericm2000-04-111-4/+98
| | | | | | | | | | | | | | | * msgcat.test: Added tests for new behavior from patch in [Bug: 4158]. * msgcat.tcl: Applied patch from [Bug: 4158], which enables msgcat::mc to search the entire namespace ancestry chain for message translations (ie, first it checks the current namespace, then the parent, then the parent's parent, etc). Also allows the specification of additional args for msgcat::mc; if extra args are given, the [format] command is used to substitute the additional args in the translated message. FossilOrigin-Name: 3991fa63bb9b3026f678ca7037d477017b0ab0a6
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* Changed the tests to use the testConstraints array that thejenn1999-07-011-3/+3
| | | | | | test harness uses instead of the old name (testConfig). FossilOrigin-Name: 6b946e4c3413bd78b62341d25d3a25f9f9a1d0b0
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* Resynced with mainline.rjohnson1999-04-211-1/+1
| | | FossilOrigin-Name: 45b9dd789f717fcc67d00014dd8255359b392df0
* fixed bugs in tests--bug id 1769hershey1999-04-191-15/+11
| | | FossilOrigin-Name: 34190e8fde10c69a7558d843dcc8a1e75b207e38
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+318
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9