summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c (CallCommandTraces): Added safety bitdgp2003-09-291-13/+16
| | | | | | | | * tests/trace.test: masking to prevent any of the bit values TCL_TRACE_*_EXEC from leaking into the flags field of any Command struct. This does not fix [Bug 811483] but helps to contain some of its worst symptoms. Also backported the corrections to test trace-28.4 from Vince Darley.
* * generic/tclCmdMZ.c (): Fixed [Bug 807243] wheredgp2003-09-241-1/+37
| | | | | | * tests/trace.test (trace-31,32.*): the introspection results of both [trace info command] and [trace info execution] were getting co-mingled. Thanks to Mark Saye for the report.
* * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs toMiguel Sofer2003-09-191-1/+9
| | | | | protect all calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681]
* && of the constraints is the default; need not be specified.dgp2003-09-041-3/+3
|
* Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
|
* * generic/tclUtil.c: Corrected [Bug 411825] and other bugs indgp2003-08-271-1/+21
| | | | | | TclNeedSpace() where non-breaking space (\u00A0) and backslash-escaped spaces were handled incorrectly. * tests/util.test: Added new tests util-8.[2-6].
* * tests/util.test: Added new tests for remaining TclNeedSpace()dgp2003-08-271-1/+36
| | | | bugs discussed in [Bug 411825].
* * tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].rmax2003-07-241-1/+9
|
* * generic/tclBasic.c: Corrected several instances of unsafedgp2003-07-181-7/+5
| | | | | | | * generic/tclCompile.c: truncation of UTF-8 strings that might * generic/tclProc.c: break apart a multi-byte character. * library/init.tcl: [Bug 760872] * tests/init.test:
* * library/http/pkgIndex.tcl: merged to v2.4.4 from headhobbs2003-07-181-1/+7
| | | | | * library/http/http.tcl: add support for user:pass info in URL. * tests/http.test: [Bug 759888] (shiobara)
* Fixed confusing error message. [Bug 771539]dkf2003-07-151-2/+2
|
* Documented and tested for the current behaviour of [binary format a] anddkf2003-07-111-1/+23
| | | | [binary scan ? a]. This is what they've been doing all along. [Bug 735364]
* * tests/cmdAH.test: Made tests of [file mtime] work better on FATdkf2003-07-041-27/+74
| | | | filesystems. [Patch 760768] Also a little general cleanup.
* file copy empty filename bug fixvincentdarley2003-06-231-1/+11
|
* backport of regsub empty string fixesvincentdarley2003-06-171-1/+41
|
* * generic/tclBasic.c:Miguel Sofer2003-06-101-1/+11
| | | | | | | * generic/tclExecute.c: let TclExecuteObjvInternal call TclInterpReady instead of relying on its callers to do so; fix for the part of [Bug 495830] that is new in 8.4. * tests/interp.test: Added tests 18.9 (knownbug) and 18.10
* * string.test (string-4.15): Added test for [string first] bugdgp2003-06-091-1/+8
| | | | | reported in Tcl 8.3, where test for all-single-byte-encoded strings was not reliable.
* Consequent fixes from [Bug 699060]; [format] should not be too eager to demotedkf2003-05-141-1/+24
| | | | wides to ints, and should throw errors when appropriate.
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-121-1/+10
| | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244].
* * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,Miguel Sofer2003-05-121-1/+15
| | | | | disabling usage of tclNsVarNameType. * tests/var.test (var-15.1): test for [Bug 735335]
* Corrected error message for grammar and spelling.dkf2003-05-052-6/+6
|
* glob and square brackets fixvincentdarley2003-04-291-1/+8
|
* filesystem fixes backportedvincentdarley2003-04-145-22/+30
|
* Fixed Bug 710310 (duplicate test numbers in clock.test). Made major Kevin B Kenny2003-04-122-49/+39
| | | | | changes to tclWinTime.c and related code to improve loop filter stability.
* * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Correcteddgp2003-04-111-1/+17
| | | | | | | | inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers.
* * tests/README: Direct [source] of *.test files is no longerdgp2003-04-011-21/+40
| | | | | recommended. The tests/*.test files should only be evaluated under the control of the [runAllTests] command in tests/all.tcl.
* Altered test numers to eliminate duplicates, [Bugs 710313, 710320, 710352]Miguel Sofer2003-03-273-46/+46
|
* More elimination of dup test numbers [Bugs 710365, 710369]dkf2003-03-274-27/+17
|
* Removed test number dups [Bugs 710322, 710327, 710349, 710363]dkf2003-03-279-149/+82
|
* * library/tcltest/tcltest.tcl: Added reporting duringdgp2003-03-261-2/+2
| | | | | | | | | | | [configure -debug 1] operations to warn about multiple uses of the same test name. [FR 576693] Replaced [regexp] and [regsub] with [string map] where possible. Thanks to David Welton. [Bugs 667456,667558] * library/tcltest/pkgIndex.tcl: Bumped to tcltest 2.2.3 * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid duplication. [Bug 710356]
* * generic/tclVar.c:Miguel Sofer2003-03-241-1/+11
| | | | | * tests/var.test: fixing ObjMakeUpvar's lookup algorithm for the created local variable, bugs #631741 and #696893.
* * generic/tclCompile.c:Miguel Sofer2003-03-191-1/+12
| | | | | * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE [Bug 705406] (Don Porter). Backport from 8.5a0
* revised latest registry test commitdgp2003-03-191-10/+4
|
* * tests/registry.test: Changed the conditionals to avoid an Kevin B Kenny2003-03-191-8/+10
| | | | | abort if [testlocale] is missing, as when running the test in tclsh rather than tcltest. [Bug #705677]
* Fixes for three filesystem problemsvincentdarley2003-03-181-3/+3
|
* Made format less keen on converting numeric types. [Bug #699060]dkf2003-03-141-1/+8
|
* * generic/tclCmdAH.c (Tcl_FormatObjCmd): Only add the modifierdkf2003-03-141-1/+4
| | | | | | that indicates we've got a wide int when we're formatting in an integer style. Stops some libc's from going mad. [Bug #702622] Also tidied whitespace.
* * generic/tclCmdMZ.c (Tcl_SubstObj): Corrected and added test fordgp2003-03-121-5/+5
| | | | | * tests/subst.test (subst-2.4): Tcl_SubstObj's incorrect halting of substitution at the first \x00 byte. [Bug 685106]
* * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+5
| | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383]
* * doc/tcltest.n: Added missing "-body" to example. Thanks todgp2003-03-081-1/+5
| | | | Helmut Giese. [Bug 700011]
* * generic/TclUtf.c (Tcl_UniCharNcasecmp): Corrected failure to dgp2003-03-061-2/+36
| | | | | * tests/utf.test (utf-25.*): properly compare Unicode strings of different case in a case insensitive manner. [Bug 699042]
* * tests/winTime.test: added note about PCI hardware dependencyhobbs2003-02-271-1/+3
| | | | issues with high performance clock.
* Stop [lsearch -start 0 {} x] from crashing. [Bug #694232]dkf2003-02-271-1/+5
|
* * tests/pid.test: See below [Bug #678412].andreas_kupries2003-02-252-10/+10
| | | | * tests/io.test: Made more robust against spaces in paths [Bug #678400].
* * tests/execute.test: cleaning up testobj's at the end, to avoidMiguel Sofer2003-02-251-1/+4
| | | | leak warning by valgrind.
* Stopped sign-bit propagation in [binary scan] of wide values. [Bug #690774]dkf2003-02-211-1/+9
|
* * generic/tclEncoding.c (LoadTableEncoding):hobbs2003-02-211-1/+131
| | | | | | | | | * library/encoding/cp932.enc: Correct jis round-trip encoding * library/encoding/euc-jp.enc: by adding 'R' type to .enc files. * library/encoding/iso2022-jp.enc: [Patch #689341] (koboyasi, taguchi) * library/encoding/jis0208.enc: * library/encoding/shiftjis.enc: * tests/encoding.test:
* * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effectdas2003-02-191-2/+2
| | | | | | | | | | | | | | | | | | | of always invalidating unicode rep (if the obj has a string rep). Added hasUnicode flag to String struct, allows decoupling of validity of unicode rep from buffer size allocated to it (improves memory allocation efficiency). [Bugs #686782, #671138, #635200] * macosx/Tcl.pbproj/project.pbxproj: * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks. * macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running 'make install' to build framework (avoids bogus rebuilds of dependent frameworks because tcl headers appear changed). * tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is utf-8: use iso8859-1 encoding explicitly.
* * generic/tclCompile.c (TclCompileExprWords): remove unusedMiguel Sofer2003-02-191-2/+2
| | | | | | | | | variable "range" [Bug 664743] * generic/tclExecute.c (ExprSrandFunc): remove unused variable "result" [Bug 664743] * generic/tclStringObj.c (UpdateStringOfString): remove unused variable "length" [Bug 664751] * tests/execute.test (execute-7.30): fix for [Bug 664775]
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_MATCH):hobbs2003-02-182-3/+82
| | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd STR_MATCH): * generic/tclUtf.c (TclUniCharMatch): * generic/tclInt.decls: add private TclUniCharMatch function that * generic/tclIntDecls.h: does string match on counted unicode * generic/tclStubInit.c: strings. Tcl_UniCharCaseMatch has the * tests/string.test: failing that it can't handle strings or * tests/stringComp.test: patterns with embedded NULLs. Added tests that actually try strings/pats with NULLs. TclUniCharMatch should be TIPed and made public in the next minor version rev.