summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged branch bug-c199ef90a6 - This is a no-op, this commit from this branch ↵text_elidedfvogel2015-02-060-0/+0
|\ | | | | | | was already cherry-picked.
| * Fixed wrong index returned by @x,y with elided lines at end of text - Bug ↵bug_c199ef90a6fvogel2014-12-232-2/+7
| | | | | | | | [c199ef90a6]
* | merge 8.5dgp2015-02-063-6/+6
|\ \
| * | [c9535cd7ce] GetIndex() failed to route all successful exits through codedgp2015-02-061-2/+2
| | | | | | | | | that writes a result through the canCachePtr.
| * | [2b6778efe8] handle sscanf() EOF errors.dgp2015-02-061-2/+2
| | |
| * | [a6c2807c13] Don't let forgotten slave trick us into layout computationsdgp2015-02-061-2/+2
| | | | | | | | | outside the layout grid.
* | | Merged core-8-5-branchfvogel2015-02-059-1855/+2008
|\ \ \ | |/ /
| * | [d186605d05] Stop invalid read beyond objv.dgp2015-02-051-1/+1
| | |
| * | Remove Mac-specific idle handler in tkTextDisp.c that caused delay in text ↵Kevin Walzer2015-02-021-10/+0
| | | | | | | | | | | | redraw during scrolling; no longer needed
| * | Scrolling now working at an acceptable level with HITheme API; Unix scroll ↵Kevin Walzer2015-01-303-471/+319
| | | | | | | | | | | | bindings driving scrolling in Tk window and Mac scrollbar just has to re-draw itself
| * | Fix conflicting types in tkMacOSXButton.cKevin Walzer2015-01-271-1/+1
| | |
| * | Commiting HITheme implementation obuttons; deferring scrolling for now ↵Kevin Walzer2015-01-244-1374/+1689
| | | | | | | | | | | | because no adequate solution, even using themed scrolling via ttk, exists
* | | Fixed disappearing cursor when moving up one line at the boundary of elided ↵fvogel2015-01-252-9/+40
| | | | | | | | | | | | lines. Factorized the code again in the process, using function IsStartOfNotMergedLine when possible.
* | | TkTextIndexCount is counting chars. Fix these calls where bytes counting is ↵fvogel2015-01-244-6/+117
| | | | | | | | | | | | needed. Among other issues, this fixes horizontal scrolling when typing text at the end of a line containing multi-byte characters.
* | | Factorized the code a bit more, making use of function ↵fvogel2015-01-161-20/+24
| | | | | | | | | | | | IsStartOfNotMergedLine. Also, tried to better explain in comments.
* | | More accurate commentfvogel2015-01-161-1/+1
| | |
* | | Merged core-8-5-branchfvogel2015-01-122-92/+34
|\ \ \ | |/ /
| * | Cleanup of scrollbar backport on CocoaKevin Walzer2015-01-121-28/+8
| | |
| * | Minor edit of window event code on CocoaKevin Walzer2015-01-121-5/+0
| | |
| * | Revert changes to Mac scrollbar; native implementation is best that can be ↵Kevin Walzer2015-01-121-94/+61
| | | | | | | | | | | | done, custom drawing in scrollbar is worse from UI standpoint.
* | | Merged core-8-5-branchfvogel2015-01-125-17/+88
|\ \ \ | |/ /
| * | Reduce font-related porting fragility of test.dgp2015-01-071-2/+2
| | |
| * | Improved scrolling for text under Cocoa; thanks to Marc Culler for patch.Kevin Walzer2015-01-042-4/+39
| | |
| * | remove old commentdgp2015-01-021-1/+0
| | |
| * | The [winfo id] of a Tk window is meant to identify it. The actual valuedgp2015-01-022-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | returned, though, has been a hex-formatted int value -- that is 32 bits. On OS X Cocoa, the actual Window or XID is not an int but an unsigned long, and does not fit in 32 bits. (What's really stored even seems to be a (MacDrawable *) -- a pointer -- definitely not something 32-bits can capture). Thus generating [winfo id] loses info, and breaks totally. Has for a long time apparently. There are even explicit comments in place plainly stating that it is broken and what needs doing to fix it. Updated the platform-specific routines Tkp(Scan|Print)WindowId() so that window id's are no longer lossy and broken in Cocoa Tk.
* | | Fixed typo in commentfvogel2015-01-121-2/+2
| | |
* | | Merged core-8-5-branch to text-elided branchfvogel2015-01-026-66/+140
|\ \ \ | |/ /
| * | Fixed copy/paste error in man text.fvogel2015-01-021-1/+1
| | |
| * | Reduce redraw issues during window zoom events on CocoaKevin Walzer2014-12-311-0/+6
| | |
| * | Merge to the real core-8-5-branch. Sorry for the unintended fork.fvogel2014-12-291-1/+1
| |\ \
| | * | Increased the after delay in test spinbox-1.8.4 because it failed sometimes ↵fvogel2014-12-291-1/+1
| | |/ | | | | | | | | | for me, depending on the load of the computer running the test suite
| * | Refinement of redraw during window resizing in Cocoa; refinement of button ↵Kevin Walzer2014-12-282-8/+27
| | | | | | | | | | | | display
| * | Refinement of custom scrollbars on Tk-Cocoa; now more centered, virtually ↵Kevin Walzer2014-12-241-45/+47
| | | | | | | | | | | | identical to scrollbars in Safari, etc.
| * | Add method to tkMacOSXButton.cKevin Walzer2014-12-241-1/+1
| | |
| * | All on Tk/Cocoa: Improve view performance during resizing; implement custom ↵Kevin Walzer2014-12-242-24/+70
| |/ | | | | | | drawing of scroller to remove flickering and ghosted appearance during window operations; reduce flickering of menubutton during resizing, but do not completely eliminate ghosted rendering when widget is unmapped
| * Minor optimization of drawing code in OSXKevin Walzer2014-12-211-0/+1
| |
| * Add header install flag to OS X GNUMakefile; thanks to Stephan Houben for patchKevin Walzer2014-12-131-1/+1
| |
* | Reverted [13d2fcd25d] and [8dfc0f1731] since they are no longer needed ↵fvogel2015-01-021-7/+0
| | | | | | | | thanks to [8d7a4443f7].
* | Factorized a bit the code, making use of a new function ↵fvogel2015-01-011-40/+70
| | | | | | | | IsStartOfNotMergedLine when possible, instead of repeating the same code. Also, removed possible bugs linked to wrong testing conditions (indexPtr->byteIndex [!=]= 0)
* | A logical line is merged with its previous line if and only if the eol of ↵fvogel2014-12-301-5/+5
| | | | | | | | the previous line is elided ([53f96d9a97] was not fully correct).
* | Reverted [53f96d9a97] since this commit was not correct.fvogel2014-12-301-3/+5
| |
* | A logical line is merged with its previous line if and only if the eol of ↵fvogel2014-12-301-5/+8
| | | | | | | | the previous line is elided ([926d2c3900] was not fully correct).
* | Better fix than [9f0edc127f], now takes merged lines into account.fvogel2014-12-301-3/+1
| |
* | Reverted [9f0edc127f] since this commit was not correct.fvogel2014-12-301-2/+1
| |
* | Reverted [8568be1258] since this commit was not correct.fvogel2014-12-301-2/+1
| |
* | Fixed comments in TextChangedfvogel2014-12-301-4/+4
| |
* | Fixed comment in TkTextIndexYPixelsfvogel2014-12-301-2/+2
| |
* | Polishing FindDLine - Avoid use of TkTextFindDisplayLineEnd when not really ↵fvogel2014-12-301-3/+4
| | | | | | | | necessary (performance reasons, and avoids LayoutDLine/FreeDLine which maps/unmaps embedded windows unnecessarily)
* | CalculateDisplayLineHeight checks, in debug mode, that the index it receives ↵fvogel2014-12-291-0/+21
| | | | | | | | really is at the beginning of a display line.
* | Further fixed text see with indices in elided lines, [5f352f3a71] was not ↵fvogel2014-12-282-1/+34
| | | | | | | | always correct