summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Changed to Tcl 8.2b1welch1999-06-251-3/+3
|
* * tests/reg.test:stanton1999-06-251-1/+5
| | | | * generic/regexec.c: Fixed bugs in non-greedy quantifiers.
* * unix/Makefile.in: Changed install-doc to install-man.stanton1999-06-241-3/+3
| | | | | | | | | | | | | * tools/uniParse.tcl: * tools/uniClass.tcl: * tools/README: * tests/string.test: * generic/regc_locale.c: * generic/tclUniData.c: * generic/tclUtf.c: * doc/string.n: Updated Unicode character tables to reflect latest Unicode 2.1 data. Also rationalized "regexp" and "string is" definitions of character classes.
* Merged with tk defs.tcl filejenn1999-06-191-16/+12
|
* * tests/regexp.test:stanton1999-06-171-14/+37
| | | | | | * generic/tclCmdMZ.c: * generic/tclCmdIL.c: Changed to use new regexp interfaces. Added -expanded, -line, -linestop, and -lineanchor switches to regsub.
* * generic/regcomp.c: lintstanton1999-06-171-1/+4
| | | | | | | | * tests/reg.test: * generic/regex.h: * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to iterate through a string an only find matches that start at the current position within the string.
* * tests/execute.test:stanton1999-06-161-85/+151
| | | | | | * generic/tclExecute.c (TclExecuteByteCode): Fixed crash caused by a bug in INST_LOAD_SCALAR1 where the scalar index was read as a signed 1 byte value instead of unsigned. [Bug: 2243]
* beefed up the string object testshershey1999-06-151-70/+92
|
* Improved the appendObj functions (uncomented the optimized code that washershey1999-06-151-96/+81
| | | | | | | | | present in the Unicode obj). Updated the teststringobj command to look in the correct location for the amount of space allocated for the UTF string rep. Note: one stringObj test is still failing; it reflects a change in that may not be undesirable...
* Merged String and Unicode object types. Added new functions tohershey1999-06-152-205/+180
| | | | | | | | | the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated.
* * generic/tclUnicodeObj.c: Lots of cleanup and simplification.stanton1999-06-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | Fixed several memory bugs. Added TclAppendUnicodeToObj. * generic/tclInt.h: Added declarations for various Unicode string functions. * generic/tclRegexp.c: * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces for better performance. * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo calls to access lower level regexp API. These features are needed by Expect. This is a preliminary implementation pending final review and cleanup. * generic/tclCmdMZ.c: * tests/string.test: Fixed bug where string map failed on null strings.
* unset the variable "u" whose initial value could affect test passage.hershey1999-06-091-1/+3
|
* added code to unset the "data" array so tests that follow can use a scalarhershey1999-06-082-6/+10
| | | | data var w/o having to unset it first.
* * tests/string.test:hershey1999-06-082-1/+234
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has.
* * generic/tclCmdMZ.c (Tcl_StringObjCmd):stanton1999-06-032-24/+56
| | | | | * tests/string.test: Fixed bug where string equal/compare -nocase reported wrong result on null strings. [Bug: 2138]
* * tests/reg.test:stanton1999-06-021-11/+50
| | | | | | | | | | | | | | | | | | | | | | | | * generic/regc_color.c: * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regc_nfa.c: * generic/regcomp.c: * generic/regcustom.h: * generic/rege_dfa.c: * generic/regerror.c: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regfree.c: * generic/regfronts.c: * generic/regguts.h: * generic/tclCmdMZ.c: * generic/tclRegexp.c: * generic/tclRegexp.h: * generic/tclTest.c: Applied Henry Spencer's latest regexp patches that fix an infinite loop bug and add support for testing whether a string could match with additional input. [Bug: 2117]
* fixed error in test reported by prochecksurles1999-05-281-2/+2
|
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-224-106/+214
|
* Added test for command.com /c dir /b hang.redman1999-05-211-2/+6
|
* changed call to "remove" to "removeFile"--this bug was causing "httpd" filehershey1999-05-181-2/+2
| | | | to be left in working dir whenever tests are run.
* added -encoding to the list of legal options used in the error message whenhershey1999-05-181-8/+8
| | | | | a bad option is used. Because the fconfigure command is configurable (so more option can be added), the error string is hardcoded.
* * tests/regexp.test:stanton1999-05-131-1/+27
| | | | | | | | | | | | * generic/tclInt.h: * generic/tclBasic.c: * generic/tclRegexp.h: * generic/tclRegexp.c: Replaced the per-interpreter regexp cache with a per-thread cache. Changed the Regexp object to take advantage of this extra cache. Added a reference count to the TclRegexp type so regexps can be shared by multiple objects. Removed the per-interp regexp cache from the interpreter. Now regexps can be used with no need for an interpreter. [Bug: 1063]
* * tests/string.test:stanton1999-05-061-1/+10
| | | | | | * generic/tclCmdMZ.c: * doc/string.n: Fixed bug in string equal/compare code when using -length option. Cleaned up docs a bit more.
* * doc/string.n:stanton1999-05-069-940/+785
| | | | | | | | | | | | | | | | | | | | * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues.
* * tests/http.test: Unset "data" array before running tests tostanton1999-05-061-1/+2
| | | | avoid failures due to previous tests.
* * doc/string.n:stanton1999-05-042-13/+29
| | | | | | | * tests/cmdMZ.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length" to avoid regenerating the string rep of a ByteArray object.
* * tests/cmdIL.test:stanton1999-05-048-93/+295
| | | | | | | | | | | | | * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]:
* * tests/binary.test:stanton1999-05-031-1/+11
| | | | | * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where type was not being set in duplicated object.
* * Merged changes from 8.1.0 branchstanton1999-04-302-3/+7
|
* Tcl_UtfToUpper and Tcl_UtfToTitle now works on badly formed Utf strings.hershey1999-04-301-1/+20
|
* Added tests for string toupper and string tolower called with badly formedhershey1999-04-291-1/+7
| | | | Utf strings.
* merged 8.1.0 changes into mainlinestanton1999-04-242-17/+19
|
* Resynced with mainline.rjohnson1999-04-2110-11/+25
|
* added a delay to a event to so it can pass on slower machines.hershey1999-04-202-13/+24
|
* moved the ThreadReap command to ::tcltest::threadReap. Now each thread test ↵hershey1999-04-204-109/+192
| | | | | | | | | calls threadReap at the beginning and end of the test, inside the test body. This fixes the problem where the test suite was exiting on a call to threadReap (reap was killing the main thread by accident because other tests were leaving threads running and setting mainthread to be the list of running threads).
* fixed bugs in tests--bug id 1769hershey1999-04-193-66/+42
|
* changes make Tcl_Access and Tcl_Stat public.hershey1999-04-171-2/+2
| | | | also one minor fix in tests/all.tcl to fix bug 1770.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-16126-4729/+18146
|
* Tests for pkg_mkIndex when input files do "namespace import". BUG 1327welch1999-03-311-1/+8
|
* Added tests for auto_mkindex_parser quoting problems, BUGID 1657welch1999-03-313-6/+137
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-2/+74
|
* * test/winPipe.test: Changed to remove echoArgs.tcl temporary filestanton1999-02-032-4/+4
| | | | | | | | | | when done. * tests/cmdAH.test: * generic/tclFileName.c (TclGetExtension): Changed behavior so the split happens at the last period in the name instead of the first period of the last run of periods. So, "foo..o" is split into "foo." and ".o" now. [Bug: 1126]
* * tests/interp.test:stanton1999-02-031-6/+6
| | | | | | * generic/tclInterp.c (DeleteAlias): Changed to use Tcl_DeleteCommandFromToken so we handle renames properly. This avoids senseless panic. [Bug: 736]
* * generic/tclProc.c:stanton1999-02-031-39/+155
| | | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: * generic/tclInt.h: * generic/tclCmdIL.c: * generic/tclBasic.c: * generic/tclVar.c: Applied patch from Viktor Dukhovni to rationalize TCL_LEAVE_ERR_MSG behavior when creating variables. * generic/tclVar.c: Fixed bug in namespace tail computation. Fixed bug where upvar could resurrect a namespace variable whose namespace had been deleted. * generic/tclCompile.c (TclCompileExprCmd): Eliminated yet another bogus optimization in expression compilation. * generic/tclCompile.c (CompileExprWord): Fixed exception stack overflow bug caused by missing statement. [Bug: 928] * generic/tclIOCmd.c: * generic/tclBasic.c: Objectified the "open" command. [Bug: 1113]
* lintstanton1999-02-022-9/+9
|
* * generic/tclCompile.c (CompileExprWord): Fixed exception stackstanton1999-02-021-1/+10
| | | | overflow bug caused by missing statement. [Bug: 928]
* added pkg and pkg1 to list of files to copy to the current working dir, ifhershey1998-12-071-2/+2
| | | | the cwd is not tk8.0/tests
* Added test filewelch1998-12-041-0/+15
|
* Updated all and defs to work more smoothly with nightly tests.hershey1998-12-043-31/+41
| | | | | Check for existence of "testgetplatform" command before calling it in fCmd.test file--this command is only in tcltest interps.
* * tclWinSock.c (CreateSocket, TcpAccept): Windows NT createsstanton1998-12-041-1/+213
| | | | | sockets so they are inheritable by default. Turn off this bit so sockets aren't kept open by exec'ed processes. [Bug: 892]