summaryrefslogtreecommitdiffstats
path: root/src/option.c
AgeCommit message (Collapse)Author
2023-05-31patch 9.0.1594: some internal error messages are translatedv9.0.1594RestorerZ
Problem: Some internal error messages are translated. Solution: Consistently do not translate internal error messages. (closes #12459)
2023-05-06patch 9.0.1520: completion for option name includes all bool optionsv9.0.1520Bram Moolenaar
Problem: Completion for option name includes all bool options. Solution: Do not recognize the "noinv" prefix. Prefix "no" or "inv" when appropriate.
2023-04-23patch 9.0.1481: decrypting with libsodium may fail if the library changesv9.0.1481Christian Brabandt
Problem: Decrypting with libsodium may fail if the library changes. Solution: Add parameters used to the encrypted file header. (Christian Brabandt, closes #12279)
2023-03-15patch 9.0.1405: missing check for out-of-memoryv9.0.1405Bram Moolenaar
Problem: Missing check for out-of-memory. Solution: Check for alloc() returning NULL pointer. (closes #12149)
2023-03-12patch 9.0.1403: unused variables and functionsv9.0.1403Dominique Pelle
Problem: Unused variables and functions. Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
2023-03-07patch 9.0.1391: "clear" macros are not always usedv9.0.1391Yegappan Lakshmanan
Problem: "clear" macros are not always used. Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more places. (Yegappan Lakshmanan, closes #12104)
2023-03-04patch 9.0.1380: CTRL-X on 2**64 subtracts twov9.0.1380Bram Moolenaar
Problem: CTRL-X on 2**64 subtracts two. (James McCoy) Solution: Correct computation for large number. (closes #12103)
2023-03-04patch 9.0.1379: functions for handling options are not orderedv9.0.1379Yegappan Lakshmanan
Problem: Functions for handling options are not ordered. Solution: Put functions in alphabetical order. (Yegappan Lakshmanan, closes #12101)
2023-03-02patch 9.0.1369: still some "else if" constructs for setting optionsv9.0.1369Yegappan Lakshmanan
Problem: Still some "else if" constructs for setting options. Solution: Add a few more functions for handling options. (Yegappan Lakshmanan, closes #12090)
2023-02-25patch 9.0.1353: too many "else if" statements to handle option valuesv9.0.1353Yegappan Lakshmanan
Problem: Too many "else if" statements to handle option values. Solution: Add more functions to handle option value changes. (Yegappan Lakshmanan, closes #12058)
2023-02-20patch 9.0.1330: handling new value of an option has a long "else if" chainv9.0.1330Yegappan Lakshmanan
Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes #12015)
2023-02-15patch 9.0.1313: some settings use the current codepage instead of 'encoding'v9.0.1313K.Takata
Problem: Some settings use the current codepage instead of 'encoding'. Solution: Adjust how options are initialized. (Ken Takata, closes #11992)
2023-02-15patch 9.0.1311: Coverity warns for using a NULL pointerv9.0.1311Bram Moolenaar
Problem: Coverity warns for using a NULL pointer. Solution: Use "empty_option" instead of NULL.
2023-02-14patch 9.0.1308: the code for setting options is too complicatedv9.0.1308Yegappan Lakshmanan
Problem: The code for setting options is too complicated. Solution: Refactor the code for setting options. (Yegappan Lakshmanan, closes #11989)
2023-02-13patch 9.0.1307: setting 'formatoptions' with :let doesn't check for errorsv9.0.1307Yegappan Lakshmanan
Problem: Setting 'formatoptions' with :let doesn't check for errors. Solution: Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan, closes #11974, closes #11972)
2023-02-10patch 9.0.1295: the option initialization function is too longv9.0.1295Yegappan Lakshmanan
Problem: The option initialization function is too long. Solution: Move code to separate functions. (Yegappan Lakshmanan, closes #11966)
2023-02-09patch 9.0.1294: the set_bool_option() function is too longv9.0.1294Yegappan Lakshmanan
Problem: The set_bool_option() function is too long. Solution: Move code to separate functions. (Yegappan Lakshmanan, closes #11964)
2023-02-09patch 9.0.1293: the set_num_option() is too longv9.0.1293Yegappan Lakshmanan
Problem: The set_num_option() is too long. Solution: Move code to separate functions. (Yegappan Lakshmanan, closes #11954)
2023-02-06patch 9.0.1286: Coverity warns for using a NULL pointerv9.0.1286Bram Moolenaar
Problem: Coverity warns for using a NULL pointer. Solution: Bail out whan "varp" is NULL.
2023-02-05patch 9.0.1284: compiler warnings for uninitialized variablesv9.0.1284Bram Moolenaar
Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck) Solution: Add variable initializations.
2023-02-05patch 9.0.1283: the code for setting options is too complicatedv9.0.1283Yegappan Lakshmanan
Problem: The code for setting options is too complicated. Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis Russell, closes #11945)
2023-02-02patch 9.0.1275: the code for setting options is too complicatedv9.0.1275Yegappan Lakshmanan
Problem: The code for setting options is too complicated. Solution: Refactor the do_set() function. (Yegappan Lakshmanan, Lewis Russell, closes #11932)
2023-01-25patch 9.0.1242: code for :runtime completion is not consistentv9.0.1242zeertzjq
Problem: Code for :runtime completion is not consistent. Solution: Make code for cmdline expansion more consistent. (closes #11875)
2023-01-17patch 9.0.1215: using isalpha() adds dependency on current localev9.0.1215zeertzjq
Problem: Using isalpha() adds dependency on current locale. Solution: Do not use isalpha() for recognizing a URL or the end of an Ex command. (closes #11835)
2023-01-16patch 9.0.1208: code is indented more than necessaryv9.0.1208Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11819)
2022-12-02patch 9.0.0990: callback name argument is changed by setqflist()v9.0.0990Bram Moolenaar
Problem: Callback name argument is changed by setqflist(). Solution: Use the expanded function name for the callback, do not store it in the argument. (closes #11653)
2022-11-28patch 9.0.0963: function name does not match autocmd event namev9.0.0963zeertzjq
Problem: Function name does not match autocmd event name. Solution: Rename "optionsset" to "optionset". (closes #11630)
2022-11-22patch 9.0.0921: missing defined(PROTO) in #ifdefv9.0.0921Bram Moolenaar
Problem: Missing defined(PROTO) in #ifdef. Solution: Adjust #ifdef so that proto works with different features. Clean up some preprocessor indenting.
2022-11-05patch 9.0.0835: the window title is not redrawn when 'endoffile' changesv9.0.0835K.Takata
Problem: The window title is not redrawn when 'endoffile' changes. Solution: redraw the window title when 'endoffile' is changed. (Ken Takata, closes #11488)
2022-10-28Add missing entry for the 'endoffile' option.Bram Moolenaar
2022-10-15patch 9.0.0761: cannot use 'indentexpr' for Lisp indentingv9.0.0761Bram Moolenaar
Problem: Cannot use 'indentexpr' for Lisp indenting. Solution: Add the 'lispoptions' option.
2022-10-13patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij
Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
2022-10-06patch 9.0.0670: no space for command line when there is a tablinev9.0.0670Bram Moolenaar
Problem: No space for command line when there is a tabline. Solution: Correct computation of where the command line should be. (closes #11295)
2022-10-05patch 9.0.0665: setting 'cmdheight' has no effect if last window was resizedv9.0.0665Bram Moolenaar
Problem: Setting 'cmdheight' has no effect if last window was resized. Solution: Do apply 'cmdheight' when told to. Use the frame height instead of the cmdline_row. (closes #11286)
2022-10-04patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
2022-10-03patch 9.0.0644: 'smoothscroll' is not copied to a new window on :splitv9.0.0644Bram Moolenaar
Problem: 'smoothscroll' is not copied to a new window on :split. Solution: Copy the option value. Add a test.
2022-10-02patch 9.0.0640: cannot scroll by screen line if a line wrapsv9.0.0640Bram Moolenaar
Problem: Cannot scroll by screen line if a line wraps. Solution: Add the 'smoothscroll' option. Only works for CTRL-E and CTRL-Y so far.
2022-09-22patch 9.0.0544: minor issues with setting a string optionv9.0.0544zeertzjq
Problem: Minor issues with setting a string option. Solution: Adjust the code, add a test. (closes #11192)
2022-09-22patch 9.0.0540: assigning stack variable to argument confuses Coverityv9.0.0540Bram Moolenaar
Problem: Assigning stack variable to argument confuses Coverity. Solution: Use a local pointer, also makes the code simpler.
2022-09-21patch 9.0.0537: the do_set() function is much too longv9.0.0537Bram Moolenaar
Problem: The do_set() function is much too long. Solution: Move setting of a string option to a separate function.
2022-09-12patch 9.0.0449: there is no easy way to translate a key code into a stringv9.0.0449zeertzjq
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)
2022-08-31patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340Bram Moolenaar
Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
2022-08-29patch 9.0.0318: clearing screen causes flickerv9.0.0318Bram Moolenaar
Problem: Clearing screen causes flicker. Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-26patch 9.0.0278: the +wildignore feature is nearly always availablev9.0.0278Bram Moolenaar
Problem: The +wildignore feature is nearly always available. Solution: Graduate +wildignore for consistency.
2022-08-25patch 9.0.0265: no good reason why the "gf" command isn't in the tiny versionv9.0.0265Bram Moolenaar
Problem: No good reason why the "gf" command is not in the tiny version. Solution: Graduate the file_in_path feature.
2022-08-16patch 9.0.0222: no good reason why text objects are only in larger buildsv9.0.0222Bram Moolenaar
Problem: No good reason why text objects are only in larger builds. Solution: Graduate +textobjects.
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-07-30patch 9.0.0114: the command line takes up space even when not usedv9.0.0114Shougo Matsushita
Problem: The command line takes up space even when not used. Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita, closes #10675, closes #940)
2022-07-27patch 9.0.0096: flag "new_value_alloced" is always truev9.0.0096zeertzjq
Problem: Flag "new_value_alloced" is always true. Solution: Remove "new_value_alloced". (closes #10792)
2022-07-27patch 9.0.0090: no error when assigning bool to a string optionv9.0.0090Bram Moolenaar
Problem: No error when assigning bool to a string option with setwinvar(). Solution: Give an error (closes #10766)