Bram Moolenaar
9fca133eb7
patch 9.0.1088: clang warns for unused variable
...
Problem: Clang warns for unused variable.
Solution: Adjust #ifdef. (John Marriott)
2022-12-22 21:06:41 +00:00
James McCoy
ff3d537704
patch 9.0.1087: autocommand test sometimes fails
...
Problem: Autocommand test sometimes fails.
Solution: Add a short delay. (James McCoy, closes #11737 )
2022-12-22 18:30:24 +00:00
Christopher Plewright
c8b126d70d
patch 9.0.1086: display wrong in Windows terminal after exiting Vim
...
Problem: Display wrong in Windows terminal after exiting Vim.
Solution: Apply screen restore fix for Windows 11 also to Windows 10 builds.
(Christopher Plewright, closes #11713 , closes #11706 )
2022-12-22 13:45:23 +00:00
Bram Moolenaar
9b8a365d01
patch 9.0.1085: compiler warns for uninitialized variable
...
Problem: Compiler warns for uninitialized variable.
Solution: Initialize the variable. Remove unused function. (John Marriott)
2022-12-20 20:47:28 +00:00
Christopher Plewright
20b795e0eb
patch 9.0.1084: code handling low level MS-Windows events cannot be tested
...
Problem: Code handling low level MS-Windows events cannot be tested.
Solution: Add test_mswin_event() and tests using it. (Christopher Plewright,
closes #11622 )
2022-12-20 20:01:58 +00:00
Bram Moolenaar
418b547881
patch 9.0.1083: empty and comment lines in a class cause an error
...
Problem: Empty and comment lines in a class cause an error.
Solution: Skip empty and comment lines. (closes #11734 )
2022-12-20 13:38:22 +00:00
kylo252
104b2ff4d0
patch 9.0.1082: some jsonc files are not recognized
...
Problem: Some jsonc files are not recognized.
Solution: Add patterns for jsonc and move some from json to jsonc.
(closes #11711 )
2022-12-19 20:42:49 +00:00
Bram Moolenaar
34820944ed
patch 9.0.1081: using "->" with split lines does not always work
...
Problem: Using "->" with split lines does not always work.
Solution: Avoid trying to get another line. (closes #11723 )
2022-12-19 20:28:38 +00:00
Bram Moolenaar
afa3f1cc72
patch 9.0.1080: the "kitty" terminfo entry is not widespread
...
Problem: The "kitty" terminfo entry is not widespread, resulting in the
kitty terminal not working properly.
Solution: Go back to using "xterm-kitty" and avoid the problems it causes in
another way.
2022-12-19 18:56:48 +00:00
zeertzjq
33e543038b
patch 9.0.1079: leaking memory when defining a user command fails
...
Problem: Leaking memory when defining a user command fails.
Solution: Free "compl_arg" when needed. (closes #11726 )
2022-12-19 16:49:27 +00:00
zeertzjq
07146ad1d3
patch 9.0.1078: with the +vartabs feature indent folding may use wrong 'ts'
...
Problem: With the +vartabs feature indent folding may use wrong 'tabstop'.
Solution: Use the "buf" argument instead of "curbuf".
2022-12-19 15:51:44 +00:00
Bram Moolenaar
4ce1f99a2d
patch 9.0.1077: can add text property with negative ID before virtual text
...
Problem: Can add text property with negative ID before virtual text
property.
Solution: Remember that a text property with a negative ID was used and give
an appropriate error message. (closes #11725 )
Fix index computation.
2022-12-19 13:31:06 +00:00
Bram Moolenaar
8efdcee02e
patch 9.0.1076: ASAN complains about NULL argument
...
Problem: ASAN complains about NULL argument.
Solution: Skip memmove() when there is nothing to move.
2022-12-19 12:18:09 +00:00
Bram Moolenaar
c336ae3ce6
patch 9.0.1075: build fails if compiler doesn't allow declaration after case
...
Problem: build fails if the compiler doesn't allow for a declaration right
after "case".
Solution: Add a block.
2022-12-18 22:01:42 +00:00
Bram Moolenaar
d505d17885
patch 9.0.1074: class members are not supported yet
...
Problem: Class members are not supported yet.
Solution: Add initial support for class members.
2022-12-18 21:42:55 +00:00
Bram Moolenaar
731d00770d
patch 9.0.1073: using "xterm-kitty" for 'term' causes problems
...
Problem: Using "xterm-kitty" for 'term' causes problems.
Solution: Remove the "xterm-" part when 'term' is set from $TERM. Detect a
few kitty-specific properties based on the version response
instead of the terminal name.
2022-12-18 17:47:18 +00:00
zeertzjq
ba2d191932
patch 9.0.1072: screenpos() column result in fold may be too small
...
Problem: screenpos() column result in fold may be too small.
Solution: Add space of 'number', sign column, etc. (closes #11715 )
2022-12-18 12:28:59 +00:00
dundargoc
b5328b46a7
patch 9.0.1071: Codecov action version is too specific
...
Problem: Codecov action version is too specific.
Solution: Only use "v3" to automatically use the latest stable version.
(closes #11720 )
2022-12-17 15:47:45 +00:00
Bram Moolenaar
b26461715b
patch 9.0.1070: reading beyond array size
...
Problem: Reading beyond array size.
Solution: Only use name[0] and name[1], do not use "name" as a string.
2022-12-17 15:35:43 +00:00
Bram Moolenaar
417e88bb75
patch 9.0.1069: diff mode highlight fails for special characters
...
Problem: Diff mode highlight fails for special characters.
Solution: Adjust condition for setting "diff_hlf".
2022-12-17 15:03:02 +00:00
Bram Moolenaar
8d754fada8
patch 9.0.1068: no information about whether request term codes has an effect
...
Problem: No information about whether requesting term codes has an effect.
Solution: Add ch_log() calls to report the effect of term code responses.
Avoid deleting an entry and then adding back the same one.
2022-12-17 13:49:16 +00:00
Bram Moolenaar
d097af7779
patch 9.0.1067: in diff mode virtual text is highlighted incorrectly
...
Problem: In diff mode virtual text is highlighted incorrectly. (Rick Howe)
Solution: Do not use diff attributes for virtual text. (closes #11714 )
2022-12-17 11:33:00 +00:00
zeertzjq
67f3094397
patch 9.0.1066: test function name is wrong
...
Problem: Test function name is wrong.
Solution: Rename to what is actually being tested. (closes #11712 )
2022-12-17 10:40:15 +00:00
Bram Moolenaar
9d1184cd1d
patch 9.0.1065: a shell command switching screens may still have a problem
...
Problem: A shell command switching screens may still have a problem with
the kitty keyboard protocol.
Solution: Disable the kitty keyboard protocol both in the current and the
alternate screen, if there are indications it might be needed.
(issue #11705 ) Also fix naming.
2022-12-16 18:33:20 +00:00
Christian Brabandt
9aee8ec400
patch 9.0.1064: code for making 'shortmess' temporarily empty is repeated
...
Problem: Code for making 'shortmess' temporarily empty is repeated.
Solution: Add functions for making 'shortmess' empty and restoring it.
(Christian Brabandt, closes #11709 )
2022-12-16 16:41:23 +00:00
Bram Moolenaar
4ab1f4a32f
patch 9.0.1063: when using Kitty a shell command may mess up the key state
...
Problem: When using Kitty a shell command may mess up the key protocol
state.
Solution: Output t_te before t_TE. If t_te switches between the main and
the alternate screen then deactivating the key protocol by t_TE
should happen after switching screen. (issue #11705 )
2022-12-16 13:08:36 +00:00
zeertzjq
4cd45f1408
patch 9.0.1062: some test function names do not match what they are doing
...
Problem: Some test function names do not match what they are doing.
Solution: Leave out user data for the test that is called "NoUserData".
(closes #11703 )
2022-12-15 13:48:30 +00:00
Luuk van Baal
ba936f6f4e
patch 9.0.1061: cannot display 'showcmd' somewhere else
...
Problem: Cannot display 'showcmd' somewhere else.
Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes #11684 )
2022-12-15 13:15:39 +00:00
Bram Moolenaar
3d473ee1a6
patch 9.0.1060: private and public object members are not implemented yet
...
problem: Private and public object members are not implemented yet.
Solution: Implement private and public object members.
2022-12-14 20:59:32 +00:00
Bram Moolenaar
f94178db8d
patch 9.0.1059: build failure with some compilers
...
Problem: Build failure with some compilers that can't handle a
declaration directly after a "case" statement.
Solution: Add a block to put the declarations in.
2022-12-14 17:50:00 +00:00
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
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