summaryrefslogtreecommitdiffstats
path: root/generic/tclIORChan.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix ungrammatical doubling of words in commentsminordkf8 days1-2/+2
|
* Use enums for argument indices, not 'function-scoped' definesdkf2024-08-221-12/+8
|
* Simpler commenting of Tcl_ChannelType instances; make zip channel type constdkf2024-06-091-23/+23
|
* Merge trunkapnadkarni2024-05-241-40/+42
|\
| * Merge 8.7. Some int -> Tcl_Sizejan.nijtmans2024-05-211-1/+1
| |\
| * \ merge 8.7sebres2024-05-211-19/+22
| |\ \ | | |/
| | * merge 8.6sebres2024-05-211-19/+22
| | |\
| | | * fix mem-leak originating by cyclic reference `rcPtr->name (type "channel", ↵sebres2024-05-161-19/+22
| | | | | | | | | | | | | | | | | | | | its refCount may be larger than 1) => statPtr => chanPtr => chanPtr->instanceData => refChan`: this would avoid that object rcPtr->name (name of channel that gets deleted or dead) still holds the reference to statPtr, see 2nd part of bug [79474c58800cdf94].
| | * | Merge 8.6jan.nijtmans2024-04-191-2/+2
| | |\ \ | | | |/
| | | * More code cleanup, backported from 8.7jan.nijtmans2024-04-191-158/+161
| | | |
| | | * Reduce the diff between 8.6 and 8.7, by backporting some ↵jan.nijtmans2024-04-181-37/+38
| | | | | | | | | | | | | | | | formatting/restructuring. No functional change.
| | * | More indentingjan.nijtmans2024-04-191-30/+30
| | | |
| | * | (backport) Fix indentingjan.nijtmans2024-04-191-113/+113
| | | |
| * | | Backout the "dullest commit ever" (not my words ....). It breaks the build. jan.nijtmans2024-05-141-54/+54
| | | | | | | | | | | | 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-54/+54
| | | | | | | | | | | | This is the dullest commit ever. Sorry.
| * | | More whitespace cleanupdkf2024-05-101-31/+26
| | | |
* | | | Rebase to 9.0jan.nijtmans2024-04-191-60/+6
|\ \ \ \ | |/ / / |/| | |
| * | | Rebase to 9.0jan.nijtmans2024-04-181-60/+6
| |\ \ \
| | * | | Fix [18f4a94d03] by backing out [9bcec7cd880540c3] (again)jan.nijtmans2024-04-181-60/+6
| | |/ /
* | | | Fix indentingjan.nijtmans2024-04-191-143/+143
|/ / /
* | | Merge 8.7jan.nijtmans2024-04-111-1/+1
|\ \ \ | |/ /
| * | Merge 8.6. Use Tcl_NewBooleanObj for booleans; we should say what we meanjan.nijtmans2024-04-111-1/+1
| |\ \ | | |/
| | * Tcl_GetString() -> TclGetString(), for minor speedup.jan.nijtmans2024-04-041-11/+11
| | |
* | | Merge 8.7. Tcl_GetStringFromObj() -> TclGetStringFromObj() (optimization)jan.nijtmans2024-03-211-4/+4
|\ \ \ | |/ /
| * | Restore TclListObjLength()/TclListObjGetElements() macro's, as they were in 8.6jan.nijtmans2024-03-131-5/+5
| | |
* | | Fix indentation/brace usage style issuesdkf2024-03-191-3/+3
| | |
* | | Restore TclListObjGetElements()/TclListObjLength() as they were in 8.6 too.jan.nijtmans2024-03-121-5/+5
| | |
* | | Merge 8.7jan.nijtmans2023-12-271-2/+2
|\ \ \ | |/ /
| * | Don't use TCL_SIZE_MODIFIER "u", since Tcl_Size can be negativejan.nijtmans2023-12-261-2/+5
| | |
* | | Revise macro usagejan.nijtmans2023-11-161-2/+2
| | |
* | | Tcl_GetByteArrayFromObj -> Tcl_GetBytesFromObj everywhere in core, since it ↵jan.nijtmans2023-11-081-2/+2
| | | | | | | | | | | | has the possibility of better error-reporting. This fixes the -DTCL_NO_DEPRECATED build failure
* | | Merge 8.7jan.nijtmans2023-10-191-1/+1
|\ \ \ | |/ /
| * | Handle sentinels for any C++ compilerjan.nijtmans2023-10-171-1/+1
| | |
* | | Merge 8.7jan.nijtmans2023-10-111-4/+5
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2023-10-111-4/+5
| |\ \ | | |/
| | * Remove typecasts, just define directly as Tcl_FreeProcjan.nijtmans2023-10-111-4/+4
| | |
| | * Proposed fix for [8ab8a138c9]: Do not pass incompatible function pointers to ↵jan.nijtmans2023-10-101-4/+5
| | | | | | | | | | | | | | | Tcl_EventuallyFree(). This should eliminate all warnings when using -fsanitize=function.
| | * Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-121-13/+13
| | | | | | | | | corrections in history.tcl and tcltest.test.
| * | The experiment deployment of TclDuplicatePureObj() has been reverted fromdgp2023-08-211-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the trunk. This branch attempts to prepare a reversion for the core-8-branch also, via a cherrypick and resolution of conflicts. Starting an experiment in one new release to reject it in the next is at best odd. Also, valgrind test runs of core-8-branch show memory leaks with TclDuplicatePureObj() on the stack trace. This checkin shows a clean valgrind run. There are three test failures on this checkin, which I hope someone versed in the ArithSeries work can resolve. They are the tests: lseq-3.14 lseq-4.19 lseq-bug-54329e39c7 merge bug-bc7ddc7944 (revert use of TclDuplicatePureObj)
| * | Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. ↵jan.nijtmans2023-05-311-5/+9
| | | | | | | | | | | | Backported from 9.0
| * | More int/Tcl_Size backportjan.nijtmans2023-05-201-17/+18
| | |
* | | Replace more DuplicateObj with ListObjCopy.griffin2023-08-121-2/+2
| | |
* | | Revert more bits.griffin2023-08-101-6/+0
| | |
* | | Revert DupolicatePureObj back to DuplicateObj.griffin2023-08-101-2/+2
| | |
* | | Merge trunkgriffin2023-05-231-4/+11
|\ \ \
| * | | Improve TclDuplicatePureObj(), remove unnecessary increment/decrement pairs, ↵pooryorick2023-05-171-4/+11
|/ / / | | | | | | | | | and add more error checking.
* | | New function, TclDuplicatePureObj(), doesn't duplicate the string pooryorick2023-05-161-2/+2
| | | | | | | | | | | | | | | representation when duplicating an object, unless necessary. Remove TclListObjCopy() in favor of TclDuplicatePureObj(), allowing internal representation to change after the copy rather than before.
* | | Merge trunkapnadkarni2023-04-141-13/+13
|\ \ \
| * \ \ Correct spelling errors in comments and documentation, but also a ↵pooryorick2023-04-121-13/+13
| |\ \ \ | | |/ / | | | | | | | | non-comment corrections in history.tcl and tcltest.test.
| | * | Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-13/+13
| | | | | | | | | | | | corrections in history.tcl and tcltest.test.