Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix "possibly uninitialized variable" warning, seen with gcc-11 (however ↵ | jan.nijtmans | 2021-05-27 | 1 | -1/+1 |
| | | | | harmless) | ||||
* | Fix [a73c79081e]: Doc fix in tcl.h, by not suggesting wchar_t any more for ↵ | jan.nijtmans | 2021-05-26 | 1 | -4/+2 |
|\ | | | | | | | Tcl_UniChar. | ||||
| * | Fix [a73c79081e]: Doc fix in tcl.h, by not suggesting wchar_t any more for ↵ | jan.nijtmans | 2021-05-26 | 1 | -4/+2 |
| | | | | | | | | Tcl_UniChar. | ||||
* | | Fix [52cc90776c]: Warning when compile with gcc v9.3.0 | jan.nijtmans | 2021-05-20 | 1 | -2/+2 |
| | | |||||
* | | Remove the refCount increment that accompanied the decrement removed in the | pooryorick | 2021-05-18 | 1 | -1/+0 |
| | | | | | | last commit. | ||||
* | | Remove unnecessary refCount decrement. | pooryorick | 2021-05-17 | 1 | -1/+0 |
| | | |||||
* | | Fix for [688fcc7082fa99a4], trace on imported alias deletes alias and then | pooryorick | 2021-05-17 | 1 | -14/+13 |
| | | | | | | calls import and triggers memory error. | ||||
* | | Remove TODO comment which is already done | jan.nijtmans | 2021-05-07 | 1 | -2/+0 |
| | | |||||
* | | Handle POSIX error EILSEQ: "invalid byte sequence" | jan.nijtmans | 2021-05-06 | 1 | -0/+6 |
| | | |||||
* | | Fix [24b9181478]: Fix unsafe buffer lifetime | jan.nijtmans | 2021-05-03 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Fix [24b9181478]: Fix unsafe buffer lifetime | jan.nijtmans | 2021-05-03 | 1 | -1/+2 |
| | | |||||
* | | merge 8.5; adapt fix for 8.6 | dgp | 2021-04-14 | 1 | -1/+8 |
|\ \ | |/ | |||||
| * | Bug fix | dgp | 2021-04-14 | 1 | -1/+2 |
| | | |||||
* | | Follow-up to [15c7b4f93e]: "Implement TCL_ENCODING_STOPONERROR flag for ↵ | jan.nijtmans | 2021-04-01 | 1 | -6/+6 |
| | | | | | | | | UtfToUtf encoder/decoder". Only do this check when pureNullMode == 0, otherwise we violate EIAS. | ||||
* | | remove useless save/restore | jan.nijtmans | 2021-03-30 | 1 | -2/+0 |
| | | |||||
* | | Merge 8.5 | jan.nijtmans | 2021-03-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix incorrect comment: underscore ('_') is allowed in a packageName | jan.nijtmans | 2021-03-22 | 1 | -1/+1 |
| | | |||||
| * | Backport Tcl_UtfCharComplete() functionality from 8.6 for TCL_UTF_MAX>3. ↵ | jan.nijtmans | 2021-03-11 | 1 | -1/+18 |
| | | | | | | | | This makes Tcl_UtfCharComplete() usable to protect Tcl_UtfNext() calls for overflow. No change for TCL_UTF_MAX=3 (default build) | ||||
* | | Implement TCL_ENCODING_STOPONERROR flag for UtfToUtf encoder/decoder. ↵ | jan.nijtmans | 2021-03-21 | 1 | -7/+25 |
| | | | | | | | | Backported from 8.7 | ||||
* | | Change Tcl_StaticPackage's "pkgName" argument to "prefix" and improve ↵ | jan.nijtmans | 2021-03-19 | 6 | -38/+38 |
| | | | | | | | | documentation, describing better what this argument does. | ||||
* | | Delete some useless code. Was only place where we fed an uncontrolled value ↵ | dkf | 2021-03-18 | 1 | -2/+0 |
| | | | | | | | | to %f, and it was actually a conversion we didn't need to do at all. | ||||
* | | Remove incorrect/useless comment | jan.nijtmans | 2021-03-18 | 1 | -2/+1 |
| | | |||||
* | | Repair Tcl_UniCharNcasecmp() in the same way as Tcl_UniCharNcmp() for fix ↵ | jan.nijtmans | 2021-03-10 | 1 | -0/+17 |
| | | | | | | | | [4c591fa487]. Also put back minor optimization for big-endian machines removed in the previous commit | ||||
* | | Fix [4c591fa487]: [string compare] EIAS violation | jan.nijtmans | 2021-03-10 | 3 | -11/+10 |
| | | |||||
* | | Merge 8.5. Add unused stub table entries | jan.nijtmans | 2021-03-04 | 7 | -6/+46 |
|\ \ | |/ | |||||
| * | Add some more unused entries to the stub table, keeping up with the table ↵ | jan.nijtmans | 2021-03-04 | 6 | -6/+50 |
| | | | | | | | | size increase of higher Tcl versions | ||||
| * | Backport improvements in UTF-8 handling for Tcl_UtfPrev/Tcl_UtfNext from 8.7 ↵ | jan.nijtmans | 2021-03-03 | 2 | -23/+35 |
| | | | | | | | | (through 8.6). No change for TCL_UTF_MAX=3. Adapt test-cases accordingly | ||||
* | | Using 0xFC00 is more readable here than ~0x3FF. It's sufficient becauwe ch1 ↵ | jan.nijtmans | 2021-03-02 | 1 | -3/+3 |
| | | | | | | | | and ch2 are only 16-bit. Backported from 8.7 | ||||
* | | Backport some UTF-8-related changed from 8.7 to 8.6, only for TCL_UTF_MAX > ↵ | jan.nijtmans | 2021-03-02 | 1 | -3/+17 |
| | | | | | | | | | | 3. No change for TCL_UTF_MAX=3. Also adapt test-cases accordingly, and add comments why the changes were done. | ||||
* | | Use _wgetenv() in stead of getenv() on Windows: The wide environment is not ↵ | jan.nijtmans | 2021-02-23 | 3 | -11/+48 |
| | | | | | | | | always well-synchonized with the locale environment. Problem detected on the sebres-8-6-clock-speedup-cr2, but this branch only exposed the bug, it did not cause it. | ||||
* | | Fix [7c64aa5e1a]: Another uninitialized-variable bug in BRE-mode parsing. ↵ | jan.nijtmans | 2021-02-19 | 1 | -1/+1 |
|\ \ | |/ | | | | | Thanks to Tom Lane for the bug-report and the fix | ||||
| * | Fix [7c64aa5e1a]: Another uninitialized-variable bug in BRE-mode parsing. ↵ | jan.nijtmans | 2021-02-19 | 1 | -1/+1 |
| | | | | | | | | Thanks to Tom Lane for the bug-report and the fix. | ||||
* | | 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 |
|\ \ \ | |/ / |