summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* backport of file writable fixesvincentdarley2006-03-193-9/+39
|
* * tests/io.test (io-43.1 io-44.[1234]): Rewritten to beandreas_kupries2006-03-161-23/+43
| | | | self-contained with regard to setup and cleanup. [Bug 681793].
* * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND toandreas_kupries2006-03-161-1/+38
| | | | | | | | | the list of POSIX modes used when opening a file for 'a'ppend. This enables the proper automatic seek-to-end-on-write by the OS. See [Bug 680143] for longer discussion. * tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the new handling of 'a'.
* * tests/socket.test: Extended the timeout in socket-11.11 from 10andreas_kupries2006-03-161-4/+4
| | | | | | | | | | to 40 seconds to allow for really slow machines. Also extended actual/expected results with value of variable 'done' to make it clearer when a test fails due to a timeout. [Bug 792159]. * generic/tclPipe.c (TclCreatePipeline): Modified the processing of pipebars to fail if the last bar is followed only by redirections. [Bug 768659].
* * README: Bump version number to 8.4.13 and updatedgp2006-03-071-1/+2
| | | | | | | | | | | | * changes: changes to start prep for an 8.4.13 release. * generic/tcl.h: * tools/tcl.wse.in: * unix/configure{.in}: * unix/tcl.spec: * win/README.binary: * win/configure{.in}: * tests/parse.test: Missing constraint
* * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags todgp2006-03-061-2/+22
| | | | | * tests/parse.test: simplify TclEvalObjvInternal and to correct the auto-loading of alias targets (parse-8.12). [Bug 1444291].
* * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-282-11/+80
| | | | | | * tests/parse.test: evaluations act the same as [uplevel #0] * tests/trace.test: evaluations, even when execution traces or invocations of [::unknown] are present. [Bug 1439836].
* * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-161-1/+4
| | | | * generic/indexObj.test: when TCL_EXACT matching is requested.
* * tests/main.test (Tcl_Main-6.7): Improved robustness ofdgp2006-02-091-1/+2
| | | | command auto-completion test. [Bug 1422736].
* replaced new test string-12.21 with dkf's version from HEADMiguel Sofer2006-01-231-9/+14
|