summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2019-04-0110-57/+68
|\
| * Modify testbytestring such that is only produces pure byte-arrays, if not it ↵jan.nijtmans2019-04-0113-64/+75
| | | | | | | | | | errors out. Modify Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewWideIntObj. Less references to "long" datatype.
* | merge 8.7sebres2019-04-012-3/+16
|\ \ | |/
| * merge 8.6 (merge-point only, no functional changes)sebres2019-04-010-0/+0
| |\
| | * integrate sebres-8-6-tommath-1-1 - cherry-picking of several optimizations ↵sebres2019-04-018-301/+287
| | |\ | | | | | | | | | | | | 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 reviewsebres2019-02-041-4/+6
| | | |
| | | * cherry pick of [238bd4d2c053540c]..[31dd092df4b57fdb]: More simplifications ↵sebres2019-02-042-152/+206
| | | | | | | | | | | | | | | | 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, ↵sebres2019-02-047-11/+19
| | | | | | | | | | | | | | | | mp_tc_div_2d, which simplifies code.
| | | * partial cherry pick of [c5c83014d6]: Many simplifications in tclExecute.c, ↵sebres2019-02-047-122/+60
| | | | | | | | | | | | | | | | now that libtommath provides new functions mp_tc_and, mp_tc_or and mp_tc_xor
| * | | merge 8.6sebres2019-04-012-3/+16
| |\ \ \ | | |/ /
| | * | merge 8.5sebres2019-04-012-3/+16
| | |\ \
| | | * | closes [1a3fa1232e306a44], test case cmdMZ-6.5 fixed to cover float value by ↵sebres2019-04-011-2/+5
| | | | | | | | | | | | | | | | | | | | iteration per second
| | | * | timerate: avoid divide by zero by no iterations in measurement cycle (e. g. ↵sebres2019-04-011-1/+11
| | | | | | | | | | | | | | | | | | | | count is 0)
* | | | | Fix gcc warningjan.nijtmans2019-03-311-2/+2
| | | | |
* | | | | Minor code cleanup: More use of size_t where possible, and elimination of ↵jan.nijtmans2019-03-299-51/+28
| | | | | | | | | | | | | | | | | | | | unneeded type-casts.
* | | | | Merge 8.7jan.nijtmans2019-03-2811-87/+14
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.6jan.nijtmans2019-03-2811-87/+14
| |\ \ \ \ | | |/ / /
| | * | | Turn KARATSUBA_MUL_CUTOFF (insize libtommath) et al into a #define in stead ↵jan.nijtmans2019-03-2811-150/+16
| | | | | | | | | | | | | | | | | | | | of exported int symbols.
* | | | | Merge 8.7jan.nijtmans2019-03-274-36/+9
|\ \ \ \ \ | |/ / / /
| * | | | Make Tcl_StringMatch() into a wrapper macro around Tcl_StringCaseMatch()jan.nijtmans2019-03-274-4/+11
| | | | |
* | | | | Merge 8.7jan.nijtmans2019-03-277-31/+39
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.6jan.nijtmans2019-03-277-31/+39
| |\ \ \ \ | | |/ / /
| | * | | merge-markjan.nijtmans2019-03-270-0/+0
| | |\ \ \ | | | |/ /
| | | * | Update TZ info to tzdata2019ajan.nijtmans2019-03-276-55/+68
| | | | |
| | * | | Document maximum value for right argument of '**' operator. jan.nijtmans2019-03-278-31/+66
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Update TZ info to tzdata2019a.José Ignacio Marín2019-03-267-56/+69
|\ \ \ \ \ | |/ / / /
| * | | | Update TZ info to tzdata2019a.José Ignacio Marín2019-03-266-55/+68
| |\ \ \ \ | | |/ / /
| | * | | Update TZ info to tzdata2019a.José Ignacio Marín2019-03-266-55/+68
| | | | |
| * | | | Additional protection for ridiculously big exponents, in case libtommath is ↵jan.nijtmans2019-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | compiled with DIGIT_BIT=60 in stead of 28.
* | | | | merge-markjan.nijtmans2019-03-250-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | merge-markjan.nijtmans2019-03-250-0/+0
| |\ \ \ \ | | |/ / /
| | * | | Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵jan.nijtmans2019-03-2510-13/+78
| | | | | | | | | | | | | | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes.
* | | | | Remove one more comment, which is no longer valid (as "exception" is now ↵jan.nijtmans2019-03-241-1/+0
| | | | | | | | | | | | | | | | | | | | removed)
* | | | | Code cleanup: Remove unneeded #undef's, and unneeded inclused. No change in ↵jan.nijtmans2019-03-2411-22/+9
| | | | | | | | | | | | | | | | | | | | functionality.
* | | | | Remove hacked exception for bug [a16752c252]. Should be fixed by then in ↵jan.nijtmans2019-03-241-18/+1
| | | | | | | | | | | | | | | | | | | | "tclcompiler". Taken over from "novem".
* | | | | Merge 8.7jan.nijtmans2019-03-241-3/+1
|\ \ \ \ \ | |/ / / /
| * | | | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵jan.nijtmans2019-03-241-3/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete().
| | * | | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵jan.nijtmans2019-03-241-3/+3
| | |\ \ \ | | | |/ / | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). Only effective when TCL_UTF_MAX>3
| | | * | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵jan.nijtmans2019-03-241-3/+3
| | | | | | | | | | | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). Only effective when TCL_UTF_MAX>3
* | | | | Merge 8.7jan.nijtmans2019-03-2414-266/+256
|\ \ \ \ \ | |/ / / /
| * | | | Make all internal small buffer related to Tcl_UtfBackslash() length 4, not ↵jan.nijtmans2019-03-246-7/+50
| | | | | | | | | | | | | | | | | | | | | | | | | TCL_UTF_MAX: For TCL_UTF_MAX=6 it was overkill, for TCL_UTF_MAX=3 not enough. Prove that this works by adding a Travis CI build configuration using TCL_UTF_MAX=3
| * | | | Add some test-cases with longer backslash sequences, to test for internal ↵jan.nijtmans2019-03-222-1/+7
| | | | | | | | | | | | | | | | | | | | buffer overflows.
| * | | | lots of changes to the "info" page. Replace "command procedure" with "routine"pooryorick2019-03-227-252/+158
| | | | | | | | | | | | | | | in Tcl.n.
| * | | | Make the html target work under more circumstances.pooryorick2019-03-221-8/+43
| | | | |
* | | | | Merge 8.7jan.nijtmans2019-03-214-29/+19
|\ \ \ \ \ | |/ / / /
| * | | | Add entry for 元号 (or NewEra placeholder) to Unicode tables. Since Tcl ↵jan.nijtmans2019-03-212-16/+16
| |\ \ \ \ | | |/ / / | | | | | | | | | | doesn't do rendering, this prepares Tcl for the expected may 1 event. See: [http://blog.unicode.org/2018/09/new-japanese-era.html]
| | * | | Add entry for 元号 (or NewEra placeholder) to Unicode tables. Since Tcl ↵jan.nijtmans2019-03-212-16/+16
| | |\ \ \ | | | |/ / | | | | | | | | | | doesn't do rendering, this prepares Tcl for the expected may 1 event. See: [http://blog.unicode.org/2018/09/new-japanese-era.html]
| | | * | Add entry for 元号 (or NewEra placeholder) to Unicode tables. Since Tcl ↵jan.nijtmans2019-03-212-16/+16
| | | | | | | | | | | | | | | | | | | | doesn't do rendering, this prepares Tcl for the expected may 1 event. See: [http://blog.unicode.org/2018/09/new-japanese-era.html]
| * | | | Remove incorrect comment. jan.nijtmans2019-03-212-13/+3
| |\ \ \ \ | | |/ / / | | | | | Simplify handling of last bytes in Tcl_UniCharToUtfDString(), since TclUtfToUniChar() already turns out to handle cp1252 fall-back correctly.
| | * | | Fix outdated commentjan.nijtmans2019-03-211-3/+4
| | | | |