Bram Moolenaar
8f130eda47
patch 8.1.1143: may pass weird strings to file name expansion
...
Problem: May pass weird strings to file name expansion.
Solution: Check for matching characters. Disallow control characters.
2019-04-10 22:15:19 +02:00
Bram Moolenaar
558ca4ae55
patch 8.1.1116: cannot enforce a Vim script style
...
Problem: Cannot enforce a Vim script style.
Solution: Add the :scriptversion command. (closes #3857 )
2019-04-04 18:15:38 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
82b033eff8
patch 8.1.1046: the "secure" variable is used inconsistently
...
Problem: the "secure" variable is used inconsistently. (Justin M. Keyes)
Solution: Set it to one instead of incrementing.
2019-03-24 14:02:04 +01:00
Bram Moolenaar
2c519cf3bf
patch 8.1.1032: warnings from clang static analyzer
...
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
2019-03-21 21:45:34 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
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 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
55c77cf2ea
patch 8.1.0936: may leak memory when using 'vartabstop'
...
Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu)
Solution: Fix handling allocated memory for 'vartabstop'. (closes #3976 )
2019-02-16 19:05:11 +01:00
Bram Moolenaar
14184a3133
patch 8.1.0932: Farsi support is outdated and unused
...
Problem: Farsi support is outdated and unused.
Solution: Delete the Farsi support.
2019-02-16 15:10:30 +01:00
Bram Moolenaar
c6ddce3f2c
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
...
Problem: MS-Windows: inconsistent selection of winpty/conpty.
Solution: Name option 'termwintype', use ++type argument and "term_pty" for
term_start(). (Hirohito Higashi, closes #3915 )
2019-02-08 12:47:03 +01:00
Bram Moolenaar
aa5df7e312
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
...
Problem: Vim doesn't use the new ConPTY support in Windows 10.
Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794 )
2019-02-03 14:53:10 +01:00
Bram Moolenaar
375e339007
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
...
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539 )
2019-01-31 18:26:10 +01:00
Bram Moolenaar
ce655743ba
patch 8.1.0858: 'indentkeys' and 'cinkeys' defaults are different
...
Problem: 'indentkeys' and 'cinkeys' defaults are different.
Solution: Make them the same, update docs. (close #3882 )
2019-01-31 14:12:57 +01:00
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
ed18f2c03a
patch 8.1.0814: :mksession cannot handle a very long 'runtimepath'
...
Problem: :mksession cannot handle a very long 'runtimepath'. (Timothy
Madden)
Solution: Expand each part separately, instead of the whole option at once.
(Christian Brabandt, closes #3466 )
2019-01-24 20:30:52 +01:00
Bram Moolenaar
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
83a52171ba
patch 8.1.0759: showing two characters for tab is limited
...
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes #3810 )
2019-01-16 22:41:54 +01:00
Bram Moolenaar
177ab9e026
patch 8.1.0754: preferred column is lost when setting 'cursorcolumn'
...
Problem: Preferred column is lost when setting 'cursorcolumn'.
Solution: Change option flag to P_RWINONLY. (Takayuki Kurosawa,
closes #3806 )
2019-01-15 21:12:57 +01:00
Bram Moolenaar
b1443b480f
patch 8.1.0744: compiler warnings for signed/unsigned strings
...
Problem: Compiler warnings for signed/unsigned strings.
Solution: A few more type cast fixes.
2019-01-13 23:51:14 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
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.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
48f377a476
patch 8.1.0613: when executing an insecure function the secure flag is stuck
...
Problem: When executing an insecure function the secure flag is stuck.
(Gabriel Barta)
Solution: Restore "secure" instead of decrementing it. (closes #3705 )
2018-12-21 13:03:28 +01:00
Bram Moolenaar
a86187b9cd
patch 8.1.0606: 'cryptmethod' defaults to a very old method
...
Problem: 'cryptmethod' defaults to a very old method.
Solution: Default to "blowfish2", it is now widely available.
2018-12-16 18:20:00 +01:00
Bram Moolenaar
916a818cea
patch 8.1.0544: setting 'filetype' in a modeline causes an error
...
Problem: Setting 'filetype' in a modeline causes an error (Hirohito
Higashi).
Solution: Don't add the P_INSECURE flag when setting 'filetype' from a
modeline. Also for 'syntax'.
2018-11-25 02:18:29 +01:00
Bram Moolenaar
f951416a83
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account
...
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
2018-11-22 03:08:29 +01:00
Bram Moolenaar
247bb7e43b
patch 8.1.0540: may evaluate insecure value when appending to option
...
Problem: May evaluate insecure value when appending to option.
Solution: Set the secure flag when changing an option that was previously
set insecurely. Also allow numbers for the characters from
'spelllang' that are used for LANG.vim.
2018-11-20 14:27:07 +01:00
Bram Moolenaar
82e8c92ebe
patch 8.1.0539: cannot build without the sandbox
...
Problem: Cannot build without the sandbox.
Solution: Set the secure option instead of using the sandbox. Also restrict
the characters from 'spelllang' that are used for LANG.vim.
(suggested by Yasuhiro Matsumoto)
2018-11-20 13:32:36 +01:00
Bram Moolenaar
ded5f1bed7
patch 8.1.0515: reloading a script gives errors for existing functions
...
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
2018-11-10 17:33:29 +01:00
Bram Moolenaar
dcd71cbaed
patch 8.1.0510: filter test fails when $LANG is C.UTF-8
...
Problem: Filter test fails when $LANG is C.UTF-8.
Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt,
closes #3577 )
2018-11-04 14:40:47 +01:00
Bram Moolenaar
f86db78fed
patch 8.1.0495: :filter only supports some commands
...
Problem: :filter only supports some commands.
Solution: Add :filter support for more commands. (Marcin Szamotulski,
closes #2856 )
2018-10-25 13:31:37 +02:00
Bram Moolenaar
64f410742f
patch 8.1.0479: failure when setting 'varsofttabstop' to end in a comma
...
Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf
Schandl)
Solution: Reject value with trailing command. Add test for invalid values
(closes #3544 )
2018-10-15 22:51:50 +02:00
Bram Moolenaar
35bc7d6c52
patch 8.1.0445: setting 'term' does not store location for termcap options
...
Problem: Setting 'term' does not store location for termcap options.
Solution: Set the script context for termcap options that are changed when
'term' is set.
2018-10-02 14:45:10 +02:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
8c63e0ec31
patch 8.1.0435: cursorline highlight not removed in some situation
...
Problem: Cursorline highlight not removed in some situation. (Vitaly
Yashin)
Solution: Reset last_cursorline when resetting 'cursorline'. (Christian
Brabandt, closes #3481 )
2018-09-25 22:17:54 +02:00
Bram Moolenaar
d4f73438bb
patch 8.1.0415: not actually using 16 colors with vtp
...
Problem: Not actually using 16 colors with vtp.
Solution: Always use 256 colors when vtp is used. (Nobuhiro Takasaki,
closes #3432 )
2018-09-21 12:24:12 +02:00
Bram Moolenaar
3f3fb0b147
patch 8.1.0414: v:option_old is cleared when using :set in OptionSet autocmd
...
Problem: v:option_old and v:option_new are cleared when using :set in
OptionSet autocmd. (Gary Johnson)
Solution: Don't trigger OptionSet recursively.
2018-09-21 11:59:32 +02:00
Bram Moolenaar
fe8ef98dd1
patch 8.1.0386: cannot test with non-default option value
...
Problem: Cannot test with non-default option value.
Solution: Add test_option_not_set().
2018-09-13 20:31:54 +02:00
Bram Moolenaar
c93262b2e3
patch 8.1.0363: internal diff isn't used by default as advertised
...
Problem: Internal diff isn't used by default as advertised.
Solution: Add "internal" to the default value of 'diffopt'.
Also add couple of files missing from the distribution.
2018-09-10 21:15:40 +02:00
Bram Moolenaar
f29c1c6aa3
patch 8.1.0362: cannot get the script line number when executing a function
...
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".
2018-09-10 21:05:02 +02:00
Bram Moolenaar
40385dbcdf
patch 8.1.0253: saving and restoring window title does not always work
...
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059 )
2018-08-07 22:31:44 +02:00
Bram Moolenaar
9cf4b5005f
patch 8.1.0205: invalid memory access with invalid modeline
...
Problem: Invalid memory access with invalid modeline.
Solution: Pass pointer limit. Add a test. (closes #3241 )
2018-07-23 04:12:03 +02:00
Bram Moolenaar
c229e54a69
patch 8.1.0172: 'viminfofile' option does not behave like a file name
...
Problem: 'viminfofile' option does not behave like a file name.
Solution: Add the P_EXPAND flag. (closes #3178 )
2018-07-08 21:46:56 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
33d5ab3795
patch 8.1.0138: negative value of 'softtabstop' not used correctly
...
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
2018-07-02 20:51:24 +02:00
Bram Moolenaar
307ac5c68e
patch 8.1.0126: various problems with 'vartabstop'
...
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes #3076 )
2018-06-28 22:23:00 +02:00
Bram Moolenaar
b0eb14f939
patch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc'
...
Problem: MS-Windows: colors are wrong after setting 'notgc'.
Solution: Only call control_console_color_rgb() for the win32 terminal.
(Nobuhiro Takasaki, closes #3107 )
2018-06-28 15:29:52 +02:00
Bram Moolenaar
0119a59ffd
patch 8.1.0114: confusing variable name
...
Problem: Confusing variable name.
Solution: Rename new_ts to new_vts_array. Change zero to NULL.
2018-06-24 23:53:28 +02:00
Bram Moolenaar
defe6424ae
patch 8.1.0107: Python: getting buffer option clears message
...
Problem: Python: getting buffer option clears message. (Jacob Niehus)
Solution: Don't use aucmd_prepbuf(). (closes #3079 )
2018-06-24 15:14:07 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
a5616b0136
patch 8.1.0067: syntax highlighting not working when re-entering a buffer
...
Problem: Syntax highlighting not working when re-entering a buffer.
Solution: Do force executing autocommands when not called recursively.
2018-06-17 19:08:30 +02:00