Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | merge core-8-6-branch | jan.nijtmans | 2017-08-18 | 1 | -3/+3 | |
|\ | ||||||
| * | Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 | jan.nijtmans | 2017-06-08 | 1 | -3/+3 | |
| | | ||||||
* | | merge core-8-6-branch | jan.nijtmans | 2017-05-29 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵ | jan.nijtmans | 2017-05-29 | 1 | -3/+3 | |
| | | | | | | | | functionality, just faster if ASCII only strings are involved. | |||||
* | | [6015221f59] Segfault after overflow of [binary] field specifier numeric count. | dgp | 2017-05-05 | 1 | -1/+9 | |
|\ \ | |/ | ||||||
| * | [6015221f59] Segfault after overflow of [binary] field specifier numeric count. | dgp | 2017-05-05 | 1 | -1/+9 | |
| |\ | ||||||
| | * | [6015221f59] Segfault after overflow of [binary] field specifier numeric count. | dgp | 2017-05-05 | 1 | -1/+9 | |
| | | | ||||||
| | * | Backport of bytearray append machinery to support bug fixes in ReadBytes. | dgp | 2014-01-21 | 1 | -0/+92 | |
| | | | ||||||
* | | | TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C ↵tip_456 | jan.nijtmans | 2017-01-04 | 1 | -4/+4 | |
|\ \ \ | | | | | | | | | | | | | API to Support Passing Options to TCP Server Creation | |||||
* | | | | more internal use of size_t in stead of int. | jan.nijtmans | 2016-12-20 | 1 | -2/+4 | |
|/ / / | ||||||
* | | | Added long comment explaining history and work in progress making bytearray | dgp | 2016-12-02 | 1 | -22/+87 | |
| | | | | | | | | | interfaces usable. | |||||
* | | | So long as we register only one, we can have multiple Tcl_ObjTypes with | dgp | 2016-12-01 | 1 | -1/+1 | |
| | | | | | | | | | the same name. This smooths migration. See obj-2.2 and tclsqlite usage. | |||||
* | | | Created a new "proper bytearray" Tcl_ObjType so we can use bytearrays | dgp | 2016-12-01 | 1 | -21/+44 | |
| | | | | | | | | | as bytearrays without all this fussing about over purity. | |||||
* | | | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵ | jan.nijtmans | 2016-07-08 | 1 | -1/+1 | |
|/ / | | | | | | | in many places where possible. | |||||
* | | [2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.bug_2992970 | dgp | 2014-01-15 | 1 | -41/+33 | |
| | | | | | | | | | | | | | | | | | | Also moves overflow checking to TclAppendBytesToByteArray() and adds the ability to call TABTBA() with bytes==NULL, for appending unspecified bytes. That is, the string grows, but the new bytes are of undetermined value. Like Tcl_NewByteArrayObj(NULL, length) this option is useful for manipulating buffers. The TABTBA growth algorithm is also enhanced a bit, copying over a fuller implementation from GrowStringBuffer() in tclStringObj.c | |||||
* | | Tcl_SetResult -> Tcl_SetObjResult | jan.nijtmans | 2013-09-26 | 1 | -2/+4 | |
| | | ||||||
* | | Refactor to remove unused flexibility. | dkf | 2013-09-16 | 1 | -12/+10 | |
| | | ||||||
* | | Be careful: separator needs to be bytes, not internal-encoded. | dkf | 2013-09-16 | 1 | -7/+10 | |
| | | ||||||
* | | Add back -wrapchar option to "binary encode uuencode" | jan.nijtmans | 2013-09-15 | 1 | -6/+13 | |
|\ \ | ||||||
| * | | Hm, this check doesn't really add anything. | jan.nijtmans | 2013-09-14 | 1 | -6/+0 | |
| | | | ||||||
| * | | Add back -wrapchar option to "binary encode uuencode". | jan.nijtmans | 2013-09-14 | 1 | -6/+19 | |
| | | | ||||||
* | | | And the decoder too. | dkf | 2013-09-14 | 1 | -18/+86 | |
|/ / | ||||||
* | | [2152292] Corrected implementation of uuencoding. | dkf | 2013-09-14 | 1 | -4/+121 | |
| | | ||||||
* | | [b98fa55285]: Fix handling of whitespace at end of hex strings to decode. | dkf | 2013-09-01 | 1 | -20/+23 | |
| | | ||||||
* | | 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. |