summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Report compilation errors at runtime, [Patch 103368] by dgp.Miguel Sofer2004-09-267-204/+170
|
* Fix spelling of test names...dkf2004-09-241-21/+21
|
* * generic/tclBasic.c: Corrections to the 2004-09-21 commitdgp2004-09-242-2/+33
| | | | | | | | * generic/tclExecute.c: regarding ERR_ALREADY_LOGGED. That commit * generic/tclNamesp.c: caused Tk test send-10.7 to fail. Added * tests/namespace.test (25.7,8): tests in the Tcl test suite * tests/pkg.test (2.25,26): to catch this error without the aid of Tk in the future.
* * generic/tclCmdMZ.c (TclProcessReturn): Support the -errorlinedgp2004-09-222-4/+17
| | | | | | | * generic/tclCompile.c (TclCompileScript): option to [return]. * tests/compile.test (16.23.*): Use that capability to defer reporting * tests/misc.test (1.2): of parse errors until runtime. Updated tests to reflect change. [Bug 1032805]
* * generic/tclExecute.c (INST_START_CMD):Miguel Sofer2004-09-221-1/+31
| | | | | * tests/proc.test (7.2-3): fix for [Bug 729692] was incorrect whenever a loop exception was returned.
* * generic/tclCompCmds.c: Tolerate [append] syntax errorsdgp2004-09-221-2/+16
| | | | | * tests/appendComp.test (8.1): at compile time, and allow runtime to raise the error (or succeed if a redefined [append] allows).
* * tests/error.test (error-6.2,3): Added more tests to verifydgp2004-09-201-1/+10
| | | | ::errorCode setting by/after a [catch].
* Some tests were non-portable, alas.dkf2004-09-191-3/+3
|
* Fix silly mistakes :} and make sure that the original bug is a test case.dkf2004-09-181-3/+4
|
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-181-1/+11
|
* * doc/interp.n:Miguel Sofer2004-09-141-5/+12
| | | | | | * generic/tclInterp.c (TclPreventAliasLoop, AliasCreate): * tests/interp.test (17.4-6, 19.3-4): fixing problems with renaming of aliases [Bugs 707104 1026493]. Fix designed by dgp.
* Fix [Bug 1026903] by storing what ensemble the ensemble is cached for.dkf2004-09-131-1/+12
|
* * generic/tclClock.c (TclMktimeObjCmd): Corrected a bad checkKevin B Kenny2004-09-111-1/+21
| | | | | | | | | for error return from 'mktime'. * generic/tclObj.c (Tcl_GetIntFromObj): Corrected a problem where demoting a wide to an int failed on a big-endian machine. [Bug 1026125]. * tests/clock.test (clock-43.1): Added regression test for error return from 'mktime'.
* tcltest-12.3-4 needed to have ::tcltest::loadScript set to empty in their -setupdavygrvy2004-09-111-1/+3
|
* One less crazy long/wide aunt in the attic [Bug 868489]dkf2004-09-101-1/+53
|
* fixed a bug where %z was always positive in :localtimeKevin B Kenny2004-09-101-1/+21
|
* Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-091-1/+45
| | | | [Bug 1017299]
* * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-091-1/+115
| | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-081-1/+5
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* fixed clock-34.* to use same time zone on input and outputKevin B Kenny2004-09-081-9/+9
|
* * generic/tclClock.c (TclClockMktimeObjCmd): Fixed a bug whereKevin B Kenny2004-09-081-1/+22
| | | | | | the month was scanned incorrectly in -timezone :localtime. * tests/clock.test (clock-40.1): Added regression test case for the bug where month was scanned incorrectly in -timezone :localtime.
* * tests/timer.test (timer-1.1, timer-2.1): Changed to (one hopes!)Kevin B Kenny2004-09-071-6/+6
| | | | | be more resilient on an overloaded system, if [after 200] sleeps for 300 ms or longer.
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-071-7/+22
| | | | | | | | | | | | | | | | | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167] * library/clock.tcl (InitTZData, ClearCaches): Changed so that the in-memory time zone :UTC (and its aliases) always gets reinitialised, in case tzdata is absent. [Bug 1019537, 1023779] * library/tzdata/*: Regenerated. * tests/clock.test (clock-31.*, clock-39.1): Corrected a problem where the 'system' locale tests fail on a non-English Windows machine. [Bug 1023761]. Added a test to make sure that alias time zones load correctly. [Bug 1023779]. * tools/tclZIC.tcl (writeLinks): Corrected a problem where alias time zone names were written incorrectly, causing them to fail to load at run time. [Bug 1023779]. * win/tclWinTime.c (Tcl_GetTime): Eliminated CPUID tests on Win64 - assuming that HAL vendors now do a better job of keeping the performance counters synchronized among CPU's. [Bug 1020445]
* two bugs fixed in filesystem docs and testsvincentdarley2004-08-311-2/+2
|
* Fix a crash caused by sharing in [string map]. [Bug 1018562]dkf2004-08-301-1/+5
|
* Fix old tests to check [namespace which] sanely...dkf2004-08-271-4/+5
|
* Make [namespace which] use newer option parsing code for more flexibility.dkf2004-08-271-5/+5
|
* Fix/improve testsdkf2004-08-271-5/+15
|
* Fix [Bug 1017022] by factorizing out the ensemble lookup code and fixing once.dkf2004-08-271-2/+41
|
* * tests/env.test: macosx fixes.das2004-08-261-3/+3
|
* * tests/timer.test (timer-10.1): Test for Bug 1016167.dgp2004-08-251-1/+13
| | | | | | * generic/tclTimer.c: Workaround for situation when a [namespace import] causes the objv[0] value to be something other than what Tcl_AfterObjCmd expects. [Bug 1016167].
* D'oh! Put the correct value in... :^}dkf2004-08-251-2/+2
|
* Stop test from getting stomped by preceding tests...dkf2004-08-251-2/+2
|
* Fixes to ensemble -unknown handler processing to stop [namespace import] fromdkf2004-08-251-1/+27
| | | | | disrupting things horribly. Problem found by Don Porter when investigating [Bug 1016167].
* Fixed bug in CET time spec - times change at 0100 Greenwuch, not local.Kevin B Kenny2004-08-211-2/+2
|
* * tests/clock.test (clock-38.1): Changed TZ setting to specifyKevin B Kenny2004-08-211-2/+2
| | | | | | CET in excruciating detail to deal with systems that lack the Posix defaults for DST changes (and to be formally correct with the change dates for CET).
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-191-2/+5
| | | | 1011860]
* * library/clock.tcl (format): Changed default timezone format Kevin B Kenny2004-08-191-7/+30
| | | | | | | from alphabetic to numeric to produce scannable times in more locales. * tests/clock.test (clock-37.1): Removed now-unused 'needPST' constraint and the comments that refer to it.
* Fixed httpd's abuse of the [clock] commandKevin B Kenny2004-08-181-1/+2
|
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-181-2/+21
|
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-183-435/+34906
|
* fix for [Bug 1008314]Miguel Sofer2004-08-161-5/+28
|
* * 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].
* Standardized constraint namedkf2004-08-041-2/+2
|
* TIP#207 IMPLEMENTATIONdgp2004-08-021-1/+14
| | | | | | | | | | * doc/interp.n: Added support for a -namespace option to the * generic/tclBasic.c: [interp invokehidden] command. Also added an * generic/tclInt.h: internal routine TclObjInvokeNamespace() and * generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and * generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the * generic/tclTrace.c: internal routine TclGetNamespaceForQualName(). * tests/interp.test: [Patch 981841]
* * generic/tclLiteral.c (TclCleanupLiteralTable): Correcteddgp2004-08-021-1/+58
| | | | | | * tests/compile.test (compile-12.4): flawed deletion of literal internal reps that could lead to accessing of freed memory. Thanks to Kevin Kenny for test case and fix [Bug 1001997].
* * tests/safe.test (safe-2.1): Disabled senseless test. [Bug 999612]dgp2004-07-301-3/+4
| | | | | | * library/auto.tcl (auto_reset): Removed "protected" list of commands from [auto_reset]. All entries in the auto_index can be re-loaded. * library/package.tcl: Updated comment to reflect 2004-07-28 commit.
* * library/package.tcl: Moved private commanddgp2004-07-281-14/+14
| | | | | | * library/tclIndex: [pkg_compareExtension] into ::tcl::Pkg. * tests/pkg_mkIndex.test: Also moved implementation of [::pkg::create] to [::tcl::Pkg::Create].
* * tests/io.test: Make io-61.1 create file as binary to pass on Win32patthoyts2004-07-251-1/+2
|
* * tests/eofchar.data (removed): Test io-61.1 now generates its owndgp2004-07-232-852/+13
| | | | * tests/io.test: file of test data as needed.