0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

10820 Commits

Author SHA1 Message Date
Bram Moolenaar
9d5ffceb3f patch 8.1.1751: when redrawing popups plines_win() may be called often
Problem:    When redrawing popups plines_win() may be called often.
Solution:   Pass a cache to mouse_comp_pos().
v8.1.1751
2019-07-26 21:01:29 +02:00
Bram Moolenaar
8a5c29aee9 patch 8.1.1750: depending on the terminal width :version may miss a line break
Problem:    Depending on the terminal width :version may miss a line break.
Solution:   Add a line break when needed.
v8.1.1750
2019-07-26 19:48:19 +02:00
Bram Moolenaar
736cd2cfbe patch 8.1.1749: Coverity warns for using negative index
Problem:    Coverity warns for using negative index.
Solution:   Move using index inside "if".
v8.1.1749
2019-07-25 21:58:19 +02:00
Bram Moolenaar
74da39373c patch 8.1.1748: :args output is not aligned
Problem:    :args output is not aligned.
Solution:   Output a line break after the last item in a row.
v8.1.1748
2019-07-25 21:52:39 +02:00
Bram Moolenaar
fbfb757d4c patch 8.1.1747: compiler warning for unused variables
Problem:    Compiler warning for unused variables. (Tony Mechelynck)
Solution:   Add #ifdef.
v8.1.1747
2019-07-25 20:53:03 +02:00
Bram Moolenaar
94f82cbacf patch 8.1.1746: ":dl" is seen as ":dlist" instead of ":delete"
Problem:    ":dl" is seen as ":dlist" instead of ":delete".
Solution:   Do not use cmdidxs2[] if the length is 1. (closes #4721)
v8.1.1746
2019-07-24 22:30:27 +02:00
Bram Moolenaar
1f164b1968 patch 8.1.1745: compiler warning for unused argument
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.  Change comments to new style.
v8.1.1745
2019-07-24 19:00:36 +02:00
Bram Moolenaar
07d1356648 patch 8.1.1744: build error without the conceal feature
Problem:    Build error without the conceal feature.
Solution:   Define variables also without the conceal feature.
v8.1.1744
2019-07-24 18:43:08 +02:00
Bram Moolenaar
bbca7732e8 patch 8.1.1743: 'hlsearch' and match highlighting in the wrong place
Problem:    'hlsearch' and match highlighting in the wrong place.
Solution:   Move highlighting from inside screen functions to highlight.c.
v8.1.1743
2019-07-24 18:13:16 +02:00
Bram Moolenaar
7dfb016d25 patch 8.1.1742: still some match functions in evalfunc.c
Problem:    Still some match functions in evalfunc.c.
Solution:   Move them to highlight.c.
v8.1.1742
2019-07-24 16:00:39 +02:00
Bram Moolenaar
4ef18dcc2e patch 8.1.1741: cleared/added match highlighting not updated in other window
Problem:    Cleared/added match highlighting not updated in other window.
            (Andi Massimino)
Solution:   Mark the right window for refresh.
v8.1.1741
2019-07-24 15:28:18 +02:00
Bram Moolenaar
d08b8c4c04 patch 8.1.1740: exepath() doesn't work for "bin/cat"
Problem:    Exepath() doesn't work for "bin/cat".
Solution:   Check for any path separator. (Daniel Hahler, closes #4724,
            closes #4710)
v8.1.1740
2019-07-24 14:59:45 +02:00
Bram Moolenaar
06029a857a patch 8.1.1739: deleted match highlighting not updated in other window
Problem:    Deleted match highlighting not updated in other window.
Solution:   Mark the window for refresh. (closes #4720)  Also fix that
            ambi-width check clears with wrong attributes.
v8.1.1739
2019-07-24 14:25:26 +02:00
Bram Moolenaar
9bc4dde45d patch 8.1.1738: testing lambda with timer is slow
Problem:    Testing lambda with timer is slow.
Solution:   Do not test timer accuracy, only that it works. (Daniel Hahler,
            closes #4723)
v8.1.1738
2019-07-24 13:08:29 +02:00
Bram Moolenaar
949f1989cb patch 8.1.1737: :args command that outputs one line gives more prompt
Problem:    :args command that outputs one line gives more prompt.
Solution:   Only output line break if needed. (Daniel Hahler, closes #4715)
v8.1.1737
2019-07-23 23:00:08 +02:00
Bram Moolenaar
c3328169d5 patch 8.1.1736: viminfo support is spread out
Problem:    Viminfo support is spread out.
Solution:   Move more viminfo code to viminfo.c. (Yegappan Lakshmanan,
            closes #4717)  Reorder code to make most functions static.
v8.1.1736
2019-07-23 22:15:25 +02:00
Bram Moolenaar
c61a48d259 patch 8.1.1735: can't build with tiny features
Problem:    Can't build with tiny features.
Solution:   Add missing #ifdefs.
v8.1.1735
2019-07-22 23:16:33 +02:00
Bram Moolenaar
29b7d7a9aa patch 8.1.1734: the evalfunc.c file is too big
Problem:    The evalfunc.c file is too big.
Solution:   Move some functions to other files.
v8.1.1734
2019-07-22 23:03:57 +02:00
Bram Moolenaar
e5e6950193 patch 8.1.1733: the man ftplugin leaves an empty buffer behind
Problem:    The man ftplugin leaves an empty buffer behind.
Solution:   Don't make new window and edit, use split. (Jason Franklin)
v8.1.1733
2019-07-22 22:09:21 +02:00
Bram Moolenaar
f03e328348 patch 8.1.1732: completion in cmdwin does not work for buffer-local commands
Problem:    Completion in cmdwin does not work for buffer-local commands.
Solution:   Use the right buffer. (closes #4711)
v8.1.1732
2019-07-22 21:55:18 +02:00
Bram Moolenaar
26b654a5df patch 8.1.1731: command line history not read from viminfo on startup
Problem:    Command line history not read from viminfo on startup.
Solution:   Get history length after initializing it.
v8.1.1731
2019-07-22 20:50:17 +02:00
Bram Moolenaar
1e78e69680 patch 8.1.1730: wrong place for mark viminfo support
Problem:    Wrong place for mark viminfo support.
Solution:   Move it to viminfo.c. (Yegappan Lakshmanan, closes #4716)
v8.1.1730
2019-07-22 20:18:27 +02:00
Bram Moolenaar
ecaa75b4ce patch 8.1.1729: heredoc with trim not properly handled in function
Problem:    Heredoc with trim not properly handled in function.
Solution:   Allow for missing indent. (FUJIWARA Takuya, closes #4713)
v8.1.1729
2019-07-21 23:04:21 +02:00
Bram Moolenaar
5f32ece459 patch 8.1.1728: wrong place for command line history viminfo support
Problem:    Wrong place for command line history viminfo support.
Solution:   Move it to viminfo.c.
v8.1.1728
2019-07-21 21:51:59 +02:00
Bram Moolenaar
defa067c54 patch 8.1.1727: code for viminfo support is spread out
Problem:    Code for viminfo support is spread out.
Solution:   Move to code to viminfo.c. (Yegappan Lakshmanan, closes #4686)
v8.1.1727
2019-07-21 19:25:37 +02:00
Bram Moolenaar
ed997adaa1 patch 8.1.1726: the eval.txt help file is too big
Problem:    The eval.txt help file is too big.
Solution:   Split off testing support to testing.txt.  Move function details
            to where the functionality is explained.
v8.1.1726
2019-07-21 16:42:00 +02:00
Bram Moolenaar
663bbc09ba patch 8.1.1725: MS-Windows: E325 message may use incorrect date format
Problem:    MS-Windows: E325 message may use incorrect date format.
Solution:   Convert strftime() result to 'encoding'.  Also make the message
            translatable. (Ken Takata, closes #4685, closes #4681)
v8.1.1725
2019-07-21 15:23:35 +02:00
Bram Moolenaar
b4fe0eb4b4 patch 8.1.1724: too much overhead checking for CTRL-C while processing text
Problem:    Too much overhead checking for CTRL-C while processing text.
Solution:   Increase BREAKCHECK_SKIP.  Remove the difference for when built
            with the GUI. (suggested by Andy Massimino, closes #4708)
v8.1.1724
2019-07-21 14:50:21 +02:00
Bram Moolenaar
2458200729 patch 8.1.1723: heredoc assignment has no room for new features
Problem:    Heredoc assignment has no room for new features. (FUJIWARA Takuya)
Solution:   Require the marker does not start with a lower case character.
            (closes #4705)
v8.1.1723
2019-07-21 14:14:26 +02:00
Bram Moolenaar
61343f0c44 patch 8.1.1722: error when scriptversion is 2 a making a dictionary access
Problem:    Error when scriptversion is 2 a making a dictionary access.
Solution:   Parse the subscript even when not evaluating the sub-expression.
            (closes #4704)
v8.1.1722
2019-07-20 21:11:13 +02:00
Bram Moolenaar
63187f7932 patch 8.1.1721: build failure with normal features without netbeans interface
Problem:    Build failure with normal features without netbeans interface.
Solution:   Enable signs when using the text properties feature.
v8.1.1721
2019-07-20 19:14:49 +02:00
Bram Moolenaar
2a5b52758b patch 8.1.1720: crash with very long %[] pattern
Problem:    Crash with very long %[] pattern. (Reza Mirzazade farkhani)
Solution:   Check for reg_toolong. (closes #4703)
v8.1.1720
2019-07-20 18:56:06 +02:00
Bram Moolenaar
331bafd481 patch 8.1.1719: popup too wide when 'showbreak' is set
Problem:    Popup too wide when 'showbreak' is set.
Solution:   Set window width when computing line length. (closes #4701)
v8.1.1719
2019-07-20 17:46:05 +02:00
Bram Moolenaar
cb5ff34c1b patch 8.1.1718: popup menu highlighting does not look good
Problem:    Popup menu highlighting does not look good.
Solution:   Highlight the whole window line.  Fix that sign line HL is not
            displayed in a window with a background color.
v8.1.1718
2019-07-20 16:51:19 +02:00
Bram Moolenaar
f914a33c9c patch 8.1.1717: last char in menu popup window highlighted
Problem:    Last char in menu popup window highlighted.
Solution:   Do not highlight an extra character twice.
v8.1.1717
2019-07-20 15:09:56 +02:00
Bram Moolenaar
ab0a789808 patch 8.1.1716: old style comments are wasting space
Problem:    Old style comments are wasting space
Solution:   Use new style comments in option header file.
v8.1.1716
2019-07-19 23:15:12 +02:00
Bram Moolenaar
06e6377009 patch 8.1.1715: emoji characters are seen as word characters for spelling
Problem:    Emoji characters are seen as word characters for spelling. (Gautam
            Iyer)
Solution:   Exclude class 3 from word characters.
v8.1.1715
2019-07-19 23:04:34 +02:00
Bram Moolenaar
85850f3a5e Update runtime files 2019-07-19 22:05:51 +02:00
Bram Moolenaar
7964873afe patch 8.1.1714: cannot preview a file in a popup window
Problem:    Cannot preview a file in a popup window.
Solution:   Add the 'previewpopup' option.
v8.1.1714
2019-07-18 21:43:07 +02:00
Bram Moolenaar
df9c6cad8c patch 8.1.1713: highlighting cursor line only works with popup_menu()
Problem:    Highlighting cursor line only works with popup_menu().
Solution:   Add the "cursorline" property. (Naruhiko Nishino, closes #4671)
v8.1.1713
2019-07-18 13:46:42 +02:00
Bram Moolenaar
d6bcff4577 patch 8.1.1712: signs in number column cause text to be misaligned
Problem:    Signs in number column cause text to be misaligned.
Solution:   Improve alignment. (Yasuhiro Matsumoto, closes #4694)
v8.1.1712
2019-07-18 12:48:16 +02:00
Bram Moolenaar
acf7544cf6 patch 8.1.1711: listener callback called at the wrong moment
Problem:    Listener callback called at the wrong moment
Solution:   Invoke listeners before calling ml_delete_int(). (closes #4657)
v8.1.1711
2019-07-17 22:55:35 +02:00
Bram Moolenaar
4a0a161a9b patch 8.1.1710: Coverity found dead code
Problem:    Coverity found dead code.
Solution:   Remove merging of listener changes.
v8.1.1710
2019-07-17 22:00:19 +02:00
Bram Moolenaar
403d090e39 patch 8.1.1709: Coverity warns for possibly using a NULL pointer
Problem:    Coverity warns for possibly using a NULL pointer.
Solution:   Make sure no NULL pointer is used.
v8.1.1709
2019-07-17 21:37:32 +02:00
Bram Moolenaar
3fb4f4762b patch 8.1.1708: Coverity warns for using uninitialized variable
Problem:    Coverity warns for using uninitialized variable.
Solution:   Set the start col when col is set.
v8.1.1708
2019-07-17 21:32:14 +02:00
Bram Moolenaar
cfdbc5adde patch 8.1.1707: Coverity warns for possibly using a NULL pointer
Problem:    Coverity warns for possibly using a NULL pointer.
Solution:   Change the logic to make sure no NULL pointer is used.
v8.1.1707
2019-07-17 21:27:52 +02:00
Bram Moolenaar
99a764bccd patch 8.1.1706: typo in #ifdef
Problem:    Typo in #ifdef.
Solution:   Change PROT to PROTO.
v8.1.1706
2019-07-17 20:01:48 +02:00
Bram Moolenaar
4c6d90458b patch 8.1.1705: using ~{} for a literal dict is not nice
Problem:    Using ~{} for a literal dict is not nice.
Solution:   Use #{} instead.
v8.1.1705
2019-07-16 22:04:02 +02:00
Bram Moolenaar
69a5b86794 patch 8.1.1704: C-R C-W does not work after C-G when using 'incsearch'
Problem:    C-R C-W does not work after C-G when using 'incsearch'.
Solution:   Put cursor at end of the match. (Yasuhiro Matsumoto, closes #4664)
v8.1.1704
2019-07-16 21:38:51 +02:00
Bram Moolenaar
6138640806 patch 8.1.1703: breaking out of loop by checking window pointer insufficient
Problem:    Breaking out of loop by checking window pointer is insufficient.
Solution:   Check the window ID and the buffer number. (closes #4683)
v8.1.1703
2019-07-16 21:19:55 +02:00