Bram Moolenaar [Wed, 12 Jun 2013 18:35:58 +0000 (20:35 +0200)]
updated for version 7.3.1178
Problem: Can't put all Vim config files together in one directory.
Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens)
Bram Moolenaar [Wed, 12 Jun 2013 11:37:43 +0000 (13:37 +0200)]
updated for version 7.3.1170
Problem: Patch 7.3.1058 breaks backwards compatibility, not possible to use
a function reference as a string. (lilydjwg)
Solution: Instead of translating the function name only translate "s:".
Bram Moolenaar [Tue, 11 Jun 2013 20:44:09 +0000 (22:44 +0200)]
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.
Bram Moolenaar [Tue, 11 Jun 2013 18:53:28 +0000 (20:53 +0200)]
updated for version 7.3.1168
Problem: Python "sane" configure checks give a warning message.
Solution: Use single quotes intead of escaped double quotes. (Ben Fritz)
Bram Moolenaar [Tue, 11 Jun 2013 17:53:45 +0000 (19:53 +0200)]
updated for version 7.3.1167
Problem: Python configure check doesn't reject Python 2 when requesting
Python 3. Some systems need -pthreads instead of -pthread.
Solution: Adjust configure accordingly. (Andrei Olsen)
Bram Moolenaar [Mon, 10 Jun 2013 19:27:29 +0000 (21:27 +0200)]
updated for version 7.3.1163
Problem: Not easy to load Python modules.
Solution: Search "python2", "python3" and "pythonx" directories in
'runtimepath' for Python modules. (ZyX)
Bram Moolenaar [Mon, 10 Jun 2013 14:35:18 +0000 (16:35 +0200)]
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.
Bram Moolenaar [Sun, 9 Jun 2013 14:24:45 +0000 (16:24 +0200)]
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.
Bram Moolenaar [Sat, 8 Jun 2013 21:26:27 +0000 (23:26 +0200)]
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.
Bram Moolenaar [Sat, 8 Jun 2013 20:30:03 +0000 (22:30 +0200)]
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.
Bram Moolenaar [Sat, 8 Jun 2013 16:19:48 +0000 (18:19 +0200)]
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().
Bram Moolenaar [Sat, 8 Jun 2013 12:38:27 +0000 (14:38 +0200)]
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.
Bram Moolenaar [Sat, 8 Jun 2013 11:33:37 +0000 (13:33 +0200)]
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.
Bram Moolenaar [Fri, 7 Jun 2013 17:17:14 +0000 (19:17 +0200)]
updated for version 7.3.1141
Problem: Win32: Check for available memory is not reliable and adds
overhead.
Solution: Remove mch_avail_mem(). (Mike Williams)
Bram Moolenaar [Fri, 7 Jun 2013 15:31:29 +0000 (17:31 +0200)]
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.
Bram Moolenaar [Thu, 6 Jun 2013 16:46:06 +0000 (18:46 +0200)]
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.
Bram Moolenaar [Thu, 6 Jun 2013 16:04:51 +0000 (18:04 +0200)]
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.
Bram Moolenaar [Thu, 6 Jun 2013 14:22:06 +0000 (16:22 +0200)]
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.
Bram Moolenaar [Wed, 5 Jun 2013 19:42:53 +0000 (21:42 +0200)]
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.
Bram Moolenaar [Wed, 5 Jun 2013 18:34:15 +0000 (20:34 +0200)]
updated for version 7.3.1124
Problem: Python: Crash on MS-Windows when os.fchdir() is not available.
Solution: Check for _chdir to be NULL. (Ken Takata)
Bram Moolenaar [Tue, 4 Jun 2013 20:13:50 +0000 (22:13 +0200)]
updated for version 7.3.1115
Problem: Many users don't like the cursor line number when 'relativenumber'
is set.
Solution: Have four combinations with 'number' and 'relativenumber'.
(Christian Brabandt)
Bram Moolenaar [Tue, 4 Jun 2013 15:47:05 +0000 (17:47 +0200)]
updated for version 7.3.1111
Problem: nfa_recognize_char_class() implementation is inefficient.
Solution: Use bits in an int instead of chars in a string. (Dominique Pelle)
Bram Moolenaar [Tue, 4 Jun 2013 12:23:05 +0000 (14:23 +0200)]
updated for version 7.3.1110
Problem: New regexp matching: Using \@= and the like can be slow.
Solution: Decide whether to first try matching the zero-wdith part or what
follows, whatever is more likely to fail.
Bram Moolenaar [Mon, 3 Jun 2013 10:17:04 +0000 (12:17 +0200)]
updated for version 7.3.1106
Problem: New regexp engine: saving and restoring lastlist in the states
takes a lot of time.
Solution: Use a second lastlist value for the first recursive call.
Bram Moolenaar [Sun, 2 Jun 2013 20:37:42 +0000 (22:37 +0200)]
updated for version 7.3.1105
Problem: New regexp engine: too much code in one function. Dead code.
Solution: Move the recursive nfa_regmatch call to a separate function.
Remove the dead code.
Bram Moolenaar [Sun, 2 Jun 2013 19:30:04 +0000 (21:30 +0200)]
updated for version 7.3.1103
Problem: New regexp engine: overhead in saving and restoring.
Solution: Make saving and restoring list IDs faster. Don't copy or check \z
subexpressions when they are not used.
Bram Moolenaar [Sun, 2 Jun 2013 17:14:17 +0000 (19:14 +0200)]
updated for version 7.3.1101
Problem: Configure doesn't find Python 3 on Ubuntu 13.04.
Solution: First try distutils.sysconfig. Also fix some indents. (Ken
Takata)
Bram Moolenaar [Sun, 2 Jun 2013 16:20:17 +0000 (18:20 +0200)]
updated for version 7.3.1099
Problem: Python: Changing directory with os.chdir() causes problems for
Vim's notion of directories.
Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
Bram Moolenaar [Sun, 2 Jun 2013 14:40:55 +0000 (16:40 +0200)]
updated for version 7.3.1095
Problem: Compiler warnings for shadowed variables. (Christian Brabandt)
Solution: Rename new_state() to alloc_state(). Remove unnecessary
declaration.
Bram Moolenaar [Sun, 2 Jun 2013 14:07:10 +0000 (16:07 +0200)]
updated for version 7.3.1093
Problem: New regexp engine: When a sub expression is empty \1 skips a
character.
Solution: Make \1 try the current position when the match is emtpy.
Bram Moolenaar [Sun, 2 Jun 2013 13:55:55 +0000 (15:55 +0200)]
updated for version 7.3.1092
Problem: Can't build with regexp debugging. NFA debug output shows wrong
pattern.
Solution: Fix debugging code for recent changes. Add the pattern to the
program.
Bram Moolenaar [Sat, 1 Jun 2013 17:54:43 +0000 (19:54 +0200)]
updated for version 7.3.1088
Problem: New regexp engine: \@<= and \@<! are not implemented.
Solution: Implement look-behind matching. Fix off-by-one error in old
regexp engine.
Bram Moolenaar [Sat, 1 Jun 2013 12:42:56 +0000 (14:42 +0200)]
updated for version 7.3.1087
Problem: A leading star is not seen as a normal char when \{} follows.
Solution: Save and restore the parse state properly.
Bram Moolenaar [Sat, 1 Jun 2013 11:24:24 +0000 (13:24 +0200)]
updated for version 7.3.1086
Problem: Old regexp engine accepts illegal range, new one doesn't.
Solution: Also accept the illegal range with the new engine.