Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵ | jan.nijtmans | 2013-02-27 | 1 | -1/+1 | |
| | | | | Tcl_VarTraceInfo2 conversions. | |||||
* | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -3/+3 | |
|\ | ||||||
| * | Tcl_InvalidateStringRep -> TclInvalidateStringRep | jan.nijtmans | 2013-02-07 | 1 | -2/+2 | |
| | | ||||||
* | | merge core-8-5-branch | jan.nijtmans | 2013-01-31 | 1 | -2/+3 | |
|\ \ | |/ | ||||||
| * | Use twoPtrValue.ptr1 in stead of otherValuePtr everywhere. This is exactly ↵ | jan.nijtmans | 2013-01-31 | 1 | -2/+2 | |
| | | | | | | | | the same field, but it allows twoPtrValue.ptr2 to be used for other purposes. | |||||
* | | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -23/+27 | |
| | | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job. | |||||
* | | very minor style tweaksbug_3033307 | dkf | 2012-11-20 | 1 | -6/+9 | |
| | | ||||||
* | | Contributed patch from Andy Goth. | dgp | 2012-11-15 | 1 | -26/+65 | |
| | | ||||||
* | | eliminate compiler warning in previous commit | jan.nijtmans | 2012-09-17 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | eliminate compiler warning in previous commit | jan.nijtmans | 2012-09-17 | 1 | -1/+1 | |
| | | ||||||
| * | Nicer style test. | stwo | 2012-09-16 | 1 | -2/+2 | |
| | | ||||||
* | | Nicer style test. | stwo | 2012-09-16 | 1 | -2/+2 | |
| | | ||||||
| | | ||||||
| \ | ||||||
*-. \ | [Bug 3496014] Unecessary memset() in Tcl_SetByteArrayObj(). | jan.nijtmans | 2012-08-23 | 1 | -7/+5 | |
|\ \ \ | | |/ | ||||||
| | * | [Bug 3496014] Protect Tcl_SetByteArrayObj for invalid values | jan.nijtmans | 2012-08-23 | 1 | -1/+6 | |
| | | | | | | | | | (Backported from Tcl 8.6) | |||||
| | * | [Bug 3388350] mingw64 compiler warnings | jan.nijtmans | 2011-08-16 | 1 | -1/+1 | |
| | |\ | ||||||
| | * | | Backport fix for [Bug 2857044]. | dgp | 2011-04-27 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | [Bug 3496014]: Unecessary memset() in Tcl_SetByteArrayObj()bug_3496014 | jan.nijtmans | 2012-07-16 | 1 | -6/+2 | |
| | | | | ||||||
* | | | | more result generation conversion | dkf | 2012-08-03 | 1 | -11/+13 | |
|/ / / | ||||||
* | | | (Tcl_SetByteArrayObj): Only zero out the memory block if it is not being | dkf | 2012-03-02 | 1 | -3/+6 | |
| | | | | | | | | | immediately overwritten. Thanks to Stuart Cassoff for spotting. | |||||
* | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -11/+9 | |
| | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | |||||
* | | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 | |
|\ \ \ | |/ / | | | | cause more harm than good. Purged them (except in zlib files). | |||||
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 | |
| |\ \ | | |/ | | | | more harm than good. Purged them. | |||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 | |
| | | | | | | | | | more harm than good. Purged them. | |||||
| | * | Backported fix for #1923966 | patthoyts | 2008-03-24 | 1 | -2/+4 | |
| | | | ||||||
| | * | De-fang an instance of the shared-result anti-pattern. [Bug 1716704] | dkf | 2007-06-30 | 1 | -1/+5 | |
| | | | ||||||
| | * | * generic/tclBasic.c: | Miguel Sofer | 2005-10-23 | 1 | -6/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others. | |||||
| | * | Fix [Bug 1116542] | dkf | 2005-09-27 | 1 | -2/+18 | |
| | | | ||||||
| | * | * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bug | das | 2003-12-17 | 1 | -2/+4 | |
| | | | | | | | | | | | | when numeric scan-value cache contains NULL value. | |||||
| | * | Stop losing references when variables are repeated in [binary scan]. [851747] | dkf | 2003-12-02 | 1 | -40/+71 | |
| | | | ||||||
| * | | * generic/tclBinary.c (UpdateStringOfByteArray): Add panic | dgp | 2010-04-30 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | when the generated string representation would grow beyond Tcl's size limits. [Bug 2994924] | |||||
* | | | Fix gcc -Wextra warning: missing initializer | nijtmans | 2010-12-10 | 1 | -20/+21 | |
| | | | ||||||
* | | | [Bug 3129448]: possible over-allocation on 64-bit platforms | nijtmans | 2010-12-06 | 1 | -3/+3 | |
| | | | ||||||
* | | | Tcl_Panic already writes a newline at the end, so the caller doesn't have to ↵ | nijtmans | 2010-11-19 | 1 | -2/+2 | |
| | | | | | | | | | | | | do that | |||||
* | | | * generic/tclBinary.c (TclAppendBytesToByteArray): [Bug 3067036]: Make | dkf | 2010-09-15 | 1 | -4/+19 | |
| | | | | | | | | | | | | | | | sure we never try to double zero repeatedly to get a buffer size. Also added a check for sanity on the size of buffer being appended. | |||||
* | | | Remove many type casts which are no longernecessary as a result of [Patch ↵ | nijtmans | 2010-08-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry | |||||
* | | | * generic/tclBinary.c (TclAppendBytesToByteArray): Add comments | dgp | 2010-04-30 | 1 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h (TclAppendBytesToByteArray): placing overflow protection responsibility on caller. Convert "len" argument to signed int which any value already vetted for overflow issues will fit into. * generic/tclStringObj.c: Update caller; standardize panic msg. * generic/tclBinary.c (UpdateStringOfByteArray): Add panic when the generated string representation would grow beyond Tcl's size limits. [Bug 2994924] | |||||
* | | | * generic/tclBinary.c (TclAppendBytesToByteArray): Add extra armour | dkf | 2010-04-30 | 1 | -6/+11 | |
| | | | | | | | | | | | | against buffer overflows. | |||||
* | | | fix MSVC warning C4018: '>' : signed/unsigned mismatch | nijtmans | 2010-04-29 | 1 | -2/+2 | |
| | | | ||||||
* | | | * generic/tclBinary.c (TclAppendBytesToByteArray): [Bug 2992970]: Make | dkf | 2010-04-29 | 1 | -1/+76 | |
| | | | | | | | | | | | | | | | | | | * generic/tclStringObj.c (Tcl_AppendObjToObj): an append of a byte array to another into an efficent operation. The problem was the (lack of) a proper growth management strategy for the byte array. | |||||
* | | | Code Audit results: | dkf | 2010-03-05 | 1 | -12/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations | |||||
* | | | Handle completely invalid input to the decode methods [Bug 2922555] | patthoyts | 2009-12-29 | 1 | -1/+4 | |
| | | | ||||||
* | | | Fix gcc warning, using gcc-4.3.4 on cygwin | nijtmans | 2009-12-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773] | |||||
* | | | Fix gcc warning, using gcc-4.3.4 on cygwin | nijtmans | 2009-12-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773] | |||||
* | | | Eliminate various gcc warnings (in -Wextra mode) | nijtmans | 2009-11-18 | 1 | -11/+12 | |
| | | | ||||||
* | | | * generic/tclBinary.c: Removed unused variables. | dgp | 2009-07-16 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclHash.c: * generic/tclIOUtil.c: * generic/tclVar.c: * generic/tclBasic.c: Silence compiler warnings about ClientData. * generic/tclProc.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] | |||||
* | | | - eliminate some unnessary type casts | nijtmans | 2009-02-03 | 1 | -9/+9 | |
| | | | | | | | | | | | | | | | - some internal const decorations - spacing | |||||
* | | | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵ | dkf | 2009-01-09 | 1 | -4/+3 | |
| | | | | | | | | | | | | etc.) | |||||
* | | | Fix [Bug 2380293]. Redefine non-strict decoding to ignore only whitespace. | ferrieux | 2008-12-15 | 1 | -4/+5 | |
| | | | ||||||
* | | | Tidy up formatting. | dkf | 2008-11-16 | 1 | -612/+595 | |
| | | | ||||||
* | | | patch #2215022: clean up the binary ensemble initialization code | patthoyts | 2008-11-07 | 1 | -90/+38 | |
| | | | | | | | | | | | | | | | Applied a patch from Duoas which extends the TclMakeEnsemble command to handle sub-ensembles from tables. Cleaned up the original patch a bit. |