Bram Moolenaar
399c297aa9
patch 8.0.0322: possible overflow with corrupted spell file
...
Problem: Possible overflow with spell file where the tree length is
corrupted.
Solution: Check for an invalid length (suggested by shqking)
2017-02-09 21:07:12 +01:00
Bram Moolenaar
8cc2a9c062
patch 8.0.0321: errors when trying to use scripts in tiny version
...
Problem: When using the tiny version trying to load the matchit plugin
gives an error. On MS-Windows some default mappings fail.
Solution: Add a check if the command used is available. (Christian Brabandt)
2017-02-09 20:22:30 +01:00
Bram Moolenaar
4d8505155e
patch 8.0.0320: warning for unused variable with small build
...
Problem: Warning for unused variable with small build.
Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
2017-02-09 18:25:14 +01:00
Bram Moolenaar
190b04cdd9
patch 8.0.0319: insert mode completion does not respect 'backspace'
...
Problem: Insert mode completion does not respect "start" in 'backspace'.
Solution: Check whether backspace can go before where insert started.
(Hirohito Higashi)
2017-02-09 17:37:03 +01:00
Bram Moolenaar
a9f8ffb634
patch 8.0.0318: small mistake in 7x13 font name
...
Problem: Small mistake in 7x13 font name.
Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama)
2017-02-09 16:14:53 +01:00
Bram Moolenaar
43dded8c59
patch 8.0.0317: no test for setting 'guifont'
...
Problem: No test for setting 'guifont'.
Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama)
2017-02-09 16:06:17 +01:00
Bram Moolenaar
dad7309dd2
patch 8.0.0316: :help z? does not work
...
Problem: ":help z?" does not work. (Pavol Juhas)
Solution: Remove exception for z?.
2017-02-09 11:54:50 +01:00
Bram Moolenaar
a76f59d817
patch 8.0.0315: :help :[range] does not work
...
Problem: ":help :[range]" does not work. (Tony Mechelynck)
Solution: Translate to insert a backslash.
2017-02-09 11:41:01 +01:00
Bram Moolenaar
65189a1294
patch 8.0.0314: getcmd*() functions are not tested
...
Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested.
Solution: Add tests. (Yegappan Lakshmanan)
2017-02-06 22:22:17 +01:00
Bram Moolenaar
6f785749db
patch 8.0.0313: not enough testing for GUI functionality
...
Problem: Not enough testing for GUI functionality.
Solution: Add tests for the GUI font. (Kazunobu Kuriyama)
2017-02-06 22:11:55 +01:00
Bram Moolenaar
88989cc381
patch 8.0.0312: failure when a channel receives a split json message
...
Problem: When a json message arrives in pieces, the start is dropped and
the decoding fails.
Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a
test. Reset the timeout when something is received.
2017-02-06 21:56:09 +01:00
Bram Moolenaar
544d3bc9f0
patch 8.0.0311: linebreak tests are old style
...
Problem: Linebreak tests are old style.
Solution: Turn the tests into new style. Share utility functions. (Ozaki
Kiichi, closes #1444 )
2017-02-05 21:14:50 +01:00
Bram Moolenaar
13c724fb3a
patch 8.0.0310: not enough testing for GUI functionality
...
Problem: Not enough testing for GUI functionality.
Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama)
2017-02-05 20:54:26 +01:00
Bram Moolenaar
059b7482a2
patch 8.0.0309: cannot use an empty key in json
...
Problem: Cannot use an empty key in json.
Solution: Allow for using an empty key.
2017-02-05 16:34:43 +01:00
Bram Moolenaar
2f9e575583
patch 8.0.0308: 'runtimepath' not update correctly when using symbolic link
...
Problem: When using a symbolic link, the package path will not be inserted
at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi)
Solution: Resolve symbolic links when finding the right position in
'runtimepath'. (Hirohito Higashi)
2017-02-05 16:07:54 +01:00
Bram Moolenaar
955f198fc5
patch 8.0.0307: asan detects a memory error when EXITFREE is defined
...
Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
Pelle)
Solution: In getvcol() check for ml_get_buf() returning an empty string.
Also skip adjusting the scroll position. Set "exiting" in
mch_exit() for all systems.
2017-02-05 15:10:51 +01:00
Bram Moolenaar
e971df39a5
patch 8.0.0306: mode() not sufficiently tested
...
Problem: mode() not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan)
2017-02-05 14:15:29 +01:00
Bram Moolenaar
aaaf57d8a9
patch 8.0.0305: invalid memory access when option has duplicate flag
...
Problem: Invalid memory access when option has duplicate flag.
Solution: Correct pointer computation. (Dominique Pelle, closes #1442 )
2017-02-05 14:13:20 +01:00
Bram Moolenaar
1fb0d49803
patch 8.0.0304: assign test fails in the GUI
...
Problem: Assign test fails in the GUI.
Solution: Skip the test for setting t_k1.
2017-02-04 21:50:19 +01:00
Bram Moolenaar
a1891848d9
patch 8.0.0303: bracketed paste does not work in Visual mode
...
Problem: Bracketed paste does not work in Visual mode.
Solution: Delete the text before pasting
2017-02-04 21:34:31 +01:00
Bram Moolenaar
e353c402e6
patch 8.0.0302: cannot set terminal key codes with :let
...
Problem: Cannot set terminal key codes with :let.
Solution: Make it work.
2017-02-04 19:49:16 +01:00
Bram Moolenaar
698f8b207b
patch 8.0.0301: not enough testing for setting options
...
Problem: No tests for ":set completion" and various errors of the :set
command.
Solution: Add more :set tests. (Dominique Pelle, closes #1440 )
2017-02-04 15:53:32 +01:00
Bram Moolenaar
25ea054458
patch 8.0.0300: cannot stop diffing hidden buffers
...
Problem: Cannot stop diffing hidden buffers. (Daniel Hahler)
Solution: When using :diffoff! make the whole list if diffed buffers empty.
(closes #736 )
2017-02-03 23:16:28 +01:00
Bram Moolenaar
6b40f30329
patch 8.0.0299: a window resize is sometimes not taking effect
...
Problem: When the GUI window is resized Vim does not always take over the
new size. (Luchr)
Solution: Reset new_p_guifont in gui_resize_shell(). Call
gui_may_resize_shell() in the main loop.
2017-02-03 22:01:47 +01:00
Bram Moolenaar
cbf20fbcd3
patch 8.0.0298: Ex command range with repeated search does not work
...
Problem: Ex command range with repeated search does not work. (Bruce
DeVisser)
Solution: Skip over \/, \? and \&.
2017-02-03 21:19:04 +01:00
Bram Moolenaar
03ff9bcbc9
patch 8.0.0297: double free on exit when using a closure
...
Problem: Double free on exit when using a closure. (James McCoy)
Solution: Split free_al_functions in two parts. (closes #1428 )
2017-02-02 22:59:27 +01:00
Bram Moolenaar
fd8983b09c
patch 8.0.0296: bracketed paste can only append, not insert
...
Problem: Bracketed paste can only append, not insert.
Solution: When the cursor is in the first column insert the text.
2017-02-02 22:21:29 +01:00
Bram Moolenaar
7a073549a3
patch 8.0.0295: test_viml hangs
...
Problem: test_viml hangs.
Solution: Put resetting 'more' before sourcing the script.
2017-02-01 23:17:36 +01:00
Bram Moolenaar
79da563cf9
patch 8.0.0294: argument list is not stored correctly in a session file
...
Problem: Argument list is not stored correctly in a session file.
(lgpasquale)
Solution: Use "$argadd" instead of "argadd". (closes #1434 )
2017-02-01 22:52:44 +01:00
Bram Moolenaar
e5f2a075e3
patch 8.0.0293: some tests have a one or three second wait
...
Problem: Some tests have a one or three second wait.
Solution: Reset the 'showmode' option. Use a test time of one to disable
sleep after an error or warning message.
2017-02-01 22:31:49 +01:00
Bram Moolenaar
a2f28859bf
patch 8.0.0292: the stat test is a bit slow
...
Problem: The stat test is a bit slow.
Solution: Remove a couple of sleep comments and reduce another.
2017-02-01 22:05:28 +01:00
Bram Moolenaar
23fa81d222
patch 8.0.0291: Visual block insertion does not insert in all lines
...
Problem: Visual block insertion does not insert in all lines.
Solution: Don't bail out of insert too early. Add a test. (Christian
Brabandt, closes #1290 )
2017-02-01 21:50:21 +01:00
Bram Moolenaar
04e87b72c5
patch 8.0.0290: cursor positioning wrong if wide character wraps
...
Problem: If a wide character doesn't fit at the end of the screen line, and
the line doesn't fit on the screen, then the cursor position may
be wrong. (anliting)
Solution: Don't skip over wide character. (Christian Brabandt, closes #1408 )
2017-02-01 21:23:10 +01:00
Bram Moolenaar
21d7c9b601
patch 8.0.0289: no test for "ga" and :ascii
...
Problem: No test for "ga" and :ascii.
Solution: Add a test. (Dominique Pelle, closes #1429 )
2017-02-01 20:53:38 +01:00
Bram Moolenaar
4e032e1b17
patch 8.0.0288: errors reported while running tests
...
Problem: Errors reported while running tests.
Solution: Put comma in the right place.
2017-02-01 20:48:13 +01:00
Bram Moolenaar
c7d9eacefa
patch 8.0.0287: debug mode: cannot access function arguments
...
Problem: Cannot access the arguments of the current function in debug mode.
(Luc Hermitte)
Solution: use get_funccal(). (Lemonboy, closes #1432 , closes #1352 )
2017-02-01 20:26:51 +01:00
Bram Moolenaar
c10f0e7cb0
patch 8.0.0286: not always redrawing after screen resize
...
Problem: When concealing is active and the screen is resized in the GUI it
is not immediately redrawn.
Solution: Use update_prepare() and update_finish() from
update_single_line().
2017-02-01 18:37:14 +01:00
Bram Moolenaar
c386267ffe
patch 8.0.0285: tests fail with tiny build on Unix
...
Problem: Tests fail with tiny build on Unix.
Solution: Only set g:tester_HOME when build with the +eval feature.
2017-02-01 18:07:38 +01:00
Bram Moolenaar
b245559fa9
patch 8.0.0284: collapse buffers test failed once
...
Problem: The Test_collapse_buffers() test failed once, looks like it is
flaky.
Solution: Add it to the list of flaky tests.
2017-02-01 18:00:13 +01:00
Bram Moolenaar
e90858d022
patch 8.0.0283: mode() does not indicate Insert mode completion
...
Problem: The return value of mode() does not indicate that completion is
active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu)
Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan,
closes #1397 ) Test some more modes.
2017-02-01 17:24:34 +01:00
Bram Moolenaar
0b5c93a7f2
patch 8.0.0282: need to use CTRL-O twice when in Visual-Insert mode
...
Problem: When doing a Visual selection and using "I" to go to insert mode,
CTRL-O needs to be used twice to go to Normal mode. (Coacher)
Solution: Check for the return value of edit(). (Christian Brabandt,
closes #1290 )
2017-02-01 15:03:30 +01:00
Bram Moolenaar
1266d678bf
patch 8.0.0281: some files are still using ARGSUSED instead of UNUSED
...
Problem: MS-Windows files are still using ARGSUSED while most other files
have UNUSED.
Solution: Change ARGSUSED to UNUSED or delete it.
2017-02-01 13:43:36 +01:00
Bram Moolenaar
7c23d1d9d9
patch 8.0.0280: problem setting multi-byte environment var on MS-Windows
...
Problem: On MS-Windows setting an environment variable with multi-byte
strings does not work well.
Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
2017-02-01 13:14:16 +01:00
Bram Moolenaar
168dd00f72
patch 8.0.0279: MSVC 2015 uses a different dll name
...
Problem: With MSVC 2015 the dll name is vcruntime140.dll.
Solution: Check the MSVC version and use the right dll name. (Ken Takata)
2017-02-01 13:02:47 +01:00
Bram Moolenaar
f1ab9c1370
patch 8.0.0278: GUI test fails on MS-Windows
...
Problem: GUI test fails on MS-Windows.
Solution: Check that tester_HOME exists.
2017-02-01 12:32:58 +01:00
Bram Moolenaar
56e6bd7ba2
patch 8.0.0277: the GUI test may trigger fontconfig and take a long time
...
Problem: The GUI test may trigger fontconfig and take a long time.
Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama)
2017-02-01 12:08:47 +01:00
Bram Moolenaar
3954e3c4b5
patch 8.0.0276: unnecessary #ifdefs
...
Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary.
Solution: Remove the #ifdef. (Kazunobu Kuriyama)
2017-02-01 11:50:09 +01:00
Bram Moolenaar
e3caa11090
patch 8.0.0275: the screen may be updated at the wrong time
...
Problem: When checking for CTRL-C typed the GUI may detect a screen resize
and redraw the screen, causing trouble.
Solution: Set updating_screen in ui_breakcheck().
2017-01-31 22:07:42 +01:00
Bram Moolenaar
070b33da93
patch 8.0.0274: possible recursive screen updating causes trouble
...
Problem: When update_single_line() is called recursively, or another screen
update happens while it is busy, errors may occur.
Solution: Check and update updating_screen. (Christian Brabandt)
2017-01-31 21:53:39 +01:00
Bram Moolenaar
c4a249a736
patch 8.0.0273: dead code detected by Coverity
...
Problem: Dead code detected by Coverity when not using gnome.
Solution: Rearrange the #ifdefs to avoid dead code.
2017-01-30 22:56:48 +01:00