summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update TZ info to tzdata2018f.José Ignacio Marín2018-10-1810-386/+427
|
* Fix test-cases running on Windows 10: [string index ↵jan.nijtmans2018-10-175-20/+41
|\ | | | | | | | | $tcl_platform(osVersion) 0] doesn't give the correct answer then. Also backport genStubs.tcl from 8.7: The "deprecated" mark is not used in Tcl 8.6, but it is used by Tk 8.7 when doing "make genstubs" against Tcl 8.6.
| * Fix test-cases running on Windows 10: [string index ↵jan.nijtmans2018-10-174-14/+13
| | | | | | | | $tcl_platform(osVersion) 0] doesn't give the correct answer then (it gives "1", but "10" was expected)
* | Revert addition of "slowTest" as built-in constraint. (no TIP; no version bump).dgp2018-10-173-5/+2
| | | | | | Let the test file that needs the constraint define it with existing facilities.
* | Mark test macOSXFCmf-2.8 non-portable. It appears to pass when the olderdgp2018-10-171-1/+1
| | | | | | | | HFS+ filesystem is in use, often on disk drives in older systems. It appears to fail when APFS is in use, more typical on newer SSD storage.
* | Backport test fix.dgp2018-10-171-10/+10
| |
* | Use the 4 argument form of [makeFile].dgp2018-10-091-2/+3
| |
* | Balance the [makeFile/makeDirectory] and [removeFile/removeDirectory] calls ↵dkf2018-10-091-5/+4
|\ \ | | | | | | | | | (conditional now, so avoids warnings in filter/constraint cases).
| * | Balance the [makeFile/makeDirectory] and [removeFile/removeDirectory] calls ↵sebres2018-10-091-5/+4
| | | | | | | | | | | | (conditional now, so avoids warnings in filter/constraint cases).
* | | Streamline: Tcl_WinTCharToUtf/Tcl_WinUtfToTChar(): Always initialize ↵jan.nijtmans2018-10-072-8/+20
| | | | | | | | | | | | DString, and let it return NULL when imput is NULL. That's what seem to assume the callers.
* | | Better implementations of Tcl_WinTCharToUtf() and Tcl_WinUtfToTChar(). They ↵jan.nijtmans2018-10-052-90/+12
| | | | | | | | | | | | don't make any assumption on whether encodings are initialized, or specific win32 handling of special characters.
* | | Fix wrong usage of Tcl_WinTCharToUtf() contract: nativePath should never be ↵jan.nijtmans2018-10-051-4/+3
| | | | | | | | | | | | NULL, but actually it can be.
* | | Post-TIP 505 editing of [lreplace] documentation.dgp2018-10-051-22/+12
| | |
* | | In registry, protect "keyName" from being NULL: This actually can lead to ↵jan.nijtmans2018-10-042-21/+17
|/ / | | | | | | crashed (I experienced this ...). Update version to 1.3.3, and align implementation in all branches (core-8-6-branch and higher)
* | Tcl_UniCharToUtfDString: Don't allocate too much memory for this function.jan.nijtmans2018-10-031-5/+15
| | | | | | Tcl_UtfToUniCharDString: Don't allocate too much memory for this function. And make sure that we never access more than 'length' bytes from the string, not even when encountering invalid UTF-8.
* | Another patch contributed by Gustaf Neumann: shifting negative numbers is ↵jan.nijtmans2018-09-281-1/+1
| | | | | | | | | | undefined behavior in the C standard https://stackoverflow.com/questions/8415895/is-left-and-right-shifting-negative-integers-defined-behavior
* | Implementation of TIP 505: Make [lreplace] Accept All Out-of-Range Index Valuesdkf2018-09-274-75/+43
|\ \
| * | Updated documentationdkf2018-09-271-2/+32
| | |
| * | Rebase TIP 505 implementation a patch for 8.6.dgp2018-09-1088-2806/+3493
| |\ \
| * | | Rest of TIP 505 implementation -- mostly undoing dumb things.dgp2018-03-261-56/+4
| | | |
| * | | Work in progress implementing TIP 505.dgp2018-03-263-18/+8
| | | |
* | | | Contributed patch from Gustaf Neumann, preventing problems where ↵jan.nijtmans2018-09-252-40/+49
| | | | | | | | | | | | | | | | "localCachePtr" can be NULL
* | | | Silence debugging message in test suite.dgp2018-09-241-1/+1
| | | |
* | | | Give lambda function a name "ReceiveChunked" for easier testing. New ↵jan.nijtmans2018-09-237-117/+67
| | | | | | | | | | | | | | | | function quoteString and code cleanup
* | | | Update http version number, and fix some related test-casesjan.nijtmans2018-09-225-9/+9
| | | |
* | | | merge bug-46b6edad51-concurrent-httpkjnash2018-09-206-314/+4251
|\ \ \ \ | |_|/ / |/| | |
| * | | merge 8.6kjnash2018-09-1581-2258/+3123
| |\ \ \ | |/ / / |/| | |
* | | | small code review (duplicate code removed)sebres2018-09-071-1/+1
| | | |
* | | | Added test for [631b4c45df].dgp2018-09-071-0/+8
| | | |
* | | | amend to [e8ab4d85fa], proc.test: extended with new test-case to cover ↵sebres2018-09-071-0/+8
| | | | | | | | | | | | | | | | situation like [631b4c45df]
* | | | closes [631b4c45df]: segfault by usage of wrong length (no string ↵sebres2018-09-071-4/+4
| | | | | | | | | | | | | | | | representation)
* | | | merge 8.5sebres2018-08-302-0/+47
|\ \ \ \ | | |_|/ | |/| |
| * | | test-cases to cover quoting of the newline character, and the documentation ↵sebres2018-08-302-0/+47
| | | | | | | | | | | | | | | | extended.
* | | | merge 8.5sebres2018-08-291-1/+1
|\ \ \ \ | |/ / /
| * | | tcltest: forgotten built-in constraint "slowTest"sebres2018-08-291-1/+1
| | | |
* | | | small amend to [cae24931ed] (no _CRT_glob in both cases __GNUC__ || ↵sebres2018-08-291-5/+3
| | | | | | | | | | | | | | | | TCL_BROKEN_MAINARGS).
* | | | partially cherry-picking of [5099a81b50], never reached 8.6, so for example ↵sebres2018-08-291-0/+4
| | | | | | | | | | | | | | | | build for MINGW breaks tests winpipe-8.1 etc, because "*" will be expanded.
* | | | 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
| | | |