]> granicus.if.org Git - vim/log
vim
6 years agopatch 8.1.0033: keys to stop Vim in terminal are wrong v8.1.0033
Bram Moolenaar [Mon, 4 Jun 2018 17:11:11 +0000 (19:11 +0200)]
patch 8.1.0033: keys to stop Vim in terminal are wrong

Problem:    Keys to stop Vim in terminal are wrong. (Marius Gedminas)
Solution:   Move ":" to before CTRL-U.

6 years agopatch 8.1.0032: BS in prompt buffer starts new line v8.1.0032
Bram Moolenaar [Mon, 4 Jun 2018 15:28:44 +0000 (17:28 +0200)]
patch 8.1.0032: BS in prompt buffer starts new line

Problem:    BS in prompt buffer starts new line.
Solution:   Do not allows BS over the prompt.  Make term_sendkeys() handle
            special keys. Add a test.

6 years agopatch 8.1.0031: terminal test aucmd_on_close if flaky v8.1.0031
Bram Moolenaar [Sun, 3 Jun 2018 16:22:02 +0000 (18:22 +0200)]
patch 8.1.0031: terminal test aucmd_on_close if flaky

Problem:    Terminal test aucmd_on_close if flaky.
Solution:   Wait a bit longer.

6 years agopatch 8.1.0030: stoping Vim running in a terminal may not work v8.1.0030
Bram Moolenaar [Sun, 3 Jun 2018 15:10:40 +0000 (17:10 +0200)]
patch 8.1.0030: stoping Vim running in a terminal may not work

Problem:    Stoping Vim running in a terminal may not work.
Solution:   Instead of sending <Esc> send CTRL-O.

6 years agopatch 8.1.0029: terminal test fails on MS-Windows when "wc" exists v8.1.0029
Bram Moolenaar [Sun, 3 Jun 2018 13:26:36 +0000 (15:26 +0200)]
patch 8.1.0029: terminal test fails on MS-Windows when "wc" exists

Problem:    Terminal test fails on MS-Windows when "wc" exists.
Solution:   Skip test with redirection on MS-Windows.

6 years agopatch 8.1.0028: prompt buffer test fails on MS-Windows v8.1.0028
Bram Moolenaar [Sun, 3 Jun 2018 13:08:09 +0000 (15:08 +0200)]
patch 8.1.0028: prompt buffer test fails on MS-Windows

Problem:    Prompt buffer test fails on MS-Windows.
Solution:   Disable the test for now. Remove stray assert.

6 years agopatch 8.1.0027: difficult to make a plugin that feeds a line to a job v8.1.0027
Bram Moolenaar [Sun, 3 Jun 2018 12:47:35 +0000 (14:47 +0200)]
patch 8.1.0027: difficult to make a plugin that feeds a line to a job

Problem:    Difficult to make a plugin that feeds a line to a job.
Solution:   Add the nitial code for the "prompt" buftype.

6 years agopatch 8.1.0026: terminal test fails with very tall terminal v8.1.0026
Bram Moolenaar [Sat, 26 May 2018 16:58:51 +0000 (18:58 +0200)]
patch 8.1.0026: terminal test fails with very tall terminal

Problem:    Terminal test fails with very tall terminal. (Tom)
Solution:   Fix the terminal window size in the test.

6 years agopatch 8.1.0025: no test for the undofile() function v8.1.0025
Bram Moolenaar [Sat, 26 May 2018 16:46:30 +0000 (18:46 +0200)]
patch 8.1.0025: no test for the undofile() function

Problem:    No test for the undofile() function.
Solution:   Add test. (Dominique Pelle, closes #2958)

6 years agopatch 8.1.0024: % command not testded on #ifdef and comment v8.1.0024
Bram Moolenaar [Sat, 26 May 2018 16:39:32 +0000 (18:39 +0200)]
patch 8.1.0024: % command not testded on #ifdef and comment

Problem:    % command not testded on #ifdef and comment.
Solution:   Add tests. (Dominique Pelle, closes #2956)

6 years agopatch 8.1.0023: gcc 8.1 warns for use of strncpy() v8.1.0023
Bram Moolenaar [Sat, 26 May 2018 15:35:27 +0000 (17:35 +0200)]
patch 8.1.0023: gcc 8.1 warns for use of strncpy()

Problem:    gcc 8.1 warns for use of strncpy(). (John Marriott)
Solution:   Use mch_memmove() instead of STRNCPY().

6 years agopatch 8.1.0022: repeating put from expression register fails v8.1.0022
Bram Moolenaar [Wed, 23 May 2018 19:53:52 +0000 (21:53 +0200)]
patch 8.1.0022: repeating put from expression register fails

Problem:    Repeating put from expression register fails.
Solution:   Re-evaluate the expression register. (Andy Massimino,
            closes #2945)

6 years agopatch 8.1.0021: clang warns for undefined behavior v8.1.0021
Bram Moolenaar [Wed, 23 May 2018 18:30:56 +0000 (20:30 +0200)]
patch 8.1.0021: clang warns for undefined behavior

Problem:    Clang warns for undefined behavior.
Solution:   Move #ifdef outside of sprintf() call.(suggestion by Michael
            Jarvis, closes #2956)

6 years agoUpdate runtime files.
Bram Moolenaar [Tue, 22 May 2018 19:41:30 +0000 (21:41 +0200)]
Update runtime files.

6 years agopatch 8.1.0020: cannot tell whether a register is executing or recording v8.1.0020
Bram Moolenaar [Tue, 22 May 2018 18:35:17 +0000 (20:35 +0200)]
patch 8.1.0020: cannot tell whether a register is executing or recording

Problem:    Cannot tell whether a register is being used for executing or
            recording.
Solution:   Add reg_executing() and reg_recording(). (Hirohito Higashi,
            closes #2745)  Rename the global variables for consistency.  Store
            the register name in reg_executing.

6 years agopatch 8.1.0019: error when defining a Lambda with index of a function result v8.1.0019
Bram Moolenaar [Tue, 22 May 2018 16:31:35 +0000 (18:31 +0200)]
patch 8.1.0019: error when defining a Lambda with index of a function result

Problem:    Error when defining a Lambda with index of a function result.
Solution:   When not evaluating an expression and skipping a function call,
            set the return value to VAR_UNKNOWN.

6 years agopatch 8.1.0018: using "gn" may select wrong text when wrapping v8.1.0018
Bram Moolenaar [Tue, 22 May 2018 15:50:42 +0000 (17:50 +0200)]
patch 8.1.0018: using "gn" may select wrong text when wrapping

Problem:    Using "gn" may select wrong text when wrapping.
Solution:   Avoid wrapping when searching forward. (Christian Brabandt)

6 years agopatch 8.1.0017: shell command completion has duplicates v8.1.0017
Bram Moolenaar [Tue, 22 May 2018 14:58:47 +0000 (16:58 +0200)]
patch 8.1.0017: shell command completion has duplicates

Problem:    Shell command completion has duplicates. (Yegappan Lakshmanan)
Solution:   Use a hash table to avoid duplicates. (Ozaki Kiichi, closes #539,
            closes #2733)

6 years agopatch 8.1.0016: possible crash in term_wait() v8.1.0016
Bram Moolenaar [Mon, 21 May 2018 20:50:29 +0000 (22:50 +0200)]
patch 8.1.0016: possible crash in term_wait()

Problem:    Possible crash in term_wait(). (Dominique Pelle)
Solution:   Check for a valid buffer after ui_delay(). (closes #2944)

6 years agopatch 8.1.0015: cursor color wrong when closing a terminal window v8.1.0015
Bram Moolenaar [Mon, 21 May 2018 16:48:12 +0000 (18:48 +0200)]
patch 8.1.0015: cursor color wrong when closing a terminal window

Problem:    Cursor color wrong when closing a terminal window, ending up in
            another terminal window. (Dominique Pelle)
Solution:   Bail out of terminal_loop() when the buffer changes.
            (closes #2942)

6 years agopatch 8.1.0014: qf_init_ext() is too long v8.1.0014
Bram Moolenaar [Mon, 21 May 2018 14:56:38 +0000 (16:56 +0200)]
patch 8.1.0014: qf_init_ext() is too long

Problem:    qf_init_ext() is too long.
Solution:   Split it into multiple functions. (Yegappan Lakshmanan,
            closes #2939)

6 years agopatch 8.1.0013: using freed memory when changing terminal cursor color v8.1.0013
Bram Moolenaar [Mon, 21 May 2018 12:55:28 +0000 (14:55 +0200)]
patch 8.1.0013: using freed memory when changing terminal cursor color

Problem:    Using freed memory when changing terminal cursor color.
Solution:   Make a copy of the color. (Dominique Pelle, closes #2938,
            closes #2941)

6 years agopatch 8.1.0012: misplaced #endif v8.1.0012
Bram Moolenaar [Mon, 21 May 2018 11:39:40 +0000 (13:39 +0200)]
patch 8.1.0012: misplaced #endif

Problem:    Misplaced #endif.
Solution:   Move the #endif to after the expression. (David Binderman)

6 years agopatch 8.1.0011: maparg() and mapcheck() confuse empty and non-existing v8.1.0011
Bram Moolenaar [Mon, 21 May 2018 11:28:44 +0000 (13:28 +0200)]
patch 8.1.0011: maparg() and mapcheck() confuse empty and non-existing

Problem:    maparg() and mapcheck() confuse empty and non-existing.
Solution:   Return <Nop> for an existing non-empty mapping. (closes #2940)

6 years agopatch 8.1.0010: efm_to_regpat() is too long v8.1.0010
Bram Moolenaar [Sun, 20 May 2018 13:41:17 +0000 (15:41 +0200)]
patch 8.1.0010: efm_to_regpat() is too long

Problem:    efm_to_regpat() is too long.
Solution:   Split off three functions. (Yegappan Lakshmanan, closes #2924)

6 years agopatch 8.1.0009: tabpages insufficiently tested v8.1.0009
Bram Moolenaar [Sun, 20 May 2018 12:57:22 +0000 (14:57 +0200)]
patch 8.1.0009: tabpages insufficiently tested

Problem:    Tabpages insufficiently tested.
Solution:   Add more test coverage. (Dominique Pelle, closes #2934)

6 years agopatch 8.1.0008: no test for strwidth() v8.1.0008
Bram Moolenaar [Sun, 20 May 2018 12:11:10 +0000 (14:11 +0200)]
patch 8.1.0008: no test for strwidth()

Problem:    No test for strwidth().
Solution:   Add a test. (Dominique Pelle, closes #2931)

6 years agopatch 8.1.0007: no test for "o" and "O" in Visual block mode v8.1.0007
Bram Moolenaar [Sun, 20 May 2018 12:06:38 +0000 (14:06 +0200)]
patch 8.1.0007: no test for "o" and "O" in Visual block mode

Problem:    No test for "o" and "O" in Visual block mode.
Solution:   Add a test. (Dominique Pelle, closes #2932)

6 years agopatch 8.1.0006: syn_id2cterm_bg() may be undefined v8.1.0006
Bram Moolenaar [Sun, 20 May 2018 11:35:44 +0000 (13:35 +0200)]
patch 8.1.0006: syn_id2cterm_bg() may be undefined

Problem:    syn_id2cterm_bg() may be undefined. (Axel Bender)
Solution:   Adjust #ifdef.

6 years agopatch 8.1.0005: test for :compiler command fails on MS-Windows v8.1.0005
Bram Moolenaar [Sat, 19 May 2018 14:45:15 +0000 (16:45 +0200)]
patch 8.1.0005: test for :compiler command fails on MS-Windows

Problem:    Test for :compiler command fails on MS-Windows.
Solution:   Ignore difference in path.

6 years agopatch 8.1.0004: test for :compiler command sometimes fails v8.1.0004
Bram Moolenaar [Sat, 19 May 2018 13:52:11 +0000 (15:52 +0200)]
patch 8.1.0004: test for :compiler command sometimes fails

Problem:    Test for :compiler command sometimes fails.
Solution:   Be less strict about the error message. (Dominique Pelle)

6 years agopatch 8.1.0003: the :compiler command is not tested v8.1.0003
Bram Moolenaar [Sat, 19 May 2018 13:01:10 +0000 (15:01 +0200)]
patch 8.1.0003: the :compiler command is not tested

Problem:    The :compiler command is not tested.
Solution:   Add a test. (Dominique Pelle, closes #2930)

6 years agopatch 8.1.0002: :stopinsert changes the message position v8.1.0002
Bram Moolenaar [Sat, 19 May 2018 12:43:45 +0000 (14:43 +0200)]
patch 8.1.0002: :stopinsert changes the message position

Problem:    :stopinsert changes the message position.
Solution:   Save and restore msg_col and msg_row in clearmode(). (Jason
            Franklin)

6 years agoRuntime file and translation updates.
Bram Moolenaar [Fri, 18 May 2018 16:12:06 +0000 (18:12 +0200)]
Runtime file and translation updates.

6 years agopatch 8.1.0001: the netrw plugin does not work v8.1.0001
Bram Moolenaar [Thu, 17 May 2018 21:40:05 +0000 (23:40 +0200)]
patch 8.1.0001: the netrw plugin does not work

Problem:    The netrw plugin does not work.
Solution:   Make it accept version 8.x.

6 years agoVim 8.1 release v8.1.0000
Bram Moolenaar [Thu, 17 May 2018 15:04:55 +0000 (17:04 +0200)]
Vim 8.1 release

Update version number and information.  Fix a couple of tests.

6 years agopatch 8.0.1850: todo items in source code not visible for users v8.0.1850
Bram Moolenaar [Thu, 17 May 2018 11:20:45 +0000 (13:20 +0200)]
patch 8.0.1850: todo items in source code not visible for users

Problem:    Todo items in source code not visible for users.
Solution:   Move the todo items to the help file.

6 years agoUpdated runtime files.
Bram Moolenaar [Thu, 17 May 2018 11:15:23 +0000 (13:15 +0200)]
Updated runtime files.

6 years agopatch 8.0.1849: compiler warning for unused arguments, missing prototype v8.0.1849
Bram Moolenaar [Thu, 17 May 2018 11:11:46 +0000 (13:11 +0200)]
patch 8.0.1849: compiler warning for unused arguments, missing prototype

Problem:    compiler warning for unused arguments and missing prototype
Solution:   Add UNUSED.  Add static.

6 years agopatch 8.0.1848: 'termwinscroll' does not work properly v8.0.1848
Bram Moolenaar [Tue, 15 May 2018 21:53:26 +0000 (23:53 +0200)]
patch 8.0.1848: 'termwinscroll' does not work properly

Problem:    'termwinscroll' does not work properly. (Dominique Pelle)
Solution:   Subtract removed scrollback from the scrollback count.  Add a test
            for 'termwinscroll'. (closes #2909)

6 years agopatch 8.0.1847: some build options don't have an example v8.0.1847
Bram Moolenaar [Tue, 15 May 2018 20:34:58 +0000 (22:34 +0200)]
patch 8.0.1847: some build options don't have an example

Problem:    Some build options don't have an example.
Solution:   Add a couple more examples and compiler flags.

6 years agopatch 8.0.1846: Python interface is incompatible with lldb v8.0.1846
Bram Moolenaar [Tue, 15 May 2018 20:31:18 +0000 (22:31 +0200)]
patch 8.0.1846: Python interface is incompatible with lldb

Problem:    Python interface is incompatible with lldb.
Solution:   For OutputType set the base to be PyFile_Type. (Boxu Zhang)
            Partly disabled to avoid a crash.

6 years agopatch 8.0.1845: various comment updates needed, missing white space v8.0.1845
Bram Moolenaar [Tue, 15 May 2018 20:25:40 +0000 (22:25 +0200)]
patch 8.0.1845: various comment updates needed, missing white space

Problem:    Various comment updates needed, missing white space.
Solution:   Update comments, add white space.

6 years agopatch 8.0.1844: superfluous quickfix code, missing examples v8.0.1844
Bram Moolenaar [Tue, 15 May 2018 19:56:34 +0000 (21:56 +0200)]
patch 8.0.1844: superfluous quickfix code, missing examples

Problem:    Superfluous quickfix code, missing examples.
Solution:   Remove unneeded code.  Add a few examples.  Add a bit more
            testing. (Yegappan Lakshmanan, closes #2916)

6 years agopatch 8.0.1843: entry for 'wrap' in options window is wrong v8.0.1843
Bram Moolenaar [Tue, 15 May 2018 19:42:51 +0000 (21:42 +0200)]
patch 8.0.1843: entry for 'wrap' in options window is wrong

Problem:    Entry for 'wrap' in options window is wrong. (John Little)
Solution:   Make the change apply locally.

6 years agopatch 8.0.1842: popup menu inside terminal window isn't cleared v8.0.1842
Bram Moolenaar [Mon, 14 May 2018 21:08:32 +0000 (23:08 +0200)]
patch 8.0.1842: popup menu inside terminal window isn't cleared

Problem:    Popup menu inside terminal window isn't cleared.
Solution:   Use NOT_VALID in pum_undisplay(). (suggested by Christian
            Brabandt, closes #2908)

6 years agopatch 8.0.1841: HP-UX does not have setenv() v8.0.1841
Bram Moolenaar [Mon, 14 May 2018 20:58:34 +0000 (22:58 +0200)]
patch 8.0.1841: HP-UX does not have setenv()

Problem:    HP-UX does not have setenv().
Solution:   Use vim_setenv(). (John Marriott)

6 years agopatch 8.0.1840: getwinpos() is not tested v8.0.1840
Bram Moolenaar [Mon, 14 May 2018 19:31:08 +0000 (21:31 +0200)]
patch 8.0.1840: getwinpos() is not tested

Problem:    getwinpos() is not tested.
Solution:   Add a test. (Dominique Pelle, closes #2911)

6 years agopatch 8.0.1839: script to check .po file doesn't check for plural header v8.0.1839
Bram Moolenaar [Sun, 13 May 2018 20:37:03 +0000 (22:37 +0200)]
patch 8.0.1839: script to check .po file doesn't check for plural header

Problem:    Script to check .po file doesn't check for plural header.
Solution:   Add a check that the plural header is present when needed.

6 years agoUpdated runtime files
Bram Moolenaar [Sun, 13 May 2018 20:34:24 +0000 (22:34 +0200)]
Updated runtime files

6 years agopatch 8.0.1838: cursor in wrong pos when switching to Terminal-Normal mode v8.0.1838
Bram Moolenaar [Sun, 13 May 2018 17:06:12 +0000 (19:06 +0200)]
patch 8.0.1838: cursor in wrong pos when switching to Terminal-Normal mode

Problem:    Cursor in wrong position when switching to Terminal-Normal mode.
            (Dominique Pelle)
Solution:   Move to the end of the line if coladvance() fails.  Do not take a
            snapshot a second time.

6 years agopatch 8.0.1837: one character cmdline abbreviation not triggered after '<,'> v8.0.1837
Bram Moolenaar [Sun, 13 May 2018 16:36:27 +0000 (18:36 +0200)]
patch 8.0.1837: one character cmdline abbreviation not triggered after '<,'>

Problem:    One character cmdline abbreviation not triggered after '<,'>.
Solution:   Skip over the special range. (Christian Brabandt, closes #2320)

6 years agopatch 8.0.1836: buffer-local window options may not be recent v8.0.1836
Bram Moolenaar [Sun, 13 May 2018 16:05:33 +0000 (18:05 +0200)]
patch 8.0.1836: buffer-local window options may not be recent

Problem:    Buffer-local window options may not be recent if the buffer is
            still open in another window.
Solution:   Copy the options from the window instead of the outdated window
            options. (Bjorn Linse, closes #2336)

6 years agopatch 8.0.1835: print document name does not support multi-byte v8.0.1835
Bram Moolenaar [Sun, 13 May 2018 15:30:45 +0000 (17:30 +0200)]
patch 8.0.1835: print document name does not support multi-byte

Problem:    Print document name does not support multi-byte.
Solution:   Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)

6 years agopatch 8.0.1834: GUI: find/replace dialog does not handle some chars v8.0.1834
Bram Moolenaar [Sun, 13 May 2018 15:05:30 +0000 (17:05 +0200)]
patch 8.0.1834: GUI: find/replace dialog does not handle some chars

Problem:    GUI: find/replace dialog does not handle some chars properly.
Solution:   Escape '?' when needed.  Always escape backslash. (closes #2418,
            closes #2435)

6 years agopatch 8.0.1833: X11: ":echo 3.14" gives E806 v8.0.1833
Bram Moolenaar [Sun, 13 May 2018 14:23:40 +0000 (16:23 +0200)]
patch 8.0.1833: X11: ":echo 3.14" gives E806

Problem:    X11: ":echo 3.14" gives E806.
Solution:   set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)

6 years agopatch 8.0.1832: cannot use :unlet for an environment variable v8.0.1832
Bram Moolenaar [Sun, 13 May 2018 13:59:50 +0000 (15:59 +0200)]
patch 8.0.1832: cannot use :unlet for an environment variable

Problem:    Cannot use :unlet for an environment variable.
Solution:   Make it work.  Use unsetenv() if available. (Ken Takata,
            closes #2855)

6 years agopatch 8.0.1831: sometimes the quickfix title is incorrectly prefixed with ':' v8.0.1831
Bram Moolenaar [Sun, 13 May 2018 13:29:04 +0000 (15:29 +0200)]
patch 8.0.1831: sometimes the quickfix title is incorrectly prefixed with ':'

Problem:    Sometimes the quickfix title is incorrectly prefixed with ':'.
Solution:   Prepend the colon in another way. (Yegappan Lakshmanan, closes
            #2905)

6 years agopatch 8.0.1830: switching to Terminal-Normal mode does not redraw v8.0.1830
Bram Moolenaar [Sun, 13 May 2018 13:15:43 +0000 (15:15 +0200)]
patch 8.0.1830: switching to Terminal-Normal mode does not redraw

Problem:    Switching to Terminal-Normal mode does not redraw. (Dominique
            Pelle)
Solution:   Also redraw when not updating the snapshot. (closes #2904)

6 years agopatch 8.0.1829: MS-Windows: script for vimdiff can't handle ! chars v8.0.1829
Bram Moolenaar [Sun, 13 May 2018 12:45:25 +0000 (14:45 +0200)]
patch 8.0.1829: MS-Windows: script for vimdiff can't handle ! chars

Problem:    MS-Windows: script for vimdiff can't handle ! chars.
Solution:   Escape the ! chars. (Hans Ginzel, closes #2896)

6 years agopatch 8.0.1828: get no clue why :gui does not fork v8.0.1828
Bram Moolenaar [Sun, 13 May 2018 12:40:15 +0000 (14:40 +0200)]
patch 8.0.1828: get no clue why :gui does not fork

Problem:    Get no clue why :gui does not fork.
Solution:   Add a channel log message.

6 years agopatch 8.0.1827: compiler warning for signed/unsigned char pointers v8.0.1827
Bram Moolenaar [Sun, 13 May 2018 12:05:18 +0000 (14:05 +0200)]
patch 8.0.1827: compiler warning for signed/unsigned char pointers

Problem:    Compiler warning for signed/unsigned char pointers. (Cesar Romani)
Solution:   Change the type of jv_argv.

6 years agoUpdate runtime files.
Bram Moolenaar [Sat, 12 May 2018 22:02:36 +0000 (00:02 +0200)]
Update runtime files.

6 years agopatch 8.0.1826: configure uses old compiler flag v8.0.1826
Bram Moolenaar [Sat, 12 May 2018 19:38:13 +0000 (21:38 +0200)]
patch 8.0.1826: configure uses old compiler flag

Problem:    Configure uses old compiler flag.
Solution:   Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)

6 years agopatch 8.0.1825: might use NULL pointer when out of memory v8.0.1825
Bram Moolenaar [Sat, 12 May 2018 19:34:58 +0000 (21:34 +0200)]
patch 8.0.1825: might use NULL pointer when out of memory

Problem:    Might use NULL pointer when out of memory. (Coverity)
Solution:   Handle NULL pointer better.

6 years agopatch 8.0.1824: Coverity warns for variable that may be uninitialized v8.0.1824
Bram Moolenaar [Sat, 12 May 2018 19:16:25 +0000 (21:16 +0200)]
patch 8.0.1824: Coverity warns for variable that may be uninitialized

Problem:    Coverity warns for variable that may be uninitialized.
Solution:   Initialize the variable.

6 years agopatch 8.0.1823: test for terminal stdout redirection is flaky v8.0.1823
Bram Moolenaar [Sat, 12 May 2018 19:12:12 +0000 (21:12 +0200)]
patch 8.0.1823: test for terminal stdout redirection is flaky

Problem:    Test for terminal stdout redirection is flaky.
Solution:   Wait for the job to finish.

6 years agopatch 8.0.1822: make uninstall does not remove colors/tools v8.0.1822
Bram Moolenaar [Sat, 12 May 2018 19:05:45 +0000 (21:05 +0200)]
patch 8.0.1822: make uninstall does not remove colors/tools

Problem:    Make uninstall does not remove colors/tools.
Solution:   Add a line to delete the tools directory. (Kazunobu Kuriyama)

6 years agopatch 8.0.1821: cursor in terminal window moves when pressing CTRL-W v8.0.1821
Bram Moolenaar [Sat, 12 May 2018 18:36:24 +0000 (20:36 +0200)]
patch 8.0.1821: cursor in terminal window moves when pressing CTRL-W

Problem:    Cursor in terminal window moves when pressing CTRL-W. (Dominique
            Pelle)
Solution:   Do not more the cursor or redraw when not in Terminal-Normal mode.
            (closes #2904)

6 years agopatch 8.0.1820: terminal window redirecting stdout does not show stderr v8.0.1820
Bram Moolenaar [Sat, 12 May 2018 15:42:42 +0000 (17:42 +0200)]
patch 8.0.1820: terminal window redirecting stdout does not show stderr

Problem:    Terminal window redirecting stdout does not show stderr. (Matéo
            Zanibelli)
Solution:   When stdout is not connected to pty_master_fd then use it for
            stderr. (closes #2903)

6 years agopatch 8.0.1819: swap file warning for file with non-existing directory v8.0.1819
Bram Moolenaar [Sat, 12 May 2018 15:04:12 +0000 (17:04 +0200)]
patch 8.0.1819: swap file warning for file with non-existing directory

Problem:    Swap file warning for a file in a non-existing directory, if there
            is another with the same file name. (Juergen Weigert)
Solution:   When expanding the file name fails compare the file names.

6 years agopatch 8.0.1818: lines remove from wrong buffer when using terminal window v8.0.1818
Bram Moolenaar [Sat, 12 May 2018 14:55:14 +0000 (16:55 +0200)]
patch 8.0.1818: lines remove from wrong buffer when using terminal window

Problem:    Lines remove from wrong buffer when using terminal window.
Solution:   Make sure to use tl_buffer.

6 years agopatch 8.0.1817: a timer may change v:count unexpectedly v8.0.1817
Bram Moolenaar [Sat, 12 May 2018 13:38:26 +0000 (15:38 +0200)]
patch 8.0.1817: a timer may change v:count unexpectedly

Problem:    A timer may change v:count unexpectedly.
Solution:   Save and restore v:count and similar variables when a timer
            callback is invoked. (closes #2897)

6 years agopatch 8.0.1816: no test for setcmdpos() v8.0.1816
Bram Moolenaar [Sat, 12 May 2018 11:18:46 +0000 (13:18 +0200)]
patch 8.0.1816: no test for setcmdpos()

Problem:    No test for setcmdpos().
Solution:   Add a test. (Dominique Pelle, closes #2901)

6 years agopatch 8.0.1815: crash with terminal window and with 'lazyredraw' set v8.0.1815
Bram Moolenaar [Fri, 11 May 2018 20:01:51 +0000 (22:01 +0200)]
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set

Problem:    Still a crash with terminal window and with 'lazyredraw' set.
            (Antoine)
Solution:   Do not wipe out the buffer when updating the screen.

6 years agopatch 8.0.1814: crash with terminal window and with 'lazyredraw' set v8.0.1814
Bram Moolenaar [Fri, 11 May 2018 18:48:29 +0000 (20:48 +0200)]
patch 8.0.1814: crash with terminal window and with 'lazyredraw' set

Problem:    Crash with terminal window and with 'lazyredraw' set. (Antoine)
Solution:   Check the terminal still exists after update_screen().

6 years agopatch 8.0.1813: Windows installer doesn't install terminal debugger v8.0.1813
Bram Moolenaar [Thu, 10 May 2018 19:24:35 +0000 (21:24 +0200)]
patch 8.0.1813: Windows installer doesn't install terminal debugger

Problem:    Windows installer doesn't install terminal debugger.
Solution:   Add the package to the list of files to install.

6 years agopatch 8.0.1812: the qf_jump_to_usable_window() function is too long v8.0.1812
Bram Moolenaar [Thu, 10 May 2018 16:55:28 +0000 (18:55 +0200)]
patch 8.0.1812: the qf_jump_to_usable_window() function is too long

Problem:    The qf_jump_to_usable_window() function is too long.
Solution:   Split it in parts. (Yegappan Lakshmanan, closes #2891)

6 years agopatch 8.0.1811: no test for winrestcmd() v8.0.1811
Bram Moolenaar [Thu, 10 May 2018 16:23:29 +0000 (18:23 +0200)]
patch 8.0.1811: no test for winrestcmd()

Problem:    No test for winrestcmd().
Solution:   Add a test. (Dominique Pelle, closes #2894)

6 years agopatch 8.0.1810: buffer of a terminal only updated in Terminal-Normal mode v8.0.1810
Bram Moolenaar [Thu, 10 May 2018 16:05:56 +0000 (18:05 +0200)]
patch 8.0.1810: buffer of a terminal only updated in Terminal-Normal mode

Problem:    Buffer of a terminal only updated in Terminal-Normal mode.
Solution:   Copy the terminal window content to the buffer when in
            Terminal-Job mode.

6 years agopatch 8.0.1809: various typos v8.0.1809
Bram Moolenaar [Thu, 10 May 2018 13:09:49 +0000 (15:09 +0200)]
patch 8.0.1809: various typos

Problem:    Various typos.
Solution:   Correct the mistakes, change "cursur" to "cursor". (closes #2887)

6 years agopatch 8.0.1808: can't build without TGETENT v8.0.1808
Bram Moolenaar [Thu, 10 May 2018 12:40:57 +0000 (14:40 +0200)]
patch 8.0.1808: can't build without TGETENT

Problem:    Can't build without TGETENT.
Solution:   Add #ifdef

6 years agopatch 8.0.1807: function to set terminal name is too long v8.0.1807
Bram Moolenaar [Thu, 10 May 2018 12:11:52 +0000 (14:11 +0200)]
patch 8.0.1807: function to set terminal name is too long

Problem:    Function to set terminal name is too long.
Solution:   Refactor the function.  Fix typo in test.

6 years agopatch 8.0.1806: InsertCharPre causes problems for autocomplete v8.0.1806
Bram Moolenaar [Tue, 8 May 2018 20:48:00 +0000 (22:48 +0200)]
patch 8.0.1806: InsertCharPre causes problems for autocomplete

Problem:    InsertCharPre causes problems for autocomplete. (Lifepillar)
Solution:   Check for InsertCharPre before calling vpeekc(). (Christian
            Brabandt, closes #2876)

6 years agopatch 8.0.1805: qf_parse_line() is too long v8.0.1805
Bram Moolenaar [Tue, 8 May 2018 20:31:37 +0000 (22:31 +0200)]
patch 8.0.1805: qf_parse_line() is too long

Problem:    qf_parse_line() is too long.
Solution:   Split it in parts.  Properly handle vim_realloc() failing.
            (Yegappan Lakshmanan, closes #2881)

6 years agopatch 8.0.1804: using :normal in terminal window causes problems v8.0.1804
Bram Moolenaar [Tue, 8 May 2018 20:01:07 +0000 (22:01 +0200)]
patch 8.0.1804: using :normal in terminal window causes problems

Problem:    Using :normal in terminal window causes problems. (Dominique
            Pelle)
Solution:   Don't call terminal_loop() for :normal. (closes #2886)

6 years agopatch 8.0.1803: warning for uninitialized variable v8.0.1803
Bram Moolenaar [Mon, 7 May 2018 18:10:17 +0000 (20:10 +0200)]
patch 8.0.1803: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

6 years agopatch 8.0.1802: MS-Windows: terminal test fails v8.0.1802
Bram Moolenaar [Sun, 6 May 2018 20:01:42 +0000 (22:01 +0200)]
patch 8.0.1802: MS-Windows: terminal test fails

Problem:    MS-Windows: terminal test fails.
Solution:   Close redirected output file earlier.

6 years agopatch 8.0.1801: MS-Windows: redirecting terminal output does not work v8.0.1801
Bram Moolenaar [Sun, 6 May 2018 19:49:32 +0000 (21:49 +0200)]
patch 8.0.1801: MS-Windows: redirecting terminal output does not work

Problem:    MS-Windows: redirecting terminal output does not work.
Solution:   Intercept the text written to the terminal and write it to the
            file.

6 years agopatch 8.0.1800: X11: getting color is slow v8.0.1800
Bram Moolenaar [Sun, 6 May 2018 17:19:36 +0000 (19:19 +0200)]
patch 8.0.1800: X11: getting color is slow

Problem:    X11: getting color is slow.
Solution:   Avoid using sprintf() and XParseColor(), put the RGB values in
            XColor directly.

6 years agoUpdate runtime files.
Bram Moolenaar [Sun, 6 May 2018 15:57:30 +0000 (17:57 +0200)]
Update runtime files.

6 years agopatch 8.0.1799: no test for :registers command v8.0.1799
Bram Moolenaar [Sun, 6 May 2018 15:32:19 +0000 (17:32 +0200)]
patch 8.0.1799: no test for :registers command

Problem:    No test for :registers command.
Solution:   Add a test. (Dominique Pelle, closes #2880)

6 years agopatch 8.0.1798: MS-Windows: file considered read-only too often v8.0.1798
Bram Moolenaar [Sun, 6 May 2018 15:09:38 +0000 (17:09 +0200)]
patch 8.0.1798: MS-Windows: file considered read-only too often

Problem:    MS-Windows: file considered read-only when another program has
            opened it.
Solution:   Pass file sharing flag to CreateFile(). (Linwei, closes #2860)

6 years agopatch 8.0.1797: terminal window is redrawn too often v8.0.1797
Bram Moolenaar [Sun, 6 May 2018 14:40:16 +0000 (16:40 +0200)]
patch 8.0.1797: terminal window is redrawn too often

Problem:    Terminal window is redrawn too often and scrolling is repeated.
Solution:   Don't scroll immediately but only when redrawing.  Avoid redrawing
            the whole terminal window on every change.

6 years agopatch 8.0.1796: GUI: click on tab fails when the focus is in a terminal v8.0.1796
Bram Moolenaar [Sun, 6 May 2018 11:53:50 +0000 (13:53 +0200)]
patch 8.0.1796: GUI: click on tab fails when the focus is in a terminal

Problem:    GUI: click on tab fails when the focus is in a terminal window.
Solution:   Handle K_TABLINE.

6 years agopatch 8.0.1795: lose contact with jobs when :gui forks v8.0.1795
Bram Moolenaar [Sat, 5 May 2018 19:01:00 +0000 (21:01 +0200)]
patch 8.0.1795: lose contact with jobs when :gui forks

Problem:    Lose contact with jobs when :gui forks.
Solution:   Don't fork when there is a running job. Make log message for a
            died job clearer.  Also close the terminal when stderr and stdout
            are the same FD.

6 years agopatch 8.0.1794: duplicate term options after renaming v8.0.1794
Bram Moolenaar [Sat, 5 May 2018 14:36:06 +0000 (16:36 +0200)]
patch 8.0.1794: duplicate term options after renaming

Problem:    Duplicate term options after renaming.
Solution:   Remove the old names 'termkey', 'termsize' and 'terminalscroll'.

6 years agopatch 8.0.1793: no test for "vim -g" v8.0.1793
Bram Moolenaar [Sat, 5 May 2018 13:47:19 +0000 (15:47 +0200)]
patch 8.0.1793: no test for "vim -g"

Problem:    No test for "vim -g".
Solution:   Add a test for "-g" and "-y".

6 years agopatch 8.0.1792: MS-Windows users expect -? to work like --help v8.0.1792
Bram Moolenaar [Sat, 5 May 2018 13:09:51 +0000 (15:09 +0200)]
patch 8.0.1792: MS-Windows users expect -? to work like --help

Problem:    MS-Windows users expect -? to work like --help.
Solution:   Add -?. (Christian Brabandt, closes #2867)

6 years agopatch 8.0.1791: using uint8_t does not work everywhere v8.0.1791
Bram Moolenaar [Sat, 5 May 2018 12:29:06 +0000 (14:29 +0200)]
patch 8.0.1791: using uint8_t does not work everywhere

Problem:    Using uint8_t does not work everywhere.
Solution:   Use char_u instead.