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)
Bram Moolenaar [Tue, 21 May 2013 11:30:21 +0000 (13:30 +0200)]
updated for version 7.3.987
Problem: No easy to run an individual test. Tests 64 fails when
'encoding' is not utf-8.
Solution: Add individual test targets to the Makefile. Move some lines from
test 64 to 95.
Bram Moolenaar [Tue, 21 May 2013 10:52:04 +0000 (12:52 +0200)]
updated for version 7.3.985
Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a
useful value.
Solution: Call g_set_prgname() on startup. (James McCoy)
Bram Moolenaar [Tue, 21 May 2013 10:46:02 +0000 (12:46 +0200)]
updated for version 7.3.984
Problem: A Visual mapping that uses CTRL-G works differently when started
from Insert mode. (Ein Brown)
Solution: Reset old_mapped_len when handling typed text in Select mode.
Bram Moolenaar [Tue, 21 May 2013 10:34:17 +0000 (12:34 +0200)]
updated for version 7.3.982
Problem: In the new regexp engine \p does not work on multi-byte
characters.
Solution: Don't point to an integer but the characters.
Bram Moolenaar [Mon, 20 May 2013 22:03:02 +0000 (00:03 +0200)]
updated for version 7.3.981
Problem: In the old regexp engine \i, \I, \f and \F don't work on
multi-byte characters.
Solution: Dereference pointer properly.
Bram Moolenaar [Mon, 20 May 2013 20:20:02 +0000 (22:20 +0200)]
updated for version 7.3.980
Problem: Regexp logs may contain garbage. Character classes don't work
correctly for multi-byte characters.
Solution: Check for end of post list. Only use "is" functions for
characters up to 255. (Ken Takata)
Bram Moolenaar [Mon, 20 May 2013 19:57:03 +0000 (21:57 +0200)]
updated for version 7.3.979
Problem: Complex NFA regexp doesn't work.
Solution: Set actual state stack end instead of using an arbitrary number.
(Yasuhiro Matsumoto)
Bram Moolenaar [Mon, 20 May 2013 19:49:13 +0000 (21:49 +0200)]
updated for version 7.3.978
Problem: Regexp debug logs don't have a good name.
Solution: Use clear names and make it possible to write logs for the old and
new engines separately. (Taro Muraoka)
Bram Moolenaar [Mon, 20 May 2013 19:26:33 +0000 (21:26 +0200)]
updated for version 7.3.977
Problem: Compiler warnings on 64 bit Windows.
Solution: Add type casts. (Mike Williams) Also fix some white space and
uncomment what was commented-out for testing.
Bram Moolenaar [Mon, 20 May 2013 10:52:29 +0000 (12:52 +0200)]
updated for version 7.3.974
Problem: Can't build with ruby 1.8.5.
Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined.
(Yukihiro Nakadaira)
Bram Moolenaar [Sun, 19 May 2013 20:31:18 +0000 (22:31 +0200)]
updated for version 7.3.973
Problem: Compiler warnings. Crash on startup. (Tony Mechelynck)
Solution: Change EMSG2 to EMSGN. Make array one character longer.
Bram Moolenaar [Sun, 19 May 2013 19:15:15 +0000 (21:15 +0200)]
updated for version 7.3.972
Problem: Cursor not restored after InsertEnter autocommand if it moved to
another line.
Solution: Also restore if the saved line number is still valid. Allow
setting v:char to skip restoring.
Bram Moolenaar [Sun, 19 May 2013 17:40:29 +0000 (19:40 +0200)]
updated for version 7.3.970
Problem: Syntax highlighting can be slow.
Solution: Include the NFA regexp engine. Add the 'regexpengine' option to
select which one is used. (various authors, including Ken Takata,
Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young)
Bram Moolenaar [Sat, 18 May 2013 18:45:59 +0000 (20:45 +0200)]
updated for version 7.3.968
Problem: Multi-byte support is only available when compiled with "big"
features.
Solution: Include multi-byte by default, with "normal" features.
Bram Moolenaar [Fri, 17 May 2013 14:18:33 +0000 (16:18 +0200)]
updated for version 7.3.964
Problem: Python: not so easy to access tab pages.
Solution: Add window.tabpage, make window.number work with non-current tab
pages. (ZyX)
Bram Moolenaar [Fri, 17 May 2013 14:03:57 +0000 (16:03 +0200)]
updated for version 7.3.963
Problem: Setting curbuf without curwin causes trouble.
Solution: Add switch_buffer() and restore_buffer(). Block autocommands to
avoid trouble.
Bram Moolenaar [Thu, 16 May 2013 18:47:56 +0000 (20:47 +0200)]
updated for version 7.3.961
Problem: Tests 86 and 87 fail when using another language than English.
Solution: Set the language to C in the test. (Dominique Pelle)
Bram Moolenaar [Wed, 15 May 2013 13:51:08 +0000 (15:51 +0200)]
updated for version 7.3.952
Problem: Python: It's not easy to change window/buffer/tabpage.
Solution: Add ability to assign to vim.current.{tabpage,buffer,window}.
(ZyX)