summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | | | | | | | Make dltest/pkg*.c simple example how to use Tcl_Size with ↵jan.nijtmans2023-03-043-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_GetStringFromObj()
| | | * | | | | | | | | | | | | | | Merge 8.7 - Protect zlib errors with check for null interpapnadkarni2023-03-041-10/+19
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-03-041-4/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-03-041-1/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | Adapt type-casts to Tcl 9.0 signature of Tcl_Free/Tcl_Realloc/Tcl_AttemptReallocjan.nijtmans2023-03-031-3/+3
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | ckfree() shouldn't be used in Tcl 9 core code any morejan.nijtmans2023-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | Fix Valgrind "still reachable" report in TestcmdtokenCmd().pooryorick2023-03-033-20/+36
| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | Bug [9a978f8323]: Fix large reads > 2GBapnadkarni2023-03-032-72/+58
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge trunkapnadkarni2023-03-011-6/+6
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | | | | | | | | | | | Bug [9a978f8323]: crash reading large filesapnadkarni2023-03-012-72/+58
| | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | Merge 8.7: Disable more file permissions tests for WSL (not supported in ↵apnadkarni2023-03-026-35/+46
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WSL/NTFS)
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge mark with core-8-branchapnadkarni2023-03-010-0/+0
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | | | | Disable file permission tests under WSL as WSL does not support Unix file ↵apnadkarni2023-03-011-18/+21
| | | | |_|_|/ / / / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attrs without special config
| | | * | | | | | | | | | | | | | | | | | | | | Fix msvc build (with OPTS=symbols)jan.nijtmans2023-03-011-6/+6
| | | | |_|/ / / / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | Fix [f8ef6b3670] crash. TclpSysAlloc macro was truncating size request to 32 ↵apnadkarni2023-03-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bits on Windows.
| | | * | | | | | | | | | | | | | | | | | | | Merge 8.7jan.nijtmans2023-02-283-1/+29
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-02-281-1/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-02-281-1/+5
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | | | | | Reverted [d156af9fb76dd2f4] and removed tests io-52.20 io-75.6 io-75.7, as thispooryorick2023-02-282-65/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit, intended to fix issue [b8f575aa2398b0e4], breaks the semantics of [read] and [gets]. Such a change would require an accepted TIP. See [b8f575aa2398b0e4] for further discussion. jn: @pouryorick See [b8f575aa2398b0e4] for the reason why this commit is not appropriate: It gets core-8-branch back in the buggy state it was, without even providing a real solution everyone agrees on. You shouldn't revert my patch just because I reverted yours. pooryorick: As I explained, the reason for this reversion is that it hard-codes an unapproved change in the semantics of [read] and [gets] into the test suite. Jan, your statement that it's a "revenge" reversion is false. I spent a month trying to find some alternative to this reversion before actually performing it. A commit that codifes in its tests changes in semantcs to [read]/[gets] simply shouldn't be on core-8-branch.
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | *-. \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7. And fix Tcl_UtfToExternal()/Tcl_ExternalToUtf() (at least - ↵jan.nijtmans2023-02-284-12/+81
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sufficient for tclZlib.c), such that it now returns an error when src and dst *both* exceed INT_MAX. To be discussed further.
| | | | * | | | | | | | | | | | | | | | | | | | | | | | Handle Tcl_UtfToExternal error in tclZlib.cjan.nijtmans2023-02-261-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | Handle statePtr != NULL as welljan.nijtmans2023-02-261-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | Make Tcl_UtfToExternal()/Tcl_ExternalToUtf() report the error, if srcLen and ↵jan.nijtmans2023-02-261-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dstLen are both > INT_MAX and therefore not all characters can be handled by this function.
| | | * | | | | | | | | | | | | | | | | | | | | | | | | Merge bug-fb368527ae. Bug [fb368527ae] Large string truncationapnadkarni2023-02-282-21/+95
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Fix crash. int->size_t needs +1 in comparisons.apnadkarni2023-02-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Tests for encoding strings > 4GB (under perf constraint)apnadkarni2023-02-271-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Move the "srcLen -= srcChunkRead;" past the "if ((result != ↵jan.nijtmans2023-02-261-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_CONVERT_NOSPACE)..." (where it originally was), since this isn't needed if the loop ends anyway.
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Experimental fix for [fb368527ae] - length truncationapnadkarni2023-02-251-19/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | Make the descriptions in doc/Tcl.n more concise and intuitive.pooryorick2023-02-281-194/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | Fix formatting issue in Tcl.npooryorick2023-02-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | In case of combining TIP #494 (TCL_8_COMPAT) and #628 (building for Tcl 8.7 ↵jan.nijtmans2023-02-283-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with 9.0 headers), ignore TCL_8_COMPAT macro. More Tcl_Size usage.
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | Fix [3d01d51bc4]: Tcl 9: Cannot write large strings to file. Also some ↵jan.nijtmans2023-02-273-53/+152
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / / / / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size_t -> Tcl_Size changes.
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Add perf constraint to large io tests to prevent memory faults on systems ↵apnadkarni2023-02-271-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with limited memory
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | (size_t) -1 -> TCL_INDEX_NONEjan.nijtmans2023-02-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Also fix [90ff9b7f73] - writes of exactly 4294967295 bytesapnadkarni2023-02-262-3/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Minor refactor, add testsapnadkarni2023-02-262-34/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Fix large writes to file. Need to break into INT_MAX size chunks.apnadkarni2023-02-251-7/+32
| | | | |/ / / / / / / / / / / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | | | | | | | | | | | | | merge-markjan.nijtmans2023-02-260-0/+0
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Fix [46dda6fc29] - trace crash caused by TclScanElementapnadkarni2023-02-262-2/+34
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | |_|/ / / / / / / / / / / / / / / / / / / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Fix and tests for [46dda6fc29]apnadkarni2023-02-252-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | | | Add tests for Bug [46dda6fc29]apnadkarni2023-02-251-0/+32
| | | |/ / / / / / / / / / / / / / / / / / / / / / / / /
| | | * | | | | | | | | | | | | | | | | | | | | | | | | Fix [1d074b177a]. Failure to read .tclshrcapnadkarni2023-02-252-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | | | Merge 8.7jan.nijtmans2023-02-241-27/+27
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-02-2332-72/+66
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ merge-markjan.nijtmans2023-02-220-0/+0
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-02-222-14/+51
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-02-223-14/+34
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-02-172-10/+14
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Final part of [10c2c17c32]: UTF-LE32 encoder mapping of surrogates. Problem ↵jan.nijtmans2023-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was in testcase, not in actual code
| | | * | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge 8.7jan.nijtmans2023-02-162-15/+27
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \