Bram Moolenaar
7db29e4b5c
Update runtime files
2022-12-11 15:53:04 +00:00
Bram Moolenaar
79336e19cb
patch 9.0.1047: matchparen is slow
...
Problem: Matchparen is slow.
Solution: Actually use the position where the match started, not the
position where the search started. (closes #11644 )
v9.0.1047
2022-12-11 14:18:31 +00:00
Bram Moolenaar
3ea8a1b129
patch 9.0.1046: class method disassemble test fails on MS-Windows
...
Problem: Class method disassemble test fails on MS-Windows.
Solution: Do not match with a specific size.
v9.0.1046
2022-12-10 19:03:51 +00:00
Bram Moolenaar
7ce7daf6cd
patch 9.0.1045: in a class object members cannot be initialized
...
Problem: In a class object members cannot be initialized.
Solution: Support initializing object members. Make "dissassemble" work on
an object method.
v9.0.1045
2022-12-10 18:42:12 +00:00
Bram Moolenaar
6c87bbb4e4
patch 9.0.1044: setting window height using Python may cause errors
...
Problem: Setting window height using Python may cause errors.
Solution: When setting "curwin" also set "curbuf". (closes #11687 )
v9.0.1044
2022-12-10 11:17:11 +00:00
zeertzjq
c51a376265
patch 9.0.1043: macro has confusing name and is duplicated
...
Problem: Macro has confusing name and is duplicated.
Solution: Use one macro with an understandable name. (closes #11686 )
v9.0.1043
2022-12-10 10:22:29 +00:00
Bram Moolenaar
4ae0057308
patch 9.0.1042: ASAN gives false alarm about array access.
...
Problem: ASAN gives false alarm about array access.
Solution: Use an intermediate pointer.
v9.0.1042
2022-12-09 22:49:23 +00:00
Bram Moolenaar
ffdaca9e6f
patch 9.0.1041: cannot define a method in a class
...
Problem: Cannot define a method in a class.
Solution: Implement defining an object method. Make calling an object
method work.
v9.0.1041
2022-12-09 21:41:48 +00:00
Bram Moolenaar
148bcd3610
patch 9.0.1040: test for <Cmd> mapping with CmdlineChanged fails
...
Problem: Test for <Cmd> mapping with CmdlineChanged fails.
Solution: Put back the check for the cmdline length not changing.
v9.0.1040
2022-12-09 12:41:32 +00:00
Bram Moolenaar
bb393d8259
patch 9.0.1039: using a <Cmd> mapping CmdlineChanged may be triggered twice
...
Problem: Using a <Cmd> mapping CmdlineChanged may be triggered twice.
Solution: Count the number of times CmdlineChanged is triggered and avoid
doing it twice. (closes #116820
v9.0.1039
2022-12-09 12:21:50 +00:00
zeertzjq
ffa4e9b43a
patch 9.0.1038: function name does not match what it is used for
...
Problem: Function name does not match what it is used for.
Solution: Include the modifier in the name. (closes #11679 )
v9.0.1038
2022-12-09 11:36:36 +00:00
Bram Moolenaar
98aeb2100c
patch 9.0.1037: lalloc(0) error for a class without members
...
Problem: lalloc(0) error for a class without members.
Solution: Don't allocate room for members if there aren't any.
Don't create the class if there was an error.
v9.0.1037
2022-12-08 22:09:14 +00:00
Bram Moolenaar
3f8f827723
patch 9.0.1036: undo misbehaves when writing from an insert mode mapping
...
Problem: Undo misbehaves when writing from an insert mode mapping.
Solution: Sync undo when writing. (closes #11674 )
v9.0.1036
2022-12-08 21:49:35 +00:00
Bram Moolenaar
d28d7b94f5
patch 9.0.1035: object members are not being marked as used
...
Problem: Object members are not being marked as used, garbage collection
may free them.
Solution: Mark object members as used. Fix reference counting.
v9.0.1035
2022-12-08 20:42:00 +00:00
Bram Moolenaar
e5eae82bb7
patch 9.0.1034: reporting swap file when windows are split
...
Problem: Reporting swap file when windows are split.
Solution: Close extra windows after running a test.
v9.0.1034
2022-12-08 16:30:16 +00:00
Bram Moolenaar
83c43ab319
patch 9.0.1033: tiny build fails because of conflicting typedef
...
Problem: Tiny build fails because of conflicting typedef.
Solution: Remove one typedef.
v9.0.1033
2022-12-08 16:10:01 +00:00
Bram Moolenaar
b9603f6498
patch 9.0.1032: test fails when terminal feature is missing
...
Problem: Test fails when terminal feature is missing.
Solution: Use CheckRunVimInTerminal.
v9.0.1032
2022-12-08 15:44:22 +00:00
Bram Moolenaar
00b28d6c23
patch 9.0.1031: Vim9 class is not implemented yet
...
Problem: Vim9 class is not implemented yet.
Solution: Add very basic class support.
v9.0.1031
2022-12-08 15:32:33 +00:00
Bram Moolenaar
038e6d20e6
patch 9.0.1030: using freed memory with the cmdline popup menu
...
Problem: Using freed memory with the cmdline popup menu.
Solution: Clear the popup menu when clearing the matches. (closes #11677 )
v9.0.1030
2022-12-08 12:00:50 +00:00
Bram Moolenaar
84dbf855fb
patch 9.0.1029: autoload directory missing from distribution
...
Problem: Autoload directory missing from distribution.
Solution: Add the autoload/zig directory to the list of distributed files.
v9.0.1029
2022-12-08 10:03:48 +00:00
Yee Cheng Chin
1881abfc34
patch 9.0.1028: mouse shape test is flaky, especially on Mac OS
...
Problem: Mouse shape test is flaky, especially on Mac OS.
Solution: Instead of starting all timers at the same time, start the next
one in the callback of the previous one. (Yee Cheng Chin,
closes #11673 ) Also use "bwipe!" instead of "close!" to avoid
swap files remaining.
v9.0.1028
2022-12-08 09:41:24 +00:00
Philip H
647b8dfa7f
patch 9.0.1027: LGTM is soon shutting down
...
Problem: LGTM is soon shutting down.
Solution: Remove LGTM from CI. (closes #11671 )
v9.0.1027
2022-12-07 23:00:26 +00:00
Bram Moolenaar
2e613453ee
patch 9.0.1026: type of w_last_topfill is wrong
...
Problem: type of w_last_topfill is wrong.
Solution: Use "int" instead of "linenr_T". (closes #11670 )
v9.0.1026
2022-12-07 22:30:18 +00:00
zeertzjq
3fc84dc2c7
patch 9.0.1025: WinScrolled is not triggered when filler lines change
...
Problem: WinScrolled is not triggered when filler lines change.
Solution: Add "topfill" to the values that WinScrolled triggers on.
(closes #11668 )
v9.0.1025
2022-12-07 09:17:59 +00:00
Bram Moolenaar
86b4816766
Update runtime files
2022-12-06 18:20:10 +00:00
Philip H
5e0c004f0c
patch 9.0.1024: CI doesn't use the latest FreeBSD version
...
Problem: CI doesn't use the latest FreeBSD version.
Solution: Go from 12.3 to 12.4. (closes #11423 )
v9.0.1024
2022-12-06 16:56:44 +00:00
K.Takata
a8cdb4eef8
patch 9.0.1023: MS-Windows: dynamic loading of libsodium doesn't work
...
Problem: MS-Windows: dynamic loading of libsodium doesn't work.
Solution: Add "randombytes_random". (Ken Takata, closes #11667 )
v9.0.1023
2022-12-06 16:17:01 +00:00
Bram Moolenaar
af34543b92
patch 9.0.1022: suspend test fails on Mac OS when suspending Vim
...
Problem: Suspend test fails on Mac OS when suspending Vim.
Solution: Make 'keyprotocol' empty.
v9.0.1022
2022-12-06 16:09:52 +00:00
Bram Moolenaar
d6e74f5479
patch 9.0.1021: test trips over g:name
...
Problem: Test trips over g:name.
Solution: Delete g:name after using it.
v9.0.1021
2022-12-06 15:07:56 +00:00
Bram Moolenaar
6572a90287
patch 9.0.1020: tests call GetSwapFileList() before it is defined
...
Problem: Tests call GetSwapFileList() before it is defined.
Solution: Move the call to after defining the function. (Christopher
Plewright)
v9.0.1020
2022-12-06 14:21:09 +00:00
Bram Moolenaar
56a40fea9c
patch 9.0.1019: 'smoothscroll' and virtual text above don't work together
...
Problem: 'smoothscroll' and virtual text above don't work together.
(Yee Cheng Chin)
Solution: Skip virtual text above when w_skipcol is non-zero.
(closes #11665 )
v9.0.1019
2022-12-06 14:17:57 +00:00
Bram Moolenaar
7155fb6614
patch 9.0.1018: suspend test still fails on Mac OS
...
Problem: Suspend test still fails on Mac OS.
Solution: Make 'keyprotocol' empty.
v9.0.1018
2022-12-06 09:11:39 +00:00
Bram Moolenaar
9dacdb1d56
patch 9.0.1017: test for srand() fails on MS-Windows
...
Problem: Test for srand() fails on MS-Windows.
Solution: Do not expect the same result a second time.
v9.0.1017
2022-12-06 09:05:25 +00:00
Bram Moolenaar
1cb16c3a20
patch 9.0.1016: screenpos() does not count filler lines for diff mode
...
Problem: screenpos() does not count filler lines for diff mode.
Solution: Add filler lines. (closes 11658)
v9.0.1016
2022-12-05 22:26:44 +00:00
Yasuhiro Matsumoto
f0a9c00482
patch 9.0.1015: without /dev/urandom srand() seed is too predictable
...
Problem: Without /dev/urandom srand() seed is too predictable.
Solution: Use micro seconds and XOR with process ID. (Yasuhiro Matsumoto,
closes #11656 )
v9.0.1015
2022-12-05 21:55:55 +00:00
Bram Moolenaar
25201016d5
patch 9.0.1014: zir files are not recognized
...
Problem: Zir files are not recognized.
Solution: Add a pattern for Zir files. (closes #11664 )
v9.0.1014
2022-12-05 21:40:39 +00:00
Bram Moolenaar
0a2f891adf
patch 9.0.1013: suspend test often fails on Mac OS
...
Problem: Suspend test often fails on Mac OS.
Solution: Make t_RP empty.
v9.0.1013
2022-12-05 21:21:46 +00:00
Bram Moolenaar
fa2533c8bb
patch 9.0.1012: tests may get stuck in buffer with swap file
...
Problem: Tests may get stuck in buffer with swap file.
Solution: Bail out when bwipe! doesn't get another buffer.
v9.0.1012
2022-12-05 20:58:04 +00:00
Bram Moolenaar
99d19438ca
patch 9.0.1011: ml_get error when using screenpos()
...
Problem: ml_get error when using screenpos().
Solution: Give an error for the line number. (closes #11661 )
v9.0.1011
2022-12-05 16:23:24 +00:00
Bram Moolenaar
23526d2539
patch 9.0.1010: stray warnings for existing swap files
...
Problem: Stray warnings for existing swap files.
Solution: Wipe out the buffer until it has no name and no swap file.
v9.0.1010
2022-12-05 15:50:41 +00:00
Bram Moolenaar
72b5b0d51a
patch 9.0.1009: test for catch after interrupt is flaky on MS-Windows
...
Problem: Test for catch after interrupt is flaky on MS-Windows.
Solution: Mark the test as flaky.
v9.0.1009
2022-12-05 15:24:20 +00:00
Bram Moolenaar
6cf3151f0e
patch 9.0.1008: test for swapfilelist() fails on MS-Windows
...
Problem: Test for swapfilelist() fails on MS-Windows.
Solution: Only check the tail of the path. Mark a test as flaky.
v9.0.1008
2022-12-05 15:01:05 +00:00
Bram Moolenaar
c216a7a21a
patch 9.0.1007: there is no way to get a list of swap file names
...
Problem: There is no way to get a list of swap file names.
Solution: Add the swapfilelist() function. Use it in the test script to
clean up. Remove deleting individual swap files.
v9.0.1007
2022-12-05 13:50:55 +00:00
Bram Moolenaar
65214053f6
patch 9.0.1006: suspend test still sometimes fails on MacOS
...
Problem: Suspend test still sometimes fails on MacOS.
Solution: Wait a little while for terminal responses.
v9.0.1006
2022-12-04 23:30:19 +00:00
Bram Moolenaar
d0f8d39d20
patch 9.0.1005: a failed test may leave a swap file behind
...
Problem: A failed test may leave a swap file behind.
Solution: Delete the swap file to avoid another test to fail. Use another
file name.
v9.0.1005
2022-12-04 23:00:41 +00:00
Bram Moolenaar
a0a6f3a22a
patch 9.0.1004: suspend test sometimes fails on MacOS
...
Problem: Suspend test sometimes fails on MacOS.
Solution: Wait a short while for terminal responses.
v9.0.1004
2022-12-04 22:26:40 +00:00
Bram Moolenaar
3d3e2aa826
patch 9.0.1003: tiny build fails
...
Problem: Tiny build fails.
Solution: Remove #ifdef from error message.
v9.0.1003
2022-12-04 21:40:51 +00:00
Bram Moolenaar
9163efb5b8
patch 9.0.1002: command list test fails
...
Problem: Command list test fails.
Solution: Add commands added to the list.
v9.0.1002
2022-12-04 21:09:48 +00:00
Bram Moolenaar
c1c365c1ca
patch 9.0.1001: classes are not documented or implemented yet
...
Problem: Classes are not documented or implemented yet.
Solution: Make the first steps at documenting Vim9 objects, classes and
interfaces. Make initial choices for the syntax. Add a skeleton
implementation. Add "public" and "this" in the command table.
v9.0.1001
2022-12-04 20:13:24 +00:00
Bram Moolenaar
b21b8e9ed0
patch 9.0.1000: with 'smoothscroll' skipcol may be reset unnecessarily
...
Problem: With 'smoothscroll' skipcol may be reset unnecessarily.
Solution: Check the line does actually fit in the window.
v9.0.1000
2022-12-03 18:35:07 +00:00