Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ISSUE_TEMPLATE and PULL_REQUEST_TEMPLATE for github. | jan.nijtmans | 2021-06-21 | 1 | -1/+1 |
| | | | Change many url's from http:// to https:// | ||||
* | Add more implicit type-casts. Backported from 8.7 | jan.nijtmans | 2021-04-23 | 1 | -1/+1 |
| | |||||
* | Fix 3 places where Tcl_UtfToUniChar must be used and not TkUtfToUniChar: ↵ | jan.nijtmans | 2021-03-23 | 1 | -2/+2 |
| | | | | | numChars/charIndex is counting character indexes here; surrogate-pairs count as 2. This can cause a miscount when Emoji are pasted in a Text widget. | ||||
* | Fix [3bc0f44ef3]: UBSan complains about body.chars[] usage | jan.nijtmans | 2020-09-11 | 1 | -1/+1 |
|\ | |||||
| * | Merge trunk | jan.nijtmans | 2020-09-10 | 1 | -3/+1 |
| |\ | |||||
| | * | Merge 8.6 | jan.nijtmans | 2020-09-10 | 1 | -3/+1 |
| | |\ | |_|/ |/| | | |||||
| * | | Merge trunk. Introduce TKFLEXARRAY, since this usage is a GNU extension ↵ | jan.nijtmans | 2020-09-10 | 1 | -1/+1 |
| |/ | | | | | | | (lated adopted by MSVC too) | ||||
| * | New TIP #580 implementation. Documentation still missing. | jan.nijtmans | 2020-07-14 | 1 | -1/+1 |
| | | |||||
| * | Formatting and even more size_t usage. | jan.nijtmans | 2020-05-25 | 1 | -2/+2 |
| | | |||||
| * | Merge trunk. Fix C++ builds, also for TCL_UTF_MAX=4 and TCL_UTF_MAX=6 | jan.nijtmans | 2020-05-23 | 1 | -2/+2 |
| |\ | |||||
| * | | Use more size_t for *Sel*-related functions, in case compiling with Tcl 9 | jan.nijtmans | 2020-05-21 | 1 | -9/+9 |
| |/ | |||||
| * | Merge 8.6. Protection done by TkUtfAtIndex() not needed here, because ↵ | jan.nijtmans | 2020-05-20 | 1 | -2/+2 |
| |\ | | | | | | | | | | Tcl_UtfAtIndex() in Tcl 8.7 already does that. | ||||
| * \ | Merge 8.6 | jan.nijtmans | 2020-05-18 | 1 | -1/+2 |
| |\ \ | |||||
| * | | | TIP 569 remove lint comments | dgp | 2020-03-18 | 1 | -1/+0 |
| | | | | |||||
| * | | | Much more WIP: Appears to be working on UNIX, and for a bit part on Windows too. | jan.nijtmans | 2019-12-20 | 1 | -31/+33 |
| | | | | |||||
| * | | | Merge 8.6 | jan.nijtmans | 2019-07-02 | 1 | -1/+1 |
| |\ \ \ | |||||
| * | | | | Eliminate some redundant type-casts | jan.nijtmans | 2019-06-21 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Merge trunk | jan.nijtmans | 2019-05-10 | 1 | -3/+3 |
| |\ \ \ \ | |||||
| | * | | | | Remove a few unnecessary (size_t) type-casts, and add a "const" | jan.nijtmans | 2019-04-04 | 1 | -2/+2 |
| | | | | | | |||||
| | * | | | | Change size_t usages to (internal type) TkSizeT usages, which is "int" when ↵ | jan.nijtmans | 2019-04-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | compiling against 8.x headers. | ||||
| | * | | | | Eliminate USE_OLD_TAG_SEARCH: It isn't used and tested any more. | jan.nijtmans | 2018-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Eliminate a ton of unnecessary type casts | ||||
| * | | | | | Minor tweaks, mostly formatting | jan.nijtmans | 2018-12-01 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Merge trunk | jan.nijtmans | 2018-11-25 | 1 | -3/+3 |
| |\ \ \ \ \ | | |/ / / / | |||||
| | * | | | | Fix PTR2INT/PTR2UINT, so they no longer are restricted to the "int" range. | jan.nijtmans | 2018-10-22 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | Make TCL_Z_MODIFIER available in Tk (even when compiled with Tcl 8.6), and use it. More size_t/clientData related improvements | ||||
| * | | | | | Experiment: let's see if we can deprecate Tk_Offset() in favor of offsetof() | jan.nijtmans | 2018-10-06 | 1 | -2/+2 |
| |/ / / / | |||||
| * | | | | More preparation for TIP #494 compatibitly. Add 2 utility functions, which ↵ | jan.nijtmans | 2018-08-11 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | can retreive big strings and ByteArrays without length overflow. | ||||
| * | | | | Fix [73ba07efcd]: Use correct property type when handling MULTIPLE ↵ | fvogel | 2017-11-19 | 1 | -0/+1 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | conversion requests. Patch from 'dpb' | ||||
| * \ \ \ \ | merge core-8-6-branch | jan.nijtmans | 2017-05-08 | 1 | -2/+2 |
| |\ \ \ \ \ | |||||
| * | | | | | | Fix use of XMaxTransChars in stead of TCL_UTF_MAX in some places. This ↵ | jan.nijtmans | 2016-08-31 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should prevent possible buffer overflow when TCL_UTF_MAX=6 Micro-optimizations in tkEntry and ttkEntry | ||||
* | | | | | | | More use of TCL_UNUSED() and C++-safe typecasts. Use Tk_Offset() in stead of ↵ | jan.nijtmans | 2020-09-10 | 1 | -33/+32 |
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | sizeof() when using flexible arrays | ||||
* | | | | | | Add (and use) new internal function TkUtfAtIndex(), which does the same as ↵ | jan.nijtmans | 2020-05-20 | 1 | -2/+2 |
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | Tcl_UtfAtIndex() only it protects against ending in the middle of a 4-byte UTF-8 sequence. This should fix another part of [a179564826] when handling copy-pasted Emoji in Text/Entry (and other) widgets. | ||||
| * | | | | | Use Glyph indexing in more places (underscoring and canvas text and some more) | jan.nijtmans | 2020-05-19 | 1 | -3/+3 |
| | | | | | | |||||
| * | | | | | More improvements handling characters > U+FFFF as surrogates. Add internal ↵ | jan.nijtmans | 2020-05-14 | 1 | -1/+2 |
| | |_|_|/ | |/| | | | | | | | | | | | | | TkUtfPrev(), which handles jumping back over surrogate pairs. | ||||
* | | | | | Eliminate two Tcl_UtfNext() calls, because the UtfToUniChar() variants are ↵ | jan.nijtmans | 2020-05-18 | 1 | -1/+2 |
|/ / / / | | | | | | | | | | | | | more likely to do the right thing when surrogates are involved. | ||||
* | | | | Don't use "struct ThreadSpecificData", while the type name ↵ | jan.nijtmans | 2019-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | "ThreadSpecificData" is already sufficient. | ||||
* | | | | More use of Tcl_WinTCharToUtf() in stead of Tcl_UniCharToUtfDString(), ↵ | jan.nijtmans | 2019-03-19 | 1 | -1/+1 |
| |_|/ |/| | | | | | | | | making Tk less sensitive to the value of TCL_UTF_MAX (either 3, 4, or 6) | ||||
* | | | Fix [73ba07efcd]: Use correct property type when handling MULTIPLE ↵ | fvogel | 2017-09-02 | 1 | -0/+1 |
| |/ |/| | | | | | conversion requests. Patch from 'dpb' | ||||
* | | Don't use sizeof(struct) when the structure has a char array as last ↵ | jan.nijtmans | 2017-05-08 | 1 | -2/+2 |
|/ | | | | element: If the size of this array changes, we'll be in trouble. | ||||
* | Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵ | jan.nijtmans | 2014-02-10 | 1 | -1/+1 |
| | | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW] | ||||
* | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper | jenglish | 2013-02-27 | 1 | -10/+10 |
| | | | exists and is used. | ||||
* | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵ | jan.nijtmans | 2013-02-27 | 1 | -10/+10 |
| | | | | Tcl_GetIndexFromObjStruct. | ||||
* | Much more cleaning up of result handling. | dkf | 2012-07-23 | 1 | -46/+41 |
| | |||||
* | Purge RCS Keywords | dgp | 2011-06-08 | 1 | -2/+0 |
|\ | |||||
| * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| |\ | |||||
| | * | Purge RCS Keywords. | dgp | 2011-06-08 | 1 | -2/+0 |
| | | | |||||
| | * | [Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. | nijtmans | 2011-01-25 | 1 | -3/+3 |
| | | | | | | | | | | | | Just the strcpy->memcpy part, to prevent anything like [Bug #3164879] | ||||
| | * | Backport of fixes for [Bug 1353414] | dkf | 2005-11-22 | 1 | -12/+15 |
| | | | |||||
| * | | [Patch #3129527]: Fix buffer overflow w/ GCC 4.5 and -D_FORTIFY_SOURCE=2. | nijtmans | 2011-01-25 | 1 | -2/+2 |
| | | | | | | | | | | | | Just the strcpy->memcpy part, to prevent anything like [Bug #3164879] | ||||
* | | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be | dkf | 2011-03-12 | 1 | -16/+16 |
| | | | | | | | | | using useful casts internally. | ||||
* | | | tkSelect.c: Fix for [Bug #3164879] (memory allocation bug | jenglish | 2011-01-24 | 1 | -3/+3 |
| | | | | | | | | | | | | introduced by [Patch #3129527]) |