zeertzjq
f2588b6fc9
patch 9.0.1508: catch does not work when lines are joined with a newline
...
Problem: Catch does not work when lines are joined with a newline.
Solution: Set "nextcmd" appropriately. (closes #12348 )
2023-05-05 17:22:35 +01:00
zeertzjq
a93d9cdc74
patch 9.0.1505: error when heredoc content looks like heredoc
...
Problem: Error when heredoc content looks like heredoc.
Solution: Handle curly expressions. (closes #12325 )
2023-05-02 16:25:47 +01:00
zeertzjq
b7f6f93475
patch 9.0.1452: code using EVAL_CONSTANT is dead, it is never set
...
Problem: Code using EVAL_CONSTANT is dead, it is never set.
Solution: Remove EVAL_CONSTANT. (closes #12252 )
2023-04-13 22:12:50 +01:00
zeertzjq
c481ad38f0
patch 9.0.1401: condition is always true
...
Problem: Condition is always true.
Solution: Remove the condition. (closes #12139 )
2023-03-11 16:18:51 +00:00
Yegappan Lakshmanan
14113fdf9c
patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected file
...
Problem: FOR_ALL_ macros are defined in an unexpected file.
Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS.
(Yegappan Lakshmanan, closes #12109 )
2023-03-07 17:13:51 +00:00
=?UTF-8?q?Ola=20S=C3=B6der?=
d8742476d1
patch 9.0.1381: ACCESS_ names have a conflict with on some systems
...
Problem: ACCESS_ names have a conflict with on some systems.
Solution: Rename by prepending VIM_. (Ola Söder, closes #12105 )
2023-03-05 13:12:32 +00:00
Bram Moolenaar
99a7c0d89c
patch 9.0.1338: :defcompile and :disassemble can't find class method
...
Problem: :defcompile and :disassemble can't find class method. (Ernie Rael)
Solution: Make a class name and class.method name work. (closes #11984 )
2023-02-21 19:55:14 +00:00
Bram Moolenaar
ce93d162da
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 )
2023-01-30 21:12:34 +00:00
Bram Moolenaar
b149d22796
patch 9.0.1239: cannot have a line break before an object member access
...
Problem: Cannot have a line break before an object member access.
Solution: Check for "." in next line. (closes #11864 )
2023-01-24 13:03:37 +00:00
Bram Moolenaar
bcbfaf32e0
patch 9.0.1180: compiler warnings without the +job feature
...
Problem: Compiler warnings without the +job feature.
Solution: Adjust #ifdefs. (John Marriott)
2023-01-11 19:11:15 +00:00
Yegappan Lakshmanan
ea125393af
patch 9.0.1175: the set_ref_in_item() function is too long
...
Problem: The set_ref_in_item() function is too long.
Solution: Use a separate function for more complicated types. (Yegappan
Lakshmanan, closes #11802 )
2023-01-11 11:46:17 +00:00
Bram Moolenaar
94674f2223
patch 9.0.1152: class "implements" argument not implemented
...
Problem: Class "implements" argument not implemented.
Solution: Implement "implements" argument. Add basic checks for when a
class implements an interface.
2023-01-06 18:42:20 +00:00
Bram Moolenaar
cf760d50dc
patch 9.0.1149: class members may be garbage collected
...
Problem: Class members may be garbage collected.
Solution: Mark class members as being in use.
2023-01-05 13:16:04 +00:00
Bram Moolenaar
3ac1d97a1d
patch 9.0.1145: invalid memory access with recursive substitute expression
...
Problem: Invalid memory access with recursive substitute expression.
Solution: Check the return value of vim_regsub().
2023-01-04 17:17:54 +00:00
Bram Moolenaar
a9fa8c58fb
patch 9.0.1133: error message names do not match the items
...
Problem: Error message names do not match the items.
Solution: Add "_str" when the text contains "%s".
2023-01-02 18:10:04 +00:00
Yegappan Lakshmanan
87c1cbbe98
patch 9.0.1105: code is indented too much
...
Problem: Code is indented too much.
Solution: Use an early return. (Yegappan Lakshmanan, closes #11756 )
2022-12-27 19:54:52 +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
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
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
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
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
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
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
84497cd06f
patch 9.0.0967: leaking memory from autocmd windows
...
Problem: Leaking memory from autocmd windows.
Solution: Free window when auc_win is not NULL.
2022-11-28 20:34:52 +00:00
Bram Moolenaar
e76062c078
patch 9.0.0965: using one window for executing autocommands is insufficient
...
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
2022-11-28 18:51:43 +00:00
Bram Moolenaar
88456cd3c4
patch 9.0.0904: various comment and indent flaws
...
Problem: Various comment and indent flaws.
Solution: Improve comments and indenting.
2022-11-18 22:14:09 +00:00
zeertzjq
91c75d18d9
patch 9.0.0836: wrong error when using extend() with funcref
...
Problem: Wrong error when using extend() with funcref.
Solution: Better check the variable type. (closes #11468 , closes #11455 )
2022-11-05 20:21:58 +00:00
dundargoc
c57b5bcd22
patch 9.0.0828: various typos
...
Problem: Various typos.
Solution: Correct typos. (closes #11432 )
2022-11-02 13:30:51 +00:00
Bram Moolenaar
cdef1cefa2
patch 9.0.0804: crash when trying to divide a number by -1
...
Problem: Crash when trying to divice the largest negative number by -1.
Solution: Handle this case specifically.
2022-10-20 14:17:18 +01:00
Bram Moolenaar
79f234499b
patch 9.0.0712: wrong column when calling setcursorcharpos() with zero lnum
...
Problem: Wrong column when calling setcursorcharpos() with zero lnum.
Solution: Set the line number before calling buf_charidx_to_byteidx().
(closes #11329 )
2022-10-10 12:42:57 +01:00
Bram Moolenaar
bdc09a18fc
patch 9.0.0683: cannot specify a time for :echowindow
...
Problem: Cannot specify a time for :echowindow.
Solution: A count can be used to specify the display time. Add
popup_findecho().
2022-10-07 14:31:45 +01:00
Bram Moolenaar
a4e0b9785e
patch 9.0.0634: evaluating "expr" options has more overhead than needed
...
Problem: Evaluating "expr" options has more overhead than needed.
Solution: Use call_simple_func() for 'foldtext', 'includeexpr', 'printexpr',
"expr" of 'spellsuggest', 'diffexpr', 'patchexpr', 'balloonexpr',
'formatexpr', 'indentexpr' and 'charconvert'.
2022-10-01 19:43:52 +01:00
Bram Moolenaar
87b4e5c5db
patch 9.0.0632: calling a function from an "expr" option has overhead
...
Problem: Calling a function from an "expr" option has too much overhead.
Solution: Add call_simple_func() and use it for 'foldexpr'
2022-10-01 15:32:46 +01:00
Bram Moolenaar
82418263fa
patch 9.0.0618: calling function for reduce() has too much overhead
...
Problem: Calling function for reduce() has too much overhead.
Solution: Do not create a funccall_T every time.
2022-09-28 16:16:15 +01:00
Bram Moolenaar
7f9a5a68fe
patch 9.0.0558: Coverity warns for possibly using NULL pointer
...
Problem: Coverity warns for possibly using NULL pointer.
Solution: Only use "evalarg" when not NULL.
2022-09-23 16:37:18 +01:00
Bram Moolenaar
86fb3f8b99
patch 9.0.0556: leaking memory with nested functions
...
Problem: Leaking memory with nested functions.
Solution: Free saved pointer.
2022-09-23 13:27:57 +01:00
Bram Moolenaar
f8addf1ca1
patch 9.0.0554: using freed memory when command follows lambda
...
Problem: Using freed memory when command follows lambda.
Solution: Don't free what is still in use. (closes #11201 )
2022-09-23 12:44:25 +01:00
Bram Moolenaar
69082916c8
patch 9.0.0552: crash when using NUL in buffer that uses :source
...
Problem: Crash when using NUL in buffer that uses :source.
Solution: Don't get a next line when skipping over NL.
2022-09-22 21:35:19 +01:00
Bram Moolenaar
cc34181f99
patch 9.0.0502: a closure in a nested loop in a :def function does not work
...
Problem: A closure in a nested loop in a :def function does not work.
Solution: Use an array of loopvars, one per loop level.
2022-09-19 15:54:34 +01:00
Bram Moolenaar
73e28dcc61
patch 9.0.0491: no good reason to build without the float feature
...
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-17 21:08:33 +01:00
Bram Moolenaar
acd6b9976b
patch 9.0.0487: using freed memory with combination of closures
...
Problem: Using freed memory with combination of closures.
Solution: Do not use a partial after it has been freed through the
funcstack.
2022-09-17 16:27:39 +01:00
Bram Moolenaar
0cdfb7ce46
patch 9.0.0485: in :def function all closures in loop get the same variables
...
Problem: In a :def function all closures in a loop get the same variables.
Solution: Make a copy of loop variables used in a closure.
2022-09-17 15:44:52 +01:00
Bram Moolenaar
766ae5b252
patch 9.0.0460: loop variable can't be found
...
Problem: Loop variable can't be found.
Solution: Adjust block_id of the loop variable each round.
2022-09-14 00:30:51 +01:00
Bram Moolenaar
9510d22463
patch 9.0.0444: trying to declare g:variable gives confusing error
...
Problem: Trying to declare g:variable gives confusing error.
Solution: Give a better error message. (closes #11108 )
2022-09-11 15:14:05 +01:00
Bram Moolenaar
55e9366e32
patch 9.0.0437: no error when custom completion function returns wrong type
...
Problem: No error when a custom completion function returns something else
than the expected list.
Solution: Give an error. (closes #11100 )
2022-09-10 13:52:26 +01:00
Bram Moolenaar
f21d546d8f
patch 9.0.0435: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it.
2022-09-10 12:36:00 +01:00
Bram Moolenaar
12553ada3b
patch 9.0.0433: Coverity warns for not checking allocation failure
...
Problem: Coverity warns for not checking allocation failure.
Solution: Check that allocating a list or blob succeeded.
2022-09-10 10:42:20 +01:00
Bram Moolenaar
9667b2c888
patch 9.0.0406: deferred functions not invoked when partial func exits
...
Problem: Deferred functions not invoked when partial func exits.
Solution: Create a funccall_T when calling a :def function.
2022-09-07 17:28:09 +01:00