Bram Moolenaar [Mon, 6 Mar 2017 19:28:10 +0000 (20:28 +0100)]
patch 8.0.0426: insufficient testing for statusline
Problem: Insufficient testing for statusline.
Solution: Add several tests. (Dominique Pelle, closes #1534)
Bram Moolenaar [Sun, 5 Mar 2017 20:18:27 +0000 (21:18 +0100)]
patch 8.0.0425: build errors when building without folding
Problem: Build errors when building without folding.
Solution: Add #ifdefs. (John Marriott)
Bram Moolenaar [Sun, 5 Mar 2017 18:49:13 +0000 (19:49 +0100)]
patch 8.0.0424: compiler warnings on MS-Windows
Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution: Add type casts.
Bram Moolenaar [Sun, 5 Mar 2017 18:44:06 +0000 (19:44 +0100)]
patch 8.0.0423: changing 'cinoptions' does not always work
Problem: The effect of adding "#" to 'cinoptions' is not always removed.
(David Briscoe)
Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
Bram Moolenaar [Sun, 5 Mar 2017 18:00:34 +0000 (19:00 +0100)]
patch 8.0.0422: Python test fails with Python 3.6
Problem: Python test fails with Python 3.6.
Solution: Convert new exception messages to old ones. (closes #1359)
Bram Moolenaar [Sun, 5 Mar 2017 17:03:04 +0000 (18:03 +0100)]
patch 8.0.0421: diff mode wrong when adding line at end of buffer
Problem: Diff mode is displayed wrong when adding a line at the end of a
buffer.
Solution: Adjust marks in diff mode. (James McCoy, closes #1329)
Bram Moolenaar [Sun, 5 Mar 2017 16:43:31 +0000 (17:43 +0100)]
patch 8.0.0420: text garbled when the system encoding differs from 'encoding'
Problem: When running :make the output may be in the system encoding,
different from 'encoding'.
Solution: Add the 'makeencoding' option. (Ken Takata)
Bram Moolenaar [Sun, 5 Mar 2017 16:04:09 +0000 (17:04 +0100)]
Runtime file updates.
Bram Moolenaar [Sun, 5 Mar 2017 14:19:32 +0000 (15:19 +0100)]
patch 8.0.0419: test for v:progpath fails on MS-Windows
Problem: Test for v:progpath fails on MS-Windows.
Solution: Expand to full path. Also add ".exe" when the path is an absolute
path.
Bram Moolenaar [Sun, 5 Mar 2017 13:56:07 +0000 (14:56 +0100)]
patch 8.0.0418: ASAN logs are disabled
Problem: ASAN logs are disabled and don't cause a failure.
Solution: Enable ASAN logs and fail if not empty. (James McCoy,
closes #1425)
Bram Moolenaar [Sun, 5 Mar 2017 13:30:52 +0000 (14:30 +0100)]
patch 8.0.0417: test for the clipboard fails sometimes
Problem: Test for the clipboard fails sometimes.
Solution: Add it to the flaky tests.
Bram Moolenaar [Sun, 5 Mar 2017 13:29:12 +0000 (14:29 +0100)]
patch 8.0.0416: setting v:progpath is not quite right
Problem: Setting v:progpath is not quite right.
Solution: On MS-Windows add the extension. On Unix use the full path for a
relative directory. (partly by James McCoy, closes #1531)
Bram Moolenaar [Sun, 5 Mar 2017 12:48:13 +0000 (13:48 +0100)]
patch 8.0.0415: balloon test fails on MS-Windows
Problem: Balloon test fails on MS-Windows.
Solution: Test with 0x7fffffff instead of 0xffffffff.
Bram Moolenaar [Sun, 5 Mar 2017 12:27:25 +0000 (13:27 +0100)]
patch 8.0.0414: balloon eval is not tested
Problem: Balloon eval is not tested.
Solution: Add a few balloon tests. (Kazunobu Kuriyama)
Bram Moolenaar [Sat, 4 Mar 2017 20:41:05 +0000 (21:41 +0100)]
patch 8.0.0413: menu test fails on MS-Windows using gvim
Problem: Menu test fails on MS-Windows using gvim.
Solution: First delete the English menus.
Bram Moolenaar [Sat, 4 Mar 2017 20:02:22 +0000 (21:02 +0100)]
patch 8.0.0412: menu test fails on MS-Windows
Problem: Menu test fails on MS-Windows.
Solution: Use a menu entry with only ASCII characters.
Bram Moolenaar [Sat, 4 Mar 2017 19:41:34 +0000 (20:41 +0100)]
patch 8.0.0411: menu translations don't match when case is changed.
Problem: We can't change the case in menu entries, it breaks translations.
Solution: Ignore case when looking up a menu translation.
Bram Moolenaar [Sat, 4 Mar 2017 19:09:34 +0000 (20:09 +0100)]
patch 8.0.0410: newer gettext/iconv library has extra dll file
Problem: Newer gettext/iconv library has extra dll file.
Solution: Add the file to the Makefile and nsis script. (Christian Brabandt)
Bram Moolenaar [Sat, 4 Mar 2017 18:11:12 +0000 (19:11 +0100)]
patch 8.0.0409: set_progpath is defined but not always used
Problem: set_progpath is defined but not always used
Solution: Adjust #ifdef.
Bram Moolenaar [Sat, 4 Mar 2017 17:42:39 +0000 (18:42 +0100)]
patch 8.0.0408: updating folds does not always work properly
Problem: Updating folds does not work properly when inserting a file and a
few other situations.
Solution: Adjust the way folds are updated. (Matthew Malcomson)
Bram Moolenaar [Sat, 4 Mar 2017 14:28:53 +0000 (15:28 +0100)]
patch 8.0.0407: filtering folds with marker method not tested
Problem: Filtering folds with marker method not tested.
Solution: Also set 'foldmethod' to "marker".
Bram Moolenaar [Sat, 4 Mar 2017 13:50:19 +0000 (14:50 +0100)]
patch 8.0.0406: arabic shaping code is verbose
Problem: The arabic shaping code is verbose.
Solution: Shorten the code without changing the functionality.
Bram Moolenaar [Sat, 4 Mar 2017 13:37:18 +0000 (14:37 +0100)]
patch 8.0.0405: v:progpath may become invalid after :cd
Problem: v:progpath may become invalid after ":cd".
Solution: Turn v:progpath into a full path if needed.
Bram Moolenaar [Sat, 4 Mar 2017 12:47:11 +0000 (13:47 +0100)]
patch 8.0.0404: not enough testing for quickfix
Problem: Not enough testing for quickfix.
Solution: Add some more tests. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 4 Mar 2017 12:32:10 +0000 (13:32 +0100)]
patch 8.0.0403: GUI tests may fail
Problem: GUI tests may fail.
Solution: Ignore the E285 error better. (Kazunobu Kuriyama)
Bram Moolenaar [Thu, 2 Mar 2017 22:05:51 +0000 (23:05 +0100)]
patch 8.0.0402: :map completion does not have <special>
Problem: :map completion does not have <special>. (Dominique Pelle)
Solution: Recognize <special> in completion. Add a test.
Bram Moolenaar [Thu, 2 Mar 2017 21:48:01 +0000 (22:48 +0100)]
patch 8.0.0401: test fails with missing balloon feature
Problem: Test fails with missing balloon feature.
Solution: Add check for balloon feature.
Bram Moolenaar [Thu, 2 Mar 2017 21:43:01 +0000 (22:43 +0100)]
patch 8.0.0400: some tests have a one second delay
Problem: Some tests have a one second delay.
Solution: Add --not-a-term in RunVim().
Bram Moolenaar [Thu, 2 Mar 2017 21:11:33 +0000 (22:11 +0100)]
patch 8.0.0399: crash when using balloon_show() when not supported
Problem: Crash when using balloon_show() when not supported. (Hirohito
Higashi)
Solution: Check for balloonEval not to be NULL. (Ken Takata)
Bram Moolenaar [Wed, 1 Mar 2017 21:17:05 +0000 (22:17 +0100)]
patch 8.0.0398: illegal memory access with "t"
Problem: Illegal memory access with "t".
Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
Bram Moolenaar [Wed, 1 Mar 2017 19:40:39 +0000 (20:40 +0100)]
patch 8.0.0397: can't build with +viminfo but without +eval
Problem: Cannot build with the viminfo feature but without the eval
feature.
Solution: Adjust #ifdef. (John Marriott)
Bram Moolenaar [Wed, 1 Mar 2017 19:32:44 +0000 (20:32 +0100)]
patch 8.0.0396: 'balloonexpr' only works synchronously
Problem: 'balloonexpr' only works synchronously.
Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449)
Bram Moolenaar [Wed, 1 Mar 2017 17:30:34 +0000 (18:30 +0100)]
patch 8.0.0395: testing the + register fails with Motif
Problem: Testing the + register fails with Motif.
Solution: Also ignore the "failed to create input context" error in the
second gvim. Don't use msg() when it would result in a dialog.
Bram Moolenaar [Wed, 1 Mar 2017 17:04:05 +0000 (18:04 +0100)]
patch 8.0.0394: tabs are not aligned when scrolling horizontally
Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
fit. (Axel Bender)
Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
Also fix that ":redraw" does not scroll horizontally to show the
cursor. And fix the test that depended on the old behavior.
Bram Moolenaar [Wed, 1 Mar 2017 14:45:05 +0000 (15:45 +0100)]
patch 8.0.0393: order of duplicate tags is not preserved
Problem: When the same tag appears more than once, the order is
unpredictable. (Charles Campbell)
Solution: Besides using a dict for finding duplicates, use a grow array for
keeping the tags in sequence.
Bram Moolenaar [Wed, 1 Mar 2017 14:07:05 +0000 (15:07 +0100)]
patch 8.0.0392: GUI test fails with Athena and Motif
Problem: GUI test fails with Athena and Motif.
Solution: Add test_ignore_error(). Use it to ignore the "failed to create
input context" error.
Bram Moolenaar [Wed, 1 Mar 2017 13:02:30 +0000 (14:02 +0100)]
patch 8.0.0391: arabic support is verbose and not well tested
Problem: Arabic support is verbose and not well tested.
Solution: Simplify the code. Add more tests.
Bram Moolenaar [Wed, 1 Mar 2017 11:29:10 +0000 (12:29 +0100)]
patch 8.0.0390: when the window scrolls the popup menu may be garbled
Problem: When the window scrolls horizontally when the popup menu is
displayed part of it may not be cleared. (Neovim issue #6184)
Solution: Remove the menu when the windows scrolled. (closes #1524)
Bram Moolenaar [Tue, 28 Feb 2017 21:51:12 +0000 (22:51 +0100)]
patch 8.0.0389: test for arabic does not check what is displayed
Problem: Test for arabic does not check what is displayed.
Solution: Improve what is asserted. (Dominique Pelle, closes #1523)
Add a first shaping test.
Bram Moolenaar [Tue, 28 Feb 2017 20:53:56 +0000 (21:53 +0100)]
patch 8.0.0388: filtering lines changes folds
Problem: filtering lines through "cat", without changing the line count,
changes manual folds.
Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from
neovim #6194.
Bram Moolenaar [Tue, 28 Feb 2017 20:26:17 +0000 (21:26 +0100)]
patch 8.0.0387: compiler warnings
Problem: compiler warnings
Solution: Add type casts. (Christian Brabandt)
Bram Moolenaar [Mon, 27 Feb 2017 21:59:40 +0000 (22:59 +0100)]
patch 8.0.0386: tiny build has a problem with generating the options test
Problem: Tiny build has a problem with generating the options test.
Solution: Change the "if" to skip over statements.
Bram Moolenaar [Mon, 27 Feb 2017 20:48:26 +0000 (21:48 +0100)]
patch 8.0.0385: no tests for arabic
Problem: No tests for arabic.
Solution: Add a first test for arabic. (Dominique Pelle, closes #1518)
Bram Moolenaar [Mon, 27 Feb 2017 20:35:53 +0000 (21:35 +0100)]
patch 8.0.0384: timer test failed for no apparent reason
Problem: Timer test failed for no apparent reason.
Solution: Mark the test as flaky.
Bram Moolenaar [Mon, 27 Feb 2017 20:11:35 +0000 (21:11 +0100)]
patch 8.0.0383: misplaced #ifdef
Problem: Misplaced #ifdef. (Christ van Willigen)
Solution: Split assignment.
Bram Moolenaar [Mon, 27 Feb 2017 19:33:46 +0000 (20:33 +0100)]
patch 8.0.0382: warning in tiny build for unused variable
Problem: Warning in tiny build for unused variable. (Tony Mechelynck)
Solution: Add #ifdefs.
Bram Moolenaar [Sun, 26 Feb 2017 18:59:59 +0000 (19:59 +0100)]
patch 8.0.0381: diff mode is not sufficiently tested
Problem: Diff mode is not sufficiently tested.
Solution: Add more diff mode tests. (Dominique Pelle, closes #1515)
Bram Moolenaar [Sun, 26 Feb 2017 18:40:59 +0000 (19:40 +0100)]
patch 8.0.0380: with 'linebreak' double wide char wraps badly
Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide
character results in "<<" displayed.
Solution: Check for the character not to be replaced. (Ozaki Kiichi,
closes #1456)
Bram Moolenaar [Sun, 26 Feb 2017 18:09:05 +0000 (19:09 +0100)]
patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessary
Problem: CTRL-Z and mouse click use CTRL-O unnecessary.
Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
Bram Moolenaar [Sun, 26 Feb 2017 17:17:10 +0000 (18:17 +0100)]
patch 8.0.0378: possible overflow when reading corrupted undo file
Problem: Another possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
Bram Moolenaar [Sun, 26 Feb 2017 17:11:36 +0000 (18:11 +0100)]
patch 8.0.0377: possible overflow when reading corrupted undo file
Problem: Possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
Bram Moolenaar [Sun, 26 Feb 2017 14:27:23 +0000 (15:27 +0100)]
patch 8.0.0376: size computations in spell file reading are off
Problem: Size computations in spell file reading are not exactly right.
Solution: Make "len" a "long" and check with LONG_MAX.
Bram Moolenaar [Sun, 26 Feb 2017 14:08:21 +0000 (15:08 +0100)]
patch 8.0.0375: the "+ register is not tested
Problem: The "+ register is not tested.
Solution: Add a test using another Vim instance to change the "+ register.
(Kazuki Kuriyama)
Bram Moolenaar [Sun, 26 Feb 2017 13:00:07 +0000 (14:00 +0100)]
patch 8.0.0374: invalid memory access when using :sc in Ex mode
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
Bram Moolenaar [Sat, 25 Feb 2017 21:37:15 +0000 (22:37 +0100)]
patch 8.0.0373: build fails without +folding
Problem: Build fails without +folding.
Solution: Move misplaced #ifdef.
Bram Moolenaar [Sat, 25 Feb 2017 21:18:43 +0000 (22:18 +0100)]
patch 8.0.0372: more options are not always defined
Problem: More options are not always defined.
Solution: Consistently define all possible options.
Bram Moolenaar [Sat, 25 Feb 2017 20:39:17 +0000 (21:39 +0100)]
patch 8.0.0371: leaking memory when setting v:completed_item
Problem: Leaking memory when setting v:completed_item.
Solution: Or the flags instead of setting them.
Bram Moolenaar [Sat, 25 Feb 2017 20:37:57 +0000 (21:37 +0100)]
patch 8.0.0370: invalid memory access when setting wildchar empty
Problem: Invalid memory access when setting wildchar empty.
Solution: Avoid going over the end of the option value. (Dominique Pelle,
closes #1509) Make option test check all number options with
empty value.
Bram Moolenaar [Sat, 25 Feb 2017 20:12:29 +0000 (21:12 +0100)]
patch 8.0.0369: a few options are not defined, depending on features
Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are
not defined without the +balloon_eval feature. Testing that an
option value fails does not work for unsupported options.
Solution: Make the options defined but not supported. Don't test if
setting unsupported options fails.
Bram Moolenaar [Sat, 25 Feb 2017 19:40:46 +0000 (20:40 +0100)]
patch 8.0.0368: not all options are tested with a range of values
Problem: Not all options are tested with a range of values.
Solution: Generate a test script from the source code.
Bram Moolenaar [Sat, 25 Feb 2017 15:01:49 +0000 (16:01 +0100)]
patch 8.0.0367: types in include files may be inconsistent
Problem: If configure defines _LARGE_FILES some include files are included
before it is defined.
Solution: Include vim.h first. (Sam Thursfield, closes #1508)
Bram Moolenaar [Sat, 25 Feb 2017 14:41:37 +0000 (15:41 +0100)]
patch 8.0.0366: build fails with tiny features
Problem: Build fails with tiny features.
Solution: Add #ifdef.
Bram Moolenaar [Sat, 25 Feb 2017 13:59:34 +0000 (14:59 +0100)]
patch 8.0.0365: might free a dict item that wasn't allocated
Problem: Might free a dict item that wasn't allocated.
Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
b:changedtick.
Bram Moolenaar [Sat, 25 Feb 2017 13:21:10 +0000 (14:21 +0100)]
patch 8.0.0364: ]s does not move cursor with two spell errors in one line
Problem: ]s does not move cursor with two spell errors in one line. (Manuel
Ortega)
Solution: Don't stop search immediately when wrapped, search the line first.
(Ken Takata) Add a test.
Bram Moolenaar [Thu, 23 Feb 2017 19:20:53 +0000 (20:20 +0100)]
patch 8.0.0363: Travis is too slow to keep up with patches
Problem: Travis is too slow to keep up with patches.
Solution: Increase git depth to 20
Bram Moolenaar [Thu, 23 Feb 2017 19:17:13 +0000 (20:17 +0100)]
patch 8.0.0362: tests fail on MS-Windows
Problem: Tests fail on MS-Windows.
Solution: Use $*.vim instead of $<.
Bram Moolenaar [Thu, 23 Feb 2017 18:32:47 +0000 (19:32 +0100)]
patch 8.0.0361: GUI initialisation is not sufficiently tested
Problem: GUI initialisation is not sufficiently tested.
Solution: Add the gui_init test. (Kazuki Kuriyama)
Bram Moolenaar [Thu, 23 Feb 2017 18:03:28 +0000 (19:03 +0100)]
patch 8.0.0360: sometimes VimL is used instead of "Vim script"
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
Bram Moolenaar [Thu, 23 Feb 2017 17:46:50 +0000 (18:46 +0100)]
patch 8.0.0359: 'number' and 'relativenumber' are not properly tested
Problem: 'number' and 'relativenumber' are not properly tested.
Solution: Add tests, change old style to new style tests. (Ozaki Kiichi,
closes #1447)
Bram Moolenaar [Thu, 23 Feb 2017 17:08:56 +0000 (18:08 +0100)]
patch 8.0.0358: invalid memory access in C-indent code
Problem: Invalid memory access in C-indent code.
Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492)
Bram Moolenaar [Thu, 23 Feb 2017 16:59:22 +0000 (17:59 +0100)]
patch 8.0.0357: crash when setting 'guicursor' to weird value
Problem: Crash when setting 'guicursor' to weird value.
Solution: Avoid negative size. (Dominique Pelle, closes #1465)
Bram Moolenaar [Thu, 23 Feb 2017 16:18:37 +0000 (17:18 +0100)]
patch 8.0.0356: leaking memory when setting 'ttytype'
Problem: Leaking memory when setting 'ttytype'.
Solution: Get free_oldval from the right option entry.
Bram Moolenaar [Thu, 23 Feb 2017 16:07:14 +0000 (17:07 +0100)]
patch 8.0.0355: using uninitialized memory when 'isfname' is empty
Problem: Using uninitialized memory when 'isfname' is empty.
Solution: Don't call getpwnam() without an argument. (Dominique Pelle,
closes #1464)
Bram Moolenaar [Thu, 23 Feb 2017 14:20:03 +0000 (15:20 +0100)]
patch 8.0.0354: test to check that setting termcap key fails sometimes
Problem: Test to check that setting termcap key fails sometimes.
Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459)
Bram Moolenaar [Thu, 23 Feb 2017 13:55:59 +0000 (14:55 +0100)]
patch 8.0.0353: if [RO] is translated it may be truncated
Problem: If [RO] in the status line is translated to a longer string, it is
trunctted to 4 bytes.
Solution: Skip over the resulting string. (Jente Hidskes, closes #1499)
Bram Moolenaar [Thu, 23 Feb 2017 13:25:17 +0000 (14:25 +0100)]
patch 8.0.0352: not easy to see when a typval needs to be cleared
Problem: The condition for when a typval needs to be cleared is too
complicated.
Solution: Init the type to VAR_UNKNOWN and clear it always.
Bram Moolenaar [Thu, 23 Feb 2017 12:50:38 +0000 (13:50 +0100)]
patch 8.0.0351: no test for concatenating an empty string
Problem: No test for concatenating an empty string that results from out of
bounds indexing.
Solution: Add a simple test.
Bram Moolenaar [Thu, 23 Feb 2017 12:45:57 +0000 (13:45 +0100)]
patch 8.0.0350: not enough test coverage for Perl
Problem: Not enough test coverage for Perl.
Solution: Add more Perl tests. (Dominique Perl, closes #1500)
Bram Moolenaar [Thu, 23 Feb 2017 11:20:35 +0000 (12:20 +0100)]
patch 8.0.0349: redrawing errors with GTK 3
Problem: Redrawing errors with GTK 3.
Solution: When updating, first clear all rectangles and then draw them.
(Kazunobu Kuriyama, Christian Ludwig, closes #848)
Bram Moolenaar [Wed, 22 Feb 2017 21:04:04 +0000 (22:04 +0100)]
patch 8.0.0348: using shadow dir on Mac lack +clipboard
Problem: When building with a shadow directory on macOS lacks the
+clipboard feature.
Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama)
Bram Moolenaar [Tue, 21 Feb 2017 22:00:36 +0000 (23:00 +0100)]
patch 8.0.0347: when using completion comment leader wont work
Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment
leader may not work. (Klement)
Solution: Save and restore did_ai. (Christian Brabandt, closes #1494)
Bram Moolenaar [Tue, 21 Feb 2017 20:57:06 +0000 (21:57 +0100)]
patch 8.0.0346: Vim relies on limits.h to be included indirectly
Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9
it may not be. (Ben Fritz)
Solution: Always include limits.h.
Bram Moolenaar [Tue, 21 Feb 2017 19:47:13 +0000 (20:47 +0100)]
patch 8.0.0345: islocked('d.changedtick') does not work
Problem: islocked('d.changedtick') does not work.
Solution: Make it work.
Bram Moolenaar [Mon, 20 Feb 2017 22:07:05 +0000 (23:07 +0100)]
patch 8.0.0344: unlet command leaks memory
Problem: Unlet command leaks memory. (Nikolai Pavlov)
Solution: Free the memory on error. (closes #1497)
Bram Moolenaar [Mon, 20 Feb 2017 21:35:33 +0000 (22:35 +0100)]
patch 8.0.0343: b:changedtick can be unlocked
Problem: b:changedtick can be unlocked, even though it has no effect.
(Nikolai Pavlov)
Solution: Add a check and error E940. (closes #1496)
Bram Moolenaar [Sun, 19 Feb 2017 20:07:04 +0000 (21:07 +0100)]
patch 8.0.0342: double free with EXITFREE and setting 'ttytype'
Problem: Double free when compiled with EXITFREE and setting 'ttytype'.
Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle,
closes #1461)
Bram Moolenaar [Sun, 19 Feb 2017 14:26:18 +0000 (15:26 +0100)]
patch 8.0.0341: undo does not work properly when using completion
Problem: When using complete() and typing a character undo is saved after
the character was inserted. (Shougo)
Solution: Save for undo before inserting the character.
Bram Moolenaar [Sun, 19 Feb 2017 12:55:02 +0000 (13:55 +0100)]
patch 8.0.0340: not checking return valud of dict_add()
Problem: Not checking return valud of dict_add(). (Coverity)
Solution: Handle a failure.
Bram Moolenaar [Sat, 18 Feb 2017 22:12:01 +0000 (23:12 +0100)]
patch 8.0.0339: illegal memory access with vi'
Problem: Illegal memory access with vi'
Solution: For quoted text objects bail out if the Visual area spans more
than one line.
Bram Moolenaar [Sat, 18 Feb 2017 21:43:19 +0000 (22:43 +0100)]
patch 8.0.0338: :recover test fails on MS-Windows
Problem: :recover test fails on MS-Windows.
Solution: Use non-existing directory on MS-Windows.
Bram Moolenaar [Sat, 18 Feb 2017 15:59:02 +0000 (16:59 +0100)]
patch 8.0.0337: invalid memory access in :recover command
Problem: Invalid memory access in :recover command.
Solution: Avoid access before directory name. (Dominique Pelle,
closes #1488)
Bram Moolenaar [Fri, 17 Feb 2017 21:47:16 +0000 (22:47 +0100)]
Updated runtime files.
Bram Moolenaar [Fri, 17 Feb 2017 17:28:24 +0000 (18:28 +0100)]
patch 8.0.0336: flags of :substitute not sufficiently tested
Problem: Flags of :substitute not sufficiently tested.
Solution: Test up to two letter flag combinations. (James McCoy, closes
#1479)
Bram Moolenaar [Fri, 17 Feb 2017 15:43:49 +0000 (16:43 +0100)]
patch 8.0.0335: functions test fails
Problem: Functions test fails.
Solution: Use the right buffer number.
Bram Moolenaar [Fri, 17 Feb 2017 15:31:35 +0000 (16:31 +0100)]
patch 8.0.0334: can't access b:changedtick from a dict reference
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112)
Bram Moolenaar [Fri, 17 Feb 2017 13:53:15 +0000 (14:53 +0100)]
patch 8.0.0333: illegal memory access when 'complete' ends in a backslash
Problem: Illegal memory access when 'complete' ends in a backslash.
Solution: Check for trailing backslash. (Dominique Pelle, closes #1478)
Bram Moolenaar [Fri, 17 Feb 2017 12:44:48 +0000 (13:44 +0100)]
patch 8.0.0332: GUI test fails on some systems
Problem: GUI test fails on some systems.
Solution: Try different language settings. (Kazunobu Kuriyama)
Bram Moolenaar [Fri, 17 Feb 2017 11:04:56 +0000 (12:04 +0100)]
patch 8.0.0331: restoring help snapshot accesses freed memory
Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle)
Solution: Don't restore a snapshot when the window closes.
Bram Moolenaar [Fri, 17 Feb 2017 10:40:00 +0000 (11:40 +0100)]
patch 8.0.0330: illegal memory access after "vapo"
Problem: Illegal memory access after "vapo". (Dominique Pelle)
Solution: Fix the cursor column.
Bram Moolenaar [Sun, 12 Feb 2017 18:59:08 +0000 (19:59 +0100)]
patch 8.0.0329: xfontset and guifontwide are not tested
Problem: Xfontset and guifontwide are not tested.
Solution: Add tests. (Kazunobu Kuriyama)