summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/Var.c (Tcl_ArrayObjCmd - ARRAY_NAMES): fix Tcl_Obj leakMiguel Sofer2005-04-162-2/+7
| | | | [Bug 1084111]
* See filevasiljevic2005-04-161-0/+32
|
* Force clenaup of the interp result in TclLoadFile(). Some implementationsvasiljevic2005-04-161-5/+12
| | | | | of TclpFindSymbol() will seed the interp result with error message when unable to find the requested symbol (this is not considered to be error).
* Renamed TclWinFreeAllocCache to TclpFreeAllocCache and fixed to recognizevasiljevic2005-04-161-20/+23
| | | | | when being called with NULL argument. This is a signal for it to clean up the tsd key associated with the threading allocator.
* Fixed TclpFreeAllocCache() to recognize when being called with NULLvasiljevic2005-04-161-7/+10
| | | | | argument. This is a signal for it to clean up the tsd key associated with the threading allocator.
* Modified TclFinalizeThreadAlloc() to explicitly call TclpFreeAllocCachevasiljevic2005-04-161-1/+3
| | | | | with the NULL-ptr as argument signalling cleanup of private tsd key used only by the threading allocator
* Added prototypes for TclpFreeAllocCache() and TclFreeAllocCache().vasiljevic2005-04-161-1/+3
|
* * tests/unixInit.test: Disabled obsolete tests and removed codedgp2005-04-154-103/+83
| | | | | * tests/encoding.test: that supported them. * generic/tclInterp.c:
* * library/init.tcl: Use auto-loading to bring in Tcl Moduledgp2005-04-154-45/+42
| | | | | | * library/tclIndex: support as needed. This reduces startup * library/tm.tcl: time by delaying this initialization to a later time.
* * generic/tclExecute.c: missing semicolons caused failure toMiguel Sofer2005-04-152-3/+8
| | | | compile with TCL_COMPILE_DEBUG.
* * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-141-3/+3
| | | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need * tests/iogt.test: for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by the buffersize over reading for the native read() caused by [read].
* no messagedavygrvy2005-04-141-0/+11
|
* * generic/tclIO.c (Tcl_SetChannelBufferSize): Lowest size limitdavygrvy2005-04-142-6/+6
| | | | | | | | | * tests/io.test: changed from ten bytes to one byte. Need for this change was proven by Ross Cartlidge <rossc@cisco.com> where [read stdin 1] was grabbing 10 bytes followed by starting a child process that was intended to continue reading from stdin. Even with -buffersize set to one, nine chars were getting lost by buffer size over reading for the native read().
* * unix/tclUnixInit.c (TclpGetEncodingNameFromEnvironment): Reverseddgp2005-04-132-175/+174
| | | | | | | | order of verifying candidate [encoding system] value, checking against a table in memory first before calling Tcl_GetEncoding and potentially scanning through the filesystem. Also ordered the table so that a binary search could be used within it. Improves startup time a bit more on some systems.
* Performance improvement in [clock] - FR 1182459Kevin B Kenny2005-04-132-4/+10
|
* Also improved [fcopy] docsdkf2005-04-132-15/+29
|
* Improve documentation of -encoding binary option to [fconfigure].dkf2005-04-132-3/+12
|
* * generic/tclCompile.c:Commented out the functionsMiguel Sofer2005-04-132-1/+13
| | | | | TclPrintInstruction(), TclPrintObject() and TclPrintSource() when not debugging the compiler, as they are never called in that case.
* * generic/tclInterp.c: Corrected bad syntax of Tcl_Panic() call.dgp2005-04-124-130/+143
| | | | | | | | | | | | | | | | * generic/tclUtil.c (TclGetProcessGlobalValue): More robust handling of bad TclInitProcessGlobalValueProc behavior; an immediate panic rather than a mysterious crash later. * generic/tclEncoding.c: Several changes to the way the encodingFileMap cache is maintained. Previously, it was attempted to keep the file map filled and up to date with changes in the encoding search path. This contributed to slow startup times since it required an expensive "glob" operation to fill the cache. Now the validity of items in the cache are checked at the time they are used, so the cache is permitted to fall out of sync with the encoding search path. Only [encoding names] and Tcl_GetEncodingNames() now pay the full expense. [Bug 1177363]
* added definition of NULL to strstr.c for Bug 1175161Kevin B Kenny2005-04-122-1/+10
|
* Revamp the zone-info compiler to make better use of the facilities availabledkf2005-04-112-301/+237
|
* Import of tommath 0.35Kevin B Kenny2005-04-1075-4385/+7023
|
* Olson's tzdata2005hKevin B Kenny2005-04-1011-1021/+90
|
* * generic/tclBasic.c (TclObjInvoke): Plug memory leak. [Bug 1180368]dgp2005-04-102-1/+6
|
* fix in last commitMiguel Sofer2005-04-091-6/+7
|
* * generic/tclExecute.c: fix possible leak of expansion Tcl_ObjsMiguel Sofer2005-04-092-3/+16
|
* * macosx/README: updated requirements for OS & developer tooldas2005-04-092-12/+15
| | | | versions + other small fixes/cleanup.
* * generic/tclListObj.c (Tcl_ListObjIndex): added missing NULL returndas2005-04-092-2/+6
| | | | when getting index from an empty list.
* * unix/tcl.m4 (Darwin): added -single_module linker flag todas2005-04-093-8/+14
| | | | | TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS. * unix/configure: autoconf-2.59
* Fix whitespacedkf2005-04-081-6/+6
|
* * generic/tclInt.h (TclGetEncodingFromObj): New function todgp2005-04-084-11/+106
| | | | | | | | | * generic/tclEncoding.c (TclGetEncodingFromObj): retrieve a Tcl_Encoding value, as well as cache it in the internal rep of a new "encoding" Tcl_ObjType. * generic/tclCmdAH.c (Tcl_EncodingObjCmd): Updated to call new function so that Tcl_Encoding's used by [encoding convert*] routines are not freed too quickly. [Bug 1077262]
* explanatory commentdgp2005-04-081-1/+8
|
* Test updates for new [switch] compilerdkf2005-04-081-17/+63
|
* Improved [switch] compilation.dkf2005-04-083-123/+201
|
* Purge old and inaccurate .VS/.VE macros.dkf2005-04-0659-328/+80
|
* Ignore the msvc7/8 autogenerated project parts.patthoyts2005-04-061-0/+2
|
* Improvements to man2html script to handle .IP betterdkf2005-04-062-9/+9
|
* Change some .TP macros to .IP to work around *roff formatter bugs.dkf2005-04-062-26/+22
|
* replace obsolete "winOnly" constraint with preferred "win"dgp2005-04-051-1/+1
|
* * generic/tclExecute.c (ExprSrandFunc): Replaced incursions into thedgp2005-04-053-49/+13
| | | | | | | * generic/tclUtil.c (TclGetIntForIndex): intreps of numeric types with simpler calls of Tcl_GetIntFromObj and Tcl_GetLongFromObj, now that those routines are better behaved wrt shimmering. [Patch 1177219]
* * generic/tclInt.h:Miguel Sofer2005-04-053-146/+146
| | | | | * generic/tclObj.c: Change in TclDecrRefCount and TclFreeObj, to speed up the freeing of simple Tcl_Obj [Patch 1174551]
* * generic/tclExecute.c: small opts in obj handlingMiguel Sofer2005-04-042-61/+50
|
* * generic/tclVar.c: converted a few function calls to macros.Miguel Sofer2005-04-032-23/+27
|
* Changed the internal representation of lists to (a) reduce the malloc/freeMiguel Sofer2005-04-0212-639/+530
| | | | | | | | calls at list creation (from 2 to 1), (b) reduce the cost of handling empty lists (we now never create a list internal rep for them), (c) allow refcounting of the list internal rep. The latter permits insuring that the pointers returned by Tcl_ListObjGetElements remain valid even if the object shimmers away from its original list type. This is [Patch 1158008]
* slight reduction in cost of INST_START_CMDMiguel Sofer2005-04-012-16/+36
|
* * generic/tclExecute.c:Miguel Sofer2005-04-013-5/+19
| | | | | * generic/tclInt.h: ExecEnv now stores two Tcl_Obj* pointing to the constants "0" and "1", for use by TEBC.
* * generic/tclExecute.c:Miguel Sofer2005-04-015-138/+267
| | | | | | | | | * generic/tclInt.h: * generic/tclObj.c: * generic/tclStringObj.c: defined new internal macros for creating and setting frequently used obj types (int,long, wideInt, double, string). Changed TEBC to use eg 'TclNewIntObj(objPtr, i)' to avoid the function call in 'objPtr = Tcl_NewIntObj(i)'
* * generic/tclExecute.c (INST_JUMP_TRUE/FALSE): replacedMiguel Sofer2005-03-312-70/+63
| | | | "test and branch" with "compute index into table"
* Added doc for missing argument. [Bug 1172401]dkf2005-03-302-2/+8
|
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-303-265/+499
| | | | allow msys alone as an alternative.