| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* generic/tclLiteral.c: fixed reference to bytes that might
not be null terminated (using objPtr->bytes, which is) [Bug: 2496]
|
|
|
|
|
|
|
|
|
| |
* generic/regcomp.c:
* generic/rege_dfa.c:
* generic/regexec.c:
* generic/regguts.h: Applied patches supplied by Henry Spencer to
greatly enhance the performance of certain classes of regular
expressions. [Bug: 2440, 2447]
|
|
|
|
| |
already in tclInt.decls. Only affects open source release.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls:
* generic/tclDecls.h:
* generic/tclInt.h:
* generic/tclInt.decls:
* generic/tclIntDecls.h:
* generic/tclRegexp.h:
* generic/tclStubInit.c: Move some exported public and internal
functions to the stub tables. Removed functions that are in the
stub tables (from this and previous changes) from the original
header files.
|
|
|
|
| |
Tcl test code to work wth stubs [Bug: 2445]
|
|
|
|
| |
brackets [Bug: 2382, 2466]
|
|
|
|
| |
previous patch to our specs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls:
* generic/tclInt.decls:
* generic/tclDecls.h:
* generic/tclIntDecls.h:
* generic/tclUtf.c:
* compat/strftime.c:
* unix/tclUnixTime.c: Changed function declarations in
non-platform-specific APIs to use "unsigned long" instead of
"size_t", which may not be defined on certain compilers (rather
than include sys/types.h, which may not exist).
|
| |
|
|
|
|
|
|
|
|
|
| |
driver to move the handling of the socket event window in a
separate thread. It also turned out that Win95 & Win98 were, in
some cases, getting multiple FD_ACCEPTs but only handling one.
Added a count for the FD_ACCEPT to take care of this. Tested on
NT4 SP3, NT4 SP4, Win95, and Win98.
[Bug: 2178 2256 2259 2329 2323 2355]
|
| |
|
|
|
|
|
|
|
|
|
| |
* unix/tclUnixInit.c: merged code with 8.0.5. We now use an
intermediate global tcl var "tclDefaultLibrary" to keep the
"tcl_library" var from being set by the default value in the
Makefile. Also fixed a bug in which caused the value of
TCL_LIBRARY env var to be ignored.
* unix/tclWinInit.c: just updated some comments.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
returns a Tcl_Channel, not void.
|
| |
|
|
|
|
| |
stub files were not regenerated.
|
| |
|
|
|
|
| |
Added new code that modifies the channel in place.
|
| |
|
|
|
|
| |
This lets you hook the notifier procs.
|
|
|
|
| |
stat hooks to work properly.
|
|
|
|
| |
Remove unused tclStubs.c file.
|
|
|
|
| |
functions.
|
|
|
|
|
| |
Tcl_GetIndexFromObj when the key is "". Added test cases and
doc note.
|
|
|
|
| |
number changes.
|
| |
|
|
|
|
| |
problems with mixed TCL_MEM_DEBUG modes.
|
| |
|
| |
|
|
|
|
| |
* 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/tclRegexp.h:
* generic/tclRegexp.c:
* generic/tcl.h:
* generic/tcl.decls: Renamed Tcl_RegExpMatchObj to
Tcl_RegExpExecObj and added a new Tcl_RegExpMatchObj that is
equivalent to Tcl_RegExpMatch. Added public macros for the regexp
compile/execute flags. Changed to store either an object pointer
or a string pointer in the TclRegexp structure. Changed to avoid
adding a reference to the object or copying the string.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
in loop that was causing out-of-bounds reads on array "varName".
|
|
|
|
|
|
| |
* 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.
|