summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * * tests/io.test (io-53.9): Added testcase for [Bug 780533], basedandreas_kupries2008-04-041-3/+51
| | | | | | | | | | | | | | | | | | | | on Alexandre's test script. Also fixed problem with timer in preceding test, was not canceled properly in the ok case.
| | | * * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] toandreas_kupries2008-04-031-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | * tests/io.test: prevent fcopy from calling -command synchronously the first time. Thanks to Alexandre Ferrieux <ferrieux@users.sourceforge.net> for report and patch.
| | | * Backported fix for #1923966patthoyts2008-03-241-1/+19
| | | |
| | | * * generic/tclTest.c: Backport the [testexprlongobj] testing command.dgp2008-03-071-1/+3
| | | |
| | | * * tests/execute.test (execute-6.8): Added tests checking thatdgp2008-03-071-2/+179
| | | | | | | | | | | | | | | | bytecode is invalidates in the right situations.
| | | * Fixes for problems created when processing regular expressions thatdkf2007-12-181-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | generate very large automata. An enormous number of thanks to Will Drewry <wad@google.com>, Tavis Ormandy <taviso@google.com>, and Tom Lane <tgl@sss.pgh.pa.us> from the Postgresql crowd for their help in tracking these problems down. [Bug 1810264]
| | | * * generic/tclIOUtil.c (TclGetOpenMode): Only set the O_APPEND flaghobbs2007-12-141-1/+22
| | | | | | | | | | | | | | | | | | | | * tests/ioUtil.test (ioUtil-4.1): on a channel for the 'a' mode and not for 'a+'. [Bug 1773127] (backport from HEAD)
| | | * Prevent shimmering crash in [lsearch] when -exact and -integer/-real aredkf2007-12-051-1/+10
| | | | | | | | | | | | | | | | mixed. [Bug 1844789]
| | | * * generic/regc_nfa.c: Fixed infinite loop in the regexp compilerdgp2007-11-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/regcomp.c: [Bug 1810038]. Corrected looping logic in * tests/regexp.test: fixempties() to avoid wasting time walking a list of dead states [Bug 1832612]. Convert optst() from expensive no-op to a cheap no-op. Improve newline usage in debug output.
| | | * * generic/tclPkg.c: Backport fix for [1573844] to thedgp2007-09-191-11/+11
| | | | | | | | | | | | | | | | * tests/pkg.test: TCL_TIP268 sections.
| | | * * tests/trace.test: Backport some tests.dgp2007-08-141-1/+27
| | | |
| | | * * unix/tclLoadDyld.c: use dlfcn API on Mac OS X 10.4 and later; fixdas2007-08-141-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | issues with loading from memory on intel and 64bit; add debug messages. * tests/load.test: add test load-10.1 for loading from vfs.
| | | * * generic/tclCmdMZ.c: Corrected broken trace reversal logic indgp2007-06-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/basic.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931].
| | | * * tests/result.test (result-6.2): Add test for Bug 1649062 sodgp2007-06-051-0/+16
| | | | | | | | | | | | | | | | that 8.4 and 8.5 both test the same outcome and we verify compatibility.
| | | * * tests/fCmd.test: Backport the notNetworkFilesystem constraint.dgp2007-05-171-6/+7
| | | |
| | | * * win/tclWinReg.c (GetKeyNames): Size the buffer for enumeratingKevin B Kenny2007-03-171-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | key names correctly, so that Unicode names exceeding 127 chars can be retrieved without crashing. [Bug 1682211] * tests/registry.test (registry-4.9): Added test case for the above bug.
| | | * * generic/tclExecute.c (INST_FOREACH_STEP4): Re-fetch pointers fordgp2007-03-131-1/+13
| | | | | | | | | | | | | | | | | | | | * tests/foreach.test (foreach-10.1): the value list each iteration of the loop as defense against shimmers. [Bug 1671087]
| | | * * generic/tclVar.c (TclArraySet): Re-fetch pointers for the listdgp2007-03-131-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | * tests/var.test (var-17.1): argument of [array set] each time through the loop as defense against possible shimmer issues. [Bug 1669489].
| | | * Fix [Bug 1675116] in a way suitable for 8.4.dkf2007-03-101-1/+6
| | | |
| | | * Fix [Bug 1671138]dkf2007-03-011-1/+11
| | | |
| | | * Typo, more.andreas_kupries2007-02-221-2/+2
| | | |
| | | * Typoandreas_kupries2007-02-221-2/+2
| | | |
| | | * * tests/pkg.test: Added tests for the case of an alpha packageandreas_kupries2007-02-221-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | satisfying a require for the regular package, demonstrating a corner case specified in TIP#280. More notes in the comments to the test.
| | | * * generic/tclEncoding.c (EscapeFromUtfProc): Applied patchandreas_kupries2007-02-121-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl 8.5. Mo's description: Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test case for escape byte overlap case.
| | | * * macosx/tclMacOSXNotify.c: accommodate changes to prototypes ofdas2007-01-191-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSSpinLock(Un)Lock API. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.13
| | | * Backport to 8.4 (Don Porter's work).andreas_kupries2006-12-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When no requirements are supplied to a [package require $pkg] and [package unknown] is invoked to find a satisfying package, pass the requirement argument "0-" (which means all versions are acceptable). This permits a registered [package unknown] command to call [package vsatisfies $testVersion {*}$args] without any special handling of the empty $args case. This fixes/avoids a bug in [::tcl::tm::UnknownHandler] that was causing old TM versions to be provided in preference to newer TM versions. Thanks to Julian Noble for discovering the issue.
| | | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-283-6/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
| | | * * unix/tclUnixChan.c (TclUnixWaitForFile):Kevin B Kenny2006-11-281-1/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208].
| | | * * generic/tclBasic.c (TEOVI): fix por possible leak of a CommandMiguel Sofer2006-11-041-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the presence of execution traces that delete it. * generic/tclBasic.c (TEOVI): * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
| | | * dup test namedgp2006-10-101-2/+2
| | | |
| | | * update tests to handle strictness changehobbs2006-10-061-1/+14
| | | |
| | | * * generic/tcl.h: note limitation on changing Tcl_UniChar sizehobbs2006-10-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc): * tests/encoding.test (encoding-16.1): fix alignment issues in unicode <> utf conversion procs. [Bug 1122671]
| | | * * generic/tclVar.c (Tcl_LappendObjCmd):Miguel Sofer2006-10-051-1/+10
| | | | | | | | | | | | | | | | | | | | * tests/append.test(4.21-22): fix for longstanding [Bug 1570718], lappending nothing to non-list. Reported by lvirden
| | | * Bug 1400572 will remain knownBug for 8.4.14dgp2006-10-041-2/+2
| | | |
| | | * Backported fix for bug #1420432 (cannot set mtime for directories on windows).patthoyts2006-10-011-1/+16
| | | |
| | | * * generic/tcl.decls: Implemented TIP #268, conditionally.andreas_kupries2006-09-223-17/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: Define TCL_TIP268 to activate the new * generic/tclDecls.h: features. * generic/tclInt.h: * generic/tclPkg.c: * generic/tclStubInit.c: * generic/tclTest.c: * library/init.tcl * library/package.tcl: * tests/pkg.test: * tests/platform.test: * tests/safe.test: * doc/PkgRequire.3:
| | | * * library/http/http.tcl: Change " " -> "+" url encoding mappinghobbs2006-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | * library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986. * tests/http.test (http-5.1): bump http to 2.5.3 for 8.4.14
| | | * * tests/msgcat.test: Bumped version in auxiliary files as well.andreas_kupries2006-09-111-3/+3
| | | | | | | | | | | | | | | | * doc/msgcat.n:
| | | * * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/msgcat.test: default msgcat locale to * unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier if available (via private ::tcl::mac::locale global, set at interp init when on Mac OS X 10.3 or later with CoreFoundation). * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.13
| | | * * tests/main.text (Tcl_Main-4.4): Test corrected to not bedgp2006-09-041-3/+3
| | | | | | | | | | | | | | | | timing sensitive to the Bug 1481986 fix. [Bug 1550858]
| | | * Bug 1513489Kevin B Kenny2006-07-301-24/+30
| | | |
| | | * Enable building Tcl with Microsoft's latest compiler offeringpatthoyts2006-06-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | (VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909
| | | * * generic/tclMain.c (Tcl_Main): Corrected flaw that requireddgp2006-05-051-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | * tests/main.test: (Tcl_Main-4.5): processing of one interactive command before passing control to the loop routine registered with Tcl_SetMainLoop() [Bug 1481986].
| | | * * generic/tclExecute.c (ExprSrandFunc): Restore acceptance of widedgp2006-05-041-2/+2
| | | | | | | | | | | | | | | | * tests/expr-old.test: integer values by srand() [Bug 1480509].
| | | * * generic/tclCmdMZ.c: Stop some interference between enter tracesdgp2006-04-111-1/+38
| | | | | | | | | | | | | | | | * tests/trace.test: and enterstep traces. [Bug 1458266]
| | | * * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-061-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039]
| | | * * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-052-5/+8
| | | | | | | | | | | | | | | | | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
| | | * Fix [Bug 1646039]dkf2006-04-051-13/+13
| | | |
| | | * * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08dgp2006-04-051-3/+3
| | | | | | | | | | | | | | | | * tests/pkg.test: to be even more forgiving of package version mismatch errors in [package ifneeded] commands, not even logging any warning messages. This further reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change.
| | | * * tests/expr.test: Nan self-inquality test silenced. [Bug 761471]dgp2006-03-231-2/+2
| | | |