Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove 2 comments which are simply not correct (nor useful) any more | jan.nijtmans | 2020-01-19 | 1 | -5/+0 |
| | |||||
* | CONST -> const. Eliminate unnecessary type-casts and end-of-line spacing | jan.nijtmans | 2019-06-25 | 1 | -1/+1 |
| | |||||
*-. | Merge 8.6 and all changes from original [bug-9e31fd9449] branch | jan.nijtmans | 2019-01-08 | 1 | -3/+3 |
|\ \ | |||||
| | * | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2019-01-08 | 1 | -2/+2 |
| | |\ | | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. *** POTENTIAL INCOMPATIBILITY *** on Windows only: gcc/clang/MSVC will generate new warnings in extensions when the "None" symbol is used incorrectly. Those warnings are all fixed in the core, that's what most of this commit is doing. | ||||
| * | | | Fix bug [b2dd3b4fe8] (text-11a.41 sometimes hangs) by reworking how the | jan.nijtmans | 2019-01-03 | 1 | -6/+5 |
| | | | | | | | | | | | | <<WidgetViewSync>> event is handled. | ||||
* | | | | Make AsyncUpdateLineMetrics cancel any idle tasks for the afterSyncCmd before | culler | 2019-01-02 | 1 | -5/+4 |
| | | | | | | | | | | | | running it, to protect against bug [0a9c91951b]. | ||||
* | | | | Use a flag bit instead of an int to store the sync state. Avoid running idle | culler | 2019-01-02 | 1 | -2/+0 |
| | | | | | | | | | | | | tasks in the sync command if possible. | ||||
* | | | | The sync command needs to ensure that no redraw is pending before updating | culler | 2019-01-01 | 1 | -0/+1 |
| | | | | | | | | | | | | the line metrics. Otherwise pendingsync will remain true after the sync. | ||||
* | | | | Make GenerateWidgetSyncEvent save the sync state whenever it sends an event, | culler | 2018-12-31 | 1 | -0/+1 |
| | | | | | | | | | | | | and not send an event unless the requested state differs from the saved state. | ||||
* | | | | merge core-8-6-branch. | culler | 2018-12-31 | 1 | -12/+12 |
|\ \ \ \ | |||||
| * \ \ \ | As requested by Christian Werner/François Vogel and others: Undo many None ↵ | jan.nijtmans | 2018-12-31 | 1 | -12/+12 |
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. | ||||
| | * | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵ | jan.nijtmans | 2018-12-31 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | -> 0 changes, in order to reduce the probability of merge conflicts with other branches. Remark: Many usages of "None" in Tk are wrong, "NULL" should be used in many places where pointers are referenced in stead of XID's. Those places are corrected. | ||||
* | | | | | Merge core-8-6-branch. | culler | 2018-12-30 | 1 | -14/+14 |
|\ \ \ \ \ | |/ / / / | |||||
| * | | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols | jan.nijtmans | 2018-12-20 | 1 | -14/+14 |
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| | | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before | ||||
| | * | | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵ | jan.nijtmans | 2018-12-20 | 1 | -19/+19 |
| | |/ | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings. | ||||
* | | | In TkTextUpdateLineMetrics, line numbers start at zero, not 1 | fvogel | 2018-11-19 | 1 | -1/+1 |
|/ / | |||||
* | | Fix backwards search, thanks to Koen Danckaert | fvogel | 2018-10-16 | 1 | -6/+9 |
| | | |||||
* | | Simplify patch for forward search a litle bit | fvogel | 2018-10-16 | 1 | -2/+2 |
| | | |||||
* | | Remove comment I forgot to revert previously. | fvogel | 2018-10-15 | 1 | -3/+1 |
| | | |||||
* | | Third fix proposal for [4b555aca34]: text search -all hangs and eats all ↵ | fvogel | 2018-10-15 | 1 | -1/+2 |
| | | | | | | | | memory. (And fix test text-22.229) | ||||
* | | Revert the second fix proposal, and add more tests (covering backwards ↵ | fvogel | 2018-10-15 | 1 | -3/+0 |
| | | | | | | | | searches). Note that text-22.228 and text-22.229 currently hang. | ||||
* | | Another proposed fix for [4b555aca34]: text search -all hangs and eats all ↵ | fvogel | 2018-10-15 | 1 | -1/+6 |
| | | | | | | | | memory. | ||||
* | | Backout the previously proposed fix [80286abf05], and add more tests. | fvogel | 2018-10-15 | 1 | -2/+2 |
| | | |||||
* | | Fix [4b555aca34]: text search -all hangs and eats all memory | fvogel | 2018-10-11 | 1 | -2/+2 |
| | | |||||
* | | Eliminate type-casts, by using size_t type internally in more situations. No ↵ | jan.nijtmans | 2018-08-10 | 1 | -23/+24 |
| | | | | | | | | functional changes | ||||
* | | Fix [de01e24aa1]: Text replace command involving selection crashes | fvogel | 2018-06-13 | 1 | -3/+9 |
| | | |||||
* | | Fix [b68710aed6]: Minor fixes to library/text.tcl bindings, and generation ↵ | fvogel | 2018-01-28 | 1 | -32/+33 |
|\ \ | | | | | | | | | | of <<Selection>> events. Legacy text widget. | ||||
| * | | Deal with the case of selection modification by insertion. All tests about ↵ | fvogel | 2018-01-18 | 1 | -1/+5 |
| | | | | | | | | | | | | <<Selection>> now pass, and no test is newly failing. | ||||
| * | | Deal with the case of selection modification by deletion. This makes ↵ | fvogel | 2018-01-16 | 1 | -31/+28 |
| | | | | | | | | | | | | text-27.15b and text-27.15c pass. | ||||
* | | | merge core-8-6-branch | fvogel | 2018-01-21 | 1 | -17/+18 |
|\ \ \ | |/ / | |||||
| * | | Add "TK_TEXT_" prefix in SEARCH* enum, in order to resolve conflict with ↵ | jan.nijtmans | 2017-12-07 | 1 | -17/+17 |
| | | | | | | | | | | | | latest Visual Studio headers. Part of fix for [3d34589aa0ae079039e2e2a60a5ed67c0056836d|3d34589aa0]: Tk does not build under Visual Studio 2017 Update 5 | ||||
| * | | Fix [62c5b7a1d7]: [text] segfaults on replace. Patch from Christian Werner. | fvogel | 2017-06-26 | 1 | -0/+1 |
| | | | |||||
* | | | Test whether in a safe interpreter before writing to the PRIMARY selection. ↵ | kjnash | 2017-06-13 | 1 | -4/+4 |
|/ / | | | | | | | Fixes bug [de156e9efe]. Ready for testing. | ||||
* | | Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵ | jan.nijtmans | 2017-01-18 | 1 | -8/+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. | ||||
* | | 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 | -3/+3 |
| | | | |||||
| * | | Rename TkUtfToUniChar32 to TkUtfToUniChar2, and various simplifications ↵ | jan.nijtmans | 2016-09-16 | 1 | -9/+1 |
| | | | | | | | | | | | | needing less #ifdef's | ||||
| * | | Patch from Christian Werner, for evaluation | jan.nijtmans | 2016-09-16 | 1 | -0/+8 |
| | | | |||||
| * | | Made text widget's default undo false again. | pspjuth | 2016-08-30 | 1 | -1/+1 |
| |\ \ | |||||
| * \ \ | Rebased to trunk since TIP #449 was accepted for merging to trunk only, not ↵ | fvogel | 2016-08-29 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | | | | | | to core-8-6-branch | ||||
| | * \ \ | Whitespace fixes | jan.nijtmans | 2016-06-15 | 1 | -147/+147 |
| | |\ \ \ | |||||
| | * \ \ \ | Fixed [6976e4b3b2] - -undo options not correct for peers | fvogel | 2016-06-11 | 1 | -3/+6 |
| | |\ \ \ \ | |||||
| | * \ \ \ \ | Merged TIP #446 accepted by TCT vote. This fixes [1273358] - Ask a text ↵ | fvogel | 2016-05-30 | 1 | -18/+94 |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | widget for the depth of its undo and redo stacks. | ||||
| | * \ \ \ \ \ | Fixed [b362182e45] - Generation of virtual events through Tk_HandleEvent is ↵ | fvogel | 2016-05-01 | 1 | -24/+2 |
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | unsafe | ||||
| | * \ \ \ \ \ \ | Fixed [fd3a4dc111] - <<Modified>> event is not always sent to peers | fvogel | 2016-04-29 | 1 | -1/+4 |
| | |\ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ | Fixed [18c08df753] - Change of behaviour for text widget last newline | fvogel | 2016-03-27 | 1 | -5/+14 |
| | |\ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | Merged tip-443 following acceptation of the TIP by TCT vote (cherrypicked ↵ | fvogel | 2016-03-20 | 1 | -3/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [cb3354b298]) | ||||
| | * | | | | | | | | | Fixed error in comment | fvogel | 2016-03-18 | 1 | -1/+1 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | The undo marks identifier is now a member of textPtr->sharedTextPtr. This ↵ | fvogel | 2016-07-06 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | makes results of test text-8.22 independant of previous undo/redo actions on other text widgets. | ||||
| * | | | | | | | | | | Removed unintended whitespace change | fvogel | 2016-07-05 | 1 | -1/+1 |
| | | | | | | | | | | |