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 [Fri, 7 Jun 2013 14:31:50 +0000 (16:31 +0200)]
updated for version 7.3.1139
Problem: New regexp engine: negated flag is hardly used.
Solution: Add separate _NEG states, remove negated flag.
Bram Moolenaar [Fri, 7 Jun 2013 12:59:18 +0000 (14:59 +0200)]
updated for version 7.3.1138
Problem: New regexp engine: neglist no longer used.
Solution: Remove the now unused neglist.
Bram Moolenaar [Fri, 7 Jun 2013 12:08:30 +0000 (14:08 +0200)]
updated for version 7.3.1137
Problem: New regexp engine: collections are slow.
Solution: Handle all characters in one go.
Bram Moolenaar [Thu, 6 Jun 2013 19:36:40 +0000 (21:36 +0200)]
Updated runtime files.
Bram Moolenaar [Thu, 6 Jun 2013 19:31:06 +0000 (21:31 +0200)]
updated for version 7.3.1136
Problem: ":func Foo" does not show attributes.
Solution: Add "abort", "dict" and "range". (Yasuhiro Matsumoto)
Bram Moolenaar [Thu, 6 Jun 2013 19:19:51 +0000 (21:19 +0200)]
updated for version 7.3.1135
Problem: Compiler warning for unused argument.
Solution: Add UNUSED.
Bram Moolenaar [Thu, 6 Jun 2013 16:55:49 +0000 (18:55 +0200)]
updated for version 7.3.1134
Problem: Running test 49 takes a long time.
Solution: Don't have it grep all files.
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 [Thu, 6 Jun 2013 12:55:19 +0000 (14:55 +0200)]
updated for version 7.3.1130
Problem: Can't build with anything but huge features.
Solution: Check for FEAT_PROFILE. (Yasuhiro Matsumoto)
Bram Moolenaar [Thu, 6 Jun 2013 12:01:46 +0000 (14:01 +0200)]
updated for version 7.3.1129
Problem: Can't see what pattern in syntax highlighting is slow.
Solution: Add the ":syntime" command.
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 19:30:37 +0000 (21:30 +0200)]
updated for version 7.3.1127
Problem: No error for using empty \%[].
Solution: Give error message.
Bram Moolenaar [Wed, 5 Jun 2013 19:23:39 +0000 (21:23 +0200)]
updated for version 7.3.1126
Problem: Compiler warning for unitialized variable. (Tony Mechelynck)
Solution: Assign something to the variable.
Bram Moolenaar [Wed, 5 Jun 2013 19:10:59 +0000 (21:10 +0200)]
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)
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 [Wed, 5 Jun 2013 17:35:38 +0000 (19:35 +0200)]
updated for version 7.3.1123
Problem: Can't build tiny Vim on MS-Windows.
Solution: Adjust #ifdef around using modif_fname(). (Mike Williams)
Bram Moolenaar [Wed, 5 Jun 2013 16:52:40 +0000 (18:52 +0200)]
updated for version 7.3.1122
Problem: New regexp engine: \%> not supported.
Solution: Implement \%>.
Bram Moolenaar [Wed, 5 Jun 2013 14:51:57 +0000 (16:51 +0200)]
updated for version 7.3.1121
Problem: New regexp engine: adding states that are not used.
Solution: Don't add the states.
Bram Moolenaar [Wed, 5 Jun 2013 14:33:10 +0000 (16:33 +0200)]
updated for version 7.3.1120
Problem: Crash when regexp logging is enabled.
Solution: Avoid using NULL pointers. Advance over count argument.
Bram Moolenaar [Wed, 5 Jun 2013 10:43:09 +0000 (12:43 +0200)]
updated for version 7.3.1119
Problem: Flags in 'cpo' are search for several times.
Solution: Store the result and re-use the flags.
Bram Moolenaar [Wed, 5 Jun 2013 09:46:25 +0000 (11:46 +0200)]
updated for version 7.3.1118
Problem: Match failure rate is not very specific.
Solution: Tune the failure rate for match items.
Bram Moolenaar [Wed, 5 Jun 2013 09:05:17 +0000 (11:05 +0200)]
updated for version 7.3.1117
Problem: New regexp engine: \%[abc] not supported.
Solution: Implement \%[abc]. Add tests.
Bram Moolenaar [Wed, 5 Jun 2013 09:02:05 +0000 (11:02 +0200)]
updated for version 7.3.1116
Problem: Can't build without Visual mode.
Solution: Add #ifdefs.
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 19:42:22 +0000 (21:42 +0200)]
updated for version 7.3.1114
Problem: Can't build without the syntax feature.
Solution: Add #ifdefs. (Erik Falor)
Bram Moolenaar [Tue, 4 Jun 2013 19:27:38 +0000 (21:27 +0200)]
updated for version 7.3.1113
Problem: New regexp engine: \%'m not supported.
Solution: Implement \%'m. Add tests.
Bram Moolenaar [Tue, 4 Jun 2013 16:28:48 +0000 (18:28 +0200)]
updated for version 7.3.1112
Problem: New regexp engine: \%V not supported.
Solution: Implement \%V. Add tests.
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 18:12:51 +0000 (20:12 +0200)]
updated for version 7.3.1109
Problem: Building on MS-Windows doesn't see changes in if_py_both.h.
Solution: Add a dependency. (Ken Takata)
Bram Moolenaar [Mon, 3 Jun 2013 18:04:48 +0000 (20:04 +0200)]
updated for version 7.3.1108
Problem: Error message for os.fchdir() (Charles Peacech)
Solution: Clear the error. (ZyX)
Bram Moolenaar [Mon, 3 Jun 2013 17:41:06 +0000 (19:41 +0200)]
updated for version 7.3.1107
Problem: Compiler warnings for unused variables.
Solution: Put the variables inside #ifdef.
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 20:08:03 +0000 (22:08 +0200)]
updated for version 7.3.1104
Problem: New regexp engine does not handle "~".
Solution: Add support for "~".
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:22:13 +0000 (19:22 +0200)]
updated for version 7.3.1102
Problem: Completion of ":py3do" and ":py3file" does not work after ":py3".
Solution: Make completion work. (Taro Muraoka)
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:54:21 +0000 (18:54 +0200)]
updated for version 7.3.1100
Problem: Python: a few more memory problems.
Solution: Add and remove Py_XDECREF(). (ZyX)
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 16:07:37 +0000 (18:07 +0200)]
updated for version 7.3.1098
Problem: Python: Possible memory leaks
Solution: Add Py_XDECREF() calls. (ZyX)
Bram Moolenaar [Sun, 2 Jun 2013 15:46:40 +0000 (17:46 +0200)]
updated for version 7.3.1097
Problem: Python: a few recently added items are not documented.
Solution: Update the documentation. (ZyX)
Bram Moolenaar [Sun, 2 Jun 2013 15:41:54 +0000 (17:41 +0200)]
updated for version 7.3.1096
Problem: Python: popitem() was not defined in a standard way.
Solution: Remove the argument from popitem(). (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:34:21 +0000 (16:34 +0200)]
updated for version 7.3.1094
Problem: New regexp engine: Attempts to match "^" at every character.
Solution: Only try "^" at the start of a line.
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 [Sun, 2 Jun 2013 13:01:57 +0000 (15:01 +0200)]
updated for version 7.3.1091
Problem: New regexp engine: no error when using \z1 or \z( where it does
not work.
Solution: Give an error message.
Bram Moolenaar [Sat, 1 Jun 2013 21:02:54 +0000 (23:02 +0200)]
updated for version 7.3.1090
Problem: New regexp engine does not support \z1 .. \z9 and \z(.
Solution: Implement the syntax submatches.
Bram Moolenaar [Sat, 1 Jun 2013 18:32:12 +0000 (20:32 +0200)]
updated for version 7.3.1089
Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
Solution: Fix platform-specific stuff. (ZyX)
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:50:56 +0000 (14:50 +0200)]
Updated runtime files and translations.
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 [Sat, 1 Jun 2013 10:40:20 +0000 (12:40 +0200)]
updated for version 7.3.1085
Problem: New regexp engine: Non-greedy multi doesn't work.
Solution: Implement \{-}.
Bram Moolenaar [Fri, 31 May 2013 21:18:00 +0000 (23:18 +0200)]
updated for version 7.3.1084
Problem: New regexp engine: only accepts up to \{,10}.
Solution: Remove upper limit. Remove dead code with NFA_PLUS.
Bram Moolenaar [Fri, 31 May 2013 20:14:52 +0000 (22:14 +0200)]
updated for version 7.3.1083
Problem: New regexp engine: Does not support \%^ and \%$.
Solution: Support matching start and end of file.
Bram Moolenaar [Fri, 31 May 2013 19:45:09 +0000 (21:45 +0200)]
updated for version 7.3.1082
Problem: New regexp engine: Problem with \@= matching.
Solution: Save and restore nfa_match.
Bram Moolenaar [Fri, 31 May 2013 18:49:31 +0000 (20:49 +0200)]
updated for version 7.3.1081
Problem: Compiler warnings on 64-bit Windows.
Solution: Change variable types. (Mike Williams)
Bram Moolenaar [Fri, 31 May 2013 17:01:16 +0000 (19:01 +0200)]
updated for version 7.3.1080
Problem: Test 86 fails.
Solution: Comment out the parts that don't work. Make it pass on 32 bit
systems.
Bram Moolenaar [Fri, 31 May 2013 16:46:11 +0000 (18:46 +0200)]
updated for version 7.3.1079
Problem: Test 87 fails.
Solution: Fix the test for Python 3.3. (ZyX) Make it pass on 32 bit systems.
Bram Moolenaar [Thu, 30 May 2013 20:44:02 +0000 (22:44 +0200)]
updated for version 7.3.1078
Problem: New regexp engine: \@! doesn't work.
Solution: Implement the negated version of \@=.
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 19:42:13 +0000 (21:42 +0200)]
updated for version 7.3.1076
Problem: New regexp engine: \@= and \& don't work.
Solution: Make these items work. Add column info to logging.
Bram Moolenaar [Thu, 30 May 2013 17:18:31 +0000 (19:18 +0200)]
updated for version 7.3.1075
Problem: Compiler warning for storing a long_u in an int.
Solution: Declare the number as an int. (Mike Williams)
Bram Moolenaar [Thu, 30 May 2013 17:01:24 +0000 (19:01 +0200)]
updated for version 7.3.1074
Problem: Compiler warning for printf format. (Manuel Ortega)
Solution: Add type casts.
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:49:24 +0000 (17:49 +0200)]
updated for version 7.3.1072
Problem: Compiler warning for unitialized variable.
Solution: Initialize it.
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 12:52:37 +0000 (14:52 +0200)]
updated for version 7.3.1069
Problem: Python: memory leaks.
Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:37:28 +0000 (13:37 +0200)]
updated for version 7.3.1068
Problem: Python: Script is auto-loaded on function creation.
Solution: Python patch 27. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:32:30 +0000 (13:32 +0200)]
updated for version 7.3.1067
Problem: Python: documentation lags behind.
Solution: Python patch 26. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:28:41 +0000 (13:28 +0200)]
updated for version 7.3.1066
Problem: Python: Insufficient exception and error testing.
Solution: Python patch 25. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:22:13 +0000 (13:22 +0200)]
updated for version 7.3.1065
Problem: Python: key mapping is not standard.
Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:17:17 +0000 (13:17 +0200)]
updated for version 7.3.1064
Problem: Python: insufficient error checking.
Solution: Python patch 23. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:14:13 +0000 (13:14 +0200)]
updated for version 7.3.1063
Problem: Python: Function is not standard.
Solution: Python patch 22: make Function subclassable. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:05:58 +0000 (13:05 +0200)]
updated for version 7.3.1062
Problem: Python: List is not standard.
Solution: Python patch 21: Add standard methods and fields. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 11:01:18 +0000 (13:01 +0200)]
updated for version 7.3.1061
Problem: Python: Dictionary is not standard.
Solution: Python patch 20: Add standard methods and fields. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 10:43:54 +0000 (12:43 +0200)]
updated for version 7.3.1060
Problem: Python: can't repr() a function.
Solution: Python patch 19: add FunctionRepr(). (ZyX)
Bram Moolenaar [Thu, 30 May 2013 10:40:39 +0000 (12:40 +0200)]
updated for version 7.3.1059
Problem: Python: Using fixed size buffers.
Solution: Python patch 18: Use python's own formatter. (ZyX)
Bram Moolenaar [Thu, 30 May 2013 10:35:52 +0000 (12:35 +0200)]
updated for version 7.3.1058
Problem: Call of funcref does not succeed in other script.
Solution: Python patch 17: add get_expanded_name(). (ZyX)
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 [Thu, 30 May 2013 10:14:49 +0000 (12:14 +0200)]
updated for version 7.3.1056
Problem: Python: possible memory leaks.
Solution: Python patch 15. (ZyX) Fix will follow later.
Bram Moolenaar [Thu, 30 May 2013 09:51:08 +0000 (11:51 +0200)]
updated for version 7.3.1055
Problem: Negated collection does not match newline.
Solution: Handle newline differently. (Hiroshi Shirosaki)
Bram Moolenaar [Thu, 30 May 2013 09:43:15 +0000 (11:43 +0200)]
updated for version 7.3.1054
Problem: Can't build without the +autocmd feature. (Elimar Riesebieter)
Solution: Fix use of buf and curbuf.
Bram Moolenaar [Wed, 29 May 2013 20:58:32 +0000 (22:58 +0200)]
updated for version 7.3.1053
Problem: Python: no flag for types with tp_traverse+tp_clear.
Solution: Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:52:32 +0000 (22:52 +0200)]
updated for version 7.3.1052
Problem: Python: possible SEGV and negative refcount.
Solution: Python patch 13: Fix IterIter function. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:49:26 +0000 (22:49 +0200)]
updated for version 7.3.1051
Problem: Python: possible memory leaks.
Solution: Python patch 12: fix the leaks (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:46:26 +0000 (22:46 +0200)]
updated for version 7.3.1050
Problem: Python: Typo in pyiter_to_tv.
Solution: Python patch 11. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:43:37 +0000 (22:43 +0200)]
updated for version 7.3.1049
Problem: Python: no consistent naming
Solution: Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:39:52 +0000 (22:39 +0200)]
updated for version 7.3.1048
Problem: Python: no consistent naming.
Solution: Python patch 9: Rename d to dict and lookupDict to lookup_dict.
(ZyX)
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 20:20:01 +0000 (22:20 +0200)]
updated for version 7.3.1045
Problem: Python: No error handling for VimToPython function.
Solution: Python patch 6. (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:15:30 +0000 (22:15 +0200)]
updated for version 7.3.1044
Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
Solution: Python patch 5: add .valid (ZyX)
Bram Moolenaar [Wed, 29 May 2013 20:05:55 +0000 (22:05 +0200)]
updated for version 7.3.1043
Problem: Python: Dynamic compilation with 2.3 fails.
Solution: Python patch 4. (ZyX)