Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2021-03-04 | 1 | -1/+0 |
|\ | |||||
| * | Merge 8.5. Add unused stub table entries | jan.nijtmans | 2021-03-04 | 1 | -1/+0 |
| |\ | |||||
| | * | Add some more unused entries to the stub table, keeping up with the table ↵ | jan.nijtmans | 2021-03-04 | 1 | -1/+0 |
| | | | | | | | | | | | | size increase of higher Tcl versions | ||||
| | * | Add additional (dummy) stub entries in the libtommath stubtable | jan.nijtmans | 2019-10-24 | 1 | -0/+8 |
| | | | |||||
| | * | Update some libtommath functions to the latest trunk versions. Small step ↵ | jan.nijtmans | 2019-05-29 | 1 | -71/+71 |
| | | | | | | | | | | | | | | | forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions. | ||||
* | | | Merge 8.6 | jan.nijtmans | 2021-01-27 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | *.decls files are now in UTF-8. Use "in" operator in stead of "lsearch -exact". | jan.nijtmans | 2021-01-27 | 1 | -1/+1 |
| | | | |||||
| * | | Add 3 (libtommath) functions to the stub table. Will be added to 8.7 too, ↵ | jan.nijtmans | 2019-12-12 | 1 | -3/+10 |
| | | | | | | | | | | | | through TIP #538 | ||||
* | | | Add mp_unpack() to the libtommath stub table, so this function is available ↵ | jan.nijtmans | 2021-01-13 | 1 | -0/+4 |
| | | | | | | | | | | | | to extensions (and to Tcl itself, but not used yet) | ||||
* | | | 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 |
|\ \ \ | |/ / |