summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Missed 2 spots in previous commit (only relevant for test-suite)jan.nijtmans2019-01-101-2/+2
|
* Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-1089-401/+395
|\ | | | | | | | | | | 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.
| *-. Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-0887-554/+655
| |\ \
| | | * Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-0866-309/+323
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | | * Bring back more original "None" usages, and fix other warnings which ↵jan.nijtmans2019-01-0352-160/+174
| | | | | | | | | | | | | | | | | | | | | | | | | gradually slipped in. Wherever possible, pragma's are used in MSVC to silence useless compiler warnings.
* | | | | Implement local grabs on macOS.culler2019-01-086-24/+60
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Update the demos to give a more complete explanation of local and global grabs.culler2019-01-082-2/+15
| | | | |
| * | | | Document the behavior of local and global grabs on macOS.culler2019-01-051-0/+10
| | | | |
| * | | | Implement local grabs for Aqua.culler2019-01-053-22/+35
|/ / / /
* | | | Merge 8.5jan.nijtmans2019-01-042-5/+6
|\ \ \ \ | | |/ / | |/| |
| * | | Fix a few minor compiler warnings, occurring in later gcc/clang versions.jan.nijtmans2019-01-046-9/+10
| | | |
* | | | Resolve bug [18a4ba19bd]. Make winfo containing behave consistently acrossculler2019-01-046-100/+203
|\ \ \ \ | | | | | | | | | | platforms and fix a bug with embedded toplevels.
| * \ \ \ re-base to 'cleaned-up' core-8-6-branchjan.nijtmans2019-01-0366-356/+359
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Remove 3 lines of code in tkTextDisp.c which had become obsolete but werejan.nijtmans2019-01-031-4/+0
| | | | | | | | | | | | | | | accidentally left in the file.
* | | | | Fix bug [b2dd3b4fe8] (text-11a.41 sometimes hangs) by reworking how thejan.nijtmans2019-01-034-134/+179
| | | | | | | | | | | | | | | <<WidgetViewSync>> event is handled.
* | | | | Let's see if we can build something with Travis-CIjan.nijtmans2019-01-031-0/+84
| | | | |
| * | | | Merge core-8-6-branch.culler2019-01-031-4/+0
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Remove 3 lines of code in tkTextDisp.c which had become obsolete but wereculler2019-01-031-4/+0
| | | | | | | | | | | | | | | accidentally left in the file.
| * | | | Merge core-8-6-branch.culler2019-01-0358-745/+865
| |\ \ \ \ | | |/ / /
| | * | | Fix two compiler warnings about format string buffers being too small.culler2019-01-032-2/+2
| | | | |
| | * | | Fix bug [b2dd3b4fe8] (text-11a.41 sometimes hangs) by reworking how the culler2019-01-034-134/+179
| | |\ \ \ | | | | | | | | | | | | <<WidgetViewSync>> event is handled.
| | | * | | Fix the build for MSVC once more.culler2019-01-031-4/+4
| | | | | |
| | | * | | Be careful about Bool types.culler2019-01-031-5/+8
| | | | | |
| | | * | | Fix the build for Windows with MSVCfvogel2019-01-021-1/+1
| | | | | |
| | | * | | Make AsyncUpdateLineMetrics cancel any idle tasks for the afterSyncCmd before culler2019-01-023-8/+10
| | | | | | | | | | | | | | | | | | running it, to protect against bug [0a9c91951b].
| | | * | | It is no longer necessary to run any idle tasks before updating all lineculler2019-01-021-12/+11
| | | | | | | | | | | | | | | | | | metrics, since pendingsync is independent of REDRAW_PENDING now.
| | | * | | Fix tests order according to their numberingfvogel2019-01-021-94/+94
| | | | | |
| | | * | | Simplify TkTextPendingsync by using the new OUT_OF_SYNC flagfvogel2019-01-021-5/+1
| | | | | |
| | | * | | Add an explanatory comment, and slightly optimize (in the case of the empty ↵fvogel2019-01-021-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | peer).
| | | * | | Use a flag bit instead of an int to store the sync state. Avoid running idleculler2019-01-023-8/+15
| | | | | | | | | | | | | | | | | | tasks in the sync command if possible.
| | | * | | Clarify commentfvogel2019-01-011-1/+1
| | | | | |
| | | * | | Change variable name for something clearer.fvogel2019-01-011-5/+6
| | | | | |
| | | * | | In the tests, always update after packing; sync and clear the queue beforeculler2019-01-011-14/+18
| | | | | | | | | | | | | | | | | | binding to WidgetViewSync; make 11a.12 work harder so it is meaningful.
| | | * | | The sync command needs to ensure that no redraw is pending before updatingculler2019-01-011-0/+1
| | | | | | | | | | | | | | | | | | the line metrics. Otherwise pendingsync will remain true after the sync.
| | | * | | Update the TextDinfo when the sync command runs, so that pendingsync will knowculler2019-01-011-0/+3
| | | | | | | | | | | | | | | | | | that the widget is in sync, as expected by the tests.
| | | * | | Correct the call to GenerateWidgetViewSync in TkTextRelayoutWindow. Makeculler2019-01-011-7/+9
| | | | | | | | | | | | | | | | | | TkTextUpdateLineMetrics send a <<WidgetViewSync> if it updates all lines.
| | | * | | Make GenerateWidgetSyncEvent save the sync state whenever it sends an event,culler2018-12-313-7/+17
| | | | | | | | | | | | | | | | | | and not send an event unless the requested state differs from the saved state.
| | | * | | merge core-8-6-branch.culler2018-12-3153-599/+596
| | | |\ \ \ | | | |/ / / | | |/| | |
| | * | | | As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-3153-599/+596
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | -> 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.nijtmans2018-12-3156-730/+734
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 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.
| | | | * | TextInvalidateLineMetrics should always send a <<WidgetViewSync>> event,culler2018-12-301-1/+7
| | | | | | | | | | | | | | | | | | whether an asynchronous update is scheduled at that moment or not.
| | | | * | Merge core-8-6-branch.culler2018-12-3098-1324/+1905
| | | | |\ \ | | | |_|/ / | | |/| | |
| | * | | | Merge 8.5. Undo previous introduced ***POTENTIAL INCOMPATIBLITY*** on win32jan.nijtmans2018-12-264-13/+7
| | |\ \ \ \ | | | |/ / /
| | | * | | Change None/ControlMask on win32 (and MacOSX - which is harmless) to being ↵jan.nijtmans2018-12-264-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | an enum. This fixes (hopefully) the ***POTENTIAL INCOMPATABILITY*** in previous commit
| | * | | | Let's see if we can build something with Travis-CIjan.nijtmans2018-12-201-0/+84
| | | | | |
| | | | * | In TkTextUpdateLineMetrics, line numbers start at zero, not 1fvogel2018-11-191-1/+1
| | | | | |
| | | | * | Make text-11a.41 pass this time (hopefully...)fvogel2018-11-191-0/+1
| | | | | |
| | | | * | Repair text-11a.41 logicfvogel2018-11-191-4/+3
| | | | | |
| | | | * | merge core-8-6-branchfvogel2018-11-193-8/+11
| | | | |\ \
| | | | * | | Fix [b2dd3b4fe8]: text-11a.41 sometimes hangsfvogel2018-11-181-5/+10
| | | | | | |