summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The undo marks identifier is now a member of textPtr->sharedTextPtr. This ↵fvogel2016-07-063-4/+17
| | | | makes results of test text-8.22 independant of previous undo/redo actions on other text widgets.
* Merged core-8-6-branchfvogel2016-07-051-9/+160
|\
| * [ce92c79bc6] Improve the 'configure' method of the internal megawidget ↵dkf2016-06-281-9/+160
| | | | | | | | framework. Thanks to Schelte Bron for pointing out the problems with it.
* | Fixed copy/paste error in test text-27.28 - one wants to test undo and redo, ↵fvogel2016-07-051-1/+1
| | | | | | | | not twice undo
* | Added more tests, and fixed test result of text-27.26 since now indices are ↵fvogel2016-07-051-6/+36
| | | | | | | | relative to the text widget state at undo/redo return time, and also because they are optimized (no overlaps)
* | Removed unintended whitespace changefvogel2016-07-051-1/+1
| |
* | Better comments explaining the algorithm in ::tk::TextUndoRedoProcessMarksfvogel2016-07-051-7/+23
| |
* | Return indices making sense at undo/redo return time. The returned ranges ↵fvogel2016-07-044-50/+171
| | | | | | | | are optimized (no duplicates, no overlapping ranges). Works but needs polishing.
* | Merged core-8-6-branchfvogel2016-06-286-317/+329
|\ \ | |/
| * Fixed [4cb3dab4eb] - Improvements to the documentation of Tk_FindPhoto et ↵fvogel2016-06-271-0/+14
| |\ | | | | | | | | | al. Patch provided by Simon Bachmann.
| | * Fixed typosbug_4cb3dab4ebfvogel2016-06-261-2/+2
| | |
| | * Fixed [4cb3dab4eb] - Improvements to the documentation of Tk_FindPhoto et ↵fvogel2016-06-111-0/+14
| | | | | | | | | | | | al. Patch provided by Simon Bachmann.
| * | Modernize Tk_Init() to use Tcl 8.6 features.dgp2016-06-224-170/+168
| |\ \
| | * | Fixup the typecastingdgp_modernize_initdgp2016-06-211-1/+1
| | | |
| | * | work in progressdgp2016-06-213-144/+155
| | | |
| | * | Start bringing Tk_Init up to date with facilities Tcl provides.dgp2016-06-212-28/+15
| | | |
| * | | [787adc5ed7] Workaround potential crash in Tcl_DStringAppend.dgp2016-06-221-1/+1
| |\ \ \ | | |/ / | |/| |
| | * | [787adc5ed7] Workaround potential crash in Tcl_DStringAppend.dgp2016-06-221-1/+1
| | | |
| * | | Whitespace fixesjan.nijtmans2016-06-151-147/+147
| | |/ | |/|
* | | Merged core-8-6-branchfvogel2016-06-112-3/+21
|\ \ \ | |/ /
| * | Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-112-3/+21
| |\ \
| | * | Added test case text-27.16a to guard against regressions regarding [6976e4b3b2]fvogel2016-06-081-0/+15
| | | |
| | * | Fixed [6976e4b3b2] - -undo options not correct for peersfvogel2016-06-081-3/+6
| |/ /
* | | Added test case text-27.26 for [.text edit undo/redo] return valuesfvogel2016-06-081-0/+30
| | |
* | | It is not possible to rely only on the interp result. A list of indices has ↵fvogel2016-06-083-18/+43
| | | | | | | | | | | | to be built as a return value to undo/redo because there can be several edits between two separators and all such edits have to report which range of text they changed. Note: this commit does not deal with refcounts, it is very likely wrong in that respect.
* | | Updated documentation regarding return values for [.text edit undo/redo]fvogel2016-06-081-5/+7
| | |
* | | Possible solution for [1217222] - [.text edit undo/redo] return ranges of ↵fvogel2016-06-071-0/+8
|/ / | | | | | | modified characters
* | Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make ↵jan.nijtmans2016-06-019-14/+2
|\ \ | |/ | | | | dist' fails when tclsh9.0 is on $PATH
| * Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make ↵jan.nijtmans2016-06-019-16/+2
| | | | | | | | dist' fails when tclsh9.0 is on $PATH
* | Fixed tests cases bad interactions and a forgotten mouse warping case (event ↵fvogel2016-05-302-2/+6
|\ \ | | | | | | | | | generate {} <...> -warp 1 is valid)
| * | A mouse button once pressed should be released. Doing otherwise messes up ↵bug_79549a9134fvogel2016-05-301-0/+1
| | | | | | | | | | | | with assumptions in other (later) tests from the test suite, which reasonably think they start with all mouse buttons depressed. In the present case, canvas-13.1 failed because event generation of <ButtonRelease-1> was missing in test bind-32
| * | Fixed crash when calling event generate {} <Motion> -warp 1fvogel2016-05-301-2/+5
| | |
* | | Fixed [79549a9134] - Mouse pointer warping crashesfvogel2016-05-302-2/+23
|\ \ \ | |/ /
| * | More complete fix for [79549a9134] - Mouse pointer warping crashes, with a ↵fvogel2016-05-262-3/+16
| | | | | | | | | | | | non-regression test case.
| * | Fixed [79549a9134] - Mouse pointer warping crashesfvogel2016-05-261-2/+10
| | |
* | | Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test windowfvogel2016-05-301-0/+8
|\ \ \
| * | | Fixed [f2655bb0ec] - bind-15.23 fails if the mouse is inside the test windowbug_f2655bb0ecfvogel2016-05-251-0/+8
| |/ /
* | | Merged TIP #446 accepted by TCT vote. This fixes [1273358] - Ask a text ↵fvogel2016-05-306-23/+233
|\ \ \ | |/ / |/| | | | | widget for the depth of its undo and redo stacks.
| * | Took comments from Koen Danckaert into account (with my thanks) to simplify ↵tip_446fvogel2016-05-172-36/+15
| | | | | | | | | | | | the implementation of TkUndoCanUndo() and TkUndoCanRedo() in tkUndo.c, and in tkText.c to remove direct calls to internals of the undo or redo stack
| * | Unified branched tip-446-undodepth and tip-446-canundo to become branch tip-446fvogel2016-05-120-0/+0
| |\ \
| | * \ Merged core-8-6-branchtip_446_undodepthfvogel2016-05-0111-61/+74
| | |\ \
| | * | | Tests for [.t edit undodepth/redodepth]fvogel2016-04-071-1/+27
| | | | |
| | * | | Fixed tests numberingfvogel2016-04-071-5/+5
| | |\ \ \
| | * | | | Documentation for [.t edit undodepth/redodepth]fvogel2016-04-071-0/+12
| | | | | |
| | * | | | [.t edit undodepth/redodepth] return 0 when -undo falsefvogel2016-04-071-4/+8
| | | | | |
| | * | | | Implementation of TIP #446 - Introspect Undo/Redo Stack Depthsfvogel2016-04-053-7/+93
| | | | | |
| * | | | | Aligned GenerateModifiedEvent() on GenerateUndoStackEvent() regarding ↵tip_446_canundofvogel2016-05-121-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | generation of the event for each peer
| * | | | | Added test for the <<UndoStack>> eventfvogel2016-05-121-0/+43
| | | | | |
| * | | | | Removed useless precision regarding the <<UndoStack>> eventfvogel2016-05-121-2/+1
| | | | | |
| * | | | | Documented the <<UndoStack>> eventfvogel2016-05-122-0/+8
| | | | | |