summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* implement "I64" format in Tcl_ObjPrintf as well. Still to be tested.jan.nijtmans2016-12-021-3/+13
|
* 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.
| * | | Bring in fix for mp_iseven().... almost missed that .... This should be ↵jan.nijtmans2016-11-171-1/+1
| |\ \ \ | | | | | | | | | | | | | | | given a dedicated test-case. Now everything taken from "gahr-ticket-e6f27aa56f" branch is handled.
| | * \ \ merge trunkgahr_ticket_e6f27aa56fjan.nijtmans2016-11-16261-6297/+7879
| | |\ \ \
| | * \ \ \ Merge trunkgahr2016-06-10168-2315/+3249
| | |\ \ \ \
| | * | | | | [e6f27aa56f] Add files I missed in my previous commitgahr2016-03-1310-0/+755
| | | | | | |
| | * | | | | [e6f27aa56f] Initial import of libtommath-1.0gahr2016-03-11201-31977/+10065
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit brings in libtommath-1.0, as of tag v1.0 of the upstream repository at https://github.com/libtom/libtommath. Only the top-level directory has been imported: the demo, etc, logs, mtest, pics, pre_gen, and tombc directories have been removed from our repo. The stubs tables have been regenerated to accomodate for the new function: mp_expt_d_ex(mp_int *a, mp_digit b, mp_int *c, int fast); See https://github.com/libtom/libtommath/commit/e9b1837 for details. Only the unix build system has been modified for now. Windows and Mac OSX will come later.
| * | | | | | Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-1787-37790/+695
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | from libtommath 1.0 (in tclExecute.c).
| * \ \ \ \ \ \ (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-16165-9960/+17182
| |\ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
| | * | | | | | import libtommath 1.0jan.nijtmans2016-11-16179-16006/+23148
| | | | | | | |
| | * | | | | | Import of tommath 0.42.0jan.nijtmans2011-03-14148-856/+6520
| | | | | | | |
| | * | | | | | Import of libtommath 0.41jan.nijtmans2011-03-1417-552/+1138
| | | | | | | | | | | | | | | | | | | | | | | | Import of libtommath 0.41
| | * | | | | | Import of libtommath 0.40jan.nijtmans2011-03-145-9/+17
| | | | | | | |
| | * | | | | | re-import ltm-0.39, with original RCS-ID'sjan.nijtmans2011-03-14139-537/+537
| | | | | | | |
* | | | | | | | Remove extra space in documentation for [file stat]andy2016-11-181-1/+1
| | | | | | | |
* | | | | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-175-23/+77
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| * | | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-175-23/+77
| |\ \ \ \ \ \ | | | |_|_|_|/ | | |/| | | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| | * | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-175-23/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
* | | | | | | Remove subdirectories of "libtommath", and various individual related files, ↵jan.nijtmans2016-11-1766-23850/+15
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | | not taking any part in the Tcl build. Makes the Tcl distribution smaller without sacrificing anything. And remove the TCL_TOMMATH define, which was never used for anything.
| * | | | | Remove subdirectories of "libtommath", and various individual related files, ↵jan.nijtmans2016-11-1761-23840/+12
| | | | | | | | | | | | | | | | | | | | | | | | not taking any part in the Tcl build. Makes the Tcl distribution smaller without sacrificing anything.
* | | | | | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-1624-120/+121
| | | | | | | | | | | | | | | | | | | | | | | | type-casts which are not necessary any more.