| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Patch from James Dennett. [Bug: 2450]
* tests/info.test: Enable test for tclParse.c change (info
complete).
|
| |
|
|
|
|
|
|
|
|
| |
* library/tcltest1.0/tcltest.tcl: Fixed the condition under which
::tcltest::PrintError had an infinite loop problem and added a
test case for it. Added an optional argument to
::tcltest::getMatchingFiles telling it where to search for test
files.
|
|
|
|
| |
open issues, this code is a little more stable though.
|
| |
|
| |
|
|
|
|
|
| |
the semaphores for threads disabled. Fixed calling of tcltest
in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPort.h: Block out include of sys/*.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]
* generic/tclCmdMZ.c:
* generic/tclIO.c: Fix ANSI-style prototypes based on patch from
Ulrich Ring. [Bug: 2391]
* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x). [Bug: 2413]
* tests/var.test:
* generic/tclVar.c: Fixed bug that caused a seg. fault when using
"array set a(b) {}", which is a bad array name anyway. Now the
"array set" command will return an error in this case. Added test
case and fixed existing test. [Bug: 2427]
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
serial ports on Windows (alternative to comX:).
* tests/ioCmd.test:
* doc/open.n:
* win/tclWinSerial.c: Applied patch from Rolf Schroedter to add
-pollinterval option to fconfigure to modify the maxblocktime used
in the fileevent polling. Added documentation and fixed the test
case as well.
|
| |
|
|
|
|
|
| |
* generic/tclCmdMZ.c: Fixed bug in string range bounds checking
code.
|
|
|
|
|
|
|
|
| |
properly. Added missing names to the clean/distclean targets.
* tests/reg.test:
* generic/rege_dfa.c: Applied fix supplied by Henry Spencer for
bug in DFA state caching under lookahead conditions. [Bug: 2318]
|
| |
|
|
|
|
| |
created by the tests.
|
| |
|
| |
|
|
|
|
| |
changing features!!!
|
| |
|
|
|
|
| |
but I really need to fix these (4.11 and 4.12)
|
|
|
|
|
| |
file that were causing "invalid command" messages whenever the test
was run.
|
| |
|
| |
|
|
|
|
| |
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]
|