Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 11 | -16/+16 |
|\ | |||||
| * | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 10 | -15/+15 |
| |\ | |||||
| | * | compatability -> compatibility | jan.nijtmans | 2016-12-01 | 11 | -16/+16 |
| | | | |||||
* | | | 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 | 8 | -64/+59 |
| | | | |||||
* | | | 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 | 2 | -3/+17 |
| | | | | | | | | | | | | 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 |
| | | | |||||
* | | | Minor: fix the indentation of comments. | dkf | 2016-11-18 | 1 | -24/+26 |
| | | | |||||
* | | | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl | jan.nijtmans | 2016-11-18 | 3 | -3/+107 |
|\ \ \ | |/ / | |||||
| * | | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two ↵ | jan.nijtmans | 2016-11-18 | 12 | -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.nijtmans | 2016-11-18 | 161 | -15484/+9439 |
|\ \ \ | | | | | | | | | | | | | to 1.0 | ||||
| * | | | Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since ↵libtommath_1_0 | jan.nijtmans | 2016-11-17 | 4 | -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.nijtmans | 2016-11-17 | 1 | -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.nijtmans | 2016-11-17 | 3 | -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.nijtmans | 2016-11-17 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | | | | | | given a dedicated test-case. Now everything taken from "gahr-ticket-e6f27aa56f" branch is handled. | ||||
| | * \ \ | merge trunkgahr_ticket_e6f27aa56f | jan.nijtmans | 2016-11-16 | 261 | -6297/+7879 |
| | |\ \ \ | |||||
| | * \ \ \ | Merge trunk | gahr | 2016-06-10 | 168 | -2315/+3249 |
| | |\ \ \ \ | |||||
| | * | | | | | [e6f27aa56f] Add files I missed in my previous commit | gahr | 2016-03-13 | 10 | -0/+755 |
| | | | | | | | |||||
| | * | | | | | [e6f27aa56f] Initial import of libtommath-1.0 | gahr | 2016-03-11 | 201 | -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.nijtmans | 2016-11-17 | 87 | -37790/+695 |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | from libtommath 1.0 (in tclExecute.c). | ||||
| * \ \ \ \ \ \ | (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵ | jan.nijtmans | 2016-11-16 | 165 | -9960/+17182 |
| |\ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it. | ||||
| | * | | | | | | import libtommath 1.0 | jan.nijtmans | 2016-11-16 | 179 | -16006/+23148 |
| | | | | | | | | |||||
| | * | | | | | | Import of tommath 0.42.0 | jan.nijtmans | 2011-03-14 | 148 | -856/+6520 |
| | | | | | | | | |||||
| | * | | | | | | Import of libtommath 0.41 | jan.nijtmans | 2011-03-14 | 17 | -552/+1138 |
| | | | | | | | | | | | | | | | | | | | | | | | | Import of libtommath 0.41 | ||||
| | * | | | | | | Import of libtommath 0.40 | jan.nijtmans | 2011-03-14 | 5 | -9/+17 |
| | | | | | | | | |||||
| | * | | | | | | re-import ltm-0.39, with original RCS-ID's | jan.nijtmans | 2011-03-14 | 139 | -537/+537 |
| | | | | | | | | |||||
* | | | | | | | | Remove extra space in documentation for [file stat] | andy | 2016-11-18 | 1 | -1/+1 |
| | | | | | | | | |||||
* | | | | | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵ | jan.nijtmans | 2016-11-17 | 5 | -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.nijtmans | 2016-11-17 | 5 | -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.nijtmans | 2016-11-17 | 5 | -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.nijtmans | 2016-11-17 | 66 | -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.nijtmans | 2016-11-17 | 61 | -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.nijtmans | 2016-11-16 | 24 | -120/+121 |
| | | | | | | | | | | | | | | | | | | | | | | | | type-casts which are not necessary any more. |