summaryrefslogtreecommitdiff
path: root/src/option.c
Commit message (Collapse)AuthorAgeFilesLines
...
* patch 8.0.0563: crash when getting the window position in tmuxv8.0.0563Bram Moolenaar2017-04-111-0/+1
| | | | | Problem: Crash when getting the window position in tmux. (Marvin Schmidt) Solution: Add t_GP to the list of terminal options. (closes #1627)
* patch 8.0.0546: swap file exists briefly when opening the command windowv8.0.0546Bram Moolenaar2017-04-071-1/+1
| | | | | | Problem: Swap file exists briefly when opening the command window. Solution: Set the noswapfile command modifier before splitting the window. (James McCoy, closes #1620)
* 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-9/+10
| | | | | 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-6/+6
| | | | | | 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.0448: some macros are in lower casev8.0.0448Bram Moolenaar2017-03-121-1/+1
| | | | | Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
* patch 8.0.0441: dead code in #ifdefv8.0.0441Bram Moolenaar2017-03-091-9/+0
| | | | | Problem: Dead code in #ifdef. Solution: Remove the #ifdef and #else part.
* patch 8.0.0425: build errors when building without foldingv8.0.0425Bram Moolenaar2017-03-051-2/+5
| | | | | Problem: Build errors when building without folding. Solution: Add #ifdefs. (John Marriott)
* patch 8.0.0420: text garbled when the system encoding differs from 'encoding'v8.0.0420Bram Moolenaar2017-03-051-2/+33
| | | | | | Problem: When running :make the output may be in the system encoding, different from 'encoding'. Solution: Add the 'makeencoding' option. (Ken Takata)
* patch 8.0.0373: build fails without +foldingv8.0.0373Bram Moolenaar2017-02-251-1/+1
| | | | | Problem: Build fails without +folding. Solution: Move misplaced #ifdef.
* patch 8.0.0372: more options are not always definedv8.0.0372Bram Moolenaar2017-02-251-38/+134
| | | | | Problem: More options are not always defined. Solution: Consistently define all possible options.
* patch 8.0.0370: invalid memory access when setting wildchar emptyv8.0.0370Bram Moolenaar2017-02-251-2/+2
| | | | | | | Problem: Invalid memory access when setting wildchar empty. Solution: Avoid going over the end of the option value. (Dominique Pelle, closes #1509) Make option test check all number options with empty value.
* patch 8.0.0369: a few options are not defined, depending on featuresv8.0.0369Bram Moolenaar2017-02-251-6/+20
| | | | | | | | Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are not defined without the +balloon_eval feature. Testing that an option value fails does not work for unsupported options. Solution: Make the options defined but not supported. Don't test if setting unsupported options fails.
* patch 8.0.0356: leaking memory when setting 'ttytype'v8.0.0356Bram Moolenaar2017-02-231-0/+1
| | | | | Problem: Leaking memory when setting 'ttytype'. Solution: Get free_oldval from the right option entry.
* patch 8.0.0342: double free with EXITFREE and setting 'ttytype'v8.0.0342Bram Moolenaar2017-02-191-1/+7
| | | | | | Problem: Double free when compiled with EXITFREE and setting 'ttytype'. Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle, closes #1461)
* patch 8.0.0333: illegal memory access when 'complete' ends in a backslashv8.0.0333Bram Moolenaar2017-02-171-1/+1
| | | | | Problem: Illegal memory access when 'complete' ends in a backslash. Solution: Check for trailing backslash. (Dominique Pelle, closes #1478)
* patch 8.0.0305: invalid memory access when option has duplicate flagv8.0.0305Bram Moolenaar2017-02-051-3/+4
| | | | | Problem: Invalid memory access when option has duplicate flag. Solution: Correct pointer computation. (Dominique Pelle, closes #1442)
* patch 8.0.0302: cannot set terminal key codes with :letv8.0.0302Bram Moolenaar2017-02-041-0/+54
| | | | | Problem: Cannot set terminal key codes with :let. Solution: Make it work.
* patch 8.0.0251: not easy to select Python 2 or 3v8.0.0251Bram Moolenaar2017-01-281-0/+28
| | | | | | Problem: It is not so easy to write a script that works with both Python 2 and Python 3, even when the Python code works with both. Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)
* patch 8.0.0244: making t_BE empty only has an effect before startupv8.0.0244Bram Moolenaar2017-01-271-0/+9
| | | | | | | Problem: When the user sets t_BE empty after startup to disable bracketed paste, this has no direct effect. Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty write the new value.
* patch 8.0.0210: no support for bracketed pastev8.0.0210Bram Moolenaar2017-01-211-0/+2
| | | | | | Problem: Vim does not support bracketed paste, as implemented by xterm and other terminals. Solution: Add t_BE, t_BD, t_PS and t_PE.
* patch 8.0.0179: cannot have a local value for 'formatprg'v8.0.0179Bram Moolenaar2017-01-141-1/+10
| | | | | | Problem: 'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes #1380)
* patch 8.0.0121v8.0.0121Bram Moolenaar2016-12-031-3/+6
| | | | | Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler) Solution: Add the P_RWINONLY flag. (closes #1297)
* patch 8.0.0106v8.0.0106Bram Moolenaar2016-11-291-2/+4
| | | | | Problem: Cannot use a semicolon in 'backupext'. (Jeff) Solution: Allow for a few more characters when "secure" isn't set.
* patch 8.0.0104v8.0.0104Bram Moolenaar2016-11-261-1/+1
| | | | | Problem: Value of 'thesaurus' option not checked properly. Solution: Add P_NDNAME flag. (Daisuke Suzuki)
* patch 8.0.0102v8.0.0102Bram Moolenaar2016-11-251-6/+9
| | | | | | Problem: Cannot set 'dictionary' to a path. Solution: Allow for slash and backslash. Add a test (partly by Daisuke Suzuki, closes #1279, closes #1284)
* patch 8.0.0101v8.0.0101Bram Moolenaar2016-11-241-9/+11
| | | | | Problem: Some options are not strictly checked. Solution: Add flags for strickter checks.
* patch 8.0.0100v8.0.0100Bram Moolenaar2016-11-241-1/+1
| | | | | Problem: Options that are a file name may contain non-filename characters. Solution: Check for more invalid characters.
* patch 8.0.0074v8.0.0074Bram Moolenaar2016-11-101-4/+4
| | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
* patch 8.0.0073v8.0.0073Bram Moolenaar2016-11-101-3/+3
| | | | | Problem: More comparisons between firstwin and lastwin. Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
* patch 8.0.0065v8.0.0065Bram Moolenaar2016-11-051-0/+2
| | | | | | Problem: Compiler warning for unused function in tiny build. (Tony Mechelynck) Solution: Add #ifdef.
* patch 8.0.0056v8.0.0056Bram Moolenaar2016-11-041-2/+36
| | | | | Problem: When setting 'filetype' there is no check for a valid name. Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'.
* patch 8.0.0031v8.0.0031Bram Moolenaar2016-10-121-1/+13
| | | | | Problem: After ":bwipeout" 'fileformat' is not set to the right default. Solution: Get the default from 'fileformats'. (Mike Williams)
* patch 8.0.0029v8.0.0029Bram Moolenaar2016-10-121-8/+2
| | | | | | Problem: Code for MS-Windows is complicated because of the exceptions for old systems. Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
* patch 8.0.0003v8.0.0003Bram Moolenaar2016-09-121-1/+3
| | | | | | Problem: getwinvar() returns wrong Value of boolean and number options, especially non big endian systems. (James McCoy) Solution: Cast the pointer to long or int. (closes #1060)
* patch 7.4.2306v7.4.2306Bram Moolenaar2016-09-021-1/+1
| | | | | Problem: Default value for 'langremap' is wrong. Solution: Set the right value. (Jürgen Krämer) Add a test.
* 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.2253v7.4.2253Bram Moolenaar2016-08-251-10/+0
| | | | | | Problem: Check for Windows 3.1 will always return false. (Christian Brabandt) Solution: Remove the dead code.
* patch 7.4.2236v7.4.2236Bram Moolenaar2016-08-211-0/+16
| | | | | | | | Problem: The 'langnoremap' option leads to double negatives. And it does not work for the last character of a mapping. Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for backwards compatibility. Make it work for the last character of a mapping. Make the test work.
* patch 7.4.2213v7.4.2213Bram Moolenaar2016-08-141-1/+1
| | | | | Problem: Cannot highlight the "~" lines at the end of a window differently. Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
* patch 7.4.2209v7.4.2209Bram Moolenaar2016-08-141-1/+1
| | | | | | Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string.
* patch 7.4.2204v7.4.2204Bram Moolenaar2016-08-121-0/+37
| | | | | | | Problem: It is not easy to get information about buffers, windows and tabpages. Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan Lakshmanan)
* patch 7.4.2202v7.4.2202Bram Moolenaar2016-08-121-1/+2
| | | | | Problem: Build fails with small features. Solution: Correct option initialization.
* patch 7.4.2201v7.4.2201Bram Moolenaar2016-08-121-0/+54
| | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt)
* patch 7.4.2174v7.4.2174Bram Moolenaar2016-08-071-4/+22
| | | | | Problem: Adding duplicate flags to 'whichwrap' leaves commas behind. Solution: Also remove the commas. (Naruhiko Nishino)
* patch 7.4.2101v7.4.2101Bram Moolenaar2016-07-241-6/+6
| | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
* patch 7.4.2048v7.4.2048Bram Moolenaar2016-07-161-8/+1
| | | | | Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
* patch 7.4.2017v7.4.2017Bram Moolenaar2016-07-101-6/+0
| | | | | | | | | Problem: When there are many errors adding them to the quickfix list takes a long time. Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options(). Remember the last file name used. When going through the buffer list start from the end of the list. Only call buf_valid() when autocommands were executed.
* patch 7.4.1979v7.4.1979Bram Moolenaar2016-07-011-1/+1
| | | | | Problem: Getting value of binary option is wrong. (Kent Sibilev) Solution: Fix type cast. Add a test.
* patch 7.4.1976v7.4.1976Bram Moolenaar2016-07-011-2/+2
| | | | | Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)