]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1116: cannot enforce a Vim script style v8.1.1116
Bram Moolenaar [Thu, 4 Apr 2019 16:15:38 +0000 (18:15 +0200)]
patch 8.1.1116: cannot enforce a Vim script style

Problem:    Cannot enforce a Vim script style.
Solution:   Add the :scriptversion command. (closes #3857)

5 years agopatch 8.1.1115: cannot build with older C compiler v8.1.1115
Bram Moolenaar [Thu, 4 Apr 2019 13:40:56 +0000 (15:40 +0200)]
patch 8.1.1115: cannot build with older C compiler

Problem:    Cannot build with older C compiler.
Solution:   Move variable declaration to start of block.

5 years agopatch 8.1.1114: confusing overloaded operator "." for string concatenation v8.1.1114
Bram Moolenaar [Thu, 4 Apr 2019 13:36:05 +0000 (15:36 +0200)]
patch 8.1.1114: confusing overloaded operator "." for string concatenation

Problem:    Confusing overloaded operator "." for string concatenation.
Solution:   Add ".." for string concatenation.  Also "let a ..= b".

5 years agopatch 8.1.1113: making an autocommand trigger once is not so easy v8.1.1113
Bram Moolenaar [Thu, 4 Apr 2019 13:04:56 +0000 (15:04 +0200)]
patch 8.1.1113: making an autocommand trigger once is not so easy

Problem:    Making an autocommand trigger once is not so easy.
Solution:   Add the ++once argument.  Also add ++nested as an alias for
            "nested". (Justin M. Keyes, closes #4100)

5 years agopatch 8.1.1112: duplicate code in quickfix file v8.1.1112
Bram Moolenaar [Thu, 4 Apr 2019 12:04:11 +0000 (14:04 +0200)]
patch 8.1.1112: duplicate code in quickfix file

Problem:    Duplicate code in quickfix file.
Solution:   Move code into functions. (Yegappan Lakshmanan, closes #4207)

5 years agopatch 8.1.1111: it is not easy to check for infinity v8.1.1111
Bram Moolenaar [Thu, 4 Apr 2019 11:44:37 +0000 (13:44 +0200)]
patch 8.1.1111: it is not easy to check for infinity

Problem:    It is not easy to check for infinity.
Solution:   Add isinf(). (Ozaki Kiichi, closes #3787)

5 years agopatch 8.1.1110: composing chars on space wrong when 'listchars' is set v8.1.1110
Bram Moolenaar [Thu, 4 Apr 2019 11:28:45 +0000 (13:28 +0200)]
patch 8.1.1110: composing chars on space wrong when 'listchars' is set

Problem:    Composing chars on space wrong when 'listchars' is set.
Solution:   Do not use "space" and "nbsp" entries of 'listchars' when there is
            a composing character.  (Yee Cheng Chin, closes #4197)

5 years agopatch 8.1.1109: deleted file still in list of distributed files v8.1.1109
Bram Moolenaar [Thu, 4 Apr 2019 11:12:07 +0000 (13:12 +0200)]
patch 8.1.1109: deleted file still in list of distributed files

Problem:    Deleted file still in list of distributed files.
Solution:   Remove the src/os_w32dll.c entry.

5 years agoUpdate runtime files.
Bram Moolenaar [Thu, 4 Apr 2019 11:11:03 +0000 (13:11 +0200)]
Update runtime files.

5 years agopatch 8.1.1108: test for 'visualbell' doesn't work v8.1.1108
Bram Moolenaar [Wed, 3 Apr 2019 20:52:34 +0000 (22:52 +0200)]
patch 8.1.1108: test for 'visualbell' doesn't work

Problem:    Test for 'visualbell' doesn't work.
Solution:   Make 'belloff' empty.

5 years agopatch 8.1.1107: no test for 'visualbell' v8.1.1107
Bram Moolenaar [Wed, 3 Apr 2019 19:53:33 +0000 (21:53 +0200)]
patch 8.1.1107: no test for 'visualbell'

Problem:    No test for 'visualbell'.
Solution:   Add a test.

5 years agopatch 8.1.1106: no test for 'writedelay' v8.1.1106
Bram Moolenaar [Wed, 3 Apr 2019 19:42:35 +0000 (21:42 +0200)]
patch 8.1.1106: no test for 'writedelay'

Problem:    No test for 'writedelay'.
Solution:   Add a test.

5 years agopatch 8.1.1105: long escape sequences may be split up v8.1.1105
Bram Moolenaar [Wed, 3 Apr 2019 19:15:58 +0000 (21:15 +0200)]
patch 8.1.1105: long escape sequences may be split up

Problem:    Long escape sequences may be split up.
Solution:   Assume esccape sequences can be up to 80 bytes long. (Nobuhiro
            Takasaki, closes #4196)

5 years agopatch 8.1.1104: MS-Windows: not all environment variables can be used v8.1.1104
Bram Moolenaar [Wed, 3 Apr 2019 18:31:00 +0000 (20:31 +0200)]
patch 8.1.1104: MS-Windows: not all environment variables can be used

Problem:    MS-Windows: not all environment variables can be used.
Solution:   Use the wide version of WinMain() and main(). (Ken Takata,
            closes #4206)

5 years agopatch 8.1.1103: MS-Windows: old API calls are no longer needed v8.1.1103
Bram Moolenaar [Tue, 2 Apr 2019 20:15:55 +0000 (22:15 +0200)]
patch 8.1.1103: MS-Windows: old API calls are no longer needed

Problem:    MS-Windows: old API calls are no longer needed.
Solution:   Always use the wide functions. (Ken Takata, closes #4199)

5 years agopatch 8.1.1102: Win32 exe file contains unused code v8.1.1102
Bram Moolenaar [Tue, 2 Apr 2019 20:02:32 +0000 (22:02 +0200)]
patch 8.1.1102: Win32 exe file contains unused code

Problem:    Win32 exe file contains unused code.
Solution:   Remove unused #ifdefs and code. (Ken Takata, closes #4198)

5 years agopatch 8.1.1101: signals test may fail in the GUI v8.1.1101
Bram Moolenaar [Tue, 2 Apr 2019 19:45:41 +0000 (21:45 +0200)]
patch 8.1.1101: signals test may fail in the GUI

Problem:    Signals test may fail in the GUI.
Solution:   Skip the test for the GUI. (Yee Checng Chin, closes #4202)

5 years agopatch 8.1.1100: tag file without trailing newline no longer works v8.1.1100
Bram Moolenaar [Tue, 2 Apr 2019 19:26:07 +0000 (21:26 +0200)]
patch 8.1.1100: tag file without trailing newline no longer works

Problem:    Tag file without trailing newline no longer works. (Marco Hinz)
Solution:   Don't expect a newline at the end of the file. (closes #4200)

5 years agopatch 8.1.1099: the do_tag() function is too long v8.1.1099
Bram Moolenaar [Sun, 31 Mar 2019 17:40:07 +0000 (19:40 +0200)]
patch 8.1.1099: the do_tag() function is too long

Problem:    The do_tag() function is too long.
Solution:   Factor parts out to separate functions.  Move simplify_filename()
            to a file where it fits better. (Andy Massimino, closes #4195)

5 years agopatch 8.1.1098: quickfix code duplication v8.1.1098
Bram Moolenaar [Sun, 31 Mar 2019 13:31:59 +0000 (15:31 +0200)]
patch 8.1.1098: quickfix code duplication

Problem:    Quickfix code duplication.
Solution:   Refactor the qf_init_ext() function. (Yegappan Lakshmanan,
            closes #4193)

5 years agopatch 8.1.1097: Motif build fails v8.1.1097
Bram Moolenaar [Sat, 30 Mar 2019 21:26:38 +0000 (22:26 +0100)]
patch 8.1.1097: Motif build fails

Problem:    Motif build fails. (Paul Jolly)
Solution:   Only use gui_mch_maximized() for MS-Windows. (closes #4194)

5 years agopatch 8.1.1096: MS-Windows: cannot distinguish BS and CTRL-H v8.1.1096
Bram Moolenaar [Sat, 30 Mar 2019 21:11:21 +0000 (22:11 +0100)]
patch 8.1.1096: MS-Windows: cannot distinguish BS and CTRL-H

Problem:    MS-Windows: cannot distinguish BS and CTRL-H.
Solution:   Add code for VK_BACK. (Linwei, closes #1833)

5 years agopatch 8.1.1095: MS-Windows: executable() fails on very long filename v8.1.1095
Bram Moolenaar [Sat, 30 Mar 2019 20:51:28 +0000 (21:51 +0100)]
patch 8.1.1095: MS-Windows: executable() fails on very long filename

Problem:    MS-Windows: executable() fails on very long filename.
Solution:   (Ken Takata, closes #4015)

5 years agopatch 8.1.1094: long line in tags file causes error v8.1.1094
Bram Moolenaar [Sat, 30 Mar 2019 20:41:48 +0000 (21:41 +0100)]
patch 8.1.1094: long line in tags file causes error

Problem:    Long line in tags file causes error.
Solution:   Check for overlong line earlier. (Andy Massimino, closes #4051,
            closes #4084)

5 years agopatch 8.1.1093: support for outdated tags format slows down tag parsing v8.1.1093
Bram Moolenaar [Sat, 30 Mar 2019 20:19:34 +0000 (21:19 +0100)]
patch 8.1.1093: support for outdated tags format slows down tag parsing

Problem:    Support for outdated tags format slows down tag parsing.
Solution:   Remove FEAT_TAG_OLDSTATIC.

5 years agopatch 8.1.1092: setting 'guifont' when maximized resizes the Vim window v8.1.1092
Bram Moolenaar [Sat, 30 Mar 2019 19:31:22 +0000 (20:31 +0100)]
patch 8.1.1092: setting 'guifont' when maximized resizes the Vim window

Problem:    Setting 'guifont' when maximized resizes the Vim window. When
            'guioptions' contains "k" gvim may open with a tiny window.
Solution:   Avoid un-maximizing when setting 'guifont'. (Yee Cheng Chin,
            closes #3808)

5 years agopatch 8.1.1091: MS-Windows: cannot use multi-byte chars in environment var v8.1.1091
Bram Moolenaar [Sat, 30 Mar 2019 19:11:50 +0000 (20:11 +0100)]
patch 8.1.1091: MS-Windows: cannot use multi-byte chars in environment var

Problem:    MS-Windows: cannot use multi-byte chars in environment var.
Solution:   Use the wide API. (Ken Takata, closes #4008)

5 years agopatch 8.1.1090: MS-Windows: modify_fname() has problems with some 'encoding' v8.1.1090
Bram Moolenaar [Sat, 30 Mar 2019 19:04:08 +0000 (20:04 +0100)]
patch 8.1.1090: MS-Windows: modify_fname() has problems with some 'encoding'

Problem:    MS-Windows: modify_fname() has problems with some 'encoding'.
Solution:   Use GetLongPathNameW() instead of GetLongPathName(). (Ken Takata,
            closes #4007)

5 years agopatch 8.1.1089: tutor does not check $LC_MESSAGES v8.1.1089
Bram Moolenaar [Sat, 30 Mar 2019 18:56:46 +0000 (19:56 +0100)]
patch 8.1.1089: tutor does not check $LC_MESSAGES

Problem:    Tutor does not check $LC_MESSAGES.
Solution:   Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes #4112)

5 years agopatch 8.1.1088: height of quickfix window not retained with vertical split v8.1.1088
Bram Moolenaar [Sat, 30 Mar 2019 18:49:06 +0000 (19:49 +0100)]
patch 8.1.1088: height of quickfix window not retained with vertical split

Problem:    Height of quickfix window not retained with vertical split.
Solution:   Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu,
            closes #4013, closes #2998)

5 years agopatch 8.1.1087: tag stack is incorrect after CTRL-T and then :tag v8.1.1087
Bram Moolenaar [Sat, 30 Mar 2019 18:12:02 +0000 (19:12 +0100)]
patch 8.1.1087: tag stack is incorrect after CTRL-T and then :tag

Problem:    tag stack is incorrect after CTRL-T and then :tag
Solution:   Handle DT_TAG differently. (test by Andy Massimino, closes #3944,
            closes #4177)

5 years agopatch 8.1.1086: too many curly braces v8.1.1086
Bram Moolenaar [Sat, 30 Mar 2019 17:47:01 +0000 (18:47 +0100)]
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)

5 years agopatch 8.1.1085: compiler warning for possibly uninitialized variable v8.1.1085
Bram Moolenaar [Sat, 30 Mar 2019 17:25:39 +0000 (18:25 +0100)]
patch 8.1.1085: compiler warning for possibly uninitialized variable

Problem:    Compiler warning for possibly uninitialized variable. (Tony
            Mechelynck)
Solution:   Make conditions more logical.

5 years agopatch 8.1.1084: cannot delete a match from another window v8.1.1084
Bram Moolenaar [Sat, 30 Mar 2019 17:11:49 +0000 (18:11 +0100)]
patch 8.1.1084: cannot delete a match from another window

Problem:    Cannot delete a match from another window. (Paul Jolly)
Solution:   Add window ID argument to matchdelete(), clearmatches(),
            getmatches() and setmatches(). (Andy Massimino, closes #4178)

5 years agopatch 8.1.1083: MS-Windows: hang when opening a file on network share v8.1.1083
Bram Moolenaar [Sat, 30 Mar 2019 16:28:16 +0000 (17:28 +0100)]
patch 8.1.1083: MS-Windows: hang when opening a file on network share

Problem:    MS-Windows: hang when opening a file on network share.
Solution:   Avoid using FindFirstFile(), use GetLongPathNameW(). (Ken Takata,
            closes #3923)

5 years agopatch 8.1.1082: "Conceal" match is mixed up with 'hlsearch' match. v8.1.1082
Bram Moolenaar [Sat, 30 Mar 2019 15:39:05 +0000 (16:39 +0100)]
patch 8.1.1082: "Conceal" match is mixed up with 'hlsearch' match.

Problem:    "Conceal" match is mixed up with 'hlsearch' match.
Solution:   Check that a match is found, not a 'hlsearch' item. (Andy
            Massimino, closes #4073)

5 years agopatch 8.1.1081: MS-Windows: cannot use some fonts v8.1.1081
Bram Moolenaar [Sat, 30 Mar 2019 15:24:16 +0000 (16:24 +0100)]
patch 8.1.1081: MS-Windows: cannot use some fonts

Problem:    MS-Windows: cannot use fonts whose name cannot be represented in
            the current code page.
Solution:   Use wide font functions. (Ken Takata, closes #4000)

5 years agopatch 8.1.1080: when a screendump test fails, moving the file is a hassle v8.1.1080
Bram Moolenaar [Sat, 30 Mar 2019 14:59:51 +0000 (15:59 +0100)]
patch 8.1.1080: when a screendump test fails, moving the file is a hassle

Problem:    When a screendump test fails, moving the file is a hassle.
Solution:   Instead of appending ".failed" to the file name, keep the same
            file name but put the screendump in the "failed" directory.
            Then the file name only needs to be typed once when moving a
            screendump.

5 years agopatch 8.1.1079: no need for a separate ScreenLinesUtf8() test function v8.1.1079
Bram Moolenaar [Sat, 30 Mar 2019 14:44:17 +0000 (15:44 +0100)]
patch 8.1.1079: no need for a separate ScreenLinesUtf8() test function

Problem:    No need for a separate ScreenLinesUtf8() test function.
Solution:   Get the composing characters with ScreenLines().

5 years agopatch 8.1.1078: when 'listchars' is set a composing char on a space is wrong v8.1.1078
Bram Moolenaar [Sat, 30 Mar 2019 14:34:47 +0000 (15:34 +0100)]
patch 8.1.1078: when 'listchars' is set a composing char on a space is wrong

Problem:    When 'listchars' is set a composing char on a space is wrong.
Solution:   Separate handling a non-breaking space and a space. (Yasuhiro
            Matsumoto, closes #4046)

5 years agopatch 8.1.1077: reg_executing() is reset by calling input() v8.1.1077
Bram Moolenaar [Sat, 30 Mar 2019 13:26:18 +0000 (14:26 +0100)]
patch 8.1.1077: reg_executing() is reset by calling input()

Problem:    reg_executing() is reset by calling input().
Solution:   Implement a more generic way to save and restore reg_executing.
            (Ozaki Kiichi, closes #4192)

5 years agopatch 8.1.1076: file for Insert mode is much too big v8.1.1076
Bram Moolenaar [Sat, 30 Mar 2019 12:53:47 +0000 (13:53 +0100)]
patch 8.1.1076: file for Insert mode is much too big

Problem:    File for Insert mode is much too big.
Solution:   Split off the code for Insert completion. (Yegappan Lakshmanan,
            closes #4044)

5 years agopatch 8.1.1075: function reference count wrong in Python code v8.1.1075
Bram Moolenaar [Sat, 30 Mar 2019 11:51:22 +0000 (12:51 +0100)]
patch 8.1.1075: function reference count wrong in Python code

Problem:    Function reference count wrong in Python code.
Solution:   Use "O" instead of "N" for the arguments. (Ben Jackson,
            closes #4188)

5 years agopatch 8.1.1074: Python test doesn't wipe out hidden buffer v8.1.1074
Bram Moolenaar [Sat, 30 Mar 2019 11:33:13 +0000 (12:33 +0100)]
patch 8.1.1074: Python test doesn't wipe out hidden buffer

Problem:    Python test doesn't wipe out hidden buffer.
Solution:   Wipe out the buffer. (Ben Jackson, closes #4189)

5 years agopatch 8.1.1073: space in number column is on wrong side with 'rightleft' set v8.1.1073
Bram Moolenaar [Fri, 29 Mar 2019 17:29:54 +0000 (18:29 +0100)]
patch 8.1.1073: space in number column is on wrong side with 'rightleft' set

Problem:    Space in number column is on wrong side with 'rightleft' set.
Solution:   Move the space to the text side.  Add a test.

5 years agopatch 8.1.1072: extending sign and foldcolumn below the text is confusing v8.1.1072
Bram Moolenaar [Fri, 29 Mar 2019 17:08:18 +0000 (18:08 +0100)]
patch 8.1.1072: extending sign and foldcolumn below the text is confusing

Problem:    Extending sign and foldcolumn below the text is confusing.
Solution:   Let the sign and foldcolumn stop at the last text line, just like
            the line number column.  Also stop the command line window leader.
            (Christian Brabandt, closes #3964)

5 years agopatch 8.1.1071: cannot get composing characters from the screen v8.1.1071
Bram Moolenaar [Fri, 29 Mar 2019 13:16:42 +0000 (14:16 +0100)]
patch 8.1.1071: cannot get composing characters from the screen

Problem:    Cannot get composing characters from the screen.
Solution:   Add screenchars() and screenstring(). (partly by Ozaki Kiichi,
            closes #4059)

5 years agopatch 8.1.1070: issue templates are not good enough v8.1.1070
Bram Moolenaar [Fri, 29 Mar 2019 12:12:39 +0000 (13:12 +0100)]
patch 8.1.1070: issue templates are not good enough

Problem:    Issue templates are not good enough.
Solution:   Rephrase to anticipate unexperienced users.

5 years agopatch 8.1.1069: source README file doesn't look nice on github v8.1.1069
Bram Moolenaar [Fri, 29 Mar 2019 12:10:08 +0000 (13:10 +0100)]
patch 8.1.1069: source README file doesn't look nice on github

Problem:    Source README file doesn't look nice on github.
Solution:   Turn it into markdown, still readable as plain text.
            (WenxuanHuang, closes #4141)

5 years agopatch 8.1.1068: cannot get all the information about current completion v8.1.1068
Bram Moolenaar [Fri, 29 Mar 2019 11:20:27 +0000 (12:20 +0100)]
patch 8.1.1068: cannot get all the information about current completion

Problem:    Cannot get all the information about current completion.
Solution:   Add complete_info(). (Shougo, Hirohito Higashi, closes #4106)

5 years agopatch 8.1.1067: issues added on github are unstructured v8.1.1067
Bram Moolenaar [Fri, 29 Mar 2019 09:54:37 +0000 (10:54 +0100)]
patch 8.1.1067: issues added on github are unstructured

Problem:    Issues added on github are unstructured.
Solution:   Add a bug and feature request template. (Ken Takata, closes #4183)

5 years agopatch 8.1.1066: VIMDLL isn't actually used v8.1.1066
Bram Moolenaar [Thu, 28 Mar 2019 21:43:16 +0000 (22:43 +0100)]
patch 8.1.1066: VIMDLL isn't actually used

Problem:    VIMDLL isn't actually used.
Solution:   Remove VIMDLL support.

5 years agopatch 8.1.1065: no test for using and deleting menu in the GUI v8.1.1065
Bram Moolenaar [Thu, 28 Mar 2019 21:04:56 +0000 (22:04 +0100)]
patch 8.1.1065: no test for using and deleting menu in the GUI

Problem:    No test for using and deleting menu in the GUI.
Solution:   Add a test.

5 years agopatch 8.1.1064: no test for output conversion in the GTK GUI v8.1.1064
Bram Moolenaar [Thu, 28 Mar 2019 20:49:21 +0000 (21:49 +0100)]
patch 8.1.1064: no test for output conversion in the GTK GUI

Problem:    No test for output conversion in the GTK GUI.
Solution:   Add a simplistic test.

5 years agopatch 8.1.1063: insufficient testing for wildmenu completion v8.1.1063
Bram Moolenaar [Thu, 28 Mar 2019 20:26:23 +0000 (21:26 +0100)]
patch 8.1.1063: insufficient testing for wildmenu completion

Problem:    Insufficient testing for wildmenu completion.
Solution:   Extend the test case. (Dominique Pelle, closes #4182)

5 years agopatch 8.1.1062: quickfix code is repeated v8.1.1062
Bram Moolenaar [Thu, 28 Mar 2019 19:31:07 +0000 (20:31 +0100)]
patch 8.1.1062: quickfix code is repeated

Problem:    Quickfix code is repeated.
Solution:   Define FOR_ALL_QFL_ITEMS(). Move some code to separate functions.
            (Yegappan Lakshmanan, closes #4166)

5 years agopatch 8.1.1061: when substitute string throws error, substitute happens anyway v8.1.1061
Bram Moolenaar [Wed, 27 Mar 2019 21:53:53 +0000 (22:53 +0100)]
patch 8.1.1061: when substitute string throws error, substitute happens anyway

Problem:    When substitute string throws error, substitute happens anyway.
Solution:   Skip substitution when aborting. (closes #4161)

5 years agopatch 8.1.1060: MS-Windows: get_cmd_args() is no longer needed v8.1.1060
Bram Moolenaar [Wed, 27 Mar 2019 20:59:45 +0000 (21:59 +0100)]
patch 8.1.1060: MS-Windows: get_cmd_args() is no longer needed

Problem:    MS-Windows: get_cmd_args() is no longer needed, get_cmd_argsW() is
            always used.
Solution:   Remove get_cmd_args(). (Ken Takata, closes #4171)

5 years agopatch 8.1.1059: MS-Windows: PlatformId() is called unnecessarily v8.1.1059
Bram Moolenaar [Wed, 27 Mar 2019 20:49:14 +0000 (21:49 +0100)]
patch 8.1.1059: MS-Windows: PlatformId() is called unnecessarily

Problem:    MS-Windows: PlatformId() is called unnecessarily.
Solution:   Remove calls to PlatformId(). (Ken Takata, closes #4170)

5 years agopatch 8.1.1058: memory usage test may still fail on some systems v8.1.1058
Bram Moolenaar [Wed, 27 Mar 2019 20:41:36 +0000 (21:41 +0100)]
patch 8.1.1058: memory usage test may still fail on some systems

Problem:    Memory usage test may still fail on some systems.
Solution:   Use 98% of the lower limit. (Christian Brabandt)

5 years agopatch 8.1.1057: nsis config is too complicated v8.1.1057
Bram Moolenaar [Tue, 26 Mar 2019 22:02:46 +0000 (23:02 +0100)]
patch 8.1.1057: nsis config is too complicated

Problem:    Nsis config is too complicated.
Solution:   Use "File /r" for the macros and pack directories. (Ken Takata,
            closes #4169)

5 years agopatch 8.1.1056: no eval function for Ruby v8.1.1056
Bram Moolenaar [Tue, 26 Mar 2019 21:51:09 +0000 (22:51 +0100)]
patch 8.1.1056: no eval function for Ruby

Problem:    No eval function for Ruby.
Solution:   Add rubyeval(). (Ozaki Kiichi, closes #4152)

5 years agopatch 8.1.1055: CTRL-G U in Insert mode doesn't work for shift-Left v8.1.1055
Bram Moolenaar [Tue, 26 Mar 2019 21:46:05 +0000 (22:46 +0100)]
patch 8.1.1055: CTRL-G U in Insert mode doesn't work for shift-Left

Problem:    CTRL-G U in Insert mode doesn't work to avoid splitting the undo
            sequence for shift-left and shift-right.
Solution:   Also check dont_sync_undo for shifted cursor keys. (Christian
            Brabandt)

5 years agopatch 8.1.1054: not checking return value of ga_grow() v8.1.1054
Bram Moolenaar [Tue, 26 Mar 2019 20:44:20 +0000 (21:44 +0100)]
patch 8.1.1054: not checking return value of ga_grow()

Problem:    Not checking return value of ga_grow(). (Coverity)
Solution:   Only append when ga_grow() returns OK.

5 years agopatch 8.1.1053: warning for missing return statement v8.1.1053
Bram Moolenaar [Mon, 25 Mar 2019 23:31:21 +0000 (00:31 +0100)]
patch 8.1.1053: warning for missing return statement

Problem:    Warning for missing return statement. (Dominique Pelle)
Solution:   Add return statement.

5 years agopatch 8.1.1052: test for CTRL-C message sometimes fails v8.1.1052
Bram Moolenaar [Mon, 25 Mar 2019 22:16:34 +0000 (23:16 +0100)]
patch 8.1.1052: test for CTRL-C message sometimes fails

Problem:    test for CTRL-C message sometimes fails
Solution:   Make sure there are no changed buffers.

5 years agopatch 8.1.1051: not all ways to switch terminal mode are tested v8.1.1051
Bram Moolenaar [Mon, 25 Mar 2019 22:01:38 +0000 (23:01 +0100)]
patch 8.1.1051: not all ways to switch terminal mode are tested

Problem:    Not all ways to switch terminal mode are tested.
Solution:   Add more test cases.

5 years agopatch 8.1.1050: blank srceen when DirectWrite failed v8.1.1050
Bram Moolenaar [Mon, 25 Mar 2019 21:48:18 +0000 (22:48 +0100)]
patch 8.1.1050: blank srceen when DirectWrite failed

Problem:    Blank srceen when DirectWrite failed.
Solution:   Call redraw_later_clear() after recreating the Direct2D render
            target. (Ken Takata, closes #4172)

5 years agopatch 8.1.1049: when user tries to exit with CTRL-C message is confusing v8.1.1049
Bram Moolenaar [Mon, 25 Mar 2019 21:21:24 +0000 (22:21 +0100)]
patch 8.1.1049: when user tries to exit with CTRL-C message is confusing

Problem:    When user tries to exit with CTRL-C message is confusing.
Solution:   Only mention ":qa!" when there is a changed buffer. (closes #4163)

5 years agopatch 8.1.1048: minor issues with tests v8.1.1048
Bram Moolenaar [Sun, 24 Mar 2019 19:18:40 +0000 (20:18 +0100)]
patch 8.1.1048: minor issues with tests

Problem:    Minor issues with tests.
Solution:   Delete unused test OK file.  Add missing entries in list of tests.
            Fix readme file. (Masato Nishihata, closes #4160)

5 years agoUpdate runtime files.
Bram Moolenaar [Sun, 24 Mar 2019 14:09:13 +0000 (15:09 +0100)]
Update runtime files.

5 years agopatch 8.1.1047: WINCH signal is not tested v8.1.1047
Bram Moolenaar [Sun, 24 Mar 2019 13:58:31 +0000 (14:58 +0100)]
patch 8.1.1047: WINCH signal is not tested

Problem:    WINCH signal is not tested.
Solution:   Add a test. (Dominique Pelle, closes #4158)

5 years agopatch 8.1.1046: the "secure" variable is used inconsistently v8.1.1046
Bram Moolenaar [Sun, 24 Mar 2019 13:02:04 +0000 (14:02 +0100)]
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.

5 years agopatch 8.1.1045: E315 ml_get error when using Python and hidden buffer v8.1.1045
Bram Moolenaar [Sat, 23 Mar 2019 16:41:59 +0000 (17:41 +0100)]
patch 8.1.1045: E315 ml_get error when using Python and hidden buffer

Problem:    E315 ml_get error when using Python and hidden buffer.
Solution:   Make sure the cursor position is valid. (Ben Jackson,
            closes #4153, closes #4154)

5 years agopatch 8.1.1044: no way to check the reference count of objects v8.1.1044
Bram Moolenaar [Sat, 23 Mar 2019 13:23:07 +0000 (14:23 +0100)]
patch 8.1.1044: no way to check the reference count of objects

Problem:    No way to check the reference count of objects.
Solution:   Add test_refcount(). (Ozaki Kiichi, closes #4124)

5 years agopatch 8.1.1043: Lua interface does not support Blob v8.1.1043
Bram Moolenaar [Sat, 23 Mar 2019 12:57:02 +0000 (13:57 +0100)]
patch 8.1.1043: Lua interface does not support Blob

Problem:    Lua interface does not support Blob.
Solution:   Add support to Blob. (Ozaki Kiichi, closes #4151)

5 years agopatch 8.1.1042: the paste test doesn't work properly in the Windows console v8.1.1042
Bram Moolenaar [Sat, 23 Mar 2019 12:30:22 +0000 (13:30 +0100)]
patch 8.1.1042: the paste test doesn't work properly in the Windows console

Problem:    The paste test doesn't work properly in the Windows console.
Solution:   Disable the test.

5 years agopatch 8.1.1041: test for Arabic no longer needed v8.1.1041
Bram Moolenaar [Sat, 23 Mar 2019 11:59:40 +0000 (12:59 +0100)]
patch 8.1.1041: test for Arabic no longer needed

Problem:    Test for Arabic no longer needed.
Solution:   Remove the test for something that was intentionally left out.

5 years agopatch 8.1.1040: FEAT_TAG_ANYWHITE is not enabled in any build v8.1.1040
Bram Moolenaar [Fri, 22 Mar 2019 16:03:05 +0000 (17:03 +0100)]
patch 8.1.1040: FEAT_TAG_ANYWHITE is not enabled in any build

Problem:    FEAT_TAG_ANYWHITE is not enabled in any build.
Solution:   Remove the feature.

5 years agopatch 8.1.1039: MS-Windows build fails v8.1.1039
Bram Moolenaar [Fri, 22 Mar 2019 15:57:45 +0000 (16:57 +0100)]
patch 8.1.1039: MS-Windows build fails

Problem:    MS-Windows build fails.
Solution:   Remove dependency on arabic.h

5 years agopatch 8.1.1038: Arabic support excludes Farsi v8.1.1038
Bram Moolenaar [Fri, 22 Mar 2019 15:33:15 +0000 (16:33 +0100)]
patch 8.1.1038: Arabic support excludes Farsi

Problem:    Arabic support excludes Farsi.
Solution:   Add Farsi support to the Arabic support. (Ali Gholami Rudi,
            Ameretat Reith)

5 years agopatch 8.1.1037: memory usage test may still fail on some systems v8.1.1037
Bram Moolenaar [Fri, 22 Mar 2019 13:36:59 +0000 (14:36 +0100)]
patch 8.1.1037: memory usage test may still fail on some systems

Problem:    Memory usage test may still fail on some systems.
Solution:   Increase tolerance from 3% to 20%.

5 years agopatch 8.1.1036: quickfix function arguments are inconsistent v8.1.1036
Bram Moolenaar [Fri, 22 Mar 2019 13:16:06 +0000 (14:16 +0100)]
patch 8.1.1036: quickfix function arguments are inconsistent

Problem:    Quickfix function arguments are inconsistent.
Solution:   Pass a list pointer to more functions. (Yegappan Lakshmanan,
            closes #4149)

5 years agopatch 8.1.1035: prop_remove() second argument is not optional v8.1.1035
Bram Moolenaar [Fri, 22 Mar 2019 12:20:43 +0000 (13:20 +0100)]
patch 8.1.1035: prop_remove() second argument is not optional

Problem:    prop_remove() second argument is not optional.
Solution:   Fix argument count.  Use "buf" instead of "curbuf". (closes #4147)

5 years agopatch 8.1.1034: too many #ifdefs v8.1.1034
Bram Moolenaar [Fri, 22 Mar 2019 11:03:30 +0000 (12:03 +0100)]
patch 8.1.1034: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY.

5 years agopatch 8.1.1033: memory usage test may still fail on some systems v8.1.1033
Bram Moolenaar [Fri, 22 Mar 2019 10:33:09 +0000 (11:33 +0100)]
patch 8.1.1033: memory usage test may still fail on some systems

Problem:    Memory usage test may still fail on some systems. (Elimar
            Riesebieter)
Solution:   Increase tolerance from 1% to 3%.

5 years agopatch 8.1.1032: warnings from clang static analyzer v8.1.1032
Bram Moolenaar [Thu, 21 Mar 2019 20:45:34 +0000 (21:45 +0100)]
patch 8.1.1032: warnings from clang static analyzer

Problem:    Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution:   Fix relevant warnings.

5 years agopatch 8.1.1031: memory usage test may still fail v8.1.1031
Bram Moolenaar [Thu, 21 Mar 2019 20:16:36 +0000 (21:16 +0100)]
patch 8.1.1031: memory usage test may still fail

Problem:    Memory usage test may still fail.
Solution:   Drop the unused min value. (Christian Brabandt)

5 years agopatch 8.1.1030: quickfix function arguments are inconsistent v8.1.1030
Bram Moolenaar [Thu, 21 Mar 2019 20:12:49 +0000 (21:12 +0100)]
patch 8.1.1030: quickfix function arguments are inconsistent

Problem:    Quickfix function arguments are inconsistent.
Solution:   Pass a list pointer instead of info and index. (Yegappan
            Lakshmanan, closes #4135)

5 years agopatch 8.1.1029: DirectWrite doesn't take 'linespace' into account v8.1.1029
Bram Moolenaar [Thu, 21 Mar 2019 19:50:12 +0000 (20:50 +0100)]
patch 8.1.1029: DirectWrite doesn't take 'linespace' into account

Problem:    DirectWrite doesn't take 'linespace' into account.
Solution:   Include 'linespace' in the position. (Ken Takata, closes #4137)

5 years agopatch 8.1.1028: MS-Windows: memory leak when creating terminal fails v8.1.1028
Bram Moolenaar [Thu, 21 Mar 2019 18:58:00 +0000 (19:58 +0100)]
patch 8.1.1028: MS-Windows: memory leak when creating terminal fails

Problem:    MS-Windows: memory leak when creating terminal fails.
Solution:   Free the command. (Ken Takata, closes #4138)

5 years agopatch 8.1.1027: memory usage test sometimes fails v8.1.1027
Bram Moolenaar [Wed, 20 Mar 2019 21:45:01 +0000 (22:45 +0100)]
patch 8.1.1027: memory usage test sometimes fails

Problem:    Memory usage test sometimes fails.
Solution:   Use 80% of before.last as the lower limit. (Christian Brabandt)

5 years agopatch 8.1.1026: unused condition v8.1.1026
Bram Moolenaar [Wed, 20 Mar 2019 20:42:20 +0000 (21:42 +0100)]
patch 8.1.1026: unused condition

Problem:    Unused condition. (Coverity)
Solution:   Remove the condition.  Also remove unused #define.

5 years agopatch 8.1.1025: checking NULL pointer after addition v8.1.1025
Bram Moolenaar [Wed, 20 Mar 2019 20:18:34 +0000 (21:18 +0100)]
patch 8.1.1025: checking NULL pointer after addition

Problem:    Checking NULL pointer after addition. (Coverity)
Solution:   First check for NULL, then add the column.

5 years agopatch 8.1.1024: stray log calls in terminal code v8.1.1024
Bram Moolenaar [Wed, 20 Mar 2019 19:38:44 +0000 (20:38 +0100)]
patch 8.1.1024: stray log calls in terminal code

Problem:    Stray log calls in terminal code. (Christian Brabandt)
Solution:   Remove the calls.

5 years agopatch 8.1.1023: may use NULL pointer when indexing a blob v8.1.1023
Bram Moolenaar [Tue, 19 Mar 2019 22:04:17 +0000 (23:04 +0100)]
patch 8.1.1023: may use NULL pointer when indexing a blob

Problem:    May use NULL pointer when indexing a blob. (Coverity)
Solution:   Break out of loop after using index on blob

5 years agopatch 8.1.1022: may use NULL pointer when out of memory v8.1.1022
Bram Moolenaar [Tue, 19 Mar 2019 22:03:27 +0000 (23:03 +0100)]
patch 8.1.1022: may use NULL pointer when out of memory

Problem:    May use NULL pointer when out of memory. (Coverity)
Solution:   Check for blob_alloc() returning NULL.

5 years agopatch 8.1.1021: pyeval() and py3eval() leak memory v8.1.1021
Bram Moolenaar [Tue, 19 Mar 2019 21:22:55 +0000 (22:22 +0100)]
patch 8.1.1021: pyeval() and py3eval() leak memory

Problem:    pyeval() and py3eval() leak memory.
Solution:   Do not increase the reference count twice. (Ozaki Kiichi,
            closes #4129)

5 years agopatch 8.1.1020: compiler warning for Python3 interface v8.1.1020
Bram Moolenaar [Tue, 19 Mar 2019 21:11:41 +0000 (22:11 +0100)]
patch 8.1.1020: compiler warning for Python3 interface

Problem:    Compiler warning for Python3 interface.
Solution:   Add type cast. (Ozaki Kiichi, closes #4128, closes #4103)

5 years agopatch 8.1.1019: Lua: may garbage collect function reference in use v8.1.1019
Bram Moolenaar [Tue, 19 Mar 2019 20:59:19 +0000 (21:59 +0100)]
patch 8.1.1019: Lua: may garbage collect function reference in use

Problem:    Lua: may garbage collect function reference in use.
Solution:   Keep the function name instead of the typeval. Make luaV_setref()
            handle funcref objects. (Ozaki Kiichi, closes #4127)