summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6: Allow empty mode list in [chan create].max2023-03-301-11/+10
|\
| * Allow empty mode list in [chan create], so that refchans are able to mimic ↵max2023-03-301-11/+10
| | | | | | | | the behavior of channels created by [socket -server].
* | Fix [fa128568a5]: EOVERFLOW does not necessarily mean "file too big". ↵jan.nijtmans2023-03-281-45/+63
|\ \ | | | | | | | | | Synchronize many error-messages with what Linux gives nowadays.
| * | More text fixesjan.nijtmans2023-03-271-4/+16
| | |
| * | Merge 8.7jan.nijtmans2023-03-2723-50/+50
| |\ \
| * \ \ Merge 8.7. Go back to lowercase for POSIX err-messagesjan.nijtmans2023-03-275-167/+188
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2023-03-265-8/+10
| |\ \ \ \ | | |/ / /
| * | | | Sync all error-messages with modern Linuxjan.nijtmans2023-03-261-52/+48
| | | | |
| * | | | Experimental fix for [fa128568a5]: EOVERFLOW does not necessarily mean "file ↵jan.nijtmans2023-03-257-147/+151
| | | | | | | | | | | | | | | | | | | | | | | | | too big" Let's synchronize the POSIX error-messages with what Linux gives nowadays.
* | | | | Merge 8.6. POSIX errors update and minizip fixapnadkarni2023-03-281-19/+64
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| |
| * | | Fix some typo's in POSIX error-messages, and add missing ones (ESTRPIPE, ↵jan.nijtmans2023-03-271-19/+64
| | | | | | | | | | | | | | | | ERESTART, ENOSHARE, ENOMEDIUM, ENMFILE, EMEDIUMTYPE, EFTYPE, ECASECLASH)
* | | | More (internal) usage of TclGetString() and TclGetStringFromObj() macro'sjan.nijtmans2023-03-2723-50/+50
| | | |
* | | | Avoid msvc "illegal indirection" error.pooryorick2023-03-271-1/+1
| |_|/ |/| |
* | | Fix for [6d4e9d1af5bf5b7d]: Memory leak: SetFsPathFromAny, assisted by the pooryorick2023-03-261-0/+2
| |/ |/| | | global literal table, causes a Tcl_Obj to reference itself.
* | Merge 8.6jan.nijtmans2023-03-2412-19/+19
|\ \ | |/
| * Fix [15e74a2fe6]: Fix various typosjan.nijtmans2023-03-2411-23/+23
| |
* | Merge 8.6jan.nijtmans2023-03-231-7/+6
|\ \ | |/
| * Resolve C warnings on 32-bit platforms. More code cleanup.jan.nijtmans2023-03-231-118/+119
| |
* | fix for [f3cb2a32d6] Add initialization to allocation of string rep buffer ↵jan.nijtmans2023-03-231-0/+1
|\ \ | | | | | | | | | to resolve valgrind reports on use of uninitialized memory
| * | Candidate fix for [f3cb2a32d6]dgp2023-03-201-0/+1
| | | | | | | | | | | | Add initialization to allocation of string rep buffer to resolve valgrind reports on use of uninitialized memory
* | | One missing int -> Tcl_Size changejan.nijtmans2023-03-222-3/+3
| | |
* | | Merge 8.6jan.nijtmans2023-03-221-2/+2
|\ \ \ | | |/ | |/|
| * | Fix [0265750233]: invalid read in cmdAH-4.3.13.C1.solo.utf-8.tcl8jan.nijtmans2023-03-221-1/+1
| |\ \
| | * | Proposed fix for [0265750233]: invalid read in cmdAH-4.3.13.C1.solo.utf-8.tcl8.jan.nijtmans2023-03-221-1/+1
| |/ / |/| |
* | | Move (TCL_ENCODING_PROFILE_MASK|GET|SET) from tcl.h to tclIO.h, since those ↵jan.nijtmans2023-03-229-40/+33
| | | | | | | | | | | | are not public. Some formatting.
* | | code cleanup: use more *SURROGATE() macro'sjan.nijtmans2023-03-221-8/+8
| | |
* | | Since TCL_ENCODING_PROFILE_DEFAULT == TCL_ENCODING_PROFILE_TCL8 (on Tcl 8), ↵jan.nijtmans2023-03-224-18/+5
| | | | | | | | | | | | we can simplify.
* | | Remove unneeded Tcl_IncrRefCount and TclDecrRefCount. TclPtrSetVarIdx takespooryorick2023-03-211-2/+0
| | | | | | | | | ownership of newValuePtr if its refCount is 0, and either stores or frees it.
* | | Fix [1bedc53c8c]: synchronous [read] with -strictencoding does not produce ↵jan.nijtmans2023-03-211-1/+27
|\ \ \ | | | | | | | | | | | | an error on invalid input
| * | | Proposed fix for [1bedc53c8c]: synchronous [read] with -strictencoding does ↵jan.nijtmans2023-03-201-1/+27
| | | | | | | | | | | | | | | | not produce an error on invalid input
* | | | Fix indenting. More use of TCL_INDEX_NONEjan.nijtmans2023-03-211-146/+136
|/ / /
* | | Proposed fix for [154ed7ce56]: Tcl 9: [gets] on -strictencoding 1 configured ↵jan.nijtmans2023-03-202-9/+19
| |/ |/| | | | | | | channel. Extracted from TIP #657 branch (better keeping bug-fix separate from enhancements)
* | Fix [bdcb5126c0]: Failed assertion in test chan-io-7.3jan.nijtmans2023-03-201-1/+2
| |
* | Use TclNewIndexObj() in stead of Tcl_NewWideIntObj(), which - actually - ↵jan.nijtmans2023-03-201-7/+9
| | | | | | | | does the same but better for debugging.
* | Fix [d7fd37ebd9]: handling leftover prefix in table encodingjan.nijtmans2023-03-201-13/+18
|\ \
| * | Possible fix for [d7fd37ebd9]: handling leftover prefix in table encodingjan.nijtmans2023-03-191-13/+17
|/ /
* | Merge 8.7jan.nijtmans2023-03-173-13/+16
|\ \
| * | Fix [6390566ecd]: Testcase cmdAH-4.3.13.00DC0000.tail.utf-32.tcl8.a fails ↵jan.nijtmans2023-03-171-4/+7
| | | | | | | | | | | | sometimes
| * | If TCL_UTF_MAX=4, don't set 'exact' to 1jan.nijtmans2023-03-161-1/+1
| | |
* | | Merge 8.7apnadkarni2023-03-164-18/+48
|\ \ \ | |/ /
| * | Prevent extensions compiled with TCL_UTF_MAX=4 (See ↵jan.nijtmans2023-03-161-0/+7
| |\ \ | | | | | | | | | | | | [https://core.tcl-lang.org/tips/doc/trunk/tip/542.md|TIP #542]) from running in Tcl 8.6.
| * | | Fix (minor) warning on 32-bit platformsjan.nijtmans2023-03-161-2/+2
| | | |
| * | | Further fix for issue [ea69b0258a9833cb], crash when using a channel ↵pooryorick2023-03-152-16/+39
| | | | | | | | | | | | | | | | transformation on TCP client socket.
* | | | Change -encodingprofile to -profileapnadkarni2023-03-161-29/+29
| | | |
* | | | Merge 8.7apnadkarni2023-03-143-44/+90
|\ \ \ \ | |/ / /
| * | | Since "unicode" is deprecated, use "utf-16" in testcases. Otherwise ↵jan.nijtmans2023-03-141-1/+1
| |\ \ \ | | | | | | | | | | | | | | | -DTCL_NO_DEPRECATED build fails.
| * \ \ \ Fix for issue [ea69b0258a9833cb], crash when using a channel transformation onpooryorick2023-03-131-27/+40
| |\ \ \ \ | | | | | | | | | | | | TCP client socket.
| | * | | | Fix for issue [ea69b0258a9833cb], crash when using a channel transformation onpooryorick2023-03-131-27/+40
| | | | | | | | | | | | | | | | | | TCP client socket.
| * | | | | Merge 8.6: Bug [183a1adcc0]. Buffer overflow in Tcl_UtfToExternalapnadkarni2023-03-132-2/+254
| |\ \ \ \ \
| * | | | | | Backport [6fb14ee3e876978c]. Add testcasesjan.nijtmans2023-03-121-7/+5
| | | | | | |