Bram Moolenaar
ac7c33e38c
updated for version 7.4a.036
...
Problem: "\p" in a regexp does not match double-width characters.
(Yukihiro Nakadaira)
Solution: Don't count display cells, use vim_isprintc().
2013-07-21 17:06:00 +02:00
Bram Moolenaar
69b52456fc
updated for version 7.4a.032
...
Problem: New regexp engine: Does not match shorter alternative. (Ingo
Karkat)
Solution: Do not drop a new state when the PIM info is different.
2013-07-17 21:10:51 +02:00
Bram Moolenaar
de9149ef18
updated for version 7.4a.031
...
Problem: Compiler warnings. (Charles Campbell)
Solution: Initialize variables even when not needed.
2013-07-17 19:22:13 +02:00
Bram Moolenaar
3fb14bc734
updated for version 7.4a.020
...
Problem: Superfluous mb_ptr_adv().
Solution: Remove the call. (Dominique Pelle)
2013-07-14 12:34:56 +02:00
Bram Moolenaar
690ae9c858
updated for version 7.4a.018
...
Problem: Compiler warning for code unreachable. (Charles Campbell)
Solution: Use "while" instead of endless loop. Change break to continue.
2013-07-13 20:58:11 +02:00
Bram Moolenaar
d05bf560ac
updated for version 7.3.1280
...
Problem: Reading memory already freed since patch 7.3.1247. (Simon
Ruderich, Dominique Pelle)
Solution: Copy submatches before reallocating the state list.
2013-06-30 23:24:08 +02:00
Bram Moolenaar
55480dccf4
updated for version 7.3.1272
...
Problem: Crash when editing Ruby file. (Aliaksandr Rahalevich)
Solution: Reallocate the state list when necessary.
2013-06-30 13:17:24 +02:00
Bram Moolenaar
4d9ae21a34
updated for version 7.3.1258
...
Problem: Using submatch() may crash Vim. (Ingo Karkat)
Solution: Restore the number of subexpressions used.
2013-06-28 23:04:42 +02:00
Bram Moolenaar
a0169128d9
updated for version 7.3.1247
...
Problem: New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match.
Solution: When there is a PIM add a duplicate state that starts at another
position.
2013-06-26 18:16:58 +02:00
Bram Moolenaar
f86c0b01a7
updated for version 7.3.1243
...
Problem: New regexp engine: back references in look-behind match don't
work. (Lech Lorens)
Solution: Copy the submatches before a recursive match.
2013-06-26 12:42:44 +02:00
Bram Moolenaar
fe70acb376
updated for version 7.3.1224
...
Problem: Clang gives warnings on xxd.
Solution: Change how to use part of a string. (Dominique Pelle) Also avoid
warning for return not reached.
2013-06-21 18:31:23 +02:00
Bram Moolenaar
d79862599d
updated for version 7.3.1217
...
Problem: New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira)
Solution: Support nested atoms inside \%[].
2013-06-17 21:33:41 +02:00
Bram Moolenaar
01b626c26e
updated for version 7.3.1214
...
Problem: Missing declaration for init_users() and realloc_post_list().
(Salman Halim)
Solution: Add the declarations.
2013-06-16 22:49:14 +02:00
Bram Moolenaar
a50d02d983
updated for version 7.3.1207
...
Problem: New regexp engine: no match found on "#if FOO". (Lech Lorens)
Solution: When adding a state gets skipped don't adjust the index.
2013-06-16 15:43:50 +02:00
Bram Moolenaar
44c71db771
updated for version 7.3.1194
...
Problem: Yaml highlighting is slow.
Solution: Tune the estimation of pattern failure chance.
2013-06-14 22:33:51 +02:00
Bram Moolenaar
c5089bb8ff
updated for version 7.3.1192
...
Problem: Valgrind reports errors when using backreferences. (Dominique
Pelle)
Solution: Do not check the end of submatches.
2013-06-14 21:15:25 +02:00
Bram Moolenaar
580abea48a
updated for version 7.3.1191
...
Problem: Backreference to previous line doesn't work. (Lech Lorens)
Solution: Implement looking in another line.
2013-06-14 20:31:28 +02:00
Bram Moolenaar
4c46b5e001
updated for version 7.3.1189
...
Problem: Highlighting is still wrong sometimes. (Dominique Pelle)
Solution: Also restore reginput properly.
2013-06-13 22:59:30 +02:00
Bram Moolenaar
b62bcd1e05
updated for version 7.3.1185
...
Problem: New regexp engine: no match with ^ after \n. (SungHyun Nam)
Solution: Fix it, add a test.
2013-06-13 20:19:40 +02:00
Bram Moolenaar
484d241a4a
updated for version 7.3.1184
...
Problem: Highlighting is sometimes wrong. (Axel Bender)
Solution: Fetch regline again when returning from recursive regmatch.
2013-06-13 19:47:07 +02:00
Bram Moolenaar
a2947e2bea
updated for version 7.3.1169
...
Problem: New regexp engine: some work is done while executing a pattern,
even though the result is predictable.
Solution: Do the work while compiling the pattern.
2013-06-11 22:44:09 +02:00
Bram Moolenaar
16619a235b
updated for version 7.3.1165
...
Problem: HP-UX compiler can't handle zero size array. (Charles Cooper)
Solution: Make the array one item big.
2013-06-11 18:42:36 +02:00
Bram Moolenaar
bcf4d178ab
updated for version 7.3.1157
...
Problem: New regexp engine fails on "\(\<command\)\@<=.*"
Solution: Fix rule for postponing match. Further tune estimating whether
postponing works better. Add test.
2013-06-10 16:35:18 +02:00
Bram Moolenaar
4380d1ea23
updated for version 7.3.1156
...
Problem: Compiler warnings. (dv1445)
Solution: Initialize variables, even when the value isn't really used.
2013-06-09 20:51:00 +02:00
Bram Moolenaar
927d4a1fb5
updated for version 7.3.1154
...
Problem: New regexp_nfa engine: Uneccessary code.
Solution: Remove uneccessary code.
2013-06-09 17:25:34 +02:00
Bram Moolenaar
2a4e98ac1e
updated for version 7.3.1153
...
Problem: New regexp engine: Some look-behind matches are very expensive.
Solution: Pospone invisible matches further, until a match is almost found.
2013-06-09 16:24:45 +02:00
Bram Moolenaar
a940aa6fc4
updated for version 7.3.1152
...
Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck)
Solution: Add #ifdef.
2013-06-08 23:30:04 +02:00
Bram Moolenaar
1e02e6620b
updated for version 7.3.1151
...
Problem: New regexp engine: Slow when a look-behind match is followed by a
zero-width match.
Solution: Postpone the look-behind match more often.
2013-06-08 23:26:27 +02:00
Bram Moolenaar
e7766eeaa5
updated for version 7.3.1150
...
Problem: New regexpengine: Slow when a look-behind match does not have a
width specified.
Solution: Try to compute the maximum width.
2013-06-08 22:30:03 +02:00
Bram Moolenaar
473de61b04
updated for version 7.3.1149
...
Problem: New regexp engine: Matching plain text could be faster.
Solution: Detect a plain text match and handle it specifically. Add
vim_regfree().
2013-06-08 18:19:48 +02:00
Bram Moolenaar
87f764a891
updated for version 7.3.1147
...
Problem: New regexp engine: regstart is only used to find the first match.
Solution: Use regstart whenever adding the start state.
2013-06-08 14:38:27 +02:00
Bram Moolenaar
b1b284fd5d
updated for version 7.3.1146
...
Problem: New regexp engine: look-behind match not checked when followed by
zero-width match.
Solution: Do the look-behind match before adding the zero-width state.
2013-06-08 13:33:37 +02:00
Bram Moolenaar
f96d109827
updated for version 7.3.1145
...
Problem: New regexp engine: addstate() is called very often.
Solution: Optimize adding the start state.
2013-06-07 22:39:40 +02:00
Bram Moolenaar
43e0298416
updated for version 7.3.1140
...
Problem: New regexp engine: trying expensive match while the result is not
going to be used.
Solution: Check for output state already being in the state list.
2013-06-07 17:31:29 +02:00
Bram Moolenaar
decd9540fd
updated for version 7.3.1139
...
Problem: New regexp engine: negated flag is hardly used.
Solution: Add separate _NEG states, remove negated flag.
2013-06-07 16:31:50 +02:00
Bram Moolenaar
8aca2e9bef
updated for version 7.3.1138
...
Problem: New regexp engine: neglist no longer used.
Solution: Remove the now unused neglist.
2013-06-07 14:59:18 +02:00
Bram Moolenaar
417bad227a
updated for version 7.3.1137
...
Problem: New regexp engine: collections are slow.
Solution: Handle all characters in one go.
2013-06-07 14:08:30 +02:00
Bram Moolenaar
d89616ebb8
updated for version 7.3.1133
...
Problem: New regexp engine is a bit slow.
Solution: Skip ahead to a character that must match. Don't try matching a
"^" patter past the start of line.
2013-06-06 18:46:06 +02:00
Bram Moolenaar
6d3a5d755a
updated for version 7.3.1132
...
Problem: Crash when debugging regexp.
Solution: Do not try to dump subexpr that were not set. Skip over count of
\% items.
2013-06-06 18:04:51 +02:00
Bram Moolenaar
188c57bcd1
updated for version 7.3.1131
...
Problem: New regexp engine is a bit slow.
Solution: Do not clear the state list. Don't copy syntax submatches when
not used.
2013-06-06 16:22:06 +02:00
Bram Moolenaar
cd2d8bb6ea
updated for version 7.3.1128
...
Problem: Now that the NFA engine handles everything every failure is a
syntax error.
Solution: Remove the syntax_error flag.
2013-06-05 21:42:53 +02:00
Bram Moolenaar
2976c028ca
updated for version 7.3.1127
...
Problem: No error for using empty \%[].
Solution: Give error message.
2013-06-05 21:30:37 +02:00
Bram Moolenaar
c19b4b50a8
updated for version 7.3.1126
...
Problem: Compiler warning for unitialized variable. (Tony Mechelynck)
Solution: Assign something to the variable.
2013-06-05 21:23:39 +02:00
Bram Moolenaar
973fced763
updated for version 7.3.1125
...
Problem: Error for using \%V in a pattern in tiny Vim.
Solution: Allow using \%V but never match. (Dominique Pelle)
2013-06-05 21:10:59 +02:00
Bram Moolenaar
8795374bd3
updated for version 7.3.1122
...
Problem: New regexp engine: \%> not supported.
Solution: Implement \%>.
2013-06-05 18:52:40 +02:00
Bram Moolenaar
67604aed75
updated for version 7.3.1121
...
Problem: New regexp engine: adding states that are not used.
Solution: Don't add the states.
2013-06-05 16:51:57 +02:00
Bram Moolenaar
5b84ddccea
updated for version 7.3.1120
...
Problem: Crash when regexp logging is enabled.
Solution: Avoid using NULL pointers. Advance over count argument.
2013-06-05 16:33:10 +02:00
Bram Moolenaar
1cd3f2c450
updated for version 7.3.1119
...
Problem: Flags in 'cpo' are search for several times.
Solution: Store the result and re-use the flags.
2013-06-05 12:43:09 +02:00
Bram Moolenaar
e2b8cb3b15
updated for version 7.3.1118
...
Problem: Match failure rate is not very specific.
Solution: Tune the failure rate for match items.
2013-06-05 11:46:25 +02:00
Bram Moolenaar
d75799ab7f
updated for version 7.3.1117
...
Problem: New regexp engine: \%[abc] not supported.
Solution: Implement \%[abc]. Add tests.
2013-06-05 11:05:17 +02:00