Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix [b241e4ccc0]: Error while building with Tcl 8.7a5... | jan.nijtmans | 2022-01-14 | 1 | -5/+5 |
| | |||||
* | Fix "make checkstubs": A few more MODULE_SCOPE libtommath functions | jan.nijtmans | 2021-02-24 | 1 | -1/+6 |
| | |||||
* | Make sure MODULE_SCOPE is always defined correctly, for C++ compilers too | jan.nijtmans | 2021-01-25 | 1 | -1/+5 |
| | |||||
* | Add mp_unpack() to the libtommath stub table, so this function is available ↵ | jan.nijtmans | 2021-01-13 | 1 | -3/+9 |
| | | | | to extensions (and to Tcl itself, but not used yet) | ||||
* | Possible simple solution for [4663e0636]: If TCL_NO_TOMMATH_H is defined, ↵ | jan.nijtmans | 2020-05-19 | 1 | -1/+1 |
| | | | | tclTomMath.h provides its own usable mp_int type (and some more) without the need for <tommath.h> | ||||
* | Merge 8.7 and (hopefully) fix Travis build with C++ | jan.nijtmans | 2019-12-13 | 1 | -1/+9 |
|\ | |||||
| * | Optimize mp_mul for the case a==b | jan.nijtmans | 2019-12-13 | 1 | -0/+3 |
|/ | |||||
* | Tweak visibility of some libtommath symbols and add --with-system-libtommath ↵ | jan.nijtmans | 2019-11-25 | 1 | -4/+27 |
| | | | | configure option (as requested by Pietro Cerutti) | ||||
* | Update makefile.vc and rules.vc for using libtommath.dll/zlib1.dll in stead ↵ | jan.nijtmans | 2019-11-18 | 1 | -1/+1 |
| | | | | of statically linking libtommath, whenever possible. | ||||
* | Merge 8.7 | jan.nijtmans | 2019-11-15 | 1 | -10/+4 |
|\ | |||||
| * | Merge 8.6 | jan.nijtmans | 2019-11-15 | 1 | -8/+3 |
| |\ | |||||
| | * | Remove mp_get_bit() from the libtommath stub table: It wasn't present in Tcl ↵ | jan.nijtmans | 2019-11-15 | 1 | -7/+3 |
| | | | | | | | | | | | | 8.6.9, isn't used anywhere in Tcl, and is going to be deprecated in libtommath. | ||||
| * | | Merge 8.6. | jan.nijtmans | 2019-11-15 | 1 | -5/+5 |
| |\ \ | | |/ | | | | Also fix the use of WUR (warn unused result) in libtommath function signatures: this cannot be used in combination with "deprecated" or "nostub" | ||||
| | * | Add support for ↵ | jan.nijtmans | 2019-11-08 | 1 | -9/+59 |
| | | | | | | | | | | | | | | | mp_init_i32/mp_init_i64/mp_init_l/mp_init_ll/mp_init_u32/mp_init_u64/mp_init_ul/mp_init_ull/mp_set_ull, the main functions in libtommath 1.2.0 for setting values directly in mp_int's. One new stub entry (mp_set_ull), the others make use of already existing stub entries. This is 100% fully upwards compatible. | ||||
* | | | Merge 8.7. Finish implementation. | jan.nijtmans | 2019-11-12 | 1 | -47/+66 |
|\ \ \ | |/ / | |||||
* | | | Merge 8.7 | jan.nijtmans | 2019-11-11 | 1 | -89/+144 |
|\ \ \ | |/ / | |||||
| * | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵ | jan.nijtmans | 2019-11-08 | 1 | -12/+49 |
| | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt | ||||
| * | | Merge 8.6. | jan.nijtmans | 2019-11-08 | 1 | -3/+6 |
| |\ \ | | |/ | | | | Add support for libtommath's mp_set_ll() function, since that's the replacement for the deprecated TclBNInitBignumFromWideInt() function. | ||||
| * | | Deprecate mp_div_3(): Will be private function in future libtommath, not ↵ | jan.nijtmans | 2019-11-07 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | used in Tcl. Deprecate mp_sqr() stub entry: Will be converted to macro calling mp_mul(). | ||||
* | | | More WIP: All makefile builds appear to work fine, makefile.vc build still ↵ | jan.nijtmans | 2019-11-05 | 1 | -110/+94 |
| | | | | | | | | | | | | to be done. | ||||
* | | | Add compat/stdint.h, upgrade to libtommath 1.2.0, adapt as much as possible ↵ | jan.nijtmans | 2019-11-01 | 1 | -36/+38 |
|/ / | | | | | | | accordingly (still WIP) | ||||
* | | Merge 8.7 | jan.nijtmans | 2019-10-31 | 1 | -13/+6 |
|\ \ | |||||
| * \ | Merge 8.6 | jan.nijtmans | 2019-10-30 | 1 | -12/+5 |
| |\ \ | | |/ | |||||
| | * | Change mp_isodd() (back) from libtommath stub entry to macro. libtommath ↵ | jan.nijtmans | 2019-10-30 | 1 | -10/+3 |
| | | | | | | | | | | | | | | | changed it back to macro too in its master branch, we better do the same. Better usage of mp_isneg() macro, in stead of directly comparing sign with MP_NEG/MP_ZPOS. | ||||
* | | | More tweaks, hopefully fixing the Travis build | jan.nijtmans | 2019-10-30 | 1 | -22/+13 |
| | | | |||||
* | | | More tweaks | jan.nijtmans | 2019-10-29 | 1 | -4/+8 |
| | | | |||||
* | | | WIP: Use unsigned int in stead of mp_digit in libtommath stub entries. | jan.nijtmans | 2019-10-29 | 1 | -27/+57 |
|/ / | | | | | This make libtommath's API independant whether compiled with MP_64BIT or not | ||||
* | | More code cleanup related to libtommath 1.2.0: Adapt naming of (internal) ↵ | jan.nijtmans | 2019-10-25 | 1 | -10/+10 |
| | | | | | | | | symbols to new conventions. Remove deprecated declarations which were never implemented/included by Tcl. | ||||
* | | Merge 8.6. | jan.nijtmans | 2019-10-25 | 1 | -18/+9 |
|\ \ | |/ | | | Also remove unused variable in unix/tclUnixFile.c | ||||
| * | Put #define's in alphabetical order. | jan.nijtmans | 2019-10-25 | 1 | -15/+9 |
| | | | | | | | | Use MP_DIGIT_BIT in stead of (deprecated) DIGIT_BIT everywhere. (just code cleanup, nothing funcional) | ||||
* | | Merge 8.6 | jan.nijtmans | 2019-10-24 | 1 | -15/+12 |
|\ \ | |/ | |||||
| * | Combine two libtommath stub entries, which (almost) do the same | jan.nijtmans | 2019-10-24 | 1 | -9/+7 |
| | | |||||
| * | Combine two libtommath stub entries, which do exactly the same. | jan.nijtmans | 2019-10-23 | 1 | -7/+6 |
| | | | | | | Fix mp_init_set_int stub, handling the situation that mp_init() fails (however unlikely) | ||||
* | | Add support for libtommath's MP_WUR annotation to genStubs.tcl. Not enforced ↵ | jan.nijtmans | 2019-10-24 | 1 | -100/+100 |
| | | | | | | | | yet by the Tcl core, but extensions will encounter the libtommath warnings. Can be switched off. | ||||
* | | Deprecate mp_unsigned_bin_size, mp_init_set_int, mp_set_int, which are ↵ | jan.nijtmans | 2019-10-23 | 1 | -17/+17 |
| | | | | | | | | | | deprecated in libtommath 1.2.0. In stead, add new function mp_set_ul to the build (mp_ubin_size was already included in the build earlier) | ||||
* | | Merge 8.6. | jan.nijtmans | 2019-10-23 | 1 | -3/+10 |
|\ \ | |/ | | | Also unbreak windows build, broken since [0f2870649c804dd8]. | ||||
| * | Extend libtommath stub table, so extension writers can move away from ↵ | jan.nijtmans | 2019-10-23 | 1 | -3/+27 |
| | | | | | | | | deprecated libtommath functions. | ||||
* | | Deprecate mp_get_bit, mp_expt_d_ex, mp_toradix_n, mp_to_unsigned_bin, ↵ | jan.nijtmans | 2019-10-22 | 1 | -16/+38 |
| | | | | | | | | | | mp_to_unsigned_bin_n, because they are deprecated in libtommath 1.2.0 too. Add replacement functions mp_to_ubin, mp_ubin_size and mp_to_radix to libtommath stub table. | ||||
* | | Merge 8.6 | jan.nijtmans | 2019-10-22 | 1 | -150/+162 |
|\ \ | |/ | |||||
| * | Merge libtommath 1.2.0-rc3 | jan.nijtmans | 2019-10-21 | 1 | -116/+119 |
| | | |||||
| * | Merge some libtommath changes (mainly additon of MP_CALLOC) | jan.nijtmans | 2019-10-17 | 1 | -0/+3 |
| | | |||||
| * | Update to latest Tcl (core-8-6-branch) and latest libtommath (1.2.0-rc1) | jan.nijtmans | 2019-10-17 | 1 | -1/+5 |
| |\ | |||||
| * \ | Merge core-8-6-branch, and merge latest libtommath | jan.nijtmans | 2019-07-28 | 1 | -2/+3 |
| |\ \ | | |/ | |||||
| * | | Latest libtommath's "develop" branch adapted for Tcl 8.6. And Tcl 8.6 ↵ | jan.nijtmans | 2019-06-14 | 1 | -5/+5 |
| |/ | | | | | | | adapted for changes in libtommath | ||||
* | | Merge 8.6 | jan.nijtmans | 2019-05-31 | 1 | -8/+12 |
|\ \ | |/ | |||||
| * | Rename mp_get_bit to s_mp_get_bit, rename mp_tc_div_2d to mp_signed_rsh, ↵ | jan.nijtmans | 2019-05-31 | 1 | -8/+11 |
| | | | | | | | | remove mp_tc_(add|or|xor) functions in favor of mp_(add|or|xor) which can now handle twos-complement. Following ongoing changes in libtommath development. | ||||
* | | Merge 8.6 | jan.nijtmans | 2019-05-14 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Merge 8.5 | jan.nijtmans | 2019-05-14 | 1 | -0/+7 |
| |\ | |||||
| | * | DIGIT_BIT -> MP_DIGIT_BIT, since DIGIT_BIT is deprecated in future ↵ | jan.nijtmans | 2019-05-14 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | libtommath versions. So, better stop using it at all. Also add some other defines/typdefs for future libtommath compatibility. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2019-04-05 | 1 | -6/+11 |
|\ \ \ | |/ / |