Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.7 | jan.nijtmans | 2019-11-15 | 1 | -4/+1 |
|\ | |||||
| * | Merge 8.6 | jan.nijtmans | 2019-11-15 | 1 | -3/+0 |
| |\ | |||||
| | * | Remove mp_get_bit() from the libtommath stub table: It wasn't present in Tcl ↵ | jan.nijtmans | 2019-11-15 | 1 | -3/+0 |
| | | | | | | | | | | | | 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 | -2/+2 |
| |\ \ | | |/ | | | | 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 | -4/+7 |
| | | | | | | | | | | | | | | | 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 | -21/+15 |
|\ \ \ | |/ / | |||||
* | | | Merge 8.7 | jan.nijtmans | 2019-11-11 | 1 | -13/+13 |
|\ \ \ | |/ / | |||||
| * | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵ | jan.nijtmans | 2019-11-08 | 1 | -6/+9 |
| | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt | ||||
| * | | Merge 8.6. | jan.nijtmans | 2019-11-08 | 1 | -0/+3 |
| |\ \ | | |/ | | | | 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 | -2/+2 |
| | | | | | | | | | | | | | | | 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 | -10/+16 |
| | | | | | | | | | | | | to be done. | ||||
* | | | Add compat/stdint.h, upgrade to libtommath 1.2.0, adapt as much as possible ↵ | jan.nijtmans | 2019-11-01 | 1 | -14/+14 |
|/ / | | | | | | | accordingly (still WIP) | ||||
* | | Merge 8.7 | jan.nijtmans | 2019-10-31 | 1 | -4/+1 |
|\ \ | |||||
| * \ | Merge 8.6 | jan.nijtmans | 2019-10-30 | 1 | -4/+1 |
| |\ \ | | |/ | |||||
| | * | Change mp_isodd() (back) from libtommath stub entry to macro. libtommath ↵ | jan.nijtmans | 2019-10-30 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | 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. | ||||
* | | | WIP: Use unsigned int in stead of mp_digit in libtommath stub entries. | jan.nijtmans | 2019-10-29 | 1 | -9/+9 |
|/ / | | | | | 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 | -2/+2 |
| | | | | | | | | symbols to new conventions. Remove deprecated declarations which were never implemented/included by Tcl. | ||||
* | | Merge 8.6 | jan.nijtmans | 2019-10-24 | 1 | -5/+2 |
|\ \ | |/ | |||||
| * | Combine two libtommath stub entries, which (almost) do the same | jan.nijtmans | 2019-10-24 | 1 | -4/+1 |
| | | |||||
| * | Combine two libtommath stub entries, which do exactly the same. | jan.nijtmans | 2019-10-23 | 1 | -3/+0 |
| | | | | | | 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 | -50/+50 |
| | | | | | | | | 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 | -6/+3 |
| | | | | | | | | | | 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 | -0/+3 |
|\ \ | |/ | | | Also unbreak windows build, broken since [0f2870649c804dd8]. | ||||
| * | Extend libtommath stub table, so extension writers can move away from ↵ | jan.nijtmans | 2019-10-23 | 1 | -1/+14 |
| | | | | | | | | deprecated libtommath functions. | ||||
* | | Deprecate mp_get_bit, mp_expt_d_ex, mp_toradix_n, mp_to_unsigned_bin, ↵ | jan.nijtmans | 2019-10-22 | 1 | -7/+17 |
| | | | | | | | | | | 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 | -67/+65 |
|\ \ | |/ | |||||
| * | Merge libtommath 1.2.0-rc3 | jan.nijtmans | 2019-10-21 | 1 | -58/+58 |
| | | |||||
| * | Merge core-8-6-branch, and merge latest libtommath | jan.nijtmans | 2019-07-28 | 1 | -1/+1 |
| |\ | |||||
| * | | Latest libtommath's "develop" branch adapted for Tcl 8.6. And Tcl 8.6 ↵ | jan.nijtmans | 2019-06-14 | 1 | -1/+1 |
| |/ | | | | | | | adapted for changes in libtommath | ||||
* | | Merge 8.6 | jan.nijtmans | 2019-05-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Rename mp_get_bit to s_mp_get_bit, rename mp_tc_div_2d to mp_signed_rsh, ↵ | jan.nijtmans | 2019-05-31 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
| * | integrate sebres-8-6-tommath-1-1 - cherry-picking of several optimizations ↵ | sebres | 2019-04-01 | 1 | -0/+15 |
| |\ | | | | | | | | | | and simplifications of 8.7 (tommath 1.1), well-arranged branching of long/wide/bignum base and exponent cases, test-cases extended to cover all this branches and edge cases. | ||||
| | * | partial cherry pick of [e8e92eb381d689ab]: One more libtommath function, ↵ | sebres | 2019-02-04 | 1 | -0/+4 |
| | | | | | | | | | | | | mp_tc_div_2d, which simplifies code. | ||||
| | * | partial cherry pick of [c5c83014d6]: Many simplifications in tclExecute.c, ↵ | sebres | 2019-02-04 | 1 | -0/+11 |
| | | | | | | | | | | | | now that libtommath provides new functions mp_tc_and, mp_tc_or and mp_tc_xor | ||||
| * | | Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵ | jan.nijtmans | 2019-03-25 | 1 | -0/+7 |
| |/ | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes. | ||||
| * | Update libtommath to latest stable release (1.1.0) | jan.nijtmans | 2019-02-01 | 1 | -34/+39 |
| | | |||||
* | | Make internal libtommath stub entries deprecated: Those are not supposed to ↵ | jan.nijtmans | 2019-03-14 | 1 | -11/+11 |
| | | | | | | | | be called in extensions | ||||
* | | Use mp_get_bit() instead of mp_iseven()/mp_isodd(): Those latter functions ↵ | jan.nijtmans | 2019-03-08 | 1 | -0/+3 |
| | | | | | | | | are macro's currently, but will be real function in next libtommath. Bad idea for Tcl to depend on ... | ||||
* | | One more libtommath function, mp_tc_div_2d, which simplifies code. Some more ↵ | jan.nijtmans | 2019-01-22 | 1 | -0/+4 |
| | | | | | | | | code readability improvements. | ||||
* | | Many simplifications in tclExecute.c, now that libtommath provides new ↵ | jan.nijtmans | 2019-01-22 | 1 | -0/+11 |
| | | | | | | | | functions mp_tc_and, mp_tc_or and mp_tc_xor | ||||
* | | merge 8.6 | jan.nijtmans | 2018-07-31 | 1 | -0/+3 |
|\ \ | |/ | |||||
* | | 'const'ify more libtommath functions. All functions in ↵ | jan.nijtmans | 2017-09-15 | 1 | -6/+6 |
| | | | | | | | | generic/tclTomMath.decls (used by Tcl) are done now. | ||||
* | | Make mp_get_long and mp_set_long available to tommath-enabled Tcl ↵ | jan.nijtmans | 2017-09-13 | 1 | -3/+9 |
| | | | | | | | | extensions. Deprecate the internal TclBNInitBignumFrom* functions, in favor of the official tommath functions with the same purpose. | ||||
* | | Many 'const' addtions in libtommath where it makes sense. To be submitted ↵ | jan.nijtmans | 2017-09-11 | 1 | -25/+25 |
| | | | | | | | | back to the libtommath guys. | ||||
* | | Add some more functions from libtommath for availability within Tcl (mainly ↵ | jan.nijtmans | 2017-09-08 | 1 | -2/+9 |
| | | | | | | | | the 'long long' variants). Add more 'const' keywords there too. | ||||
* | | Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵ | jan.nijtmans | 2016-11-18 | 1 | -2/+7 |
|\ \ | |/ |/| | | | to 1.0 | ||||
| * | (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵ | jan.nijtmans | 2016-11-16 | 1 | -0/+5 |
|/ | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it. | ||||
* | Fix comments at the top of the *.decls files, which are not correct any more ↵ | jan.nijtmans | 2015-11-24 | 1 | -1/+1 |
|\ | | | | | | | for a long long time | ||||
| * | Fix comments at the top of the *.decls files, which are not correct any more ↵ | jan.nijtmans | 2015-11-24 | 1 | -1/+1 |
| | | | | | | | | for a long long time. | ||||
* | | Expose some of the TclBN operations through the internal API, so clients of ↵ | dkf | 2015-10-28 | 1 | -4/+19 |
| | | | | | | | | the bignum code don't need to use tclTomMath.h directly. |