| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* generic/tclEncoding.c (Tcl_FreeEncoding): Moved most of the code
into a static FreeEncoding routine that does not grab the
encodingMutex to avoid deadlocks/races when called from other
routines that already have the mutex.
|
| |
|
| |
|
|
|
|
| |
that caused anchored patterns to fail. [Bug: 897]
|
| |
|
|
|
|
|
| |
where big blocks that were reallocated into a different heap
location were not being placed into the bigBlocks list. [Bug: 933]
|
|
|
|
| |
behavior in corner case where there is no closing bracket.
|
|
|
|
|
|
| |
flushes do not happen in line mode.
(TranslateOutputEOL): Made translation more efficient in line mode
and fixed a buffer overflow bug in CRLF translation. [Bug: 887]
|
| |
|
|
|
|
| |
avoid an out of bounds array reference.
|
|
|
|
|
| |
parsing where a trailing comment looked like an incomplete
command.
|
|
|
|
| |
Tcl_DStringResult because it is not binary clean.
|
| |
|
| |
|
|
|
|
| |
Fixed an I/O bug where UpdateInterest was not always called on input
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
change.
* tests/parse.test: Updated tests for EvalObjv change.
* generic/tclParse.c (EvalObjv, Tcl_EvalObjv): Changed
Tcl_EvalObjv interface to remove string and length arguments,
preserved original interface as EvalObjv for internal use.
* generic/tcl.h: Changed Tcl_EvalObjv interface to remove string
and length arguments.
* doc/Eval.3: Updated documentation for Tcl_EvalObjv to remove
string and length arguments.
|
|
|
|
|
| |
corrupted the exceptDepth value in the compile environment when
foreach failed to compile inline. [Bug: 884]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when trying to close a pipe that is currently being waited on by
the notifier thread. [Bug: 607]
* unix/tclUnixFCmd.c (GetPermissionsAttribute): Increase size of
returnString buffer to avoid overflow.
* generic/tclThreadTest.c (TclThreadSend): Fixed memory leak due
to use of TCL_VOLATILE instead of TCL_DYNAMIC.
* generic/tclThread.c (TclRememberSyncObject): Fixed memory leak
caused by failure to reuse condition variables.
* unix/tclUnixNotfy.c: (Tcl_AlertNotifier, Tcl_WaitForEvent,
NotifierThreadProc, Tcl_InitNotifier): Fixed race condition caused
by incorrect use of condition variables when sending messages
between threads.. [Bug: 607]
* generic/tclTestObj.c (TeststringobjCmd): MAX_STRINGS was off by one
so the strings array was too small.
* generic/tclCkalloc.c (Tcl_DbCkfree): Moved mutex lock so
ValidateMemory is done inside the mutex to avoid a race condition
when validate_memory is enabled. [Bug: 880]
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
added Unicode support. This required a complete reimplementation
of the command to avoid using scanf(), which isn't Unicode aware.
Two new features were added in the process: %n to return the
current number of characters consumed, and XPG3-style %n$ argument
order specifiers similar to those provided by the "format"
command. [Bug: 833]
|
| |
|
|
|
|
|
|
| |
to improve memory performance and to ensure that it will work on
systems that don't like accessing 4-byte aligned values
(e.g. Solaris and HP-UX). [Bug: 834]
|
|
|
|
|
| |
renamed re_u* interfaces to TclRe* to avoid conflicts with other
software that uses the regular expression library
|
|
|
|
| |
changed scan to support unicode
|
|
|
|
| |
wrapped mutex declarations in ifdefs to avoid compiler warnings
|
| |
|
|
|
|
|
| |
regexp switches "-line", "-lineanchor", and "-linestop" for
controlling newline behavior
|
| |
|
|
|
|
| |
width and precision specifiers
|
|
|
|
| |
getting lost before being passed to CallTraces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in cvec data type
Added support for Unicode character classes in regular expressions
We now support the following character classes:
alnum, alpha, blank, cntrl, digit, graph, lower,
print, punct, space, upper, xdigit
These all follow the example set by the GNU regular expression package
for Java except that "digit" only matches the ASCII '0'-'9'
characters.
Renamed tclUtf.h to tclUniData.c
|
| |
|
|
|
|
|
| |
Moved regexp related declarations out of tclInt.h and into tclRegexp.h.
Added "encoding" command.
|
|
|
|
|
|
|
|
| |
added TclUniCharIsWordChar
tclCmdMZ.c (Tcl_StringObjCmd): added "totitle" subcommand,
changed "wordend" and "wordstart" to properly handle Unicode word
characters and connector punctuation
|
|
|
|
|
|
| |
match against the literal string "if", resulting in a stack overflow
when "::if" was compiled. It also would incorrectly accept "if"
instead of "elsif" in later clauses.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
of definition so that we can compile without the Tcl allocator
|
|
|
|
|
| |
input string in place because name lookup operations could have
arbitrary side effects
|
|
|
|
| |
added warnings around code that modifies strings in place
|
| |
|
| |
|