]> granicus.if.org Git - vim/log
vim
14 months agopatch 9.0.1337: yuck files are not recognized v9.0.1337
Amaan Qureshi [Tue, 21 Feb 2023 15:18:50 +0000 (15:18 +0000)]
patch 9.0.1337: yuck files are not recognized

Problem:    Yuck files are not recognized.
Solution:   Add a filetype pattern for yuck files. (Amaan Qureshi,
            closes #12033)

14 months agopatch 9.0.1336: functions without arguments are not always declared properly v9.0.1336
Yegappan Lakshmanan [Tue, 21 Feb 2023 14:27:41 +0000 (14:27 +0000)]
patch 9.0.1336: functions without arguments are not always declared properly

Problem:    Functions without arguments are not always declared properly.
Solution:   Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)

14 months agopatch 9.0.1335: no test for bad use of spaces in help files v9.0.1335
h-east [Tue, 21 Feb 2023 13:33:17 +0000 (13:33 +0000)]
patch 9.0.1335: no test for bad use of spaces in help files

Problem:    No test for bad use of spaces in help files.
Solution:   Add checks for use of spaces in help files.  Ignore intentional
            spaces. (Hirohito Higashi, closes #11952)

14 months agopatch 9.0.1334: using tt_member for the class leads to mistakes v9.0.1334
Bram Moolenaar [Tue, 21 Feb 2023 12:38:51 +0000 (12:38 +0000)]
patch 9.0.1334: using tt_member for the class leads to mistakes

Problem:    Using tt_member for the class leads to mistakes.
Solution:   Add a separate tt_class field.

14 months agoUpdate runtime files.
Bram Moolenaar [Mon, 20 Feb 2023 20:44:55 +0000 (20:44 +0000)]
Update runtime files.

14 months agopatch 9.0.1333: when redo'ing twice <ScriptCmd> may not get the script ID v9.0.1333
Bram Moolenaar [Mon, 20 Feb 2023 18:44:33 +0000 (18:44 +0000)]
patch 9.0.1333: when redo'ing twice <ScriptCmd> may not get the script ID

Problem:    When redo'ing twice <ScriptCmd> may not get the script ID.
Solution:   When "last_used_map" map is not set use "last_used_sid".
            (closes #11930)

14 months agopatch 9.0.1332: crash when using buffer-local user command in cmdline window v9.0.1332
zeertzjq [Mon, 20 Feb 2023 15:25:13 +0000 (15:25 +0000)]
patch 9.0.1332: crash when using buffer-local user command in cmdline window

Problem:    Crash when using buffer-local user command in cmdline window.
            (Karl Yngve LervĂ„g)
Solution:   Use the right buffer to find the user command. (closes #12030,
            closes #12029)

14 months agopatch 9.0.1331: illegal memory access when using :ball in Visual mode v9.0.1331
Pavel Mayorov [Mon, 20 Feb 2023 14:35:20 +0000 (14:35 +0000)]
patch 9.0.1331: illegal memory access when using :ball in Visual mode

Problem:    Illegal memory access when using :ball in Visual mode.
Solution:   Stop Visual mode when using :ball. (Pavel Mayorov, closes #11923)

14 months agopatch 9.0.1330: handling new value of an option has a long "else if" chain v9.0.1330
Yegappan Lakshmanan [Mon, 20 Feb 2023 12:16:39 +0000 (12:16 +0000)]
patch 9.0.1330: handling new value of an option has a long "else if" chain

Problem:    Handling new value of an option has a long "else if" chain.
Solution:   Use a function pointer. (Yegappan Lakshmanan, closes #12015)

14 months agopatch 9.0.1329: completion of map includes simplified ones v9.0.1329
zeertzjq [Sun, 19 Feb 2023 21:00:31 +0000 (21:00 +0000)]
patch 9.0.1329: completion of map includes simplified ones

Problem:    Completion of map includes simplified ones.
Solution:   Do not complete simplified mappings. (closes #12013)

14 months agopatch 9.0.1328: error when using "none" for GUI color is confusing v9.0.1328
Bram Moolenaar [Sun, 19 Feb 2023 20:49:38 +0000 (20:49 +0000)]
patch 9.0.1328: error when using "none" for GUI color is confusing

Problem:    Error when using "none" for GUI color is confusing.
Solution:   Mention that the name should perhaps be "NONE". (closes #1400)

14 months agopatch 9.0.1327: cursor in wrong position below line with virtual text below v9.0.1327
Bram Moolenaar [Sun, 19 Feb 2023 18:36:41 +0000 (18:36 +0000)]
patch 9.0.1327: cursor in wrong position below line with virtual text below

Problem:    Cursor in wrong position below line with virtual text below ending
            in multi-byte character.
Solution:   When checking for last character take care of multi-byte
            character.

14 months agopatch 9.0.1326: relative line number not updated with virtual text above v9.0.1326
Bram Moolenaar [Sun, 19 Feb 2023 14:34:37 +0000 (14:34 +0000)]
patch 9.0.1326: relative line number not updated with virtual text above

Problem:    Relative line number not updated with virtual text above.
Solution:   Adjust the row for the line number for virtual text above.
            (closes #12004)

14 months agopatch 9.0.1325: 'colorcolumn' highlight wrong with virtual text above v9.0.1325
Bram Moolenaar [Sun, 19 Feb 2023 14:16:02 +0000 (14:16 +0000)]
patch 9.0.1325: 'colorcolumn' highlight wrong with virtual text above

Problem:    'colorcolumn' highlight wrong with virtual text above.
Solution:   Adjust column of 'colorcolumn' for text propertly. (closes #12004)

14 months agopatch 9.0.1324: "gj" and "gk" do not move correctly over a closed fold v9.0.1324
Luuk van Baal [Sat, 18 Feb 2023 20:15:44 +0000 (20:15 +0000)]
patch 9.0.1324: "gj" and "gk" do not move correctly over a closed fold

Problem:    "gj" and "gk" do not move correctly over a closed fold.
Solution:   Use the same code as used for "j"/"k" to go to the next/previous
            line. (Luuk van Baal, closes #12007)

14 months agopatch 9.0.1323: build failure with +eval feature v9.0.1323
Bram Moolenaar [Sat, 18 Feb 2023 19:49:32 +0000 (19:49 +0000)]
patch 9.0.1323: build failure with +eval feature

Problem:    Build failure with +eval feature.
Solution:   Add missing part for using funcerror_T.

14 months agopatch 9.0.1322: crash when indexing "any" which is an object v9.0.1322
Bram Moolenaar [Sat, 18 Feb 2023 18:38:37 +0000 (18:38 +0000)]
patch 9.0.1322: crash when indexing "any" which is an object

Problem:    Crash when indexing "any" which is an object.
Solution:   Check the index is a number.  Do not check the member type of an
            object.  (closes #12019)

14 months agopatch 9.0.1321: vimscript test fails where using {expr} syntax v9.0.1321
Bram Moolenaar [Sat, 18 Feb 2023 15:31:53 +0000 (15:31 +0000)]
patch 9.0.1321: vimscript test fails where using {expr} syntax

Problem:    vimscript test fails where using {expr} syntax.
Solution:   Only return FCERR_FAILED in call_user_func() for Vim9 script.

14 months agopatch 9.0.1320: checking the type of a null object causes a crash v9.0.1320
Bram Moolenaar [Sat, 18 Feb 2023 14:42:44 +0000 (14:42 +0000)]
patch 9.0.1320: checking the type of a null object causes a crash

Problem:    Checking the type of a null object causes a crash.
Solution:   Don't try to get the class of a null object. (closes #12005)
            Handle error from calling a user function better.

15 months agopatch 9.0.1319: PRQL files are not recognized v9.0.1319
Matthias Queitsch [Sat, 18 Feb 2023 12:04:37 +0000 (12:04 +0000)]
patch 9.0.1319: PRQL files are not recognized

Problem:    PRQL files are not recognized.
Solution:   Add a filetype pattern for PRQL files. (Matthias Queitsch,
            closes #12018)

15 months agopatch 9.0.1318: code style test fails v9.0.1318
Bram Moolenaar [Fri, 17 Feb 2023 21:29:57 +0000 (21:29 +0000)]
patch 9.0.1318: code style test fails

Problem:    Code style test fails.
Solution:   Remove trailing white space.

15 months agopatch 9.0.1317: crash when using an unset object variable v9.0.1317
Bram Moolenaar [Fri, 17 Feb 2023 21:08:50 +0000 (21:08 +0000)]
patch 9.0.1317: crash when using an unset object variable

Problem:    Crash when using an unset object variable.
Solution:   Give an error instead. (closes #12005)

15 months agopatch 9.0.1316: MS-Windows: vimfiles dir created with admin group v9.0.1316
Christopher Plewright [Fri, 17 Feb 2023 20:04:51 +0000 (20:04 +0000)]
patch 9.0.1316: MS-Windows: vimfiles dir created with admin group

Problem:    MS-Windows: vimfiles dir created with admin group.
Solution:   Use ShellExecAsUser to create the vimfiles directory. (Christopher
            Plewright, Ken Takata, closes #12000, closes #11888)

15 months agopatch 9.0.1315: escaping for completion of map command not properly tested v9.0.1315
zeertzjq [Fri, 17 Feb 2023 16:40:20 +0000 (16:40 +0000)]
patch 9.0.1315: escaping for completion of map command not properly tested

Problem:    Escaping for completion of map command not properly tested.
Solution:   Add a few test cases. (closes #12009)

15 months agopatch 9.0.1314: :messages behavior depends on 'fileformat' of current buffer v9.0.1314
cero1988 [Thu, 16 Feb 2023 15:03:12 +0000 (15:03 +0000)]
patch 9.0.1314: :messages behavior depends on 'fileformat' of current buffer

Problem:    :messages behavior depends on 'fileformat' of current buffer.
Solution:   Pass the buffer pointer to where it is used. (Mirko Ceroni,
            closes #11995)

15 months agopatch 9.0.1313: some settings use the current codepage instead of 'encoding' v9.0.1313
K.Takata [Wed, 15 Feb 2023 19:13:43 +0000 (19:13 +0000)]
patch 9.0.1313: some settings use the current codepage instead of 'encoding'

Problem:    Some settings use the current codepage instead of 'encoding'.
Solution:   Adjust how options are initialized. (Ken Takata, closes #11992)

15 months agopatch 9.0.1312: Cursor position wrong when splitting window in insert mode v9.0.1312
Luuk van Baal [Wed, 15 Feb 2023 16:45:27 +0000 (16:45 +0000)]
patch 9.0.1312: Cursor position wrong when splitting window in insert mode

Problem:    Cursor position wrong when splitting window in insert mode.
Solution:   Pass the actual mode to win_fix_cursor(). (Luuk van Baal,
            closes #11999,

15 months agopatch 9.0.1311: Coverity warns for using a NULL pointer v9.0.1311
Bram Moolenaar [Wed, 15 Feb 2023 14:26:25 +0000 (14:26 +0000)]
patch 9.0.1311: Coverity warns for using a NULL pointer

Problem:    Coverity warns for using a NULL pointer.
Solution:   Use "empty_option" instead of NULL.

15 months agopatch 9.0.1310: 'splitkeep' test has failures v9.0.1310
Bram Moolenaar [Tue, 14 Feb 2023 21:56:42 +0000 (21:56 +0000)]
patch 9.0.1310: 'splitkeep' test has failures

Problem:    'splitkeep' test has failures.
Solution:   Adjust expected cursor line position.

15 months agopatch 9.0.1309: scrolling two lines with even line count and 'scrolloff' set v9.0.1309
Bram Moolenaar [Tue, 14 Feb 2023 17:41:20 +0000 (17:41 +0000)]
patch 9.0.1309: scrolling two lines with even line count and 'scrolloff' set

Problem:    Scrolling two lines with even line count and 'scrolloff' set.
Solution:   Adjust how the topline is computed. (closes #10545)

15 months agopatch 9.0.1308: the code for setting options is too complicated v9.0.1308
Yegappan Lakshmanan [Tue, 14 Feb 2023 13:07:18 +0000 (13:07 +0000)]
patch 9.0.1308: the code for setting options is too complicated

Problem:    The code for setting options is too complicated.
Solution:   Refactor the code for setting options. (Yegappan Lakshmanan,
            closes #11989)

15 months agopatch 9.0.1307: setting 'formatoptions' with :let doesn't check for errors v9.0.1307
Yegappan Lakshmanan [Mon, 13 Feb 2023 16:10:04 +0000 (16:10 +0000)]
patch 9.0.1307: setting 'formatoptions' with :let doesn't check for errors

Problem:    Setting 'formatoptions' with :let doesn't check for errors.
Solution:   Pass "errbuf" to set_string_option(). (Yegappan Lakshmanan,
            closes #11974, closes #11972)

15 months agopatch 9.0.1306: no regression test for solved problem of #11959 v9.0.1306
Bram Moolenaar [Sun, 12 Feb 2023 18:11:21 +0000 (18:11 +0000)]
patch 9.0.1306: no regression test for solved problem of #11959

Problem:    No regression test for solved problem of #11959.
Solution:   Add a test, also with 'list' set. (closes #11959)

15 months agopatch 9.0.1305: cursor in wrong line with virtual text above v9.0.1305
Bram Moolenaar [Sun, 12 Feb 2023 18:03:57 +0000 (18:03 +0000)]
patch 9.0.1305: cursor in wrong line with virtual text above

Problem:    Cursor in wrong line with virtual text above.
Solution:   Count extra line for text property above/below. (closes #11959)

15 months agopatch 9.0.1304: "$" for 'list' option displayed in wrong position v9.0.1304
Bram Moolenaar [Sun, 12 Feb 2023 14:42:15 +0000 (14:42 +0000)]
patch 9.0.1304: "$" for 'list' option displayed in wrong position

Problem:    "$" for 'list' option displayed in wrong position when there are
            text properties.
Solution:   Adjust logic for order of displayed items. (closes #11959)

15 months agopatch 9.0.1303: Motif: scrollbar width/height wrong when maximized v9.0.1303
qsmodo [Sat, 11 Feb 2023 19:12:57 +0000 (19:12 +0000)]
patch 9.0.1303: Motif: scrollbar width/height wrong when maximized

Problem:    Motif: scrollbar width/height wrong when maximized.
Solution:   Set the width/height when creating the scrollbar. (closes #11946)

15 months agopatch 9.0.1302: on a Belgian keyboard CTRL-] does not work v9.0.1302
Bram Moolenaar [Sat, 11 Feb 2023 16:15:50 +0000 (16:15 +0000)]
patch 9.0.1302: on a Belgian keyboard CTRL-] does not work

Problem:    On a Belgian keyboard CTRL-] does not work.
Solution:   Translate CTRL-$ into CTRL-]. (closes #11831)

15 months agopatch 9.0.1301: virtual text below empty line not displayed v9.0.1301
Bram Moolenaar [Sat, 11 Feb 2023 13:49:01 +0000 (13:49 +0000)]
patch 9.0.1301: virtual text below empty line not displayed

Problem:    Virtual text below empty line not displayed.
Solution:   Adjust flags and computations. (closes #11959)

15 months agopatch 9.0.1300: 'statusline' only supports one "%=" item v9.0.1300
Yegappan Lakshmanan [Sat, 11 Feb 2023 11:15:25 +0000 (11:15 +0000)]
patch 9.0.1300: 'statusline' only supports one "%=" item

Problem:    'statusline' only supports one "%=" item.
Solution:   Add support for multiple "%=" items. (TJ DeVries, Yegappan
            Lakshmanan, closes #11970, closes #11965)

15 months agopatch 9.0.1299: change for triggering incsearch not sufficiently tested v9.0.1299
zeertzjq [Sat, 11 Feb 2023 10:34:07 +0000 (10:34 +0000)]
patch 9.0.1299: change for triggering incsearch not sufficiently tested

Problem:    Change for triggering incsearch not sufficiently tested.
Solution:   Add a test case.  Simplify the code. (closes #11971)

15 months agopatch 9.0.1298: inserting register on the cmdline does not trigger incsearch v9.0.1298
K.Takata [Fri, 10 Feb 2023 21:38:44 +0000 (21:38 +0000)]
patch 9.0.1298: inserting register on the cmdline does not trigger incsearch

Problem:    Inserting a register on the command line does not trigger
            incsearch or update hlsearch.
Solution:   Have cmdline_insert_reg() return CMDLINE_CHANGED when appropriate
            and handle it correctly. (Ken Takata, closes #11960)

15 months agopatch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail v9.0.1297
WuerfelDev [Fri, 10 Feb 2023 20:49:08 +0000 (20:49 +0000)]
patch 9.0.1297: wrong value for $LC_CTYPE makes the environ test fail

Problem:    Wrong value for $LC_CTYPE makes the environ test fail.
Solution:   Unset $LC_CTYPE when running tests. (closes #11963)

15 months agopatch 9.0.1296: calling an object method with arguments does not work v9.0.1296
Bram Moolenaar [Fri, 10 Feb 2023 15:52:25 +0000 (15:52 +0000)]
patch 9.0.1296: calling an object method with arguments does not work

Problem:    Calling an object method with arguments does not work. (Ernie
            Rael)
Solution:   Take the argument count into account when looking up the object.
            (closes #11911)

15 months agopatch 9.0.1295: the option initialization function is too long v9.0.1295
Yegappan Lakshmanan [Fri, 10 Feb 2023 14:50:31 +0000 (14:50 +0000)]
patch 9.0.1295: the option initialization function is too long

Problem:    The option initialization function is too long.
Solution:   Move code to separate functions. (Yegappan Lakshmanan,
            closes #11966)

15 months agopatch 9.0.1294: the set_bool_option() function is too long v9.0.1294
Yegappan Lakshmanan [Thu, 9 Feb 2023 22:08:52 +0000 (22:08 +0000)]
patch 9.0.1294: the set_bool_option() function is too long

Problem:    The set_bool_option() function is too long.
Solution:   Move code to separate functions. (Yegappan Lakshmanan,
            closes #11964)

15 months agopatch 9.0.1293: the set_num_option() is too long v9.0.1293
Yegappan Lakshmanan [Thu, 9 Feb 2023 12:23:17 +0000 (12:23 +0000)]
patch 9.0.1293: the set_num_option() is too long

Problem:    The set_num_option() is too long.
Solution:   Move code to separate functions. (Yegappan Lakshmanan,
            closes #11954)

15 months agopatch 9.0.1292: :defer may call the wrong method for an object v9.0.1292
Bram Moolenaar [Wed, 8 Feb 2023 20:55:27 +0000 (20:55 +0000)]
patch 9.0.1292: :defer may call the wrong method for an object

Problem:    :defer may call the wrong method for an object. (Ernie Rael)
Solution:   When en object is from a class that extends or implements, figure
            out the method to call at runtime. (closes #11910)

15 months agopatch 9.0.1291: Move language files are not recognized v9.0.1291
Amaan Qureshi [Tue, 7 Feb 2023 19:37:32 +0000 (19:37 +0000)]
patch 9.0.1291: Move language files are not recognized

Problem:    Move language files are not recognized.
Solution:   Recognize Move language files. (Amaan Qureshi, closes #11947)

15 months agopatch 9.0.1290: CTRL-N and -P on cmdline don't trigger CmdlineChanged v9.0.1290
zeertzjq [Mon, 6 Feb 2023 20:58:09 +0000 (20:58 +0000)]
patch 9.0.1290: CTRL-N and -P on cmdline don't trigger CmdlineChanged

Problem:    CTRL-N and -P on cmdline don't trigger CmdlineChanged.
Solution:   Jump to cmdline_changed instead of cmdline_not_changed.
            (closes #11956)

15 months agopatch 9.0.1289: a newer version of clang can be used for CI v9.0.1289
Philip H [Mon, 6 Feb 2023 20:22:48 +0000 (20:22 +0000)]
patch 9.0.1289: a newer version of clang can be used for CI

Problem:    A newer version of clang can be used for CI.
Solution:   Switch from clang-15 to clang-16. (closes #11577)

15 months agopatch 9.0.1288: FunC files are not recognized v9.0.1288
Amaan Qureshi [Mon, 6 Feb 2023 19:32:07 +0000 (19:32 +0000)]
patch 9.0.1288: FunC files are not recognized

Problem:    FunC files are not recognized.
Solution:   Recognize FunC files. (Amaan Qureshi, closes #11949)

15 months agopatch 9.0.1287: with the Kitty key protocl Esc with NumLock cannot be mapped v9.0.1287
Bram Moolenaar [Mon, 6 Feb 2023 17:46:37 +0000 (17:46 +0000)]
patch 9.0.1287: with the Kitty key protocl Esc with NumLock cannot be mapped

Problem:    With the Kitty key protocl Esc with NumLock cannot be mapped.
Solution:   Also use K_ESC when there is a modifier. (closes #11811)

15 months agopatch 9.0.1286: Coverity warns for using a NULL pointer v9.0.1286
Bram Moolenaar [Mon, 6 Feb 2023 16:40:49 +0000 (16:40 +0000)]
patch 9.0.1286: Coverity warns for using a NULL pointer

Problem:    Coverity warns for using a NULL pointer.
Solution:   Bail out whan "varp" is NULL.

15 months agopatch 9.0.1285: various small problems v9.0.1285
Bram Moolenaar [Sun, 5 Feb 2023 18:00:42 +0000 (18:00 +0000)]
patch 9.0.1285: various small problems

Problem:    Various small problems.
Solution:   Adjust white space and comments.

15 months agopatch 9.0.1284: compiler warnings for uninitialized variables v9.0.1284
Bram Moolenaar [Sun, 5 Feb 2023 17:04:50 +0000 (17:04 +0000)]
patch 9.0.1284: compiler warnings for uninitialized variables

Problem:    Compiler warnings for uninitialized variables. (Tony Mechelynck)
Solution:   Add variable initializations.

15 months agopatch 9.0.1283: the code for setting options is too complicated v9.0.1283
Yegappan Lakshmanan [Sun, 5 Feb 2023 16:02:35 +0000 (16:02 +0000)]
patch 9.0.1283: the code for setting options is too complicated

Problem:    The code for setting options is too complicated.
Solution:   Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
            Russell, closes #11945)

15 months agopatch 9.0.1282: Ron files are not recognized v9.0.1282
Amaan Qureshi [Sun, 5 Feb 2023 14:47:46 +0000 (14:47 +0000)]
patch 9.0.1282: Ron files are not recognized

Problem:    Ron files are not recognized.
Solution:   Recognize Ron files. (Amaan Qureshi, closes #11948)

15 months agopatch 9.0.1281: Cadence files are not recognized v9.0.1281
Janez Podhostnik [Sun, 5 Feb 2023 13:01:40 +0000 (13:01 +0000)]
patch 9.0.1281: Cadence files are not recognized

Problem:    Cadence files are not recognized.
Solution:   Recognize Cadence files. (Janez Podhostnik, closes #11951)

15 months agopatch 9.0.1280: inssufficient testing for what 9.0.1265 fixes v9.0.1280
Bram Moolenaar [Sat, 4 Feb 2023 15:45:27 +0000 (15:45 +0000)]
patch 9.0.1280: inssufficient testing for what 9.0.1265 fixes

Problem:    Inssufficient testing for what 9.0.1265 fixes.
Solution:   Add a couple of test cases. (issue #11885)

15 months agopatch 9.0.1279: display shows lines scrolled down erroneously v9.0.1279
Bram Moolenaar [Sat, 4 Feb 2023 13:57:55 +0000 (13:57 +0000)]
patch 9.0.1279: display shows lines scrolled down erroneously

Problem:    Display shows lines scrolled down erroneously. (Yishai Lerner)
Solution:   Do not change "wl_lnum" at index zero. (closes #11938)

15 months agopatch 9.0.1278: go.work.sum files are not recognized v9.0.1278
Amaan Qureshi [Sat, 4 Feb 2023 12:12:36 +0000 (12:12 +0000)]
patch 9.0.1278: go.work.sum files are not recognized

Problem:    go.work.sum files are not recognized.
Solution:   Recognize go.work.sum files as the gosum filetype. (Amaan Qureshi,
            closes #11940)

15 months agopatch 9.0.1277: cursor may move with autocmd in Visual mode v9.0.1277
zeertzjq [Sat, 4 Feb 2023 10:58:34 +0000 (10:58 +0000)]
patch 9.0.1277: cursor may move with autocmd in Visual mode

Problem:    Cursor may move with autocmd in Visual mode.
Solution:   Restore "VIsual_active" before calling check_cursor().
            (closes #11939)

15 months agopatch 9.0.1276: some mappings with Meta and Shift do not work v9.0.1276
Bram Moolenaar [Fri, 3 Feb 2023 12:28:07 +0000 (12:28 +0000)]
patch 9.0.1276: some mappings with Meta and Shift do not work

Problem:    Some mappings with Meta and Shift do not work.
Solution:   Apply the Shift modifier to the key. (issue #11913)

15 months agopatch 9.0.1275: the code for setting options is too complicated v9.0.1275
Yegappan Lakshmanan [Thu, 2 Feb 2023 16:34:11 +0000 (16:34 +0000)]
patch 9.0.1275: the code for setting options is too complicated

Problem:    The code for setting options is too complicated.
Solution:   Refactor the do_set() function. (Yegappan Lakshmanan, Lewis
            Russell, closes #11932)

15 months agoUpdate runtime files.
Bram Moolenaar [Thu, 2 Feb 2023 13:59:48 +0000 (13:59 +0000)]
Update runtime files.

15 months agopatch 9.0.1274: FIRRTL files are not recognized v9.0.1274
Amaan Qureshi [Thu, 2 Feb 2023 13:30:13 +0000 (13:30 +0000)]
patch 9.0.1274: FIRRTL files are not recognized

Problem:    FIRRTL files are not recognized.
Solution:   Add a pattern for FIRRTL files. (Amaan Qureshi, closes #11931)

15 months agopatch 9.0.1273: "1v" may select block with wrong size v9.0.1273
Bram Moolenaar [Wed, 1 Feb 2023 17:33:18 +0000 (17:33 +0000)]
patch 9.0.1273: "1v" may select block with wrong size

Problem:    "1v" may select block with wrong size. (Evgeni Chasnovski)
Solution:   Compute "curswant" in the right line. (closes #11925)

15 months agopatch 9.0.1272: typo in pattern for filetype detection v9.0.1272
zeertzjq [Wed, 1 Feb 2023 15:31:23 +0000 (15:31 +0000)]
patch 9.0.1272: typo in pattern for filetype detection

Problem:    Typo in pattern for filetype detection.
Solution:   Fix the typo. (closes #11924)

15 months agopatch 9.0.1271: using sizeof() and subtract array size is tricky v9.0.1271
zeertzjq [Wed, 1 Feb 2023 13:11:15 +0000 (13:11 +0000)]
patch 9.0.1271: using sizeof() and subtract array size is tricky

Problem:    Using sizeof() and subtract array size is tricky.
Solution:   Use offsetof() instead. (closes #11926)

15 months agopatch 9.0.1270: crash when using search stat in narrow screen v9.0.1270
zeertzjq [Tue, 31 Jan 2023 21:13:38 +0000 (21:13 +0000)]
patch 9.0.1270: crash when using search stat in narrow screen

Problem:    Crash when using search stat in narrow screen.
Solution:   Check length of message. (closes #11921)

15 months agopatch 9.0.1269: channel test often fails on Mac OS v9.0.1269
Bram Moolenaar [Tue, 31 Jan 2023 21:01:08 +0000 (21:01 +0000)]
patch 9.0.1269: channel test often fails on Mac OS

Problem:    Channel test often fails on Mac OS.
Solution:   Increase the wait time from one to 15 milliseconds. (D. Ben
            Knoble, closes #11894)

15 months agopatch 9.0.1268: .clangd and .stylelintrc files don't get a filetype v9.0.1268
Mark Skelton [Tue, 31 Jan 2023 18:57:17 +0000 (18:57 +0000)]
patch 9.0.1268: .clangd and .stylelintrc files don't get a filetype

Problem:    .clangd and .stylelintrc files don't get a filetype.
Solution:   Use yaml for .clangd and json for .stylelintrc files. (Mark
            Skelton, closes #11916)

15 months agopatch 9.0.1267: the did_set_string_option function is too long v9.0.1267
Yegappan Lakshmanan [Tue, 31 Jan 2023 13:25:58 +0000 (13:25 +0000)]
patch 9.0.1267: the did_set_string_option function is too long

Problem:    The did_set_string_option function is too long.
Solution:   Further cleanup of handling string options.  (Yegappan Lakshmanan,
            Lewis Russell, closes #11920)

15 months agopatch 9.0.1266: error for space before ": type" is inconsistent v9.0.1266
Bram Moolenaar [Mon, 30 Jan 2023 21:12:34 +0000 (21:12 +0000)]
patch 9.0.1266: error for space before ": type" is inconsistent

Problem:    Error for space before ": type" is inconsistent.
Solution:   Give E1059 in more places. (closes #11868)

15 months agopatch 9.0.1265: using an interface method may give a compilation error v9.0.1265
Bram Moolenaar [Mon, 30 Jan 2023 20:24:23 +0000 (20:24 +0000)]
patch 9.0.1265: using an interface method may give a compilation error

Problem:    Using an interface method may give a compilation error.
Solution:   Do not try to compile the body of a method of an interface.
            (closes #11885)

15 months agopatch 9.0.1264: Motif: compiler warning for unused argument v9.0.1264
Bram Moolenaar [Mon, 30 Jan 2023 19:26:24 +0000 (19:26 +0000)]
patch 9.0.1264: Motif: compiler warning for unused argument

Problem:    Motif: compiler warning for unused argument.
Solution:   Add "UNUSED".

15 months agopatch 9.0.1263: KDL files are not recognized v9.0.1263
Amaan Qureshi [Mon, 30 Jan 2023 15:19:57 +0000 (15:19 +0000)]
patch 9.0.1263: KDL files are not recognized

Problem:    KDL files are not recognized.
Solution:   Add a pattern for KDL files. (Amaan Qureshi, closes #11898)

15 months agopatch 9.0.1262: the did_set_string_option function is too long v9.0.1262
Yegappan Lakshmanan [Mon, 30 Jan 2023 13:04:42 +0000 (13:04 +0000)]
patch 9.0.1262: the did_set_string_option function is too long

Problem:    The did_set_string_option function is too long.
Solution:   Split off functionality to individual functions.  (Yegappan
            Lakshmanan, Lewis Russell, closes #11904)

15 months agopatch 9.0.1261: Elsa files are not recognized v9.0.1261
Amaan Qureshi [Sun, 29 Jan 2023 17:50:14 +0000 (17:50 +0000)]
patch 9.0.1261: Elsa files are not recognized

Problem:    Elsa files are not recognized.
Solution:   Add a pattern for Elsa files. (Amaan Qureshi, closes #11908)

15 months agopatch 9.0.1260: Coverity warns for possible NULL pointer usage v9.0.1260
Bram Moolenaar [Sun, 29 Jan 2023 14:11:24 +0000 (14:11 +0000)]
patch 9.0.1260: Coverity warns for possible NULL pointer usage

Problem:    Coverity warns for possible NULL pointer usage.
Solution:   Change the condition.

15 months agopatch 9.0.1259: diffmode test fails v9.0.1259
Bram Moolenaar [Sat, 28 Jan 2023 20:57:59 +0000 (20:57 +0000)]
patch 9.0.1259: diffmode test fails

Problem:    Diffmode test fails.
Solution:   Adjust expected result for adjusted indenting.

15 months agopatch 9.0.1258: code style test fails v9.0.1258
Bram Moolenaar [Sat, 28 Jan 2023 19:38:49 +0000 (19:38 +0000)]
patch 9.0.1258: code style test fails

Problem:    Code style test fails.
Solution:   Adjust test files.

15 months agopatch 9.0.1257: code style is not check in test scripts v9.0.1257
Bram Moolenaar [Sat, 28 Jan 2023 19:19:03 +0000 (19:19 +0000)]
patch 9.0.1257: code style is not check in test scripts

Problem:    Code style is not check in test scripts.
Solution:   Add basic code style check for test files.

15 months agopatch 9.0.1256: NetworkManager connection files are not recognized v9.0.1256
ObserverOfTime [Sat, 28 Jan 2023 18:05:40 +0000 (18:05 +0000)]
patch 9.0.1256: NetworkManager connection files are not recognized

Problem:    NetworkManager connection files are not recognized.
Solution:   Add a pattern for NetworkManager connection files. (closes #11893)

15 months agopatch 9.0.1255: changing 'virtualedit' does not have immediate effect v9.0.1255
Bram Moolenaar [Sat, 28 Jan 2023 16:37:37 +0000 (16:37 +0000)]
patch 9.0.1255: changing 'virtualedit' does not have immediate effect

Problem:    Changing 'virtualedit' does not have immediate effect.
Solution:   Correct how is checked for a changed value. (closes #11878)

15 months agopatch 9.0.1254: calling a method on an interface does not work v9.0.1254
Bram Moolenaar [Sat, 28 Jan 2023 15:19:40 +0000 (15:19 +0000)]
patch 9.0.1254: calling a method on an interface does not work

Problem:    Calling a method on an interface does not work.
Solution:   At runtime figure out what method to call. (closes #11901)

15 months agopatch 9.0.1253: CI adds repository unnecessarily v9.0.1253
Philip H [Sat, 28 Jan 2023 10:43:50 +0000 (10:43 +0000)]
patch 9.0.1253: CI adds repository unnecessarily

Problem:    CI adds repository unnecessarily.
Solution:   Remove the line from the workflow. (closes #11900)

15 months agopatch 9.0.1252: MS-Windows: scrollback cropped off on Vim exit v9.0.1252
Christopher Plewright [Sat, 28 Jan 2023 10:28:09 +0000 (10:28 +0000)]
patch 9.0.1252: MS-Windows: scrollback cropped off on Vim exit

Problem:    MS-Windows: scrollback cropped off on Vim exit.
Solution:   Don't call SetConsoleScreenBufferInfoEx when using the alternate
            screen buffer. (Christopher Plewright, closes #11882)

15 months agopatch 9.0.1251: checking returned value of ga_grow() is inconsistent v9.0.1251
Yegappan Lakshmanan [Fri, 27 Jan 2023 21:03:12 +0000 (21:03 +0000)]
patch 9.0.1251: checking returned value of ga_grow() is inconsistent

Problem:    Checking returned value of ga_grow() is inconsistent.
Solution:   Check for FAIL instaed of "not OK". (Yegappan Lakshmanan,
            closes #11897)

15 months agopatch 9.0.1250: cannot use an object method with :defer v9.0.1250
Bram Moolenaar [Fri, 27 Jan 2023 20:14:02 +0000 (20:14 +0000)]
patch 9.0.1250: cannot use an object method with :defer

Problem:    Cannot use an object method with :defer. (Ernie Rael)
Solution:   Find the object method and generate code to call it.
            (closes #11886)

15 months agopatch 9.0.1249: cannot export an abstract class v9.0.1249
Bram Moolenaar [Fri, 27 Jan 2023 13:16:19 +0000 (13:16 +0000)]
patch 9.0.1249: cannot export an abstract class

Problem:    Cannot export an abstract class. (Ernie Rael)
Solution:   Add the EX_EXPORT flag to :abstract. (closes #11884)

15 months agopatch 9.0.1248: cannot export an interface v9.0.1248
Bram Moolenaar [Thu, 26 Jan 2023 20:36:56 +0000 (20:36 +0000)]
patch 9.0.1248: cannot export an interface

Problem:    Cannot export an interface. (Ernie Rael)
Solution:   Add the EX_EXPORT flag to :interface. (closes #11884)

15 months agopatch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window v9.0.1247
Bram Moolenaar [Thu, 26 Jan 2023 14:14:43 +0000 (14:14 +0000)]
patch 9.0.1247: divide by zero with 'smoothscroll' set and a narrow window

Problem:    Divide by zero with 'smoothscroll' set and a narrow window.
Solution:   Bail out when the window is too narrow.

15 months agopatch 9.0.1246: code is indented more than necessary v9.0.1246
Yegappan Lakshmanan [Thu, 26 Jan 2023 12:00:00 +0000 (12:00 +0000)]
patch 9.0.1246: code is indented more than necessary

Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes #11887)

15 months agopatch 9.0.1245: code is indented more than necessary v9.0.1245
Yegappan Lakshmanan [Wed, 25 Jan 2023 21:05:38 +0000 (21:05 +0000)]
patch 9.0.1245: code is indented more than necessary

Problem:    Code is indented more than necessary.
Solution:   Use an early return where it makes sense. (Yegappan Lakshmanan,
            closes #11879)

15 months agopatch 9.0.1244: cursor displayed in wrong position when leaving Insert mode v9.0.1244
Bram Moolenaar [Wed, 25 Jan 2023 17:34:41 +0000 (17:34 +0000)]
patch 9.0.1244: cursor displayed in wrong position when leaving Insert mode

Problem:    Cursor briefly displayed in a wrong position when pressing Esc in
            Insert mode after autoindent was used.
Solution:   Do not adjust the cursor position for assumed deleted white space
            if text is following.  (closes #11877)

15 months agopatch 9.0.1243: :setglobal cannot use script-local function for "expr" option v9.0.1243
zeertzjq [Wed, 25 Jan 2023 15:31:28 +0000 (15:31 +0000)]
patch 9.0.1243: :setglobal cannot use script-local function for "expr" option

Problem:    :setglobal cannot use script-local function for "expr" option.
Solution:   Use the pointer to the option value properly. (closes #11883)

15 months agopatch 9.0.1242: code for :runtime completion is not consistent v9.0.1242
zeertzjq [Wed, 25 Jan 2023 15:04:22 +0000 (15:04 +0000)]
patch 9.0.1242: code for :runtime completion is not consistent

Problem:    Code for :runtime completion is not consistent.
Solution:   Make code for cmdline expansion more consistent. (closes #11875)

15 months agopatch 9.0.1241: Coverity warns for not checking function return value v9.0.1241
Bram Moolenaar [Wed, 25 Jan 2023 12:27:13 +0000 (12:27 +0000)]
patch 9.0.1241: Coverity warns for not checking function return value

Problem:    Coverity warns for not checking function return value.
Solution:   Explicitly ignore the return value.

15 months agopatch 9.0.1240: cannot access a private object member in a lambda v9.0.1240
Bram Moolenaar [Tue, 24 Jan 2023 15:07:04 +0000 (15:07 +0000)]
patch 9.0.1240: cannot access a private object member in a lambda

Problem:    Cannot access a private object member in a lambda defined inside
            the class.
Solution:   Go up the context stack to find the class. (closes #11866)