summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | Merge trunk. Implement sequences like "0x", "0b" and "0o" as well. And also ↵jan.nijtmans2016-12-222-18/+146
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the "." for doubles and floats.
| | | * | | | | | | | | | Experimental (partial) fix for ↵jan.nijtmans2016-12-215-71/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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.
| * | | | | | | | | | | | (cherry-pick): Update zlib to version 1.2.9. Dll's and *.lib files not ↵jan.nijtmans2017-01-0198-1810/+8661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updated yet
* | | | | | | | | | | | | Update zlib to version 1.2.9. Dll's and *.lib files not updated yetjan.nijtmans2017-01-0198-1810/+8661
| | | | | | | | | | | | |
* | | | | | | | | | | | | Update -DMSTATS functionality, for possible total memory sizes > 2Gb. One ↵jan.nijtmans2016-12-232-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more place where use of size_t can increase range.
* | | | | | | | | | | | | Eliminate the internal macro/function TclNewIntObj: In all cases ↵jan.nijtmans2016-12-236-26/+19
| |_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclNewLongObj is just as good.
* | | | | | | | | | | | Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵jan.nijtmans2016-12-211-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.nijtmans2016-12-211-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.nijtmans2016-12-211-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.
* | | | | | | | | | | Document that from the "exact" parameter of Tcl_InitStubs(), only bit 0 has ↵jan.nijtmans2016-12-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | meaning.
* | | | | | | | | | | more internal use of size_t in stead of int.jan.nijtmans2016-12-207-56/+59
| | | | | | | | | | |
* | | | | | | | | | | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-2011-23/+23
| |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.nijtmans2016-12-162-9/+4
| | | | | | | | | |
* | | | | | | | | | Add back testcase winFile-4.10. This test passes anyway, even though it ↵jan.nijtmans2016-12-151-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | appeared to be Windows 2000 only.
* | | | | | | | | | Add "file join $grandParentDir tcl8.? library" as possible path for a valid ↵jan.nijtmans2016-12-156-88/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | init.tcl. Some simplifications in use of test restrictions.
* | | | | | | | | | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jan.nijtmans2016-12-143-0/+86
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | "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_printfjan.nijtmans2016-12-143-1/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "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.nijtmans2016-12-021-3/+13
| | | | | | | | | |
* | | | | | | | | | Avoid "warning: format '%llu' expects argument of type 'long long unsigned ↵andy2016-12-021-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 bytearraydgp2016-12-021-22/+87
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | interfaces usable.
* | | | | | | | | Relocate the cmdEpoch bumps during command deletion so that command resolutiondgp2016-12-021-7/+15
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | caching works properly in deletion callbacks (destructors!) and delete traces.
| * | | | | | | | | Remove dup line.dgp_cmd_epochdgp2016-12-021-6/+5
| | | | | | | | | |
| * | | | | | | | | Reports from NSF that command epoch bumping isn't properly timed.dgp2016-12-011-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.nijtmans2016-12-022-13/+17
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | (now without edit-error in tcl.h, thanks Don!)
| * | | | | | | | | Repair what appears to be a stray edit error. This restores ability todgp2016-12-021-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.nijtmans2016-12-023-13/+17
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | Moved to feature branch temporarily. Breaks build.
* | | | | | | | | So long as we register only one, we can have multiple Tcl_ObjTypes withdgp2016-12-011-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 bytearraysdgp2016-12-012-23/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | as bytearrays without all this fussing about over purity.
* | | | | | | | | compatability -> compatibilityjan.nijtmans2016-12-0111-16/+16
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | / / / / | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | compatability -> compatibilityjan.nijtmans2016-12-0110-15/+15
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | compatability -> compatibilityjan.nijtmans2016-12-0111-16/+16
| | | | | | | |
* | | | | | | | Route all [string repeat] operations through a common implementation.dgp2016-11-303-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.dgp2016-11-291-9/+46
| | | | | | | |
* | | | | | | | Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix ↵jan.nijtmans2016-11-295-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compile-error (non-debug) in tclDictObj.c, from previous commit
* | | | | | | | more internal use of size_t (in stead of int)jan.nijtmans2016-11-298-64/+59
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Eliminate some macros that are no longer used/needed.jan.nijtmans2016-11-257-36/+19
| |_|_|/ / / |/| | | | |
* | | | | | Allow [array names -regexp] to use backreferences. This capability was ↵andy2016-11-252-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | broken by [71270e9141]. See also bug [1366683].
* | | | | | Remove spurious article in commentsandy2016-11-251-2/+2
| |_|_|_|/ |/| | | |
* | | | | Partially backout [ef4da65408] because AppendPrintfToObjVA() (used ↵andy2016-11-241-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.nijtmans2016-11-243-3/+3
| | | |
* | | | typosjan.nijtmans2016-11-243-3/+3
| | | |
* | | | Corrections to misleading comments.dkf2016-11-221-5/+6
| |_|/ |/| |
* | | More internal use of size_t in stead of int.jan.nijtmans2016-11-218-23/+19
| | |
* | | Minor: fix the indentation of comments.dkf2016-11-181-24/+26
| | |
* | | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcljan.nijtmans2016-11-183-3/+107
|\ \ \ | |/ /
| * | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two ↵jan.nijtmans2016-11-1812-8699/+10
| | | | | | | | | | | | missing "static" keywords in tclUnixNotfy.c. Remove some more files in libtommath directory which are not useful for Tcl.
* | | Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-18161-15484/+9439
|\ \ \ | | | | | | | | | | | | to 1.0
| * | | Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since ↵libtommath_1_0jan.nijtmans2016-11-174-18/+37
| | | | | | | | | | | | | | | | the radix_size of "9" should return 2, not 3. Add test-case to prove that.
| * | | Restore bn_mp_add_d.c to exact copy of libtommath-1.0 version: Since the ↵jan.nijtmans2016-11-171-3/+2
| | | | | | | | | | | | | | | | mp_clamp() function already restores the sign of it's argument to positive if c->used ==0, it is not necessary to do that twice. Therefore, the original version of the code is correct.
| * | | Add test-case for mp_iseven(). If mp_iseven(0) ever returns 0, we will be ↵jan.nijtmans2016-11-173-3/+31
| | | | | | | | | | | | | | | | warned that we are using the wrong mp_iseven() function.