summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* filesystem fixes -- see ChangeLogvincentdarley2003-06-231-1/+11
|
* regsub empty string fixes, and windows buildvincentdarley2003-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
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-091-0/+81
| | | | | | | | | | | | | | | | | * generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test:
* * 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.
* fix to WinTcl file rename error messagevincentdarley2003-06-021-1/+26
|
* * doc/dde.n: Updated documentation re TIP #130.patthoyts2003-05-161-70/+120
| | | | | * tests/winDde.test: Applied patch for [Bug 738929] by KKB and changed to new-style tests.
* * library/dde/pkgIndex.tcl: Applied TIP #130 which providespatthoyts2003-05-161-19/+140
| | | | | * tests/winDde.test: for unique dde server names. Added * win/tclWinDde.c: some more tests. Fixes [Bug 219293]
* Omitted constraint required for LP64 platforms.dkf2003-05-141-2/+2
|
* Stopped [format] from demoting wides to ints too easily. [Bug 699060]dkf2003-05-141-1/+24
|
* Implementation of TIP 118:das2003-05-143-2/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes that can be retrieved without error for a given file, instead of aborting the whole command when any error occurs. * unix/tclUnixFCmd.c: added support for new file attributes and for copying Mac OS X file attributes & resource fork during [file copy]. * generic/tclInt.decls: added declarations of new external commands needed by new file attributes support in tclUnixFCmd.c. * macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of new file attributes and of attribute & resource fork copying. * mac/tclMacFCmd.c: added implementation of -rsrclength attribute & fixes to other attributes for consistency with OSX implementation. * mac/tclMacResource.c: fixes to OSType handling. * doc/file.n: documentation of [file attributes] changes. * unix/configure.in: check for APIs needed by new file attributes. * unix/Makefile.in: * unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source. * unix/configure: * generic/tclStubInit.c: * generic/tclIntPlatDecls.h: regen. * tools/genStubs.tcl: fixes to completely broken code trying to prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries. * tests/unixFCmd.test: added tests of -readonly attribute. * tests/macOSXFCmd.test (new): tests of macosx file attributes and of preservation of attributes & resource fork during [file copy]. * tests/macFCmd.test: restore -readonly attribute of test dir, as otherwise its removal can fail on unices supporting -readonly.
* Cleaned up cmdAH.test to use test constraints properly.dkf2003-05-121-240/+240
|
* * 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/tclBasic.c (TclInvokeObjectCommand): objv[argc] is nodgp2003-05-121-1/+2
| | | | | | | longer set to NULL (Tcl_CreateObjCommand docs already say that it should not be accessed). * tests/cmdMZ.test: Forgot to import [temporaryDirectory].
* * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,Miguel Sofer2003-05-121-1/+16
| | | | | disabling usage of tclNsVarNameType. * tests/var.test (var-15.1): test for [Bug 735335]
* fix for [Bug 735055]Miguel Sofer2003-05-091-2/+2
|
* Made error message for [trace info] more consistent with documentation.dkf2003-05-071-2/+2
|
* * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-054-19/+137
| | | | | | | | | | | | | | | | * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0.
* Corrected error message for grammar and spelling.dkf2003-05-052-6/+6
|
* Made [incr] able to accept and work with wide increments [Bug 728838]dkf2003-04-281-13/+11
|
* Default mode of operation of [switch] is exact matching. [Bug 727563]dkf2003-04-281-2/+21
|
* fix to glob and filenames with square bracketsvincentdarley2003-04-251-1/+8
|
* Implemented TIP #124 (clock clicks -microseconds and Tcl_WideInt Kevin B Kenny2003-04-122-52/+83
| | | | | | return values). Fixed Bug 710310 (duplicate test numbers in clock.test). Made major 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.
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-117-25/+125
|
* Fixed bugs 715751 and 713562 so dict code should build everywhere and wide intsdkf2003-04-071-1/+9
| | | | be defined (though not necessarily useful) everywhere.
* The bulk of the TIP#111 implementation. Still need to finish plumbing thisdkf2003-04-051-0/+706
| | | | into the rest of the core, but that won't take long...
* * 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.
* Added further coverage tests.dgp2003-04-011-1/+41
|
* * generic/tclExecute.c (INST_RETURN): Bytecompiled [return] faileddgp2003-04-011-2/+4
| | | | | | to reset iPtr->returnCode, causing tests parse-18.17 and parse-18.21 to fail strangely. * tests/parse.test (parse-18.21): Corrected now functioning test.
* * tests/parse.test (parse-18.*): Coverage tests for the newdgp2003-03-311-1/+68
| | | | | implementation of Tcl_SubstObj(). Note that tests parse-18.17 and parse-18.21 demonstrate some bugs left to fix in the current code.
* 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
|
* Eliminated duplicate test numbers [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] * 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.
* * win/tclWinDde.c: Make dde services conform the the documentationpatthoyts2003-03-221-5/+12
| | | | | | | | | such that giving only a topic name really returns all services with that topic. [Bug 219155] Prevent hangup caused by dde server applications failing to process messages [Bug 707822] * tests/winDde.test: Corrected labels and added a test for search by topic name.
* * generic/tclCompile.c:Miguel Sofer2003-03-191-1/+11
| | | | | * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE [Bug 705406] (Don Porter).
* * generic/tclCompCmds.c (TclCompileReturnCmd): Alternative fix fordgp2003-03-191-2/+2
| | | | | | | * generic/tclCompile.c (INST_RETURN): [Bug 633204] that uses a new * generic/tclCompile.h (INST_RETURN): bytecode INST_RETURN to * generic/tclExecute.c (INST_RETURN): properly bytecode the [return] command to something that returns TCL_RETURN.
* 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]
* * tests/format.test: Renumber tests, a bunch ofmdejong2003-03-181-9/+9
| | | | tests all had the same id.
* * 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/tclBasic.c (Tcl_EvalTokensStandard):dgp2003-03-131-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * generic/tclCompCmds.c (TclCompileSwitchCmd): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclCompile.c (TclSetByteCodeFromAny,TclCompileScript, TclCompileTokens,TclCompileCmdWord): * generic/tclCompile.h (TclCompileScript): * generic/tclExecute.c (TclCompEvalObj): * generic/tclInt.h (Interp,TCL_BRACKET_TERM,TclSubstTokens): * generic/tclParse.c (ParseTokens,Tcl_SubstObj,TclSubstTokens): * tests/subst.test (2.4, 8.7, 8.8, 11.4, 11.5): Substantial refactoring of Tcl_SubstObj to make use of the same parsing and substitution procedures as normal script evaluation. Tcl_SubstObj() moved to tclParse.c. New routine TclSubstTokens() created in tclParse.c which implements all substantial functioning of Tcl_EvalTokensStandard(). TclCompileScript() loses its "nested" argument, the Tcl_Interp struct loses its termOffset field and the TCL_BRACKET_TERM flag in the evalFlags field, all of which were only used (indirectly) by Tcl_SubstObj(). Tests subst-8.7,8.8,11.4,11.5 modified to accomodate the only behavior change: reporting of parse errors now takes precedence over [return] and [continue] exceptions. All other behavior should
* * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+5
| | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383]
* * tests/io.test:mdejong2003-03-072-32/+35
| | | | | | | * tests/ioCmd.test: Define a fcopy constraint and add it to the constraint list of any test that depends on the fcopy command. This is only useful to Jacl which does not support fcopy.
* * tests/encoding.test: Name temp files *.tcltestoutmdejong2003-03-071-5/+5
| | | | | | instead of *.out so that when they are removed later, we don't accidently toast any files named *.out that the user has created in the build directory.
* * tests/io.test: Doh! Undo accidental commentingmdejong2003-03-071-6/+1
| | | | out of a couple of tests.
* * tests/io.test: Define a fileevent constraint and addmdejong2003-03-071-71/+72
| | | | | | it to the constraint list of any test that depends on the fileevent command. This is only useful to Jacl which does not support fileevent.
* * tests/io.test: Define an openpipe constraint and addmdejong2003-03-071-60/+66
| | | | | | it to the constraint list of any test that creates a pipe using the open command. This is only useful to Jacl which does not support pipes.