summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * Fixed lots of files that used TCL_THREAD instead of TCL_THREADS.stanton1998-12-1019-50/+69
| | | | | | | * 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.
* lintstanton1998-12-101-0/+14
|
* release lintstanton1998-12-103-37/+5
|
* * generic/regcomp.c (makescan): Fixed bug in longest match casestanton1998-12-091-18/+17
| | | | that caused anchored patterns to fail. [Bug: 897]
* lintstanton1998-12-091-2/+2
|
* * generic/tclAlloc.c (TclpRealloc): Fixed a memory allocation bugstanton1998-12-081-1/+15
| | | | | where big blocks that were reallocated into a different heap location were not being placed into the bigBlocks list. [Bug: 933]
* * generic/tclUtil.c (Tcl_StringMatch): Changed to match 8.0stanton1998-12-031-2/+4
| | | | behavior in corner case where there is no closing bracket.
* * generic/tclIO.c (WriteBytes, WriteChars): Fixed so extraneousstanton1998-12-031-20/+21
| | | | | | 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]
* Changed to 8.1b1 patchlevelwelch1998-12-031-5/+4
|
* * generic/regc_color.c (subcolor): Added check for error case tostanton1998-12-021-1/+3
| | | | avoid an out of bounds array reference.
* * generic/tclParse.c (Tcl_ParseCommand): Fixed bug in commentstanton1998-12-021-3/+6
| | | | | parsing where a trailing comment looked like an incomplete command.
* * generic/tclCmdAH.c (Tcl_EncodingObjCmd): Changed to avoid usingstanton1998-12-021-2/+10
| | | | Tcl_DStringResult because it is not binary clean.
* 8.0.4 mergewelch1998-12-021-2/+7
|
* lintstanton1998-12-021-3/+2
|
* Cleaned up some testsstanton1998-12-021-3/+13
| | | | Fixed an I/O bug where UpdateInterest was not always called on input
* updated to reflect EvalObjv changestanton1998-12-021-2/+2
|
* fixed minor type conflictstanton1998-12-021-2/+2
|
* * generic/tclTest.c (TestevalobjvObjCmd): Updated for EvalObjvstanton1998-12-023-32/+122
| | | | | | | | | | | | | | | | 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.
* * generic/tclCompCmds.c (TclCompileForeachCmd): Fixed code thatstanton1998-12-011-12/+15
| | | | | corrupted the exceptDepth value in the compile environment when foreach failed to compile inline. [Bug: 884]
* * unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed hang that occursstanton1998-12-014-23/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | 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]
* moved ChangeLog entries to top levelstanton1998-11-241-60/+0
|
* * regexec.c: more performance tuning from Henry Spencer.stanton1998-11-242-4/+13
|
* lintstanton1998-11-181-5/+5
|
* * tclScan.c: moved "scan" implementation out of tclCmdMZ.c andstanton1998-11-182-15/+96
| | | | | | | | | 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]
* lintstanton1998-11-181-1/+1
|
* * tclAlloc.c: changed so allocated memory is always 8-byte alignedstanton1998-11-181-2/+7
| | | | | | 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]
* integrated latest changes from Henry Spencer, mostly performance improvementsstanton1998-11-179-190/+362
| | | | | renamed re_u* interfaces to TclRe* to avoid conflicts with other software that uses the regular expression library
* moved scan implementation into tclScan.cstanton1998-11-162-365/+1025
| | | | changed scan to support unicode
* lots of lintstanton1998-11-1129-97/+102
| | | | wrapped mutex declarations in ifdefs to avoid compiler warnings
* merged 8.0.4 into 8.1stanton1998-11-119-41/+41
|
* integrated latest regexp updates from Henry Spencer, includes newstanton1998-11-1116-2484/+2473
| | | | | regexp switches "-line", "-lineanchor", and "-linestop" for controlling newline behavior
* fixed bug in initialization order, caught by Purifystanton1998-11-111-2/+2
|
* fixed "format" so it handles multibyte characters in %s with fieldstanton1998-11-101-4/+62
| | | | width and precision specifiers
* * tclVar.c (TclGetIndexedScalar): Fixed bug 796, var name wasstanton1998-11-061-5/+7
| | | | getting lost before being passed to CallTraces.
* Merged Henry's latest changes to add support for character rangesstanton1998-11-047-96/+539
| | | | | | | | | | | | | | | | 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
* fixed typo in includestanton1998-10-211-2/+2
|
* Integrated latest regexp changes from Henry Spencer.stanton1998-10-2126-2388/+2972
| | | | | Moved regexp related declarations out of tclInt.h and into tclRegexp.h. Added "encoding" command.
* Added Unicode character table support:stanton1998-10-164-118/+749
| | | | | | | | added TclUniCharIsWordChar tclCmdMZ.c (Tcl_StringObjCmd): added "totitle" subcommand, changed "wordend" and "wordstart" to properly handle Unicode word characters and connector punctuation
* 8.1a2 bug: The compile procedure for "if" incorrectly attempted tostanton1998-10-061-2/+2
| | | | | | 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.
* Removed unused function decls.rjohnson1998-10-062-16/+2
|
* merged 8.0.4 changes into 8.1 branchstanton1998-10-064-120/+707
|
* added a warning about static string modificationsstanton1998-10-061-1/+8
|
* * tclInterp.c: added guard against deleting current interpreterstanton1998-10-061-1/+7
|
* * tclFileName.c: added warnings around code that modifies strings in placestanton1998-10-061-3/+11
|
* * tclExecute.c: fixed off-by-one copying error, fixed merge bugsstanton1998-10-061-4/+5
|
* * tclEvent.c: changed so USE_TCLALLOC is tested for value insteadstanton1998-10-061-2/+2
| | | | of definition so that we can compile without the Tcl allocator
* * tclCompile.c (TclCompileScript): changed to avoid modifying thestanton1998-10-061-16/+35
| | | | | input string in place because name lookup operations could have arbitrary side effects
* replaced SCCS stringsstanton1998-10-061-1/+16
| | | | added warnings around code that modifies strings in place
* replaced SCCS strings, added initializer to avoid purify warningsstanton1998-10-051-1/+2
|
* replaced SCCS with RCS stringsstanton1998-10-0316-16/+16
|