]> granicus.if.org Git - vim/log
vim
6 years agopatch 8.1.0085: no test for completing user name and language v8.1.0085
Bram Moolenaar [Tue, 19 Jun 2018 17:09:09 +0000 (19:09 +0200)]
patch 8.1.0085: no test for completing user name and language

Problem:    No test for completing user name and language.
Solution:   Add tests. (Dominique Pelle, closes #2978)

6 years agopatch 8.1.0084: user name completion does not work on MS-Windows v8.1.0084
Bram Moolenaar [Tue, 19 Jun 2018 16:58:07 +0000 (18:58 +0200)]
patch 8.1.0084: user name completion does not work on MS-Windows

Problem:    User name completion does not work on MS-Windows.
Solution:   Use NetUserEnum() to get user names. (Yasuhiro Matsumoto)

6 years agopatch 8.1.0083: "is" and "as" have trouble with quoted punctuation v8.1.0083
Bram Moolenaar [Tue, 19 Jun 2018 16:27:41 +0000 (18:27 +0200)]
patch 8.1.0083: "is" and "as" have trouble with quoted punctuation

Problem:    "is" and "as" have trouble with quoted punctuation.
Solution:   Check for punctuation before a quote. (Jason Franklin)

6 years agopatch 8.1.0082: in terminal window, typing : at more prompt, inserts ':' v8.1.0082
Bram Moolenaar [Tue, 19 Jun 2018 15:49:24 +0000 (17:49 +0200)]
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'

Problem:    In terminal window, typing : at more prompt, inserts ':' instead
            of starting another Ex command.
Solution:   Add skip_term_loop and set it when putting ':' in the typeahead
            buffer.

6 years agopatch 8.1.0081: the terminal debugger doesn't adjust to changed 'background' v8.1.0081
Bram Moolenaar [Tue, 19 Jun 2018 15:27:53 +0000 (17:27 +0200)]
patch 8.1.0081: the terminal debugger doesn't adjust to changed 'background'

Problem:    The terminal debugger doesn't adjust to changed 'background'.
Solution:   Add an OptionSet autocommand. (Christian Brabandt)

6 years agopatch 8.1.0080: can't see the breakpoint number in the terminal debugger v8.1.0080
Bram Moolenaar [Tue, 19 Jun 2018 14:59:54 +0000 (16:59 +0200)]
patch 8.1.0080: can't see the breakpoint number in the terminal debugger

Problem:    Can't see the breakpoint number in the terminal debugger.
Solution:   Use the breakpoint number for the sign. (Christian Brabandt)

6 years agopatch 8.1.0079: superfluous space in messages v8.1.0079
Bram Moolenaar [Tue, 19 Jun 2018 12:45:37 +0000 (14:45 +0200)]
patch 8.1.0079: superfluous space in messages

Problem:    Superfluous space in messages.
Solution:   Remove the spaces. (closes #3030)

6 years agoUpdate runtime files.
Bram Moolenaar [Tue, 19 Jun 2018 12:35:59 +0000 (14:35 +0200)]
Update runtime files.

6 years agopatch 8.1.0078: "..." used inconsistently in messages v8.1.0078
Bram Moolenaar [Tue, 19 Jun 2018 12:23:53 +0000 (14:23 +0200)]
patch 8.1.0078: "..." used inconsistently in messages

Problem:    "..." used inconsistently in messages.
Solution:   Drop the space before " ...".

6 years agopatch 8.1.0077: header of README file is not nice v8.1.0077
Bram Moolenaar [Mon, 18 Jun 2018 20:31:11 +0000 (22:31 +0200)]
patch 8.1.0077: header of README file is not nice

Problem:    Header of README file is not nice.
Solution:   Move text to the bottom.

6 years agopatch 8.1.0076: command getting cleared with CTRL-W : in a terminal window v8.1.0076
Bram Moolenaar [Mon, 18 Jun 2018 20:15:50 +0000 (22:15 +0200)]
patch 8.1.0076: command getting cleared with CTRL-W : in a terminal window

Problem:    Command getting cleared with CTRL-W : in a terminal window. (Jason
            Franklin)
Solution:   Call redraw_after_callback() when editing the command line.

6 years agopatch 8.1.0075: no Vim logo in README file v8.1.0075
Bram Moolenaar [Mon, 18 Jun 2018 20:00:22 +0000 (22:00 +0200)]
patch 8.1.0075: no Vim logo in README file

Problem:    No Vim logo in README file.
Solution:   Add one. (Árni Dagur, closes #3024)

6 years agopatch 8.1.0074: crash when running quickfix tests v8.1.0074
Bram Moolenaar [Mon, 18 Jun 2018 19:53:28 +0000 (21:53 +0200)]
patch 8.1.0074: crash when running quickfix tests

Problem:    Crash when running quickfix tests.
Solution:   Do not alloc a new location list when checking for the reference
            to be still valid.

6 years agopatch 8.1.0073: crash when autocommands call setloclist() v8.1.0073
Bram Moolenaar [Mon, 18 Jun 2018 18:52:13 +0000 (20:52 +0200)]
patch 8.1.0073: crash when autocommands call setloclist()

Problem:    Crash when autocommands call setloclist(). (Dominique Pelle)
Solution:   If the quickfix list changes then don't jump to the error.

6 years agopatch 8.1.0072: use of 'termwinkey' is inconsistent v8.1.0072
Bram Moolenaar [Sun, 17 Jun 2018 20:19:12 +0000 (22:19 +0200)]
patch 8.1.0072: use of 'termwinkey' is inconsistent

Problem:    Use of 'termwinkey' is inconsistent.
Solution:   Change the documentation and the behavior. (Ken Takata)

6 years agopatch 8.1.0071: terminal debugger only works with the terminal feature v8.1.0071
Bram Moolenaar [Sun, 17 Jun 2018 19:34:11 +0000 (21:34 +0200)]
patch 8.1.0071: terminal debugger only works with the terminal feature

Problem:    Terminal debugger only works with the terminal feature.
Solution:   Make it also work with a prompt buffer.  Makes it possible to use
            on MS-Windows. Various other improvements. (closes #3012)

6 years agopatch 8.1.0070: missing part of the changes for prompt_setinterrupt() v8.1.0070
Bram Moolenaar [Sun, 17 Jun 2018 18:10:39 +0000 (20:10 +0200)]
patch 8.1.0070: missing part of the changes for prompt_setinterrupt()

Problem:    Missing part of the changes for prompt_setinterrupt().
Solution:   Add the missing changes.

6 years agopatch 8.1.0069: cannot handle pressing CTRL-C in a prompt buffer v8.1.0069
Bram Moolenaar [Sun, 17 Jun 2018 17:36:33 +0000 (19:36 +0200)]
patch 8.1.0069: cannot handle pressing CTRL-C in a prompt buffer

Problem:    Cannot handle pressing CTRL-C in a prompt buffer.
Solution:   Add prompt_setinterrupt().

6 years agopatch 8.1.0068: nasty autocommands can still cause using freed memory v8.1.0068
Bram Moolenaar [Sun, 17 Jun 2018 17:22:52 +0000 (19:22 +0200)]
patch 8.1.0068: nasty autocommands can still cause using freed memory

Problem:    Nasty autocommands can still cause using freed memory.
Solution:   Disallow using setloclist() and setqflist() recursively.

6 years agopatch 8.1.0067: syntax highlighting not working when re-entering a buffer v8.1.0067
Bram Moolenaar [Sun, 17 Jun 2018 17:08:30 +0000 (19:08 +0200)]
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.

6 years agopatch 8.1.0066: nasty autocommand causes using freed memory v8.1.0066
Bram Moolenaar [Sun, 17 Jun 2018 15:32:58 +0000 (17:32 +0200)]
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.

6 years agopatch 8.1.0065: balloon displayed at the wrong position v8.1.0065
Bram Moolenaar [Sun, 17 Jun 2018 15:10:59 +0000 (17:10 +0200)]
patch 8.1.0065: balloon displayed at the wrong position

Problem:    Balloon displayed at the wrong position.
Solution:   Do not reposition the popup menu at the cursor position.

6 years agopatch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --" v8.1.0064
Bram Moolenaar [Sun, 17 Jun 2018 14:23:34 +0000 (16:23 +0200)]
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"

Problem:    Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution:   Set restart_edit to 'A' and check for it.

6 years agopatch 8.1.0063: Mac: NSStringPboardType is deprecated v8.1.0063
Bram Moolenaar [Sun, 17 Jun 2018 13:01:04 +0000 (15:01 +0200)]
patch 8.1.0063: Mac: NSStringPboardType is deprecated

Problem:    Mac: NSStringPboardType is deprecated.
Solution:   Use NSPasteboardTypeString. (Akshay Hegde, closes #3022)

6 years agopatch 8.1.0062: popup menu broken if a callback changes the window layout v8.1.0062
Bram Moolenaar [Sun, 17 Jun 2018 12:47:55 +0000 (14:47 +0200)]
patch 8.1.0062: popup menu broken if a callback changes the window layout

Problem:    Popup menu broken if a callback changes the window layout. (Qiming
            Zhao)
Solution:   Recompute the popup menu position if needed.  Redraw the ruler
            even when the popup menu is displayed.

6 years agopatch 8.1.0061: window title is wrong after resetting and setting 'title' v8.1.0061
Bram Moolenaar [Sat, 16 Jun 2018 20:58:15 +0000 (22:58 +0200)]
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)

6 years agopatch 8.1.0060: crash when autocommands delete the current buffer v8.1.0060
Bram Moolenaar [Sat, 16 Jun 2018 20:16:47 +0000 (22:16 +0200)]
patch 8.1.0060: crash when autocommands delete the current buffer

Problem:    Crash when autocommands delete the current buffer. (Dominique
            Pelle)
Solution:   Check that autocommands don't change the buffer.

6 years agopatch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251" v8.1.0059
Bram Moolenaar [Sat, 16 Jun 2018 15:25:22 +0000 (17:25 +0200)]
patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"

Problem:    Displayed digraph for "ga" wrong with 'encoding' "cp1251".
Solution:   Convert from 'encoding' to "utf-8" if needed. (closes #3015)

6 years agopatch 8.1.0058: display problem with margins and scrolling v8.1.0058
Bram Moolenaar [Sat, 16 Jun 2018 14:20:52 +0000 (16:20 +0200)]
patch 8.1.0058: display problem with margins and scrolling

Problem:    Display problem with margins and scrolling.
Solution:   Place the cursor in the right column. (Kouichi Iwamoto,
            closes #3016)

6 years agopatch 8.1.0057: popup menu displayed wrong when using autocmd v8.1.0057
Bram Moolenaar [Sat, 16 Jun 2018 13:32:38 +0000 (15:32 +0200)]
patch 8.1.0057: popup menu displayed wrong when using autocmd

Problem:    Popup menu displayed wrong when using autocmd.
Solution:   Use aucmd_prepbuf().  Force updating status line if the popup menu
            is going to be redrawn anyway. (Christian Brabandt, closes #3009)

6 years agopatch 8.1.0056: crash when using :hardcopy with illegal byte v8.1.0056
Bram Moolenaar [Sat, 16 Jun 2018 12:44:11 +0000 (14:44 +0200)]
patch 8.1.0056: crash when using :hardcopy with illegal byte

Problem:    Crash when using :hardcopy with illegal byte.
Solution:   Check for string_convert() returning NULL. (Dominique Pelle)

6 years agopatch 8.1.0055: complete test has wrong order of arguments v8.1.0055
Bram Moolenaar [Wed, 13 Jun 2018 19:27:24 +0000 (21:27 +0200)]
patch 8.1.0055: complete test has wrong order of arguments

Problem:    Complete test has wrong order of arguments. Wrong type for
            sentinel variable.
Solution:   Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)

6 years agopatch 8.1.0054: compiler warning for using %ld for "long long" v8.1.0054
Bram Moolenaar [Wed, 13 Jun 2018 18:49:50 +0000 (20:49 +0200)]
patch 8.1.0054: compiler warning for using %ld for "long long"

Problem:    Compiler warning for using %ld for "long long".
Solution:   Add a type cast. (closes #3002)

6 years agopatch 8.1.0053: first argument of 'completefunc' has inconsistent type v8.1.0053
Bram Moolenaar [Tue, 12 Jun 2018 20:05:14 +0000 (22:05 +0200)]
patch 8.1.0053: first argument of 'completefunc' has inconsistent type

Problem:    The first argument given to 'completefunc' can be Number or
            String, depending on the value.
Solution:   Avoid guessing the type of an argument, use typval_T in the
            callers of call_vim_function(). (Ozaki Kiichi, closes #2993)

6 years agopatch 8.1.0052: when mapping to <Nop> times out the next mapping is skipped v8.1.0052
Bram Moolenaar [Tue, 12 Jun 2018 19:35:40 +0000 (21:35 +0200)]
patch 8.1.0052: when mapping to <Nop> times out the next mapping is skipped

Problem:    When a mapping to <Nop> times out the next mapping is skipped.
Solution:   Reset "timedout" when waiting for a character. (Christian
            Brabandt, closes #2921)

6 years agopatch 8.1.0051: MS-Windows: missing #endif v8.1.0051
Bram Moolenaar [Tue, 12 Jun 2018 19:11:12 +0000 (21:11 +0200)]
patch 8.1.0051: MS-Windows: missing #endif

Problem:    MS-Windows: missing #endif.
Solution:   Add the #endif.

6 years agopatch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window v8.1.0050
Bram Moolenaar [Tue, 12 Jun 2018 18:25:52 +0000 (20:25 +0200)]
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window

Problem:    $VIM_TERMINAL is also set when not in a terminal window.
Solution:   Pass a flag to indicate whether the job runs in a terminal.

6 years agopatch 8.1.0049: shell cannot tell running in a terminal window v8.1.0049
Bram Moolenaar [Tue, 12 Jun 2018 16:05:24 +0000 (18:05 +0200)]
patch 8.1.0049: shell cannot tell running in a terminal window

Problem:    Shell cannot tell running in a terminal window.
Solution:   Add the VIM_TERMINAL environment variable. (Christian Brabandt)

6 years agopatch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum v8.1.0048
Bram Moolenaar [Tue, 12 Jun 2018 15:25:36 +0000 (17:25 +0200)]
patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum

Problem:    vim_str2nr() does not handle numbers close to the maximum.
Solution:   Check for overflow more precisely. (Ken Takata, closes #2746)

6 years agopatch 8.1.0047: no completion for :unlet $VAR v8.1.0047
Bram Moolenaar [Tue, 12 Jun 2018 15:03:39 +0000 (17:03 +0200)]
patch 8.1.0047: no completion for :unlet $VAR

Problem:    No completion for :unlet $VAR.
Solution:   Add completion. (Jason Franklin)

6 years agopatch 8.1.0046: loading a session file fails if 'winheight' is big v8.1.0046
Bram Moolenaar [Tue, 12 Jun 2018 14:49:30 +0000 (16:49 +0200)]
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)

6 years agopatch 8.1.0045: popup test isn't run completely v8.1.0045
Bram Moolenaar [Tue, 12 Jun 2018 13:22:43 +0000 (15:22 +0200)]
patch 8.1.0045: popup test isn't run completely

Problem:    Popup test isn't run completely.
Solution:   Remove "finish".  Clean up function definitions.

6 years agopatch 8.1.0044: if a test function exists Vim this may go unnoticed v8.1.0044
Bram Moolenaar [Tue, 12 Jun 2018 12:58:39 +0000 (14:58 +0200)]
patch 8.1.0044: if a test function exists Vim this may go unnoticed

Problem:    If a test function exists Vim this may go unnoticed.
Solution:   Check for a test funtion quitting Vim.  Fix tests that did exit
            Vim.

6 years agopatch 8.1.0043: ++bad argument of :edit does not work properly v8.1.0043
Bram Moolenaar [Tue, 12 Jun 2018 10:39:41 +0000 (12:39 +0200)]
patch 8.1.0043: ++bad argument of :edit does not work properly

Problem:    ++bad argument of :edit does not work properly.
Solution:   Return FAIL from get_bad_opt() only when there is no valid
            argument. (Dominique Pelle, Christian Brabandt, closes #2966,
            closes #2947)

6 years agopatch 8.1.0042: if omni completion opens a window Insert mode is stopped v8.1.0042
Bram Moolenaar [Sun, 10 Jun 2018 12:39:52 +0000 (14:39 +0200)]
patch 8.1.0042: if omni completion opens a window Insert mode is stopped

Problem:    If omni completion opens a window Insert mode is stopped.
            (Hirohito Higashi)
Solution:   Only set stop_insert_mode in a prompt buffer window.

6 years agopatch 8.1.0041: attribute "width" missing from python window attribute list v8.1.0041
Bram Moolenaar [Sun, 10 Jun 2018 11:55:55 +0000 (13:55 +0200)]
patch 8.1.0041: attribute "width" missing from python window attribute list

Problem:    Attribute "width" missing from python window attribute list.
Solution:   Add the item. (Ken Takata) Order the list like the items are used
            in the WindowAttr() function.

6 years agopatch 8.1.0040: warnings from 64-bit compiler v8.1.0040
Bram Moolenaar [Sun, 10 Jun 2018 11:12:55 +0000 (13:12 +0200)]
patch 8.1.0040: warnings from 64-bit compiler

Problem:    Warnings from 64-bit compiler.
Solution:   Add type casts. (Mike Williams)

6 years agopatch 8.1.0039: cannot easily delete lines in another buffer v8.1.0039
Bram Moolenaar [Thu, 7 Jun 2018 16:17:46 +0000 (18:17 +0200)]
patch 8.1.0039: cannot easily delete lines in another buffer

Problem:    Cannot easily delete lines in another buffer.
Solution:   Add deletebufline().

6 years agopatch 8.1.0038: popup test causes Vim to exit v8.1.0038
Bram Moolenaar [Thu, 7 Jun 2018 13:18:41 +0000 (15:18 +0200)]
patch 8.1.0038: popup test causes Vim to exit

Problem:    Popup test causes Vim to exit.
Solution:   Disable the broken part of the test for now.

6 years agopatch 8.1.0037: cannot easily append lines to another buffer v8.1.0037
Bram Moolenaar [Wed, 6 Jun 2018 19:04:07 +0000 (21:04 +0200)]
patch 8.1.0037: cannot easily append lines to another buffer

Problem:    Cannot easily append lines to another buffer.
Solution:   Add appendbufline().

6 years agopatch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse v8.1.0036
Bram Moolenaar [Wed, 6 Jun 2018 16:02:39 +0000 (18:02 +0200)]
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse

Problem:    Not restoring Insert mode if leaving a prompt buffer by using a
            mouse click.
Solution:   Set b_prompt_insert appropriately. Also correct cursor position
            when moving cursor to last line.

6 years agopatch 8.1.0035: not easy to switch between prompt buffer and other windows v8.1.0035
Bram Moolenaar [Wed, 6 Jun 2018 07:11:12 +0000 (09:11 +0200)]
patch 8.1.0035: not easy to switch between prompt buffer and other windows

Problem:    Not easy to switch between prompt buffer and other windows.
Solution:   Accept CTRL-W commands in Insert mode.  Start and stop Insert mode
            as one would expect.

6 years agopatch 8.1.0034: cursor not restored with ":edit #" v8.1.0034
Bram Moolenaar [Mon, 4 Jun 2018 18:34:23 +0000 (20:34 +0200)]
patch 8.1.0034: cursor not restored with ":edit #"

Problem:    Cursor not restored with ":edit #".
Solution:   Don't assume autocommands moved the cursor when it was moved to
            the first non-blank.

6 years agopatch 8.1.0033: keys to stop Vim in terminal are wrong v8.1.0033
Bram Moolenaar [Mon, 4 Jun 2018 17:11:11 +0000 (19:11 +0200)]
patch 8.1.0033: keys to stop Vim in terminal are wrong

Problem:    Keys to stop Vim in terminal are wrong. (Marius Gedminas)
Solution:   Move ":" to before CTRL-U.

6 years agopatch 8.1.0032: BS in prompt buffer starts new line v8.1.0032
Bram Moolenaar [Mon, 4 Jun 2018 15:28:44 +0000 (17:28 +0200)]
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.

6 years agopatch 8.1.0031: terminal test aucmd_on_close if flaky v8.1.0031
Bram Moolenaar [Sun, 3 Jun 2018 16:22:02 +0000 (18:22 +0200)]
patch 8.1.0031: terminal test aucmd_on_close if flaky

Problem:    Terminal test aucmd_on_close if flaky.
Solution:   Wait a bit longer.

6 years agopatch 8.1.0030: stoping Vim running in a terminal may not work v8.1.0030
Bram Moolenaar [Sun, 3 Jun 2018 15:10:40 +0000 (17:10 +0200)]
patch 8.1.0030: stoping Vim running in a terminal may not work

Problem:    Stoping Vim running in a terminal may not work.
Solution:   Instead of sending <Esc> send CTRL-O.

6 years agopatch 8.1.0029: terminal test fails on MS-Windows when "wc" exists v8.1.0029
Bram Moolenaar [Sun, 3 Jun 2018 13:26:36 +0000 (15:26 +0200)]
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists

Problem:    Terminal test fails on MS-Windows when "wc" exists.
Solution:   Skip test with redirection on MS-Windows.

6 years agopatch 8.1.0028: prompt buffer test fails on MS-Windows v8.1.0028
Bram Moolenaar [Sun, 3 Jun 2018 13:08:09 +0000 (15:08 +0200)]
patch 8.1.0028: prompt buffer test fails on MS-Windows

Problem:    Prompt buffer test fails on MS-Windows.
Solution:   Disable the test for now. Remove stray assert.

6 years agopatch 8.1.0027: difficult to make a plugin that feeds a line to a job v8.1.0027
Bram Moolenaar [Sun, 3 Jun 2018 12:47:35 +0000 (14:47 +0200)]
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.

6 years agopatch 8.1.0026: terminal test fails with very tall terminal v8.1.0026
Bram Moolenaar [Sat, 26 May 2018 16:58:51 +0000 (18:58 +0200)]
patch 8.1.0026: terminal test fails with very tall terminal

Problem:    Terminal test fails with very tall terminal. (Tom)
Solution:   Fix the terminal window size in the test.

6 years agopatch 8.1.0025: no test for the undofile() function v8.1.0025
Bram Moolenaar [Sat, 26 May 2018 16:46:30 +0000 (18:46 +0200)]
patch 8.1.0025: no test for the undofile() function

Problem:    No test for the undofile() function.
Solution:   Add test. (Dominique Pelle, closes #2958)

6 years agopatch 8.1.0024: % command not testded on #ifdef and comment v8.1.0024
Bram Moolenaar [Sat, 26 May 2018 16:39:32 +0000 (18:39 +0200)]
patch 8.1.0024: % command not testded on #ifdef and comment

Problem:    % command not testded on #ifdef and comment.
Solution:   Add tests. (Dominique Pelle, closes #2956)

6 years agopatch 8.1.0023: gcc 8.1 warns for use of strncpy() v8.1.0023
Bram Moolenaar [Sat, 26 May 2018 15:35:27 +0000 (17:35 +0200)]
patch 8.1.0023: gcc 8.1 warns for use of strncpy()

Problem:    gcc 8.1 warns for use of strncpy(). (John Marriott)
Solution:   Use mch_memmove() instead of STRNCPY().

6 years agopatch 8.1.0022: repeating put from expression register fails v8.1.0022
Bram Moolenaar [Wed, 23 May 2018 19:53:52 +0000 (21:53 +0200)]
patch 8.1.0022: repeating put from expression register fails

Problem:    Repeating put from expression register fails.
Solution:   Re-evaluate the expression register. (Andy Massimino,
            closes #2945)

6 years agopatch 8.1.0021: clang warns for undefined behavior v8.1.0021
Bram Moolenaar [Wed, 23 May 2018 18:30:56 +0000 (20:30 +0200)]
patch 8.1.0021: clang warns for undefined behavior

Problem:    Clang warns for undefined behavior.
Solution:   Move #ifdef outside of sprintf() call.(suggestion by Michael
            Jarvis, closes #2956)

6 years agoUpdate runtime files.
Bram Moolenaar [Tue, 22 May 2018 19:41:30 +0000 (21:41 +0200)]
Update runtime files.

6 years agopatch 8.1.0020: cannot tell whether a register is executing or recording v8.1.0020
Bram Moolenaar [Tue, 22 May 2018 18:35:17 +0000 (20:35 +0200)]
patch 8.1.0020: cannot tell whether a register is executing or recording

Problem:    Cannot tell whether a register is being used for executing or
            recording.
Solution:   Add reg_executing() and reg_recording(). (Hirohito Higashi,
            closes #2745)  Rename the global variables for consistency.  Store
            the register name in reg_executing.

6 years agopatch 8.1.0019: error when defining a Lambda with index of a function result v8.1.0019
Bram Moolenaar [Tue, 22 May 2018 16:31:35 +0000 (18:31 +0200)]
patch 8.1.0019: error when defining a Lambda with index of a function result

Problem:    Error when defining a Lambda with index of a function result.
Solution:   When not evaluating an expression and skipping a function call,
            set the return value to VAR_UNKNOWN.

6 years agopatch 8.1.0018: using "gn" may select wrong text when wrapping v8.1.0018
Bram Moolenaar [Tue, 22 May 2018 15:50:42 +0000 (17:50 +0200)]
patch 8.1.0018: using "gn" may select wrong text when wrapping

Problem:    Using "gn" may select wrong text when wrapping.
Solution:   Avoid wrapping when searching forward. (Christian Brabandt)

6 years agopatch 8.1.0017: shell command completion has duplicates v8.1.0017
Bram Moolenaar [Tue, 22 May 2018 14:58:47 +0000 (16:58 +0200)]
patch 8.1.0017: shell command completion has duplicates

Problem:    Shell command completion has duplicates. (Yegappan Lakshmanan)
Solution:   Use a hash table to avoid duplicates. (Ozaki Kiichi, closes #539,
            closes #2733)

6 years agopatch 8.1.0016: possible crash in term_wait() v8.1.0016
Bram Moolenaar [Mon, 21 May 2018 20:50:29 +0000 (22:50 +0200)]
patch 8.1.0016: possible crash in term_wait()

Problem:    Possible crash in term_wait(). (Dominique Pelle)
Solution:   Check for a valid buffer after ui_delay(). (closes #2944)

6 years agopatch 8.1.0015: cursor color wrong when closing a terminal window v8.1.0015
Bram Moolenaar [Mon, 21 May 2018 16:48:12 +0000 (18:48 +0200)]
patch 8.1.0015: cursor color wrong when closing a terminal window

Problem:    Cursor color wrong when closing a terminal window, ending up in
            another terminal window. (Dominique Pelle)
Solution:   Bail out of terminal_loop() when the buffer changes.
            (closes #2942)

6 years agopatch 8.1.0014: qf_init_ext() is too long v8.1.0014
Bram Moolenaar [Mon, 21 May 2018 14:56:38 +0000 (16:56 +0200)]
patch 8.1.0014: qf_init_ext() is too long

Problem:    qf_init_ext() is too long.
Solution:   Split it into multiple functions. (Yegappan Lakshmanan,
            closes #2939)

6 years agopatch 8.1.0013: using freed memory when changing terminal cursor color v8.1.0013
Bram Moolenaar [Mon, 21 May 2018 12:55:28 +0000 (14:55 +0200)]
patch 8.1.0013: using freed memory when changing terminal cursor color

Problem:    Using freed memory when changing terminal cursor color.
Solution:   Make a copy of the color. (Dominique Pelle, closes #2938,
            closes #2941)

6 years agopatch 8.1.0012: misplaced #endif v8.1.0012
Bram Moolenaar [Mon, 21 May 2018 11:39:40 +0000 (13:39 +0200)]
patch 8.1.0012: misplaced #endif

Problem:    Misplaced #endif.
Solution:   Move the #endif to after the expression. (David Binderman)

6 years agopatch 8.1.0011: maparg() and mapcheck() confuse empty and non-existing v8.1.0011
Bram Moolenaar [Mon, 21 May 2018 11:28:44 +0000 (13:28 +0200)]
patch 8.1.0011: maparg() and mapcheck() confuse empty and non-existing

Problem:    maparg() and mapcheck() confuse empty and non-existing.
Solution:   Return <Nop> for an existing non-empty mapping. (closes #2940)

6 years agopatch 8.1.0010: efm_to_regpat() is too long v8.1.0010
Bram Moolenaar [Sun, 20 May 2018 13:41:17 +0000 (15:41 +0200)]
patch 8.1.0010: efm_to_regpat() is too long

Problem:    efm_to_regpat() is too long.
Solution:   Split off three functions. (Yegappan Lakshmanan, closes #2924)

6 years agopatch 8.1.0009: tabpages insufficiently tested v8.1.0009
Bram Moolenaar [Sun, 20 May 2018 12:57:22 +0000 (14:57 +0200)]
patch 8.1.0009: tabpages insufficiently tested

Problem:    Tabpages insufficiently tested.
Solution:   Add more test coverage. (Dominique Pelle, closes #2934)

6 years agopatch 8.1.0008: no test for strwidth() v8.1.0008
Bram Moolenaar [Sun, 20 May 2018 12:11:10 +0000 (14:11 +0200)]
patch 8.1.0008: no test for strwidth()

Problem:    No test for strwidth().
Solution:   Add a test. (Dominique Pelle, closes #2931)

6 years agopatch 8.1.0007: no test for "o" and "O" in Visual block mode v8.1.0007
Bram Moolenaar [Sun, 20 May 2018 12:06:38 +0000 (14:06 +0200)]
patch 8.1.0007: no test for "o" and "O" in Visual block mode

Problem:    No test for "o" and "O" in Visual block mode.
Solution:   Add a test. (Dominique Pelle, closes #2932)

6 years agopatch 8.1.0006: syn_id2cterm_bg() may be undefined v8.1.0006
Bram Moolenaar [Sun, 20 May 2018 11:35:44 +0000 (13:35 +0200)]
patch 8.1.0006: syn_id2cterm_bg() may be undefined

Problem:    syn_id2cterm_bg() may be undefined. (Axel Bender)
Solution:   Adjust #ifdef.

6 years agopatch 8.1.0005: test for :compiler command fails on MS-Windows v8.1.0005
Bram Moolenaar [Sat, 19 May 2018 14:45:15 +0000 (16:45 +0200)]
patch 8.1.0005: test for :compiler command fails on MS-Windows

Problem:    Test for :compiler command fails on MS-Windows.
Solution:   Ignore difference in path.

6 years agopatch 8.1.0004: test for :compiler command sometimes fails v8.1.0004
Bram Moolenaar [Sat, 19 May 2018 13:52:11 +0000 (15:52 +0200)]
patch 8.1.0004: test for :compiler command sometimes fails

Problem:    Test for :compiler command sometimes fails.
Solution:   Be less strict about the error message. (Dominique Pelle)

6 years agopatch 8.1.0003: the :compiler command is not tested v8.1.0003
Bram Moolenaar [Sat, 19 May 2018 13:01:10 +0000 (15:01 +0200)]
patch 8.1.0003: the :compiler command is not tested

Problem:    The :compiler command is not tested.
Solution:   Add a test. (Dominique Pelle, closes #2930)

6 years agopatch 8.1.0002: :stopinsert changes the message position v8.1.0002
Bram Moolenaar [Sat, 19 May 2018 12:43:45 +0000 (14:43 +0200)]
patch 8.1.0002: :stopinsert changes the message position

Problem:    :stopinsert changes the message position.
Solution:   Save and restore msg_col and msg_row in clearmode(). (Jason
            Franklin)

6 years agoRuntime file and translation updates.
Bram Moolenaar [Fri, 18 May 2018 16:12:06 +0000 (18:12 +0200)]
Runtime file and translation updates.

6 years agopatch 8.1.0001: the netrw plugin does not work v8.1.0001
Bram Moolenaar [Thu, 17 May 2018 21:40:05 +0000 (23:40 +0200)]
patch 8.1.0001: the netrw plugin does not work

Problem:    The netrw plugin does not work.
Solution:   Make it accept version 8.x.

6 years agoVim 8.1 release v8.1.0000
Bram Moolenaar [Thu, 17 May 2018 15:04:55 +0000 (17:04 +0200)]
Vim 8.1 release

Update version number and information.  Fix a couple of tests.

6 years agopatch 8.0.1850: todo items in source code not visible for users v8.0.1850
Bram Moolenaar [Thu, 17 May 2018 11:20:45 +0000 (13:20 +0200)]
patch 8.0.1850: todo items in source code not visible for users

Problem:    Todo items in source code not visible for users.
Solution:   Move the todo items to the help file.

6 years agoUpdated runtime files.
Bram Moolenaar [Thu, 17 May 2018 11:15:23 +0000 (13:15 +0200)]
Updated runtime files.

6 years agopatch 8.0.1849: compiler warning for unused arguments, missing prototype v8.0.1849
Bram Moolenaar [Thu, 17 May 2018 11:11:46 +0000 (13:11 +0200)]
patch 8.0.1849: compiler warning for unused arguments, missing prototype

Problem:    compiler warning for unused arguments and missing prototype
Solution:   Add UNUSED.  Add static.

6 years agopatch 8.0.1848: 'termwinscroll' does not work properly v8.0.1848
Bram Moolenaar [Tue, 15 May 2018 21:53:26 +0000 (23:53 +0200)]
patch 8.0.1848: 'termwinscroll' does not work properly

Problem:    'termwinscroll' does not work properly. (Dominique Pelle)
Solution:   Subtract removed scrollback from the scrollback count.  Add a test
            for 'termwinscroll'. (closes #2909)

6 years agopatch 8.0.1847: some build options don't have an example v8.0.1847
Bram Moolenaar [Tue, 15 May 2018 20:34:58 +0000 (22:34 +0200)]
patch 8.0.1847: some build options don't have an example

Problem:    Some build options don't have an example.
Solution:   Add a couple more examples and compiler flags.

6 years agopatch 8.0.1846: Python interface is incompatible with lldb v8.0.1846
Bram Moolenaar [Tue, 15 May 2018 20:31:18 +0000 (22:31 +0200)]
patch 8.0.1846: Python interface is incompatible with lldb

Problem:    Python interface is incompatible with lldb.
Solution:   For OutputType set the base to be PyFile_Type. (Boxu Zhang)
            Partly disabled to avoid a crash.

6 years agopatch 8.0.1845: various comment updates needed, missing white space v8.0.1845
Bram Moolenaar [Tue, 15 May 2018 20:25:40 +0000 (22:25 +0200)]
patch 8.0.1845: various comment updates needed, missing white space

Problem:    Various comment updates needed, missing white space.
Solution:   Update comments, add white space.

6 years agopatch 8.0.1844: superfluous quickfix code, missing examples v8.0.1844
Bram Moolenaar [Tue, 15 May 2018 19:56:34 +0000 (21:56 +0200)]
patch 8.0.1844: superfluous quickfix code, missing examples

Problem:    Superfluous quickfix code, missing examples.
Solution:   Remove unneeded code.  Add a few examples.  Add a bit more
            testing. (Yegappan Lakshmanan, closes #2916)

6 years agopatch 8.0.1843: entry for 'wrap' in options window is wrong v8.0.1843
Bram Moolenaar [Tue, 15 May 2018 19:42:51 +0000 (21:42 +0200)]
patch 8.0.1843: entry for 'wrap' in options window is wrong

Problem:    Entry for 'wrap' in options window is wrong. (John Little)
Solution:   Make the change apply locally.

6 years agopatch 8.0.1842: popup menu inside terminal window isn't cleared v8.0.1842
Bram Moolenaar [Mon, 14 May 2018 21:08:32 +0000 (23:08 +0200)]
patch 8.0.1842: popup menu inside terminal window isn't cleared

Problem:    Popup menu inside terminal window isn't cleared.
Solution:   Use NOT_VALID in pum_undisplay(). (suggested by Christian
            Brabandt, closes #2908)

6 years agopatch 8.0.1841: HP-UX does not have setenv() v8.0.1841
Bram Moolenaar [Mon, 14 May 2018 20:58:34 +0000 (22:58 +0200)]
patch 8.0.1841: HP-UX does not have setenv()

Problem:    HP-UX does not have setenv().
Solution:   Use vim_setenv(). (John Marriott)