summaryrefslogtreecommitdiffstats
path: root/library/msgcat
Commit message (Collapse)AuthorAgeFilesLines
* [msgcat] revert changes of "msgcat" to previous state before clock-speedup, ↵sebres2017-05-301-120/+5
| | | | | move this functionality to "clock.tcl"; additionally avoids the usage of catch (uses pair "dict exists/dict get" instead of).
* code review: small optimization of msgcat::mcget, prevents infinite loop if ↵sebres2017-01-111-11/+13
| | | | at all no translation
* Merge remote-tracking branch 'remotes/fossil/trunk' into ↵sebres2017-01-101-1/+1
| | | | sb/trunk-rewrite-clock-in-c; + minor fixes after merge.
* scan format: several tokens implemented, bug fixing and code review;sebres2017-01-101-0/+5
| | | | precedence yyyymmdd over yyyyddd was changed (and re-covered in test-cases also), see http://core.tcl.tk/tcl/tktview/e7a722cd3573fedda5d1e528f95902776f996e06
* improve LocalizeFormat, internal caching of localized formats inside msgcat ↵sebres2017-01-101-1/+2
| | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict)
* l10n (with caching) implemented, msgcat package optimized, code review, etc.sebres2017-01-101-29/+84
|
* [temp-commit]: not readysebres2017-01-101-1/+53
|
* Make packages msgcat and tcltest work unmodified in "novem".jan.nijtmans2016-11-041-1/+1
|
* Whitespace reduction in Tcl scripts. No functional change.jan.nijtmans2015-09-011-7/+7
|
* [TIP 412] msgcat dynamic locale change and package private locale (msgcat 1.6.0)oehhar2015-06-292-64/+669
|\
| * Added tests for mcforgetpackage, mcpackagelocale and mcpackageconfigtip_412msgcat_dyn_localeoehhar2015-06-291-3/+4
| |
| * Tests for mcexists and mcloadedlocalesoehhar2015-06-261-1/+1
| |
| * Manpage, callback fail calls bgerror, clean catalog on packagelocale unsetoehhar2015-06-261-7/+28
| |
| * Make all msgcat tests passoehhar2015-06-011-1/+1
| |
| * merge trunkoehhar2015-05-312-24/+25
| |\ | |/ |/|
| * clock uses new msgcat featuresoehhar2012-09-201-30/+58
| |
| * (proposal) msgcat with dynamic mc file load on locale changeoehhar2012-09-191-103/+620
| |
| * TIP#399 implementation: mcconfig may add additional glob pattern for mcloadoehhar2012-09-192-15/+54
| |
| * Reentrant mcfl(m)set command, test, document mcflset as recommended for ↵oehhar2012-09-071-4/+8
| | | | | | | | message files
| * Commit of Harald Oehlmann's TIP 404 patch without TIP 399 pieces and with somedkf2012-08-272-4/+76
| | | | | | added documentation. No tests for new functionality yet.
* | Also get msgcat locale from Vista+ registry key "HCU/Control Panel/Desktop : ↵oehhar2013-05-082-18/+23
| | | | | | | | PreferredUILanguages" to honor installed language packs. msgcat now 1.5.2
* | [Bug 3604576]: msgcat-1.5.0.tm error on windows XPjan.nijtmans2013-02-142-10/+7
|\ \
| * | Finer granulated catchbug_3604576oehhar2013-02-141-17/+13
| | |
| * | Suggested fix for bug 3604576: msgcat -1.5.0.tm error on windows XP, ↵jan.nijtmans2013-02-142-17/+18
|/ / | | | | | | | | inclusive bump to version 1.5.1. Changelog entry still missing.
* | tip#404 file locale mcset: mc(fl)(m)set backport from 8.6oehhar2012-09-122-4/+80
|/
* translate script parameters for msgcatbug_3536888jan.nijtmans2012-06-291-8/+12
| | | update msgcat doc
* Add tn, ro_MO and ru_MO to msgcatjan.nijtmans2012-06-291-2/+3
|\
| * Add tn, ro_MO and ru_MO to msgcat. jan.nijtmans2012-06-292-27/+30
| | | | | | | | Make it work on cygwin (backported) Bump msgcat to 1.3.5
* | suggestions from Haraldjan.nijtmans2012-06-291-11/+6
| |
* | merge trunkjan.nijtmans2012-06-281-4/+4
|\ \ | | | | | | | | | bug fix: variable $key not found make it work on cygwin as well
* | | Locale guessing of msgcat fails on (some) Windows 7jan.nijtmans2012-06-222-3/+33
|/ /
* | Bump to msgcat 1.4.4.dgp2011-05-252-26/+12
| |
* | 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.
| * * library/msgcat/msgcat.tcl: Bump to version msgcat 1.3.4 to accountdgp2006-09-102-3/+3
| | | | | | | | * library/msgcat/pkgIndex.tcl: for modifications.
| * * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-126/+139
| | | | | | | | | | | | | | | | | | | | * 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-132-4/+9
| | | | | | | | | | | | * 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
| * * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]dgp2004-03-311-5/+8
| | | | | | | | | | | | | | | | | | | | | | * library/msgcat/msgcat.tcl ([mcset], [ConvertLocale], [Init]): Corrected [mcset] to be able to successfully set a translation to the empty string. [mcset $loc $src {}] was incorrectly set the $loc translation of $src back to $src. Also changed [ConvertLocale] to minimally require a non-empty "language" part in the locale value. If not, an error raised prompts [Init] to keep looking for a valid locale value, or ultimately fall back on the "C" locale. [Bug 811461]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.3.2.
| * * library/msgcat/msgcat.tcl ([mcset]): Corrected [mcset] to be abledgp2004-03-312-5/+5
| | | | | | | | | | | | * library/msgcat/pkgIndex.tcl: to successfully set a translation to the empty string. [mcset $loc $src {}] was incorrectly set the $loc translation of $src back to $src. Bump to msgcat 1.3.2.
| * * library/msgcat/msgcat.tcl: Added escape so that non-Windowsdgp2003-08-062-5/+12
| | | | | | | | | | | | * library/msgcat/pkgIndex.tcl: platforms do not try to use the registry package. This can save a costly and pointless package search. Bumped to 1.3.1. Thanks to "imdave1". [Bug 781609].
* | bump to msgcat 1.4.3 to account for commitsdgp2009-12-172-3/+3
| |
* | [Bug 2913616]: Make msgcat package work in safe interpreters.dkf2009-12-161-10/+13
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | * library/msgcat/msgcat.tcl: Removed some unneeded [uplevel]s.dgp2006-09-111-5/+4
| |
* | * library/msgcat/msgcat.tcl: Bump to version msgcat 1.4.2 to accountdgp2006-09-102-3/+3
| | | | | | | | * library/msgcat/pkgIndex.tcl: for modifications.
* | * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-127/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | * library/msgcat/msgcat.tcl: Added checks to prevent [mclocale]dgp2004-08-131-2/+7
| | | | | | | | | | * tests/msgcat.test: from registering filesystem paths to possibly malicious code to be evaluated by a later [mcload].
* | * doc/msgcat.n: Clarified message catalog file encodings. [Bug 811457]dgp2004-03-311-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/msgcat/msgcat.tcl: Updated internals to make use of [dict]s to store message catalog data and to use [source -encoding utf-8] to access catalog files. Thanks to Michael Sclenker. [Patch 875055, RFE 811459] Corrected [mcset] to be able to successfully set a translation to the empty string. [mcset $loc $src {}] was incorrectly set the $loc translation of $src back to $src. Also changed [ConvertLocale] to minimally require a non-empty "language" part in the locale value. If not, an error raised prompts [Init] to keep looking for a valid locale value, or ultimately fall back on the "C" locale. [Bug 811461]. * library/msgcat/pkgIndex.tcl: Bump to msgcat 1.4.1.
* | * library/msgcat/msgcat.tcl: Updated internals to make use ofdgp2004-03-312-36/+53
| | | | | | | | | | | | | | * library/msgcat/pkgIndex.tcl: [dict]s to store message catalog data and to use [source -encoding utf-8] to access catalog files. Thanks to Michael Sclenker. Also corrects bug to allow translation to an empty string. Bump to msgcat 1.4.1. [Patch 875055]
* | update msgcat version to 1.4dgp2003-10-211-1/+1
| |