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.
Bram Moolenaar [Sun, 26 May 2013 13:14:55 +0000 (15:14 +0200)]
updated for version 7.3.1023
Problem: Searching for composing char only and using \Z has different
results.
Solution: Make it match the composing char, matching everything is not
useful.
Bram Moolenaar [Sat, 25 May 2013 21:15:27 +0000 (23:15 +0200)]
updated for version 7.3.1020
Problem: Not all patterns are tested with auto / old / new engine.
Solution: Test patterns with three values of 'regexpengine'.
Bram Moolenaar [Sat, 25 May 2013 20:04:23 +0000 (22:04 +0200)]
updated for version 7.3.1019
Problem: These do not work with the new regexp engine: \%o123, \%x123,
\%d123, \%u123 and \%U123.
Solution: Implement these items.
Bram Moolenaar [Sat, 25 May 2013 19:18:34 +0000 (21:18 +0200)]
updated for version 7.3.1018
Problem: New regexp engine wastes memory.
Solution: Allocate prog with actual number of states, not estimated maximum
number of sates.
Bram Moolenaar [Sat, 25 May 2013 18:19:50 +0000 (20:19 +0200)]
updated for version 7.3.1017
Problem: Zero width match changes length of match.
Solution: For a zero width match put new states in the current position in
the state list.
Bram Moolenaar [Fri, 24 May 2013 19:59:54 +0000 (21:59 +0200)]
updated for version 7.3.1011
Problem: New regexp engine is inefficient with multi-byte characters.
Solution: Handle a character at a time instead of a byte at a time. Also
make \Z partly work.
Bram Moolenaar [Fri, 24 May 2013 18:25:33 +0000 (20:25 +0200)]
updated for version 7.3.1010
Problem: New regexp: adding \Z makes every character match.
Solution: Only apply ireg_icombine for composing characters.
Alsl add missing change from patch 1008. (Ken Takata)
Bram Moolenaar [Thu, 23 May 2013 20:43:08 +0000 (22:43 +0200)]
updated for version 7.3.1008
Problem: Test 95 fails on MS-Windows.
Solution: Set 'nomore'. Change \i to \f. Change multi-byte character to
something that is not matching \i. (Ken Takata)
Bram Moolenaar [Wed, 22 May 2013 21:00:40 +0000 (23:00 +0200)]
updated for version 7.3.1005
Problem: Get stuck on regexp "\n*" and on "%s/^\n\+/\r".
Solution: Fix handling of matching a line break. (idea by Hirohito Higashi)
Bram Moolenaar [Tue, 21 May 2013 18:51:59 +0000 (20:51 +0200)]
updated for version 7.3.998
Problem: Python: garbage collection issues.
Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative
refcounts, use PyObject_GC_* for objects with tp_traverse and
tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some
places. (ZyX)
Bram Moolenaar [Tue, 21 May 2013 17:50:34 +0000 (19:50 +0200)]
updated for version 7.3.996
Problem: Python: Can't check types of what is returned by bindeval().
Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)