summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Performance optimization in TzsetIfNecessary() function. Cherry-picked from ↵jan.nijtmans2021-02-183-1/+34
| | | | sebres-8-6-clock-speedup-cr2 branch
* Fix bug in previous commit: Don't update stringPtr->numChars when doing a ↵jan.nijtmans2021-02-161-3/+0
| | | | "string reverse", because TclUtfToUCS4() doesn't count surrogate pairs as 2
* Fix [22324bcbd]: string reverse is broken for Emoji. Thanks to Chrisian ↵jan.nijtmans2021-02-161-3/+41
| | | | Werner for bug report and POC patch.
* Fix Tcl_UtfPrev for TCL_UTF_MAX>3, so it can jump back over Emoji. ↵jan.nijtmans2021-02-162-5/+5
| | | | | Backported from 8.7, no change for TCL_UTF_MAX=3. This way, the previous fix can be slightly more simplified, and working for TCL_UTF_MAX>3 too.
* Fix [d43f96c1a8]: string trimright is broken for Emojijan.nijtmans2021-02-151-8/+9
|
* More implicit type-casts, for better compatibility with C++jan.nijtmans2021-02-056-93/+92
|
* *.decls files are now in UTF-8. Use "in" operator in stead of "lsearch -exact".jan.nijtmans2021-01-274-8/+8
|
* Fix [8c025f8f0d]: Run-time error on tcl 8.6.11 32 bits (from cross-compile ↵jan.nijtmans2021-01-211-0/+9
|\ | | | | | | Centos6.9 64-bits)
| * Fix [8c025f8f0d]: Run-time error on tcl 8.6.11 32 bits (from cross-compile ↵jan.nijtmans2021-01-211-0/+9
| |\ | | | | | | | | | Centos6.9 64-bits)
| | * Possible fix (workaround) for [8c025f8f0d]: Run-time error on tcl 8.6.11 32 ↵jan.nijtmans2021-01-201-0/+9
| | | | | | | | | | | | | | | bits (from cross-compile Centos6.9 64-bits). Since autoconf-2.59 has limited support for cross-compilation, a better fix has to wait for Tcl 8.7 (which uses autoconf-2.70)
* | | Make tclCkalloc.c and tclExecute warning-free on Windows when compiled with ↵jan.nijtmans2021-01-202-17/+17
| |/ |/| | | | | --enable-memory=(mem|all).
* | Fix [1dab713a38]: Uninitialized-variable use while parsing '*' in BRE-mode ↵jan.nijtmans2021-01-111-1/+1
|\ \ | |/ | | | | regexps
| * Fix [1dab713a38]: Uninitialized-variable use while parsing '*' in BRE-mode ↵jan.nijtmans2021-01-111-1/+1
| | | | | | | | regexps
* | Fix mingw-w64 compiler warnings when using __USE_MINGW_ANSI_STDIO=1. Not ↵jan.nijtmans2021-01-071-162/+132
| | | | | | | | recommended, but it should work. See: [https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/|gnu printf]
* | Fix [c376607b22]: Tcl 8.6: Extended plane character does not encode ↵jan.nijtmans2021-01-041-3/+3
| | | | | | | | correctly to UTF-16 with TCL_UTF_MAX==5
* | merge 8.6dgp2020-12-151-1/+1
|\ \
| * | Fix C:\test\tcl8.6.11_rc0\win\..\generic\tclStubInit.c(107) : warning C4761:jan.nijtmans2020-12-141-1/+1
| | | | | | | | | | | | integral size mismatch in argument; Only happening on 32-bit Windows
* | | merge 8.6dgp2020-12-101-2/+2
|\ \ \ | |/ /
| * | Potential fix for [ed5be77734]: win: "comx:" not recognized as serial port.jan.nijtmans2020-12-101-2/+2
| | | | | | | | | (concluded from code inspection, not tested yet)
* | | merge 8.6dgp2020-12-0725-156/+158
|\ \ \ | |/ /
| * | Merge 8.5 (syncing "tcltest" package). Use more uppercase hex representationsjan.nijtmans2020-12-042-27/+27
| |\ \ | | |/
| | * Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0xE8 is ↵jan.nijtmans2020-11-181-2/+4
| | | | | | | | | | | | the start of a 3-byte UTF-8 sequence, so Tcl_UtfNext is expected to read next byte and see if it is a continuation byte
| | * (cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-w64. jan.nijtmans2020-10-221-1/+1
| | | | | | | | | Change (internal, windows-only) TCL_I_MODIFIER to TCL_Z_MODIFIER, since that's how it's called in Tcl 8.7 and up
| * | Get rid of "register" keyword, forbidden in c++20.jan.nijtmans2020-11-2619-123/+123
| | | | | | | | | Fix some more warnings, discovered in c20/c++20 mode
| * | Use '&' in stead of 'and' in copyright statements consistantlyjan.nijtmans2020-11-203-4/+4
| | |
| * | Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0xE8 is ↵jan.nijtmans2020-11-161-2/+4
| | | | | | | | | | | | | | | | | | the start of a 3-byte UTF-8 sequence, so Tcl_UtfNext is expected to read next byte and see if it is a continuation byte. Comment 4 testcases (utf-6.110/111/114/115) for being misleading too, because they don't even call Tcl_UtfNext(). No change to code, only testcases
* | | merge 8.6dgp2020-10-272-3/+3
|\ \ \ | |/ /
| * | Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsistent ↵jan.nijtmans2020-10-262-3/+3
| | | | | | | | | | | | error messages)
* | | Merge 8.6. Update "changes", but left out numerous utf-8 testsuite changes ↵jan.nijtmans2020-10-261-2/+2
|\ \ \ | |/ / | | | | | | and TZ update (since 2020d will come soon)
| * | Fix warning: /home/jboss/workspace/tcl8.7/generic/tclIO.c:9997:27: warning: ↵jan.nijtmans2020-10-231-2/+2
| | | | | | | | | | | | | | | | | | writing 1 byte into a region of size 0 [-Wstringop-overflow=] 9997 | RemovePoint(nextPtr)[0] = '\r'; | ^
* | | merge 8.6dgp2020-10-211-1/+1
|\ \ \ | |/ /
| * | Fix [c975939973]: Usage of gnu_printf in latest mingw-w64jan.nijtmans2020-10-211-1/+1
| | |
* | | merge 8.6dgp2020-10-191-0/+8
|\ \ \ | |/ /
| * | Remove use of CFG_ENCODING from rules.vc/makefile.vc: It will become ↵jan.nijtmans2020-10-151-0/+8
| | | | | | | | | | | | obsolete with TIP #587. In stead, move the default handling to tclPkgConfig.c for now
* | | merge 8.6dgp2020-10-1322-85/+100
|\ \ \ | |/ /
| * | More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-1322-85/+100
| | | | | | | | | | | | stead of Tcl_NewIntObj()
* | | merge 8.6dgp2020-10-091-20/+22
|\ \ \ | |/ /
| * | Merge 8.5jan.nijtmans2020-10-091-20/+22
| |\ \ | | |/
| | * (cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" ↵jan.nijtmans2020-10-092-30/+37
| | | | | | | | | | | | | | | multiple times with "glob". Also fix a few (harmless) -Wundef warnings
* | | merge 8.6dgp2020-10-085-6/+12
|\ \ \ | |/ /
| * | Eliminate warnings when compiling with -Wundefjan.nijtmans2020-10-084-4/+4
| | |
| * | Fix [014ade1d44]: Misleading error message when using "-path" multiple times ↵jan.nijtmans2020-10-081-2/+8
| | | | | | | | | | | | with "glob"
* | | merge 8.6dgp2020-09-301-8/+8
|\ \ \ | |/ /
| * | Update internal zlib channel type from TCL_CHANNEL_VERSION_3 to ↵jan.nijtmans2020-09-281-8/+8
| | | | | | | | | | | | TCL_CHANNEL_VERSION_5. Not actually a change, since supported procs are the same. So all internal channels have the same type
* | | merge 8.6dgp2020-09-2812-100/+95
|\ \ \ | |/ /
| * | Make Tcl compile warning-free using -Wshadowjan.nijtmans2020-09-2811-99/+94
| | |
| * | When sourcing script files (even when simulating that through open|read), ↵jan.nijtmans2020-09-251-1/+1
| |\ \ | | |/ | | | | | | | | | always set -eofchar \032 just like the source command does. Possible security issue: this could make it possible to evaluate hidden content at the end of pkgIndex files.
| | * cherry pick [df5f1e8652]: Fix [5bbd044812]: Fix index underflow.sebres2020-07-161-2/+2
| | |
* | | merge 8.6dgp2020-09-212-7/+10
|\ \ \ | |/ /
| * | Improve TclInvalidateStringRep() macro such that (objPtr) is only evaluated ↵jan.nijtmans2020-09-202-7/+10
| | | | | | | | | | | | once. Addation brackets in TclHasStringRep() macro