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.
Bram Moolenaar [Thu, 30 May 2013 20:06:33 +0000 (22:06 +0200)]
updated for version 7.3.1077
Problem: Python: Allocating dict the wrong way, causing a crash.
Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 16:45:23 +0000 (18:45 +0200)]
updated for version 7.3.1073
Problem: New regexp engine may run out of states.
Solution: Allocate states dynamically. Also make the test report errors.
Bram Moolenaar [Thu, 30 May 2013 15:05:39 +0000 (17:05 +0200)]
updated for version 7.3.1071
Problem: New regexp engine: backreferences don't work correctly.
Solution: Add every possible start/end position on the state stack.
Bram Moolenaar [Thu, 30 May 2013 13:38:24 +0000 (15:38 +0200)]
updated for version 7.3.1070
Problem: Vim crashes in Python tests. Compiler warning for unused function.
Solution: Disable the tests for now. Move the function.
Bram Moolenaar [Thu, 30 May 2013 10:26:58 +0000 (12:26 +0200)]
updated for version 7.3.1057
Problem: Python: not enough compatibilty.
Solution: Python patch 16: Make OutputWritelines support any sequence object
(ZyX) Note: tests fail
Bram Moolenaar [Wed, 29 May 2013 20:36:10 +0000 (22:36 +0200)]
updated for version 7.3.1047
Problem: Python: dir() does not work properly.
Solution: Python patch 8. Add __dir__ method to all objects with custom
tp_getattr supplemented by __members__ attribute for at least
python-2* versions. __members__ is not mentioned in python-3*
dir() output even if it is accessible. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:26:18 +0000 (22:26 +0200)]
updated for version 7.3.1046
Problem: Python: Using Py_BuildValue for building strings.
Solution: Python patch 7 and 7.5: Replace Py_BuildValue with
PyString_FromString. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 19:37:35 +0000 (21:37 +0200)]
updated for version 7.3.1041
Problem: Python: Invalid read valgrind errors.
Solution: Python patch 2: defer DICTKEY_UNREF until key is no longer needed.
(ZyX)
Bram Moolenaar [Wed, 29 May 2013 19:14:42 +0000 (21:14 +0200)]
updated for version 7.3.1039
Problem: New regexp engine does not support \%23c, \%<23c and the like.
Solution: Implement them. (partly by Yasuhiro Matsumoto)
Bram Moolenaar [Mon, 27 May 2013 09:22:04 +0000 (11:22 +0200)]
updated for version 7.3.1031
Problem: Compiler warnings for shadowed variable. (John Little)
Solution: Move the variable declarations to the scope where they are used.
Bram Moolenaar [Sun, 26 May 2013 20:56:19 +0000 (22:56 +0200)]
updated for version 7.3.1029
Problem: New regexp performance: Unused position state being copied.
Solution: Keep track of which positions are actually valid.
Bram Moolenaar [Sun, 26 May 2013 19:47:28 +0000 (21:47 +0200)]
updated for version 7.3.1028
Problem: New regexp performance: Copying a lot of position state.
Solution: Only copy the sub-expressions that are being used.
Bram Moolenaar [Sun, 26 May 2013 16:40:14 +0000 (18:40 +0200)]
updated for version 7.3.1026
Problem: New regexp: pattern that includs a new-line matches too early.
(john McGowan)
Solution: Do not start searching in the second line.
Bram Moolenaar [Sun, 26 May 2013 14:57:28 +0000 (16:57 +0200)]
updated for version 7.3.1024
Problem: New regexp: End of matching pattern not set correctly. (Cesar
Romani)
Solution: Quit the loop after finding the match. Store nfa_has_zend in the
program.