| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
test harness uses instead of the old name (testConfig).
|
|
|
|
| |
renamed.
|
|
|
|
| |
they don't exist.
|
|
|
|
|
|
|
|
|
|
| |
-relateddir,
and -asidefromdir to tcltest.tcl. Also added exported proc
::tcltest::getMatchingTestFiles to tcltest.tcl. Modified documentation to match
and all.tcl to use the new functionality instead of implementing -file itself.
Changed some test names in winPipe.test to remove duplicates.
|
| |
|
|
|
|
|
| |
Tcl_GetIndexFromObj when the key is "". Added test cases and
doc note.
|
|
|
|
| |
(for the name of the executable).
|
|
|
|
|
| |
.e1 is a valid double - the spec and most other UNIX systems
do not think it's valid.
|
| |
|
|
|
|
|
|
| |
testsDirectory was getting the wrong value. It was set to the
workingDir - but when running all.tcl it should be set to the
same dir as all.tcl.
|
|
|
|
| |
Fixed bug in pkg.test where defs.tcl was still being used.
|
| |
|
| |
|
|
|
|
| |
* generic/regexec.c: Fixed bugs in non-greedy quantifiers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c:
* generic/tclCmdIL.c: Changed to use new regexp interfaces. Added
-expanded, -line, -linestop, and -lineanchor switches to regsub.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
data var w/o having to unset it first.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* tests/string.test: Fixed bug where string equal/compare -nocase
reported wrong result on null strings. [Bug: 2138]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
| |
|
| |
|
|
|
|
| |
to be left in working dir whenever tests are run.
|
|
|
|
|
| |
a bad option is used. Because the fconfigure command is configurable (so
more option can be added), the error string is hardcoded.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
| |
* generic/tclCmdMZ.c:
* doc/string.n: Fixed bug in string equal/compare code when using
-length option. Cleaned up docs a bit more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
avoid failures due to previous tests.
|
|
|
|
|
|
|
| |
* 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/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]:
|
|
|
|
|
| |
* generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where
type was not being set in duplicated object.
|
| |
|
| |
|
|
|
|
| |
Utf strings.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
also one minor fix in tests/all.tcl to fix bug 1770.
|