Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge 8.6 | jan.nijtmans | 2019-05-29 | 1 | -3/+3 |
|\ | |||||
| * | Merge 8.5 | jan.nijtmans | 2019-05-29 | 1 | -3/+3 |
| |\ | |||||
| | * | Update some libtommath functions to the latest trunk versions. Small step ↵ | jan.nijtmans | 2019-05-29 | 1 | -153/+36 |
| | | | | | | | | | | | | | | | forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions. | ||||
| * | | end-of-line spacing | jan.nijtmans | 2019-05-24 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| * | | Minor compiler warning | jan.nijtmans | 2019-05-09 | 1 | -0/+2 |
| |\ \ | | |/ | |||||
| | * | back-ported branch sebres-8-6-timerate (new command "timerate" for 8.5) | sebres | 2017-05-16 | 1 | -94/+134 |
| | |\ | |||||
| | * | | [04e26c02c0] Remove useless condition that raises warnings. | dgp | 2017-04-27 | 1 | -6/+2 |
| | | | | |||||
* | | | | Compilation for [dict getwithdefault]. | dkf | 2019-04-18 | 1 | -39/+69 |
| | | | | |||||
* | | | | Style corrections and warning elimination | dkf | 2019-04-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge 8.6 | jan.nijtmans | 2019-04-11 | 1 | -10/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | Only use special mp_sqrt() code when double format/tommath format are ↵ | jan.nijtmans | 2019-04-11 | 1 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | exactly what's expected. Otherwise, use original always-working tommath code. Simplify overflow check in bignum expononent code, not using bignums where it's not necessary. Don't overallocate bignums when using wideint's only. | ||||
| * | | | Fix gcc warning on 32-bit platforms | jan.nijtmans | 2019-04-02 | 1 | -0/+4 |
| | | | | |||||
| * | | | integrate sebres-8-6-tommath-1-1 - cherry-picking of several optimizations ↵ | sebres | 2019-04-01 | 1 | -282/+187 |
| |\ \ \ | | | | | | | | | | | | | | | | 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. | ||||
| | * | | | code review | sebres | 2019-02-04 | 1 | -4/+6 |
| | | | | | |||||
| | * | | | cherry pick of [238bd4d2c053540c]..[31dd092df4b57fdb]: More simplifications ↵ | sebres | 2019-02-04 | 1 | -150/+178 |
| | | | | | | | | | | | | | | | | | | | | in tclExecute.c (INST_EXPON), much more and 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 | -10/+1 |
| | | | | | | | | | | | | | | | | | | | | mp_tc_div_2d, which simplifies code. | ||||
| | * | | | partial cherry pick of [c5c83014d6]: Many simplifications in tclExecute.c, ↵ | sebres | 2019-02-04 | 1 | -121/+5 |
| | | | | | | | | | | | | | | | | | | | | now that libtommath provides new functions mp_tc_and, mp_tc_or and mp_tc_xor | ||||
* | | | | | Merge 8.6 | jan.nijtmans | 2019-03-27 | 1 | -1/+5 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Document maximum value for right argument of '**' operator. | jan.nijtmans | 2019-03-27 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Adapt test-cases to test for exactly one more than this maximum value. Make sure that the maximum is the same for DIGIT_BIT > 28. Change macro's for mp_iseven()/mp_isodd() so they don't depend on value of DIGIT_BIT any more. | ||||
| * | | | | Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵ | jan.nijtmans | 2019-03-25 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes. | ||||
| * | | | | Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵ | jan.nijtmans | 2019-03-02 | 1 | -1/+1 |
| |/ / / | | | | | | | | | | | | | conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish. | ||||
* | | | | Additional protection for ridiculously big exponents, in case libtommath is ↵ | jan.nijtmans | 2019-03-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | compiled with DIGIT_BIT=60 in stead of 28. | ||||
* | | | | enlarge a few small buffers, which could overflow using Unicode characters > ↵ | jan.nijtmans | 2019-03-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | /UFFFF. Eliminate some end-of-line spacing | ||||
* | | | | Eliminate usage of mp_isneg(), just check bignum->sign directly (as ↵ | jan.nijtmans | 2019-03-15 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | libtommath itself does) Make TclInitBugnumFromLong() a static function in stubtable only, as it isn't used by Tcl anymore. | ||||
* | | | | More use of TclHasIntRep() macro. Add vfs build director to fossil ignore-glob | jan.nijtmans | 2019-03-01 | 1 | -5/+5 |
| | | | | |||||
* | | | | Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to ↵ | jan.nijtmans | 2019-02-27 | 1 | -3/+3 |
|\ \ \ \ | | | | | | | | | | | | | | | | byte-array | ||||
| * | | | | Finish complete fix, all corner-cases correct now. Also spurious UTF-8 ↵ | jan.nijtmans | 2019-02-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | testcase failure (as seen on travis) fixed now. | ||||
| * | | | | Minor optimizations | jan.nijtmans | 2019-02-19 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | New internal macro TclHasIntRep() to re-encapsulate the typePtr field. | dgp | 2019-02-25 | 1 | -3/+3 |
|/ / / / | |||||
* | | | | optimize WidePwrSmallExpon (exponent is <= 16), this will huge decrease ↵ | sebres | 2019-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | assembled code on x86 (113 vs 220 instructions) | ||||
* | | | | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. | jan.nijtmans | 2019-01-28 | 1 | -5/+5 |
| | | | | | | | | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill. | ||||
* | | | | More simplifications in tclExecute.c (INST_EXPON), much more and ↵ | sebres | 2019-01-25 | 1 | -110/+115 |
| | | | | | | | | | | | | | | | | well-arranged branching of wide/bignum base and exponent cases, test-cases extended to cover all this branches and edge cases. | ||||
* | | | | One more libtommath function, mp_tc_div_2d, which simplifies code. Some more ↵ | jan.nijtmans | 2019-01-22 | 1 | -15/+6 |
| | | | | | | | | | | | | | | | | code readability improvements. | ||||
* | | | | Many simplifications in tclExecute.c, now that libtommath provides new ↵ | jan.nijtmans | 2019-01-22 | 1 | -146/+10 |
| | | | | | | | | | | | | | | | | functions mp_tc_and, mp_tc_or and mp_tc_xor | ||||
* | | | | More TIP #502 optimizations and improvements, preparing further for the road ↵ | jan.nijtmans | 2019-01-16 | 1 | -24/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | to Tcl 9. No longer use INT_MAX for TCL_INDEX_AFTER, because INT_MAX can be a normal index in Tcl 9. TclGetIntForIndex now clips between -1 and INT_MAX. In Tcl 9 size_t will be used for the index data type. | ||||
* | | | | merge 8.6, conflicts resolved in win/Makefile.in (fixed auto-path and load ↵ | sebres | 2019-01-14 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | | | | | | | | | tcltests for ROOT_DIR/tests) | ||||
| * | | | minor optimization: check length instead of content - don't touch other ↵ | sebres | 2019-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | memory (so potentially fewer cpu-cache washout's) | ||||
* | | | | Merge 8.6 | jan.nijtmans | 2019-01-13 | 1 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Slightly simpler test for empty string, still covering all cases. Also ↵ | jan.nijtmans | 2019-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | prepare testpurebytesobj for strings >2G | ||||
| * | | | Fix crash reported by reported by François Vogel related to: ↵ | jan.nijtmans | 2019-01-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | [cc1e91552c0ca1817292d951f8c694b28c2b2251|cc1e91552c] | ||||
* | | | | merge 8.6 (regression bug-[cc1e91552c], etc) | sebres | 2019-01-09 | 1 | -2/+6 |
|\ \ \ \ | |/ / / | |||||
| * | | | closes [cc1e91552c]: fixes lrange instruction on empty list, return original ↵ | sebres | 2019-01-08 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | list only if it is canonical (otherwise new list object) | ||||
* | | | | merge 8.6 (resolved warnings) | sebres | 2018-12-28 | 1 | -1/+1 |
|\ \ \ \ | |/ / / | |||||
| * | | | resolve warnings: array subscript -1 is below array bounds of 'void *[1]' ↵ | sebres | 2018-12-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | [-Warray-bounds] if compiled with newest gcc | ||||
* | | | | merge 8.7 | dgp | 2018-10-18 | 1 | -67/+61 |
|\ \ \ \ | |||||
| * \ \ \ | TIP #502 implementation: Index value reform. | jan.nijtmans | 2018-10-12 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| | * \ \ \ | Merge 8.7 | jan.nijtmans | 2018-09-27 | 1 | -4/+1 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | merge 8.7 | dgp | 2018-09-25 | 1 | -20/+26 |
| | |\ \ \ \ \ | |||||
| | * \ \ \ \ \ | merge 8.7 | dgp | 2018-05-11 | 1 | -80/+10 |
| | |\ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ | merge 8.7 | dgp | 2018-04-24 | 1 | -15/+11 |
| | |\ \ \ \ \ \ \ |