summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-4/+24
| | | | | | | | * library/tcltest/tcltest.tcl: Corrected some misleading * tests/tcltest.test (tcltest-26.1,2): displays of ::errorInfo and ::errorCode information when the -setup, -body, and/or -cleanup scripts return an unexpected return code. Thanks to Robert Seeger for the fix. [RFE 1017151].
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-302-5/+7
| | | | | obsolete processCmdLineArgsHook. [Bug 1055673] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7
* * 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
* * win/tclWinDde.c: Bump to dde 1.2.3 to cover changesdgp2004-07-231-2/+2
| | | | | | * library/dde/pkgIndex.tcl: committed on 2004-06-14. * changes: Updated for Tcl 8.4.7 release.
* Fix [Bug 981733]; bizarre resolver brokenness strikes again!dkf2004-06-291-2/+6
|
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-2/+1
| | | | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Corrected * tests/tcltest.test: double increment of numTestFiles in -singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1 behavior. Corrected tcltest-25.3 to not falsely report a failure in tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-262-6/+6
| | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Updated * tests/tcltest.test: tcltest-19.1 to tcltest 2.1 behavior. Bumped to tcltest 2.2.6.
* * doc/http.n (http::config): add -urlencoding option (default utf-8)hobbs2004-05-252-12/+13
| | | | | | | | | * library/http/http.tcl: that specifies encoding conversion of * library/http/pkgIndex.tcl: args for http::formatQuery. Previously * tests/http.test: undefined, RFC 2718 says it should be utf-8. 'http::config -urlencoding {}' returns previous behavior, which will throw errors processing non-latin-1 chars. Bumped http package to 2.5.0.
* * library/init.tcl: Corrected unique prefix matching ofdgp2004-05-031-3/+12
| | | | interactive command completion in [unknown]. [Bug 946952]
* * 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.
* * doc/tcltest.n:dgp2004-02-181-2/+2
| | | | | | * library/tcltest/tcltest.tcl: Changed -verbose default value to {body error} so that detailed information on unexpected errors in tests is provided by default, even after the fix for [Bug 725253]
* * library/tcltest/tcltest.tcl: Corrected references todgp2004-02-041-3/+3
| | | | non-existent $name variable in [cleanupTests]. [Bug 833637]
* * library/tcltest/tcltest.tcl: Corrected parsing of singledgp2004-02-032-4/+9
| | | | | command line argument (option with missing value) [Bug 833910] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.5.
* * library/dde/pkgIndex.tcl: Added safeguards so that registrydgp2003-11-102-4/+6
| | | | | | * library/reg/pkgIndex.tcl: and dde packages are not offered * win/tclWinDde.c: on non-Windows platforms. Bumped to * win/tclWinReg.c: registry 1.1.3 and dde 1.2.2.
* * README: Bumped patch level to 8.4.5 to preparedgp2003-10-022-3/+3
| | | | | | | | | | | | | | | * generic/tcl.h: for next patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: * library/http/http.tcl: Bumped to http 2.4.5 * library/http/pkgIndex.tcl:
* Correctly check the types of boolean options to http::geturl [Bug 811170]dkf2003-09-291-5/+12
|
* * library/init.tcl (auto_load, auto_import): Expanded Eric Melski'sdgp2003-09-231-16/+17
| | | | | | 2000-01-28 fix for [Bug 218871] to all potentially troubled uses of [info commands] on input data, where glob-special characters could cause problems.
* * library/opt/optparse.tcl: Overlooked dependence of opt 0.4.4dgp2003-09-102-5/+5
| | | | * library/opt/pkgIndex.tcl: on Tcl 8.2. Bumped to opt 0.4.4.1.
* * 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].
* * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.rmax2003-07-241-2/+2
|
* * win/tclWinReg.c: Incremented the version to 1.1.2.patthoyts2003-07-231-2/+2
| | | | * library/reg/pkgIndex.tcl:
* * generic/tclBasic.c: Corrected several instances of unsafedgp2003-07-181-4/+6
| | | | | | | * generic/tclCompile.c: truncation of UTF-8 strings that might * generic/tclProc.c: break apart a multi-byte character. * library/init.tcl: [Bug 760872] * tests/init.test:
* * doc/tcltest.n: Restored the [Eval] proc to replacedgp2003-07-181-16/+6
| | | | | | | | | | * library/tcltest/tcltest.tcl: the [::puts] command when either the -output or -error option for [test] is in use, in order to capture data written to the output or error channels for comparison against what is expected. This is easier to document and agrees better with most user expectations than the previous attempt to replace [puts] only in the caller's namespace. Documentation made more precise on the subject. [Bug 706359]
* * library/http/pkgIndex.tcl: merged to v2.4.4 from headhobbs2003-07-182-11/+14
| | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
* * library/safe.tcl (FileInAccessPath): normalize paths beforehobbs2003-07-161-2/+10
| | | | comparison. [Bug 759607] (myers)
* * library/tcltest/tcltest.tcl (ProcessFlags): Corrected broken calldgp2003-07-162-4/+4
| | | | | * library/tcltest/pkgIndex.tcl: to [lrange]. Bumped to version 2.2.4. [Bug 772333]
* * library/package.tcl: Corrected [pkg_mkIndex] bug reported ondgp2003-07-111-3/+7
| | | | | comp.lang.tcl. The indexer was searching for newly indexed packages instead of newly provided packages.
* * library/encoding/gb2312-raw.enc (new): This is the originalhobbs2003-05-151-0/+1380
| | | | | | gb2312.enc renamed to allow for it to still be used. This is needed by Tk (unix) because X fonts with gb2312* charsets really do want the original gb2312 encoding. [Bug 557030]
* * library/encoding/gb2312.enc: copy euc-cn.enc over originalhobbs2003-05-141-92/+109
| | | | | | gb2312.enc. gb2312.enc appeared to not work as expected, and most uses of gb2312 really mean euc-cn (which may be the cause of the problem). [Bug 557030]
* * library/tcltest/tcltest.tcl: The -returnCodes option to [test]dgp2003-05-051-2/+2
| | | | failed to recognize the symbolic name "ok" for return code 0.
* * library/tcltest/tcltest.tcl: When the return code of a test doesdgp2003-04-211-10/+10
| | | | | | not meet expectations, report that as the reason for test failure, and do not attempt to check the test result for correctness. [Bug 725253]
* * library/tcltest/tcltest.tcl: Added reporting duringdgp2003-03-262-11/+15
| | | | | | | | | | | [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]
* Fixed a bug where [package require dde] or [package require registry] Kevin B Kenny2003-03-232-2/+2
| | | | | attempted to load the release version of the DLL into a debug build. [Bug 708218] Thanks to Joe Mistachkin for the patch.
* * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 fordgp2003-03-033-5/+5
| | | | | | | | | * win/tclWinDde.c: bundled release with Tcl 8.4.2 * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for * win/tclWinReg.c: bundled release with Tcl 8.4.2 * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
* * doc/pkgMkIndex.n: Modified [pkg_mkIndex] to use -nocase matchingdgp2003-02-251-2/+2
| | | | | | * library/package.tcl: of -load patterns, to better accomodate common user errors due to confusion between [package names] names and [info loaded] names.
* * library/package.tcl (tclPkgUnknown): Minor performance tweaksdgp2003-02-211-13/+48
| | | | | to reduce the number of [file] invocations. Meant to improve startup times, at least a little bit. [Patch 687906]
* * generic/tclEncoding.c (LoadTableEncoding):hobbs2003-02-215-1/+38
| | | | | | | | | * library/encoding/cp932.enc: Correct jis round-trip encoding * library/encoding/euc-jp.enc: by adding 'R' type to .enc files. * library/encoding/iso2022-jp.enc: [Patch #689341] (koboyasi, taguchi) * library/encoding/jis0208.enc: * library/encoding/shiftjis.enc: * tests/encoding.test:
* update in commentdgp2003-02-171-2/+2
|
* code cleanup of eval and string comp usehobbs2003-02-081-7/+7
|
* * library/tcltest/tcltest.tcl: Filename arguments to [outputChannel]dgp2003-02-062-19/+93
| | | | | | | and [errorChannel] (also -outfile and -errfile) were [open]ed but never [closed]. Also, [cleanupTests] could remove output or error files. [Bug 676978]. * library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
* typo corrections in comments.dgp2003-01-271-5/+7
|
* * library/init.tcl: code cleanup to reduce use ofhobbs2002-11-232-41/+23
| | | | * library/opt/optparse.tcl: string compare
* * library/word.tcl: Changed $tcl_platform to $::tcl_platform toandreas_kupries2002-11-011-2/+2
| | | | avoid possible scope trouble.
* * library/dde/pkgIndex.tcl:andreas_kupries2002-10-282-2/+2
| | | | | * library/reg/pkgIndex.tcl: Changed the hardwired debug suffix (d) to the correct suffix (g).
* * library/auto.tcl: Converted the Mac-specific [package unknown]dgp2002-10-284-55/+119
| | | | | | * library/init.tcl: behavior to use a chaining mechanism to extend * library/package.tcl: the default [tclPkgUnknown]. [Bug 627660] * library/tclIndex: [Patch 624509] (steffen)
* * library/auto.tcl (tcl_findLibrary):das2002-10-222-2/+22
| | | | | | | | | | | | * library/package.tcl (tclPkgUnknown): on macosx, search inside the Resources/Scripts subdirectory of any potential package directory * macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to TCL_PACKAGE_PATH make argument. * unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded framework dirs to tcl_pkgPath: @executable_path/../Frameworks and @executable_path/../PrivateFrameworks (if they exist), as well as the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509] use standard MAXPATHLEN instead of literal 1024
* * library/reg/pkgIndex.tcl:hobbs2002-10-181-4/+4
| | | | | | | | * win/configure: * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/makefile.bc: Updated to reg1.1
* [info exist]->[info exists]. [Bug 602566]dkf2002-10-032-6/+6
|
* * library/encoding/koi8-u.enc: removed extraneous spaces thathobbs2002-09-261-4/+4
| | | | confused encoding reader. [Bug #615115]