summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* Fix a comment that was causing problems for programs (like "mktclapp") thatdrh2002-07-171-3/+3
| | | | embed the initialization script in strings. No changes to code.
* * library/tcltest/tcltest.tcl: Corrected errors in handling ofdgp2002-07-141-4/+6
| | | | configuration options -constraints and -limitconstraints.
* * Corrected reaction to existing but false ::tcl_interactive.dgp2002-07-111-3/+2
|
* * Greatly reduced the number of [exec]s, using slave interps instead.dgp2002-07-101-2/+2
| | | | | * Fixed bug uncovered in the conversion where a message was written to stdout instead of [outputChannel].
* * doc/tcltest.n: Fixed incompatibility in [viewFile].dgp2002-07-082-4/+3
| | | | | * library/tcltest/tcltest.tcl: Corrected docs. Bumped to 2.2.1. * library/tcltest/pkgIndex.tcl: [Bug 578163]
* * tests/main.test: Cheap fix for [Bugs 575851, 575858]. Avoiddgp2002-07-031-2/+6
| | | | | | | * tests/tcltest.test: non-writable . by [cd [temporaryDirectory]]. * library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets $varName only if a successful library script is found. [Bug 577033]
* * doc/tcltest.n: more refinements of the documentation.dgp2002-07-031-1/+3
| | | | | * library/tcltest/tcltest.tcl: Added trace to be sure the stdio constraint is updated whenever the [interpreter] changes.
* * doc/tcltest.n: Reverted [makeFile] and [viewFile] todgp2002-07-021-5/+9
| | | | | | | | * library/tcltest/tcltest.tcl: their former behavior, and documented * tests/cmdAH.test: it. Corrected misspelling of hook * tests/event.test: procedure. Restored tests. * tests/http.test: * tests/io.test:
* * library/tcltest/tcltest.tcl: Simplified logic of [GetMatchingFiles]dgp2002-07-021-62/+64
| | | | | | | and [GetMatchingDirectories], removing special case processing. * doc/tcltest.n: More documentation updates. Reference sections are complete. Only examples need adding.
* * doc/tcltest.n: more work in progress updating tcltest docs.dgp2002-07-011-19/+15
| | | | | | | * library/tcltest/tcltest.tcl: Change [configure -match] to stop treating an empty list as a list of the single pattern "*". Changed the default value to [list *] so default operation remains the same.
* * tests/pkg/samename.tcl: restored. needed by pkgMkIndex.test.dgp2002-07-011-10/+9
| | | | | * library/tcltest/tcltest.tcl: restored writeability testing of -tmpdir, augmented by a special exception for the deafault value.
* * Stopped checking for writeability of -tmpdir value because nodgp2002-07-011-4/+10
| | | | default directory can be guaranteed to be writeable.
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-26/+45
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* * docs/tcltest.n: Doc revisions in progress.dgp2002-06-281-4/+12
| | | | | | * library/tcltest/tcltest.tcl: Corrected -testdir default value. Was not reliable, and disagreed with docs! Thanks to Hemang Lavana. [Bug 575150]
* * Made sure that the TCLTEST_OPTIONSdgp2002-06-271-39/+47
| | | | environment variablle configures tcltest at package load time.
* * Corrected suppression of -verbose skip and start by [test -output].dgp2002-06-261-5/+16
| | | | | Also corrected test suite errors exposed by corrected code. [Bug 564656]
* Excised a tiny amount of the most pointless voodoo. Leftdgp2002-06-261-4/+4
| | | | most of it in there.
* * Implementation of TIP 101. Adds and exports a [configure] commanddgp2002-06-251-819/+713
| | | | from tcltest.
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-1/+4
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* * Corrected comments and namespace styledgp2002-06-211-48/+47
| | | | issues. Thanks to Bruce Stephens. [Bug 572025]
* * More Windows Registry locale codes from Bruno Haible.dgp2002-06-171-15/+127
|
* * Revised locale initialization to interpretdgp2002-06-172-81/+112
| | | | | | | | | 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]
* * 4) deprecated [threadReap] and [mainThread] [Bug 534903]dgp2002-06-061-4/+5
|
* * tests/io.test: Fixed up namespace variable resolution issuesdgp2002-06-061-161/+195
| | | | | | | | | | | | revealed by running test suite with "-singleproc 1". * doc/tcltest.n: * library/tcltest/tcltest.tcl: * tests/tcltest.test: Several updates to tcltest. 1) changed to lazy initialization of test constraints 2) deprecated [initConstraintsHook] 3) repaired badly broken [limitConstraints]. [Patch 512214, Bug 558742, Bug 461000]
* * Added more TIP 85 tests from Arjen Markus.dgp2002-06-051-11/+29
| | | | | | Converted tcltest.test to use a private namespace. Fixed bugs in [tcltest::Eval] revealed by calling [tcltest::test] from a non-global namespace, and namespace errors in init.test.
* * Implementation of TIP 85. Allows tcltestdgp2002-06-032-31/+89
| | | | | | | users to add new legal values of the -match option to [test], associating each with a Tcl command that does the matching of expected results with actual results of tests. Thanks to Arjen Markus. [Patch 521362]
* * Fixed leak of slave interp in [pkg_mkIndex].dgp2002-05-311-2/+2
| | | | Thanks to Helmut for report. [Bug 550534]