summaryrefslogtreecommitdiffstats
path: root/generic/tclTestObj.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2019-12-131-1/+5
|\
| * Fix typo in tclTestObj.cjan.nijtmans2019-11-201-1/+1
| |
| * Update makefile.vc and rules.vc for using libtommath.dll/zlib1.dll in stead ↵jan.nijtmans2019-11-181-1/+5
| | | | | | | | of statically linking libtommath, whenever possible.
| * 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
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge 8.6jan.nijtmans2019-11-081-1/+1
| |\ \ \ | | |/ / | |/| |
| | * | Add support for ↵jan.nijtmans2019-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | 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.7jan.nijtmans2019-08-151-12/+6
|\ \ \ \ | |/ / /
| * | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-08-151-2/+2
| |\ \ \ | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers
| | * | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
| * | | | Minor simplification in test-suite: Because "teststringobj maxchars" has the ↵jan.nijtmans2019-08-141-10/+4
| |/ / / | | | | | | | | | | | | effect that the value is converted to Unicode for, we don't need a separate function "teststringobj getunicode" for that. So, merge the two functions to one.
* | | | Merge 8.7. Remove the mp_tc_(and|or|xor) stub entries, because they are no ↵jan.nijtmans2019-05-311-2/+2
|\ \ \ \ | |/ / / | | | | | | | | longer in use.
| * | | Merge 8.6jan.nijtmans2019-05-311-2/+2
| |\ \ \ | | |/ / | | | / | | |/ | |/|
| | * Rename mp_get_bit to s_mp_get_bit, rename mp_tc_div_2d to mp_signed_rsh, ↵jan.nijtmans2019-05-311-2/+2
| | | | | | | | | | | | 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.
| | * Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵jan.nijtmans2019-03-251-2/+2
| | | | | | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes.
* | | Merge 8.7jan.nijtmans2019-04-011-13/+13
|\ \ \ | |/ /
| * | Modify testbytestring such that is only produces pure byte-arrays, if not it ↵jan.nijtmans2019-04-011-13/+13
| | | | | | | | | | | | | | | errors out. Modify Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewWideIntObj. Less references to "long" datatype.
| * | Change TCHAR -> WCHAR in many places, since that's what it is since Windows NTjan.nijtmans2019-03-111-1/+1
| | |
* | | Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles ↵jan.nijtmans2019-03-131-1/+1
| | | | | | | | | | | | warning-free now on MSVC.
* | | Merge 8.7jan.nijtmans2019-03-081-2/+2
|\ \ \ | |/ /
| * | Use mp_get_bit() instead of mp_iseven()/mp_isodd(): Those latter functions ↵jan.nijtmans2019-03-081-2/+2
| | | | | | | | | | | | are macro's currently, but will be real function in next libtommath. Bad idea for Tcl to depend on ...
* | | Many internal int -> size_t increases, so string lengths > 2Gb can be ↵jan.nijtmans2018-12-261-1/+1
| | | | | | | | | | | | handled correctly in many more places.
* | | Merge 8.7jan.nijtmans2018-12-121-6/+6
|\ \ \ | |/ /
| * | If compiled with -DTCL_NO_DEPRECATED, remove ↵jan.nijtmans2018-12-121-6/+6
| | | | | | | | | | | | | | | Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow.
* | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-4/+4
|\ \ \ | |/ / | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | | merge trunkjan.nijtmans2018-02-061-0/+8
|\ \ \ | |/ /
| * | Somewhat better backwards compatibility on 64-bit platforms.jan.nijtmans2017-12-191-0/+4
| | |
| * | merge core-8-branch. Also fix some test-cases, expecting the existence of ↵jan.nijtmans2017-11-151-0/+4
| | | | | | | | | | | | "int" objType.
* | | New Tcl_GetIndexFromObjStruct signature using size_tjan.nijtmans2017-12-281-2/+2
| | |
* | | re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming.jan.nijtmans2017-11-161-2/+2
|\ \ \ | |/ / |/| |
| * | Deprecate otherValuePtr and ptrAndLongRep. Some more minor tweaks.jan.nijtmans2016-12-231-2/+2
| | |
| * | merge novemjan.nijtmans2016-12-191-1/+1
| |\ \
| | * \ merge trunkjan.nijtmans2016-11-291-1/+1
| | |\ \ | |_|/ / |/| | |
| * | | merge novemjan.nijtmans2016-11-181-18/+49
| |\ \ \ | | |/ /
| | * | merge trunkjan.nijtmans2016-11-171-2/+47
| | |\ \
| | * \ \ merge trunkdgp2016-07-211-16/+2
| | |\ \ \
| * | \ \ \ merge novemjan.nijtmans2016-07-061-8/+2
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge trunkjan.nijtmans2016-07-011-8/+2
| | |\ \ \ \
| * | | | | | Unicode rep en Tcl_Obj length: int -> size_tjan.nijtmans2016-06-281-1/+1
| |/ / / / /
| * | | | | Merge trunk. jan.nijtmans2013-02-111-19/+19
| |\ \ \ \ \ | | | | | | | | | | | | | | Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
| * \ \ \ \ \ merge trunkjan.nijtmans2013-02-031-4/+4
| |\ \ \ \ \ \ | | |/ / / / /
| * | | | | | Convert Tcl_GetIndexFromObj implementation to macrojan.nijtmans2013-01-241-11/+12
| |\ \ \ \ \ \
| * \ \ \ \ \ \ merge trunkjan.nijtmans2013-01-051-0/+11
| |\ \ \ \ \ \ \ | | |/ / / / / /
| * | | | | | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for te compiler.
* | | | | | | | more internal use of size_t (in stead of int)jan.nijtmans2016-11-291-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-171-2/+47
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | / | | |_|_|_|/ | |/| | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| * | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-171-2/+47
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).
| | * | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-171-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | single-digit numbers. Add testcases for mp_radix_size() and mp_iseven(). Undo useless change in bn_mp_add_d.c (bring back libtommath's version).