Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More usage of TCL_UNUSED() and implicit type-casts. Eliminate "register" keyword | jan.nijtmans | 2020-09-25 | 1 | -19/+19 |
| | |||||
* | New (internal) function TkUtfPrev(). This function can handle 4-byte ↵ | jan.nijtmans | 2020-05-19 | 1 | -3/+3 |
| | | | | (illegal) byte-sequences, arising when pasting Emoji on a Text widget on MacOS (for example) | ||||
* | Fix [c8ccd1899c]: Pressing the up arrow key on the first line of a [text] ↵ | fvogel | 2019-08-21 | 1 | -2/+17 |
|\ | | | | | | | does not move the cursor to 1.0 | ||||
| * | Revert irrelevant blank changes | fvogel | 2019-05-11 | 1 | -1/+1 |
| | | |||||
| * | Document what's happening with this bugfix and optimize (exit the while loop ↵ | fvogel | 2019-04-19 | 1 | -0/+8 |
| | | | | | | | | early). | ||||
| * | Ticket [c8ccd1899c]. Make the guard code in proc ::tk::TextUpDownLine work ↵ | fvogel | 2019-04-14 | 1 | -3/+10 |
| | | | | | | | | as intended when moving the cursor downwards. Also, fix the bug in the index returned by the displayline modifier: the first displayed index shall be returned when the index calculated by the displayline modifier would be before the start of the displayed text. | ||||
* | | CONST -> const. Eliminate unnecessary type-casts and end-of-line spacing | jan.nijtmans | 2019-06-25 | 1 | -9/+9 |
|/ | |||||
* | Eliminate type-casts, by using size_t type internally in more situations. No ↵ | jan.nijtmans | 2018-08-10 | 1 | -1/+1 |
| | | | | functional changes | ||||
* | Improved surrogate handling for TCL_UTF_MAX=3|4. (backported from ↵ | jan.nijtmans | 2018-04-11 | 1 | -6/+6 |
| | | | | androwish). Slight optimizations. | ||||
* | Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵ | jan.nijtmans | 2017-01-18 | 1 | -1/+1 |
| | | | | separate decrement and compare is necessary. This allows (in the future) the same code to work when refCount becomes unsigned (which at least doubles the range). No functional change. | ||||
* | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵ | jan.nijtmans | 2016-09-19 | 1 | -4/+4 |
|\ | | | | | | | places where Unicode surrogate handling could be improved. | ||||
| * | More simplifications | jan.nijtmans | 2016-09-19 | 1 | -2/+2 |
| | | |||||
| * | Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵ | jan.nijtmans | 2016-09-16 | 1 | -12/+4 |
| | | | | | | | | needing less #ifdef's | ||||
| * | Patch from Christian Werner, for evaluation | jan.nijtmans | 2016-09-16 | 1 | -2/+10 |
| | | |||||
| * | Eliminate use of Tcl_SetResult(), and CONST -> const | jan.nijtmans | 2016-03-15 | 1 | -9/+9 |
|/ | |||||
* | Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or ↵ | fvogel | 2015-07-13 | 1 | -1/+1 |
|\ | | | | | | | selecting, moving the cursor...) in elided text | ||||
| * | Fixed bug [3f1f79abcf] - Text widget crash when seeing or bboxing (or ↵ | fvogel | 2015-07-10 | 1 | -1/+1 |
| | | | | | | | | selecting, moving the cursor...) in elided text | ||||
* | | [562118ce41] Fix wordstart modifier handling of multi-byte chars | dgp | 2015-04-09 | 1 | -5/+14 |
|\ \ | |/ | |||||
| * | [562118ce41] Fix wordstart modifier handling of multi-byte chars | dgp | 2015-04-09 | 1 | -5/+14 |
| |\ | |||||
| | * | Fix typo in comment | fvogel | 2015-04-07 | 1 | -1/+1 |
| | | | |||||
| | * | Fix wordstart modifier for UTF-8 text - Bug [562118ce41] | fvogel | 2015-04-07 | 1 | -4/+13 |
| | | | |||||
* | | | [e4ed00a954] Fixed crash with display wordstart | dgp | 2015-04-09 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fixed crash with display wordstart - Bug [e4ed00a954] | fvogel | 2015-04-08 | 1 | -1/+1 |
| |/ | |||||
* | | Merge bug fixes from fvogel's text-elided branch | dgp | 2015-02-06 | 1 | -0/+87 |
|\ \ | |/ | |||||
| * | merge 8.5 | dgp | 2015-02-06 | 1 | -2/+2 |
| |\ | |||||
| * | | TkTextIndexCount is counting chars. Fix these calls where bytes counting is ↵ | fvogel | 2015-01-24 | 1 | -0/+87 |
| | | | | | | | | | | | | needed. Among other issues, this fixes horizontal scrolling when typing text at the end of a line containing multi-byte characters. | ||||
* | | | [c9535cd7ce] GetIndex() failed to route all successful exits through code ↵ | dgp | 2015-02-06 | 1 | -2/+2 |
|\ \ \ | | |/ | |/| | | | | that writes a result through the canCachePtr. | ||||
| * | | [c9535cd7ce] GetIndex() failed to route all successful exits through code | dgp | 2015-02-06 | 1 | -2/+2 |
| |/ | | | | | that writes a result through the canCachePtr. | ||||
* | | Remove unneeded SetOptionFromAny and SetTextIndexFromAny. They were only ↵ | jan.nijtmans | 2013-02-26 | 1 | -15/+1 |
| | | | | | | | | needed to prevent a panic in Tcl, but Tcl now generates a nice error-message in stead of panicing. | ||||
* | | [Bug 3588824]: bug in image index handling for weird image names | dgp | 2012-12-04 | 1 | -3/+13 |
|\ \ | |/ | |||||
| * | [Bug 3588824]: bug in image index handling for weird image names | dgp | 2012-12-04 | 1 | -3/+13 |
| |\ | |||||
| | * | [Bug 3588824]: bug in image index handling for weird image names | fvogel | 2012-11-22 | 1 | -3/+12 |
| | | | |||||
* | | | more auditing of error codes | dkf | 2012-07-30 | 1 | -5/+4 |
| | | | |||||
* | | | Working towards making the error codes more consistent. | dkf | 2012-07-30 | 1 | -1/+1 |
| | | | |||||
* | | | Much more cleaning up of result handling. | dkf | 2012-07-23 | 1 | -9/+11 |
| | | | |||||
* | | | 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 |
| | | | |||||
| * | | * generic/tkImgPhoto.c: fix numerous leaks discovered with the | das | 2009-02-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c: | ||||
* | | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be | dkf | 2011-03-12 | 1 | -11/+11 |
| | | | | | | | | | using useful casts internally. | ||||
* | | | [Tcl Bug 2857044]: Corrections following audit of Tcl_ObjType freeing | dkf | 2009-11-21 | 1 | -25/+26 |
| | | | | | | | | | | | | | | | | | | | | | practises; the typePtr field is now cleared when an object ceases to be of the type. Also remove some anachronistic techniques (pointless casts, mixed assignments and tests, etc.) | ||||
* | | | * generic/tkFocus.c: fix potential null dereference flagged by clang | das | 2009-09-07 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: static analyzer. * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextIndex.c: * generic/tkConsole.c: silence false positives from clang static * generic/tkTest.c: analyzer about potential null dereference. * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextTag.c: * generic/tkVisual.c: | ||||
* | | | * generic/tkImgPhInstance.c: fix numerous leaks discovered with the | das | 2009-02-06 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c: | ||||
* | | | undid previous 'fix': 'const' is only useful for pointers, not for | nijtmans | 2008-12-05 | 1 | -24/+24 |
| | | | | | | | | | | | | opaque types. Therefore it should not have slipped in here. | ||||
* | | | Make TkTextMakeByteIndex implementation agree with the prototype (const-ness) | patthoyts | 2008-12-05 | 1 | -2/+2 |
| | | | |||||
* | | | Lots of small changes to make code more pretty and C89-like. | dkf | 2008-11-08 | 1 | -3/+3 |
| | | | |||||
* | | | Add "const" to many internal | nijtmans | 2008-10-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. | ||||
* | | | Greatly clean up Tk's handling of the writability of the Tcl result object. | dkf | 2008-10-05 | 1 | -4/+3 |
| | | | |||||
* | | | Get rid of pre-C89-isms (esp. CONST vs const). | dkf | 2008-04-27 | 1 | -47/+45 |
|/ / | |||||
* | | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | |