summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* code review after merge with 8.5 (restore usage of some functions, after ↵sebres2018-08-291-9/+9
| | | | lost by conflict resolving)
* merge 8.5 ([21b0629c81] 0-day vulnerability - insufficient escape by exec of ↵sebres2018-08-293-112/+375
|\ | | | | | | batch-files for windows)
| * closes [21b0629c81] 0-day vulnerability - insufficient escape by exec of ↵sebres2018-08-293-105/+367
| |\ | | | | | | | | | batch-files for windows
| | * code review, skip slow test winpipe-8.2 executed args from injectList ↵sebres2018-08-233-33/+87
| | | | | | | | | | | | particularly (normally winpipe-8.3 covers the same but jointly), to enable use parameter `-constraints slowTest`, added new test with randomly generated potentially dangerous args
| | * code review, restored backwards compatibility of the simplest escape of ↵sebres2018-08-232-16/+29
| | | | | | | | | | | | quote-chars (so reverted several tests winpipe-7.x)
| | * fixes escape for special cases (+ more test-cases):sebres2018-08-212-33/+139
| | | | | | | | | | | | - `%` char to be escaped (quoted) in any case (regardless pairing flag), otherwise `%username%` will be interpolated as username. - escape of multiple backslashes before quote is different (as without following quote) in unpaired quote syntax (upaired flag set)
| | * because executable (1st argument) always proper escaped now, don't need to ↵sebres2018-08-202-12/+34
| | | | | | | | | | | | replace long path name of batch-executable with short path name (reduced to 16-bit applications only).
| | * small amend: avoid reset of unpaired quote flag between arguments (previous ↵sebres2018-08-202-68/+126
| | | | | | | | | | | | affects next) + test cases extended with several injection checks.
| | * win: fixes [21b0629c81] - exec/open process pipe under windows (0-day ↵sebres2018-08-202-38/+47
| |/ | | | | | | vulnerability - insufficient escape)
* | merge-markjan.nijtmans2018-08-190-0/+0
|\ \ | |/
| * win: TclpCreateProcess or [exec process ...] - search for application ↵sebres2018-08-171-4/+5
| | | | | | | | | | | | extended with ".cmd" extension: automatically tries appending ".com", ".exe", ".bat" and ".cmd", in that order, to the name, looking for an executable. (partially cherry-picked from 8.6 branch)
* | Minor fix to entier(): Allow it to convert to "wideInt" as well when range ↵jan.nijtmans2018-08-171-6/+13
| | | | | | | | is appropriate
* | Repair breakage in recent refactoring of env.testdgp2018-08-081-5/+5
| |
* | Fix harmless gcc warningjan.nijtmans2018-08-081-1/+1
| |
* | ioTrans.test: fixed cleanup - avoids `error deleting "tempchanfile": ↵sebres2018-08-031-1/+1
| | | | | | | | permission denied`: file seems to be locked/opened inside interp $idb
* | Remove some actually dead codejan.nijtmans2018-07-315-146/+9
| |
* | 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-262-0/+18
|\ \ | |/
| * test cases added to cover width overflow by format (should cause limit exceeded)sebres2018-07-261-0/+14
| |
| * 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)
* | amend to [d498578df4], still one test for [Bug ba921a8d98] with inplace by ↵sebres2018-07-261-1/+4
| | | | | | | | subst inside string (compiled as "strcat" instruction)
* | New test for [Bug ba921a8d98].dgp2018-07-261-0/+3
| |
* | Add a note in the 'clock' man page about the interpretation of impossible ↵Kevin B Kenny2018-07-211-0/+13
| | | | | | | | values on [clock scan]
* | win: avoids warning by x64-build in function 'TclWinCPUID' - pointer targets ↵sebres2018-07-201-1/+1
| | | | | | | | in passing argument 1 of '__cpuid' differ in signedness [-Wpointer-sign] (int* vs unsigned int*)
* | win: fixes x64-build within gcc-compile runtime env for (mingw64, etc): ↵sebres2018-07-202-2/+2
| | | | | | | | "$do64bit" may be "amd64|x64|yes", so it could find & copy wrong zlib.dll.
* | win: fixed test-cases (see [525ccacaef]) running under windows outside of ↵sebres2018-07-161-6/+21
| | | | | | | | temp-folder
* | merge 8.5sebres2018-07-121-1/+2
|\ \ | |/
| * win: closes [3f7af0e21e13f1f5] - avoid "permissions denied" by `file ↵sebres2018-07-121-1/+2
| | | | | | | | delete`, if file stat (TclpObjStat) used internally in other worker, for example by usage of `file mkdir` etc.
* | 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.
* | 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.
* | Use a thread exit handler, and not a custom exit proc for package cleanup.dgp2018-06-263-26/+8
| |
* | Restore lost tests.dgp2018-06-264-15/+11
| |
* | Simplify ToUtf(), expecially for TCL_UTF_MAX>3 (with correct surrogate ↵jan.nijtmans2018-06-256-27/+30
| | | | | | | | | | handling). Fix various typo's
* | Fix for [3592747]: Let TclNRTailcallEval handle namespace problems.pooryorick2018-06-242-7/+21
| |
* | Add a test for no generation of a string representation when comparing with thepooryorick2018-06-231-0/+9
| | | | | | empty string.
* | Add another suppress rule for valgrind, factor test code intopooryorick2018-06-229-28/+44
| | | | | | tests/tcltests.tcl, and constrained a some tests in the valgrind case.
* | merge pyk-tcltest-exitpooryorick2018-06-212-2/+3
|\ \
| * | Fix function signature of TclThreadTestFinalize.pooryorick2018-06-212-2/+3
| | |
* | | merge pyk-tcltest-exitpooryorick2018-06-213-0/+24
|\ \ \ | |/ /
| * | Add custom exit procedure for tcltests executable.pooryorick2018-06-213-0/+24
|/ /
* | Suppress more valgrind "still reachable" reports and ensure that threads arepooryorick2018-06-212-37/+106
| | | | | | fully finalized in thread tests.
* | Add valgrind suppression for dlopen and ensure that processes are reaped inpooryorick2018-06-202-0/+17
| | | | | | http11.test.
* | Remove recent auto_path modification in tests/all.tcl and suppress morepooryorick2018-06-202-15/+25
| | | | | | valgrind reports.
* | new file: tools/valgrind_suppress. num-callers bumped from 8 to 24. Valgrindpooryorick2018-06-194-11/+51
| | | | | | now issues no "still reachable" reports for cmdAH.test.
* | 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
| |
* | Avoid valgrind "still reachable" reports stemming from early termination ofpooryorick2018-06-181-11/+29
| | | | | | threads.
* | Full cleanup of env cache when in a PURIFY build.pooryorick2018-06-181-1/+9
| |
* | Plug leak in TclSetEnv.pooryorick2018-06-182-4/+8
| |