Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eliminate empty if() statement, if DEBUG_LAYOUT_WITH_BASE_CHUNKS is not ↵ | jan.nijtmans | 2017-05-19 | 1 | -2/+2 |
| | | | | defined. (backported from androwish. Thanks, Christian!) | ||||
* | Revert [f38091d0]: If TK_LAYOUT_WITH_BASE_CHUNKS is set (MacOSX), this ↵ | jan.nijtmans | 2017-05-12 | 1 | -1/+1 |
| | | | | change leads to crash, struct CharInfo is defined differently depending on TK_LAYOUT_WITH_BASE_CHUNKS (however strange that is ...) | ||||
* | Don't use sizeof(struct) when the structure has a char array as last ↵ | jan.nijtmans | 2017-05-08 | 1 | -1/+1 |
| | | | | element: If the size of this array changes, we'll be in trouble. | ||||
* | Merge core-8-6-branch | fvogel | 2017-01-29 | 1 | -6/+6 |
|\ | |||||
| * | Fix [fab5fed65e]: OS X - lots of textDisp failures (spurious 'borders' and ↵ | fvogel | 2017-01-18 | 1 | -1/+2 |
| |\ | | | | | | | | | | indices in tk_textRedraw). | ||||
| | * | Remove obsolete comments. The line they comment was kicked out of the code ↵bug_fab5fed65e | fvogel | 2017-01-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | in [946e946700]. Also, add a small optimization to avoid double invalidation of the damaged region. Indeed the detailed analysis of ticket [fab5fed65e] showed that on OS X the damaged region is invalidated twice: - once through the processing of the Expose event (on OS X the Appkit is not used to draw the widget, Tk is used instead, see comments in tkMacOSXWindowEvent.c around line 770) - a second time because DisplayText() calls TextInvalidateRegion() after TkScrollWindow() | ||||
| * | | Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵ | jan.nijtmans | 2017-01-18 | 1 | -5/+4 |
| |/ | | | | | | | 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. | ||||
* | | Merge core-8-6-branch | fvogel | 2017-01-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Reverted [7ed6460f] since it fixes an issue unrelated to the bug presented ↵bug_3df559ef7c | fvogel | 2017-01-07 | 1 | -1/+1 |
| | | | | | | | | in [3df559ef7c] - Negative bbox width on OS X. | ||||
| * | Do everything the other way round. Leave things how they were on OS X ↵ | fvogel | 2016-12-30 | 1 | -3/+7 |
| | | | | | | | | (revert [a076cf64] and [42e0339e]), and fix TkpDrawCharsInContext() on Win and Linux in case these platforms at some point of time decide to define TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT to true | ||||
| * | On Windows with TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT being both ↵ | fvogel | 2016-12-23 | 1 | -7/+3 |
| | | | | | | | | defined for testing purposes, rendering of the text was incorrect because some chunks were superimposed (this was only a display issue, x and width of all chunks were already correct). Fix this. | ||||
| * | On Windows with TK_LAYOUT_WITH_BASE_CHUNKS and TK_DRAW_IN_CONTEXT being both ↵ | fvogel | 2016-12-23 | 1 | -1/+1 |
| | | | | | | | | defined for testing purposes, four tests (textDisp-18.6, 20.2, 20.3 and 20.4) were failing. Fix this. | ||||
| * | Fix [3df559ef7c] - Negative bbox width on OS X. Tested OK on Windows with ↵ | fvogel | 2016-12-23 | 1 | -1/+1 |
| | | | | | | | | TK_LAYOUT_WITH_BASE_CHUNKS being defined. | ||||
* | | Fix [ae32eb7e10]: Win + specific text widget configuration : textDisp-18.6, ↵ | fvogel | 2017-01-07 | 1 | -1/+1 |
|/ | | | | -20.2 -20.3 -20.4 fail | ||||
* | Fixed [1082213fff] - word wrapping should trim excess spaces | fvogel | 2016-10-09 | 1 | -0/+18 |
|\ | |||||
| * | Added explanatory comment | fvogel | 2016-09-30 | 1 | -0/+3 |
| | | |||||
| * | Explained why only spaces are trimmed and not tabs | fvogel | 2016-09-29 | 1 | -0/+3 |
| | | |||||
| * | Slightly better fix | fvogel | 2016-09-28 | 1 | -11/+11 |
| | | |||||
| * | Fixed [1082213fff] - word wrapping should trim excess spaces | fvogel | 2016-09-28 | 1 | -0/+12 |
| | | |||||
* | | Enhanced proposed fix [6c0d7aec67]: unicode text input Windows 8. More ↵ | jan.nijtmans | 2016-09-19 | 1 | -2/+2 |
|\ \ | |/ |/| | | | places where Unicode surrogate handling could be improved. | ||||
| * | More simplifications | jan.nijtmans | 2016-09-19 | 1 | -1/+1 |
| | | |||||
| * | Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵ | jan.nijtmans | 2016-09-16 | 1 | -2/+2 |
| | | | | | | | | needing less #ifdef's | ||||
| * | [5660d11c3f] Fix new -lmargincolor | dgp | 2016-07-28 | 1 | -7/+7 |
| |\ | |/ |/| | |||||
| * | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵ | fvogel | 2016-05-01 | 1 | -13/+4 |
| |\ | | | | | | | | | | unsafe | ||||
| * | | Merged tip-443 following acceptation of the TIP by TCT vote (cherrypicked ↵ | fvogel | 2016-03-20 | 1 | -6/+100 |
| | | | | | | | | | | | | [cb3354b298]) | ||||
| * | | Eliminate use of Tcl_SetResult(), and CONST -> const | jan.nijtmans | 2016-03-15 | 1 | -2/+2 |
| | | | |||||
* | | | Fixed [5660d11c3f] - text tag -background option overrules -lmargincolor | fvogel | 2016-07-26 | 1 | -7/+7 |
| |/ |/| | |||||
* | | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵ | fvogel | 2016-04-21 | 1 | -13/+4 |
| | | | | | | | | unsafe | ||||
* | | Backed out anything dealing with stippling, in accordance with discussion ↵ | fvogel | 2016-03-08 | 1 | -16/+4 |
| | | | | | | | | about TIP #443 | ||||
* | | trunk merged to branch tip-443 | fvogel | 2016-03-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fixed error in comment | fvogel | 2016-02-11 | 1 | -1/+1 |
| | | |||||
* | | -lmargincolor tag configuration option: implementation slightly optimized ↵ | fvogel | 2016-02-11 | 1 | -3/+2 |
| | | | | | | | | since Tk_Fill3DRectangle is robust with respect to negative widths | ||||
* | | -rmargincolor tag configuration option: implementation | fvogel | 2016-02-10 | 1 | -4/+25 |
| | | |||||
* | | -lmargincolor tag configuration option: implementation | fvogel | 2016-02-10 | 1 | -0/+26 |
| | | |||||
* | | -overstrikefg tag configuration option: implementation | fvogel | 2016-02-09 | 1 | -3/+17 |
| | | |||||
* | | -underlinefg tag configuration option: implementation | fvogel | 2016-02-09 | 1 | -2/+17 |
| | | |||||
* | | -selectfgstipple tag configuration option: implementation | fvogel | 2016-02-09 | 1 | -2/+8 |
| | | |||||
* | | -selectbgstipple tag configuration option: implementation | fvogel | 2016-02-09 | 1 | -2/+8 |
| | | |||||
* | | -selectforeground tag configuration option: implementation | fvogel | 2016-02-09 | 1 | -2/+8 |
| | | |||||
* | | -selectbackground tag configuration option: implementation | fvogel | 2016-02-09 | 1 | -0/+13 |
|/ | |||||
* | Fixed (with a real fix this time) bug [06c1433906] - Text widget crash ↵ | fvogel | 2016-02-08 | 1 | -16/+41 |
|\ | | | | | | | during delete | ||||
| * | With the real fix in FindDLine ([717e12ee]) there is no need anymore of the ↵finddline | fvogel | 2016-02-08 | 1 | -3/+0 |
| | | | | | | | | emergency patch [c3c09f82]. | ||||
| * | Made FindDLine fully match its header description. | fvogel | 2016-02-08 | 1 | -3/+30 |
| | | |||||
| * | More comments in FindDLine, with slightly optimized code to achieve the same ↵ | fvogel | 2016-02-08 | 1 | -3/+11 |
| | | | | | | | | functionality. | ||||
| * | Reverted [311ef109] and [1847c858] because they are no longer needed to fix ↵ | fvogel | 2016-02-08 | 1 | -8/+1 |
| | | | | | | | | bug [2f78c7c5ea]. The corresponding test textDisp-9.14 still passes. | ||||
* | | Corrected indentation + added an explanatory comment. | fvogel | 2016-02-08 | 1 | -1/+4 |
| | | |||||
* | | Fix [06c14339060ba9ae]: Text widget crash during delete. Thanks to François ↵ | jan.nijtmans | 2016-02-08 | 1 | -5/+3 |
|\ \ | |/ | | | | | Vogel for the implementation and Brian Griffin for all his help getting this figured out. | ||||
| * | while is better than if because it deals with wrapped lines then. | fvogel | 2016-02-07 | 1 | -1/+1 |
| | | |||||
| * | Hopefully a better fix for [06c1433906] - Text widget crash | fvogel | 2016-02-07 | 1 | -5/+3 |
| | | |||||
| * | [06c1433906] Possible fix for text widget crashes. | dgp | 2016-02-04 | 1 | -0/+5 |
| | |