summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * tests/compExpr-old.test: Updated testmathfunctions constraintdgp2006-04-067-16/+18
| | | | | | | | | | * tests/compExpr.test: to post-TIP-232 world. * tests/expr-old.test: * tests/expr.test: * tests/info.test: * tests/indexObj.test: Corrected other test errors revealed by * tests/upvar.test: testing outside the tcltest application.
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-053-8/+11
| | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
* Ooopsdkf2006-04-051-2/+2
|
* Nail [Bug 1464039] by allowing the empty string to be exactly matched bydkf2006-04-051-1/+17
| | | | Tcl_GetIndexFromObj. Also added tests.
* * generic/tclPathObj.c: More fixes for path normalization when /../dgp2006-03-291-0/+40
| | | | * tests/fileSystem.test: tries to go beyond root.[Bug 1379287]
* Change the "pc" constraint to synonym "win" for consistency with thedgp2006-03-271-5/+5
| | | | rest of the Tcl test suite.
* * generic/tclExecute.c: Corrections to INST_EXPON detection ofdgp2006-03-251-1/+2
| | | | overflow to use mp_int calculations.
* * generic/tclExecute.c: Revised INST_EXPON implementation to dodgp2006-03-241-1/+7
| | | | | calculations in native types as much as possible, moving to mp_ints only when necessary.
* * tests/env.test: With case preserved (see 2006-03-21 commit)dgp2006-03-231-2/+2
| | | | be sure to do case-insensitive filtering. [Bug 1457065]
* * tests/stack.test: Run the stack tests in subshells, so that theyrmax2006-03-221-29/+29
| | | | | are reported as failed tests rather than bugs in the test suite if the recursion causes a segfault.
* typodgp2006-03-211-2/+2
|
* Committed test cases for Bug 1451233dgp2006-03-211-1/+11
|
* Added knownBug constraints.dgp2006-03-213-7/+7
|
* * tests/env.test: Preserve case of saved env vars. [Bug 1409272]dgp2006-03-211-15/+9
|
* typodgp2006-03-212-4/+4
|
* revert broken commitdgp2006-03-211-2/+2
|
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-2134-441/+322
| | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* * generic/tclInt.decls: implement globbing for HFS creator & typedas2006-03-211-8/+50
| | | | | | | | | * macosx/tclMacOSXFCmd.c: codes and 'hidden' flag, as documented in * tests/macOSXFCmd.test: glob.n; objectified OSType handling in [glob] * unix/tclUnixFile.c: and [file attributes]; fix globbing for hidden files with pattern==NULL arg. [Bug 823329] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
* Clean up constraint handlingdkf2006-03-201-11/+5
|
* Clean up the constraint handlingdkf2006-03-201-21/+16
|
* correct [makeFile] syntaxdgp2006-03-201-3/+3
|
* Clean up tests (mostly constraints relating to testchmod)dkf2006-03-204-184/+187
| | | | | Also make the format of the ChangeLog a bit more internally consistent, making it easier to search it for bug numbers, etc.
* fix to two filesystem issuesvincentdarley2006-03-191-7/+16
|
* fix to file writeable on windowsvincentdarley2006-03-183-8/+24
|
* * tests/io.test (io-43.1 io-44.[1234]): Rewritten to beandreas_kupries2006-03-161-19/+36
| | | | self-contained with regard to setup and cleanup. [Bug 681793].
* * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND toandreas_kupries2006-03-161-1/+33
| | | | | | | | | 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].
* add proper test constraintsvincentdarley2006-03-151-3/+3
|
* 90% fix of file writable issues on Windowsvincentdarley2006-03-141-3/+43
|
* * generic/tclProc.c (ObjInterpProcEx):Miguel Sofer2006-03-101-2/+2
| | | | | * tests/apply.test (apply-5.1): fix [apply] error messages so that they quote the lambda expression [Bug 1447355].
* * generic/tclExecute.c: Complete missing bit of TIP 215 implementationdgp2006-03-081-1/+8
| | | | * tests/incr.test:
* * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags todgp2006-03-061-2/+23
| | | | | * tests/parse.test: simplify TclEvalObjvInternal and to correct the auto-loading of alias targets (parse-8.12). [Bug 1444291].
* * generic/tclPathObj.c: Fix for failed normalization ofdgp2006-03-031-0/+70
| | | | | * tests/fileSystem.test: paths with /../ that lead back to the root of the filesystem, like /foo/.. [Bug 1379287].
* * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-283-7/+75
| | | | | | | * tests/namespace.test: evaluations act the same as [uplevel #0] * tests/parse.test: evaluations, even when execution traces or * tests/trace.test: invocations of [::unknown] are present. [Bug 1439836].
* added missing constraintdgp2006-02-271-2/+5
|
* * generic/tclBasic.c: Corrected a few bugs in how [namespace unknown]dgp2006-02-221-1/+68
| | | | * tests/namespace.test: interacts with TCL_EVAL_* flags. [Patch 958222]
* * generic/tclIORChan.c: Revised error message generation and handlingdgp2006-02-171-98/+99
| | | | | * tests/ioCmd.test: of exceptional return codes in the channel reflection layer. [Bug 1372348].
* * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-162-4/+7
| | | | | * tests/indexObj.test: when TCL_EXACT matching is requested. * tests/ioCmd.test:
* TIP#215 IMPLEMENTATIONdgp2006-02-094-29/+22
| | | | | | | | | | * doc/incr.n: Revised [incr] to auto-initialize when varName * generic/tclExecute.c: argument is unset. [Patch 1413115]. * generic/tclVar.c: * tests/compile.test: * tests/incr-old.test: * tests/incr.test: * tests/set.test:
* dup test namedgp2006-02-091-2/+2
|
* dup test namedgp2006-02-091-2/+2
|
* * tests/main.test (Tcl_Main-6.7): Improved robustness ofdgp2006-02-091-1/+2
| | | | command auto-completion test. [Bug 1422736].
* TIP#258 IMPLEMENTATIONdgp2006-02-082-16/+16
| | | | | | | | | | | | | | | | | | | | | * doc/Encoding.3: New subcommand [encoding dirs]. * doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment. * generic/tcl.decls: Made public: * generic/tclBasic.c: TclGetEncodingFromObj * generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj * generic/tclEncoding.c:TclGetEncodingSearchPath * generic/tclInt.decls: -> Tcl_GetEncodingSearchPath * generic/tclInt.h: TclSetEncodingSearchPath * generic/tclTest.c: -> Tcl_SetEncodingSearchPath * library/init.tcl: Removed commands: * tests/cmdAH.test: [tcl::unsupported::EncodingDirs] * tests/encoding.test: [testencoding path] (Tcltest) * unix/tclUnixInit.c: [Patch 1413934]. * win/tclWinInit.c: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* * generic/tclProc.c: minor improvements to [apply]Miguel Sofer2006-02-011-21/+74
| | | | | * tests/apply.test: new tests; apply-5.1 currently fails to indicate missing work in error reporting
* TIP#194 IMPLEMENTATIONdgp2006-02-013-6/+224
| | | | | | | | | | | * doc/apply.n: (New file) New command [apply]. [Patch 944803]. * doc/uplevel.n: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclProc.c: * tests/apply.test: (New file) * tests/proc-old.test: * tests/proc.test:
* TIP#181 IMPLEMENTATIONdgp2006-02-011-1/+91
| | | | | | | | | | | | | * doc/Namespace.3: New command [namespace unknown]. New public * doc/namespace.n: C routines Tcl_(Get|Set)NamespaceUnknownHandler. * doc/unknown.n: [Patch 958222]. * generic/tcl.decls: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclNamesp.c: * tests/namespace.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* TIP#250 IMPLEMENTATIONdgp2006-02-012-9/+58
| | | | | | | | | * doc/namespace.n: New command [namespace upvar]. [Patch 1275435] * generic/tclInt.h: * generic/tclNamesp.c: * generic/tclVar.c: * tests/namespace.test: * tests/upvar.test:
* added ref to [Bug 1410553] in new test string-12.21Miguel Sofer2006-01-231-2/+2
|
* Added test for [Bug 1410553]dkf2006-01-231-1/+17
|