summaryrefslogtreecommitdiff
path: root/src/menu.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0399: various memory leaksv8.2.0399Bram Moolenaar2020-03-181-2/+8
| | | | | Problem: Various memory leaks. Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803)
* patch 8.2.0392: Coverity warns for using array index out of rangev8.2.0392Bram Moolenaar2020-03-161-17/+21
| | | | | Problem: Coverity warns for using array index out of range. Solution: Add extra "if" to avoid warning.
* patch 8.2.0385: menu functionality insufficiently testedv8.2.0385Bram Moolenaar2020-03-151-28/+241
| | | | | Problem: Menu functionality insufficiently tested. Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
* patch 8.2.0320: no Haiku supportv8.2.0320Bram Moolenaar2020-02-261-1/+1
| | | | | Problem: No Haiku support. Solution: Add support for Haiku. (Emir Sari, closes #5605)
* patch 8.1.2388: using old C style commentsv8.1.2388Bram Moolenaar2019-12-041-160/+160
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2361: MS-Windows: test failures related to VIMDLLv8.1.2361Bram Moolenaar2019-11-291-1/+5
| | | | | Problem: MS-Windows: test failures related to VIMDLL. Solution: Adjust code and tests. (Ken Takata, closes #5283)
* patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar2019-10-131-1/+2
| | | | | | Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected.
* patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar2019-08-201-1/+2
| | | | | Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
* patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar2019-08-181-8/+0
| | | | | Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
* patch 8.1.1630: various small problemsv8.1.1630Bram Moolenaar2019-07-041-1/+1
| | | | | Problem: Various small problems. Solution: Various small improvements.
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-1/+1
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-3/+3
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1274: after :unmenu can still execute the menu with :emenuv8.1.1274Bram Moolenaar2019-05-051-1/+2
| | | | | Problem: After :unmenu can still execute the menu with :emenu. Solution: Do not execute a menu that was disabled for the specified mode.
* patch 8.1.1264: crash when closing window from WinBar clickv8.1.1264Bram Moolenaar2019-05-041-2/+5
| | | | | Problem: Crash when closing window from WinBar click. (Ben Jackson) Solution: Check that window pointer is still valid. (closes #4337)
* patch 8.1.1201: output of :command is hard to readv8.1.1201Bram Moolenaar2019-04-241-1/+1
| | | | | | Problem: Output of :command is hard to read. Solution: Make some columns wider, some narrower. Truncate the command when listing all.
* patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-4/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-23/+23
| | | | | | | Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
* patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar2019-01-261-2/+0
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
* patch 8.1.0782: Win32: cursor blinks when Vim is not activev8.1.0782Bram Moolenaar2019-01-191-5/+0
| | | | | | Problem: Win32: cursor blinks when Vim is not active. Solution: Remove call to setActiveWindow(). (Yasuhiro Matsumoto, closes #3778)
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-7/+7
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-24/+24
| | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes #3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts.
* patch 8.1.0695: internal error when using :popupv8.1.0695Bram Moolenaar2019-01-061-3/+2
| | | | | | Problem: Internal error when using :popup. Solution: When a menu only exists in Terminal mode give an error. (Naruhiko Nishino, closes #3765)
* patch 8.1.0487: no menus specifically for the terminal windowv8.1.0487Bram Moolenaar2018-10-191-79/+152
| | | | | Problem: No menus specifically for the terminal window. Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.
* patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362Bram Moolenaar2018-09-101-2/+2
| | | | | | Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
* patch 8.0.1571: can't build without GUIv8.0.1571Bram Moolenaar2018-03-051-0/+1
| | | | | Problem: Can't build without GUI. Solution: Adjust #ifdef for gui_find_menu().
* patch 8.0.1570: can't use :popup for a menu in the terminalv8.0.1570Bram Moolenaar2018-03-051-7/+11
| | | | | | Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) Solution: Make :popup work in the terminal. Also fix that entries were included that don't work in the current state.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-2/+0
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1558: no right-click menu in a terminalv8.0.1558Bram Moolenaar2018-03-031-57/+67
| | | | | Problem: No right-click menu in a terminal. Solution: Implement the right click menu for the terminal.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-2/+1
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-2/+2
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1142: window toolbar menu gets a tear-off itemv8.0.1142Bram Moolenaar2017-09-231-1/+2
| | | | | Problem: Window toolbar menu gets a tear-off item. Solution: Recognize the window toolbar.
* patch 8.0.1139: using window toolbar changes statev8.0.1139Bram Moolenaar2017-09-231-4/+25
| | | | | Problem: Using window toolbar changes state. Solution: Always execute window toolbar actions in Normal mode.
* patch 8.0.1123: cannot define a toolbar for a windowv8.0.1123Bram Moolenaar2017-09-171-66/+224
| | | | | Problem: Cannot define a toolbar for a window. Solution: Add a window-local toolbar.
* patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram Moolenaar2017-03-161-2/+2
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
* patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar2017-03-121-12/+12
| | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-4/+4
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0411: menu translations don't match when case is changed.v8.0.0411Bram Moolenaar2017-03-041-2/+2
| | | | | Problem: We can't change the case in menu entries, it breaks translations. Solution: Ignore case when looking up a menu translation.
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2048v7.4.2048Bram Moolenaar2016-07-161-1/+1
| | | | | Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
* patch 7.4.1915v7.4.1915Bram Moolenaar2016-06-101-0/+5
| | | | | | Problem: The effect of the PopupMenu autocommand isn't directly visible. Solution: Call gui_update_menus() before displaying the popup menu. (Shane Harper, closs #855)
* patch 7.4.1375v7.4.1375Bram Moolenaar2016-02-201-3/+3
| | | | | Problem: Still some Win16 code. Solution: Remove FEAT_GUI_W16.(Hirohito Higashi)
* patch 7.4.1210v7.4.1210Bram Moolenaar2016-01-301-122/+69
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-25/+25
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* updated for version 7.4.212v7.4.212Bram Moolenaar2014-03-231-4/+0
| | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
* updated for version 7.3.160v7.3.160Bram Moolenaar2011-04-111-3/+4
| | | | | | Problem: Unsafe string copying. Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead of strcat().
* updated for version 7.3.095v7.3.095Bram Moolenaar2011-01-041-3/+3
| | | | | Problem: Win32: In Chinese tear-off menu doesn't work. (Weasley) Solution: Use menu_name_equal(). (Alex Jakushev)
* Support completion for ":find". (Nazri Ramliy)Bram Moolenaar2010-07-141-16/+16
| | | | Cleanup white space.
* Fix a few compiler warnings. Fix crash with encrypted undo file.Bram Moolenaar2010-06-061-2/+2
|
* Improve the MS-Windows installer.Bram Moolenaar2010-05-241-1/+1
|
* Merge patch 7.2.434.Bram Moolenaar2010-05-161-0/+6
|