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

10820 Commits

Author SHA1 Message Date
Bram Moolenaar
8cdbd5b3c4 patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing
Problem:    NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution:   Rename to ERROR_IF_POPUP_WINDOW().
v8.1.1555
2019-06-16 15:50:45 +02:00
Bram Moolenaar
1c196e7b17 patch 8.1.1554: docs and tests for :const can be improved
Problem:    Docs and tests for :const can be improved.
Solution:   Improve documentation, add a few more tests. (Ryuichi Hayashida,
            closes #4551)
v8.1.1554
2019-06-16 15:41:58 +02:00
Bram Moolenaar
dc2ce58b5a patch 8.1.1553: not easy to change the text in a popup window
Problem:    Not easy to change the text in a popup window.
Solution:   Add popup_settext(). (Ben Jackson, closes #4549)
            Also display a space for an empty popup.
v8.1.1553
2019-06-16 15:32:14 +02:00
Bram Moolenaar
f85e40afc2 patch 8.1.1552: cursor position is wrong after sign column changes
Problem:    Cursor position is wrong after sign column appears or disappears.
            (Yegappan Lakshmanan)
Solution:   Call changed_line_abv_curs() instead of changed_cline_bef_curs().
v8.1.1552
2019-06-16 13:55:40 +02:00
Bram Moolenaar
6c17543b56 patch 8.1.1551: warning for shadowing popup_dragwin
Problem:    Warning for shadowing popup_dragwin. (Dominique Pelle)
Solution:   Add missing change.
v8.1.1551
2019-06-15 23:10:30 +02:00
Bram Moolenaar
51c3131040 patch 8.1.1550: when a popup has left padding text may be cut off
Problem:    When a popup has left padding text may be cut off.
Solution:   Add the border and padding when computing the size.
v8.1.1550
2019-06-15 22:27:23 +02:00
Bram Moolenaar
61eeeea8e6 patch 8.1.1549: quickfix test fails
Problem:    Quickfix test fails.
Solution:   Negate result of bt_quickfix().
v8.1.1549
2019-06-15 21:56:17 +02:00
Bram Moolenaar
a42d945efc patch 8.1.1548: popup_dialog() is not implemented
Problem:    Popup_dialog() is not implemented.
Solution:   Implement popup_dialog() and popup_filter_yesno().
v8.1.1548
2019-06-15 21:46:30 +02:00
Bram Moolenaar
26910de8b0 patch 8.1.1547: functionality of bt_nofile() is confusing
Problem:    Functionality of bt_nofile() is confusing.
Solution:   Split into bt_nofile() and bt_nofilename().
v8.1.1547
2019-06-15 19:37:15 +02:00
Bram Moolenaar
0331faf712 patch 8.1.1546: in some tests 'tags' is set but not restored
Problem:    In some tests 'tags' is set but not restored. (Daniel Hahler)
Solution:   Restore 'tags'. (closes #4535)
v8.1.1546
2019-06-15 18:40:37 +02:00
Bram Moolenaar
45aa07d3c1 patch 8.1.1545: when the screen is to small there is no message about that
Problem:    When the screen is to small there is no message about that.
            (Daniel Hahler)
Solution:   Do not use :cquit. (closes #4534)
v8.1.1545
2019-06-15 18:20:38 +02:00
Bram Moolenaar
b46fecd345 patch 8.1.1544: some balloon tests don't run when they can
Problem:    Some balloon tests don't run when they can.
Solution:   Split GUI balloon tests off into a separate file. (Ozaki Kiichi,
            closes #4538)  Change the feature check into a command for
            consistency.
v8.1.1544
2019-06-15 17:58:09 +02:00
Bram Moolenaar
b6e3b88ec8 patch 8.1.1543: const test fails with small features
Problem:    Const test fails with small features.
Solution:   Don't unlet non-existing variables.
v8.1.1543
2019-06-15 17:50:57 +02:00
Bram Moolenaar
d7c9687947 patch 8.1.1542: an OptionSet autocommand does not get enough info
Problem:    An OptionSet autocommand does not get enough info.
Solution:   Add v:option_command, v:option_oldlocal and v:option_oldglobal.
            (Latrice Wilgus, closes #4118)
v8.1.1542
2019-06-15 17:12:48 +02:00
Bram Moolenaar
bffc50494d patch 8.1.1541: check for ASAN is not reliable
Problem:    Check for ASAN is not reliable.
Solution:   Check the version output. (Dominique Pelle, closes #4543)
v8.1.1541
2019-06-15 16:34:21 +02:00
Bram Moolenaar
0abb4273f6 patch 8.1.1540: cannot build without the +eval feature
Problem:    Cannot build without the +eval feature.
Solution:   Define ex_const if needed.
v8.1.1540
2019-06-15 16:06:00 +02:00
Bram Moolenaar
9937a05543 patch 8.1.1539: not easy to define a variable and lock it
Problem:    Not easy to define a variable and lock it.
Solution:   Add ":const".
v8.1.1539
2019-06-15 15:45:06 +02:00
Bram Moolenaar
dfa97f2aed patch 8.1.1538: cannot specify highlighting for notifications
Problem:    Cannot specify highlighting for notifications.
Solution:   Use the PopupNotification group if it exists. Add a minimal width
            to notifications.
v8.1.1538
2019-06-15 14:31:55 +02:00
Bram Moolenaar
fc06cbbf86 patch 8.1.1537: using "tab" for popup window can be confusing
Problem:    Using "tab" for popup window can be confusing.
Solution:   Use "tabpage". (Hirohito Higashi, closes #4532)
v8.1.1537
2019-06-15 14:14:31 +02:00
Bram Moolenaar
1755ec4278 patch 8.1.1536: popup select test still fails on Mac
Problem:    Popup select test still fails on Mac.
Solution:   Set 'clipboard' to "autoselect"
v8.1.1536
2019-06-15 13:13:54 +02:00
Bram Moolenaar
650a63748c patch 8.1.1535: popup select test fails on Mac
Problem:    Popup select test fails on Mac.
Solution:   Skip test if clipboard feature not available.
v8.1.1535
2019-06-15 00:29:33 +02:00
Bram Moolenaar
bd75b5333d patch 8.1.1534: modeless selection in popup window selects too much
Problem:    Modeless selection in popup window selects too much.
Solution:   Restrict the selection to insde of the popup window.
v8.1.1534
2019-06-14 23:41:55 +02:00
Bram Moolenaar
2fc39aeeb5 patch 8.1.1533: GUI build fails on Mac
Problem:    GUI build fails on Mac.
Solution:   Change VimClipboard type in non-C file.
v8.1.1533
2019-06-14 23:27:29 +02:00
Bram Moolenaar
d2cea96f6c patch 8.1.1532: build fails
Problem:    Build fails.
Solution:   Add missing changes.
v8.1.1532
2019-06-14 23:14:45 +02:00
Bram Moolenaar
0554fa478d patch 8.1.1531: clipboard type name is inconsistent
Problem:    Clipboard type name is inconsistent.
Solution:   Rename VimClipboard to Clipboard_T.
v8.1.1531
2019-06-14 21:36:54 +02:00
Bram Moolenaar
f42397c395 patch 8.1.1530: Travis config is not optimal
Problem:    Travis config is not optimal.
Solution:   Remove system conditions.  Do not use excluding matrix. Cache OSX
            results. (Ozaki Kiichi, closes #4521)
v8.1.1530
2019-06-14 20:47:49 +02:00
Bram Moolenaar
21606676d9 patch 8.1.1529: libcanberra is linked with even when not used
Problem:    Libcanberra is linked with even when not used.
Solution:   Have configure check for libcanberra only when wanted.
            (suggestions by Libor Bukata)
v8.1.1529
2019-06-14 20:40:58 +02:00
Bram Moolenaar
b4086ffa32 patch 8.1.1528: popup_any_visible() is unused
Problem:    Popup_any_visible() is unused.
Solution:   Remove it.
v8.1.1528
2019-06-14 20:00:48 +02:00
Bram Moolenaar
a540f8aa3b patch 8.1.1527: when moving popup window over the cmdline it is not redrawn
Problem:    When moving a popup window over the command line it is not
            redrawn.
Solution:   Redraw the command line. Move popup redrawing code to the popupwin
            file.
v8.1.1527
2019-06-14 19:23:57 +02:00
Bram Moolenaar
37df9a4401 patch 8.1.1526: no numerical value for the patchlevel
Problem:    No numerical value for the patchlevel.
Solution:   Add v:versionlong.
v8.1.1526
2019-06-14 14:39:51 +02:00
Bram Moolenaar
b53fb31a1e patch 8.1.1525: cannot move a popup window with the mouse
Problem:    Cannot move a popup window with the mouse.
Solution:   Add the "drag" property and make it possible to drag a popup
            window by its border.
v8.1.1525
2019-06-13 23:59:52 +02:00
Bram Moolenaar
b0f94c1ff3 patch 8.1.1524: tests are silently skipped
Problem:    Tests are silently skipped.
Solution:   Throw an exception for skipped tests in more places.
v8.1.1524
2019-06-13 22:19:53 +02:00
Bram Moolenaar
8d24104031 patch 8.1.1523: cannot show range of buffer lines in popup window
Problem:    Cannot show range of buffer lines in popup window.
Solution:   Add the "firstline" property. (closes #4523)
v8.1.1523
2019-06-12 23:40:01 +02:00
Bram Moolenaar
68d48f40a4 patch 8.1.1522: poup_notification() not implemented yet
Problem:    Popup_notification() not implemented yet.
Solution:   Implement it.
v8.1.1522
2019-06-12 22:42:41 +02:00
Bram Moolenaar
7c7f01e2b2 patch 8.1.1521: when a popup window is closed the buffer remains
Problem:    When a popup window is closed the buffer remains.
Solution:   Wipe out the buffer.
v8.1.1521
2019-06-12 21:06:32 +02:00
Bram Moolenaar
451d4b5b7c patch 8.1.1520: popup windows are ignored when dealing with mouse position
Problem:    Popup windows are ignored when dealing with mouse position
Solution:   Find the mouse position inside a popup window.  Allow for modeless
            selection.
v8.1.1520
2019-06-12 20:22:27 +02:00
Bram Moolenaar
06e2c81f6d patch 8.1.1519: 'backupskip' may contain duplicates
Problem:    'backupskip' may contain duplicates.
Solution:   Add the P_NODUP flag. (Tom Ryder)
v8.1.1519
2019-06-12 19:05:48 +02:00
Bram Moolenaar
202d982b36 patch 8.1.1518: crash when setting 'columns' while a popup is visible
Problem:    Crash when setting 'columns' while a popup is visible.
Solution:   Recompute all positions when clearing the screen. (closes #4467)
v8.1.1518
2019-06-11 21:56:30 +02:00
Bram Moolenaar
12ee7ff00b Update runtime files 2019-06-10 22:47:40 +02:00
Bram Moolenaar
4c063a0dab patch 8.1.1517: when a popup changes all windows are redrawn
Problem:    When a popup changes all windows are redrawn.
Solution:   Only update the lines that were affected.  Add a file for
            profiling popup windows efficiency.
v8.1.1517
2019-06-10 21:24:12 +02:00
Bram Moolenaar
640d4f0c97 patch 8.1.1516: time reported for a test measured wrong
Problem:    Time reported for a test measured wrong.
Solution:   Move the computation to the end of RunTheTest(). (Ozaki Kiichi,
            closes #4520)
v8.1.1516
2019-06-10 17:43:46 +02:00
Bram Moolenaar
82febc16e4 patch 8.1.1515: memory leak reported for sound when build with EXITFREE
Problem:    Memory leak reported for sound when build with EXITFREE.
Solution:   Free sound stuff when exiting.
v8.1.1515
2019-06-10 14:48:59 +02:00
Bram Moolenaar
01257a7a8e patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions'
Problem:    MS-Windows: wrong shell command with ! in 'guioptions'.
Solution:   Do not check for ! in 'guioptions' when applying 'shellxquote'.
            (Yasuhiro Matsumoto, closes #4519)
v8.1.1514
2019-06-10 14:46:04 +02:00
Bram Moolenaar
3ff5f0f05d patch 8.1.1513: all popup functionality is in functions, except :popupclear
Problem:    All popup functionality is in functions, except :popupclear.
Solution:   Add popup_clear() for consistency.  Also rename sound_stopall() to
            sound_clear().
v8.1.1513
2019-06-10 13:11:22 +02:00
Bram Moolenaar
38ea784fec patch 8.1.1512: ch_evalexpr() hangs when used recursively
Problem:    ch_evalexpr() hangs when used recursively. (Paul Jolly)
Solution:   Change ch_block_id from a single number to a list of IDs to wait
            on.
v8.1.1512
2019-06-09 19:51:58 +02:00
Bram Moolenaar
ac2450a9a8 patch 8.1.1511: matches in a popup window are not displayed properly
Problem:    Matches in a popup window are not displayed properly.
Solution:   Do display matches in a popup window. (closes #4517)
v8.1.1511
2019-06-09 18:04:28 +02:00
Bram Moolenaar
80dad48c50 patch 8.1.1510: a plugin cannot easily expand a command like done internally
Problem:    A plugin cannot easily expand a command like done internally.
Solution:   Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514)
v8.1.1510
2019-06-09 17:22:31 +02:00
Bram Moolenaar
954bb06363 patch 8.1.1509: cmdline_row can become negative, causing a crash
Problem:    Cmdline_row can become negative, causing a crash.
Solution:   Make sure cmdline_row does not become negagive. (closes #4102)
v8.1.1509
2019-06-09 16:40:46 +02:00
Bram Moolenaar
541faf7a73 patch 8.1.1508: sound keeps failing on Travis
Problem:    Sound keeps failing on Travis.
Solution:   Throw a skipped exception in the test.
v8.1.1508
2019-06-09 15:35:41 +02:00
Bram Moolenaar
a90998d93a patch 8.1.1507: sound test still fails on Travis
Problem:    Sound test still fails on Travis.
Solution:   Try another dummy sound approach.
v8.1.1507
2019-06-09 15:21:27 +02:00