summaryrefslogtreecommitdiffstats
path: root/libtommath
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2020-06-221-1/+1
|\
| * Change all *.sln to CRLF format, so they are directly usable in Visual ↵jan.nijtmans2020-06-221-1/+1
| | | | | | | | Studio projects
| * Make mp_mul(a,a,c) equivalent to mp_sqr(a,c). Optimization backported from ↵jan.nijtmans2019-11-071-1/+3
| | | | | | | | libtommath.
* | Merge 8.7jan.nijtmans2020-02-131-4/+0
|\ \
| * | tommath_private.h : Remove special C4146 handling: already done in ↵jan.nijtmans2020-01-101-4/+0
| | | | | | | | | | | | | | | tclWinPort.h too. tcl.pc.in: Make sure that libtommath >= 1.2.0
| * | One #undef too muchjan.nijtmans2019-12-131-3/+0
| | |
* | | Merge 8.7 and (hopefully) fix Travis build with C++jan.nijtmans2019-12-132-2/+16
|\ \ \ | |/ /
| * | Don't export mp_sqr() directly from libtcljan.nijtmans2019-12-131-0/+5
| | |
| * | Optimize mp_mul for the case a==bjan.nijtmans2019-12-132-2/+7
|/ /
* | Implement TIP's #538: Externalize libtommathjan.nijtmans2019-12-1336-115/+233
|\ \
| | \
| | \
| *-. \ Merge 8.7, and take over some fixes for VC++ 6.0 from Sebres.jan.nijtmans2019-11-271-5/+5
| |\ \ \ | |_|/ / |/| | |
| | * | fixes compile errors for old VC versions, as well as tommath include path, ↵sergey.brester2019-11-271-17/+17
| |/ / | | | | | | | | | there are two files with this name and wrapper "generic/tommath.h" gets included, but "libtommath/tommath.h" is never included, because did not addressed directly with this name (first from path wins).
| * | Undo minor tweak, no longer necessaryjan.nijtmans2019-11-221-1/+1
| | |
| * | Merge 8.7, and update to latest libtommath (support/1.x branch)jan.nijtmans2019-11-2225-50/+74
| |\ \ | |/ / |/| |
| * | Update makefile.vc and rules.vc for using libtommath.dll/zlib1.dll in stead ↵jan.nijtmans2019-11-181-0/+2
| | | | | | | | | | | | of statically linking libtommath, whenever possible.
| * | Merge 8.7. Finish implementation.jan.nijtmans2019-11-121-1/+21
| |\ \ | |/ / |/| |
| * | Merge 8.7jan.nijtmans2019-11-112-2/+8
| |\ \ | |/ / |/| |
| * | Fix travis build win32, 32-bit mingwjan.nijtmans2019-11-082-0/+0
| | |
| * | More WIP: All makefile builds appear to work fine, makefile.vc build still ↵jan.nijtmans2019-11-058-46/+72
| | | | | | | | | | | | to be done.
| * | Add compat/stdint.h, upgrade to libtommath 1.2.0, adapt as much as possible ↵jan.nijtmans2019-11-018-24/+65
| | | | | | | | | | | | accordingly (still WIP)
| * | Re-base to core-8-branchjan.nijtmans2019-11-015-0/+0
| |\ \
| | * \ Merge 8.7. Complete implementation for MSVC and for UNIX.jan.nijtmans2019-04-092-0/+0
| | |\ \
| | * \ \ Merge 8.7. Intended operation completed for mingw-w64 (but not yet for other ↵jan.nijtmans2019-04-089-16/+29
| | |\ \ \ | | | |/ / | | | | | | | | | | compilers/platforms)
| | * | | Merge 8.7. Add checks for libtommath library to configure script (experimental)jan.nijtmans2019-04-0614-72/+62
| | |\ \ \ | | | |/ /
| | * | | Merge 8.7 jan.nijtmans2019-04-041-68/+4
| | |\ \ \ | | | | | | | | | | | | Undo Tcl-specific changes in bn_mp_sqrt.c, and re-enable the two disabled test-cases: This proves the observed crash with DIBIT_BIT=60 is caused by those Tcl-specific changes!
| | * | | | More complete typedef for mp_word, for MP_8BIT and MP_16BIT as well.jan.nijtmans2019-03-281-2/+6
| | | | | |
| | * | | | Experiment: On platforms which support it (gcc), compiled libtommath with ↵jan.nijtmans2019-03-282-5/+9
| | |/ / / | | | | | | | | | | | | | | | DIGIT_BIT=60
* | | | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵jan.nijtmans2019-11-082-2/+2
| | | | | | | | | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt
* | | | | Deprecate mp_div_3(): Will be private function in future libtommath, not ↵jan.nijtmans2019-11-071-1/+3
|/ / / / | | | | | | | | | | | | | | | | used in Tcl. Deprecate mp_sqr() stub entry: Will be converted to macro calling mp_mul().
* | | | Merge 8.6jan.nijtmans2019-10-301-3/+0
|\ \ \ \ | | |_|/ | |/| |
* | | | Don't typedef mp_digit in tcl.h anymore, it is supposed to be brought in ↵jan.nijtmans2019-10-281-2/+3
| | | | | | | | | | | | | | | | | | | | from tclTomMath.h. Add test in configure scripts for <stdint.h> and <stdbool.h>. Not used by Tcl yet, probably handy for TEA extensions wanting to use that ;-)
* | | | More code cleanup related to libtommath 1.2.0: Adapt naming of (internal) ↵jan.nijtmans2019-10-2510-99/+42
| | | | | | | | | | | | | | | | symbols to new conventions. Remove deprecated declarations which were never implemented/included by Tcl.
* | | | Merge 8.6. jan.nijtmans2019-10-251-5/+5
|\ \ \ \ | |/ / / | | | | Also remove unused variable in unix/tclUnixFile.c
| * | | Put #define's in alphabetical order. jan.nijtmans2019-10-251-5/+5
| | | | | | | | | | | | | | | | Use MP_DIGIT_BIT in stead of (deprecated) DIGIT_BIT everywhere. (just code cleanup, nothing funcional)
* | | | Merge 8.6.jan.nijtmans2019-10-231-0/+3
|\ \ \ \ | |/ / / | | | | Also unbreak windows build, broken since [0f2870649c804dd8].
| * | | Extend libtommath stub table, so extension writers can move away from ↵jan.nijtmans2019-10-231-0/+3
| | | | | | | | | | | | | | | | deprecated libtommath functions.
* | | | Merge 8.6jan.nijtmans2019-10-22203-6635/+6320
|\ \ \ \ | |/ / /
| * | | Merge libtommath 1.2.0jan.nijtmans2019-10-221-1/+1
| |\ \ \
| | * \ \ Merge libtommath 1.2.0jan.nijtmans2019-10-221-1/+1
| | |\ \ \
| | | * | | Update libtommath to v1.2.0jan.nijtmans2019-10-221-1/+1
| | | | | |
| * | | | | Merge libtommath 1.2.0-rc3jan.nijtmans2019-10-218-10/+17
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge libtommath 1.2.0-rc3jan.nijtmans2019-10-218-10/+17
| | |\ \ \ \ | | | |/ / /
| | | * | | Update libtommath to v1.2.0-rc3jan.nijtmans2019-10-218-10/+17
| | | | | |
| * | | | | Merge latest libtommath changes (will be release 1.2.0)jan.nijtmans2019-10-186-11/+13
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge libtommathjan.nijtmans2019-10-186-11/+13
| | |\ \ \ \ | | | |/ / /
| | | * | | update libtommath to v1.2.0-rc2, with a few additional fixes.jan.nijtmans2019-10-186-11/+13
| | | | | |
| * | | | | Merge some libtommath changes (mainly additon of MP_CALLOC)jan.nijtmans2019-10-177-23/+17
| |\ \ \ \ \ | | |/ / / /
| | * | | | Put back MP_CALLOC, since it's going to stay in libtommathjan.nijtmans2019-10-178-23/+19
| | | | | |
| | | | | |
| | \ \ \ \
| *-. \ \ \ \ Update to latest Tcl (core-8-6-branch) and latest libtommath (1.2.0-rc1)jan.nijtmans2019-10-1774-1802/+1405
| |\ \ \ \ \ \ | | | |/ / / /
| | | * | | | Merge libtommathjan.nijtmans2019-10-1777-1789/+1395
| | | |\ \ \ \ | | | | |/ / /