]> granicus.if.org Git - vim/log
vim
7 years agoDo not invoke rvm reset
Bram Moolenaar [Fri, 28 Jul 2017 11:12:19 +0000 (13:12 +0200)]
Do not invoke rvm reset

7 years agoRemove ruby-dev from travis config.
Bram Moolenaar [Fri, 28 Jul 2017 10:45:40 +0000 (12:45 +0200)]
Remove ruby-dev from travis config.

7 years agoSwitch travis back to precise temporarily
Bram Moolenaar [Fri, 28 Jul 2017 10:22:55 +0000 (12:22 +0200)]
Switch travis back to precise temporarily

7 years agopatch 8.0.0785: wildcards are not expanded for :terminal v8.0.0785
Bram Moolenaar [Thu, 27 Jul 2017 20:57:00 +0000 (22:57 +0200)]
patch 8.0.0785: wildcards are not expanded for :terminal

Problem:    Wildcards are not expanded for :terminal.
Solution:   Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883)
            Also complete commands.

7 years agopatch 8.0.0784: job of terminal may be garbage collected v8.0.0784
Bram Moolenaar [Thu, 27 Jul 2017 20:14:59 +0000 (22:14 +0200)]
patch 8.0.0784: job of terminal may be garbage collected

Problem:    Job of terminal may be garbage collected.
Solution:   Set copyID on job in terminal. (Ozaki Kiichi)

7 years agopatch 8.0.0783: job of terminal may be freed too early v8.0.0783
Bram Moolenaar [Thu, 27 Jul 2017 20:07:35 +0000 (22:07 +0200)]
patch 8.0.0783: job of terminal may be freed too early

Problem:    Job of terminal may be freed too early.
Solution:   Increment job refcount. (Yasuhiro Matsumoto)

7 years agopatch 8.0.0782: using freed memory in quickfix code v8.0.0782
Bram Moolenaar [Thu, 27 Jul 2017 20:03:50 +0000 (22:03 +0200)]
patch 8.0.0782: using freed memory in quickfix code

Problem:    Using freed memory in quickfix code. (Dominique Pelle)
Solution:   Handle a help window differently. (Yegappan Lakshmanan)

7 years agopatch 8.0.0781: MS-Windows: memory leak when using :terminal v8.0.0781
Bram Moolenaar [Thu, 27 Jul 2017 19:46:43 +0000 (21:46 +0200)]
patch 8.0.0781: MS-Windows: memory leak when using :terminal

Problem:    MS-Windows: Memory leak when using :terminal.
Solution:   Handle failures properly. (Ken Takata)

7 years agopatch 8.0.0780: build failure on Travis v8.0.0780
Bram Moolenaar [Thu, 27 Jul 2017 19:29:31 +0000 (21:29 +0200)]
patch 8.0.0780: build failure on Travis

Problem:    Build failure on Travis.
Solution:   Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
            closes #1884)

7 years agopatch 8.0.0779: :term without an argument uses empty buffer name v8.0.0779
Bram Moolenaar [Wed, 26 Jul 2017 21:11:01 +0000 (23:11 +0200)]
patch 8.0.0779: :term without an argument uses empty buffer name

Problem:    :term without an argument uses empty buffer name but runs the
            snell.
Solution:   Change the command to the shell earlier.

7 years agopatch 8.0.0778: in a terminal the cursor may be hidden v8.0.0778
Bram Moolenaar [Wed, 26 Jul 2017 19:49:37 +0000 (21:49 +0200)]
patch 8.0.0778: in a terminal the cursor may be hidden

Problem:    In a terminal the cursor may be hidden and screen updating lags
            behind. (Nazri Ramliy)
Solution:   Switch the cursor on and flush output when needed. (Ozaki Kiichi)

7 years agopatch 8.0.0777: compiler warnings with 64 bit compiler v8.0.0777
Bram Moolenaar [Wed, 26 Jul 2017 19:29:34 +0000 (21:29 +0200)]
patch 8.0.0777: compiler warnings with 64 bit compiler

Problem:    Compiler warnings with 64 bit compiler.
Solution:   Add type casts. (Mike Williams)

7 years agopatch 8.0.0776: function prototypes missing without the quickfix feature v8.0.0776
Bram Moolenaar [Tue, 25 Jul 2017 21:31:12 +0000 (23:31 +0200)]
patch 8.0.0776: function prototypes missing without the quickfix feature

Problem:    Function prototypes missing without the quickfix feature. (Tony
            Mechelynck)
Solution:   Move non-quickfix functions to buffer.c.

7 years agopatch 8.0.0775: in a terminal the cursor is updated too often v8.0.0775
Bram Moolenaar [Tue, 25 Jul 2017 21:08:47 +0000 (23:08 +0200)]
patch 8.0.0775: in a terminal the cursor is updated too often

Problem:    In a terminal the cursor is updated too often.
Solution:   Only flush when needed. (Yasuhiro Matsumoto).  Remeber whether the
            cursor is visible. (closes #1873)

7 years agopatch 8.0.0774: build failure without the multi-byte feature v8.0.0774
Bram Moolenaar [Tue, 25 Jul 2017 20:06:43 +0000 (22:06 +0200)]
patch 8.0.0774: build failure without the multi-byte feature

Problem:    Build failure without the multi-byte feature on HPUX.
Solution:   Move #ifdefs. (John Marriott)

7 years agopatch 8.0.0773: mixing 32 and 64 bit libvterm builds fails v8.0.0773
Bram Moolenaar [Tue, 25 Jul 2017 19:49:35 +0000 (21:49 +0200)]
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails

Problem:    Mixing 32 and 64 bit libvterm builds fails.
Solution:   Use OUTDIR. (Ken Takata)

7 years agopatch 8.0.0772: other stdbool.h dependencies in libvterm v8.0.0772
Bram Moolenaar [Tue, 25 Jul 2017 19:34:46 +0000 (21:34 +0200)]
patch 8.0.0772: other stdbool.h dependencies in libvterm

Problem:    Other stdbool.h dependencies in libvterm.
Solution:   Remove the dependency and use TRUE/FALSE/int. (Ken Takata)

7 years agopatch 8.0.0771: cursor in terminal window not always updated in GUI v8.0.0771
Bram Moolenaar [Mon, 24 Jul 2017 21:36:41 +0000 (23:36 +0200)]
patch 8.0.0771: cursor in terminal window not always updated in GUI

Problem:    Cursor in a terminal window not always updated in the GUI.
Solution:   Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868)

7 years agopatch 8.0.0770: compiler warning for missing field initializer v8.0.0770
Bram Moolenaar [Mon, 24 Jul 2017 21:05:35 +0000 (23:05 +0200)]
patch 8.0.0770: compiler warning for missing field initializer

Problem:    Compiler warning for missing field initializer.
Solution:   Add two more values. (Yegappan Lakshmanan)

7 years agopatch 8.0.0769: build problems with terminal on MS-Windows v8.0.0769
Bram Moolenaar [Mon, 24 Jul 2017 20:29:21 +0000 (22:29 +0200)]
patch 8.0.0769: build problems with terminal on MS-Windows

Problem:    Build problems with terminal on MS-Windows using MSVC.
Solution:   Remove stdbool.h dependency. Only use ScreenLinesUC when it was
            allocated. Fix typos. (Ken Takata)

7 years agopatch 8.0.0768: terminal window status shows "[Scratch]" v8.0.0768
Bram Moolenaar [Mon, 24 Jul 2017 19:44:43 +0000 (21:44 +0200)]
patch 8.0.0768: terminal window status shows "[Scratch]"

Problem:    Terminal window status shows "[Scratch]".
Solution:   Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
            Store the terminal title that vterm sends and use it.  Update the
            special buffer name.  (closes #1869)

7 years agopatch 8.0.0767: build failure with Athena and Motif v8.0.0767
Bram Moolenaar [Mon, 24 Jul 2017 18:15:30 +0000 (20:15 +0200)]
patch 8.0.0767: build failure with Athena and Motif

Problem:    Build failure with Athena and Motif.
Solution:   Move local variable delcarations. (Kazunobu Kuriyama)

7 years agopatch 8.0.0766: option test fails with +terminal feature v8.0.0766
Bram Moolenaar [Mon, 24 Jul 2017 18:03:01 +0000 (20:03 +0200)]
patch 8.0.0766: option test fails with +terminal feature

Problem:    Option test fails with +terminal feature.
Solution:   Fix using the right option when checking the value.

7 years agopatch 8.0.0765: build fails with tiny features v8.0.0765
Bram Moolenaar [Sun, 23 Jul 2017 20:57:00 +0000 (22:57 +0200)]
patch 8.0.0765: build fails with tiny features

Problem:    Build fails with tiny features.
Solution:   Adjust #ifdef. (John Marriott)

7 years agopatch 8.0.0764: 'termkey' does not work yet v8.0.0764
Bram Moolenaar [Sun, 23 Jul 2017 20:50:51 +0000 (22:50 +0200)]
patch 8.0.0764: 'termkey' does not work yet

Problem:    'termkey' does not work yet.
Solution:   Implement 'termkey'.

7 years agoDocumentation updates.
Bram Moolenaar [Sun, 23 Jul 2017 20:12:20 +0000 (22:12 +0200)]
Documentation updates.

7 years agopatch 8.0.0763: libvterm can be improved v8.0.0763
Bram Moolenaar [Sun, 23 Jul 2017 20:07:27 +0000 (22:07 +0200)]
patch 8.0.0763: libvterm can be improved

Problem:    Libvterm can be improved.
Solution:   Various small improvements, more comments.

7 years agopatch 8.0.0762: ml_get error with :psearch in buffer without a name v8.0.0762
Bram Moolenaar [Sun, 23 Jul 2017 20:02:02 +0000 (22:02 +0200)]
patch 8.0.0762: ml_get error with :psearch in buffer without a name

Problem:    ml_get error with :psearch in buffer without a name. (Dominique
            Pelle)
Solution:   Use the buffer number instead of the file name.  Check the cursor
            position.

7 years agopatch 8.0.0761: options not set properly for a terminal buffer v8.0.0761
Bram Moolenaar [Sun, 23 Jul 2017 17:51:01 +0000 (19:51 +0200)]
patch 8.0.0761: options not set properly for a terminal buffer

Problem:    Options of a buffer for a terminal window are not set properly.
Solution:   Add "terminal" value for 'buftype'.  Make 'buftype' and
            'bufhidden' not depend on the quickfix feature.
            Also set the buffer name and show "running" or "finished" in the
            window title.

7 years agopatch 8.0.0760: terminal window colors wrong with 'termguicolors' v8.0.0760
Bram Moolenaar [Sun, 23 Jul 2017 16:07:56 +0000 (18:07 +0200)]
patch 8.0.0760: terminal window colors wrong with 'termguicolors'

Problem:    Terminal window colors wrong with 'termguicolors'.
Solution:   Add 'termguicolors' support.

7 years agopatch 8.0.0759: MS-Windows: terminal does not adjust size v8.0.0759
Bram Moolenaar [Sun, 23 Jul 2017 15:27:54 +0000 (17:27 +0200)]
patch 8.0.0759: MS-Windows: terminal does not adjust size

Problem:    MS-Windows: terminal does not adjust size to the Vim window size.
Solution:   Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863)

7 years agopatch 8.0.0758: possible crash when using a terminal window v8.0.0758
Bram Moolenaar [Sun, 23 Jul 2017 15:22:35 +0000 (17:22 +0200)]
patch 8.0.0758: possible crash when using a terminal window

Problem:    Possible crash when using a terminal window.
Solution:   Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864)

7 years agopatch 8.0.0757: libvterm MSVC Makefile not included in the distribution v8.0.0757
Bram Moolenaar [Sun, 23 Jul 2017 15:15:18 +0000 (17:15 +0200)]
patch 8.0.0757: libvterm MSVC Makefile not included in the distribution

Problem:    Libvterm MSVC Makefile not included in the distribution.
Solution:   Add the file to the list.

7 years agopatch 8.0.0756: cannot build libvterm with MSVC v8.0.0756
Bram Moolenaar [Sun, 23 Jul 2017 15:11:15 +0000 (17:11 +0200)]
patch 8.0.0756: cannot build libvterm with MSVC

Problem:    Cannot build libvterm with MSVC.
Solution:   Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes
            #1865)

7 years agopatch 8.0.0755: terminal window does not have colors in the GUI v8.0.0755
Bram Moolenaar [Sun, 23 Jul 2017 14:45:10 +0000 (16:45 +0200)]
patch 8.0.0755: terminal window does not have colors in the GUI

Problem:    Terminal window does not have colors in the GUI.
Solution:   Lookup the GUI color.

7 years agopatch 8.0.0754: terminal window does not support colors v8.0.0754
Bram Moolenaar [Sun, 23 Jul 2017 13:48:37 +0000 (15:48 +0200)]
patch 8.0.0754: terminal window does not support colors

Problem:    Terminal window does not support colors.
Solution:   Lookup the color attribute.

7 years agopatch 8.0.0753: no size reports to a job running in a terminal v8.0.0753
Bram Moolenaar [Sat, 22 Jul 2017 20:32:56 +0000 (22:32 +0200)]
patch 8.0.0753: no size reports to a job running in a terminal

Problem:    A job running in a terminal does not get notified of changes in
            the terminal size.
Solution:   Use ioctl() and SIGWINCH to report the terminal size.

7 years agopatch 8.0.0752: build fails on MS-Windows v8.0.0752
Bram Moolenaar [Sat, 22 Jul 2017 19:15:42 +0000 (21:15 +0200)]
patch 8.0.0752: build fails on MS-Windows

Problem:    Build fails on MS-Windows.
Solution:   Change #ifdef for set_color_count().

7 years agopatch 8.0.0751: OpenPTY missing with some combination of features v8.0.0751
Bram Moolenaar [Sat, 22 Jul 2017 19:11:53 +0000 (21:11 +0200)]
patch 8.0.0751: OpenPTY missing with some combination of features

Problem:    OpenPTY missing with some combination of features. (Kazunobu
            Kuriyama)
Solution:   Adjust #ifdef.  Also include pty.pro when needed.

7 years agopatch 8.0.0750: OpenPTY missing in non-GUI build v8.0.0750
Bram Moolenaar [Sat, 22 Jul 2017 18:53:21 +0000 (20:53 +0200)]
patch 8.0.0750: OpenPTY missing in non-GUI build

Problem:    OpenPTY missing in non-GUI build.
Solution:   Always include pty.c, add an #ifdef to skip over the contents.

7 years agopatch 8.0.0749: some unicode digraphs are hard to remember v8.0.0749
Bram Moolenaar [Sat, 22 Jul 2017 18:42:04 +0000 (20:42 +0200)]
patch 8.0.0749: some unicode digraphs are hard to remember

Problem:    Some unicode digraphs are hard to remember.
Solution:   Add alternatives with a backtick. (Chris Harding, closes #1861)

7 years agopatch 8.0.0748: running Vim in terminal window doesn't use the right colors v8.0.0748
Bram Moolenaar [Sat, 22 Jul 2017 18:33:05 +0000 (20:33 +0200)]
patch 8.0.0748: running Vim in terminal window doesn't use the right colors

Problem:    When running Vim in a terminal window it does not detect the right
            number of colors available.
Solution:   Detect the version string that libvterm returns.  Pass the number
            of colors in $COLORS.

7 years agopatch 8.0.0747: :terminal without an argument doesn't work v8.0.0747
Bram Moolenaar [Sat, 22 Jul 2017 17:03:32 +0000 (19:03 +0200)]
patch 8.0.0747: :terminal without an argument doesn't work

Problem:    :terminal without an argument doesn't work.
Solution:   Use the 'shell' option. (Yasuhiro Matsumoto, closes #1860)

7 years agopatch 8.0.0746: when :term fails the job is not properly cleaned up v8.0.0746
Bram Moolenaar [Sat, 22 Jul 2017 16:39:00 +0000 (18:39 +0200)]
patch 8.0.0746: when :term fails the job is not properly cleaned up

Problem:    When :term fails the job is not properly cleaned up.
Solution:   Free the terminal. Handle a job that failed to start. (closes
            #1858)

7 years agopatch 8.0.0745: multi-byte characters in a terminal don't display well v8.0.0745
Bram Moolenaar [Sat, 22 Jul 2017 16:14:17 +0000 (18:14 +0200)]
patch 8.0.0745: multi-byte characters in a terminal don't display well

Problem:    multi-byte characters in a terminal window are not displayed
            properly.
Solution:   Set the unused screen characters. (Yasuhiro Matsumoto, closes
            #1857)

7 years agopatch 8.0.0744: terminal window does not use a pty v8.0.0744
Bram Moolenaar [Sat, 22 Jul 2017 16:04:08 +0000 (18:04 +0200)]
patch 8.0.0744: terminal window does not use a pty

Problem:    A terminal window uses pipes instead of a pty.
Solution:   Add pty support.

7 years agopatch 8.0.0743: the 'termsize' option can be set to an invalid value v8.0.0743
Bram Moolenaar [Sat, 22 Jul 2017 15:04:02 +0000 (17:04 +0200)]
patch 8.0.0743: the 'termsize' option can be set to an invalid value

Problem:    The 'termsize' option can be set to an invalid value.
Solution:   Check the 'termsize' option to be valid.

7 years agopatch 8.0.0742: terminal feature does not work on MS-Windows v8.0.0742
Bram Moolenaar [Sat, 22 Jul 2017 14:14:44 +0000 (16:14 +0200)]
patch 8.0.0742: terminal feature does not work on MS-Windows

Problem:    Terminal feature does not work on MS-Windows.
Solution:   Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto)

7 years agopatch 8.0.0741: cannot build with HPUX v8.0.0741
Bram Moolenaar [Sat, 22 Jul 2017 12:08:43 +0000 (14:08 +0200)]
patch 8.0.0741: cannot build with HPUX

Problem:    Cannot build with HPUX.
Solution:   Rename envbuf_TERM to envbuf_Term. (John Marriott)

7 years agopatch 8.0.0740: cannot resize a terminal window by the command v8.0.0740
Bram Moolenaar [Fri, 21 Jul 2017 19:10:01 +0000 (21:10 +0200)]
patch 8.0.0740: cannot resize a terminal window by the command

Problem:    Cannot resize a terminal window by the command running in it.
Solution:   Add support for the window size escape sequence.  Make BS work.

7 years agopatch 8.0.0739: terminal resizing doesn't work well. v8.0.0739
Bram Moolenaar [Thu, 20 Jul 2017 21:04:46 +0000 (23:04 +0200)]
patch 8.0.0739: terminal resizing doesn't work well.

Problem:    Terminal resizing doesn't work well.
Solution:   Resize the terminal to the Vim window and the other way around.
            Avoid mapping typed keys.  Set the environment properly.

7 years agopatch 8.0.0738: cannot use the mouse to resize a terminal window v8.0.0738
Bram Moolenaar [Wed, 19 Jul 2017 21:20:19 +0000 (23:20 +0200)]
patch 8.0.0738: cannot use the mouse to resize a terminal window

Problem:    Cannot use the mouse to resize window while the focus is in a
            terminal window.
Solution:   Recognize nice mouse events in the terminal window.  A few more
            fixes for the terminal window.

7 years agopatch 8.0.0737: crash when X11 selection is very big v8.0.0737
Bram Moolenaar [Wed, 19 Jul 2017 17:55:58 +0000 (19:55 +0200)]
patch 8.0.0737: crash when X11 selection is very big

Problem:    Crash when X11 selection is very big.
Solution:   Use static items instead of allocating them.  Add callbacks.
            (Ozaki Kiichi)

7 years agopatch 8.0.0736: OptionSet not triggered when entering diff mode v8.0.0736
Bram Moolenaar [Wed, 19 Jul 2017 16:18:39 +0000 (18:18 +0200)]
patch 8.0.0736: OptionSet not triggered when entering diff mode

Problem:    The OptionSet autocommand event is not triggered when entering
            diff mode.
Solution:   use set_option_value() instead of setting the option directly.
            Change the tests from old to new style. (Christian Brabandt)

7 years agopatch 8.0.0735: no indication that the quickfix window/buffer changed v8.0.0735
Bram Moolenaar [Wed, 19 Jul 2017 15:06:20 +0000 (17:06 +0200)]
patch 8.0.0735: no indication that the quickfix window/buffer changed

Problem:    There is no way to notice that the quickfix window contents has
            changed.
Solution:   Increment b:changedtick when updating the quickfix window.
            (Yegappan Lakshmanan)

7 years agoUpdate translations.
Bram Moolenaar [Wed, 19 Jul 2017 12:59:34 +0000 (14:59 +0200)]
Update translations.

7 years agopatch 8.0.0734: the script to check translations can be improved v8.0.0734
Bram Moolenaar [Wed, 19 Jul 2017 12:34:42 +0000 (14:34 +0200)]
patch 8.0.0734: the script to check translations can be improved

Problem:    The script to check translations can be improved.
Solution:   Restore the view when no errors are found.  Check for matching
            line break at the end of the message. (Christian Brabandt)

7 years agopatch 8.0.0733: can only add entries to one list in the quickfix stack v8.0.0733
Bram Moolenaar [Wed, 19 Jul 2017 11:23:06 +0000 (13:23 +0200)]
patch 8.0.0733: can only add entries to one list in the quickfix stack

Problem:    Can only add entries to one list in the quickfix stack.
Solution:   Move state variables from qf_list_T to qf_list_T. (Yegappan
            Lakshmanan)

7 years agopatch 8.0.0732: when updating a buffer modeless selection is lost v8.0.0732
Bram Moolenaar [Wed, 19 Jul 2017 10:51:52 +0000 (12:51 +0200)]
patch 8.0.0732: when updating a buffer modeless selection is lost

Problem:    When updating a buffer for a callback the modeless selection is
            lost.
Solution:   Do not insert or delete screen lines when redrawing for a callback
            and there is a modeless selection.

7 years agopatch 8.0.0731: cannot build the terminal feature on MS-Windows v8.0.0731
Bram Moolenaar [Wed, 19 Jul 2017 09:28:17 +0000 (11:28 +0200)]
patch 8.0.0731: cannot build the terminal feature on MS-Windows

Problem:    Cannot build the terminal feature on MS-Windows.
Solution:   Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851)

7 years agopatch 8.0.0730: terminal feature only supports Unix-like systems v8.0.0730
Bram Moolenaar [Tue, 18 Jul 2017 20:53:21 +0000 (22:53 +0200)]
patch 8.0.0730: terminal feature only supports Unix-like systems

Problem:    Terminal feature only supports Unix-like systems.
Solution:   Prepare for adding an MS-Windows implementaiton.

7 years agopatch 8.0.0729: the help for the terminal configure option is wrong v8.0.0729
Bram Moolenaar [Tue, 18 Jul 2017 19:33:20 +0000 (21:33 +0200)]
patch 8.0.0729: the help for the terminal configure option is wrong

Problem:    The help for the terminal configure option is wrong.
Solution:   Change "Disable" to "Enable". (E Kawashima, closes #1849)
            Improve alignment.

7 years agopatch 8.0.0728: the terminal structure is never freed v8.0.0728
Bram Moolenaar [Mon, 17 Jul 2017 21:20:24 +0000 (23:20 +0200)]
patch 8.0.0728: the terminal structure is never freed

Problem:    The terminal structure is never freed.
Solution:   Free the structure and unreference what it contains.

7 years agopatch 8.0.0727: message about what register to yank into is not translated v8.0.0727
Bram Moolenaar [Sun, 16 Jul 2017 18:54:34 +0000 (20:54 +0200)]
patch 8.0.0727: message about what register to yank into is not translated

Problem:    Message about what register to yank into is not translated.
            (LemonBoy)
Solution:   Add _().

7 years agopatch 8.0.0726: translations cleanup script is too conservative v8.0.0726
Bram Moolenaar [Sun, 16 Jul 2017 18:32:25 +0000 (20:32 +0200)]
patch 8.0.0726: translations cleanup script is too conservative

Problem:    Translations cleanup script is too conservative.
Solution:   Also delete untranslated messages.

7 years agopatch 8.0.0725: a terminal window does not handle keyboard input v8.0.0725
Bram Moolenaar [Sun, 16 Jul 2017 18:13:26 +0000 (20:13 +0200)]
patch 8.0.0725: a terminal window does not handle keyboard input

Problem:    A terminal window does not handle keyboard input.
Solution:   Add terminal_loop().  ":term bash -i" sort of works now.

7 years agopatch 8.0.0724: the message for yanking doesn't indicate the register v8.0.0724
Bram Moolenaar [Sun, 16 Jul 2017 15:56:16 +0000 (17:56 +0200)]
patch 8.0.0724: the message for yanking doesn't indicate the register

Problem:    The message for yanking doesn't indicate the register.
Solution:   Show the register name in the "N lines yanked" message. (Lemonboy,
            closes #1803, closes #1809)

7 years agopatch 8.0.0723: arglist test fails if file name case is ignored v8.0.0723
Bram Moolenaar [Sun, 16 Jul 2017 14:42:13 +0000 (16:42 +0200)]
patch 8.0.0723: arglist test fails if file name case is ignored

Problem:    Arglist test fails if file name case is ignored.
Solution:   Wipe existing buffers, check for fname_case property.

7 years agopatch 8.0.0722: screen is messed by timer up at inputlist() prompt v8.0.0722
Bram Moolenaar [Sun, 16 Jul 2017 13:48:46 +0000 (15:48 +0200)]
patch 8.0.0722: screen is messed by timer up at inputlist() prompt

Problem:    Screen is messed by timer up at inputlist() prompt.
Solution:   Set state to ASKMORE. (closes #1843)

7 years agopatch 8.0.0721: :argedit can only have one argument v8.0.0721
Bram Moolenaar [Sun, 16 Jul 2017 13:31:17 +0000 (15:31 +0200)]
patch 8.0.0721: :argedit can only have one argument

Problem:    :argedit can only have one argument.
Solution:   Allow for multiple arguments. (Christian Brabandt)

7 years agopatch 8.0.0720: unfinished mapping not displayed when running timer v8.0.0720
Bram Moolenaar [Sun, 16 Jul 2017 13:24:01 +0000 (15:24 +0200)]
patch 8.0.0720: unfinished mapping not displayed when running timer

Problem:    Unfinished mapping not displayed when running timer.
Solution:   Also use the extra_char while waiting for a mapping and digraph.
            (closes #1844)

7 years agopatch 8.0.0719: build failure without +terminal feature v8.0.0719
Bram Moolenaar [Sun, 16 Jul 2017 12:04:29 +0000 (14:04 +0200)]
patch 8.0.0719: build failure without +terminal feature

Problem:    Build failure without +terminal feature.
Solution:   Add #ifdefs.

7 years agopatch 8.0.0718: output of job in terminal is not displayed v8.0.0718
Bram Moolenaar [Sun, 16 Jul 2017 11:48:22 +0000 (13:48 +0200)]
patch 8.0.0718: output of job in terminal is not displayed

Problem:    Output of job in terminal is not displayed.
Solution:   Connect the job output to the terminal.

7 years agopatch 8.0.0717: terminal feature precence unclear v8.0.0717
Bram Moolenaar [Sat, 15 Jul 2017 18:05:54 +0000 (20:05 +0200)]
patch 8.0.0717: terminal feature precence unclear

Problem:    Terminal feature not included in :version output.
Solution:   Add +terminal or -terminal.

7 years agopatch 8.0.0716: not easy to start Vim cleanly v8.0.0716
Bram Moolenaar [Sat, 15 Jul 2017 17:39:43 +0000 (19:39 +0200)]
patch 8.0.0716: not easy to start Vim cleanly

Problem:    Not easy to start Vim cleanly without changing the viminfo file.
            Not possible to know whether the -i command line flag was used.
Solution:   Add the --clean command line argument.  Add the 'viminfofile'
            option.  Add "-u DEFAULTS".

7 years agopatch 8.0.0714: when a timer causes a command line redraw " goes missing v8.0.0714
Bram Moolenaar [Sat, 15 Jul 2017 13:21:38 +0000 (15:21 +0200)]
patch 8.0.0714: when a timer causes a command line redraw " goes missing

Problem:    When a timer causes a command line redraw the " that is displayed
            for CTRL-R goes missing.
Solution:   Remember an extra character to display.

7 years agopatch 8.0.0713: 'termkey' option not fully implemented v8.0.0713
Bram Moolenaar [Sat, 15 Jul 2017 13:16:40 +0000 (15:16 +0200)]
patch 8.0.0713: 'termkey' option not fully implemented

Problem:    'termkey' option not fully implemented.
Solution:   Add initialisation.

7 years agopatch 8.0.0712: the terminal implementation is incomplete v8.0.0712
Bram Moolenaar [Sat, 15 Jul 2017 12:04:01 +0000 (14:04 +0200)]
patch 8.0.0712: the terminal implementation is incomplete

Problem:    The terminal implementation is incomplete.
Solution:   Add the 'termkey' option.

7 years agoUpdated runtime files and translations.
Bram Moolenaar [Sat, 15 Jul 2017 11:53:23 +0000 (13:53 +0200)]
Updated runtime files and translations.

7 years agopatch 8.0.0711: cannot build without the wildmenu feature v8.0.0711
Bram Moolenaar [Wed, 12 Jul 2017 19:12:43 +0000 (21:12 +0200)]
patch 8.0.0711: cannot build without the wildmenu feature

Problem:    Cannot build without the wildmenu feature.
Solution:   Add #ifdef

7 years agopatch 8.0.0710: a job that writes to a buffer clears completion v8.0.0710
Bram Moolenaar [Wed, 12 Jul 2017 18:24:41 +0000 (20:24 +0200)]
patch 8.0.0710: a job that writes to a buffer clears completion

Problem:    A job that writes to a buffer clears command line completion.
            (Ramel Eshed)
Solution:   Do not redraw while showing the completion menu.

7 years agopatch 8.0.0709: libvterm cannot use vsnprintf() v8.0.0709
Bram Moolenaar [Tue, 11 Jul 2017 20:34:51 +0000 (22:34 +0200)]
patch 8.0.0709: libvterm cannot use vsnprintf()

Problem:    Libvterm cannot use vsnprintf(), it does not exist in C90.
Solution:   Use vim_vsnprintf() instead.

7 years agopatch 8.0.0708: some tests are old style v8.0.0708
Bram Moolenaar [Tue, 11 Jul 2017 19:46:28 +0000 (21:46 +0200)]
patch 8.0.0708: some tests are old style

Problem:    Some tests are old style.
Solution:   Change a few tests from old style to new style. (pschuh,
            closes #1813)

7 years agopatch 8.0.0707: freeing wrong memory with certain autocommands v8.0.0707
Bram Moolenaar [Tue, 11 Jul 2017 16:28:46 +0000 (18:28 +0200)]
patch 8.0.0707: freeing wrong memory with certain autocommands

Problem:    Freeing wrong memory when manipulating buffers in autocommands.
            (James McCoy)
Solution:   Also set the w_s pointer if w_buffer was NULL.

7 years agopatch 8.0.0706: crash when cancelling the cmdline window in Ex mode v8.0.0706
Bram Moolenaar [Tue, 11 Jul 2017 13:11:57 +0000 (15:11 +0200)]
patch 8.0.0706: crash when cancelling the cmdline window in Ex mode

Problem:    Crash when cancelling the cmdline window in Ex mode. (James McCoy)
Solution:   Do not set cmdbuff to NULL, make it empty.

7 years agopatch 8.0.0705: crash when there is an error in a timer callback v8.0.0705
Bram Moolenaar [Mon, 10 Jul 2017 20:12:10 +0000 (22:12 +0200)]
patch 8.0.0705: crash when there is an error in a timer callback

Problem:    Crash when there is an error in a timer callback. (Aron Griffis,
            Ozaki Kiichi)
Solution:   Check did_throw before discarding an exception.  NULLify
            current_exception when no longer valid.

7 years agopatch 8.0.0704: problems with autocommands when opening help v8.0.0704
Bram Moolenaar [Sun, 9 Jul 2017 13:41:53 +0000 (15:41 +0200)]
patch 8.0.0704: problems with autocommands when opening help

Problem:    Problems with autocommands when opening help.
Solution:   Avoid using invalid "varp" value.  Allow using :wincmd if buffer
            is locked. (closes #1806, closes #1804)

7 years agopatch 8.0.0703: illegal memory access with empty :doau command v8.0.0703
Bram Moolenaar [Sun, 9 Jul 2017 09:07:16 +0000 (11:07 +0200)]
patch 8.0.0703: illegal memory access with empty :doau command

Problem:    Illegal memory access with empty :doau command.
Solution:   Check the event for being out of range. (James McCoy)

7 years agopatch 8.0.0702: an error in a timer can make Vim unusable v8.0.0702
Bram Moolenaar [Sat, 8 Jul 2017 20:37:34 +0000 (22:37 +0200)]
patch 8.0.0702: an error in a timer can make Vim unusable

Problem:    An error in a timer can make Vim unusable.
Solution:   Don't set the error flag or exception from a timer.  Stop a timer
            if it causes an error 3 out of 3 times.  Discard an exception
            caused inside a timer.

7 years agopatch 8.0.0701: system test failing when using X11 forwarding v8.0.0701
Bram Moolenaar [Sat, 8 Jul 2017 15:03:21 +0000 (17:03 +0200)]
patch 8.0.0701: system test failing when using X11 forwarding

Problem:    System test failing when using X11 forwarding.
Solution:   Set $XAUTHORITY before changing $HOME. (closes #1812)
            Also use a better check for the exit value.

7 years agopatch 8.0.0700: segfault with QuitPre autocommand closes the window v8.0.0700
Bram Moolenaar [Sat, 8 Jul 2017 12:44:50 +0000 (14:44 +0200)]
patch 8.0.0700: segfault with QuitPre autocommand closes the window

Problem:    Segfault with QuitPre autocommand closes the window. (Marek)
Solution:   Check that the window pointer is still valid. (Christian Brabandt,
            closes #1817)

7 years agopatch 8.0.0699: checksum tests are not actually run v8.0.0699
Bram Moolenaar [Sat, 8 Jul 2017 12:29:19 +0000 (14:29 +0200)]
patch 8.0.0699: checksum tests are not actually run

Problem:    Checksum tests are not actually run.
Solution:   Add the tests to the list. (Dominique Pelle, closes #1819)

7 years agopatch 8.0.0698: crash on exit when using Python function in timer. v8.0.0698
Bram Moolenaar [Fri, 7 Jul 2017 12:50:44 +0000 (14:50 +0200)]
patch 8.0.0698: crash on exit when using Python function in timer.

Problem:    When a timer uses ":pyeval" or another Python command and it
            happens to be triggered while exiting a Crash may happen.
            (Ricky Zhou)
Solution:   Avoid running a Python command after python_end() was called.
            Do not trigger timers while exiting.  (closes #1824)

7 years agopatch 8.0.0697: recorded key sequences may become invalid v8.0.0697
Bram Moolenaar [Fri, 7 Jul 2017 11:32:14 +0000 (13:32 +0200)]
patch 8.0.0697: recorded key sequences may become invalid

Problem:    Recorded key sequences may become invalid.
Solution:   Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the
            key_extra enum.

7 years agopatch 8.0.0696: .inc files missing in git v8.0.0696
Bram Moolenaar [Fri, 7 Jul 2017 11:04:16 +0000 (13:04 +0200)]
patch 8.0.0696: .inc files missing in git

Problem:    The .inc files are missing in git. (Nazri Ramliy)
Solution:   Remove the .inc line from .gitignore.

7 years agopatch 8.0.0695: missing dependencies breaks parallel make v8.0.0695
Bram Moolenaar [Fri, 7 Jul 2017 10:42:40 +0000 (12:42 +0200)]
patch 8.0.0695: missing dependencies breaks parallel make

Problem:    Missing dependencies breaks parallel make.
Solution:   Add dependencies for terminal.o.

7 years agopatch 8.0.0694: building in shadow directory does not work v8.0.0694
Bram Moolenaar [Fri, 7 Jul 2017 10:22:55 +0000 (12:22 +0200)]
patch 8.0.0694: building in shadow directory does not work

Problem:    Building in shadow directory does not work.  Running Vim fails.
Solution:   Add the new libvterm directory.  Add missing change in command
            list.

7 years agopatch 8.0.0693: no terminal emulator support v8.0.0693
Bram Moolenaar [Fri, 7 Jul 2017 09:54:15 +0000 (11:54 +0200)]
patch 8.0.0693: no terminal emulator support

Problem:    No terminal emulator support.  Cannot properly run commands in the
            GUI.  Cannot run a job interactively with an ssh connection.
Solution:   Very early implementation of the :terminal command.  Includes
            libvterm converted to ANSI C.  Many parts still missing.

7 years agopatch 8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction v8.0.0692
Bram Moolenaar [Sat, 1 Jul 2017 21:11:17 +0000 (23:11 +0200)]
patch 8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction

Problem:    Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
            (Ramel Eshed)
Solution:   Adjust search_start. (Christian Brabandt)

7 years agopatch 8.0.0691: compiler warning without the linebreak feature v8.0.0691
Bram Moolenaar [Thu, 29 Jun 2017 20:33:13 +0000 (22:33 +0200)]
patch 8.0.0691: compiler warning without the linebreak feature

Problem:    Compiler warning without the linebreak feature.
Solution:   Add #ifdef. (John Marriott)