]> granicus.if.org Git - vim/log
vim
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)

5 years agopatch 8.1.1018: window cleared when entering Terminal-Normal twice v8.1.1018
Bram Moolenaar [Tue, 19 Mar 2019 19:50:43 +0000 (20:50 +0100)]
patch 8.1.1018: window cleared when entering Terminal-Normal twice

Problem:    Window cleared when entering Terminal-Normal twice. (Epheien)
Solution:   Don't cleanup scrollback when there is no postponed scrollback.
            (Christian Brabandt, closes #4126)

5 years agopatch 8.1.1017: off-by-one error in filetype detection v8.1.1017
Bram Moolenaar [Sun, 17 Mar 2019 16:16:12 +0000 (17:16 +0100)]
patch 8.1.1017: off-by-one error in filetype detection

Problem:    Off-by-one error in filetype detection.
Solution:   Also check the last line of the file.

5 years agoUpdate runtime files.
Bram Moolenaar [Sun, 17 Mar 2019 16:13:16 +0000 (17:13 +0100)]
Update runtime files.

5 years agopatch 8.1.1016: MS-Windows: No color in shell when using "!" in 'guioptions v8.1.1016
Bram Moolenaar [Sun, 17 Mar 2019 15:59:44 +0000 (16:59 +0100)]
patch 8.1.1016: MS-Windows: No color in shell when using "!" in 'guioptions

Problem:    MS-Windows: No color in shell when using "!" in 'guioptions.
Solution:   Don't stop termcap when using a terminal window for the shell.
            (vim-jp, closes #4117)

5 years agopatch 8.1.1015: quickfix buffer shows up in list, can't get buffer number v8.1.1015
Bram Moolenaar [Sun, 17 Mar 2019 15:39:46 +0000 (16:39 +0100)]
patch 8.1.1015: quickfix buffer shows up in list, can't get buffer number

Problem:    Quickfix buffer shows up in list, can't get buffer number.
Solution:   Make the quickfix buffer unlisted when the quickfix window is
            closed.  get the quickfix buffer number with getqflist().
            (Yegappan Lakshmanan, closes #4113)

5 years agopatch 8.1.1014: MS-Windows: /analyze only defined for non-debug version v8.1.1014
Bram Moolenaar [Sun, 17 Mar 2019 14:47:25 +0000 (15:47 +0100)]
patch 8.1.1014: MS-Windows: /analyze only defined for non-debug version

Problem:    MS-Windows: /analyze only defined for non-debug version.
Solution:   Move adding of /analyze up. (Taro Muraoka, closes #4114)

5 years agopatch 8.1.1013: MS-Windows: Scrolling fails when dividing the screen v8.1.1013
Bram Moolenaar [Sun, 17 Mar 2019 13:54:53 +0000 (14:54 +0100)]
patch 8.1.1013: MS-Windows: Scrolling fails when dividing the screen

Problem:    MS-Windows: Scrolling fails when dividing the screen.
Solution:   Position the cursor before calling ScrollConsoleScreenBuffer().
            (Nobuhiro Takasaki, closes #4115)

5 years agopatch 8.1.1012: memory leak with E461 v8.1.1012
Bram Moolenaar [Sun, 17 Mar 2019 13:43:31 +0000 (14:43 +0100)]
patch 8.1.1012: memory leak with E461

Problem:    Memory leak with E461.
Solution:   Clear the typeval. (Dominique Pelle, closes #4111)

5 years agopatch 8.1.1011: indent from autoindent not removed from blank line v8.1.1011
Bram Moolenaar [Sat, 16 Mar 2019 17:11:07 +0000 (18:11 +0100)]
patch 8.1.1011: indent from autoindent not removed from blank line

Problem:    Indent from autoindent not removed from blank line. (Daniel Hahler)
Solution:   Do not reset did_ai when text follows. (closes #4119)

5 years agopatch 8.1.1010: Lua interface leaks memory v8.1.1010
Bram Moolenaar [Sat, 16 Mar 2019 15:38:41 +0000 (16:38 +0100)]
patch 8.1.1010: Lua interface leaks memory

Problem:    Lua interface leaks memory.
Solution:   Clear typeval after copying it.

5 years agopatch 8.1.1009: MS-Windows: some text is not baseline aligned v8.1.1009
Bram Moolenaar [Sat, 16 Mar 2019 14:24:42 +0000 (15:24 +0100)]
patch 8.1.1009: MS-Windows: some text is not baseline aligned

Problem:    MS-Windows: some text is not baseline aligned.
Solution:   Use bottom alignment. (Taro Muraoka, closes #4116, closes #1520)

5 years agopatch 8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version v8.1.1008
Bram Moolenaar [Thu, 14 Mar 2019 20:37:19 +0000 (21:37 +0100)]
patch 8.1.1008: MS-Windows: HAVE_STDINT_H only defined for non-debug version

Problem:    MS-Windows: HAVE_STDINT_H only defined for non-debug version.
Solution:   Move definition of HAVE_STDINT_H up. (Taro Muraoka, closes #4109)

5 years agopatch 8.1.1007: using closure may consume a lot of memory v8.1.1007
Bram Moolenaar [Thu, 14 Mar 2019 12:43:24 +0000 (13:43 +0100)]
patch 8.1.1007: using closure may consume a lot of memory

Problem:    Using closure may consume a lot of memory.
Solution:   unreference items that are no longer needed. Add a test. (Ozaki
            Kiichi, closes #3961)

5 years agopatch 8.1.1006: repeated code in quickfix support v8.1.1006
Bram Moolenaar [Wed, 13 Mar 2019 05:51:53 +0000 (06:51 +0100)]
patch 8.1.1006: repeated code in quickfix support

Problem:    Repeated code in quickfix support.
Solution:   Move code to functions. (Yegappan Lakshmanan, closes #4091)

6 years agopatch 8.1.1005: test fails because t_F2 is not set
Bram Moolenaar [Mon, 11 Mar 2019 07:05:50 +0000 (08:05 +0100)]
patch 8.1.1005: test fails because t_F2 is not set

Problem:    Test fails because t_F2 is not set.
Solution:   Add try-catch.

6 years agopatch 8.1.1004: function "luaV_setref()" not covered with tests v8.1.1004 v8.1.1005
Bram Moolenaar [Sun, 10 Mar 2019 08:48:59 +0000 (09:48 +0100)]
patch 8.1.1004: function "luaV_setref()" not covered with tests

Problem:    Function "luaV_setref()" not covered with tests.
Solution:   Add a test. (Dominique Pelle, closes #4089)

6 years agopatch 8.1.1003: playing back recorded key sequence mistakes key code v8.1.1003
Bram Moolenaar [Sun, 10 Mar 2019 08:41:51 +0000 (09:41 +0100)]
patch 8.1.1003: playing back recorded key sequence mistakes key code

Problem:    Playing back recorded key sequence mistakes key code.
Solution:   Insert a <Nop> after the <Esc>. (closes #4068)

6 years agopatch 8.1.1002: "gf" does not always work when URL has a port number v8.1.1002
Bram Moolenaar [Sat, 9 Mar 2019 11:32:56 +0000 (12:32 +0100)]
patch 8.1.1002: "gf" does not always work when URL has a port number

Problem:    "gf" does not always work when URL has a port number. (Jakob
            Schöttl)
Solution:   When a URL is recognized also accept ":". (closes #4082)

6 years agopatch 8.1.1001: Visual area not correct when using 'cursorline' v8.1.1001
Bram Moolenaar [Sat, 9 Mar 2019 10:46:15 +0000 (11:46 +0100)]
patch 8.1.1001: Visual area not correct when using 'cursorline'

Problem:    Visual area not correct when using 'cursorline'.
Solution:   Update w_last_cursorline also in Visual mode. (Hirohito Higashi,
            closes #4086)

6 years agopatch 8.1.1000: indenting is off v8.1.1000
Bram Moolenaar [Sat, 9 Mar 2019 10:23:58 +0000 (11:23 +0100)]
patch 8.1.1000: indenting is off

Problem:    Indenting is off.
Solution:   Make indenting consistent and update comments. (Ozaki Kiichi,
            closes #4079)

6 years agopatch 8.1.0999: use register one too often and not properly tested v8.1.0999
Bram Moolenaar [Fri, 8 Mar 2019 08:50:52 +0000 (09:50 +0100)]
patch 8.1.0999: use register one too often and not properly tested

Problem:    Use register one too often and not properly tested.
Solution:   Do not always use register one when specifying a register.
            (closes #4085)  Add more tests.

6 years agopatch 8.1.0998: getcurpos() unexpectedly changes "curswant" v8.1.0998
Bram Moolenaar [Thu, 7 Mar 2019 10:25:32 +0000 (11:25 +0100)]
patch 8.1.0998: getcurpos() unexpectedly changes "curswant"

Problem:    getcurpos() unexpectedly changes "curswant".
Solution:   Save and restore "curswant". (closes #4069)