summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * macosx/Tcl.pbproj/project.pbxproj: bumped version to 8.4.1das2002-10-213-3/+11
| | | | | * generic/tcl.h: Added reminder comment to edit macosx/Tcl.pbproj/project.pbxproj when version number changes.
* note 1.1 version updatehobbs2002-10-191-3/+4
|
* * library/reg/pkgIndex.tcl:hobbs2002-10-187-21/+36
| | | | | | | | * win/configure: * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/makefile.bc: Updated to reg1.1
* * doc/registry.n: Added support for broadcasting changes tohobbs2002-10-183-19/+112
| | | | | * tests/registry.test: the registry Environment. Noted proper code * win/tclWinReg.c: in the docs. [Patch #625453]
* * unix/Makefile.in (dist): add any mac/tcl*.sea.hqx fileshobbs2002-10-181-2/+2
|
* * generic/tclVar.c: Fixed code that check for proper # of args todgp2002-10-173-4/+13
| | | | * tests/var.test: [array names]. Added test. [Bug 624755]
* * win/configure: add workaround for cygwin windreshobbs2002-10-173-13/+69
| | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
* * README: added archives.tcl.tk notehobbs2002-10-162-8/+15
|
* Correct AIX-5 ppc build flagshobbs2002-10-162-45/+41
|
* Correct AIX-5 ppc build flagshobbs2002-10-162-59/+83
|
* * unix/configure:hobbs2002-10-153-7/+13
| | | | | * unix/tcl.m4: correct HP 11 64-bit gcc building. [Patch #601051] (martin)