summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * library/tzdata/Africa/Cairo:Kevin B Kenny2009-10-025-93/+102
| | | | | | * library/tzdata/Asia/Gaza: * library/tzdata/Asia/Karachi: * library/tzdata/Pacific/Apia: Olson's tzdata2009n.
* * generic/tclAlloc.c: Cleaned up various routines in thedgp2009-09-295-21/+72
| | | | | | | * generic/tclCkalloc.c: call stacks for memory allocation to * generic/tclInt.h: guarantee that any size values computed * generic/tclThreadAlloc.c: are within the domains of the routines they get passed to. [Bugs 2557696 and 2557796].
* http bump fixdgp2009-09-291-1/+1
|
* * library/http/http.tcl: Bump to http 2.7.4 to account fordgp2009-09-115-9/+16
| | | | | | * library/http/pkgIndex.tcl: [Bug 2849860] fix. * unix/Makefile.in: * win/Makefile.in:
* Correct handling of quoted charset names. [Bug 2849860]dkf2009-09-102-23/+34
|
* * library/tcltest/tcltest.tcl: Bump to tcltest 2.3.2 after revisiondgp2009-09-015-9/+16
| | | | | | * library/tcltest/pkgIndex.tcl: to verbose error message. * unix/Makefile.in: * win/Makefile.in:
* add "error:" to -verbose line test failure output to satisfy stricter log ↵das2009-08-301-2/+2
| | | | parsers like Xcode 3.2
* * generic/tclStringObj.c: A few more string overflow cases indgp2009-08-272-3/+18
| | | | [format]. [Bug 2845535]
* silence compiler warningsdgp2009-08-262-4/+4
|
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-2512-107/+1290
| | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, TclListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclParse.c (TclSubstTokens, Tcl_SubstObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-24): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script Tcl_Obj*'s, to properly account for them while counting lines for #280.
* * macosx/tclMacOSXNotify.c: fix multiple issues with nested event loopsdas2009-08-242-27/+58
| | | | | when CoreFoundation notifier is running in embedded mode. (fixes problems in TkAqua Cocoa reported by Youness Alaoui on tcl-mac)
* * generic/tclFileName.c: Correct regression in [Bug 2837800] fix.dgp2009-08-212-2/+7
| | | | * tests/fileName.test:
* regression testsdgp2009-08-211-1/+29
|
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-202-2/+33
| | | | matches something like ~foo. [Bug 2837800]
* * generic/tclPathObj.c: [Bug 2806250] Prevent the storage of stringsdgp2009-08-202-104/+108
| | | | | | | | starting with ~ in the "tail" part (normPathPtr field) of the path intrep when PATHFLAGS != 0. This establishes the assumptions relied on elsewhere that the name stored there is a relative path. Also refactored to make an AppendPath() routine instead of the cut/paste stanzas that were littered throughout.
* Backport of memory leak plug.dkf2009-08-202-8/+14
|
* another testdgp2009-08-191-1/+11
|
* test for 2806250dgp2009-08-181-1/+11
|
* nicer test failure modedgp2009-08-181-2/+2
|
* * generic/tclPathObj.c: Added NULL check to prevent crashes duringdgp2009-08-183-3/+46
| | | | * tests/fileName.test: [glob]. [Bug 2837800]
* * doc/refchan.n [Bug 2827000]: Extended the implementation ofandreas_kupries2009-08-064-7/+184
| | | | | | | | * generic/tclIORChan.c: reflective channels (TIP 219, method * tests/ioCmd.test: 'read'), enabling handlers to signal EAGAIN to indicate 'no data, but not at EOF either', and other system errors. Updated documentation, extended testsuite (New test cases iocmd*-23.{9,10}).
* Stop calling endpwent() and endgrent(); unneeded. [Bug 1942222]dkf2009-08-023-14/+16
|
* * generic/tclStringObj.c: Corrected failure to grow bufferdgp2009-07-313-2/+15
| | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354]
* * generic/tclIO.c (Tcl_GetChannelHandle): [Bug 2826248]: Do not crashandreas_kupries2009-07-243-5/+28
| | | | | | | | * generic/tclPipe.c (FileForRedirect): for getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. Bug reported by Andy Sonnenburg <andy22286@users.sourceforge.net>. Backported from CVS head.
* fix SunCC warningdas2009-07-231-2/+2
|
* Fix for [Bug 2820349]Joe Mistachkin2009-07-232-1/+7
|
* 2009-07-21 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2009-07-213-184/+8
| | | | | * library/tzdata/Asia/Dhaka: * library/tzdata/Indian/Mauritius: Olson's tzdata2009k.
* Performance boost for [string is].dkf2009-07-202-55/+94
|
* * generic/tclCmdIL.c: Removed unused variables.dgp2009-07-167-16/+43
| | | | | | | | | | | | * generic/tclCompile.c: * generic/tclVar.c: * unix/tclUnixChan.c: * generic/tclScan.c: Typo in ACCEPT_NAN configuration. * generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
* fix 64bit int <-> ptr cast warningsdas2009-07-153-9/+9
|
* * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-147-124/+163
| | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.5 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
* Cast wide integer to int conversion and some signed/unsigned conversions. ↵patthoyts2009-07-012-14/+14
| | | | (silence msvc6 warnings)
* Handle the GetUserName API call appropriately for wide/narrow versions. [Bug ↵patthoyts2009-07-014-9/+22
| | | | 2806622]
* * generic/tclStringObj.c: sprintf() -> Tcl_ObjPrintf() conversion.dgp2009-06-152-5/+7
|
* test name conflictdgp2009-06-131-2/+2
|
* * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-134-7/+31
| | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
* * generic/tclStringObj.c: Revised [format] to not overflow thedgp2009-06-102-9/+77
| | | | | | | integer calculations computing the length of the %ll formats of really big integers. Also added protections so that [format]s that would produce results overflowing the maximum string length of Tcl values throw a normal Tcl error instead of a panic. [Bug 2801413]
* * generic/tclGetDate.y: Fixed a thread safety bug in the generatedKevin B Kenny2009-06-095-291/+521
| | | | | | | | | | * library/clock.tcl: Bison parser (needed a %pure-parser * tests/clock.test: declaration to avoid static variables). Discovered that the %pure-parser declaration allowed for returning the Bison error message to the Tcl caller in the event of a syntax error, so did so. * generic/tclDate.c: bison 2.3
* New DST rule for Bangladesh (Olson's tzdata2009i)Kevin B Kenny2009-06-082-0/+7
|
* * generic/tclExecute.c: Replace dynamically-initialized table withdgp2009-06-022-44/+14
| | | | | a table of static constants in the lookup table for exponent operator computations that fit in a 64 bit integer result.
* * generic/tclExecute.c: Corrected implementations and selectiondgp2009-06-022-41/+69
| | | | logic of the INST_EXPON instruction to fix [Bug 2798543].
* * tests/expr.test: Added many tests demonstrating the brokendgp2009-06-012-1/+331
| | | | cases of [Bug 2798543].
* Applied Olson's tzdata2009hKevin B Kenny2009-05-303-105/+110
|
* * library/platform/platform.tcl: Fixed handling of cpu ia64,andreas_kupries2009-05-295-10/+17
| | | | | | * library/platform/pkgIndex.tcl: taking ia64_32 into account * unix/Makefile.in: now. Bumped version to 1.0.5. Updated the * win/Makefile.in: installation commands.
* * generic/tclObj.c (Tcl_GetCommandFromObj): fix for bug [2785893],Miguel Sofer2009-05-082-1/+8
| | | | | insure that a command in a deleted namespace cannot be found through a cached name.
* * generic/tclCmdMZ.c: Improve overflow error message fromdgp2009-05-063-3/+10
| | | | [string repeat]. [Bug 2582327]
* Revert last commit which fails to build with msvc2005 and msvc6patthoyts2009-04-292-9/+4
|
* Fix [Bug 2651823].dkf2009-04-292-4/+9
|
* comment with last tcl.m4 changehobbs2009-04-281-0/+5
|
* * unix/tcl.m4, unix/configure (SC_CONFIG_CFLAGS): harden the checkhobbs2009-04-282-5/+7
| | | | to add _r to CC on AIX with threads.