summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* cd infinite loop bug fixedvincentdarley2004-07-171-0/+17
|
* * tests/socket.test: Accepted two new testcases by Stuart Casoffandreas_kupries2004-07-161-1/+7
| | | | | <stwo@users.sourceforge.net> checking that -server and -async don't go together [Tcl SF Bug 796534].
* Sanitized another couple of uses of the environment.Kevin B Kenny2004-07-101-15/+19
|
* Added code to restore env(LC_TIME) after the test completes, silencingKevin B Kenny2004-07-101-1/+10
| | | | a warning from 'make TESTFLAGS="-debug 1" test'.
* clock.test: Changed clock-2.11 so that it isn't an infinite loop whenKevin B Kenny2004-07-101-3/+10
| | | | run on a slow virtual machine.
* * tests/cmdMZ.test (cmdMZ-return-2.17): Added a test that a worddgp2004-07-061-1/+11
| | | | | | | | | containing backslash-quoted value is treated correctly. * generic/tclCompile.c (TclWordKnownAtCompileTime): [Bug 986196] Corrected flaw above and the flaw that caused TCL_TOKEN_SIMPLE_WORDs to have their original word value copied ( "{a b}" ) rather than the actual value ( "a b" ). Thanks to Kevin Kenny for report and tests.
* * tests/cmdMZ.test (cmdMZ-return-2.15,cmdMZ-return-2.16):Kevin B Kenny2004-07-061-1/+22
| | | | | Added a test that a return code containing spaces is correctly returned.
* Added missing constraint definition...dkf2004-07-041-1/+3
|
* added support for wide integers to round(); [Bug 908375], reported byMiguel Sofer2004-07-031-1/+16
| | | | Hemang Lavana.
* * generic/tclPipe.c (TclCreatePipeline): applied TIP #202 patchhobbs2004-07-021-1/+5
| | | | | * doc/exec.n, tests/exec.test: that adds 2>@1 as a special case redirection of stderr to the result output.