f2e30d0c44
patch 9.0.1262: the did_set_string_option function is too long
...
Problem: The did_set_string_option function is too long.
Solution: Split off functionality to individual functions. (Yegappan
Lakshmanan, Lewis Russell, closes #11904 )
2023-01-30 13:04:42 +00:00
ebfec1c531
patch 9.0.1234: the code style has to be checked manually
...
Problem: The code style has to be checked manually.
Solution: Add basic code style checks in a test. Fix or avoid uncovered
problems.
2023-01-22 21:14:53 +00:00
f97a295cca
patch 9.0.1221: code is indented more than necessary
...
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11833 )
2023-01-18 18:17:48 +00:00
c96b7f5d2a
patch 9.0.0990: callback name argument is changed by setqflist()
...
Problem: Callback name argument is changed by setqflist().
Solution: Use the expanded function name for the callback, do not store it
in the argument. (closes #11653 )
2022-12-02 15:58:38 +00:00
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
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
2f7bfe66a1
patch 9.0.0870: get E967 when using text property in quickfix window
...
Problem: Get E967 when using text property in quickfix window. (Sergey
Vlasov)
Solution: Do not add an extra NUL and compute the text length correctly.
(closes #11513 )
2022-11-13 12:54:50 +00:00
d0fab10ed2
patch 9.0.0805: filetype autocmd may cause freed memory access
...
Problem: Filetype autocmd may cause freed memory access.
Solution: Set the quickfix-busy flag while filling the buffer.
2022-10-20 16:03:33 +01:00
d8cd6f7427
patch 9.0.0770: quickfix commands may keep memory allocated
...
Problem: Quickfix commands may keep memory allocated.
Solution: Free memory when it's a bit much. (Yegappan Lakshmanan,
closes #11379 )
2022-10-16 11:30:48 +01:00
975a665d48
patch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient
...
Problem: Alloc/free of buffer for each quickfix entry is inefficient.
Solution: Use a shared grow array. (Yegappan Lakshmanan, closes #11365 )
2022-10-14 13:11:13 +01:00
f8412c9d7c
patch 9.0.0736: quickfix listing does not handle very long messages
...
Problem: Quickfix listing does not handle very long messages.
Solution: Use a growarray instead of a fixed size buffer. (Yegappan
Lakshmanan, closes #11357 )
2022-10-13 11:59:22 +01:00
4f1b083be4
patch 9.0.0322: crash when no errors and 'quickfixtextfunc' is set
...
Problem: Crash when no errors and 'quickfixtextfunc' is set.
Solution: Do not handle errors if there aren't any.
2022-08-29 20:45:16 +01:00
6d24a51b94
patch 9.0.0286: using freed memory when location list changed in autocmd
...
Problem: Using freed memory when location list changed in autocmd.
Solution: Return QF_ABORT and handle it. (Yegappan Lakshmanan,
closes #10993 )
2022-08-27 20:59:57 +01:00
d6c67629ed
patch 9.0.0260: using freed memory when using 'quickfixtextfunc' recursively
...
Problem: Using freed memory when using 'quickfixtextfunc' recursively.
Solution: Do not allow for recursion.
2022-08-24 20:07:22 +01:00
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
ab146dac6b
patch 9.0.0129: compiler warning for int/size_t usage
...
Problem: Compiler warning for int/size_t usage.
Solution: Add a type cast. (Mike Williams, closes #10830 )
2022-08-01 14:00:31 +01:00
5f30e26f69
patch 9.0.0097: long quickfix line is truncated for :clist
...
Problem: Long quickfix line is truncated for :clist.
Solution: Allocate a buffer if needed.
2022-07-28 11:56:01 +01:00
d61efa50f8
patch 9.0.0063: too many type casts for dict_get functions
...
Problem: Too many type casts for dict_get functions.
Solution: Change the key argument from "char_u *" to "char *".
2022-07-23 09:52:04 +01:00
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
dd41037552
patch 8.2.4958: a couple conditions are always true
...
Problem: A couple conditions are always true.
Solution: Remove the conditions. (Goc Dundar, closes #10428 )
2022-05-15 13:59:11 +01:00
31e5c60a68
patch 8.2.4753: error from setting an option is silently ignored
...
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
2022-04-15 13:53:33 +01:00
b836658a04
patch 8.2.4750: small pieces of dead code
...
Problem: Small pieces of dead code.
Solution: Remove the dead code. (Goc Dundar, closes #10190 ) Rename the
qftf_cb struct member to avoid confusion.
2022-04-14 20:43:56 +01:00
4829c1c9e9
patch 8.2.4683: verbose check with dict_find() to see if a key is present
...
Problem: Verbose check with dict_find() to see if a key is present.
Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074 )
2022-04-04 15:16:54 +01:00
b4ad3b0dea
patch 8.2.4649: various formatting problems
...
Problem: Various formatting problems.
Solution: Improve the code formatting.
2022-03-30 10:57:45 +01:00
df1bbea436
patch 8.2.4512: the find_tags_in_file() function is much too long
...
Problem: The find_tags_in_file() function is much too long.
Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
closes #9892 )
2022-03-05 14:35:12 +00:00
2f87a99b6e
patch 8.2.4494: the find_tags() function is much too long
...
Problem: The find_tags() function is much too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869 )
2022-03-02 20:29:35 +00:00
5a2d4a3ecb
patch 8.2.4474: memory allocation failures not tested in quickfix code
...
Problem: Memory allocation failures not tested in quickfix code.
Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848 )
2022-02-26 10:31:32 +00:00
9c9be05b17
patch 8.2.4462: not enough testing for quickfix code
...
Problem: Not enough testing for quickfix code.
Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
closes #9839 )
2022-02-24 12:33:17 +00:00
4791fcd825
patch 8.2.4453: :helpgrep may free an option that was not allocated
...
Problem: :helpgrep may free an option that was not allocated. (Yegappan
Lakshmanan)
Solution: Check if the value was allocated.
2022-02-23 12:06:00 +00:00
ae6f1d8b14
patch 8.2.4402: missing parenthesis may cause unexpected problems
...
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788 )
2022-02-16 19:24:07 +00:00
e023d49937
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 )
2022-02-08 18:09:29 +00:00
d82a47dd04
patch 8.2.4012: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
2022-01-05 20:24:39 +00:00
677658ae49
patch 8.2.4008: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 16:09:06 +00:00
a6f7929e62
patch 8.2.4005: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-04 21:30:47 +00:00
1d423ef75f
patch 8.2.3987: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 21:26:16 +00:00
ac78dd4a35
patch 8.2.3985: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 19:25:26 +00:00
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
6ae8fae869
patch 8.2.3788: lambda for option that is a function may be freed
...
Problem: Lambda for option that is a function may be garbage collected.
Solution: Set a reference in the funcref. (Yegappan Lakshmanan,
closes #9330 )
2021-12-12 16:26:44 +00:00
56150da687
patch 8.2.3762: if quickfix buffer is wiped out getqflist() still returns it
...
Problem: If the quickfix buffer is wiped out getqflist() still returns its
number.
Solution: Use zero if the buffer is no longer present. (Yegappan Lakshmanan,
closes #9306 )
2021-12-09 09:27:06 +00:00
78a61068cf
patch 8.2.3759: quickfix buffer becomes hidden while still in a window
...
Problem: Quickfix buffer becomes hidden while still in a window.
Solution: Check if the closed window is the last window showing the quickfix
buffer. (Yegappan Lakshmanan, closes #9303 , closes #9300 )
2021-12-08 20:03:31 +00:00
0b226f60be
patch 8.2.3713: MS-Windows: no error if vimgrep pattern is not matching
...
Problem: MS-Windows: No error message if vimgrep pattern is not matching.
Solution: Give an error message. (Christian Brabandt, closes #9245 ,
closes #8762 )
2021-12-01 10:54:24 +00:00
777175b0df
patch 8.2.3619: cannot use a lambda for 'operatorfunc'
...
Problem: Cannot use a lambda for 'operatorfunc'.
Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
closes #8775 )
2021-11-18 22:08:57 +00:00
1d30fde3c9
patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice
...
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
Peterse)
Solution: Only trigger BufWinEnter with "quickfix". (closes #9022 )
2021-10-20 21:58:42 +01:00
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
2021-07-21 22:20:33 +02:00
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00