]>
granicus.if.org Git - vim/log
zeertzjq [Wed, 16 Feb 2022 17:51:47 +0000 (17:51 +0000)]
patch 8.2.4400: MS-Windows: cannot use the mouse in the console with VIMDLL
Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
closes #9769)
Bram Moolenaar [Wed, 16 Feb 2022 16:33:28 +0000 (16:33 +0000)]
patch 8.2.4399: crash after ml_get error
Problem: Crash after ml_get error.
Solution: When returning "???" flush the line and set ml_line_lnum.
Yegappan Lakshmanan [Wed, 16 Feb 2022 12:44:29 +0000 (12:44 +0000)]
patch 8.2.4398: some command completion functions are too long
Problem: Some command completion functions are too long.
Solution: Refactor code into separate functions. Add a few more tests.
(Yegappan Lakshmanan, closes #9785)
Bram Moolenaar [Wed, 16 Feb 2022 12:16:19 +0000 (12:16 +0000)]
patch 8.2.4397: crash when using many composing characters in error message
Problem: Crash when using many composing characters in error message.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
Bram Moolenaar [Tue, 15 Feb 2022 21:33:29 +0000 (21:33 +0000)]
patch 8.2.4396: Python3 test fails
Problem: Python3 test fails.
Solution: Remove "let".
Bram Moolenaar [Tue, 15 Feb 2022 21:17:56 +0000 (21:17 +0000)]
patch 8.2.4395: some code lines not covered by tests
Problem: Some code lines not covered by tests.
Solution: Add a few more test cases. Fix getting more than one error for
invalid assignment.
Bram Moolenaar [Tue, 15 Feb 2022 19:52:56 +0000 (19:52 +0000)]
patch 8.2.4394: UTF8 select mode test fails on MS-Windows
Problem: UTF8 select mode test fails on MS-Windows.
Solution: Revert the #ifdef change.
Bram Moolenaar [Tue, 15 Feb 2022 19:15:22 +0000 (19:15 +0000)]
patch 8.2.4393: possible number overflow with nested folds
Problem: Possible number overflow with nested folds.
Solution: Avoid a negative line number.
Bram Moolenaar [Tue, 15 Feb 2022 17:17:18 +0000 (17:17 +0000)]
patch 8.2.4392: MS-Windows with VIMDLL: Escaping CSI is wrong
Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
Solution: Put back #ifdef. (Ken Takata, closes #9769)
Bram Moolenaar [Tue, 15 Feb 2022 16:17:44 +0000 (16:17 +0000)]
patch 8.2.4391: command line executed when typing Esc in the GUI
Problem: Command line executed when typing Esc in the GUI.
Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
(closes #9783)
Bram Moolenaar [Tue, 15 Feb 2022 15:37:11 +0000 (15:37 +0000)]
patch 8.2.4390: Vim9: list from declaration with inferred type not set
Problem: Vim9: list from declaration with inferred type does not set the
type on the value.
Solution: When inferring the type in a variable declaration also set the
type of the list or dictionary. (closes #9705) Do not set the
type when the member is "any".
Bram Moolenaar [Tue, 15 Feb 2022 13:40:17 +0000 (13:40 +0000)]
patch 8.2.4389: screenpos() does not handle a position in a closed fold
Problem: screenpos() does not handle a position in a closed fold.
Solution: Check if the position is inside a closed fold. (closes #9778)
zeertzjq [Tue, 15 Feb 2022 11:48:22 +0000 (11:48 +0000)]
patch 8.2.4388: dead code in op_insert()
Problem: Dead code in op_insert().
Solution: Remove condition and else block. (closes #9782)
Yegappan Lakshmanan [Tue, 15 Feb 2022 11:35:54 +0000 (11:35 +0000)]
patch 8.2.4387: command line completion doesn't always work properly
Problem: Command line completion doesn't always work properly.
Solution: Adjust triggering after a "|". Add more tests. (Yegappan
Lakshmanan, closes #9779)
Bram Moolenaar [Mon, 14 Feb 2022 21:51:46 +0000 (21:51 +0000)]
patch 8.2.4386: still cannot build tiny version
Problem: Still cannot build tiny version.
Solution: Adjust #ifdefs.
Bram Moolenaar [Mon, 14 Feb 2022 21:42:15 +0000 (21:42 +0000)]
patch 8.2.4385: cannot build tiny version
Problem: Cannot build tiny version.
Solution: Adjust #ifdefs.
Bram Moolenaar [Mon, 14 Feb 2022 21:19:04 +0000 (21:19 +0000)]
patch 8.2.4384: Vim9: error message not tested, some code not tested
Problem: Vim9: error message not tested, some code not tested.
Solution: Add a couple of test cases. Give an error for a command modifier
without a command.
Bram Moolenaar [Mon, 14 Feb 2022 19:53:03 +0000 (19:53 +0000)]
patch 8.2.4383: Vim9: unused code lines
Problem: Vim9: unused code lines.
Solution: Rely on either "cctx" or "cstack" to not be NULL.
Bram Moolenaar [Mon, 14 Feb 2022 19:17:53 +0000 (19:17 +0000)]
patch 8.2.4382: a custom 'tabline' may cause Esc to work like Enter
Problem: A custom 'tabline' may cause Esc to work like Enter on the
command line when the popup menu is displayed.
Solution: Save and restore KeyTyped. (closes #9776)
Bram Moolenaar [Mon, 14 Feb 2022 15:59:05 +0000 (15:59 +0000)]
patch 8.2.4381: translation file listed twice
Problem: Translation file listed twice.
Solution: Remove one entry.
Ada [Mon, 14 Feb 2022 15:04:55 +0000 (15:04 +0000)]
patch 8.2.4380: small differences between Chinese translation files
Problem: Small differences between Chinese translation files.
Solution: Add rule for converting UTF-8 to gb2312. (closes #9773)
Bram Moolenaar [Mon, 14 Feb 2022 14:51:22 +0000 (14:51 +0000)]
patch 8.2.4379: an empty change is reported to a listener
Problem: An empty change is reported to a listener.
Solution: Do not report an empty change. (closes #9768) Remove unused
return value.
Christian Brabandt [Mon, 14 Feb 2022 12:44:32 +0000 (12:44 +0000)]
patch 8.2.4378: incsearch HL broken when calling searchcount in 'tabLine'
Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
function. (Mirko Palmer)
Solution: Save and restore the incsearch state. (Christian Brabandt,
closes #9763, closes #9633)
ichizok [Mon, 14 Feb 2022 11:36:57 +0000 (11:36 +0000)]
patch 8.2.4377: CI steps for Windows are a bit unorganized
Problem: CI steps for Windows are a bit unorganized.
Solution: Organize CI test steps on Windows. (Ozaki Kiichi, closes #9764)
Yegappan Lakshmanan [Mon, 14 Feb 2022 11:10:59 +0000 (11:10 +0000)]
patch 8.2.4376: not enough tests for command line completion
Problem: Not enough tests for command line completion.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9771)
Bram Moolenaar [Sun, 13 Feb 2022 21:51:08 +0000 (21:51 +0000)]
patch 8.2.4375: ctx_imports is not used
Problem: ctx_imports is not used.
Solution: Delete ctx_imports. Add missing dependency.
Bram Moolenaar [Sun, 13 Feb 2022 21:20:21 +0000 (21:20 +0000)]
patch 8.2.4374: unreachable code
Problem: Unreachable code.
Solution: Remove outdated code lines.
Bram Moolenaar [Sun, 13 Feb 2022 20:46:18 +0000 (20:46 +0000)]
patch 8.2.4373: expression test fails
Problem: Expression test fails.
Solution: Make the test work with latest Vim9 syntax.
Bram Moolenaar [Sun, 13 Feb 2022 20:32:02 +0000 (20:32 +0000)]
patch 8.2.4372: filetype detection from file contents is in legacy script
Problem: Filetype detection from file contents is in legacy script.
Solution: Use a compiled function for filetype detection.
Bram Moolenaar [Sun, 13 Feb 2022 13:56:29 +0000 (13:56 +0000)]
patch 8.2.4371: Vim9: can create a script variable from a legacy function
Problem: Vim9: can create a script variable from a legacy function.
Solution: Disallow creating a script variable from a function.
Christian Brabandt [Sun, 13 Feb 2022 13:11:32 +0000 (13:11 +0000)]
patch 8.2.4370: MS-Windows: libsodium.dll not included with the installer
Problem: MS-Windows: libsodium.dll not included with the installer.
Solution: Add the file to the installer if it exists. (Christian Brabandt,
closes #9762)
ola.soder@axis.com [Sun, 13 Feb 2022 12:24:21 +0000 (12:24 +0000)]
patch 8.2.4369: redundant #ifdef argument
Problem: Redundant #ifdef argument.
Solution: Remove unused MSWIN. (Ola Söder, closes #9758)
ola.soder@axis.com [Sun, 13 Feb 2022 12:13:38 +0000 (12:13 +0000)]
patch 8.2.4368: Amiga: a few compiler warnings
Problem: Amiga: a few compiler warnings.
Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756,
closes #9757)
Bram Moolenaar [Sun, 13 Feb 2022 11:57:33 +0000 (11:57 +0000)]
patch 8.2.4367: calling in_vim9script() multiple times
Problem: Calling in_vim9script() multiple times.
Solution: Call it once and keep the result.
Yegappan Lakshmanan [Sun, 13 Feb 2022 11:45:09 +0000 (11:45 +0000)]
patch 8.2.4366: not enough tests for command line completion
Problem: Not enough tests for command line completion.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760)
Bram Moolenaar [Sat, 12 Feb 2022 22:13:06 +0000 (22:13 +0000)]
patch 8.2.4365: sticky command modifiers are too sticky
Problem: sticky command modifiers are too sticky.
Solution: Do not apply command modifiers to a called function. (closes #9751)
Bram Moolenaar [Sat, 12 Feb 2022 21:59:51 +0000 (21:59 +0000)]
patch 8.2.4364: MS-Windows: still running out of memory for a very long line
Problem: MS-Windows: still running out of memory for a very long line.
Solution: Check for negative length.
Bram Moolenaar [Sat, 12 Feb 2022 21:16:21 +0000 (21:16 +0000)]
patch 8.2.4363: MS-Windows: running out of memory for a very long line
Problem: MS-Windows: running out of memory for a very long line.
Solution: Use a 32 bit value for MAXCOL also when ints are 64 bits.
Bram Moolenaar [Sat, 12 Feb 2022 20:46:15 +0000 (20:46 +0000)]
patch 8.2.4362: :retab may allocate too much memory
Problem: :retab may allocate too much memory.
Solution: Bail out when allocating more than MAXCOL bytes.
Bram Moolenaar [Sat, 12 Feb 2022 20:34:50 +0000 (20:34 +0000)]
patch 8.2.4361: Vim9: some tests fail
Problem: Vim9: some tests fail.
Solution: Fix the tests, mostly by removing "s:".
Bram Moolenaar [Sat, 12 Feb 2022 19:52:25 +0000 (19:52 +0000)]
patch 8.2.4360: Vim9: allowing use of "s:" leads to inconsistencies
Problem: Vim9: allowing use of "s:" leads to inconsistencies.
Solution: Disallow using "s:" in Vim9 script at the script level.
Bram Moolenaar [Sat, 12 Feb 2022 15:42:18 +0000 (15:42 +0000)]
patch 8.2.4359: crash when repeatedly using :retab
Problem: crash when repeatedly using :retab.
Solution: Bail out when the line is getting too long.
Bram Moolenaar [Sat, 12 Feb 2022 14:23:17 +0000 (14:23 +0000)]
patch 8.2.4358: Vim9: line number of exception is not set
Problem: Vim9: line number of exception is not set.
Solution: Set the line number before throwing an exception. (closes #9755)
Bram Moolenaar [Sat, 12 Feb 2022 13:30:17 +0000 (13:30 +0000)]
patch 8.2.4357: sticky command modifiers are too sticky
Problem: sticky command modifiers are too sticky.
Solution: Do not apply command modifiers to a sourced script. (closes #9751)
Yegappan Lakshmanan [Sat, 12 Feb 2022 12:03:07 +0000 (12:03 +0000)]
patch 8.2.4356: command line completion functions are very long
Problem: Command line completion functions are very long.
Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
closes #9753)
Sean Dewar [Sat, 12 Feb 2022 11:51:25 +0000 (11:51 +0000)]
patch 8.2.4355: unnecessary call to check_colorcolumn()
Problem: Unnecessary call to check_colorcolumn().
Solution: Remove the call. (Sean Dewar, closes #9748)
K.Takata [Sat, 12 Feb 2022 11:18:37 +0000 (11:18 +0000)]
patch 8.2.4354: dynamic loading of libsodium not handled properly
Problem: Dynamic loading of libsodium not handled properly.
Solution: Fix has() and :version. Show an error message when loading fails.
Fix memory leaks. (Ken Takata, closes #9754)
Philip H [Sat, 12 Feb 2022 10:53:07 +0000 (10:53 +0000)]
patch 8.2.4353: CI does not use the latest Lua and Python
Problem: CI does not use the latest Lua and Python.
Solution: Use Lua 5.4.2 and Python 3.10. (closes #9744)
Ananda Umamil [Sat, 12 Feb 2022 10:33:56 +0000 (10:33 +0000)]
patch 8.2.4352: ReScript files are not recognized
Problem: ReScript files are not recognized.
Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)
ichizok [Sat, 12 Feb 2022 10:13:13 +0000 (10:13 +0000)]
patch 8.2.4351: no coverage is measured on MS-Windows CI
Problem: No coverage is measured on MS-Windows CI.
Solution: Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)
ola.soder@axis.com [Fri, 11 Feb 2022 21:13:35 +0000 (21:13 +0000)]
patch 8.2.4350: FEAT_GUI_ENABLED defined but never used
Problem: FEAT_GUI_ENABLED defined but never used.
Solution: Remove the #define. (Ola Söder, closes #9732)
Bram Moolenaar [Fri, 11 Feb 2022 20:55:16 +0000 (20:55 +0000)]
patch 8.2.4349: FileChangedShell test fails on MS-Windows
Problem: FileChangedShell test fails on MS-Windows.
Solution: Skip the test on MS-Windows.
Bram Moolenaar [Fri, 11 Feb 2022 20:33:48 +0000 (20:33 +0000)]
patch 8.2.4348: "legacy exe cmd" does not do what one would expect
Problem: "legacy exe cmd" does not do what one would expect.
Solution: Apply the "legacy" and "vim9script" command modifiers to the
argument of ":execute".
ola.soder@axis.com [Fri, 11 Feb 2022 19:27:55 +0000 (19:27 +0000)]
patch 8.2.4347: in some build setups UNUSED is not defined
Problem: In some build setups UNUSED is not defined.
Solution: Change the logic of how UNUSED is defined. (Ola Söder,
closes #9734)
Bram Moolenaar [Fri, 11 Feb 2022 18:51:45 +0000 (18:51 +0000)]
patch 8.2.4346: a custom statusline may cause Esc to work like Enter
Problem: A custom statusline may cause Esc to work like Enter on the
command line when the popup menu is displayed.
Solution: Save and restore KeyTyped. (closes #9749)
Bram Moolenaar [Fri, 11 Feb 2022 16:30:12 +0000 (16:30 +0000)]
patch 8.2.4345: <amatch> is expanded like a file name for DirChangedPre
Problem: <amatch> is expanded like a file name for DirChangedPre.
Solution: Do not expand <amatch>. (closes #9742) Also for the User event.
ola.soder@axis.com [Fri, 11 Feb 2022 16:11:14 +0000 (16:11 +0000)]
patch 8.2.4344: Amiga: header file included twice
Problem: Amiga: header file included twice.
Solution: Remove #include. (Ola Söder, closes #9733)
Rob Pilling [Fri, 11 Feb 2022 15:12:10 +0000 (15:12 +0000)]
patch 8.2.4343: when reloading not all properties are detected
Problem: When reloading not all properties are detected.
Solution: Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)
Bram Moolenaar [Fri, 11 Feb 2022 13:29:40 +0000 (13:29 +0000)]
Update runtime files. (closes #9741)
ichizok [Fri, 11 Feb 2022 11:09:40 +0000 (11:09 +0000)]
patch 8.2.4342: CI will soon switch to other windows version
Problem: CI will soon switch to other windows version.
Solution: Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
closes #9740)
Bram Moolenaar [Thu, 10 Feb 2022 21:09:45 +0000 (21:09 +0000)]
patch 8.2.4341: command line not redrawn when finishing popup menu
Problem: Command line not redrawn when finishing popup menu and the screen
has scrolled up.
Solution: Redraw the command line after updating the screen. (closes #9722)
ola.soder@axis.com [Thu, 10 Feb 2022 20:21:04 +0000 (20:21 +0000)]
patch 8.2.4340: Amiga: mch_can_exe() is not implemented
Problem: Amiga: mch_can_exe() is not implemented.
Solution: Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)
Yegappan Lakshmanan [Thu, 10 Feb 2022 19:52:10 +0000 (19:52 +0000)]
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
Problem: CTRL-A does not work properly with the cmdline popup menu.
Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
menu. Remove TermWait() before VeriryScreenDump(). Refactor the
cmdline popup code. (Yegappan Lakshmanan, closes #9735)
Bram Moolenaar [Thu, 10 Feb 2022 14:07:41 +0000 (14:07 +0000)]
patch 8.2.4338: an error from an expression mapping messes up the display
Problem: An error from an expression mapping messes up the display.
Solution: When the expression results in an empty string return K_IGNORE.
In cmdline mode redraw the command line. (closes #9726)
Bram Moolenaar [Wed, 9 Feb 2022 21:50:44 +0000 (21:50 +0000)]
Update runtime files
=?UTF-8?q?Dundar=20G=C3=B6c?= [Wed, 9 Feb 2022 15:20:39 +0000 (15:20 +0000)]
patch 8.2.4337: part of condition is always true
Problem: Part of condition is always true.
Solution: Remove that part of the condition. (closes #9729)
Bram Moolenaar [Wed, 9 Feb 2022 14:31:05 +0000 (14:31 +0000)]
patch 8.2.4336: using :filter for :scriptnames does not work
Problem: Using :filter for :scriptnames does not work. (Ben Jackson)
Solution: Call message_filtered(). (closes #9720)
Bram Moolenaar [Wed, 9 Feb 2022 12:58:20 +0000 (12:58 +0000)]
patch 8.2.4335: no autocommand event triggered before changing directory
Problem: No autocommand event triggered before changing directory. (Ronnie
Magatti)
Solution: Add DirChangedPre. (closes #9721)
rbtnn [Wed, 9 Feb 2022 11:55:47 +0000 (11:55 +0000)]
patch 8.2.4334: command line popup menu not positioned correctly
Problem: Command line popup menu not positioned correctly.
Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
closes #9727)
Bram Moolenaar [Tue, 8 Feb 2022 21:17:22 +0000 (21:17 +0000)]
patch 8.2.4333: cstack not always passed to where it is needed
Problem: cstack not always passed to where it is needed.
Solution: Pass ctack through functions.
Bram Moolenaar [Tue, 8 Feb 2022 20:35:30 +0000 (20:35 +0000)]
patch 8.2.4332: Vim9: incomplete test for existing script variable in block
Problem: Vim9: incomplete test for existing script variable in block.
Solution: Add a couple more tests. Fix uncovered problem.
Bram Moolenaar [Tue, 8 Feb 2022 19:23:35 +0000 (19:23 +0000)]
patch 8.2.4331: Vim9: no test for existing script variable in block
Problem: Vim9: no test for existing script variable in block.
Solution: Add a test.
Bram Moolenaar [Tue, 8 Feb 2022 19:12:19 +0000 (19:12 +0000)]
patch 8.2.4330: Vim9: no error if script imports itself
Problem: Vim9: no error if script imports itself.
Solution: Give an error when a script imports itself.
haya14busa [Tue, 8 Feb 2022 18:09:29 +0000 (18:09 +0000)]
patch 8.2.4329: no support for end line number and column in 'errorformat'
Problem: No support for end line number and column in 'errorformat'.
Solution: Add %e and %k. (closes #9624)
Bram Moolenaar [Tue, 8 Feb 2022 17:40:36 +0000 (17:40 +0000)]
patch 8.2.4328: command line complete matches cleard when typing character
Problem: Command line complete matches cleard when typing character.
(Dominique Pellé)
Solution: Only remove a popup menu if there is one.
Bram Moolenaar [Tue, 8 Feb 2022 15:05:20 +0000 (15:05 +0000)]
patch 8.2.4327: may end up with no current buffer
Problem: May end up with no current buffer.
Solution: When deleting the current buffer to not pick a quickfix buffer as
the new current buffer.
zeertzjq [Tue, 8 Feb 2022 12:58:37 +0000 (12:58 +0000)]
patch 8.2.4326: "o" and "O" copying comment not sufficiently tested
Problem: "o" and "O" copying comment not sufficiently tested.
Solution: Add a test case. (closes #9718)
Yegappan Lakshmanan [Tue, 8 Feb 2022 12:08:07 +0000 (12:08 +0000)]
patch 8.2.4325: 'wildmenu' only shows few matches
Problem: 'wildmenu' only shows few matches.
Solution: Add the "pum" option: use a popup menu to show the matches.
(Yegappan Lakshmanan et al., closes #9707)
Bram Moolenaar [Mon, 7 Feb 2022 21:54:01 +0000 (21:54 +0000)]
patch 8.2.4324: Vim9: script-local function name can start with "_"
Problem: Vim9: script-local function name can start with "_".
Solution: Check for leading capital after "s:". Correct error message.
Bram Moolenaar [Mon, 7 Feb 2022 20:30:57 +0000 (20:30 +0000)]
patch 8.2.4323: Vim9: nested function name can start with "_"
Problem: Vim9: nested function name can start with "_".
Solution: Use same rule for function name for nested functions.
(closes #9713)
Bram Moolenaar [Mon, 7 Feb 2022 19:56:43 +0000 (19:56 +0000)]
patch 8.2.4322: Vim9: crash when using funcref with closure
Problem: Vim9: crash when using funcref with closure.
Solution: Keep a reference to the funcref that has the outer context.
(closes #9716)
Bram Moolenaar [Mon, 7 Feb 2022 17:50:39 +0000 (17:50 +0000)]
patch 8.2.4321: Vim9: crash when using a funcref to a closure
Problem: Vim9: crash when using a funcref to a closure.
Solution: Copy pt_outer to the new partial. (closes #9714)
qsmodo [Mon, 7 Feb 2022 15:57:50 +0000 (15:57 +0000)]
patch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong
Problem: Athena and Motif: when maximized scrollbar position is wrong.
Solution: Implement the scrollbar padding functions. (closes #9712)
Bram Moolenaar [Mon, 7 Feb 2022 15:31:37 +0000 (15:31 +0000)]
patch 8.2.4319: :put does not work properly in compiled function
Problem: :put does not work properly in compiled function. (John Beckett)
Solution: Adjust the direction when using line zero.
Bram Moolenaar [Mon, 7 Feb 2022 13:56:44 +0000 (13:56 +0000)]
patch 8.2.4318: various comment and indent mistakes, returning wrong zero
Problem: Various comment and indent mistakes, returning wrong zero.
Solution: Fix the mistakes. Return NULL instead of FAIL.
Bram Moolenaar [Mon, 7 Feb 2022 13:54:01 +0000 (13:54 +0000)]
patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails
Problem: MS-Windows: Vim exits when Python 3 initialisation fails.
Solution: Hook into the exit() function to recover from the failure.
(Ken Takata, closes #9710)
K.Takata [Mon, 7 Feb 2022 10:45:23 +0000 (10:45 +0000)]
patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systems
Problem: __CYGWIN32__ is not defined on 64 bit systems.
Solution: Update #ifdefs. (Ken Takata, closes #9709)
zeertzjq [Mon, 7 Feb 2022 10:33:20 +0000 (10:33 +0000)]
patch 8.2.4315: put in Visual mode not fully tested
Problem: Put in Visual mode not fully tested.
Solution: Add a few more test cases. (closes #9708)
Bram Moolenaar [Sun, 6 Feb 2022 20:28:13 +0000 (20:28 +0000)]
patch 8.2.4314: test fails where lines are skipped
Problem: Test fails where lines are skipped.
Solution: Only give an error when not skipping commands.
Bram Moolenaar [Sun, 6 Feb 2022 18:36:53 +0000 (18:36 +0000)]
patch 8.2.4313: Vim9: cannot change type of list after making a slice
Problem: Vim9: cannot change type of list after making a slice.
Solution: Adjust the declared member type. (closes #9696)
Bram Moolenaar [Sun, 6 Feb 2022 17:30:41 +0000 (17:30 +0000)]
patch 8.2.4312: no error for using :vim9script in a :def function
Problem: No error for using :vim9script in a :def function.
Solution: Give an error when compiling.
Bram Moolenaar [Sun, 6 Feb 2022 17:17:02 +0000 (17:17 +0000)]
patch 8.2.4311: Vim9: changing script variable type not caught compile time
Problem: Vim9: changing script variable type not caught at compile time.
Solution: Set the declared type.
Bram Moolenaar [Sun, 6 Feb 2022 15:49:35 +0000 (15:49 +0000)]
patch 8.2.4310: Vim9: constant list and dict get a declaration type
Problem: Vim9: constant list and dict get a declaration type other than
"any".
Solution: A constant list and dict have a declared member type "any".
(closes #9701)
Bram Moolenaar [Sun, 6 Feb 2022 13:55:03 +0000 (13:55 +0000)]
patch 8.2.4309: Vim9: crash when using a partial in the wrong context
Problem: Vim9: crash when using a partial in the wrong context.
Solution: Don't use an NULL outer pointer. (closes #9706)
Bram Moolenaar [Sun, 6 Feb 2022 13:08:41 +0000 (13:08 +0000)]
patch 8.2.4308: Vim9: cannot list autoload function
Problem: Vim9: cannot list autoload function.
Solution: Don't give an error for using # when listing a function.
(closes #9703)
Bram Moolenaar [Sun, 6 Feb 2022 11:41:57 +0000 (11:41 +0000)]
patch 8.2.4307: a few more messages should not be translated
Problem: A few more messages should not be translated.
Solution: Remove _().
Bram Moolenaar [Sat, 5 Feb 2022 20:23:59 +0000 (20:23 +0000)]
patch 8.2.4306: no test for fixed perl filetype check
Problem: No test for fixed perl filetype check.
Solution: Add a test. Sort test functions.
Bram Moolenaar [Sat, 5 Feb 2022 19:50:34 +0000 (19:50 +0000)]
patch 8.2.4305: tex filetype detection fails
Problem: Tex filetype detection fails.
Solution: Check value to be positive. (closes #9704)
Bram Moolenaar [Sat, 5 Feb 2022 19:23:18 +0000 (19:23 +0000)]
patch 8.2.4304: Vim9: slice() makes a copy but doesn't change the type
Problem: Vim9: slice() makes a copy but doesn't change the type.
Solution: Change the declared type like copy(). (closes #9696)
Dominique Pelle [Sat, 5 Feb 2022 18:53:06 +0000 (18:53 +0000)]
patch 8.2.4303: a few messages should not be translated
Problem: A few messages should not be translated.
Solution: Remove _(). (Dominique Pellé, closes #9702)