summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* unset path var to allow singleproc testinghobbs2002-11-271-2/+2
|
* missed a patch item reference.davygrvy2002-11-271-4/+4
|
* adjusted some commentary to be more accurate.davygrvy2002-11-271-5/+6
|
* Incorrect local edit of this file was previously committed that included adavygrvy2002-11-271-108/+61
| | | | TcpAccept() hack that has no business being in the core.
* small typo.davygrvy2002-11-271-1/+1
|
* * win/tclWinPort.h:davygrvy2002-11-273-403/+608
| | | | | | | | | | | | | | | | | | * win/tclWinSock.c: This patch does two things: 1) Cleans-up the winsock typedefs by using the typedefs provided by winsock2.h. This has no effect on how winsock is initialized; just makes the source code easier to read. [Patch 561305] 2) Revamps how the socket message handler thread is brough up and down to allows for cleaner exits without the use of TerminateThread(). TerminateThread is evil. No attempt has been made to resolve [Bug 593810] which may need a new channel driver version for adding a registering function whithin the transfered thread to init the handler thread. IOW, initialization of the TSD structure was getting bypassed through the thread extension's [thread::transfer] command.
* added a missing comment line to show that use of TerminateThread is evil.davygrvy2002-11-261-1/+3
|
* * win/tclWinConsole.c:davygrvy2002-11-267-128/+314
| | | | | | | | | | | | | | | | * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * win/tclWinThrd.c: * win/tclWinTime.c: General cleanup of all worker threads used by the channel drivers. Eliminates the normal case where the worker thread is terminated ('cept the winsock one). Instead, use kernel events to signal a clean exit. Only when the worker thread is blocked on an I/O call is the thread terminated. Essentially, this makes all other channel worker threads behave like the PipeReaderThread() function for it's cleaner exit behavior. This appears to fix [Bug 597924] but needs 3rd party confirmation to close the issue.
* * win/README: Update msys build env URL. Thismdejong2002-11-262-2/+7
| | | | release #4 build both tcl and tk without problems.
* * library/init.tcl: code cleanup to reduce use ofhobbs2002-11-233-41/+26
| | | | * library/opt/optparse.tcl: string compare
* * tests/interp.test: interp-14.4hobbs2002-11-233-6/+29
| | | | | * generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when creating an alias command over the interp name. [Bug #641195]
* * generic/tclUtil.c (SetEndOffsetFromAny): handle integer offsethobbs2002-11-196-26/+88
| | | | | | | | | | after the "end-" prefix. * generic/get.test: * generic/string.test: * generic/tclObj.c (SetIntFromAny, SetWideIntFromAny): * generic/tclGet.c (TclGetLong, Tcl_GetInt): simplify sign handling before calling strtoul(l). [Bug #634856]
* no messagedavygrvy2002-11-191-0/+8
|
* * win/tclWinThrd.c (Tcl_CreateThread/TclpThreadExit): Fixeddavygrvy2002-11-191-3/+3
| | | | | | | improper compiler macros that missed the VC++ compiler. This resulted in VC++ builds using CreateThread()/ExitThread() in place of the proper _beginthreadex()/_endthreadex(). This was a large error and am surprised I missed seeing it earlier.
* Added missing .BE [Bug 629330]dkf2002-11-154-4/+8
|
* * generic/regexpComp.test: added tests 22.*hobbs2002-11-143-32/+73
| | | | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): add left and right anchoring (^ and $) recognition and check starting or ending .* to extend the number of REs that can be compiled to string match or string equal.
* 3 small fixesvincentdarley2002-11-138-19/+261
|
* TclUtfToUniChar optimizationshobbs2002-11-121-0/+48
|
* * generic/tclUtil.c (Tcl_Backslash): use TclUtfToUniChar.hobbs2002-11-121-25/+57
| | | | | (Tcl_StringCaseMatch): use TclUtfToUniChar and add further optimizations for the one-byte/char case.
* * generic/tclUtf.c: make use of TclUtfToUniChar macro throughouthobbs2002-11-121-22/+31
| | | | | the functions, and add extra optimization to Tcl_NumUtfChars for one-byte/char case.
* * generic/tclStringObj.c (Tcl_GetCharLength): optimize for thehobbs2002-11-121-5/+19
| | | | | | ascii char case. (Tcl_GetUniChar): remove unnecessary use of Tcl_UtfToUniChar. (FillUnicodeRep): Use TclUtfToUniChar.
* * generic/tclExecute.c (TclExecuteByteCode): improve INST_STR_CMPhobbs2002-11-121-10/+19
| | | | | to use memcmp in the one-byte/char case, also use direct index for INST_STR_INDEX in that case.
* * generic/tclEncoding.c (UtfToUtfProc, UtfToUnicodeProc):hobbs2002-11-121-8/+26
| | | | | | | (TableFromUtfProc, EscapeFromUtfProc): Use TclUtfToUniChar. (UnicodeToUtfProc, TableToUtfProc): add 1-byte char optimizations for Tcl_UniCharToUtf call. These improve encoded channel conversion speeds by up to 20%.
* * tests/split.test: added 1-char string split testshobbs2002-11-122-16/+65
| | | | | | | | | * generic/tclCmdMZ.c (Tcl_SplitObjCmd): Use TclUtfToUniChar. Also added a special case for single-ascii-char splits. (Tcl_StringObjCmd): Use TclUtfToUniChar. For STR_RANGE, support getting ranges of ByteArrays (reverts change from 2000-05-26). (TraceExecutionProc) add proper static declaration.
* * generic/tclInt.h: add macro version of Tcl_UtfToUniCharhobbs2002-11-121-1/+20
| | | | | | (TclUtfToUniChar) that does the one-byte utf-char check without calling Tcl_UtfToUniChar, for use by the core. This brings notable speedups for primarily ascii string handling.
* * generic/tcl.h (TCL_PATCH_LEVEL): bump to 8.4.1.1 for patchlevelhobbs2002-11-121-2/+2
| | | | | only. This interim number will only be reflected by [info patchlevel].
* * generic/tclHash.c (HashStringKey): move string++ lower to savehobbs2002-11-121-2/+2
| | | | an instruction.
* * generic/tclVar.c (DisposeTraceResult, CallVarTraces): add properhobbs2002-11-121-3/+3
| | | | static declarations.
* Corrected indentation of the new language. Oops.Kevin B Kenny2002-11-111-1/+2
|
* Corrected indentation of the new language. Oops.Kevin B Kenny2002-11-112-2/+6
|
* Added language to the Endekalogue to make it clearKevin B Kenny2002-11-102-1/+15
| | | | | that substitutions always take place from left to right. [Bug #635644]
* * changes: Note TclInExit TclInThreadExit changes.mdejong2002-11-072-1/+7
|
* * generic/tclEvent.c (TclInExit, TclInThreadExit):mdejong2002-11-0711-29/+75
| | | | | | | | | | | | | | | Split out functionality of TclInExit to make it clear which one should be called in each situation. * generic/tclInt.decls: Declare TclInThreadExit. * generic/tclIntDecls.h: Regen. * generic/tclStubInit.c: Regen. * mac/tclMacChan.c (StdIOClose): * unix/tclUnixChan.c (FileCloseProc): * win/tclWinChan.c (FileCloseProc): * win/tclWinConsole.c (ConsoleCloseProc): * win/tclWinPipe.c (TclpCloseFile): * win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit method instead of TclInExit.
* * unix/configure: Regen.mdejong2002-11-065-81/+117
| | | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if no ar program can be found on the path. [Bug #582039] * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * win/tclAppInit.c: Calls Registry_Init() and Dde_Init() whendavygrvy2002-11-045-32/+161
| | | | | | | | | | | | | STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde object files to the link of the shell. [Patch 479697] Also factored some additional macros that will be helpful for extension authors. Version grepping of tcl.h will need to be added to complete this. * win/buildall.vc.bat: Added more descriptive commentary.
* 2002-11-01 David Gravereaux <davygrvy@pobox.com>davygrvy2002-11-031-0/+5
| | | | | * win/tclWinReg.c: Changed the Tcl_PkgProvide() line to declare the registry extension at version 1.1 from 1.0.
* Updated Tcl_PkgProvide() line in Registry_Init() to use "1.1" instead of "1.0"davygrvy2002-11-021-2/+2
|
* * library/word.tcl: Changed $tcl_platform to $::tcl_platform toandreas_kupries2002-11-012-2/+7
| | | | avoid possible scope trouble.
* comments addedvincentdarley2002-10-293-2/+31
|
* Typo correctiondgp2002-10-291-1/+1
|
* * unix/tclLoadDyld.c (Tcl_PackageInitProc): pass all dyld errordas2002-10-292-1/+11
| | | | messages upstream [Bug #627546].
* * library/dde/pkgIndex.tcl:andreas_kupries2002-10-283-2/+8
| | | | | * library/reg/pkgIndex.tcl: Changed the hardwired debug suffix (d) to the correct suffix (g).
* * library/auto.tcl: Converted the Mac-specific [package unknown]dgp2002-10-285-55/+126
| | | | | | * library/init.tcl: behavior to use a chaining mechanism to extend * library/package.tcl: the default [tclPkgUnknown]. [Bug 627660] * library/tclIndex: [Patch 624509] (steffen)
* no messagedavygrvy2002-10-261-0/+5
|
* xcopy on NT 4.0 doesn't support the /Y switch (overwrite). Added logicdavygrvy2002-10-261-30/+40
| | | | to handle this. [Bug 618019]
* Removed obsolete history-related structures.dkf2002-10-232-39/+7
|
* updated for 8.4.1 releasecore_8_4_1hobbs2002-10-222-3/+78
|
* * win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.hobbs2002-10-224-120/+112
| | | | | | | * win/configure: regen * win/configure.in: removed SC_ENABLE_MEMDEBUG call * win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
* * library/auto.tcl (tcl_findLibrary):das2002-10-225-8/+86
| | | | | | | | | | | | * library/package.tcl (tclPkgUnknown): on macosx, search inside the Resources/Scripts subdirectory of any potential package directory * macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to TCL_PACKAGE_PATH make argument. * unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded framework dirs to tcl_pkgPath: @executable_path/../Frameworks and @executable_path/../PrivateFrameworks (if they exist), as well as the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509] use standard MAXPATHLEN instead of literal 1024
* Documentation didn't say that the UTF-8-rep of a Tcl_Obj was UTF-8 (sans NUL)!dkf2002-10-223-12/+25
| | | | [Bug 624919]