Bram Moolenaar
9ba6194d4c
patch 9.0.0338: return value of list_append_list() not always checked
...
Problem: Return value of list_append_list() not always checked.
Solution: Check return value and handle failure.
2022-08-31 11:25:06 +01:00
Yegappan Lakshmanan
04c4c5746e
patch 9.0.0335: checks for Dictionary argument often give a vague error
...
Problem: Checks for Dictionary argument often give a vague error message.
Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009 )
2022-08-30 19:48:24 +01:00
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
b8329db36a
patch 9.0.0044: typos in comments, wrapping lines
...
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.
2022-07-06 13:31:28 +01:00
Kazuyuki Miyagi
47f1a55849
patch 8.2.5116: "limit" option of matchfuzzy() not always respected
...
Problem: "limit" option of matchfuzzy() not always respected.
Solution: Remove "else". (Kazuyuki Miyagi, closes #10586 )
2022-06-17 18:30:03 +01:00
Bram Moolenaar
5ea38d1e7f
patch 8.2.5114: time limit on searchpair() does not work properly
...
Problem: Time limit on searchpair() does not work properly.
Solution: Set the time limit once instead of for each regexp. (closes #10562 )
2022-06-16 21:20:48 +01:00
Paul Ollis
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
Bram Moolenaar
409510c588
patch 8.2.5050: using freed memory when searching for pattern in path
...
Problem: Using freed memory when searching for pattern in path.
Solution: Make a copy of the line.
2022-06-01 15:23:13 +01:00
Bram Moolenaar
8e145b8246
patch 8.2.4993: smart/C/lisp indenting is optional
...
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
2022-05-21 20:17:31 +01:00
zeertzjq
9af2bc0751
patch 8.2.4939: matchfuzzypos() with "matchseq" does not have all positions
...
Problem: matchfuzzypos() with "matchseq" does not have all positions.
Solution: Also add a position for white space. (closes #10404 )
2022-05-11 14:15:37 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
Yegappan Lakshmanan
047a7019b2
patch 8.2.4765: function matchfuzzy() sorts too many items
...
Problem: Function matchfuzzy() sorts too many items.
Solution: Only put matches in the array. (Yegappan Lakshmanan,
closes #10208 )
2022-04-16 20:42:40 +01:00
Yasuhiro Matsumoto
9029a6e993
patch 8.2.4760: using matchfuzzy() on a long list can take a while
...
Problem: Using matchfuzzy() on a long list can take a while.
Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto,
closes #10189 )
2022-04-16 12:35:35 +01:00
Bram Moolenaar
c6e0a5e98c
patch 8.2.4732: duplicate code to free fuzzy matches
...
Problem: Duplicate code to free fuzzy matches.
Solution: Bring back fuzmatch_str_free().
2022-04-10 18:09:06 +01:00
Dominique Pelle
7765f5cf96
patch 8.2.4727: unused code
...
Problem: Unused code.
Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136 )
2022-04-10 11:26:53 +01:00
Yegappan Lakshmanan
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
Yegappan Lakshmanan
6caeda2fce
patch 8.2.4479: no fuzzy completieon for maps and abbreviations
...
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes #9856 )
2022-02-27 12:07:30 +00:00
Yegappan Lakshmanan
5ec633b9b0
patch 8.2.4465: fuzzy completion does not order matches properly
...
Problem: Fuzzy completion does not order matches properly.
Solution: Do not use regular expression match. (Yegappan Lakshmanan,
closes #9843 )
2022-02-25 15:24:24 +00:00
Yegappan Lakshmanan
38b85cb4d7
patch 8.2.4463: completion only uses strict matching
...
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes #9803 )
2022-02-24 13:28:41 +00:00
kylo252
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
Christian Brabandt
6dd7424c7e
patch 8.2.4378: incsearch HL broken when calling searchcount in 'tabLine'
...
Problem: Incsearch highlight broken when calling searchcount() in 'tabLine'
function. (Mirko Palmer)
Solution: Save and restore the incsearch state. (Christian Brabandt,
closes #9763 , closes #9633 )
2022-02-14 12:44:32 +00:00
Yegappan Lakshmanan
d94fbfc74a
patch 8.2.4001: insert complete code uses global variables
...
Problem: Insert complete code uses global variables.
Solution: Make variables local to the file and use accessor functions.
(Yegappan Lakshmanan, closes #9470 )
2022-01-04 17:01:44 +00:00
Bram Moolenaar
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
Bram Moolenaar
3a846e6bca
patch 8.2.3972: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last errors from globals.h to errors.h.
2022-01-01 16:21:00 +00:00
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
ba26367fea
patch 8.2.3938: line comment start is also found in a string
...
Problem: Line comment start is also found in a string.
Solution: Skip line comments in a string.
2021-12-29 18:09:13 +00:00
Bram Moolenaar
6e371ecb27
patch 8.2.3787: no proper formatting of a C line comment after a statement
...
Problem: No proper formatting of a C line comment after a statement.
Solution: Find the start of the line comment, insert the comment leader and
indent the comment properly.
2021-12-12 14:16:39 +00:00
Bram Moolenaar
a2cff1dbc9
patch 8.2.3513: using freed memory when using a timer and searching
...
Problem: Using freed memory when using a timer and searching. (Dominique
Pellé)
Solution: Allocated mr_pattern.
2021-10-15 12:51:29 +01:00
Christian Brabandt
bc67e5a0a4
patch 8.2.3292: underscore in very magic pattern causes a hang
...
Problem: Underscore in very magic pattern causes a hang. Pattern with \V
are case sensitive. (Yutao Yuan)
Solution: Adjust condition for magicness and advance pointer. (Christian
Brabandt, closes #8707 , closes #8704 , closes #8705 )
2021-08-05 15:24:59 +02:00
Christian Brabandt
78ba933d18
patch 8.2.3265: smartcase does not work correctly in very magic pattern
...
Problem: Smartcase does not work correctly in very magic pattern.
Solution: Take the magicness into account when skipping over regexp items.
(Christian Brabandt, closes #8682 , closes #7845 )
2021-08-01 12:44:37 +02:00
Connor Lane Smith
b9115da4be
patch 8.2.3255: ci" finds following string but ci< and others don't
...
Problem: ci" finds following string but ci< and others don't.
Solution: When not inside an object find the start. (Connor Lane Smit,
closes #8670 )
2021-07-31 13:31:42 +02:00
Yegappan Lakshmanan
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
Bram Moolenaar
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
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Yegappan Lakshmanan
bb01a1ef3a
patch 8.2.2813: cannot grep using fuzzy matching
...
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152 )
2021-04-26 21:17:52 +02:00
Bram Moolenaar
5b8cabfef7
patch 8.2.2694: when 'matchpairs' is empty every character beeps
...
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution: Bail out when no character in 'matchpairs' was found.
(closes #8053 ) Add assert_nobeep().
2021-04-02 18:55:57 +02:00
Bram Moolenaar
92bb83e41c
patch 8.2.2465: using freed memory in :psearch
...
Problem: Using freed memory in :psearch. (houyunsong)
Solution: Check the current window is still valid. Fix flaky test.
2021-02-03 23:04:46 +01:00
Bram Moolenaar
d93a7fc1a9
patch 8.2.2295: incsearch does not detect empty pattern properly
...
Problem: Incsearch does not detect empty pattern properly.
Solution: Return magic state when skipping over a pattern. (Christian
Brabandt, closes #7612 , closes #6420 )
2021-01-04 12:42:13 +01:00
Bram Moolenaar
9d19e4f4ba
patch 8.2.2280: fuzzy matching doesn't give access to the scores
...
Problem: Fuzzy matching doesn't give access to the scores.
Solution: Return the scores with a third list. (Yegappan Lakshmanan,
closes #7596 )
2021-01-02 18:31:32 +01:00
Bram Moolenaar
f4e2099e39
patch 8.2.2182: Vim9: value of 'magic' is still relevant
...
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509 )
2020-12-21 19:59:08 +01:00
Bram Moolenaar
8e7d6223f6
patch 8.2.2160: various typos
...
Problem: Various typos.
Solution: Fix spelling mistakes. (closes #7494 )
2020-12-18 19:49:56 +01:00
Bram Moolenaar
dcdd42a8cc
patch 8.2.1921: fuzzy matching does not recognize path separators
...
Problem: Fuzzy matching does not recognize path separators.
Solution: Add a bonus for slash and backslash. (Yegappan Lakshmanan,
closes #7225 )
2020-10-29 18:58:01 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
8ded5b647a
patch 8.2.1893: fuzzy matching does not support multiple words
...
Problem: Fuzzy matching does not support multiple words.
Solution: Add support for matching white space separated words. (Yegappan
Lakshmanan, closes #7163 )
2020-10-23 16:50:30 +02:00
Bram Moolenaar
e9f9f16387
patch 8.2.1872: matchfuzzy() does not prefer sequential matches
...
Problem: Matchfuzzy() does not prefer sequential matches.
Solution: Give sequential matches a higher bonus. (Christian Brabandt,
closes #7140 )
2020-10-20 19:01:30 +02:00
Bram Moolenaar
c07b7f701f
patch 8.2.1837: using "gn" after "gN" does not work
...
Problem: Using "gn" after "gN" does not work.
Solution: Extend the other end of the Visual area. (closes #7109 )
2020-10-11 20:44:15 +02:00