summaryrefslogtreecommitdiff
path: root/src/menu.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1479: small source file problems; outdated list of distrib. filesv9.0.1479Bram Moolenaar2023-04-221-4/+4
| | | | | Problem: Small source file problems; outdated list of distributed files. Solution: Small updates to source files and list of distributed files.
* patch 9.0.1196: code is indented more than necessaryv9.0.1196Yegappan Lakshmanan2023-01-141-53/+53
| | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11813)
* patch 9.0.0874: using freed memory when executing unmenu at more promptv9.0.0874Bram Moolenaar2022-11-131-3/+31
| | | | | Problem: Using freed memory when executing unmenu at the more prompt. Solution: Do not clear menus while listing them. (closes #11439)
* patch 9.0.0455: a few problems with 'splitscroll'v9.0.0455Luuk van Baal2022-09-131-0/+1
| | | | | Problem: A few problems with 'splitscroll'. Solution: Fix 'splitscroll' problems. (Luuk van Baal, closes #11117)
* patch 9.0.0449: there is no easy way to translate a key code into a stringv9.0.0449zeertzjq2022-09-121-1/+1
| | | | | | Problem: There is no easy way to translate a string with a key code into a readable string. Solution: Add the keytrans() function. (closes #11114)
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-1/+1
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 9.0.0015: with EXITFREE defined terminal menus are not clearedv9.0.0015zeertzjq2022-07-011-3/+2
| | | | | | Problem: With EXITFREE defined terminal menus are not cleared. Solution: Also clear terminal menus. Remove condition that is always true. (closes #10641)
* patch 8.2.5107: some callers of rettv_list_alloc() check for not OKv8.2.5107Bram Moolenaar2022-06-161-1/+1
| | | | | | Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van Willegen) Solution: Use "==" instead of "!=" when checking the return value.
* patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar2022-05-091-1/+1
| | | | | Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-8/+9
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4677: the Athena GUI support is outdatedv8.2.4677Bram Moolenaar2022-04-031-9/+1
| | | | | Problem: The Athena GUI support is outdated. Solution: Remove the Athena GUI code.
* patch 8.2.4289: warnings reported by MSVCv8.2.4289K.Takata2022-02-031-1/+1
| | | | | Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
* patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar2022-01-081-1/+1
| | | | | Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
* patch 8.2.4008: error messages are spread outv8.2.4008Bram Moolenaar2022-01-051-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.4003: error messages are spread outv8.2.4003Bram Moolenaar2022-01-041-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3983: error messages are spread outv8.2.3983Bram Moolenaar2022-01-021-20/+17
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3972: error messages are spread outv8.2.3972Bram Moolenaar2022-01-011-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move the last errors from globals.h to errors.h.
* patch 8.2.3970: error messages are spread outv8.2.3970Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar2021-12-311-3/+3
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-271-3/+3
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3459: Vim9: need more tests for empty string argumentsv8.2.3459Yegappan Lakshmanan2021-09-301-3/+21
| | | | | | Problem: Vim9: need more tests for empty string arguments. Solution: Add more tests. Also use empty argument with menu_info() to get the top-level menu names. (Yegappan Lakshmanan, closes #8925)
* patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan2021-07-271-0/+5
| | | | | | Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-1/+1
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval featurev8.2.2238Bram Moolenaar2020-12-281-10/+2
| | | | | Problem: Vim9: cannot load a Vim9 script without the +eval feature. Solution: Support Vim9 script syntax without the +eval feature.
* patch 8.2.1769: popup filter interferes with using :normal to move the cursorv8.2.1769Bram Moolenaar2020-09-281-4/+0
| | | | | | Problem: A popup filter interferes with using :normal to move the cursor in a popup. Solution: Do not invoke the filter when ex_normal_busy is set.
* patch 8.2.1729: endless loop when ":normal" feeds popup window filterv8.2.1729Bram Moolenaar2020-09-231-0/+4
| | | | | Problem: Endless loop when ":normal" feeds popup window filter. Solution: Add the ex_normal_busy_done flag.
* patch 8.2.1281: the "trailing characters" error can be hard to understandv8.2.1281Bram Moolenaar2020-07-231-1/+1
| | | | | Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message.
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-2/+2
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0613: Vim9: no check for space before #commentv8.2.0613Bram Moolenaar2020-04-201-2/+4
| | | | | Problem: Vim9: no check for space before #comment. Solution: Add space checks.
* patch 8.2.0523: loops are repeatedv8.2.0523Bram Moolenaar2020-04-061-2/+2
| | | | | Problem: Loops are repeated. Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
* 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 *".