]> granicus.if.org Git - vim/log
vim
8 years agopatch 8.0.0314: getcmd*() functions are not tested v8.0.0314
Bram Moolenaar [Mon, 6 Feb 2017 21:22:17 +0000 (22:22 +0100)]
patch 8.0.0314: getcmd*() functions are not tested

Problem:    getcmdtype(), getcmdpos() and getcmdline() are not tested.
Solution:   Add tests. (Yegappan Lakshmanan)

8 years agopatch 8.0.0313: not enough testing for GUI functionality v8.0.0313
Bram Moolenaar [Mon, 6 Feb 2017 21:11:55 +0000 (22:11 +0100)]
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)

8 years agopatch 8.0.0312: failure when a channel receives a split json message v8.0.0312
Bram Moolenaar [Mon, 6 Feb 2017 20:56:09 +0000 (21:56 +0100)]
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.

8 years agopatch 8.0.0311: linebreak tests are old style v8.0.0311
Bram Moolenaar [Sun, 5 Feb 2017 20:14:50 +0000 (21:14 +0100)]
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)

8 years agopatch 8.0.0310: not enough testing for GUI functionality v8.0.0310
Bram Moolenaar [Sun, 5 Feb 2017 19:54:26 +0000 (20:54 +0100)]
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)

8 years agopatch 8.0.0309: cannot use an empty key in json v8.0.0309
Bram Moolenaar [Sun, 5 Feb 2017 15:34:43 +0000 (16:34 +0100)]
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.

8 years agopatch 8.0.0308: 'runtimepath' not update correctly when using symbolic link v8.0.0308
Bram Moolenaar [Sun, 5 Feb 2017 15:07:54 +0000 (16:07 +0100)]
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)

8 years agopatch 8.0.0307: asan detects a memory error when EXITFREE is defined v8.0.0307
Bram Moolenaar [Sun, 5 Feb 2017 14:10:51 +0000 (15:10 +0100)]
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.

8 years agopatch 8.0.0306: mode() not sufficiently tested v8.0.0306
Bram Moolenaar [Sun, 5 Feb 2017 13:15:29 +0000 (14:15 +0100)]
patch 8.0.0306: mode() not sufficiently tested

Problem:    mode() not sufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan)

8 years agopatch 8.0.0305: invalid memory access when option has duplicate flag v8.0.0305
Bram Moolenaar [Sun, 5 Feb 2017 13:13:20 +0000 (14:13 +0100)]
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)

8 years agopatch 8.0.0304: assign test fails in the GUI v8.0.0304
Bram Moolenaar [Sat, 4 Feb 2017 20:50:19 +0000 (21:50 +0100)]
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.

8 years agopatch 8.0.0303: bracketed paste does not work in Visual mode v8.0.0303
Bram Moolenaar [Sat, 4 Feb 2017 20:34:31 +0000 (21:34 +0100)]
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

8 years agopatch 8.0.0302: cannot set terminal key codes with :let v8.0.0302
Bram Moolenaar [Sat, 4 Feb 2017 18:49:16 +0000 (19:49 +0100)]
patch 8.0.0302: cannot set terminal key codes with :let

Problem:    Cannot set terminal key codes with :let.
Solution:   Make it work.

8 years agopatch 8.0.0301: not enough testing for setting options v8.0.0301
Bram Moolenaar [Sat, 4 Feb 2017 14:53:32 +0000 (15:53 +0100)]
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)

8 years agopatch 8.0.0300: cannot stop diffing hidden buffers v8.0.0300
Bram Moolenaar [Fri, 3 Feb 2017 22:16:28 +0000 (23:16 +0100)]
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)

8 years agopatch 8.0.0299: a window resize is sometimes not taking effect v8.0.0299
Bram Moolenaar [Fri, 3 Feb 2017 21:01:47 +0000 (22:01 +0100)]
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.

8 years agopatch 8.0.0298: Ex command range with repeated search does not work v8.0.0298
Bram Moolenaar [Fri, 3 Feb 2017 20:19:04 +0000 (21:19 +0100)]
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 \&.

8 years agopatch 8.0.0297: double free on exit when using a closure v8.0.0297
Bram Moolenaar [Thu, 2 Feb 2017 21:59:27 +0000 (22:59 +0100)]
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)

8 years agopatch 8.0.0296: bracketed paste can only append, not insert v8.0.0296
Bram Moolenaar [Thu, 2 Feb 2017 21:21:29 +0000 (22:21 +0100)]
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.

8 years agopatch 8.0.0295: test_viml hangs v8.0.0295
Bram Moolenaar [Wed, 1 Feb 2017 22:17:36 +0000 (23:17 +0100)]
patch 8.0.0295: test_viml hangs

Problem:    test_viml hangs.
Solution:   Put resetting 'more' before sourcing the script.

8 years agopatch 8.0.0294: argument list is not stored correctly in a session file v8.0.0294
Bram Moolenaar [Wed, 1 Feb 2017 21:52:44 +0000 (22:52 +0100)]
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)

8 years agopatch 8.0.0293: some tests have a one or three second wait v8.0.0293
Bram Moolenaar [Wed, 1 Feb 2017 21:31:49 +0000 (22:31 +0100)]
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.

8 years agopatch 8.0.0292: the stat test is a bit slow v8.0.0292
Bram Moolenaar [Wed, 1 Feb 2017 21:05:28 +0000 (22:05 +0100)]
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.

8 years agopatch 8.0.0291: Visual block insertion does not insert in all lines v8.0.0291
Bram Moolenaar [Wed, 1 Feb 2017 20:50:21 +0000 (21:50 +0100)]
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)

8 years agopatch 8.0.0290: cursor positioning wrong if wide character wraps v8.0.0290
Bram Moolenaar [Wed, 1 Feb 2017 20:23:10 +0000 (21:23 +0100)]
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)

8 years agopatch 8.0.0289: no test for "ga" and :ascii v8.0.0289
Bram Moolenaar [Wed, 1 Feb 2017 19:53:38 +0000 (20:53 +0100)]
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)

8 years agopatch 8.0.0288: errors reported while running tests v8.0.0288
Bram Moolenaar [Wed, 1 Feb 2017 19:48:13 +0000 (20:48 +0100)]
patch 8.0.0288: errors reported while running tests

Problem:    Errors reported while running tests.
Solution:   Put comma in the right place.

8 years agopatch 8.0.0287: debug mode: cannot access function arguments v8.0.0287
Bram Moolenaar [Wed, 1 Feb 2017 19:26:51 +0000 (20:26 +0100)]
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)

8 years agopatch 8.0.0286: not always redrawing after screen resize v8.0.0286
Bram Moolenaar [Wed, 1 Feb 2017 17:37:14 +0000 (18:37 +0100)]
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().

8 years agopatch 8.0.0285: tests fail with tiny build on Unix v8.0.0285
Bram Moolenaar [Wed, 1 Feb 2017 17:07:38 +0000 (18:07 +0100)]
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.

8 years agopatch 8.0.0284: collapse buffers test failed once v8.0.0284
Bram Moolenaar [Wed, 1 Feb 2017 17:00:13 +0000 (18:00 +0100)]
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.

8 years agopatch 8.0.0283: mode() does not indicate Insert mode completion v8.0.0283
Bram Moolenaar [Wed, 1 Feb 2017 16:24:34 +0000 (17:24 +0100)]
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.

8 years agopatch 8.0.0282: need to use CTRL-O twice when in Visual-Insert mode v8.0.0282
Bram Moolenaar [Wed, 1 Feb 2017 14:03:30 +0000 (15:03 +0100)]
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)

8 years agopatch 8.0.0281: some files are still using ARGSUSED instead of UNUSED v8.0.0281
Bram Moolenaar [Wed, 1 Feb 2017 12:43:36 +0000 (13:43 +0100)]
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.

8 years agopatch 8.0.0280: problem setting multi-byte environment var on MS-Windows v8.0.0280
Bram Moolenaar [Wed, 1 Feb 2017 12:14:16 +0000 (13:14 +0100)]
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)

8 years agopatch 8.0.0279: MSVC 2015 uses a different dll name v8.0.0279
Bram Moolenaar [Wed, 1 Feb 2017 12:02:47 +0000 (13:02 +0100)]
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)

8 years agopatch 8.0.0278: GUI test fails on MS-Windows v8.0.0278
Bram Moolenaar [Wed, 1 Feb 2017 11:32:58 +0000 (12:32 +0100)]
patch 8.0.0278: GUI test fails on MS-Windows

Problem:    GUI test fails on MS-Windows.
Solution:   Check that tester_HOME exists.

8 years agopatch 8.0.0277: the GUI test may trigger fontconfig and take a long time v8.0.0277
Bram Moolenaar [Wed, 1 Feb 2017 11:08:47 +0000 (12:08 +0100)]
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)

8 years agopatch 8.0.0276: unnecessary #ifdefs v8.0.0276
Bram Moolenaar [Wed, 1 Feb 2017 10:50:09 +0000 (11:50 +0100)]
patch 8.0.0276: unnecessary #ifdefs

Problem:    Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary.
Solution:   Remove the #ifdef. (Kazunobu Kuriyama)

8 years agopatch 8.0.0275: the screen may be updated at the wrong time v8.0.0275
Bram Moolenaar [Tue, 31 Jan 2017 21:07:42 +0000 (22:07 +0100)]
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().

8 years agopatch 8.0.0274: possible recursive screen updating causes trouble v8.0.0274
Bram Moolenaar [Tue, 31 Jan 2017 20:53:39 +0000 (21:53 +0100)]
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)

8 years agopatch 8.0.0273: dead code detected by Coverity v8.0.0273
Bram Moolenaar [Mon, 30 Jan 2017 21:56:48 +0000 (22:56 +0100)]
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.

8 years agopatch 8.0.0272: crash on exit is not detected when running tests v8.0.0272
Bram Moolenaar [Mon, 30 Jan 2017 21:01:01 +0000 (22:01 +0100)]
patch 8.0.0272: crash on exit is not detected when running tests

Problem:    Crash on exit is not detected when running tests.
Solution:   Remove the dash before the command. (Dominique Pelle, closes
            #1425)

8 years agopatch 8.0.0271: may get ml_get error when :tcldo deletes lines v8.0.0271
Bram Moolenaar [Sun, 29 Jan 2017 22:26:37 +0000 (23:26 +0100)]
patch 8.0.0271: may get ml_get error when :tcldo deletes lines

Problem:    May get ml_get error when :tcldo deletes lines or switches to
            another buffer. (Nikolai Pavlov, closes #1421)
Solution:   Check the buffer and line every time.

8 years agopatch 8.0.0270: may get ml_get error when :rubydo deletes lines v8.0.0270
Bram Moolenaar [Sun, 29 Jan 2017 22:11:25 +0000 (23:11 +0100)]
patch 8.0.0270: may get ml_get error when :rubydo deletes lines

Problem:    May get ml_get error when :rubydo deletes lines or switches to
            another buffer. (Nikolai Pavlov, issue #1421)
Solution:   Check the buffer and line every time.

8 years agopatch 8.0.0269: may get ml_get error when :perldo deletes lines v8.0.0269
Bram Moolenaar [Sun, 29 Jan 2017 21:59:12 +0000 (22:59 +0100)]
patch 8.0.0269: may get ml_get error when :perldo deletes lines

Problem:    May get ml_get error when :perldo deletes lines or switches to
            another buffer. (Nikolai Pavlov, issue #1421)
Solution:   Check the buffer and line every time.

8 years agopatch 8.0.0268: may get ml_get error when :luado deletes lines v8.0.0268
Bram Moolenaar [Sun, 29 Jan 2017 21:48:45 +0000 (22:48 +0100)]
patch 8.0.0268: may get ml_get error when :luado deletes lines

Problem:    May get ml_get error when :luado deletes lines or switches to
            another buffer. (Nikolai Pavlov, issue #1421)
Solution:   Check the buffer and line every time.

8 years agopatch 8.0.0267: channel test sometimes fails on Mac v8.0.0267
Bram Moolenaar [Sun, 29 Jan 2017 20:49:51 +0000 (21:49 +0100)]
patch 8.0.0267: channel test sometimes fails on Mac

Problem:    A channel test sometimes fails on Mac.
Solution:   Add the test to the list of flaky tests.

8 years agopatch 8.0.0266: compiler warning for using uninitialized variable v8.0.0266
Bram Moolenaar [Sun, 29 Jan 2017 20:42:20 +0000 (21:42 +0100)]
patch 8.0.0266: compiler warning for using uninitialized variable

Problem:    Compiler warning for using uninitialized variable.
Solution:   Set tab_number also when there is an error.

8 years agopatch 8.0.0265: may get ml_get error when :pydo deletes lines v8.0.0265
Bram Moolenaar [Sun, 29 Jan 2017 20:31:09 +0000 (21:31 +0100)]
patch 8.0.0265: may get ml_get error when :pydo deletes lines

Problem:    May get ml_get error when :pydo deletes lines or switches to
            another buffer. (Nikolai Pavlov, issue #1421)
Solution:   Check the buffer and line every time.

8 years agopatch 8.0.0264: memory error reported by ubsan v8.0.0264
Bram Moolenaar [Sun, 29 Jan 2017 19:31:21 +0000 (20:31 +0100)]
patch 8.0.0264: memory error reported by ubsan

Problem:    Memory error reported by ubsan, probably for using the string
            returned by execute().
Solution:   NUL terminate the result of execute().

8 years agopatch 8.0.0263: Farsi support is not tested enough v8.0.0263
Bram Moolenaar [Sun, 29 Jan 2017 18:59:39 +0000 (19:59 +0100)]
patch 8.0.0263: Farsi support is not tested enough

Problem:    Farsi support is not tested enough.
Solution:   Add more tests for Farsi.  Clean up the code.

8 years agopatch 8.0.0262: Farsi support is barely tested v8.0.0262
Bram Moolenaar [Sun, 29 Jan 2017 16:59:12 +0000 (17:59 +0100)]
patch 8.0.0262: Farsi support is barely tested

Problem:    Farsi support is barely tested.
Solution:   Add more tests for Farsi.  Clean up the code.

8 years agopatch 8.0.0261: not enough test coverage for eval functions v8.0.0261
Bram Moolenaar [Sun, 29 Jan 2017 14:45:12 +0000 (15:45 +0100)]
patch 8.0.0261: not enough test coverage for eval functions

Problem:    Not enough test coverage for eval functions.
Solution:   Add more tests. (Dominique Pelle, closes #1420)

8 years agopatch 8.0.0260: build fails with tiny features v8.0.0260
Bram Moolenaar [Sun, 29 Jan 2017 14:18:10 +0000 (15:18 +0100)]
patch 8.0.0260: build fails with tiny features

Problem:    Build fails with tiny features.
Solution:   Move get_tabpage_arg() inside #ifdef.

8 years agopatch 8.0.0259: tab commands do not handle count correctly v8.0.0259
Bram Moolenaar [Sun, 29 Jan 2017 13:48:10 +0000 (14:48 +0100)]
patch 8.0.0259: tab commands do not handle count correctly

Problem:    Tab commands do not handle count correctly. (Ken Hamada)
Solution:   Add ADDR_TABS_RELATIVE. (Hirohito Higashi)

8 years agopatch 8.0.0258: mksession test leaves file behind v8.0.0258
Bram Moolenaar [Sun, 29 Jan 2017 13:14:09 +0000 (14:14 +0100)]
patch 8.0.0258: mksession test leaves file behind

Problem:    mksession test leaves file behind.
Solution:   Delete the file.  Rename files to start with "X".

8 years agopatch 8.0.0257: test file missing in distribution v8.0.0257
Bram Moolenaar [Sat, 28 Jan 2017 17:42:56 +0000 (18:42 +0100)]
patch 8.0.0257: test file missing in distribution

Problem:    The keyword test file is not included in the archive.
Solution:   Update the list of files.

8 years agoUpdate runtime files.
Bram Moolenaar [Sat, 28 Jan 2017 17:34:47 +0000 (18:34 +0100)]
Update runtime files.

8 years agopatch 8.0.0256: missing changes to one file breaks test v8.0.0256
Bram Moolenaar [Sat, 28 Jan 2017 17:31:41 +0000 (18:31 +0100)]
patch 8.0.0256: missing changes to one file breaks test

Problem:    Tests fail because some changes were not included.
Solution:   Add changes to evalfunc.c

8 years agopatch 8.0.0255: setpos() does not use the buffer argument for all marks v8.0.0255
Bram Moolenaar [Sat, 28 Jan 2017 17:23:54 +0000 (18:23 +0100)]
patch 8.0.0255: setpos() does not use the buffer argument for all marks

Problem:    When calling setpos() with a buffer argument it often is ignored.
            (Matthew Malcomson)
Solution:   Make the buffer argument work for all marks local to a buffer.
            (neovim #5713)  Add more tests.

8 years agopatch 8.0.0254: error message of assert functions is sometimes incomplete v8.0.0254
Bram Moolenaar [Sat, 28 Jan 2017 17:08:12 +0000 (18:08 +0100)]
patch 8.0.0254: error message of assert functions is sometimes incomplete

Problem:    When using an assert function one can either specify a message or
            get a message about what failed, not both.
Solution:   Concatenate the error with the message.

8 years agopatch 8.0.0253: error when loading session if winminheight is 2 v8.0.0253
Bram Moolenaar [Sat, 28 Jan 2017 16:11:14 +0000 (17:11 +0100)]
patch 8.0.0253: error when loading session if winminheight is 2

Problem:    When creating a session when winminheight is 2 or larger and
            loading that session gives an error.
Solution:   Also set winminheight before setting winheight to 1. (Rafael
            Bodill, neovim #5717)

8 years agopatch 8.0.0252: not properly recognizing word characters between 128 and 255 v8.0.0252
Bram Moolenaar [Sat, 28 Jan 2017 15:39:34 +0000 (16:39 +0100)]
patch 8.0.0252: not properly recognizing word characters between 128 and 255

Problem:    Characters below 256 that are not one byte are not always
            recognized as word characters.
Solution:   Make vim_iswordc() and vim_iswordp() work the same way. Add a test
            for this. (Ozaki Kiichi)

8 years agopatch 8.0.0251: not easy to select Python 2 or 3 v8.0.0251
Bram Moolenaar [Sat, 28 Jan 2017 15:06:38 +0000 (16:06 +0100)]
patch 8.0.0251: not easy to select Python 2 or 3

Problem:    It is not so easy to write a script that works with both Python 2
            and Python 3, even when the Python code works with both.
Solution:   Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata)

8 years agopatch 8.0.0250: virtcol() does not work well for multi-byte characters v8.0.0250
Bram Moolenaar [Sat, 28 Jan 2017 12:48:10 +0000 (13:48 +0100)]
patch 8.0.0250: virtcol() does not work well for multi-byte characters

Problem:    When virtcol() gets a column that is not the first byte of a
            multi-byte character the result is unpredictable. (Christian
            Ludwig)
Solution:   Correct the column to the first byte of a multi-byte character.
            Change the utf-8 test to new style.

8 years agopatch 8.0.0249: CI failure when a submit is close to previous one v8.0.0249
Bram Moolenaar [Fri, 27 Jan 2017 21:20:13 +0000 (22:20 +0100)]
patch 8.0.0249: CI failure when a submit is close to previous one

Problem:    When two submits happen quick after each other, the tests for the
            first one may error out.
Solution:   Use a git depth of 10 instead of 1. (Christian Brabandt)

8 years agopatch 8.0.0248: vim_strcat() cannot handle overlapping arguments v8.0.0248
Bram Moolenaar [Fri, 27 Jan 2017 20:54:07 +0000 (21:54 +0100)]
patch 8.0.0248: vim_strcat() cannot handle overlapping arguments

Problem:    vim_strcat() cannot handle overlapping arguments.
Solution:   Use mch_memmove() instead of strcpy(). (Justin M Keyes,
            closes #1415)

8 years agopatch 8.0.0247: need to type Ctrl-N twice to select a completion v8.0.0247
Bram Moolenaar [Fri, 27 Jan 2017 20:48:54 +0000 (21:48 +0100)]
patch 8.0.0247: need to type Ctrl-N twice to select a completion

Problem:    Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice
            to have a menu entry selected. (Lifepillar)
Solution:   call ins_compl_free(). (Christian Brabandt, closes #1411)

8 years agopatch 8.0.0246: compiler warnings for int to pointer conversion v8.0.0246
Bram Moolenaar [Fri, 27 Jan 2017 20:22:19 +0000 (21:22 +0100)]
patch 8.0.0246: compiler warnings for int to pointer conversion

Problem:    Compiler warnings for int to pointer conversion.
Solution:   Fix macro for mch_memmove(). (John Marriott)

8 years agopatch 8.0.0245: zh_CN.cp936.po has a conversion error v8.0.0245
Bram Moolenaar [Fri, 27 Jan 2017 19:37:49 +0000 (20:37 +0100)]
patch 8.0.0245: zh_CN.cp936.po has a conversion error

Problem:    The generated zh_CN.cp936.po message file is not encoded properly.
Solution:   Instead of using zh_CN.po as input, use zh_CN.UTF-8.po.

8 years agopatch 8.0.0244: making t_BE empty only has an effect before startup v8.0.0244
Bram Moolenaar [Fri, 27 Jan 2017 19:03:18 +0000 (20:03 +0100)]
patch 8.0.0244: making t_BE empty only has an effect before startup

Problem:    When the user sets t_BE empty after startup to disable bracketed
            paste, this has no direct effect.
Solution:   When t_BE is made empty write t_BD.  When t_BE is made non-empty
            write the new value.

8 years agopatch 8.0.0243: tolower() does not work if the byte count changes v8.0.0243
Bram Moolenaar [Thu, 26 Jan 2017 21:51:56 +0000 (22:51 +0100)]
patch 8.0.0243: tolower() does not work if the byte count changes

Problem:    When making a character lower case with tolower() changes the byte
            cound, it is not made lower case.
Solution:   Add strlow_save(). (Dominique Pelle, closes #1406)

8 years agopatch 8.0.0242: no tests for user command completion v8.0.0242
Bram Moolenaar [Thu, 26 Jan 2017 21:07:33 +0000 (22:07 +0100)]
patch 8.0.0242: no tests for user command completion

Problem:    Completion of user defined functions is not covered by tests.
Solution:   Add tests.  Also test various errors of user-defined commands.
            (Dominique Pelle, closes #1413)

8 years agopatch 8.0.0241: fallback implementation of mch_memmove is unused v8.0.0241
Bram Moolenaar [Thu, 26 Jan 2017 20:36:34 +0000 (21:36 +0100)]
patch 8.0.0241: fallback implementation of mch_memmove is unused

Problem:    Vim defines a mch_memmove() function but it doesn't work, thus is
            always unused.
Solution:   Remove the mch_memmove implementation. (suggested by Dominique
            Pelle)

8 years agopatch 8.0.0240: failure with one build on CI v8.0.0240
Bram Moolenaar [Thu, 26 Jan 2017 20:24:02 +0000 (21:24 +0100)]
patch 8.0.0240: failure with one build on CI

Problem:    The clang build on CI fails with one configuration.
Solution:   Redo a previous patch that was accidentally reverted.

8 years agopatch 8.0.0239: no CI with an address sanitizer v8.0.0239
Bram Moolenaar [Thu, 26 Jan 2017 19:11:12 +0000 (20:11 +0100)]
patch 8.0.0239: no CI with an address sanitizer

Problem:    The address sanitizer sometimes finds errors, but it needs to be
            run manually.
Solution:   Add an environment to Travis with clang and the address sanitizer.
            (Christian Brabandt)  Also include changes only on github.

8 years agopatch 8.0.0238: bracketed paste does not disable autoindent v8.0.0238
Bram Moolenaar [Wed, 25 Jan 2017 20:36:17 +0000 (21:36 +0100)]
patch 8.0.0238: bracketed paste does not disable autoindent

Problem:    When using bracketed paste autoindent causes indent to be
            increased.
Solution:   Disable 'ai' and set 'paste' temporarily. (Ken Takata)

8 years agopatch 8.0.0237: when 'wildoptions' is "tagfile" completion may not work v8.0.0237
Bram Moolenaar [Tue, 24 Jan 2017 20:18:19 +0000 (21:18 +0100)]
patch 8.0.0237: when 'wildoptions' is "tagfile" completion may not work

Problem:    When setting wildoptions=tagfile the completion context is not set
            correctly. (desjardins)
Solution:   Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399)

8 years agopatch 8.0.0236: gcc complains about uninitialized variable v8.0.0236
Bram Moolenaar [Tue, 24 Jan 2017 19:47:50 +0000 (20:47 +0100)]
patch 8.0.0236: gcc complains about uninitialized variable

Problem:    Gcc complains that a variable may be used uninitialized. Confusion
            between variable and label name. (John Marriott)
Solution:   Initialize it.  Rename end to end_lnum.

8 years agopatch 8.0.0235: memory leak in diff mode v8.0.0235
Bram Moolenaar [Tue, 24 Jan 2017 19:14:48 +0000 (20:14 +0100)]
patch 8.0.0235: memory leak in diff mode

Problem:    Memory leak detected when running tests for diff mode.
Solution:   Free p_extra_free.

8 years agopatch 8.0.0234: crash when using put in Visual mode v8.0.0234
Bram Moolenaar [Tue, 24 Jan 2017 18:55:43 +0000 (19:55 +0100)]
patch 8.0.0234: crash when using put in Visual mode

Problem:    When several lines are visually selected and one of them is short,
            using put may cause a crash. (Axel Bender)
Solution:   Check for a short line. (Christian Brabandt)

8 years agopatch 8.0.0233: paste test fails in the GUI v8.0.0233
Bram Moolenaar [Tue, 24 Jan 2017 18:18:13 +0000 (19:18 +0100)]
patch 8.0.0233: paste test fails in the GUI

Problem:    The paste test fails if the GUI is being used.
Solution:   Skip the test in the GUI.

8 years agopatch 8.0.0232: paste does not work when 'esckeys' is off v8.0.0232
Bram Moolenaar [Tue, 24 Jan 2017 18:08:15 +0000 (19:08 +0100)]
patch 8.0.0232: paste does not work when 'esckeys' is off

Problem:    Pasting in Insert mode does not work when bracketed paste is used
            and 'esckeys' is off.
Solution:   When 'esckeys' is off disable bracketed paste in Insert mode.

8 years agopatch 8.0.0231: bracketed paste mode is not tested v8.0.0231
Bram Moolenaar [Tue, 24 Jan 2017 17:58:30 +0000 (18:58 +0100)]
patch 8.0.0231: bracketed paste mode is not tested

Problem:    There are no tests for bracketed paste mode.
Solution:   Add a test.  Fix repeating with "normal .".

8 years agopatch 8.0.0230: bracketed paste does not support line breaks v8.0.0230
Bram Moolenaar [Tue, 24 Jan 2017 16:50:52 +0000 (17:50 +0100)]
patch 8.0.0230: bracketed paste does not support line breaks

Problem:    When using bracketed paste line breaks are not respected.
Solution:   Turn CR characters into a line break if the text is being
            inserted. (closes #1404)

8 years agopatch 8.0.0229: local 'formatprg' option value leaks v8.0.0229
Bram Moolenaar [Tue, 24 Jan 2017 16:48:36 +0000 (17:48 +0100)]
patch 8.0.0229: local 'formatprg' option value leaks

Problem:    When freeing a buffer the local value of the 'formatprg' option is
            not cleared.
Solution:   Add missing change.

8 years agopatch 8.0.0228: pasting in xterm on the command line has PasteStart v8.0.0228
Bram Moolenaar [Tue, 24 Jan 2017 14:57:55 +0000 (15:57 +0100)]
patch 8.0.0228: pasting in xterm on the command line has PasteStart

Problem:    When pasting test in an xterm on the command line it is surrounded
            by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach)
Solution:   Add missing changes.

8 years agopatch 8.0.0227: crash with ff=dos when first line in file has no CR v8.0.0227
Bram Moolenaar [Tue, 24 Jan 2017 14:46:48 +0000 (15:46 +0100)]
patch 8.0.0227: crash with ff=dos when first line in file has no CR

Problem:    Crash when 'fileformat' is forced to "dos" and the first line in
            the file is empty and does not have a CR character.
Solution:   Don't check for CR before the start of the buffer.

8 years agopatch 8.0.0226: test for patch 8.0.0224 missing CR characters v8.0.0226
Bram Moolenaar [Tue, 24 Jan 2017 12:18:43 +0000 (13:18 +0100)]
patch 8.0.0226: test for patch 8.0.0224 missing CR characters

Problem:    The test for patch 8.0.0224 misses the CR characters and passes
            even without the fix. (Christian Brabandt)
Solution:   Use double quotes and \<CR>.

8 years agopatch 8.0.0225: put in Visual block mode terminates early v8.0.0225
Bram Moolenaar [Mon, 23 Jan 2017 20:53:53 +0000 (21:53 +0100)]
patch 8.0.0225: put in Visual block mode terminates early

Problem:    When a block is visually selected and put is used on the end of
            the selection only one line is changed.
Solution:   Check for the end properly. (Christian Brabandt, neovim issue
            5781)

8 years agopatch 8.0.0224: change to 'fileformats' from autocmd does not take effect v8.0.0224
Bram Moolenaar [Mon, 23 Jan 2017 20:31:09 +0000 (21:31 +0100)]
patch 8.0.0224: change to 'fileformats' from autocmd does not take effect

Problem:    When 'fileformats' is changed in a BufReadPre auto command, it
            does not take effect in readfile(). (Gary Johnson)
Solution:   Check the value of 'fileformats' after executing auto commands.
            (Christian Brabandt)

8 years agopatch 8.0.0223: Coverity warns for an uninitialized variable v8.0.0223
Bram Moolenaar [Mon, 23 Jan 2017 19:47:12 +0000 (20:47 +0100)]
patch 8.0.0223: Coverity warns for an uninitialized variable

Problem:    Coverity gets confused by the flags passed to find_tags() and
            warnts for an uninitialized variable.
Solution:   Disallow using cscope and help tags at the same time.

8 years agopatch 8.0.0222: blockwise put on multi-byte character misplaced v8.0.0222
Bram Moolenaar [Sun, 22 Jan 2017 19:04:51 +0000 (20:04 +0100)]
patch 8.0.0222: blockwise put on multi-byte character misplaced

Problem:    When a multi-byte character ends in a zero byte, putting blockwise
            text puts it before the character instead of after it.
Solution:   Use int instead of char for the character under the cursor.
            (Luchr, closes #1403)  Add a test.

8 years agopatch 8.0.0221: unnecessary condition on PROTO v8.0.0221
Bram Moolenaar [Sun, 22 Jan 2017 18:49:12 +0000 (19:49 +0100)]
patch 8.0.0221: unnecessary condition on PROTO

Problem:    Checking if PROTO is defined inside a function has no effect.
Solution:   Remove the check for PROTO. (Hirohito Higashi)

8 years agopatch 8.0.0220: completion of highlight names misses a few values v8.0.0220
Bram Moolenaar [Sun, 22 Jan 2017 18:25:33 +0000 (19:25 +0100)]
patch 8.0.0220: completion of highlight names misses a few values

Problem:    Completion for :match does not show "none" and other missing
            highlight names.
Solution:   Skip over cleared entries before checking the index to be at the
            end.

8 years agopatch 8.0.0219: ubsan reports errors for overflow v8.0.0219
Bram Moolenaar [Sun, 22 Jan 2017 17:34:57 +0000 (18:34 +0100)]
patch 8.0.0219: ubsan reports errors for overflow

Problem:    Ubsan reports errors for integer overflow.
Solution:   Define macros for minimum and maximum values.  Select an
            expression based on the value. (Mike Williams)

8 years agopatch 8.0.0218: no completion for :cexpr and similar commands v8.0.0218
Bram Moolenaar [Sun, 22 Jan 2017 15:46:56 +0000 (16:46 +0100)]
patch 8.0.0218: no completion for :cexpr and similar commands

Problem:    No command line completion for :cexpr, :cgetexpr, :caddexpr, etc.
Solution:   Make completion work. (Yegappan Lakshmanan)  Add a test.

8 years agopatch 8.0.0217: build fails without cscope feature v8.0.0217
Bram Moolenaar [Sun, 22 Jan 2017 15:13:35 +0000 (16:13 +0100)]
patch 8.0.0217: build fails without cscope feature

Problem:    Build fails without the cscope feature.
Solution:   Add #ifdef.

8 years agopatch 8.0.0216: decoding js style json may fail v8.0.0216
Bram Moolenaar [Sun, 22 Jan 2017 14:56:26 +0000 (15:56 +0100)]
patch 8.0.0216: decoding js style json may fail

Problem:    When decoding JSON with a JS style object the JSON test may use a
            NULL pointer. (Coverity)
Solution:   Check for a NULL pointer.