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
Bram Moolenaar
c3ffc9b8d3
patch 8.1.0066: nasty autocommand causes using freed memory
...
Problem: Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution: Do not force executing autocommands if the value of 'syntax' or
'filetype' did not change.
2018-06-17 17:32:58 +02:00
Bram Moolenaar
84a9308511
patch 8.1.0061: window title is wrong after resetting and setting 'title'
...
Problem: Window title is wrong after resetting and setting 'title'.
Solution: Move resetting the title into maketitle(). (Jason Franklin)
2018-06-16 22:58:15 +02:00
Bram Moolenaar
1c3c10492a
patch 8.1.0046: loading a session file fails if 'winheight' is big
...
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes #2970 )
2018-06-12 16:49:30 +02:00
Bram Moolenaar
6b810d92a9
patch 8.1.0032: BS in prompt buffer starts new line
...
Problem: BS in prompt buffer starts new line.
Solution: Do not allows BS over the prompt. Make term_sendkeys() handle
special keys. Add a test.
2018-06-04 17:28:44 +02:00
Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
b833c1ef7b
patch 8.0.1794: duplicate term options after renaming
...
Problem: Duplicate term options after renaming.
Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
2018-05-05 16:36:06 +02:00
Bram Moolenaar
c5cd88554f
patch 8.0.1783: cannot use 256 colors in a MS-Windows console
...
Problem: Cannot use 256 colors in a MS-Windows console.
Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821 )
2018-05-01 15:47:38 +02:00
Bram Moolenaar
451fc7b954
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
...
Problem: SET_NO_HLSEARCH() used in a wrong way.
Solution: Make it a function. (suggested by Dominique Pelle,
closes #2850 )
2018-04-27 22:53:07 +02:00
Bram Moolenaar
09d1d51df5
patch 8.0.1759: memory leak from duplicate options
...
Problem: Memory leak from duplicate options. (Yegappan Lakshmanan)
Solution: Don't set the default value twice.
2018-04-24 20:23:56 +02:00
Bram Moolenaar
6d150f783d
patch 8.0.1743: terminal window options are named inconsistently
...
Problem: Terminal window options are named inconsistently.
Solution: prefix terminal window options with "termwin". Keep the old names
for now as an alias.
2018-04-21 20:03:20 +02:00
Bram Moolenaar
498c2562e1
patch 8.0.1722: cannot specify a minimal size for a terminal window
...
Problem: Cannot specify a minimal size for a terminal window.
Solution: Support the "rows*cols" format for 'winsize'.
2018-04-15 23:45:15 +02:00
Bram Moolenaar
8c041b6b95
patch 8.0.1712: terminal scrollback is not limited
...
Problem: Terminal scrollback is not limited.
Solution: Add the 'terminalscroll' option.
2018-04-14 18:14:06 +02:00
Bram Moolenaar
b8e22a053b
patch 8.0.1704: 'backupskip' default doesn't work for Mac
...
Problem: 'backupskip' default doesn't work for Mac.
Solution: Use "/private/tmp". (Rainer Müller, closes #2793 )
2018-04-12 21:37:34 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
Problem: Some macros are used without a semicolon, causing auto-indent to be
wrong.
Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729 )
2018-04-10 18:47:20 +02:00
Bram Moolenaar
4d8bac8bf5
patch 8.0.1592: terminal windows in a session are not properly restored
...
Problem: Terminal windows in a session are not properly restored.
Solution: Add "terminal" in 'sessionoptions'. When possible restore the
command running in a terminal.
2018-03-09 21:33:34 +01:00