]> granicus.if.org Git - vim/log
vim
6 years agopatch 8.1.0131: :profdel is not tested v8.1.0131
Bram Moolenaar [Sat, 30 Jun 2018 19:18:13 +0000 (21:18 +0200)]
patch 8.1.0131: :profdel is not tested

Problem:    :profdel is not tested.
Solution:   Add a test. (Dominique Pelle, closes #3123)

6 years agopatch 8.1.0130: ":profdel func" does not work if func was called already v8.1.0130
Bram Moolenaar [Sat, 30 Jun 2018 16:28:03 +0000 (18:28 +0200)]
patch 8.1.0130: ":profdel func" does not work if func was called already

Problem:    ":profdel func" does not work if func was called already.
            (Dominique Pelle)
Solution:   Reset uf_profiling and add a flag to indicate initialization was
            done.

6 years agopatch 8.1.0129: still some xterm-like terminals get a stray "p" v8.1.0129
Bram Moolenaar [Sat, 30 Jun 2018 15:09:26 +0000 (17:09 +0200)]
patch 8.1.0129: still some xterm-like terminals get a stray "p"

Problem:    Still some xterm-like terminals get a stray "p" on startup.
Solution:   Consider all terminals that reply with a version smaller than 95
            as not an xterm. (James McCoy)

6 years agopatch 8.1.0128: building with MinGW does not work out-of-the-box v8.1.0128
Bram Moolenaar [Sat, 30 Jun 2018 14:27:02 +0000 (16:27 +0200)]
patch 8.1.0128: building with MinGW does not work out-of-the-box

Problem:    Building with MinGW does not work out-of-the-box.
Solution:   Add instructions for MSYS2.  Set default WINVER.  Add batch files
            to set $PATH for MSYS2.

6 years agopatch 8.1.0127: build failure when disabling the session feature v8.1.0127
Bram Moolenaar [Fri, 29 Jun 2018 18:28:31 +0000 (20:28 +0200)]
patch 8.1.0127: build failure when disabling the session feature

Problem:    Build failure when disabling the session feature. (Pawel Slowik)
Solution:   Adjust #ifdef for vim_chdirfile().

6 years agopatch 8.1.0126: various problems with 'vartabstop' v8.1.0126
Bram Moolenaar [Thu, 28 Jun 2018 20:23:00 +0000 (22:23 +0200)]
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)

6 years agopatch 8.1.0125: virtual edit replace with multi-byte fails at end of line v8.1.0125
Bram Moolenaar [Thu, 28 Jun 2018 17:26:28 +0000 (19:26 +0200)]
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line

Problem:    Virtual edit replace with multi-byte fails at end of line. (Lukas
            Werling)
Solution:   use ins_char() to add the character. (Christian Brabandt,
            closes #3114)  Rename PCHAR() to PBYTE() to avoid mistakes like
            this.

6 years agopatch 8.1.0124: has('vcon') returns true even for non-win32 terminal v8.1.0124
Bram Moolenaar [Thu, 28 Jun 2018 13:50:28 +0000 (15:50 +0200)]
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal

Problem:    has('vcon') returns true even for non-win32 terminal.
Solution:   Check the terminal type. (Nobuhiro Takasaki, closes #3106)

6 years agopatch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc' v8.1.0123
Bram Moolenaar [Thu, 28 Jun 2018 13:29:52 +0000 (15:29 +0200)]
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)

6 years agopatch 8.1.0122: translators don't always understand the maintainer message v8.1.0122
Bram Moolenaar [Thu, 28 Jun 2018 12:54:43 +0000 (14:54 +0200)]
patch 8.1.0122: translators don't always understand the maintainer message

Problem:    Translators don't always understand the maintainer message.
Solution:   Add a comment that ends up in the generated po file. (Christian
            Brabandt, closes #3037)

6 years agopatch 8.1.0121: crash when using ballooneval related to 'vartabstop' v8.1.0121
Bram Moolenaar [Thu, 28 Jun 2018 10:05:11 +0000 (12:05 +0200)]
patch 8.1.0121: crash when using ballooneval related to 'vartabstop'

Problem:    Crash when using ballooneval related to 'vartabstop'.
Solution:   Initialize balloonEval->vts to NULL. (Markus Braun)

6 years agopatch 8.1.0120: buffer 'modified' set even when :sort has no changes v8.1.0120
Bram Moolenaar [Thu, 28 Jun 2018 09:28:08 +0000 (11:28 +0200)]
patch 8.1.0120: buffer 'modified' set even when :sort has no changes

Problem:    Buffer 'modified' set even when :sort has no changes.
Solution:   Only set 'modified' when lines are moved. (Jason Franklin)

6 years agopatch 8.1.0119: failing test goes unnoticed because messages is not written v8.1.0119
Bram Moolenaar [Wed, 27 Jun 2018 21:12:36 +0000 (23:12 +0200)]
patch 8.1.0119: failing test goes unnoticed because messages is not written

Problem:    Failing test goes unnoticed because testdir/messages is not
            written.
Solution:   Set 'nomodifiable' only local to the buffer.

6 years agopatch 8.1.0118: duplicate error message for put command v8.1.0118
Bram Moolenaar [Wed, 27 Jun 2018 18:49:44 +0000 (20:49 +0200)]
patch 8.1.0118: duplicate error message for put command

Problem:    Duplicate error message for put command.
Solution:   Check return value of u_save(). (Jason Franklin)

6 years agopatch 8.1.0117: URL in install program still points to SourceForge v8.1.0117
Bram Moolenaar [Tue, 26 Jun 2018 21:18:45 +0000 (23:18 +0200)]
patch 8.1.0117: URL in install program still points to SourceForge

Problem:    URL in install program still points to SourceForge.
Solution:   Change it to www.vim.org. (closes #3100)

6 years agopatch 8.1.0116: display problem with 'vartabstop' and 'linebreak' v8.1.0116
Bram Moolenaar [Mon, 25 Jun 2018 19:24:51 +0000 (21:24 +0200)]
patch 8.1.0116: display problem with 'vartabstop' and 'linebreak'

Problem:    Display problem with 'vartabstop' and 'linebreak'. (Chauca
            Fuentes)
Solution:   Call tabstop_padding(). (Christian Brabandt, closes #3076)

6 years agopatch 8.1.0115: the matchparen plugin may throw an error v8.1.0115
Bram Moolenaar [Sun, 24 Jun 2018 22:05:59 +0000 (00:05 +0200)]
patch 8.1.0115: the matchparen plugin may throw an error

Problem:    The matchparen plugin may throw an error.
Solution:   Change the skip argument from zero to "0".

6 years agopatch 8.1.0114: confusing variable name v8.1.0114
Bram Moolenaar [Sun, 24 Jun 2018 21:53:28 +0000 (23:53 +0200)]
patch 8.1.0114: confusing variable name

Problem:    Confusing variable name.
Solution:   Rename new_ts to new_vts_array.  Change zero to NULL.

6 years agoUpdate runtime files.
Bram Moolenaar [Sun, 24 Jun 2018 18:42:01 +0000 (20:42 +0200)]
Update runtime files.

6 years agopatch 8.1.0113: compiler warning for unused variable v8.1.0113
Bram Moolenaar [Sun, 24 Jun 2018 17:24:03 +0000 (19:24 +0200)]
patch 8.1.0113: compiler warning for unused variable

Problem:    Compiler warning for unused variable. (Yegappan Lakshmanan)
Solution:   Add UNUSED. (Christian Brabandt)

6 years agopatch 8.1.0112: no error when using bad arguments with searchpair() v8.1.0112
Bram Moolenaar [Sun, 24 Jun 2018 17:01:59 +0000 (19:01 +0200)]
patch 8.1.0112: no error when using bad arguments with searchpair()

Problem:    No error when using bad arguments with searchpair().
Solution:   Add error messages.

6 years agopatch 8.1.0111: .po files do not use recommended names v8.1.0111
Bram Moolenaar [Sun, 24 Jun 2018 16:04:50 +0000 (18:04 +0200)]
patch 8.1.0111: .po files do not use recommended names

Problem:    .po files do not use recommended names.
Solution:   Give a warning if the recommended name is not used.  Accept the
            recommended name for conversion. (Christian Brabandt, Ken Takata)

6 years agopatch 8.1.0110: file name not displayed with ":file" v8.1.0110
Bram Moolenaar [Sun, 24 Jun 2018 14:53:35 +0000 (16:53 +0200)]
patch 8.1.0110: file name not displayed with ":file"

Problem:    File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution:   Always display the file name when there is no argument (Christian
            Brabandt, closes #3070)

6 years agopatch 8.1.0109: new po makefile missing from distribution v8.1.0109
Bram Moolenaar [Sun, 24 Jun 2018 13:56:24 +0000 (15:56 +0200)]
patch 8.1.0109: new po makefile missing from distribution

Problem:    New po makefile missing from distribution.
Solution:   Add it to the file list.

6 years agopatch 8.1.0108: no Danish translations v8.1.0108
Bram Moolenaar [Sun, 24 Jun 2018 13:52:56 +0000 (15:52 +0200)]
patch 8.1.0108: no Danish translations

Problem:    No Danish translations.
Solution:   Add Danish message translations. (closes #3073)  Move list of
            languages to a common makefile.

6 years agopatch 8.1.0107: Python: getting buffer option clears message v8.1.0107
Bram Moolenaar [Sun, 24 Jun 2018 13:14:07 +0000 (15:14 +0200)]
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)

6 years agopatch 8.1.0106: build fails when HAVE_DATE_TIME is undefined v8.1.0106
Bram Moolenaar [Sun, 24 Jun 2018 12:44:46 +0000 (14:44 +0200)]
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined

Problem:    Build fails when HAVE_DATE_TIME is undefined.
Solution:   Always define init_longVersion(). (Christian Brabandt,
            closes #3075)

6 years agopatch 8.1.0105: all tab stops are the same v8.1.0105
Bram Moolenaar [Sat, 23 Jun 2018 17:23:02 +0000 (19:23 +0200)]
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)

6 years agopatch 8.1.0104: can't build without the +eval feature v8.1.0104
Bram Moolenaar [Sat, 23 Jun 2018 15:14:41 +0000 (17:14 +0200)]
patch 8.1.0104: can't build without the +eval feature

Problem:    Can't build without the +eval feature.
Solution:   Add #ifdef.

6 years agopatch 8.1.0103: long version string cannot be translated v8.1.0103
Bram Moolenaar [Sat, 23 Jun 2018 14:12:21 +0000 (16:12 +0200)]
patch 8.1.0103: long version string cannot be translated

Problem:    Long version string cannot be translated.
Solution:   Build the string in init_longVersion().

6 years agopatch 8.1.0102: cannot build without syntax highlighting v8.1.0102
Bram Moolenaar [Sat, 23 Jun 2018 13:09:10 +0000 (15:09 +0200)]
patch 8.1.0102: cannot build without syntax highlighting

Problem:    Cannot build without syntax highlighting.
Solution:   Add #ifdef around using reg_do_extmatch.

6 years agopatch 8.1.0101: no test for getcmdwintype() v8.1.0101
Bram Moolenaar [Sat, 23 Jun 2018 12:55:03 +0000 (14:55 +0200)]
patch 8.1.0101: no test for getcmdwintype()

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

6 years agopatch 8.1.0100: terminal debugger: error when setting a watch point v8.1.0100
Bram Moolenaar [Sat, 23 Jun 2018 12:36:17 +0000 (14:36 +0200)]
patch 8.1.0100: terminal debugger: error when setting a watch point

Problem:    Terminal debugger: error when setting a watch point.
Solution:   Don't try defining a sign for a watch point.

6 years agopatch 8.1.0099: exclamation mark in error message not needed v8.1.0099
Bram Moolenaar [Sat, 23 Jun 2018 12:34:28 +0000 (14:34 +0200)]
patch 8.1.0099: exclamation mark in error message not needed

Problem:    Exclamation mark in error message not needed.
Solution:   Remove the exclamation mark.

6 years agopatch 8.1.0098: segfault when pattern with \z() is very slow v8.1.0098
Bram Moolenaar [Sat, 23 Jun 2018 12:21:42 +0000 (14:21 +0200)]
patch 8.1.0098: segfault when pattern with \z() is very slow

Problem:    Segfault when pattern with \z() is very slow.
Solution:   Check for NULL regprog.  Add "nfa_fail" to test_override() to be
            able to test this.  Fix that 'searchhl' resets called_emsg.

6 years agopatch 8.1.0097: superfluous space before exclamation mark v8.1.0097
Bram Moolenaar [Fri, 22 Jun 2018 19:42:30 +0000 (21:42 +0200)]
patch 8.1.0097: superfluous space before exclamation mark

Problem:    Superfluous space before exclamation mark.
Solution:   Remove the space.  Don't translate debug message.

6 years agopatch 8.1.0096: inconsistent use of the word autocommands v8.1.0096
Bram Moolenaar [Fri, 22 Jun 2018 19:30:31 +0000 (21:30 +0200)]
patch 8.1.0096: inconsistent use of the word autocommands

Problem:    Inconsistent use of the word autocommands.
Solution:   Don't use auto-commands or "auto commands".

6 years agopatch 8.1.0095: dialog for ":browse tabnew" says "new window" v8.1.0095
Bram Moolenaar [Thu, 21 Jun 2018 20:10:08 +0000 (22:10 +0200)]
patch 8.1.0095: dialog for ":browse tabnew" says "new window"

Problem:    Dialog for ":browse tabnew" says "new window".
Solution:   Use "new tab page". (closes #3053)

6 years agopatch 8.1.0094: help text "usage:" is not capatalized v8.1.0094
Bram Moolenaar [Thu, 21 Jun 2018 19:38:33 +0000 (21:38 +0200)]
patch 8.1.0094: help text "usage:" is not capatalized

Problem:    Help text "usage:" is not capatalized.
Solution:   Make it "Usage:". (closes #3044)

6 years agopatch 8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is running v8.1.0093
Bram Moolenaar [Thu, 21 Jun 2018 18:31:14 +0000 (20:31 +0200)]
patch 8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is running

Problem:    non-MS-Windows: Cannot interrupt gdb when program is running.
Solution:   Only use debugbreak() on MS-Windows.

6 years agopatch 8.1.0092: prompt buffer test fails v8.1.0092
Bram Moolenaar [Thu, 21 Jun 2018 10:07:04 +0000 (12:07 +0200)]
patch 8.1.0092: prompt buffer test fails

Problem:    Prompt buffer test fails.
Solution:   Set 'nomodified' before closing the window. (Ozaki Kiichi,
            closes #3051

6 years agopatch 8.1.0091: MS-Windows: Cannot interrupt gdb when program is running v8.1.0091
Bram Moolenaar [Wed, 20 Jun 2018 20:38:21 +0000 (22:38 +0200)]
patch 8.1.0091: MS-Windows: Cannot interrupt gdb when program is running

Problem:    MS-Windows: Cannot interrupt gdb when program is running.
Solution:   Add debugbreak() and use it in the terminal debugger.
            Respect 'modified' in a prompt buffer.

6 years agopatch 8.1.0090: "..." used inconsistently in a message v8.1.0090
Bram Moolenaar [Wed, 20 Jun 2018 18:37:36 +0000 (20:37 +0200)]
patch 8.1.0090: "..." used inconsistently in a message

Problem:    "..." used inconsistently in a message.
Solution:   Define the message with " ..." once. (hint by Ken Takata)

6 years agopatch 8.1.0089: error when ending the terminal debugger v8.1.0089
Bram Moolenaar [Tue, 19 Jun 2018 20:34:46 +0000 (22:34 +0200)]
patch 8.1.0089: error when ending the terminal debugger

Problem:    error when ending the terminal debugger
Solution:   Fix deleting defined signs for breakpoints.  Make the debugger
            work better on MS-Windows.

6 years agopatch 8.1.0088: terminal test for stdout and stderr is a bit flaky v8.1.0088
Bram Moolenaar [Tue, 19 Jun 2018 18:08:14 +0000 (20:08 +0200)]
patch 8.1.0088: terminal test for stdout and stderr is a bit flaky

Problem:    Terminal test for stdout and stderr is a bit flaky.
Solution:   Wait for both stdout and stderr to have been processed. (Ozaki
            Kiichi, closes #2991)

6 years agopatch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd" v8.1.0087
Bram Moolenaar [Tue, 19 Jun 2018 17:59:20 +0000 (19:59 +0200)]
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"

Problem:    v:shell_error is always zero when using terminal for "!cmd".
Solution:   Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)

6 years agopatch 8.1.0086: no tests for libcall() and libcallnr() v8.1.0086
Bram Moolenaar [Tue, 19 Jun 2018 17:46:06 +0000 (19:46 +0200)]
patch 8.1.0086: no tests for libcall() and libcallnr()

Problem:    No tests for libcall() and libcallnr().
Solution:   Add tests. (Dominique Pelle, closes #2982)

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.