summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Implementation of TIP 516dkf2018-09-083-17/+136
|
* merge 8.6 (segfault fix)sebres2018-09-071-4/+4
|\
| * closes [631b4c45df]: segfault by usage of wrong length (no string ↵sebres2018-09-071-4/+4
| | | | | | | | representation)
* | Minor code cleanup. jan.nijtmans2018-09-052-6/+4
| | | | | | | | | | win/tclWinPipe.c: Eliminate some compiler warnings on mingw-w64 win/tclWinNotify.c: Eliminate tsdPtr->timeout variable, since it's only being written to. other files: code cleanup, eliminate unnecessary type casts
* | Fix [540bed4bde]: binary format can result in "integer value too large to ↵jan.nijtmans2018-09-046-94/+104
| | | | | | | | | | | | | | represent". Implemented a new utility function TclGetWideBitsFromObj(), which handles the overflowing of integers using bignums. This function can be used in a _LOT_ of other places, preventing code duplication. Done that as well. Those changes have no effect on other commands, only two new "binary format" test-cases for this specific situation: binary-44.5 and binary-44.6
* | Eliminate use of wideBiggerThanInt test constraint, since it's the same as ↵jan.nijtmans2018-09-031-0/+22
| | | | | | | | | | | | {longIs32bit wideIs64bit}. And ... it's name is actually wrong ... Don't use int() any more in any test constraint, since it's semantics might change. We don't want the test constraints to change with it. (See: TIP# 514) Simplify implementation of wideIs64bit test constraint, just testing for 64-bit sign bit is enough.
* | merge core-8-branchdkf2018-08-2633-365/+357
|\ \
| * \ Merge 8.6jan.nijtmans2018-08-171-3/+3
| |\ \ | | |/
| | * Minor fix to entier(): Allow it to convert to "wideInt" as well when range ↵jan.nijtmans2018-08-171-6/+13
| | | | | | | | | | | | is appropriate
| * | Reposition the MODULE_SCOPE definition so that packages like tbcload don't getpooryorick2018-08-141-13/+17
| | | | | | | | | an error when they include tclPort.h.
| * | Merge 8.6jan.nijtmans2018-08-081-1/+1
| |\ \ | | |/
| | * Fix harmless gcc warningjan.nijtmans2018-08-081-1/+1
| | |
| * | Purge end-of-line spacingjan.nijtmans2018-08-029-58/+58
| | |
| * | merge 8.6jan.nijtmans2018-07-318-148/+18
| |\ \ | | |/
| | * Remove some actually dead codejan.nijtmans2018-07-315-146/+9
| | |
| * | merge 8.6: bug [d051b77fc1] fixedsebres2018-07-261-0/+5
| |\ \ | | |/
| | * amend after merge: 8.6th provide additionally an error-code (so missing ↵sebres2018-07-261-0/+1
| | | | | | | | | | | | `errCode = "OVERFLOW"`)
| | * merge 8.5 - bug [d051b77fc1] fixedsebres2018-07-261-0/+4
| | |\
| | | * closes [d051b77fc18d7340]: fixed segfault by integer overflow (if width by ↵sebres2018-07-261-0/+4
| | | | | | | | | | | | | | | | format like "%4000000000g" overflows to negative values by scan of length)
| * | | [ba921a8d98] Make sure [string cat] includes all data from all bytearrays.dgp2018-07-261-9/+23
| |\ \ \ | | |/ /
| * | | Fix for [ba921a8d98e02a96] - concatenating binary array with empty string ↵pooryorick2018-07-221-11/+9
| | | | | | | | | | | | | | | | yields the empty string.
| * | | merge 8.6sebres2018-07-091-14/+20
| |\ \ \ | | |/ /
| | * | merge 8.5sebres2018-07-091-14/+20
| | |\ \ | | | |/
| | | * closes [270f78ca95b642fb]: fix the race condition for `file mkdir` if some ↵sebres2018-07-091-14/+18
| | | | | | | | | | | | | | | | worker deletes directory immediately after the succeded create inside 3rd worker.
| * | | Merge 8.6. Also remove a useless #undef/#define which will be overrided later.jan.nijtmans2018-07-052-4/+1
| |\ \ \ | | |/ /
| | * | tclDictObj.c:366: warning: dereferencing type-punned pointer will break ↵jan.nijtmans2018-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | strict-aliasing rules Prevent this warning, which gcc 4.4 (a.o.) gives on this construct. void pointers work well already in whatever assignment.
| * | | Make Tcl_GetUnicode() a macro. Mark many other stub-entries which are no ↵jan.nijtmans2018-07-044-74/+105
| | | | | | | | | | | | | | | | longer are in use (because they were converted to macros) as deprecated, since they will be removed in Tcl 9.0
| * | | Micro-optimization in Tcl_GetString() and Tcl_GetStringFromObj()jan.nijtmans2018-07-041-24/+45
| | | |
| * | | Since Tcl is always compiled with -DUNICODE -D_UNICODE (on Windows) and we ↵jan.nijtmans2018-06-261-1/+1
| | | | | | | | | | | | | | | | know TCL_UTF_MAX>=4, we can simplify things. No change in functionality.
| * | | merge 8.6dgp2018-06-263-26/+8
| |\ \ \ | | |/ /
| | * | Use a thread exit handler, and not a custom exit proc for package cleanup.dgp2018-06-263-26/+8
| | | |
| * | | merge 8.6jan.nijtmans2018-06-255-8/+27
| |\ \ \ | | |/ /
| | * | Fix for [3592747]: Let TclNRTailcallEval handle namespace problems.pooryorick2018-06-241-7/+1
| | | |
| | * | Fix function signature of TclThreadTestFinalize.pooryorick2018-06-212-2/+3
| | | |
| | * | Add custom exit procedure for tcltests executable.pooryorick2018-06-213-0/+24
| | | |
| * | | Fix "string tolower" and friends for handling unpaired surrogates correctly. ↵jan.nijtmans2018-06-245-11/+30
| | | | | | | | | | | | | | | | | | | | Also add test-cases for those situations. Various typo's in comments.
| * | | Merge 8.6. And add more documentation and test-cases regarding the behavior ↵jan.nijtmans2018-06-184-7/+27
| |\ \ \ | | |/ / | | | | | | | | of Tcl_UniCharToUtf()
| | * | Fix [53cad613d8]: TIP 389 implementation makes Tk tests font-4.12 and ↵jan.nijtmans2018-06-183-7/+18
| | | | | | | | | | | | | | | | font-4.15 fail. One more situation in which high surrogate causes problem
| | * | Unbreak build on Windows (and - most likely - some other platforms too)jan.nijtmans2018-06-181-3/+2
| | | |
| | * | Full cleanup of env cache when in a PURIFY build.pooryorick2018-06-181-1/+9
| | | |
| | * | Plug leak in TclSetEnv.pooryorick2018-06-181-0/+4
| | | |
| * | | merge 8.6jan.nijtmans2018-06-171-0/+6
| |\ \ \ | | |/ /
| | * | Fix [53cad613d8a4de166e680f09a6c6399ebddbc17c|53cad613d8]: TIP 389 ↵jan.nijtmans2018-06-171-0/+8
| | | | | | | | | | | | | | | | implementation makes Tk tests font-4.12 and font-4.15 fail. (Fix it in 8.6 too, for benefit of androwish)
| | * | Merge 8.5 (= update Unicode data to Unicode version 11.0)jan.nijtmans2018-06-092-954/+984
| | |\ \ | | | |/
| | | * Update all Unicode tables to Unicode version 11.0jan.nijtmans2018-06-092-954/+984
| | | |
| | | * resolves some warnings by compiling with new gcc-versions (>= 7.x):sebres2018-06-081-1/+1
| | | | | | | | | | | | | | | | - '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] - passing argument 1 of 'Tcl_CreateExitHandler' from incompatible pointer type [-Wincompatible-pointer-types]
* | | | Added a note about the genesis of the compiled header.dkf2018-08-111-0/+4
| | | |
* | | | Improve script compilation. Prove that compilation works with safe interps.dkf2018-08-112-350/+513
| | | |
* | | | Combine the two bits of scripted code inside TclOO's definition into one.dkf2018-08-053-174/+243
| | | |
* | | | Make it much easier to maintain the TclOO initialisation script.dkf2018-08-052-21/+206
| | | |