summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Implement %ll (WideInt) handling for Tcl_ObjPrintf(). Use it in some places. ↵jan.nijtmans2016-12-022-13/+17
| | |\ \ \ | | | |/ / | | |/| | | | | | | (now without edit-error in tcl.h, thanks Don!)
| | | * | Repair what appears to be a stray edit error. This restores ability todgp2016-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | build on a TCL_WIDE_INT_IS_LONG platform, but leaves code in tclStringObj.c raising compiler warnings. Suspect things still need some reconciliation in the TCL_WIDE_INT_IS_LONG scenario.
| | | * | Implement %ll (WideInt) handling for Tcl_ObjPrintf(). Use it in some places. jan.nijtmans2016-12-023-13/+17
| | |/ / | | | | | | | | Moved to feature branch temporarily. Breaks build.
| | * | So long as we register only one, we can have multiple Tcl_ObjTypes withdgp2016-12-011-1/+1
| | | | | | | | | | | | the same name. This smooths migration. See obj-2.2 and tclsqlite usage.
| | * | Created a new "proper bytearray" Tcl_ObjType so we can use bytearraysdgp2016-12-012-23/+45
| | | | | | | | | | | | as bytearrays without all this fussing about over purity.
| | * | compatability -> compatibilityjan.nijtmans2016-12-0111-16/+16
| | |\ \
| | * | | Route all [string repeat] operations through a common implementation.dgp2016-11-303-61/+146
| | | | | | | | | | | | | | | | | | | | | | | | | Code that to preserve bytearrays, eliminate unnecessary string rep generation, increase efficiency, and encapsulate access to internal rep details.
| | * | | Where feasible, convert concatenation panics into errors.dgp2016-11-291-9/+46
| | | | |
| | * | | Minor simplifications. Eliminate FUNCPRT from regexp engine. Fix ↵jan.nijtmans2016-11-295-15/+5
| | | | | | | | | | | | | | | | | | | | compile-error (non-debug) in tclDictObj.c, from previous commit
| | * | | more internal use of size_t (in stead of int)jan.nijtmans2016-11-298-64/+59
| | | | |
| | * | | Eliminate some macros that are no longer used/needed.jan.nijtmans2016-11-257-36/+19
| | | | |
| | * | | Allow [array names -regexp] to use backreferences. This capability was ↵andy2016-11-252-3/+17
| | | | | | | | | | | | | | | | | | | | broken by [71270e9141]. See also bug [1366683].
| | * | | Remove spurious article in commentsandy2016-11-251-2/+2
| | | | |
| | * | | Partially backout [ef4da65408] because AppendPrintfToObjVA() (used ↵andy2016-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | indirectly by [tcl::unsupported::disassemble]) does not yet support wide and bignum arguments. This fixes a SIGSEGV in compile.test and makes [disassemble] work again.
| | * | | Make compileEpoch "unsigned int", and start counting at 1.jan.nijtmans2016-11-243-3/+3
| | | | |
| | * | | typosjan.nijtmans2016-11-243-3/+3
| | | | |
| | * | | Corrections to misleading comments.dkf2016-11-221-5/+6
| | | | |
| | * | | More internal use of size_t in stead of int.jan.nijtmans2016-11-218-23/+19
| | | | |
| | * | | Minor: fix the indentation of comments.dkf2016-11-181-24/+26
| | | | |
| | * | | Fix mp_cnt_lsb() signature, so it matches the signature used in Tcljan.nijtmans2016-11-183-3/+107
| | |\ \ \
| | * \ \ \ Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-18161-15484/+9439
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | to 1.0
| | | * | | | Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since ↵libtommath_1_0jan.nijtmans2016-11-174-18/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the radix_size of "9" should return 2, not 3. Add test-case to prove that.
| | | * | | | Restore bn_mp_add_d.c to exact copy of libtommath-1.0 version: Since the ↵jan.nijtmans2016-11-171-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mp_clamp() function already restores the sign of it's argument to positive if c->used ==0, it is not necessary to do that twice. Therefore, the original version of the code is correct.
| | | * | | | Add test-case for mp_iseven(). If mp_iseven(0) ever returns 0, we will be ↵jan.nijtmans2016-11-173-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | warned that we are using the wrong mp_iseven() function.
| | | * | | | Bring in fix for mp_iseven().... almost missed that .... This should be ↵jan.nijtmans2016-11-171-1/+1
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | given a dedicated test-case. Now everything taken from "gahr-ticket-e6f27aa56f" branch is handled.
| | | | * \ \ \ merge trunkgahr_ticket_e6f27aa56fjan.nijtmans2016-11-16261-6297/+7879
| | | | |\ \ \ \
| | | | * \ \ \ \ Merge trunkgahr2016-06-10168-2315/+3249
| | | | |\ \ \ \ \
| | | | * | | | | | [e6f27aa56f] Add files I missed in my previous commitgahr2016-03-1310-0/+755
| | | | | | | | | |
| | | | * | | | | | [e6f27aa56f] Initial import of libtommath-1.0gahr2016-03-11201-31977/+10065
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit brings in libtommath-1.0, as of tag v1.0 of the upstream repository at https://github.com/libtom/libtommath. Only the top-level directory has been imported: the demo, etc, logs, mtest, pics, pre_gen, and tombc directories have been removed from our repo. The stubs tables have been regenerated to accomodate for the new function: mp_expt_d_ex(mp_int *a, mp_digit b, mp_int *c, int fast); See https://github.com/libtom/libtommath/commit/e9b1837 for details. Only the unix build system has been modified for now. Windows and Mac OSX will come later.
| | | * | | | | | | Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-1787-37790/+695
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from libtommath 1.0 (in tclExecute.c).
| | | * \ \ \ \ \ \ \ (experimental) Upgrade to libtommath 1.0 (actually by merging all changes ↵jan.nijtmans2016-11-16165-9960/+17182
| | | |\ \ \ \ \ \ \ \ | | | | |_|_|_|/ / / / | | | |/| | | | | | | | | | | | | | | | | | between libtommath 0.42.0 and 1.0). Still to be tested thourougly, before doing anything with it.
| | | | * | | | | | | import libtommath 1.0jan.nijtmans2016-11-16179-16006/+23148
| | | | | | | | | | |
| | | | * | | | | | | Import of tommath 0.42.0jan.nijtmans2011-03-14148-856/+6520
| | | | | | | | | | |
| | | | * | | | | | | Import of libtommath 0.41jan.nijtmans2011-03-1417-552/+1138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Import of libtommath 0.41
| | | | * | | | | | | Import of libtommath 0.40jan.nijtmans2011-03-145-9/+17
| | | | | | | | | | |
| | | | * | | | | | | re-import ltm-0.39, with original RCS-ID'sjan.nijtmans2011-03-14139-537/+537
| | | | | | | | | | |
| | * | | | | | | | | Remove extra space in documentation for [file stat]andy2016-11-181-1/+1
| | | | | | | | | | |
| | * | | | | | | | | Fix libtommath's mp_radix_size() function such that it returns 2 for ↵jan.nijtmans2016-11-175-23/+77
| | |\ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | 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).
| | * | | | | | | | | Remove subdirectories of "libtommath", and various individual related files, ↵jan.nijtmans2016-11-1766-23850/+15
| | |\ \ \ \ \ \ \ \ \ | | | |_|/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not taking any part in the Tcl build. Makes the Tcl distribution smaller without sacrificing anything. And remove the TCL_TOMMATH define, which was never used for anything.
| | * | | | | | | | | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-1624-120/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type-casts which are not necessary any more.
| | * | | | | | | | | See Itcl Bug [1b28657c0e]. Make methodNameType honor the Tcl_ObjType contract.dkf2016-11-151-0/+1
| | |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ Merge core-8-6-branchjan.nijtmans2016-11-141-1/+1
| | |\ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ Merge tzdata2016i from IETFvenkat2016-11-124-39/+208
| | |\ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | Fix harmless gcc warning message: using "unsigned" doesn't serve any ↵jan.nijtmans2016-11-116-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | purpose, actually.
| | * | | | | | | | | | | | Fix [79614fb8b61983ac8ef30ea8752c310465798fc7|79614fb8b6]: "glob", "encoding ↵jan.nijtmans2016-11-112-3/+4
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | system" and encoding-free filesystems
| | * \ \ \ \ \ \ \ \ \ \ \ \ On OSX, there is a conflict with the "define panic" and definitions in "mach.h".jan.nijtmans2016-11-101-0/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | Route all [string last] operations through a common implementation.dgp2016-11-085-74/+122
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Purge disabled code.dgp2016-11-071-17/+0
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Refactor to channel all [string first] functions through a single ↵dgp2016-11-074-69/+112
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation.
| | | * | | | | | | | | | | | | | Optimize case of all single-byte chars.dgp_string_finddgp2016-11-071-2/+20
| | | | | | | | | | | | | | | | |