summaryrefslogtreecommitdiffstats
path: root/tests/msgcat.test
Commit message (Collapse)AuthorAgeFilesLines
* Correct build version and backported 973091ef75tip404_tcl8_5oehhar2012-09-171-0/+7
|
* tip#404 file locale mcset: mc(fl)(m)set backport from 8.6oehhar2012-09-121-2/+42
|
* merge trunkjan.nijtmans2012-06-281-2/+2
|\ | | | | | | bug fix: variable $key not found make it work on cygwin as well
| * some wrong versionsjan.nijtmans2012-06-241-2/+2
|/
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * tests/msgcat.test: Bumped version in auxiliary files as well.andreas_kupries2006-09-111-3/+3
| | | | | | | | * doc/msgcat.n:
| * * 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
| * * 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
| * * 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]
* | * tests/msgcat.test: fix for ::tcl::mac::locale withdas2008-08-141-2/+3
| | | | | | | | @modifier (HEAD backport 2008-06-01).
* | * tests/msgcat.test: Bumped version in auxiliary files as well.andreas_kupries2006-09-111-3/+3
| | | | | | | | * doc/msgcat.n:
* | * 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). * library/tcltest/tcltest.tcl: add 'line' verbose level: prints source * doc/tcltest.n: file line information of failing tests. * macosx/Tcl.xcodeproj/project.pbxproj: add new tclUnixCompat.c file; revise tests target to use new tcltest 'line' verbose level. * unix/configure.in: add descriptions to new AC_DEFINEs for MT-safe. * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | * tests/msgcat.test: makeFile/removeFile cleanup [1079117]dgp2004-12-061-4/+3
| |
* | * tests/fileName.test:das2004-11-111-2/+3
| | | | | | | | | | | | | | | | | | * tests/fileSystem.test: * tests/io.test: * tests/msgcat.test: * tests/tcltest.test: * tests/unixInit.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir.
* | * 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].
* | corrected new msgcat tests to work on case-sensitive filesystemsdgp2003-10-211-13/+32
| | | | | | | | | | (where ROOT.msg and root.msg are different files) and to better use tcltest's makeFile and removeFile commands.
* | TIP #156: Language-Neutral Root Locale for MsgcatKevin B Kenny2003-10-211-20/+31
| |
* | * 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] * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid duplication. [Bug 710356]
* * 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]
* * 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.
* * 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].
* * 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.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* Changed the tests to use the testConstraints array that thejenn1999-07-011-3/+3
| | | | test harness uses instead of the old name (testConfig).
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* fixed bugs in tests--bug id 1769hershey1999-04-191-15/+11
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+318