summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Change a few variables from type "int" to "size_t". Always test TCL_UTF_MAX ↵jan.nijtmans2020-04-201-2/+2
| | | | for <= 3 or > 3, because that's the only 2 flavours we really have.
* Merge 8.7jan.nijtmans2020-03-311-3/+3
|\
| * Fix a few warning-message in --enable-symbols-mem modejan.nijtmans2020-03-311-3/+3
| |
* | Merge 8.7jan.nijtmans2020-03-181-2/+2
|\ \ | |/
| * Merge 8.6jan.nijtmans2020-03-181-2/+2
| |\
| | * More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-4/+4
| | |
| | * Better error-handling in some libtommath calls.jan.nijtmans2020-01-231-1/+8
| | |
* | | Merge 8.7jan.nijtmans2020-03-091-50/+50
|\ \ \ | |/ /
| * | More TCL_UNUSED.dgp2020-03-081-64/+54
| | |
* | | Merge 8.7jan.nijtmans2020-02-281-28/+58
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2020-02-131-19/+28
| |\ \
| * \ \ Merge 8.7jan.nijtmans2019-12-131-2/+2
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2019-11-091-1/+1
| |\ \ \ \
| * \ \ \ \ Merge 8.7jan.nijtmans2019-10-241-10/+11
| |\ \ \ \ \
| * \ \ \ \ \ Merge 8.7jan.nijtmans2019-09-191-1/+1
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and ↵jan.nijtmans2019-09-051-5/+23
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | Windows) without -Wunused-parameters warnings
| * | | | | | | Mark more unused parametersjan.nijtmans2019-09-031-1/+16
| | | | | | | |
| * | | | | | | Merge tip-548. A few more fixes, trying to make the Travis build work (finally)jan.nijtmans2019-09-021-2/+2
| |\ \ \ \ \ \ \ | | |/ / / / / /
| * | | | | | | Merge tip-548jan.nijtmans2019-08-151-84/+84
| |\ \ \ \ \ \ \ | | |/ / / / / /
| * | | | | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-0/+2
| |\ \ \ \ \ \ \
| * | | | | | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-28/+28
| |/ / / / / / /
* | | | | | | | Merge 8.7jan.nijtmans2020-02-021-10/+12
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Fix conflict between (unpatched) tommath.h and tcl.h. See also ↵jan.nijtmans2020-02-021-10/+12
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | [https://github.com/libtom/libtommath/pull/473]
| | * | | | | | | Attempt to resolve a conflict between (unmodified) tommath.h and tcl.h in ↵jan.nijtmans2020-01-131-10/+12
| | | |_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | the definition of mp_int. See: [https://github.com/libtom/libtommath/pull/473]
* | | | | | | | Merge 8.7jan.nijtmans2020-01-231-9/+16
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Start handling WUR (Warn Unused Result) in all tommath calls. WIP, not ↵jan.nijtmans2020-01-091-9/+16
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | complete yet.
* | | | | | | Merge 8.7jan.nijtmans2019-12-131-2/+2
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge 8.7. Finish implementation.jan.nijtmans2019-11-121-1/+1
| |\ \ \ \ \ \ | | | |_|_|/ / | | |/| | | |
| * | | | | | Merge 8.7jan.nijtmans2019-11-111-1/+1
| |\ \ \ \ \ \ | | |/ / / / /
| * | | | | | Re-base to core-8-branchjan.nijtmans2019-11-011-1/+1
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| | * | | | | Merge 8.7. Complete implementation for MSVC and for UNIX.jan.nijtmans2019-04-091-1/+1
| | | | | | |
* | | | | | | Merge 8.7jan.nijtmans2019-11-091-1/+1
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵jan.nijtmans2019-11-081-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt
* | | | | | Merge 8.7jan.nijtmans2019-10-221-9/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Deprecate mp_get_bit, mp_expt_d_ex, mp_toradix_n, mp_to_unsigned_bin, ↵jan.nijtmans2019-10-221-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.6jan.nijtmans2019-10-221-1/+1
| |\ \ \ \ \ | | |_|_|/ / | |/| | | / | | | |_|/ | | |/| |
| | * | | Update to latest Tcl (core-8-6-branch) and latest libtommath (1.2.0-rc1)jan.nijtmans2019-10-171-9/+11
| | | | |
| | * | | end-of-line spacingjan.nijtmans2019-05-241-1/+1
| | |\ \ \
| | | * | | cherry-picing of [3f693cdfe9c875c4] to be more compatible across version, ↵sebres2019-05-211-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | resolve mistake with "key objects/pointers comparison by the hash entry" firstly introduced there.
| | * | | | Merge 8.5jan.nijtmans2019-05-141-5/+5
| | |\ \ \ \ | | | |/ / /
| | | * | | DIGIT_BIT -> MP_DIGIT_BIT, since DIGIT_BIT is deprecated in future ↵jan.nijtmans2019-05-141-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libtommath versions. So, better stop using it at all. Also add some other defines/typdefs for future libtommath compatibility.
* | | | | | Make Tcl_WinUtfToTChar/Tcl_WinTCharToUtf really deprecate in 9.0 (now that ↵jan.nijtmans2019-09-251-129/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no battery-extensions use it any more) Remove two functions which are not used any more (they changed to macro's earlier)
* | | | | | Merge 8.7jan.nijtmans2019-08-151-74/+74
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-91/+91
| | |_|_|/ | |/| | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | | | merge 8.7dkf2019-04-191-20/+9
|\ \ \ \ \ | |/ / / /
| * | | | More efficient version (after feedback from KBK). Better test too.dkf2019-04-051-20/+9
| | |_|/ | |/| |
* | | | merge 8.7 (TIP#527, New measurement facilities in TCL: New command timerate, ↵sebres2019-03-051-60/+49
|\ \ \ \ | |/ / / | | | | | | | | performance test suite)
| * | | Various tommath/numeric related optimizations:jan.nijtmans2019-03-021-60/+49
| | | | | | | | | | | | | | | | - Remove the DD_STEEL formatter: it isn't used anywhere in Tcl, and not recommended. - Remove double limit-checks, which are already done inside mp_to_unsigned_bin_n()
* | | | More size_t-related consolidations. Now regexp can handle strings >2GB and ↵jan.nijtmans2019-02-051-1/+1
| | | | | | | | | | | | | | | | more. Remove many type-casts which are not necessary any more.
* | | | Merge 8.7jan.nijtmans2019-01-281-7/+1
|\ \ \ \ | |/ / /