Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check. | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
| | |||||
* | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | jan.nijtmans | 2017-06-06 | 1 | -75/+52 |
| | | | | documented. | ||||
* | [6015221f59] Segfault after overflow of [binary] field specifier numeric count. | dgp | 2017-05-05 | 1 | -1/+9 |
| | |||||
* | [f9fe90d0fa] [file join] normalization. See filesystem-1.52* | dgp | 2017-05-01 | 1 | -1/+11 |
| | |||||
* | [f34cf83dd0] An optimization was being taken in a case where it produced | dgp | 2017-04-28 | 1 | -0/+7 |
| | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok. | ||||
* | [04e26c02c0] Remove useless condition that raises warnings. | dgp | 2017-04-27 | 1 | -6/+2 |
| | |||||
* | ParseTokens failed to fully respect its numBytes argument. | dgp | 2017-02-27 | 1 | -1/+4 |
| | |||||
* | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵ | jan.nijtmans | 2017-02-01 | 1 | -18/+4 |
| | | | | first-argument NaN shortcut is too aggressive | ||||
* | Fix [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e] follow-up: Make ↵ | jan.nijtmans | 2017-01-20 | 1 | -3/+4 |
| | | | | Tcl_LinkVar toleranto to the empty string as well | ||||
* | Little tweak: Decimal dot's should be allowed as well as first part. ↵ | jan.nijtmans | 2016-12-23 | 1 | -1/+1 |
| | | | | Test-case for that as well. | ||||
* | Handle other invalid sequences, like "1234e" or "-567e+", that could be the ↵ | jan.nijtmans | 2016-12-23 | 1 | -5/+49 |
| | | | | start of a valid real number. | ||||
* | Fix some comments (which were not correct any more in this branch), and ↵ | jan.nijtmans | 2016-12-22 | 1 | -10/+9 |
| | | | | don't allow booleans in integer context. | ||||
* | Re-based to core-8-5-branch. | jan.nijtmans | 2016-12-22 | 1 | -40/+129 |
|\ | | | | | Proposed fix for [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e], which doesn't need modifications to Double/Integer valid string representations. | ||||
| * | Merge trunk. Implement sequences like "0x", "0b" and "0o" as well. And also ↵ | jan.nijtmans | 2016-12-22 | 1 | -18/+62 |
| |\ | | | | | | | | | | the "." for doubles and floats. | ||||
| | * | Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵ | jan.nijtmans | 2016-12-21 | 1 | -16/+23 |
| | |\ | | | | | | | | | | | | | don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp. | ||||
| | | * | Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵ | jan.nijtmans | 2016-12-21 | 1 | -16/+23 |
| | | |\ | |_|_|/ |/| | | | | | | | don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp. | ||||
* | | | | Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵ | jan.nijtmans | 2016-12-21 | 1 | -16/+23 |
| | | | | | | | | | | | | | | | | don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp. | ||||
| * | | | Experimental (partial) fix for ↵ | jan.nijtmans | 2016-12-21 | 3 | -63/+123 |
| |/ / | | | | | | | | | | | | | | | | [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dot. This handled minus and plus only, not other possible errors. Will need a TIP, because the boolean type is extended to consider '-', '+' and 'o' (necessary for being able to type 'on' or 'off') as valid booleans Dot, and integer prefixes (such as 0x) not handled yet, should be handled completely different. | ||||
| * | | more internal use of size_t in stead of int. | jan.nijtmans | 2016-12-20 | 5 | -34/+38 |
| | | | |||||
| * | | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵ | jan.nijtmans | 2016-12-20 | 3 | -13/+13 |
| | | | | | | | | | | | | (or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value) | ||||
| * | | Some more internal use of size_t in stead of int. No functional change. | jan.nijtmans | 2016-12-16 | 2 | -9/+4 |
| | | | |||||
| * | | Add "file join $grandParentDir tcl8.? library" as possible path for a valid ↵ | jan.nijtmans | 2016-12-15 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | init.tcl. Some simplifications in use of test restrictions. | ||||
| * | | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵ | jan.nijtmans | 2016-12-14 | 2 | -0/+61 |
| |\ \ | | | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases. | ||||
| | * | | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jn_wide_printf | jan.nijtmans | 2016-12-14 | 2 | -1/+52 |
| | | | | | | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases. | ||||
| | * | | implement "I64" format in Tcl_ObjPrintf as well. Still to be tested. | jan.nijtmans | 2016-12-02 | 1 | -3/+13 |
| | | | | |||||
| * | | | Avoid "warning: format '%llu' expects argument of type 'long long unsigned ↵ | andy | 2016-12-02 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | int', but argument 2 has type 'long unsigned int'" on platforms where TCL_WIDE_INT_IS_LONG. Warning introduced by check-in [e3ba334a42] which was merged to trunk by [eac13870dc]. This fix also was made by [418b169207] which has not yet been merged to trunk. | ||||
| * | | | Added long comment explaining history and work in progress making bytearray | dgp | 2016-12-02 | 1 | -22/+87 |
| |/ / | | | | | | | interfaces usable. | ||||
| * | | Relocate the cmdEpoch bumps during command deletion so that command resolution | dgp | 2016-12-02 | 1 | -7/+15 |
| |\ \ | | | | | | | | | caching works properly in deletion callbacks (destructors!) and delete traces. | ||||
| | * | | Remove dup line.dgp_cmd_epoch | dgp | 2016-12-02 | 1 | -6/+5 |
| | | | | |||||
| | * | | Reports from NSF that command epoch bumping isn't properly timed. | dgp | 2016-12-01 | 1 | -7/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://paste.tclers.tk/4030 Since the epoch should bump to indicate when Tcl_FindCommand() would produce a different result from the cached value, the bump ought to be connected to the state change that would have that effect. This checkin appears to be the more correct answer, and it makes the Delete path get into agreement with the Rename path. Review would be good. | ||||
| * | | | Implement %ll (WideInt) handling for Tcl_ObjPrintf(). Use it in some places. ↵ | jan.nijtmans | 2016-12-02 | 2 | -13/+17 |
| |\ \ \ | | |/ / | |/| | | | | | | (now without edit-error in tcl.h, thanks Don!) | ||||
| | * | | Repair what appears to be a stray edit error. This restores ability to | dgp | 2016-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | build on a TCL_WIDE_INT_IS_LONG platform, but leaves code in tclStringObj.c raising compiler warnings. Suspect things still need some reconciliation in the TCL_WIDE_INT_IS_LONG scenario. | ||||
| | * | | Implement %ll (WideInt) handling for Tcl_ObjPrintf(). Use it in some places. | jan.nijtmans | 2016-12-02 | 3 | -13/+17 |
| |/ / | | | | | | | Moved to feature branch temporarily. Breaks build. | ||||
| * | | 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 | 2 | -23/+45 |
| | | | | | | | | | as bytearrays without all this fussing about over purity. | ||||
| * | | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 4 | -5/+5 |
| |\ \ | | |/ | |||||
| | * | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 3 | -4/+4 |
| | |\ | |_|/ |/| | | |||||
* | | | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 3 | -4/+4 |
| | | | |||||
| * | | Route all [string repeat] operations through a common implementation. | dgp | 2016-11-30 | 3 | -61/+146 |
| | | | | | | | | | | | | | | | Code that to preserve bytearrays, eliminate unnecessary string rep generation, increase efficiency, and encapsulate access to internal rep details. | ||||
| * | | Where feasible, convert concatenation panics into errors. | dgp | 2016-11-29 | 1 | -9/+46 |
| | | | |||||
| * | | Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix ↵ | jan.nijtmans | 2016-11-29 | 5 | -15/+5 |
| | | | | | | | | | | | | compile-error (non-debug) in tclDictObj.c, from previous commit | ||||
| * | | more internal use of size_t (in stead of int) | jan.nijtmans | 2016-11-29 | 4 | -42/+39 |
| | | | |||||
| * | | Eliminate some macros that are no longer used/needed. | jan.nijtmans | 2016-11-25 | 7 | -36/+19 |
| | | | |||||
| * | | Allow [array names -regexp] to use backreferences. This capability was ↵ | andy | 2016-11-25 | 1 | -3/+10 |
| | | | | | | | | | | | | broken by [71270e9141]. See also bug [1366683]. | ||||
| * | | Remove spurious article in comments | andy | 2016-11-25 | 1 | -2/+2 |
| | | | |||||
| * | | Partially backout [ef4da65408] because AppendPrintfToObjVA() (used ↵ | andy | 2016-11-24 | 1 | -2/+2 |
| | | | | | | | | | | | | indirectly by [tcl::unsupported::disassemble]) does not yet support wide and bignum arguments. This fixes a SIGSEGV in compile.test and makes [disassemble] work again. | ||||
| * | | Make compileEpoch "unsigned int", and start counting at 1. | jan.nijtmans | 2016-11-24 | 3 | -3/+3 |
| | | | |||||
| * | | typos | jan.nijtmans | 2016-11-24 | 3 | -3/+3 |
| | | | |||||
| * | | Corrections to misleading comments. | dkf | 2016-11-22 | 1 | -5/+6 |
| | | | |||||
| * | | More internal use of size_t in stead of int. | jan.nijtmans | 2016-11-21 | 8 | -23/+19 |
| | | |