Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert unwarranted change in Tcl_CreateChannel() from [1776327edd]. | pooryorick | 2023-06-12 | 1 | -2/+2 |
| | |||||
* | Merge 8.7 | jan.nijtmans | 2023-05-30 | 1 | -19/+18 |
|\ | |||||
| * | Backport IO-related changes from Tcl 9.0. Needed for preparation of TIP #653 | jan.nijtmans | 2023-05-30 | 1 | -50/+61 |
| | | |||||
* | | Restore warning-free compilation with C++ compiler | jan.nijtmans | 2023-05-11 | 1 | -2/+2 |
| | | |||||
* | | Fix Valgind report of still reachable blocks in aaa_exit.test and other test | pooryorick | 2023-05-11 | 1 | -4/+3 |
| | | | | | | files. | ||||
* | | Left-over TCL_ENCODING_STRICT, not used any more. | jan.nijtmans | 2023-05-09 | 1 | -1/+1 |
| | | | | | | Add "-profile tcl8" for testcases which don't work in strict profile | ||||
* | | Make some tests select an encoding profile instead of relying on the default. | pooryorick | 2023-05-04 | 1 | -4/+4 |
| | | |||||
* | | Merge 8.7 | jan.nijtmans | 2023-05-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. ↵ | apnadkarni | 2023-05-03 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | | | See below. For whatever reason, these macros were renamed and moved to tclIO.h post-660. This is inappropriate as those macros deal with *encoding* flags, not *channel* flags and have relevance outside of I/O making their renaming inappropriate. Further putting them in tclIO.h forces inclusion of that header in modules that do not otherwise need that header. | ||||
* | | Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. ↵ | apnadkarni | 2023-05-03 | 1 | -22/+22 |
| | | | | | | | | | | | | | | | | See below. For whatever reason, these macros were renamed and moved to tclIO.h post-660. This is inappropriate as those macros deal with *encoding* flags, not *channel* flags and have relevance outside of I/O making their renaming inappropriate. Further putting them in tclIO.h forces inclusion of that header in modules that do not otherwise need that header. | ||||
* | | Fix for [0306a5563c]. | pointsman | 2023-05-02 | 1 | -31/+19 |
| | | |||||
* | | Fixes the examples given in [0306a5563c]. Still more to do for a full fix. | pointsman | 2023-04-24 | 1 | -0/+1 |
| | | |||||
* | | TIP 660 changes to stop warnings in --enable-symbols=mem build. | dgp | 2023-04-19 | 1 | -1/+1 |
| | | |||||
* | | Merge trunk | apnadkarni | 2023-04-19 | 1 | -3/+8 |
|\ \ | |||||
| * | | In DoReadChars() reset CHANNEL_ENCODING_ERROR instead of CHANNEL_BLOCKED. | pooryorick | 2023-04-18 | 1 | -1/+1 |
| | | | |||||
| * | | Fix for [25cdcb7e8fb381fb]: Incomplete utf-8 sequence followed by eofchar | pooryorick | 2023-04-18 | 1 | -1/+6 |
| | | | | | | | | | results in failed assertion. | ||||
| * | | Eliminate unnecessary clearance of CHANNEL_STICKY_EOF flag. | pooryorick | 2023-04-18 | 1 | -1/+1 |
| | | | |||||
| * | | Correct CHANNEL_BLOCKED to CHANNEL_ENCODING_ERROR in Tcl_GetsObj(). | pooryorick | 2023-04-18 | 1 | -1/+1 |
| | | | |||||
* | | | Merge trunk | apnadkarni | 2023-04-18 | 1 | -1/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix for [eabcbd08274f2d22], [read] error persists on channel with strict | pooryorick | 2023-04-16 | 1 | -1/+3 |
| | | | | | | | | | encoding after encoding is changed to binary. | ||||
* | | | Merge trunk | apnadkarni | 2023-04-16 | 1 | -3/+7 |
|\ \ \ | |/ / | |||||
| * | | Fix indenting | jan.nijtmans | 2023-04-15 | 1 | -1/+1 |
| | | | |||||
| * | | Fix for [a7a89d422a4f5dd3], Under strict encoding, [gets] returns an error ↵ | pooryorick | 2023-04-15 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | instead of returning the second line. Also, ensure that position in file does not change if [gets] return an error. | ||||
| * | | Fix for [0cd1ae596e709259], under strict encoding, [gets] returns an error even | pooryorick | 2023-04-14 | 1 | -2/+1 |
| | | | | | | | | | though a complete line is available. | ||||
* | | | Merge trunk | apnadkarni | 2023-04-14 | 1 | -63/+55 |
|\ \ \ | |/ / | |||||
| * | | Remove last reference to -nocomplainencoding and fix some spelling errors. | pooryorick | 2023-04-13 | 1 | -2/+2 |
| | | | |||||
| * | | Merge 8.7 | jan.nijtmans | 2023-04-13 | 1 | -2/+0 |
| |\ \ | | |/ | |||||
| | * | cherry-pick from trunk: Remove one unnecesary call to Tcl_SetErrno() in ↵ | jan.nijtmans | 2023-04-13 | 1 | -8/+10 |
| | | | | | | | | | | | | DoReadChars(). | ||||
| | * | Cherry-pick: Rearrange code blocks in DoReadChars to do less work when ↵ | jan.nijtmans | 2023-04-12 | 1 | -69/+71 |
| | | | | | | | | | | | | returning early | ||||
| * | | Remove one unnecesary call to Tcl_SetErrno() in DoReadChars(). | pooryorick | 2023-04-13 | 1 | -6/+8 |
| | | | |||||
| * | | Remove unnecessary generation of string representation in DoReadChars. | pooryorick | 2023-04-12 | 1 | -13/+0 |
| | | | |||||
| * | | Rearrange code blocks in DoReadChars to do less work when returning early. | pooryorick | 2023-04-12 | 1 | -26/+31 |
| | | | |||||
| * | | Correct spelling errors in comments and documentation, but also a ↵ | pooryorick | 2023-04-12 | 1 | -29/+29 |
| |\ \ | | |/ | | | | | | | non-comment corrections in history.tcl and tcltest.test. | ||||
| | * | Correct spelling errors in comments and documentation, but also a non-comment | pooryorick | 2023-04-12 | 1 | -29/+29 |
| | | | | | | | | | corrections in history.tcl and tcltest.test. | ||||
| | * | Fix for [9ca87e6286262a62], sync fcopy buffers input in ReadChars(). | pooryorick | 2023-04-04 | 1 | -5/+7 |
| | | | |||||
| | * | Backport CHANNEL_PROFILE_GET() usage fix from 9.0 | jan.nijtmans | 2023-03-31 | 1 | -9/+4 |
| | | | |||||
* | | | Merge 9.0 | apnadkarni | 2023-04-08 | 1 | -40/+34 |
|\ \ \ | |/ / | |||||
| * | | Further fix for [fa3d9fd818fa0072]. In ChannelState.encoding, NULL no longer | pooryorick | 2023-04-06 | 1 | -40/+34 |
| | | | | | | | | | represents the binary encoding. | ||||
* | | | Merge 9.0 | apnadkarni | 2023-04-05 | 1 | -40/+70 |
|\ \ \ | |/ / | |||||
| * | | Fix for [fa3d9fd818fa0072], [fcopy $chan1 $chan2 -size $size] is not [puts | pooryorick | 2023-04-03 | 1 | -35/+63 |
| | | | | | | | | | -nonewline $chan2 [read $chan1 -size $size]. | ||||
| * | | Fix for [9ca87e6286262a62], sync fcopy buffers input in ReadChars(). | pooryorick | 2023-04-03 | 1 | -5/+7 |
| | | | |||||
* | | | Merge 9.0 | jan.nijtmans | 2023-04-01 | 1 | -12/+7 |
|\ \ \ | |/ / | |||||
| * | | Correct other CHANNEL_PROFILE_GET() usage as well, which had the same error. ↵ | jan.nijtmans | 2023-03-31 | 1 | -10/+3 |
| | | | | | | | | | | | | | | | Further on: 1) profile in inputEncodingFlags is always equal to profile in outputEncodingFlags, so we only have to test one of them 2) We copy from inputchannel to outputchannel, so we - really - only have to test inStatePtr->inputEncodingFlags and outStatePtr->outputEncodingFlags. 3) In Tcl 9 we only want to set sameencoding when both channels are in tcl8 mode | ||||
| * | | Fix TclCopyChannel() incorrect use of CHANNEL_PROFILE_GET(). | pooryorick | 2023-03-31 | 1 | -2/+4 |
| | | | |||||
| * | | Merge 8.7 | jan.nijtmans | 2023-03-31 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| * | | Merge 8.7 | jan.nijtmans | 2023-03-30 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | Merge 8.6 | jan.nijtmans | 2023-03-30 | 1 | -5/+7 |
| | |\ | |||||
| | | * | Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it ↵ | jan.nijtmans | 2023-03-30 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | on other platforms either. | ||||
| | | * | Further fix for issue [ea69b0258a9833cb], crash when using a channel ↵ | pooryorick | 2023-03-14 | 1 | -7/+23 |
| | | | | | | | | | | | | | | | | transformation on TCP client socket. | ||||
| | | * | Fix for issue [ea69b0258a9833cb], crash when using a channel transformation on | pooryorick | 2023-03-13 | 1 | -16/+22 |
| | | | | | | | | | | | | TCP client socket. |