0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

8417 Commits

Author SHA1 Message Date
Bram Moolenaar
f25329cb94 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.
v8.0.1801
2018-05-06 21:49:32 +02:00
Bram Moolenaar
778df2a3cb 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.
v8.0.1800
2018-05-06 19:19:36 +02:00
Bram Moolenaar
85eee130f4 Update runtime files. 2018-05-06 17:57:30 +02:00
Bram Moolenaar
7ce551f317 patch 8.0.1799: no test for :registers command
Problem:    No test for :registers command.
Solution:   Add a test. (Dominique Pelle, closes #2880)
v8.0.1799
2018-05-06 17:32:19 +02:00
Bram Moolenaar
5aa9896b2e 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)
v8.0.1798
2018-05-06 17:09:38 +02:00
Bram Moolenaar
6eddadff13 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.
v8.0.1797
2018-05-06 16:40:16 +02:00
Bram Moolenaar
231a2db1b3 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.
v8.0.1796
2018-05-06 13:53:50 +02:00
Bram Moolenaar
b0b98d5230 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.
v8.0.1795
2018-05-05 21:01:00 +02:00
Bram Moolenaar
b833c1ef7b patch 8.0.1794: duplicate term options after renaming
Problem:    Duplicate term options after renaming.
Solution:   Remove the old names 'termkey', 'termsize' and 'terminalscroll'.
v8.0.1794
2018-05-05 16:36:06 +02:00
Bram Moolenaar
248be5c5de patch 8.0.1793: no test for "vim -g"
Problem:    No test for "vim -g".
Solution:   Add a test for "-g" and "-y".
v8.0.1793
2018-05-05 15:47:19 +02:00
Bram Moolenaar
c3e81694fc 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)
v8.0.1792
2018-05-05 15:09:51 +02:00
Bram Moolenaar
9894e394b2 patch 8.0.1791: using uint8_t does not work everywhere
Problem:    Using uint8_t does not work everywhere.
Solution:   Use char_u instead.
v8.0.1791
2018-05-05 14:29:06 +02:00
Bram Moolenaar
c136af29c0 patch 8.0.1790: 'winfixwidth' is not always respected by :close
Problem:    'winfixwidth' is not always respected by :close.
Solution:   Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
            Franklin)
v8.0.1790
2018-05-04 20:15:38 +02:00
Bram Moolenaar
606cb8b08e patch 8.0.1789: BufWinEnter does not work well for a terminal window
Problem:    BufWinEnter does not work well for a terminal window.
Solution:   Do not trigger BufWinEnter when opening a terminal window.
v8.0.1789
2018-05-03 20:40:20 +02:00
Bram Moolenaar
dddab90d22 patch 8.0.1788: tool to check a color scheme is not installed
Problem:    Tool to check a color scheme is not installed.
Solution:   Update the install rule. (Christian Brabandt)
v8.0.1788
2018-05-02 22:00:17 +02:00
Bram Moolenaar
e2c8d83926 patch 8.0.1787: cannot insert the whole cursor line
Problem:    Cannot insert the whole cursor line.
Solution:   Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857)
v8.0.1787
2018-05-01 19:24:03 +02:00
Bram Moolenaar
b2ac14c0b5 patch 8.0.1786: no test for 'termwinkey'
Problem:    No test for 'termwinkey'.
Solution:   Add a test.  Make feedkeys() handle terminal_loop() returning
            before characters are consumed.
v8.0.1786
2018-05-01 18:47:59 +02:00
Bram Moolenaar
8a938af6dd patch 8.0.1785: missing symbol in Win32 small build
Problem:    Missing symbol in Win32 small build.
Solution:   Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
            fix unused function with #ifdef.
v8.0.1785
2018-05-01 17:30:41 +02:00
Bram Moolenaar
bc7845da93 patch 8.0.1784: gvim test gets stuck in dialog
Problem:    Gvim test gets stuck in dialog.
Solution:   Rename the file used.
v8.0.1784
2018-05-01 16:26:48 +02:00
Bram Moolenaar
c5cd88554f patch 8.0.1783: cannot use 256 colors in a MS-Windows console
Problem:    Cannot use 256 colors in a MS-Windows console.
Solution:   Add 256 color support. (Nobuhiro Takasaki, closes #2821)
v8.0.1783
2018-05-01 15:47:38 +02:00
Bram Moolenaar
d76ce85266 patch 8.0.1782: no simple way to label quickfix entries
Problem:    No simple way to label quickfix entries.
Solution:   Add the "module" item, to be used instead of the file name for
            display purposes. (Martin Szamotulski, closes #1757)
v8.0.1782
2018-05-01 15:02:04 +02:00
Bram Moolenaar
a796d46f29 patch 8.0.1781: file names in quickfix window are not shortened
Problem:    File names in quickfix window are not always shortened.
Solution:   Shorten the file name when opening the quickfix window. (Yegappan
            Lakshmanan, closes #2851, closes #2846)
v8.0.1781
2018-05-01 14:30:36 +02:00
Bram Moolenaar
15142e27aa Update runtime files and translations 2018-04-30 22:19:58 +02:00
Bram Moolenaar
77bfd756a0 patch 8.0.1780: test fails because Vim in a terminal uses wrong 'encoding'
Problem:    Test fails because Vim in a terminal uses wrong 'encoding'.
Solution:   Set encoding in the test where it matters. (James McCoy,
            closes #2847)
v8.0.1780
2018-04-30 18:03:10 +02:00
Bram Moolenaar
35e802e713 patch 8.0.1779: deleting in a block selection causes problems
Problem:    Deleting in a block selection causes problems.
Solution:   Check the length of the line before adding bd.textcol and
            bd.textlen. (Christian Brabandt, closes #2825)
v8.0.1779
2018-04-30 17:21:03 +02:00
Bram Moolenaar
b07bbb0d29 patch 8.0.1778: script to check translations does not always work
Problem:    Script to check translations does not always work.
Solution:   Go to first line before searching for MIME.
v8.0.1778
2018-04-30 15:45:17 +02:00
Bram Moolenaar
60a68362aa patch 8.0.1777: cannot cleanup before loading another colorscheme
Problem:    Cannot cleanup before loading another colorscheme.
Solution:   Add the ColorSchemePre autocommand event.
v8.0.1777
2018-04-30 15:40:48 +02:00
Bram Moolenaar
0e9d1ae321 patch 8.0.1776: in tests, when WaitFor() fails it doesn't say why
Problem:    In tests, when WaitFor() fails it doesn't say why.
Solution:   Turn a few more WaitFor() into WaitForAssert().
v8.0.1776
2018-04-30 14:28:24 +02:00
Bram Moolenaar
850d427f07 patch 8.0.1775: MS-Windows: warning for unused variable
Problem:    MS-Windows: warning for unused variable.
Solution:   Move declaration inside #ifdef. (Mike Williams)
v8.0.1775
2018-04-30 10:38:40 +02:00
Bram Moolenaar
13d3b05ed2 patch 8.0.1774: reading very long lines can be slow
Problem:    Reading very long lines can be slow.
Solution:   Read up to 1 Mbyte at a time to avoid a lot of copying.  Add a
            check for going over the column limit.
v8.0.1774
2018-04-29 13:34:47 +02:00
Bram Moolenaar
c36651b4b9 patch 8.0.1773: dialog messages are not translated
Problem:    Dialog messages are not translated.
Solution:   Add N_() and _() where needed. (Sergey Alyoshin)
v8.0.1773
2018-04-29 12:22:56 +02:00
Bram Moolenaar
29ce409bfc patch 8.0.1772: quickfix: mixup of FALSE and FAIL, returning -1
Problem:    Quickfix: mixup of FALSE and FAIL, returning -1.
Solution:   Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)
v8.0.1772
2018-04-28 21:56:44 +02:00
Bram Moolenaar
50182fa84e patch 8.0.1771: in tests, when WaitFor() fails it doesn't say why
Problem:    In tests, when WaitFor() fails it doesn't say why. (James McCoy)
Solution:   Add WaitForAssert(), which produces an assert error when it fails.
v8.0.1771
2018-04-28 21:34:40 +02:00
Bram Moolenaar
65a5464985 patch 8.0.1770: assert functions don't return anything
Problem:    Assert functions don't return anything.
Solution:   Return non-zero when the assertion fails.
v8.0.1770
2018-04-28 16:56:53 +02:00
Bram Moolenaar
9b25af3620 patch 8.0.1769: repeated saving and restoring viewstate for 'incsearch'
Problem:    Repeated saving and restoring viewstate for 'incsearch'.
Solution:   Use a structure.
v8.0.1769
2018-04-28 13:56:09 +02:00
Bram Moolenaar
451fc7b954 patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
Problem:    SET_NO_HLSEARCH() used in a wrong way.
Solution:   Make it a function. (suggested by Dominique Pelle,
            closes #2850)
v8.0.1768
2018-04-27 22:53:07 +02:00
Bram Moolenaar
9d34d90210 patch 8.0.1767: with 'incsearch' text may jump up and down
Problem:    With 'incsearch' text may jump up and down. ()
Solution:   Besides w_botline also save and restore w_empty_rows.
            (closes # 2530)
v8.0.1767
2018-04-27 22:18:12 +02:00
Bram Moolenaar
c3c3e69896 patch 8.0.1766: expanding abbreviation doesn't work
Problem:    Expanding abbreviation doesn't work. (Tooth Pik)
Solution:   Return OK instead of FALSE and FAIL instead of TRUE. (Christian
            Brabandt)
v8.0.1766
2018-04-26 22:30:33 +02:00
Bram Moolenaar
db0eedec16 patch 8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' set
Problem:    CTRL-G j in Insert mode is incorrect when 'virtualedit' is set.
Solution:   Take coladd into account. (Christian Brabandt, closes #2743)
v8.0.1765
2018-04-25 22:38:17 +02:00
Bram Moolenaar
856905bd83 patch 8.0.1764: lgtm considers tutor.es to be EcmaScript
Problem:    Lgtm considers tutor.es to be EcmaScript.
Solution:   Add a config file for lgtm. (Bas van Schaik, closes #2844)
v8.0.1764
2018-04-25 21:36:47 +02:00
Bram Moolenaar
46a53dfc29 patch 8.0.1763: :argedit does not reuse an empty unnamed buffer
Problem:    :argedit does not reuse an empty unnamed buffer.
Solution:   Add the BLN_CURBUF flag and fix all the side effects. (Christian
            Brabandt, closes #2713)
v8.0.1763
2018-04-24 21:58:51 +02:00
Bram Moolenaar
b255b90503 patch 8.0.1762: terminal debug logging is a bit complicated
Problem:    Terminal debug logging is a bit complicated.
Solution:   Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730)
v8.0.1762
2018-04-24 21:40:10 +02:00
Bram Moolenaar
4e9d443a25 patch 8.0.1761: job in terminal window with no output channel is killed
Problem:    Job in terminal window with no output channel is killed.
Solution:   Keep the job running when the input is a tty. (Ozaki Kiichi,
            closes #2734)
v8.0.1761
2018-04-24 20:54:07 +02:00
Bram Moolenaar
4994373c5d patch 8.0.1760: wrong number of arguments to vms_read()
Problem:    Wrong number of arguments to vms_read().
Solution:   Drop the first argument. (Ozaki Kiichi)
v8.0.1760
2018-04-24 20:27:26 +02:00
Bram Moolenaar
09d1d51df5 patch 8.0.1759: memory leak from duplicate options
Problem:    Memory leak from duplicate options. (Yegappan Lakshmanan)
Solution:   Don't set the default value twice.
v8.0.1759
2018-04-24 20:23:56 +02:00
Bram Moolenaar
24a2d7264f patch 8.0.1758: open_line() returns TRUE/FALSE for success/failure
Problem:    open_line() returns TRUE/FALSE for success/failure.
Solution:   Return OK or FAIL.
v8.0.1758
2018-04-24 19:36:43 +02:00
Bram Moolenaar
b691de05f6 patch 8.0.1757: unnecessary changes in libvterm
Problem:    Unnecessary changes in libvterm.
Solution:   Bring back // comments and trailing comma in enums.
v8.0.1757
2018-04-24 18:39:14 +02:00
Bram Moolenaar
73658317ba patch 8.0.1756: GUI: after prompting for a number the mouse shape is wrong
Problem:    GUI: after prompting for a number the mouse shape is sometimes
            wrong.
Solution:   Call setmouse() after setting "State". (Hirohito Higashi,
            closes #2709)
v8.0.1756
2018-04-24 17:41:57 +02:00
Bram Moolenaar
f1f2f837bc patch 8.0.1755: MS-Windows: high unicode char received as two utf-16 words
Problem:    MS-Windows GUI: high unicode char received as two utf-16 words.
Solution:   Keep the first word until the second word is received. (Chris
            Morgan, closes #2800)
v8.0.1755
2018-04-24 16:04:57 +02:00
Bram Moolenaar
2225ebb486 patch 8.0.1754: ex_helpgrep() is too long
Problem:    ex_helpgrep() is too long.
Solution:   Refactor the function. (Yegappan Lakshmanan, closes #2766)
v8.0.1754
2018-04-24 15:48:11 +02:00