summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclNamesp.c: Corrected broken logic in Tcl_DeleteNamespace()dgp2007-02-081-4/+15
| | | | | | * tests/namespace.test: introduced in Patch 1577278 that caused [namespace delete ::] to be effective only at level #0. New test namespace-7.7 should prevent similar error in the future. [Bug 1655305]
* * generic/tclNamesp.c: Corrected broken implementation of thedgp2007-02-061-1/+6
| | | | | * tests/namespace.test: TclMatchIsTrivial optimization on [namespace children $namespace $pattern].
* * macosx/tclMacOSXFCmd.c (TclMacOSXSetFileAttribute): on some versionsdas2007-01-191-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | of Mac OS X, truncate() fails on resource forks, in that case use open() with O_TRUNC instead. * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars * macosx/Tcl.xcodeproj/default.pbxuser: are defined when running testsuite from Xcode. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/Makefile.in: move libtommath defines into configure.in to avoid * unix/configure.in: replicating them across multiple buildsystems. * macosx/Tcl.xcodeproj/project.pbxproj: * 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.59 * unix/tclConfig.h.in: autoheader-2.59
* Small fixes to quell tests that fail on some kinds of Win systemsdkf2007-01-182-84/+112
|
* Detect [Bug 1638414]dkf2007-01-181-23/+6
|
* Fix [lindex] argument ordering. [bug 1631364]dkf2007-01-091-50/+9
|
* * generic/tclEncoding.c (EscapeFromUtfProc):mdejong2006-12-271-1/+61
| | | | | | | | | | | 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 for escape byte overlap issue.
* * tests/macOSXLoad.test (new file): add testing of .bundle loading anddas2006-12-173-6/+46
| | | | | | | | | | | * tests/load.test: unloading on Darwin (in addition to * tests/unload.test: existing tests of .dylib loading). * macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries so that testsuite run from Xcode can use them; fix testsuite run script. * unix/configure.in: add support for building dltest binaries as * unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin. * unix/Makefile.in: add stub lib dependency to dltest target. * unix/configure: autoconf-2.59
* * tests/append.test: fix cleanup failure when all tests are skipped.das2006-12-171-2/+2
|
* * tests/chan.test (chan-16.9): cleanup chan event handler to avoiddas2006-12-171-1/+2
| | | | causing error in event.test when running testsuite with -singleproc 1.
* * tests/info.test: add !singleTestInterp constraint to tests that faildas2006-12-171-16/+16
| | | | when running testsuite with -singleproc 1. [Bug 1605269]
* adjust tcltest.tcl line numbers in info-22.8 & info-23.6 that changed by ↵das2006-12-101-3/+3
| | | | last tcltest.tcl commit.
* * generic/tclBasic.c: Another step down the path of re-usingdgp2006-12-081-5/+5
| | | | | | | | * generic/tclCompExpr.c: TclExecuteByteCode to implement the TIP 174 * generic/tclCompile.h: commands instead of using a mass of code * generic/tclMathOp.c: duplication. Now all operator commands that * tests/mathop.test: demand exactly one operation are implemented via TclSingleOpCmd and a call to TEBC.
* * generic/tclMathOp.c: More revisions to make tests pass.dgp2006-12-081-7/+7
| | | | * tests/mathop.test:
* More tests for bitopsdkf2006-12-081-37/+344
|
* * tests/mathop.test: Commmitted several new tests from Peter Spjuthdgp2006-12-071-4/+735
| | | | | found in [Patch 157837]. Many failures now demonstrate issues to fix in the TIP 174 implementation.
* More #174 bits and piecesdkf2006-12-071-2/+115
|
* Fixed line endings broken by a previous checking that caused test failures ↵patthoyts2006-12-071-717/+717
| | | | on windows.
* * generic/tclCompCmds.c: Revised and consolidated into utilitydgp2006-12-061-3/+3
| | | | | * tests/mathop.c: routines some of routines that compile the new TIP 174 commands. This corrects some known bugs. More to come.
* Improved error reporting in test expr-47.12Kevin B Kenny2006-12-061-8/+18
|
* * generic/tclBasic.c: TIP #291. Define tcl_platform element forandreas_kupries2006-12-052-3/+3
| | | | | | | | | | | | | | | | * doc/tclvars.n: pointerSize. * win/Makefile.in: Added installation instructions for the platform * win/makefile.vc: package. Added the platform package. * win/makefile.bc: * unix/Makefile.in: * tests/platform.test: * tests/safe.test: * library/platform/platform.tcl: * library/platform/shell.tcl: * library/platform/pkgIndex.tcl:
* * generic/tclPkg.c: When no requirements are supplied to adgp2006-12-051-3/+3
| | | | | | | | | | | | * tests/pkg.test: [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.
* Fix leaking-stderr test breakagedkf2006-12-041-8/+25
|
* Implement TIP#267dkf2006-12-041-688/+700
|
* TIP#299 IMPLEMENTATIONKevin B Kenny2006-12-012-3/+94
|
* * tests/chan.test: Correct timing sensitivity in new testdgp2006-12-011-3/+4
| | | | [Bug 1606860]
* TIP#287 IMPLEMENTATIONdgp2006-12-012-4/+114
| | | | | | | | | | * doc/chan.n: New subcommand [chan pending]. * generic/tclBasic.c: Thanks to Michael Cleverly for proposal * generic/tclInt.h: and implementation. * generic/tclIOCmd.c: * library/init.tcl: * tests/chan.test: * tests/ioCmd.test:
* Correct typos that produced duplicate test namesdgp2006-11-291-5/+5
|
* * generic/tclBasic.c: TIP #280 implementation.andreas_kupries2006-11-281-5/+630
| | | | | | | | | | | | | | | | | | | | | * 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-271-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].
* More bits and pieces of the TIP#174 implementationdkf2006-11-261-0/+184
|
* Silence complaints caused by [namespace import] returning current importsdkf2006-11-232-10/+6
|
* [string is list] tests: fixed mixed up test name, added test of unicode handlingdkf2006-11-221-2/+6
|
* TIP#269 implementationdkf2006-11-221-3/+48
|
* * tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path containsdas2006-11-101-2/+2
| | | | | | | | | | | | | | symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
* Optimize for the unshared case.dkf2006-11-092-6/+16
|
* Implemented [string reverse].dkf2006-11-092-8/+16
| | | | Finalizes basic TIP#272 implementation.
* Implemented [lreverse] from TIP#272dkf2006-11-091-1/+14
|
* TIP#274 IMPLEMENTATIONdgp2006-11-051-1/+4
| | | | | * generic/tclParseExpr.c: Exponentiation operator is now * tests/expr.test: right associative. [Patch 1556802]
* * generic/tclBasic.c (TEOVI):Miguel Sofer2006-11-031-2/+20
| | | | | | * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
* Rename constraint to look more conventionaldkf2006-11-031-15/+11
|
* Keep most tests from making sockets that are reachable off the machine.dkf2006-11-036-97/+89
|
* Minor syntactic changesdkf2006-11-031-7/+6
|
* * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-0324-259/+259
| | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* Fixed non-robustness error when opening subshell pipes when the current ↵dkf2006-11-021-12/+12
| | | | | | directory has a space in the name
* Fix [Bug 1587618], eliminating the callObjc and callObjv fields from the Interpdkf2006-10-312-8/+6
| | | | structure.
* * generic/tclExecute.c (INST_MOD): Corrected improper testing ofdgp2006-10-301-1/+14
| | | | | * tests/expr.test: the sign of bignums when applying Tcl's division rules. Thanks to Peter Spjuth. [Bug 1585704]
* * generic/tclNamesp.c (EnsembleImplementationCmd):Miguel Sofer2006-10-291-1/+19
| | | | | * tests/namespace.test (47.7-8): reverted a wrong "optimisation" that completely broke snit; added two tests.
* Insert of calling point in middle of procedure code. Also cleaned up howdkf2006-10-281-35/+3
| | | | [apply] terms generate stack trace info.
* * tests/info.test (info-9.11-12): tests for [Bug 1577492]Miguel Sofer2006-10-242-3/+56
| | | | * tests/apply.test (apply-4.3-5): tests for [Bug 1574835]