Bram Moolenaar
91c9d6d772
patch 9.0.1058: string value of class and object do not have information
...
Problem: String value of class and object do not have useful information.
Solution: Add the class name and for the object the member values.
2022-12-14 17:30:37 +00:00
Chris Kipp
70ef3f546b
patch 9.0.1057: conflict between supercollider and scala filetype detection
...
Problem: Conflict between supercollider and scala filetype detection.
Solution: Do not check for "Class : Method", it can appear in both
filetypes. (Chris Kipp, closes #11699 )
2022-12-14 16:42:15 +00:00
Bram Moolenaar
eb53350c02
patch 9.0.1056: leaking memory when disassembling an object method
...
Problem: Leaking memory when disassembling an object method.
Solution: Free the typval of the class.
2022-12-14 15:06:11 +00:00
Bram Moolenaar
f593fc891c
patch 9.0.1055: Coverity warns for using uninitialized memory
...
Problem: Coverity warns for using uninitialized memory.
Solution: Clear the "lhs" field earlier.
2022-12-14 13:50:02 +00:00
Bram Moolenaar
74e1274edf
patch 9.0.1054: object member can't get type from initializer
...
Problem: Object member can't get type from initializer.
Solution: If there is no type specified try to use the type of the
initializer. Check for a valid type.
2022-12-13 21:14:28 +00:00
Bram Moolenaar
65b0d16768
patch 9.0.1053: default constructor arguments are not optional
...
Problem: Default constructor arguments are not optional.
Solution: Use "= v:none" to make constructor arguments optional.
2022-12-13 18:43:22 +00:00
Bram Moolenaar
692fe0889c
patch 9.0.1052: using freed memory on exit when EXITFREE is defined
...
Problem: Using freed memory on exit when EXITFREE is defined.
Solution: Make a deep copy of the type. Make sure TTFLAG_STATIC is not set
in the copy.
2022-12-13 13:42:37 +00:00
Rob Pilling
cb94c91070
patch 9.0.1051: after a failed CTRL-W ] next command splits window
...
Problem: After a failed CTRL-W ] next command splits window.
Solution: Reset postponed_split. (Rob Pilling, closes #11698 )
2022-12-13 12:26:09 +00:00
Bram Moolenaar
6342e2c5a6
patch 9.0.1050: using freed memory when assigning to variable twice
...
Problem: Using freed memory when assigning to variable twice.
Solution: Make copy of the list type. (closes #11691 )
2022-12-12 18:56:32 +00:00
Bram Moolenaar
67578e5bcf
patch 9.0.1049: crash when opening a very small terminal window
...
Problem: Crash when opening a very small terminal window.
Solution: Instead of crashing fix the cursor position. (closes #11697 )
2022-12-12 13:47:44 +00:00
zeertzjq
b7acea1806
patch 9.0.1048: with "screenline" in 'culopt' cursorline highlight is wrong
...
Problem: With "screenline" in 'culopt' cursorline highlight is wrong.
Solution: Apply the priority logic also when "screenline is in 'culopt'.
(closes #11696 )
2022-12-12 13:20:43 +00:00
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 )
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.
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.
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 )
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 )
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.
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.
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.
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
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 )
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.
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 )
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.
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.
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.
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.
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.
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 )
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.
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.
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 )
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 )
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 )
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 )
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 )
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.
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.
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)
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 )
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.
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.
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)
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 )
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 )
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.
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.
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 )
2022-12-05 16:23:24 +00:00