Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Performance optimization in TzsetIfNecessary() function. Cherry-picked from ↵ | jan.nijtmans | 2021-02-18 | 3 | -1/+34 |
| | | | | sebres-8-6-clock-speedup-cr2 branch | ||||
* | Fix bug in previous commit: Don't update stringPtr->numChars when doing a ↵ | jan.nijtmans | 2021-02-16 | 1 | -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.nijtmans | 2021-02-16 | 1 | -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.nijtmans | 2021-02-16 | 2 | -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 Emoji | jan.nijtmans | 2021-02-15 | 1 | -8/+9 |
| | |||||
* | More implicit type-casts, for better compatibility with C++ | jan.nijtmans | 2021-02-05 | 6 | -93/+92 |
| | |||||
* | *.decls files are now in UTF-8. Use "in" operator in stead of "lsearch -exact". | jan.nijtmans | 2021-01-27 | 4 | -8/+8 |
| | |||||
* | Fix [8c025f8f0d]: Run-time error on tcl 8.6.11 32 bits (from cross-compile ↵ | jan.nijtmans | 2021-01-21 | 1 | -0/+9 |
|\ | | | | | | | Centos6.9 64-bits) | ||||
| * | Fix [8c025f8f0d]: Run-time error on tcl 8.6.11 32 bits (from cross-compile ↵ | jan.nijtmans | 2021-01-21 | 1 | -0/+9 |
| |\ | | | | | | | | | | Centos6.9 64-bits) | ||||
| | * | Possible fix (workaround) for [8c025f8f0d]: Run-time error on tcl 8.6.11 32 ↵ | jan.nijtmans | 2021-01-20 | 1 | -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.nijtmans | 2021-01-20 | 2 | -17/+17 |
| |/ |/| | | | | | --enable-memory=(mem|all). | ||||
* | | Fix [1dab713a38]: Uninitialized-variable use while parsing '*' in BRE-mode ↵ | jan.nijtmans | 2021-01-11 | 1 | -1/+1 |
|\ \ | |/ | | | | | regexps | ||||
| * | Fix [1dab713a38]: Uninitialized-variable use while parsing '*' in BRE-mode ↵ | jan.nijtmans | 2021-01-11 | 1 | -1/+1 |
| | | | | | | | | regexps | ||||
* | | Fix mingw-w64 compiler warnings when using __USE_MINGW_ANSI_STDIO=1. Not ↵ | jan.nijtmans | 2021-01-07 | 1 | -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.nijtmans | 2021-01-04 | 1 | -3/+3 |
| | | | | | | | | correctly to UTF-16 with TCL_UTF_MAX==5 | ||||
* | | merge 8.6 | dgp | 2020-12-15 | 1 | -1/+1 |
|\ \ | |||||
| * | | Fix C:\test\tcl8.6.11_rc0\win\..\generic\tclStubInit.c(107) : warning C4761: | jan.nijtmans | 2020-12-14 | 1 | -1/+1 |
| | | | | | | | | | | | | integral size mismatch in argument; Only happening on 32-bit Windows | ||||
* | | | merge 8.6 | dgp | 2020-12-10 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Potential fix for [ed5be77734]: win: "comx:" not recognized as serial port. | jan.nijtmans | 2020-12-10 | 1 | -2/+2 |
| | | | | | | | | | (concluded from code inspection, not tested yet) | ||||
* | | | merge 8.6 | dgp | 2020-12-07 | 25 | -156/+158 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5 (syncing "tcltest" package). Use more uppercase hex representations | jan.nijtmans | 2020-12-04 | 2 | -27/+27 |
| |\ \ | | |/ | |||||
| | * | Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0xE8 is ↵ | jan.nijtmans | 2020-11-18 | 1 | -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.nijtmans | 2020-10-22 | 1 | -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.nijtmans | 2020-11-26 | 19 | -123/+123 |
| | | | | | | | | | Fix some more warnings, discovered in c20/c++20 mode | ||||
| * | | Use '&' in stead of 'and' in copyright statements consistantly | jan.nijtmans | 2020-11-20 | 3 | -4/+4 |
| | | | |||||
| * | | Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0xE8 is ↵ | jan.nijtmans | 2020-11-16 | 1 | -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.6 | dgp | 2020-10-27 | 2 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsistent ↵ | jan.nijtmans | 2020-10-26 | 2 | -3/+3 |
| | | | | | | | | | | | | error messages) | ||||
* | | | Merge 8.6. Update "changes", but left out numerous utf-8 testsuite changes ↵ | jan.nijtmans | 2020-10-26 | 1 | -2/+2 |
|\ \ \ | |/ / | | | | | | | and TZ update (since 2020d will come soon) | ||||
| * | | Fix warning: /home/jboss/workspace/tcl8.7/generic/tclIO.c:9997:27: warning: ↵ | jan.nijtmans | 2020-10-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | writing 1 byte into a region of size 0 [-Wstringop-overflow=] 9997 | RemovePoint(nextPtr)[0] = '\r'; | ^ | ||||
* | | | merge 8.6 | dgp | 2020-10-21 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix [c975939973]: Usage of gnu_printf in latest mingw-w64 | jan.nijtmans | 2020-10-21 | 1 | -1/+1 |
| | | | |||||
* | | | merge 8.6 | dgp | 2020-10-19 | 1 | -0/+8 |
|\ \ \ | |/ / | |||||
| * | | Remove use of CFG_ENCODING from rules.vc/makefile.vc: It will become ↵ | jan.nijtmans | 2020-10-15 | 1 | -0/+8 |
| | | | | | | | | | | | | obsolete with TIP #587. In stead, move the default handling to tclPkgConfig.c for now | ||||
* | | | merge 8.6 | dgp | 2020-10-13 | 22 | -85/+100 |
|\ \ \ | |/ / | |||||
| * | | More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵ | jan.nijtmans | 2020-10-13 | 22 | -85/+100 |
| | | | | | | | | | | | | stead of Tcl_NewIntObj() | ||||
* | | | merge 8.6 | dgp | 2020-10-09 | 1 | -20/+22 |
|\ \ \ | |/ / | |||||
| * | | Merge 8.5 | jan.nijtmans | 2020-10-09 | 1 | -20/+22 |
| |\ \ | | |/ | |||||
| | * | (cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" ↵ | jan.nijtmans | 2020-10-09 | 2 | -30/+37 |
| | | | | | | | | | | | | | | | multiple times with "glob". Also fix a few (harmless) -Wundef warnings | ||||
* | | | merge 8.6 | dgp | 2020-10-08 | 5 | -6/+12 |
|\ \ \ | |/ / | |||||
| * | | Eliminate warnings when compiling with -Wundef | jan.nijtmans | 2020-10-08 | 4 | -4/+4 |
| | | | |||||
| * | | Fix [014ade1d44]: Misleading error message when using "-path" multiple times ↵ | jan.nijtmans | 2020-10-08 | 1 | -2/+8 |
| | | | | | | | | | | | | with "glob" | ||||
* | | | merge 8.6 | dgp | 2020-09-30 | 1 | -8/+8 |
|\ \ \ | |/ / | |||||
| * | | Update internal zlib channel type from TCL_CHANNEL_VERSION_3 to ↵ | jan.nijtmans | 2020-09-28 | 1 | -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.6 | dgp | 2020-09-28 | 12 | -100/+95 |
|\ \ \ | |/ / | |||||
| * | | Make Tcl compile warning-free using -Wshadow | jan.nijtmans | 2020-09-28 | 11 | -99/+94 |
| | | | |||||
| * | | When sourcing script files (even when simulating that through open|read), ↵ | jan.nijtmans | 2020-09-25 | 1 | -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. | sebres | 2020-07-16 | 1 | -2/+2 |
| | | | |||||
* | | | merge 8.6 | dgp | 2020-09-21 | 2 | -7/+10 |
|\ \ \ | |/ / | |||||
| * | | Improve TclInvalidateStringRep() macro such that (objPtr) is only evaluated ↵ | jan.nijtmans | 2020-09-20 | 2 | -7/+10 |
| | | | | | | | | | | | | once. Addation brackets in TclHasStringRep() macro |