summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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).
| * \ \ \ 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.
* | | | | (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
| | | | |
* | | | | 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.
* | | | | See Itcl Bug [1b28657c0e]. Make methodNameType honor the Tcl_ObjType contract.dkf2016-11-151-0/+1
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | See Itcl Bug [1b28657c0e]. Make methodNameType honor the Tcl_ObjType contract.dkf2016-11-151-0/+1
| |\ \ \ \
| | * | | | Slightly more efficient version as this is Hot Path code.bug_itcl_1b2865dkf2016-11-151-1/+1
| | | | | |
| | * | | | See Itcl Bug [1b28657c0e]. The methodNameType fails to honor the Tcl_ObjTypedgp2016-11-141-0/+1
| | | | | | | | | | | | | | | | | | contract. Need dkf review on suitability of this fix.
* | | | | | Merge core-8-6-branchjan.nijtmans2016-11-141-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Better fix for the usability of TCL_NO_DEPRECATED on MacOSXjan.nijtmans2016-11-141-1/+1
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Better fix for the usability of TCL_NO_DEPRECATED on MacOSX.jan.nijtmans2016-11-141-0/+2
| | | | | |
* | | | | | Merge tzdata2016i from IETFvenkat2016-11-124-39/+208
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge tzdata2016i from IETFvenkat2016-11-124-39/+208
| |\ \ \ \ \ | | |/ / / /
| | * | | | Update to tzdata2016i from IETFvenkat2016-11-124-39/+208
| | | | | |
* | | | | | Fix harmless gcc warning message: using "unsigned" doesn't serve any ↵jan.nijtmans2016-11-116-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | purpose, actually.
* | | | | | Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding ↵jan.nijtmans2016-11-112-3/+4
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | system" and encoding-free filesystems
| * | | | | Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding ↵jan.nijtmans2016-11-112-3/+4
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | system" and encoding-free filesystems
| | * | | | Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding ↵jan.nijtmans2016-11-112-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | system" and encoding-free filesystems
* | | | | | On OSX, there is a conflict with the "define panic" and definitions in "mach.h".jan.nijtmans2016-11-101-0/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | On OSX, there is a conflict with the "define panic" and definitions in "mach.h".jan.nijtmans2016-11-101-0/+2
| | | | | |
* | | | | | Route all [string last] operations through a common implementation.dgp2016-11-085-74/+122
| | | | | |
* | | | | | Purge disabled code.dgp2016-11-071-17/+0
| | | | | |
* | | | | | Refactor to channel all [string first] functions through a single ↵dgp2016-11-074-69/+112
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | implementation.
| * | | | | | Optimize case of all single-byte chars.dgp_string_finddgp2016-11-071-2/+20
| | | | | | |
| * | | | | | Consolidate the "find empty string" cases.dgp2016-11-071-16/+11
| | | | | | |
| * | | | | | Implement direct eval [string first] with the refactored engine.dgp2016-11-071-69/+9
| | | | | | |
| * | | | | | First draft refactoring the [string first] functionality.dgp2016-11-043-0/+90
|/ / / / / /
* | | | | | [824752f10e] Use LIST_MAX instead of INT_MAX for unknown number of elements ↵dgp2016-11-041-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | to the end of the list.
| * | | | | [8245752f10e] Use LIST_MAX instead of INT_MAX for unknown number of elementsdgp2016-11-041-1/+1
| | | | | | | | | | | | | | | | | | to the end of the list.
* | | | | | merge markdgp2016-11-040-0/+0
|\ \ \ \ \ \ | |/ / / / /
| * | | | | [824752f10e] More robust, portable check for integer overflow.dgp2016-11-041-5/+2
| |\ \ \ \ \ | | |/ / / /
| | * | | | [824752f10e] More robust, portable check for integer overflow.dgp2016-11-041-5/+2
| | | | | |
| * | | | | close forkdgp2016-11-041-2/+5
| |\ \ \ \ \
| | * \ \ \ \ merge core-8-5-branch ([824752f10e] Avoid calling Tcl_SetObjResult if interp ↵gahr2016-11-041-2/+5
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | is NULL)
* | | | | | | [824752f10e] More robust, portable check for integer overflow.dgp2016-11-041-5/+2
| | | | | | |
* | | | | | | close forkdgp2016-11-041-2/+5
|\ \ \ \ \ \ \