summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
Commit message (Collapse)AuthorAgeFilesLines
* Indenting and comments, backported from 9.1jan.nijtmans2025-04-291-25/+36
|
* merge 8.7 (fixes another variant of [73bb42fb3f35cd61] BUFFER_PADDING panic)sebres2025-03-061-1/+2
|\
| * fixes another variant of [73bb42fb3f35cd61] (BUFFER_PADDING panic) with more ↵sebres2025-03-061-1/+2
| | | | | | | | tests; increases coverage for profile strict
* | Merge 8.7jan.nijtmans2025-01-311-2/+2
|\ \ | |/
| * (cherry-pick): Ticket [73bb42fb3f] Panic "Buffer Underflow, BUFFER_PADDING ↵jan.nijtmans2025-01-311-36/+45
| | | | | | | | | | not enough" due to not checked encoding decode result. Fix some indenting (spacing) in testcases (all backported from 9.0)
| * (cherry-pick )Fix ungrammatical doubling of words in commentsjan.nijtmans2024-12-101-1/+1
| |
* | Bug 73bb42fb3f: check also 2nd encoding conversion and set error as in the ↵oehhar2025-01-151-4/+15
| | | | | | | | one above. This is effective for the bug.
* | Change TclpLoadMemoryGetBuffer/TclpLoadMemory signature using size_t/Tcl_Sizejan.nijtmans2024-11-211-3/+3
|\ \ | |/
* | Fix ungrammatical doubling of words in commentsminordkf2024-09-211-1/+1
| |
* | merge 8.7dgp2024-09-101-1/+1
|\ \ | |/
| * silence compiler warningdgp2024-09-101-1/+1
| |
| * Add "chan isbinary" command. Part of TIP #699, meant for 8.7jan.nijtmans2024-06-281-0/+28
| |
* | Missing guard against NULL interp.dgp2024-07-221-2/+6
| |
* | Add "chan isbinary" for checking whether a _channel_ is binaryjan.nijtmans2024-06-241-0/+28
|\ \
| * | Add "chan isbinary" for checking whether a _channel_ is binary.jan.nijtmans2024-06-231-0/+28
| | |
* | | TIP #699: Remove support for encoding aliases {} and "binary".jan.nijtmans2024-06-241-2/+4
|\ \ \ | |/ / |/| |
| * | Eliminate "-encoding binary" in favour of "-translation binary". Meant for ↵jan.nijtmans2024-06-211-1/+5
|/ / | | | | | | investigation what would happen.
* | Remove dead code / outdated commentjan.nijtmans2024-06-201-9/+0
| |
* | Fix [7be97a6859]: Reviewing chan.n changesjan.nijtmans2024-06-191-1/+1
|\ \ | |/
| * Fix [7be97a6859]: Reviewing chan.n changesjan.nijtmans2024-06-191-1/+1
| |\
| | * Change "channelId" to "channel" in documentation, error-handling and testcasesjan.nijtmans2024-06-171-1/+1
| |/ |/|
| * Fix [18f4a94d03], by reverting [9bcec7cd880540c3], which caused it.jan.nijtmans2024-05-291-70/+21
| |\ | | | | | | See [https://core.tcl-lang.org/tcl/wiki?name=Rationale+for+rollback+of+refchan+event+generation+in+core|here] for motivation, approved by the TCT.
* | | Simpler commenting of Tcl_ChannelType instances; make zip channel type constdkf2024-06-091-3/+4
| | |
* | | Space before tab is an extremely unlikely to be correct indentation patterndkf2024-06-041-15/+15
| |/ |/|
* | Merge trunkapnadkarni2024-05-291-4/+4
|\ \
| * \ Merge 8.7jan.nijtmans2024-05-281-4/+4
| |\ \ | | |/
| | * Eliminate some unnecessary type-casts. Tcl_GetString -> TclGetString where ↵jan.nijtmans2024-05-281-5/+5
| | |\ | | | | | | | | | | | | appropriate
| | | * Make TclGlob() a static function. Sentinel/indenting/comment improvements ↵jan.nijtmans2024-05-281-5/+5
| | | | | | | | | | | | | | | | (all backported from 8.7)
| | | * Fix [3fc3287497]: TclGetProcessGlobalValue encodes information twice on Windowsjan.nijtmans2024-05-231-1/+1
| | | |\
* | | | \ Merge trunkapnadkarni2024-05-241-37/+96
|\ \ \ \ \ | |/ / / /
| * | | | Merge 8.7jan.nijtmans2024-05-231-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge 8.6jan.nijtmans2024-05-231-3/+3
| | |\ \ \ | | | |/ /
| | | * | Fix 2 warnings on Win32 (Thanks, Harald). Some more code cleanup, backported ↵jan.nijtmans2024-05-231-9/+7
| | | |/ | | | | | | | | | | | | from 8.7)
| | * | Merge 8.6. Fix TCL_NO_DEPRECATED buildjan.nijtmans2024-05-221-1/+1
| | |\ \ | | | |/
| * | | Merge 8.7. Some int -> Tcl_Sizejan.nijtmans2024-05-211-1/+1
| |\ \ \ | | |/ /
| * | | merge 8.7sebres2024-05-211-22/+89
| |\ \ \ | | |/ /
| | * | merge 8.6sebres2024-05-211-22/+89
| | |\ \ | | | |/
| | | * merge apn-channelstate-leak, fixes possible leaks on several members that ↵sebres2024-05-171-1/+29
| | | |\ | | | | | | | | | | | | | | | may be set after the close, asynchronously or via some callbacks or handlers
| | | | * Free ChannelState.chanMsg .unreportedMsgapnadkarni2024-05-171-2/+20
| | | | |
| | | * | fixes yet another segfault (if write handler doesn't generate an error, but ↵sebres2024-05-171-8/+9
| | | |/ | | | | | | | | | | | | returns normally with length of written bytes)
| | | * A couple of tiny code style improvementsdkf2024-05-161-4/+4
| | | |
| | | * code review: preserving r/w channels after all possible failures (don't need ↵sebres2024-05-161-3/+3
| | | |\ | | | | | | | | | | | | | | | to release in error case)
| | | | * code review: preserving r/w channels after all possible failures (don't need ↵sebres2024-05-161-3/+3
| | | | | | | | | | | | | | | | | | | | to release in error case)
| | | * | small code review: removal of unneeded - result is initially TCL_OKsebres2024-05-151-3/+0
| | | |\ \ | | | | |/
| | | | * small code review: removal of unneeded - result is initially TCL_OKsebres2024-05-151-3/+0
| | | | |
| | | * | ultimate fix for [79474c58800cdf94]: avoid segfault on copy-state structure ↵sebres2024-05-151-13/+54
| | | |\ \ | | | | |/ | | | | | | | | | | freed to early, protected by refCount and by preserving its r/w channels now
| | | | * ultimate fix for [79474c58800cdf94]: avoid segfault on copy-state structure ↵sebres2024-05-151-13/+54
| | | | | | | | | | | | | | | | | | | | | | | | | freed to early, protected by refCount and by preserving its r/w channels now; back-ported (squashed rewrite) from tclSE to 8.5 base
| * | | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-50/+51
| | | | | | | | | | | | | | | JN: Many of those changes are actually good, but there are too many changes to be able to search for a bug somewhere. Feel free to re-apply, after assuring it's really only whitespace changes. (my advise: do that after 9.0b2)
| * | | | Clean up a lot of small whitespace issues dkf2024-05-131-51/+50
| | | | | | | | | | | | | | | This is the dullest commit ever. Sorry.
| * | | | More whitespace cleanupdkf2024-05-101-18/+9
| | | | |