summaryrefslogtreecommitdiffstats
path: root/generic/tkMenubutton.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunkjan.nijtmans2019-06-051-14/+21
|\
| * Merge 8.6jan.nijtmans2019-05-161-14/+21
| |\
| | * Revised bug fix for [5d991b822e].dgp2019-05-151-14/+21
| | |\
| | | * Tests and fix for [menubutton ... -textvariable].dgp2019-05-151-1/+21
| | | |
* | | | Merge 8.7jan.nijtmans2019-01-131-13/+13
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2019-01-101-13/+13
| |\ \ \ | | |/ /
| | | |
| | | \
| | *-. \ Merge 8.6 and all changes from original [bug-9e31fd9449] branchjan.nijtmans2019-01-081-8/+8
| | |\ \ \
| | | | * \ Fix [9e31fd944934e269121fa78ff56b7b86f33e6db6|9e31fd9449]: X11/X.h and ↵jan.nijtmans2019-01-081-13/+13
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-21/+21
| | |\ \ \ \ \ | | | | |_|/ / | | | |/| | | | | | | | | | | | | | | | | -> 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-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> 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-21/+21
| | |\ \ \ \ \ | | | |/ / / / | | | | / / / | | | |/ / / | | |/| | | *** 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-21/+21
| | | |/ / | | | | | | | | | | | | | | | | | | | | Windows.h have conflicting symbols. Also fix a few newer (harmless) gcc warnings.
* | | | | Merge trunkjan.nijtmans2018-11-251-4/+4
|\ \ \ \ \ | |/ / / /
| * | | | Change char *recordPtr to void *recordPtr in Tk_SetOptions() and friends. ↵jan.nijtmans2018-10-161-4/+4
| |/ / / | | | | | | | | | | | | This is 100% upwards compatible, and equivalent to TIP #494 done in Tcl. With this, a ton of (char *) type casts can be eliminated
* | | | Experiment: let's see if we can deprecate Tk_Offset() in favor of offsetof()jan.nijtmans2018-10-061-30/+30
|/ / /
* | | Fix [5d991b822e]: segmentation violation in TclObjLookupVarEx. Patch from ↵fvogel2018-01-281-0/+13
| |/ |/| | | | | Christian Werner.
* | Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵jan.nijtmans2013-02-221-2/+2
| | | | | | | | calls: The former are just thin wrappers around the latter.
* | more places convertedjan.nijtmans2013-01-241-1/+1
| |
* | Merge core-8-5-branchjan.nijtmans2013-01-241-2/+2
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
| * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-15/+15
| |\ | | | | | | | | | make various other tables const (all backported from Tk 8.6)
| | * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-4/+4
| | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6)
| * | make some internal tables constjan.nijtmans2012-04-181-3/+3
| |\ \ | | |/
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-3/+3
| | |
* | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-6/+6
| | | | | | | | | | | | around other functions, to call the wrapped function directly.
* | | Much more cleaning up of result handling.dkf2012-07-231-2/+2
| | |
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"jan.nijtmans2012-06-201-5/+5
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkMenubutton.c (ConfigureMenuButton): trace thehobbs2007-12-131-27/+23
| | | | | | | | | | | | -textvariable even if an image exists as it may use -compound.
| | * * generic/tkMenubutton.h: fixed compound menubutton handling likehobbs2003-11-171-11/+26
| | | | | | | | | | | | | | | | | | * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton):
| * | * generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/das2009-04-101-2/+2
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-2/+2
| | | | | | | | | using useful casts internally.
* | | Tiny whitespace changes for readability improvement.dkf2010-02-211-2/+2
| | |
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-2/+2
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+14
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-1/+2
| | |
* | | * generic/tkMenubutton.c: s/DEF_BUTTON_JUSTIFY/DEF_MENUBUTTON_JUSTIFY/das2009-04-101-2/+2
| | |
* | | More small changes to use C89 better and manage the result more efficiently.dkf2008-11-081-6/+4
| | |
* | | Add "const" to many internalnijtmans2008-10-171-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-2/+2
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-3/+3
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-40/+37
|/ /
* | * generic/tkMenubutton.c (ConfigureMenuButton): trace thehobbs2007-12-131-8/+5
| | | | | | | | -textvariable even if an image exists as it may use -compound.
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-2/+2
| |
* | Cleaning up whitespace, comments, declarations. No functional changes.dkf2007-06-241-42/+42
| |
* | various "const" additions, in line with TIP #27nijtmans2007-01-031-2/+2
| |
* | ANSIfydkf2005-11-151-230/+228
| |
* | * generic/tkMenubutton.h: fixed compound menubutton handling likehobbs2003-11-171-11/+26
|/ | | | | | * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton):