summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] withindgp2002-09-221-3/+3
| | | | | | | | test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] Also corrected reporting of body return code. Thanks to David Taback [Bug 611922] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1. * tests/tcltest.test: added tests for these bugs.
* * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] withindgp2002-09-222-5/+7
| | | | | test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-311-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: added new macosx specific entry to stubs table. * tools/genStubs.tcl: added generation of platform guards for macosx. This is a little more complex than it seems, because MacOS X IS "unix" plus a little bit, for the purposes of Tcl. BUT unfortunately, Tk uses "unix" to mean X11. So added platform keys for macosx (the little added to "unix"), "aqua" and "x11" to distinguish these for Tk. * generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h can be passed to the resource compiler. * generic/tcl.h: * generic/tclNotify.c: added a few Notifier procs, to be able to modify more bits of the Tcl notifier dynamically. Required to get Mac OS X Tk to live on top of the Tcl Unix threaded notifier. Changes the size of the Tcl_NotifierProcs structure, but doesn't move any elements around. * unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till AFTER we are done mucking with the pointer swap. Fixes cases where the thread waiting on the condition wakes & accesses the waitingListPtr before it gets reset, causing a hang. * library/auto.tcl (tcl_findLibrary): added checking the directories in the tcl_pkgPath for library files on macosx to enable support of the standard Mac OSX library locations * unix/Makefile.in: * unix/configure.in: * unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS: there are some MacOS X specific files now for Tcl, and when I get he resource & applescript stuff ported over, and restore support for FindFiles, etc, there will be a few more. Added LD_LIBRARY_PATH_VAR configure variable to avoid having to set all possible LD_LIBRARY_PATH analogues on all platforms. LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH" by default, "LIBPATH" on AIX, "SHLIB_PATH" on HPUX and "DYLD_LIBRARY_PATH" on Mac OSX. Added configure option to package Tcl as a framework on Mac OSX. * macosx/tclMacOSXBundle.c (new): support for finding Tcl extension packaged as 'bundles' in the standard Mac OSX library locations. * unix/tclUnixInit.c: added support for findig the tcl script library inside Tcl packaged as a framework on Mac OSX. * macosx/Tcl.pbproj/jingham.pbxuser (new): * macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * unix/configure: * generic/tclStubInit.c: * generic/tclPlatDecls.h: regen
* * README: Bumped version number to 8.4b3 to distinguishdgp2002-08-204-4/+12
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: HEAD from the 8.4b2 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure: * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: * win/makefile.vc:
* * library/tcltest/tcltest.tcl: The setup and cleanup scripts are nowdgp2002-08-052-272/+211
| | | | | | * library/tcltest/pkgIndex.tcl: skipped when a test is skipped, fixing * tests/tcltest.test: [Bug 589859]. Test for bug added, and corrected tcltest package bumped to version 2.2.