summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* added test for [Bug 1410553]Miguel Sofer2006-01-231-1/+11
|
* * generic/tclPipe.c (FileForRedirect): Prevent nameString fromrmax2006-01-161-2/+6
| | | | | being freed without having been initialized. * tests/exec.test: Added a test for the above.
* increment tcltest version requirementdgp2006-01-111-2/+2
|
* * tests/error.test (error-7.0): Test the timing of write tracesdgp2006-01-111-1/+21
| | | | on ::errorInfo [Bug 1397843].
* * generic/tclNamesp.c (NamespaceInscopeCmd): [namespace inscope]dgp2006-01-091-1/+8
| | | | | * tests/namespace.test: commands were not reported by [info level] [Bug 1400572].
* Fix [Bug 1374778]dkf2005-12-091-1/+13
|
* eliminate test name duplicationdgp2005-12-021-2/+2
|
* Fix [Bug 1366683]dkf2005-11-291-1/+5
|
* * tests/trace.test (trace-34.5): [Bug 1047286], added a secondMiguel Sofer2005-11-181-2/+15
| | | | | test illustrating the role of "ns in callStack" in the ns's visibility during deletion traces.
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-182-2/+55
| | | | | | | | * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342].
* * generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08dgp2005-11-181-1/+17
| | | | | | * tests/pkg.test: to be more forgiving of package version mismatch errors in [package ifneeded] commands. This reduces the ***POTENTIAL INCOMPATIBILITY*** noted for that change.
* Backport of improved URL parsing. [Bug 1358369]dkf2005-11-181-73/+56
|
* Bugs 926106 and 1353840Kevin B Kenny2005-11-151-1/+13
|
* Bug 1350293Kevin B Kenny2005-11-091-13/+11
|
* * tests/expr.test: Portable tests expr-46.13-18 [Bug 1341368]dgp2005-11-081-25/+13
|
* * generic/tclPkg.c: Corrected inconsistencies in the value returneddgp2005-11-082-24/+213
| | | | | | | | * tests/pkg.test: by Tcl_PkgRequire(Ex) so that the returned values will always agree with what is stored in the package database. This way repeated calls to Tcl_PkgRequire(Ex) have the same results. Thanks to Hemang Lavana. [Bug 1162286]. * tests/namespace.test (25.7,8): Backport test of knownBug.
* * tests/trace.test (trace-13.2-4): added tests to detect leak, see [BugMiguel Sofer2005-11-071-2/+56
| | | | 1348775].
* * win/tclWinPipe.c: Applied patch #1267871 by Matt Newman whichpatthoyts2005-11-041-1/+46
| | | | | * win/tclWinPort.h: provides extended error code support. * tests/exec.test: Wrote some tests for this feature.
* * generic/tclInt.h:Miguel Sofer2005-11-041-3/+3
| | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. * tests/trace.test: fix duplicate test numbers
* * tests/expr-old.test (expr-32.52): Use int(.) to restrictdgp2005-11-011-2/+2
| | | | result of left shift to the C long range.
* * tests/expr.test: Fix problems in new round()mdejong2005-10-291-25/+29
| | | | | tests that lead to correct result only on 32 bit long systems. [Bug 1341368]
* fix new test trace-18.4 [Bug 1338280]Miguel Sofer2005-10-291-6/+9
|
* * generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partialMiguel Sofer2005-10-291-1/+18
| | | | | | | | | fix. Insure that a second call with TCL_TRACE_DESTROYED does not lead to a second call to Tcl_EventuallyFree(). It is still true that that second call should not happen, so the bug is not completely fixed. * tests/trace.test (test-18.3-4): added tests for bugs #1337229 and 1338280.
* * generic/tclExecute.c (ExprRoundFunc):mdejong2005-10-282-9/+33
| | | | | | | | | | | Fix typo where number before rounding is compared with smallest integer instead of number after rounding. This fix does not change the results of any tests. * tests/expr.test: Add round() tests for cases near the min and max int values. * tests/util.test: Remove pointless warning code about testobj command.
* Fix [Bug 1284178] and tweak tests to accommodate.dkf2005-10-131-5/+9
|