summaryrefslogtreecommitdiffstats
path: root/generic/tkMenuDraw.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix [caa8cb25a8]: spelling fix in comment of tkMenuDraw.cfvogel2019-05-131-1/+1
|\
| * Fix [caa8cb25a8]: spelling fix in comment of tkMenuDraw.cfvogel2019-05-131-1/+1
| |
* | Change (internal) signature of ↵jan.nijtmans2019-03-311-5/+6
|/ | | | | TkMenuConfigureEntryDrawOptions/TkActivateMenuEntry such that - if compiled with Tcl 9.0 headers - indexes > 2G can be used. Also, change a lot of Tcl_NewIntObj()/Tcl_NewBooleanObj() calls to Tcl_NewWideIntObj().
* TIP #533 (Extension of the menu post command) implementation was accepted by ↵fvogel2019-02-021-61/+3
|\ | | | | | | TCT vote. This allows fixing of bug [70e531918e]: geometry issues with menubuttons on macOS.
| * Add TkpPostTearoffMenu, called by TkPostTearoffMenu and used in the menu postculler2019-01-131-61/+3
| | | | | | command; eliminates #ifdef in the generic code.
| |
| \
*-. \ Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-081-18/+18
|\ \ \ | | |/ | |/|
| | * Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-081-31/+31
| | |\ | | | | | | | | | | | | | | | | | | | | 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.
* | | \ As requested by Christian Werner/François Vogel and others: Undo many None ↵jan.nijtmans2018-12-311-37/+37
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | -> 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-311-37/+37
| | | | | | | | | | | | | | | | | | | | -> 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.
* | | | Fix [9e31fd9449]: X11/X.h and Windows.h have conflicting symbols jan.nijtmans2018-12-201-37/+37
|\ \ \ \ | |/ / / | | / / | |/ / |/| | *** POTENTIAL INCOMPATIBILITY *** for Win32 only: On X11 and Mac, "None" can still be used as before
| * | Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2018-12-201-37/+37
| |/ | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
* | Once the menu geometry is correctly computed there is no need anymore for ↵fvogel2018-09-291-13/+2
| | | | | | | | questionable hacks in menu width calculation when displaying it
* | Fix more issues with menues drawing, that are visible when ↵fvogel2018-09-281-13/+8
| | | | | | | | -activeborderwidth is very different from -borderwidth
* | Fix [9658bc800c]: Right border calculated wrong in Tk menu if borderwidth != ↵fvogel2018-09-261-1/+1
| | | | | | | | activeborderwidth. Patch provided by ingo_brunberg
* | [Bug 3562426]: Context menu goes out of edge of screen.jan.nijtmans2012-08-281-0/+2
|\ \ | |/
| * [Bug 3562426]: Context menu goes out of edge of screen.jan.nijtmans2012-08-281-0/+2
| |\
| | * [Bug 3562426]: Context menu goes out of edge of screen. jan.nijtmans2012-08-281-0/+2
| | | | | | | | | | | | <p>PLEASE DON'T PUT THIS ASIDE TO A <b>MISTAKE</b> BRANCH OR SOMETHING! It's simply a fork, in fossil there's nothing wrong with that!</p>
| * | [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-19/+9
| |\ \ | | |/
* | | same bugfix, but now applied to trunkjan.nijtmans2012-04-211-19/+9
|\ \ \ | | |/ | |/|
| * | unused variablejan.nijtmans2012-04-201-1/+1
| | |
| * | fix (hopefully) menu posting in the same way as window placementjan.nijtmans2012-04-201-19/+8
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | | |/ | |/|
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu inhobbs2009-09-141-2/+3
| | | | | | | | | | | | | | | | | | | | | * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]
| | * * generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name inhobbs2003-11-121-3/+3
| | | | | | | | | | | | | | | case it has spaces when calling Tcl_VarEval. This is a hack until this is rewritten for proper Tcl_Obj handling. [Bug #723856]
| | * menu clone cleanup bug fixvincentdarley2003-07-151-2/+13
| | |
| * | * generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu inhobbs2009-09-141-2/+6
| | | | | | | | | | | | | | | | | | | | | * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-15/+15
| | |
* | | * generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu inhobbs2009-09-141-2/+6
|/ / | | | | | | | | | | | | * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-1/+2
| |
* | ANSIfydkf2005-11-151-214/+202
| |
* | Stupid typo fix. [Bug 843395]dkf2003-11-181-2/+2
| |
* | Tcl_EvalObjv is more robust than Tcl_VarEvaldkf2003-11-131-16/+22
| |
* | * generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name inhobbs2003-11-121-3/+3
| | | | | | | | | | case it has spaces when calling Tcl_VarEval. This is a hack until this is rewritten for proper Tcl_Obj handling. [Bug #723856]
* | fix to menu clone deletion bugvincentdarley2003-05-301-2/+13
|/
* * Merged 8.1 branch into the main trunkstanton1999-04-161-97/+130
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+1018