summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
Commit message (Collapse)AuthorAgeFilesLines
* Rebase to 8.7jan.nijtmans2022-10-121-28/+28
|\
| * TIP #628 for Tk: Shared 8.7/9.0 build environmentjan.nijtmans2022-06-251-28/+28
| |
* | Fix [f326f30e82]: DestroyMenuInstance(): clear stale pointer. Patch from ↵fvogel2022-09-271-0/+1
|\ \ | | | | | | | | | Christopher Chavez.
| * | Fix [f326f30e82]: DestroyMenuInstance(): clear stale pointer. Patch from ↵fvogel2022-09-261-0/+1
| | | | | | | | | | | | Christopher Chavez.
* | | typo Tk_SetWindowMenuBar -> Tk_SetWindowMenubar. (TIP #606 and ↵jan.nijtmans2022-09-201-4/+4
| |/ |/| | | | | documentation was correct)
* | Merge 8.7jan.nijtmans2022-05-171-26/+15
|\ \
| * | More alphabetizing Tk options. More type-cast improvementsjan.nijtmans2022-05-121-8/+8
| | |
| * | Merge 8.6jan.nijtmans2022-05-051-6/+6
| |\ \ | | |/
| | * Code cleanup, mainly eliminating unnecessary type-castsjan.nijtmans2022-05-051-6/+6
| | |
| * | Merge 8.6jan.nijtmans2022-05-031-14/+3
| |\ \ | | |/
| | * Add 2 MODULE_SCOPE string tables (tkStateStrings and tkCompoundStrings) ↵jan.nijtmans2022-05-031-10/+1
| | | | | | | | | | | | which can be reused in many places
* | | Merge 8.7jan.nijtmans2022-03-111-5/+5
|\ \ \ | |/ /
| * | TIP #606 implementation. TODO: documentationjan.nijtmans2021-12-211-5/+5
| | |
* | | Use TIP #616 API (WIP)jan.nijtmans2022-01-311-3/+4
|/ /
* | Merge 8.6jan.nijtmans2021-12-071-1/+1
|\ \ | |/
| * Fix [be8f5b9fc2]: Tk Menu empty string for `-type` segfaultsfvogel2021-12-061-1/+1
| |
| * Eliminate "register" keyword. Use more TCL_UNUSED()jan.nijtmans2021-03-231-8/+8
| |
* | Merge 8.7jan.nijtmans2021-02-031-1/+1
|\ \
* \ \ Merge 8.7jan.nijtmans2021-01-281-2/+2
|\ \ \ | |/ /
| * | After TIP #481 reaches Tcl9.0, TkGetStringFromObj() becomes obsolete. This ↵jan.nijtmans2020-12-111-2/+2
| | | | | | | | | | | | commit shows how.
* | | Merge 8.7jan.nijtmans2021-01-081-2/+2
|\ \ \ | |/ /
| * | (c) -> ©jan.nijtmans2020-12-091-2/+2
| | |
* | | Merge trunkjan.nijtmans2020-10-121-3/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2020-10-011-3/+1
| |\ \ | | |/
| | * Fix some gcc warnings (when using -Wshadow, deprecated XKeycodeToKeysym(), ↵jan.nijtmans2020-10-011-3/+1
| | | | | | | | | | | | XScreenSaverQueryInfo weak symbol on MacOS)
* | | Merge trunkjan.nijtmans2020-09-291-2/+3
|\ \ \ | |/ /
| * | Fix [6ecae50f5c]: menu-16.3 failsjan.nijtmans2020-09-211-1/+2
| | |
| * | Fix [f3cd942e9e]: trunk: .mymenu index end no longer works on an empty menujan.nijtmans2020-09-211-2/+2
| | |
* | | Make default underline -1 (again) when compiled with Tcl 8 headersjan.nijtmans2020-09-141-1/+1
| | |
* | | Make all test-cases pass (finally)jan.nijtmans2020-09-141-1/+1
| | |
* | | Merge 8.7jan.nijtmans2020-09-061-1/+1
|\ \ \ | |/ /
| * | Merge trunkjan.nijtmans2020-08-241-3/+2
| |\ \
| * \ \ Merge 8.7jan.nijtmans2020-08-131-48/+48
| |\ \ \
| * | | | New TIP #580 implementation. Documentation still missing.jan.nijtmans2020-07-141-1/+1
| | | | |
* | | | | Merge trunkjan.nijtmans2020-08-201-0/+6
|\ \ \ \ \ | | |_|/ / | |/| | |
* | | | | Merge trunkjan.nijtmans2020-08-201-0/+5
|\ \ \ \ \ | |/ / / /
| * | | | New macro TkNewIndexObj(), which handled indices >= 2147483648 correctly ↵jan.nijtmans2020-08-201-3/+2
| | |/ / | |/| | | | | | | | | | when compiled against Tcl 9.0 headers.
* | | | Merge 8.7jan.nijtmans2020-08-191-48/+48
|\ \ \ \ | |/ / /
| * | | Merge 8.6jan.nijtmans2020-08-121-48/+48
| |\ \ \ | | |/ / | |/| / | | |/
| | * Rename (internal) MAASTER_MENU to MAIN_MENU, but keep the original, just to ↵jan.nijtmans2020-08-121-20/+20
| | | | | | | | | | | | be sure
* | | Merge trunkjan.nijtmans2020-07-171-5/+0
|\ \ \ | |/ /
* | | Merge trunk. New helper function TkNewIndexObj()jan.nijtmans2020-07-061-3/+4
|\ \ \ | |/ /
* | | Don't use constants like DEF_BUTTON_UNDERLINE any more, since the default ↵jan.nijtmans2020-07-021-1/+1
| | | | | | | | | | | | underline should always be no underline anyway.
* | | Merge trunkjan.nijtmans2020-07-021-1/+1
|\ \ \ | |/ /
* | | Handle different possible form of "none" better.jan.nijtmans2020-06-191-2/+2
| | |
* | | More progress, implementing enhanced "-underline"jan.nijtmans2020-06-121-2/+2
|/ /
* | Merge 8.6jan.nijtmans2020-06-081-1/+1
|\ \ | |/
| * Fix [2790615]: "update" performs Tk callbacks in its own stack frame.jan.nijtmans2020-06-081-1/+1
| | | | | | by adding TCL_EVAL_GLOBAL in a lot of places.
* | Don't use TCL_AUTO_LENGTH in Tk any more, just use TCL_INDEX_NONE ↵jan.nijtmans2020-05-221-54/+54
| | | | | | | | consistantly everywhere: It's actually the same.
* | More usage of (internal) TkGetIntForIndex() function, and give this function ↵jan.nijtmans2020-03-201-1/+1
| | | | | | | | | | | | an additional parameter "lastOK". This way, "end" doesn't need to be handled especially in other code places, all is centralized in this single functions. Only Ttk's "treeview" not done yet, since that requires handling a linked list in stead of an array.