Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * generic/tclListObj.c (TclLsetFlat): Fixed a bug where the new | Kevin B Kenny | 2007-04-24 | 1 | -2/+8 | |
| | | | | | list under construction was leaked in the error case.[Bug 1705778, leaks K13 and K14] | |||||
* | Fix [Bug 1705778, leak K05] | dkf | 2007-04-24 | 1 | -1/+7 | |
| | ||||||
* | Fix [Bug 1705778, leak K04] | dkf | 2007-04-24 | 1 | -17/+33 | |
| | ||||||
* | * generic/tclNamesp.c (Tcl_DeleteNamespace): Corrected flaw in the | dgp | 2007-04-24 | 1 | -1/+8 | |
| | | | | | flag marking scheme to be sure that global namespaces are freed when their interp is deleted. [Bug 1705778]. | |||||
* | * generic/tclBinary.c: Addressed several code paths where the | Kevin B Kenny | 2007-04-24 | 1 | -1/+6 | |
| | | | | | error return from the 'binary format' command leaked the result buffer. | |||||
* | corrected botched indents | dgp | 2007-04-24 | 1 | -38/+38 | |
| | ||||||
* | * generic/tclCompExpr.c (ParseExpr): Memory leak in error case; the | dgp | 2007-04-24 | 1 | -1/+2 | |
| | | | | literal Tcl_Obj was not getting freed. [Bug 1705778, leak #1 (new)] | |||||
* | * generic/tclExecute.c (TclExecuteByteCode): Plugged six memory | Kevin B Kenny | 2007-04-24 | 1 | -1/+7 | |
| | | | | leaks in bignum arithmetic. | |||||
* | * generic/tclIOCmd.c (Tcl_ReadObjCmd): Plugged a leak of the | Kevin B Kenny | 2007-04-24 | 2 | -3/+6 | |
| | | | | | | | | buffer object if the physocal read returned an error and the bypass area had no message. * generic/tclIORChan.c (TclChanCreateObjCmd): Plugged a leak of the return value from the "initialize" method of a channel handler. | |||||
* | Plugged two memory leaks | Kevin B Kenny | 2007-04-23 | 1 | -3/+3 | |
| | ||||||
* | * generic/tclCkalloc.c: fix warnings from gcc build configured with | das | 2007-04-23 | 3 | -31/+29 | |
| | | | | | * generic/tclCompile.c: --enable-64bit --enable-symbols=all. * generic/tclExecute.c: | |||||
* | * generic/tclVar.c (UnsetVarStruct): Make sure the | dgp | 2007-04-23 | 1 | -2/+2 | |
| | | | | | TCL_INTERP_DESTROYED flags gets passed to unset trace routines so they can respond appropriately. [Bug 1705778, leak #9] | |||||
* | * generic/tclCompCmds.c (TclCompileUpvarCmd): Plugged a memory | Kevin B Kenny | 2007-04-23 | 2 | -3/+9 | |
| | | | | | | | | leak in 'upvar' when compiling (a) upvar outside a proc, (b) upvar with a syntax error, or (c) upvar where the frame index is not known at compile time. * generic/tclParseExpr.c (ParseExpr): Plugged a memory leak when parsing expressions that contain syntax errors. | |||||
* | * generic/tclCompile.c (TclFreeCompileEnv): Tip 280's new field | Miguel Sofer | 2007-04-23 | 1 | -1/+4 | |
| | | | | extCmdMapPtr was not being freed [Bug 1705778, leak #1]. | |||||
* | * generic/tclTest.c (Testregexpobjcmd): Removed an invalid access | Kevin B Kenny | 2007-04-23 | 1 | -2/+2 | |
| | | | | beyond the end of 'objv' in 'testregexp -about'. | |||||
* | * generic/tclEnv.c (ReplaceString): Clear memory correctly when | Kevin B Kenny | 2007-04-23 | 2 | -21/+32 | |
| | | | | | | | | | growing the cache to avoid reads of uninitialised data. * generic/tclStrToD.c (AccumulateDecimalDigit): Fixed a mistake where we'd run beyond the end of the 'pow10_wide' array if a number begins with a string of more than 'maxpow10_wide' zeroes. Both these issues reported under [Bug 1705778] - detected with the existing test suite, no new regression tests required. | |||||
* | * generic/tclVar.c (TclDeleteNamespaceVars): fixed access to freed | Miguel Sofer | 2007-04-23 | 1 | -3/+2 | |
| | | | | memory detected by valgrind. | |||||
* | * generic/tclListObj.c (SetListFromAny): avoid discarding internal | Miguel Sofer | 2007-04-20 | 1 | -56/+106 | |
| | | | | reps of objects converted to singleton lists [Patch 738900] | |||||
* | Replaced commas in varargs with string concatenation where possible [Patch ↵ | Kevin B Kenny | 2007-04-20 | 10 | -59/+59 | |
| | | | | 1515234] | |||||
* | Whitespace policing, replacing commas in varargs with constant string ↵ | Kevin B Kenny | 2007-04-20 | 11 | -44/+44 | |
| | | | | catenation, and fixed an oversight in the fix for NZA time zones. | |||||
* | Fixed a buglet in recognizing time zone SIERRA | Kevin B Kenny | 2007-04-20 | 2 | -3/+3 | |
| | ||||||
* | * tests/clock.test (clock-59.1): Added a regression test for | Kevin B Kenny | 2007-04-20 | 2 | -51/+51 | |
| | | | | | | military time zone input conversion. [Bug 1586828]. * generic/tclGetDate.y (MilitaryTable): Fixed an ancient bug where the military NZA time zones had the signs reversed [Bug 1586828]. | |||||
* | * doc/clock.n: Corrected a silly error (transposed 'uppercase' | Kevin B Kenny | 2007-04-20 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | and 'lowercase' in clock.n. [Bug 1656002] Clarified that [clock scan] does not recognize a locale's alternative calendar. * library/clock.tcl: Corrected an error in skipping over the %Ey field on input. * library/msgs/ja.msg: * tools/loadICU.tcl: Corrected several localisation faults in the Japanese locale (most notably, incorrect dates for the Emperors' eras). [Bug 1637471]. Many thanks to SourceForge user 'nyademo' for pointing this out and developing a fix. * generic/tclPathObj.c: Corrected a 'const'ness fault that caused bitter complaints from MSVC. | |||||
* | Improve const-correctness of RE compiler | dkf | 2007-04-19 | 4 | -78/+80 | |
| | ||||||
* | * generic/tclExecute.c (INST_LSHIFT): fixed a mistake introduced | Miguel Sofer | 2007-04-19 | 1 | -2/+2 | |
| | | | | | | | in version 1.266 ('=' became '=='), which effectively turned the block that handles native shifts into dead code. This explains why the testsuite did not pick this mistake. Rewrote to make the intention clear. | |||||
* | * generic/tclInt.h (TclDecrRefCount): change the order of the | Miguel Sofer | 2007-04-18 | 1 | -6/+7 | |
| | | | | | branches, use empty 'if ; else' to handle use in unbraced outer if/else conditions (as already done in tcl.h) | |||||
* | * generic/tclExecute.c: slight changes in Tcl_Obj management. | Miguel Sofer | 2007-04-18 | 1 | -22/+28 | |
| | ||||||
* | * generic/tclExecute.c: fixed checkInterp logic [Bug 1702212] | Miguel Sofer | 2007-04-17 | 1 | -8/+11 | |
| | ||||||
* | Eliminate use of (VOID*) casts when calling memset or memcpy. | dkf | 2007-04-17 | 7 | -35/+35 | |
| | ||||||
* | Always cast arg to ckfree to char*, not VOID* | dkf | 2007-04-17 | 1 | -3/+3 | |
| | ||||||
* | Complete the purge of K&R function definitions from manually-written code. | dkf | 2007-04-16 | 5 | -1721/+1704 | |
| | ||||||
* | * generic/tclCompCmds.c: added a cast to silence a compiler | Kevin B Kenny | 2007-04-15 | 1 | -2/+2 | |
| | | | | | | | | error on VC2005. * library/clock.tcl: Restored unique-prefix matching of keywords on the [clock] command. [Bug 1690041] * tests/clock.test: Added rudimentary test cases for unique-prefix matching of keywords. | |||||
* | * generic/tclExecute.c: removed some code at INSTEXPAND_SKTOP that | Miguel Sofer | 2007-04-14 | 1 | -8/+6 | |
| | | | | duplicates functionality already present at checkForCatch. | |||||
* | removed stray '//' | Miguel Sofer | 2007-04-11 | 1 | -2/+2 | |
| | ||||||
* | * generic/tclExecute.c: new macros OBJ_AT_TOS, OBJ_UNDER_TOS, | Miguel Sofer | 2007-04-11 | 1 | -141/+145 | |
| | | | | | | OBJ_AT_DEPTH(n) and CURR_DEPTH that remove all direct references to tosPtr from TEBC (after initialisation and the code at the label cleanupV_pushObjResultPtr). | |||||
* | fixing comments | Miguel Sofer | 2007-04-11 | 1 | -4/+1 | |
| | ||||||
* | * generic/tclCompCmds.c: moved all exceptDepth management to the | Miguel Sofer | 2007-04-11 | 1 | -11/+15 | |
| | | | | macros - the decreasing half was managed by hand. | |||||
* | assorted minor cleanup | dkf | 2007-04-10 | 1 | -12/+16 | |
| | ||||||
* | Don't use C++ keywords | dkf | 2007-04-10 | 1 | -4/+4 | |
| | ||||||
* | Reformat to standard function definition form | dkf | 2007-04-10 | 1 | -24/+27 | |
| | ||||||
* | Complete conversion to ANSI function definitions | dkf | 2007-04-10 | 1 | -3/+3 | |
| | ||||||
* | Reformat to standard function definition form; don't use C++ keywords | dkf | 2007-04-10 | 1 | -7/+9 | |
| | ||||||
* | Complete conversion to ANSI function definitions | dkf | 2007-04-10 | 1 | -3/+3 | |
| | ||||||
* | Reformat to standard function definition form | dkf | 2007-04-10 | 1 | -2/+5 | |
| | ||||||
* | Complete conversion to ANSI function definitions | dkf | 2007-04-10 | 1 | -8/+8 | |
| | ||||||
* | Handle creation of Tcl_Objs from constant strings better (easier to use, more | dkf | 2007-04-10 | 29 | -247/+258 | |
| | | | | efficient). After [Patch 1529526] (afredd) | |||||
* | * generic/tclCompile (tclInstructionTable): fixed bugs in | Miguel Sofer | 2007-04-08 | 1 | -6/+9 | |
| | | | | description of dict instructions | |||||
* | * generic/tclCompile (tclInstructionTable): fixed bug in | Miguel Sofer | 2007-04-07 | 1 | -2/+2 | |
| | | | | description of INST_START_COMMAND. | |||||
* | * generic/tclExecute.c (TEBC): small code reduction. | Miguel Sofer | 2007-04-07 | 1 | -25/+2 | |
| | ||||||
* | * generic/tclExecute.c (TEBC): | Miguel Sofer | 2007-04-06 | 3 | -450/+488 | |
| | | | | | | | | * generic/tclNamespace.c (NsEnsembleImplementationCmd): * generic/tclProc.c (InitCompiledLocals, ObjInterpProcEx, TclObjInterpProcCore, ProcCompileProc): code reordering to reduce branching and improve branch prediction (assume that forward branches are typically not taken). |