summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Backport [66ffafd309]: Truncated encoding for DBCS results in infinite loop ↵jan.nijtmans2023-07-051-18/+27
| | | | and running out of memory
* Since TCL_MAJOR_VERSION is always "8", don't check for it. Add ↵jan.nijtmans2023-06-307-178/+156
| | | | C++-compatible typecasts.
* Remove mention of Tcl_GlobalEval() from comment.dgp2023-05-041-2/+3
|
* Fix [ab123cfd3d] - scan ubsan. Tx chrstphrchvz for patchapnadkarni2023-05-021-6/+9
|
* Fix [784befb0ba] - tailcall crashapnadkarni2023-05-021-1/+1
|
* Add one more unused stub entryjan.nijtmans2023-04-153-5/+9
|
* 2 more spelling fixes, but undo fixes in compat/zlib: Please report them ↵jan.nijtmans2023-04-121-1/+1
| | | | upstream, otherwise they will re-appear here every time zlib is updated to a newer version.
* Correct spelling errors in comments and documentation, but also non-comment pooryorick2023-04-1264-286/+286
| | | corrections in history.tcl and tcltest.test.
* Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it ↵jan.nijtmans2023-03-3028-92/+95
| | | | on other platforms either.
* 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 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)
* Fix [15e74a2fe6]: Fix various typosjan.nijtmans2023-03-2411-23/+23
|
* Resolve C warnings on 32-bit platforms. More code cleanup.jan.nijtmans2023-03-231-118/+119
|
* 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
| | | | | | |
| | * | | | | Fix [db7a085bd9]: encoding convertfrom -strict utf-16 accepts partial surrogatesjan.nijtmans2023-03-121-5/+34
| | |\ \ \ \ \
| | | * | | | | Proposed fix for [db7a085bd9]: encoding convertfrom -strict utf-16 accepts ↵jan.nijtmans2023-03-112-5/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | partial surrogates. TODO: testcases, and implement for 8.7 too
| | | * | | | | Fix cmdAH-4.3.13.00D80000.solo.utf-32le.tcl8.a testcase from tip-656-tcl9 ↵jan.nijtmans2023-03-091-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch, when TCL_UTF_MAX=3
| | | * | | | | More -Wconversion warning fixesjan.nijtmans2023-03-085-58/+60
| | | | | | | |
| | | * | | | | Merge 8.7jan.nijtmans2023-03-081-1/+18
| | | |\ \ \ \ \
| | | * \ \ \ \ \ Merge 8.7jan.nijtmans2023-03-071-1/+1
| | | |\ \ \ \ \ \
| | | * | | | | | | ckfree() -> Tcl_Free()jan.nijtmans2023-03-061-1/+1
| | | | | | | | | |
| | | * | | | | | | Merge 8.7jan.nijtmans2023-03-051-16/+40
| | | |\ \ \ \ \ \ \ | | | | | |_|_|/ / / | | | | |/| | | | |
| | | * | | | | | | Another round of -1 -> TCL_INDEX_NONEjan.nijtmans2023-03-0527-598/+598
| | | | | | | | | |