]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sun, 7 Jul 2019 13:12:12 +0000 (15:12 +0200)]
patch 8.1.1644: sound test does not work on Travis
Problem: Sound test does not work on Travis.
Solution: Use "sg" command to enable audio. (Ozaki Kiichi, closes #4624)
Bram Moolenaar [Sun, 7 Jul 2019 12:56:25 +0000 (14:56 +0200)]
patch 8.1.1643: sign placement is wrong when 'foldcolumn' is set
Problem: Sign placement is wrong when 'foldcolumn' is set.
Solution: Adjust the column computation. (Yee Cheng Chin, closes #4627)
Bram Moolenaar [Sun, 7 Jul 2019 12:26:59 +0000 (14:26 +0200)]
patch 8.1.1642: may use uninitialized variable
Problem: May use uninitialized variable. (Patrick Palka)
Solution: Initialize variables earlier. (closes #4623)
Bram Moolenaar [Sun, 7 Jul 2019 12:05:24 +0000 (14:05 +0200)]
patch 8.1.1641: garbage collection may run at a wrong moment
Problem: Garbage collection may run at a wrong moment. (Trygve Aaberge)
Solution: Postpone garbage collection while parsing messages. (closes #4620)
Bram Moolenaar [Fri, 5 Jul 2019 21:24:56 +0000 (23:24 +0200)]
patch 8.1.1640: the CursorHold autocommand takes down a balloon
Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly)
Solution: Ignore the CursorHold pseudo-key.
Bram Moolenaar [Fri, 5 Jul 2019 20:14:16 +0000 (22:14 +0200)]
patch 8.1.1639: changing an autoload name into a file name is inefficient
Problem: Changing an autoload name into a script file name is inefficient.
Solution: Remember the last replaced #. (Ozaki Kiichi, closes #4618)
Bram Moolenaar [Fri, 5 Jul 2019 19:53:24 +0000 (21:53 +0200)]
patch 8.1.1638: running tests leaves some files behind
Problem: Running tests leaves some files behind.
Solution: Delete the files. (Ozaki Kiichi, closes #4617)
Bram Moolenaar [Fri, 5 Jul 2019 18:43:52 +0000 (20:43 +0200)]
patch 8.1.1637: after running tests and clean the XfakeHOME directory remains
Problem: After running tests and clean the XfakeHOME directory remains.
Solution: Use "rm -rf". (Hirohito Higashi)
Bram Moolenaar [Fri, 5 Jul 2019 18:17:22 +0000 (20:17 +0200)]
patch 8.1.1636: crash when popup has fitting scrollbar
Problem: Crash when popup has fitting scrollbar. (Trygve Aaberge)
Solution: Don't divide by zero if the scrollbar just fits. (closes #4615)
Bram Moolenaar [Thu, 4 Jul 2019 20:59:06 +0000 (22:59 +0200)]
patch 8.1.1635: warnings for unused variables in small version
Problem: Warnings for unused variables in small version. (John Marriott)
Solution: Adjust #ifdefs.
Bram Moolenaar [Thu, 4 Jul 2019 20:32:39 +0000 (22:32 +0200)]
patch 8.1.1634: terminal test fails when term_getansicolors() is missing
Problem: Terminal test fails when term_getansicolors() is missing.
Diff test fails without +rightleft. (Dominique Pelle)
Solution: Check if term_getansicolors() is supported. (closes #4597)
Bram Moolenaar [Thu, 4 Jul 2019 19:24:34 +0000 (21:24 +0200)]
patch 8.1.1633: cannot generate prototypes with X11 but without GUI
Problem: Cannot generate prototypes with X11 but without GUI.
Solution: Include X11/Intrinsic.h.
Bram Moolenaar [Thu, 4 Jul 2019 18:26:21 +0000 (20:26 +0200)]
patch 8.1.1632: build with EXITFREE but without +arabic fails
Problem: Build with EXITFREE but without +arabic fails.
Solution: Rename the function and adjust #ifdefs. (closes #4613)
Bram Moolenaar [Thu, 4 Jul 2019 16:28:35 +0000 (18:28 +0200)]
patch 8.1.1631: displaying signs is inefficient
Problem: Displaying signs is inefficient.
Solution: Avoid making multiple calls to get information about a placed
sign. (Yegappan Lakshmanan, closes #4586)
Bram Moolenaar [Thu, 4 Jul 2019 15:35:05 +0000 (17:35 +0200)]
patch 8.1.1630: various small problems
Problem: Various small problems.
Solution: Various small improvements.
Bram Moolenaar [Thu, 4 Jul 2019 15:22:06 +0000 (17:22 +0200)]
Update runtime files
Bram Moolenaar [Thu, 4 Jul 2019 15:12:09 +0000 (17:12 +0200)]
patch 8.1.1629: terminal function help is in the wrong file
Problem: Terminal function help is in the wrong file.
Solution: Move the function details to terminal.txt.
Bram Moolenaar [Thu, 4 Jul 2019 14:54:54 +0000 (16:54 +0200)]
patch 8.1.1628: popup window functions not in list of functions
Problem: Popup window functions not in list of functions.
Solution: Add popup window functins to the list of functions. Reorganise
the popup window help.
Bram Moolenaar [Thu, 4 Jul 2019 14:05:14 +0000 (16:05 +0200)]
patch 8.1.1627: header file contains mixed comment style
Problem: Header file contains mixed comment style.
Solution: Use // style comments.
Bram Moolenaar [Thu, 4 Jul 2019 13:39:28 +0000 (15:39 +0200)]
patch 8.1.1626: no test for closing a popup window with a modified buffer
Problem: No test for closing a popup window with a modified buffer.
Solution: Add a test. Add "popups" to getbufinfo().
Bram Moolenaar [Thu, 4 Jul 2019 12:57:12 +0000 (14:57 +0200)]
patch 8.1.1625: script line numbers are not exactly right
Problem: Script line numbers are not exactly right.
Solution: Handle heredoc and continuation lines better. (Ozaki Kiichi,
closes #4611, closes #4511)
Bram Moolenaar [Thu, 4 Jul 2019 12:20:41 +0000 (14:20 +0200)]
patch 8.1.1624: when testing in the GUI may try to run gvim in a terminal
Problem: When testing in the GUI may try to run gvim in a terminal.
Solution: Add the -v argument. (Yee Cheng Chin, closes #4605) Don't skip
tests that work now.
Bram Moolenaar [Thu, 4 Jul 2019 09:59:28 +0000 (11:59 +0200)]
patch 8.1.1623: display wrong with signs in narrow number column
Problem: Display wrong with signs in narrow number column.
Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan,
closes #4606)
Bram Moolenaar [Wed, 3 Jul 2019 21:20:18 +0000 (23:20 +0200)]
patch 8.1.1622: wrong width if displaying a lot of lines in a popup window
Problem: Wrong width if displaying a lot of lines in a popup window.
Solution: Accurately compute the line overflow.
Bram Moolenaar [Wed, 3 Jul 2019 20:53:06 +0000 (22:53 +0200)]
patch 8.1.1621: Amiga: time.h included twice
Problem: Amiga: time.h included twice.
Solution: Remove include from evalfunc.c, move outside of #ifdef in
os_amiga.h. (Ola Söder, closes #4607)
Bram Moolenaar [Wed, 3 Jul 2019 20:50:41 +0000 (22:50 +0200)]
patch 8.1.1620: no test for popup window with border and mask
Problem: No test for popup window with border and mask.
Solution: Add this popup window, fix problems.
Bram Moolenaar [Wed, 3 Jul 2019 19:40:16 +0000 (21:40 +0200)]
patch 8.1.1619: tests are not run with GUI on Travis
Problem: Tests are not run with GUI on Travis.
Solution: Add a testgui job. (Ozaki Kiichi, closes #4609)
Bram Moolenaar [Tue, 2 Jul 2019 21:22:43 +0000 (23:22 +0200)]
patch 8.1.1618: Amiga-like systems quickly run out of stack
Problem: Amiga-like systems quickly run out of stack.
Solution: Reserve a Megabyte stack. (Ola Söder, closes #4608)
Bram Moolenaar [Tue, 2 Jul 2019 21:13:53 +0000 (23:13 +0200)]
patch 8.1.1617: no test for popup window with mask and position fixed
Problem: No test for popup window with mask and position fixed.
Solution: Add a couple of screenshots. Fix deteced problems.
Bram Moolenaar [Mon, 1 Jul 2019 20:28:20 +0000 (22:28 +0200)]
patch 8.1.1616: build failure with gcc on Amiga
Problem: Build failure with gcc on Amiga.
Solution: Add missing header includes. (Ola Söder, closes #4603)
Bram Moolenaar [Mon, 1 Jul 2019 20:21:01 +0000 (22:21 +0200)]
patch 8.1.1615: crash when passing buffer number to popup_create()
Problem: Crash when passing buffer number to popup_create(). (Yasuhiro
Matsumoto)
Solution: Initialze the window properly.
Bram Moolenaar [Mon, 1 Jul 2019 20:06:07 +0000 (22:06 +0200)]
patch 8.1.1614: 'numberwidth' can only go up to 10
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes #4584)
Bram Moolenaar [Mon, 1 Jul 2019 19:47:35 +0000 (21:47 +0200)]
patch 8.1.1613: popup window test fails with Athena and Motif
Problem: Popup window test fails with Athena and Motif.
Solution: Compute the highlight attribut when the GUI is not active.
Bram Moolenaar [Sun, 30 Jun 2019 20:16:10 +0000 (22:16 +0200)]
patch 8.1.1612: cannot show an existing buffer in a popup window
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
Bram Moolenaar [Sun, 30 Jun 2019 18:33:01 +0000 (20:33 +0200)]
patch 8.1.1611: bufadd() reuses existing buffer without a name
Problem: Bufadd() reuses existing buffer without a name.
Solution: When the name is empty always create a new buffer.
Bram Moolenaar [Sun, 30 Jun 2019 18:21:37 +0000 (20:21 +0200)]
patch 8.1.1610: there is no way to add or load a buffer without side effects
Problem: There is no way to add or load a buffer without side effects.
Solution: Add the bufadd() and bufload() functions.
Bram Moolenaar [Sun, 30 Jun 2019 16:07:00 +0000 (18:07 +0200)]
patch 8.1.1609: the user cannot easily close a popup window
Problem: The user cannot easily close a popup window.
Solution: Add the "close" property. (mostly by Masato Nishihata,
closes #4601)
Bram Moolenaar [Sat, 29 Jun 2019 05:59:04 +0000 (07:59 +0200)]
patch 8.1.1608: the evalfunc.c file is too big
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
Bram Moolenaar [Sat, 29 Jun 2019 05:41:35 +0000 (07:41 +0200)]
patch 8.1.1608: the evalfunc.c file is too big
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
Bram Moolenaar [Sat, 29 Jun 2019 01:42:42 +0000 (03:42 +0200)]
patch 8.1.1606: on a narrow screen ":hi" output is confusing
Problem: On a narrow screen ":hi" output is confusing.
Solution: Insert a space between highlight group name and "xxx". (Masato
Nishihaga, closes #4599)
Bram Moolenaar [Fri, 28 Jun 2019 20:06:49 +0000 (22:06 +0200)]
patch 8.1.1605: Vim may delay processing messages on a json channel
Problem: Vim may delay processing messages on a json channel. (Pontus
Leitzler)
Solution: Try parsing json when checking if there is readahead.
Bram Moolenaar [Fri, 28 Jun 2019 19:55:48 +0000 (21:55 +0200)]
patch 8.1.1604: popup window scroll test is flaky
Problem: Popup window scroll test is flaky.
Solution: Add a delay between scroll events.
Bram Moolenaar [Fri, 28 Jun 2019 19:38:00 +0000 (21:38 +0200)]
patch 8.1.1603: crash when using unknown highlighting in text property
Problem: Crash when using unknown highlighting in text property.
Solution: Check for zero highlight ID.
Bram Moolenaar [Fri, 28 Jun 2019 02:06:50 +0000 (04:06 +0200)]
patch 8.1.1602: popup window cannot overflow on the left or right
Problem: Popup window cannot overflow on the left or right.
Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol
to allow for the popup overflowing on the left and use it when
applying the mask.
Bram Moolenaar [Wed, 26 Jun 2019 16:04:54 +0000 (18:04 +0200)]
patch 8.1.1601: missing changes to popup window test file
Problem: Missing changes to popup window test file.
Solution: Add those changes.
Bram Moolenaar [Wed, 26 Jun 2019 03:13:57 +0000 (05:13 +0200)]
patch 8.1.1600: cannot specify highlighting for popup window scrollbar
Problem: Cannot specify highlighting for popup window scrollbar.
Solution: Add "scrollbarhighlight" and "thumbhighlight" options.
Bram Moolenaar [Wed, 26 Jun 2019 02:06:57 +0000 (04:06 +0200)]
patch 8.1.1599: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add a dummy assignment.
Bram Moolenaar [Wed, 26 Jun 2019 01:54:08 +0000 (03:54 +0200)]
patch 8.1.1598: update to test file missing
Problem: Update to test file missing.
Solution: Update the popup window test file.
Bram Moolenaar [Wed, 26 Jun 2019 01:40:36 +0000 (03:40 +0200)]
patch 8.1.1597: cannot scroll a popup window with the mouse
Problem: Cannot scroll a popup window with the mouse.
Solution: If the popup window has a scrollbar let the mouse scroll wheel
scroll the window.
Bram Moolenaar [Tue, 25 Jun 2019 23:03:53 +0000 (01:03 +0200)]
patch 8.1.1596: when resizing the screen may draw popup in wrong position
Problem: When resizing the screen may draw popup in wrong position. (Masato
Nishihata)
Solution: Check the popup is not outside of the screen. (fixes #4592)
Bram Moolenaar [Tue, 25 Jun 2019 22:34:15 +0000 (00:34 +0200)]
patch 8.1.1595: MS-Windows with VIMDLL: colors wrong in console
Problem: MS-Windows with VIMDLL: colors wrong in console.
Solution: Do not set the GUI colors when not using the GUI. (Ken Takata,
closes #4588)
Bram Moolenaar [Tue, 25 Jun 2019 21:40:29 +0000 (23:40 +0200)]
patch 8.1.1594: may still start file dialog while exiting
Problem: May still start file dialog while exiting.
Solution: Ignore the "browse" modifier in another place when exiiting.
(Ozaki Kiichi, closes #4582)
Bram Moolenaar [Tue, 25 Jun 2019 19:34:26 +0000 (21:34 +0200)]
patch 8.1.1593: filetype not detected for C++ header files without extension
Problem: Filetype not detected for C++ header files without extension.
Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin,
closes #4593)
Bram Moolenaar [Tue, 25 Jun 2019 04:50:31 +0000 (06:50 +0200)]
patch 8.1.1592: may start file dialog while exiting
Problem: May start file dialog while exiting.
Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi,
closes #4582
Bram Moolenaar [Tue, 25 Jun 2019 04:28:02 +0000 (06:28 +0200)]
patch 8.1.1591: on error garbage collection may free memory in use
Problem: On error garbage collection may free memory in use.
Solution: Reset may_garbage_collect when evaluating expression mapping.
Add tests. (Ozaki Kiichi, closes #4579)
Bram Moolenaar [Tue, 25 Jun 2019 03:33:36 +0000 (05:33 +0200)]
patch 8.1.1590: popup window test fails
Problem: Popup window test fails.
Solution: Add "scrollbar" to expected result.
Bram Moolenaar [Tue, 25 Jun 2019 03:15:58 +0000 (05:15 +0200)]
patch 8.1.1589: popup window does not indicate scroll position
Problem: Popup window does not indicate scroll position.
Solution: Add a scrollbar.
Bram Moolenaar [Tue, 25 Jun 2019 02:12:16 +0000 (04:12 +0200)]
patch 8.1.1588: in :let-heredoc line continuation is recognized
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
Bram Moolenaar [Mon, 24 Jun 2019 03:45:14 +0000 (05:45 +0200)]
patch 8.1.1587: redraw problem when sign icons in the number column
Problem: Redraw problem when sign icons in the number column.
Solution: Clear and redraw when changing related options. Right aligh the
sign icon in the GUI. (Yegappan Lakshmanan, closes #4578)
Bram Moolenaar [Mon, 24 Jun 2019 03:06:36 +0000 (05:06 +0200)]
patch 8.1.1586: error number used in two places
Problem: Error number used in two places.
Solution: Renumber one. (Ken Takata)
Bram Moolenaar [Sun, 23 Jun 2019 22:58:07 +0000 (00:58 +0200)]
patch 8.1.1585: :let-heredoc does not trim enough
Problem: :let-heredoc does not trim enough.
Solution: Trim indent from the contents based on the indent of the first
line. Use let-heredoc in more tests.
Bram Moolenaar [Sun, 23 Jun 2019 22:43:35 +0000 (00:43 +0200)]
patch 8.1.1584: the evalfunc.c file is getting too big
Problem: The evalfunc.c file is getting too big.
Solution: Move channel and job related functions to channel.c.
Bram Moolenaar [Sat, 22 Jun 2019 23:46:15 +0000 (01:46 +0200)]
patch 8.1.1583: set_ref_in_list() only sets ref in items
Problem: Set_ref_in_list() only sets ref in items.
Solution: Rename to set_ref_in_list_items() to avoid confusion.
Bram Moolenaar [Sat, 22 Jun 2019 23:03:51 +0000 (01:03 +0200)]
patch 8.1.1582: cannot build with +textprop but without +timers
Problem: Cannot build with +textprop but without +timers.
Solution: Add #ifdef. (Ola Söder, closes #4574)
Bram Moolenaar [Sat, 22 Jun 2019 22:50:15 +0000 (00:50 +0200)]
patch 8.1.1581: shared functions for testing are disorganised
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes #4573)
Bram Moolenaar [Sat, 22 Jun 2019 22:15:57 +0000 (00:15 +0200)]
patch 8.1.1580: cannot make part of a popup transparent
Problem: Cannot make part of a popup transparent.
Solution: Add the "mask" option.
Bram Moolenaar [Sat, 22 Jun 2019 00:13:00 +0000 (02:13 +0200)]
Update runtime files
Bram Moolenaar [Fri, 21 Jun 2019 23:40:42 +0000 (01:40 +0200)]
patch 8.1.1579: dict and list could be GC'ed while displaying error
Problem: Dict and list could be GC'ed while displaying error in a timer.
(Yasuhiro Matsumoto)
Solution: Block garbage collection when executing a timer. Add
test_garbagecollect_soon(). Add "no_wait_return" to
test_override(). (closes #4571)
Bram Moolenaar [Fri, 21 Jun 2019 15:36:10 +0000 (17:36 +0200)]
patch 8.1.1578: MS-Windows: pathdef.c should depend on build options
Problem: MS-Windows: pathdef.c should depend on build options.
Solution: Generate pathdef.c in the object directory. Fix dependencies.
(Ken Takata, closes #4565)
Bram Moolenaar [Fri, 21 Jun 2019 00:30:38 +0000 (02:30 +0200)]
patch 8.1.1577: command line redrawn for +arabic without Arabic characters
Problem: Command line redrawn for +arabic without Arabic characters.
(Dominique Pelle)
Solution: Check if there actually are any Arabic characters. Do redraw
after displaying incsearch. (closes #4569)
Bram Moolenaar [Thu, 20 Jun 2019 22:12:29 +0000 (00:12 +0200)]
patch 8.1.1576: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Add "UNUSED" annotation. (Dominique Pelle, closes #4570)
Bram Moolenaar [Thu, 20 Jun 2019 01:45:36 +0000 (03:45 +0200)]
patch 8.1.1575: callbacks may be garbage collected
Problem: Callbacks may be garbage collected.
Solution: Set reference in callbacks. (Ozaki Kiichi, closes #4564)
Bram Moolenaar [Thu, 20 Jun 2019 00:31:49 +0000 (02:31 +0200)]
patch 8.1.1574: tabpage option not yet implemented for popup window
Problem: Tabpage option not yet implemented for popup window.
Solution: Implement tabpage option, also for popup_getoptions().
Bram Moolenaar [Wed, 19 Jun 2019 16:16:10 +0000 (18:16 +0200)]
patch 8.1.1573: textprop test fails if screenhots do not work
Problem: Textprop test fails if screenhots do not work.
Solution: Add check for screenhots working.
Bram Moolenaar [Wed, 19 Jun 2019 16:01:21 +0000 (18:01 +0200)]
patch 8.1.1572: compiler warnings with tiny build
Problem: Compiler warnings with tiny build. (Tony Mechelynck)
Solution: Add #ifdef.
Bram Moolenaar [Wed, 19 Jun 2019 15:34:24 +0000 (17:34 +0200)]
patch 8.1.1571: textprop highlight starts too early if just after a tab
Problem: textprop highlight starts too early if just after a tab.
Solution: Check if still drawing a previous character. (closes #4558)
Bram Moolenaar [Wed, 19 Jun 2019 14:31:28 +0000 (16:31 +0200)]
patch 8.1.1570: icon signs not displayed properly in the number column
Problem: Icon signs not displayed properly in the number column.
Solution: Display them properly. (Yegappan Lakshmanan, closes #4559)
Bram Moolenaar [Wed, 19 Jun 2019 12:28:43 +0000 (14:28 +0200)]
patch 8.1.1569: cannot build with signs but without diff feature
Problem: Cannot build with signs but without diff feature.
Solution: Move #ifdef. (Tom Ryder)
Bram Moolenaar [Tue, 18 Jun 2019 21:07:37 +0000 (23:07 +0200)]
patch 8.1.1568: strftime() test fails on MS-Windows
Problem: Strftime() test fails on MS-Windows.
Solution: Skip the check for using the $TZ environment variable.
Bram Moolenaar [Tue, 18 Jun 2019 20:53:24 +0000 (22:53 +0200)]
patch 8.1.1567: localtime_r() does not respond to $TZ changes
Problem: Localtime_r() does not respond to $TZ changes.
Solution: If $TZ changes then call tzset(). (Tom Ryder)
Bram Moolenaar [Mon, 17 Jun 2019 20:40:41 +0000 (22:40 +0200)]
patch 8.1.1566: error message when terminal closes in another tab
Problem: Error message when terminal closes while it is not in the current
tab.
Solution: Also set "do_set_w_closing" when using the special autocommand
window. (closes #4552)
Bram Moolenaar [Mon, 17 Jun 2019 20:19:33 +0000 (22:19 +0200)]
patch 8.1.1565: MS-Windows: no sound support
Problem: MS-Windows: no sound support.
Solution: Add sound support for MS-Windows. (Yasuhiro Matsumoto, Ken Takata,
closes #4522)
Bram Moolenaar [Mon, 17 Jun 2019 19:48:05 +0000 (21:48 +0200)]
patch 8.1.1564: sign column takes up space
Problem: Sign column takes up space. (Adam Stankiewicz)
Solution: Optionally put signs in the number column. (Yegappan Lakshmanan,
closes #4555, closes #4515)
Bram Moolenaar [Mon, 17 Jun 2019 19:18:41 +0000 (21:18 +0200)]
patch 8.1.1563: crash when using closures
Problem: Crash when using closures.
Solution: Set reference in varlist of funccal when running the garbage
collector. (Ozaki Kiichi, closes #4554, closes #4547)
Bram Moolenaar [Mon, 17 Jun 2019 18:05:45 +0000 (20:05 +0200)]
patch 8.1.1562: popup window not always redrawn after popup_setoptions()
Problem: Popup window not always redrawn after popup_setoptions().
Solution: Force a redraw.
Bram Moolenaar [Sun, 16 Jun 2019 20:54:14 +0000 (22:54 +0200)]
patch 8.1.1561: popup_setoptions() is not implemented yet
Problem: Popup_setoptions() is not implemented yet.
Solution: Implement popup_setoptions(). Also add more fields to
popup_getoptions().
Bram Moolenaar [Sun, 16 Jun 2019 18:39:13 +0000 (20:39 +0200)]
patch 8.1.1560: popup window hidden option not implemented yet
Problem: Popup window hidden option not implemented yet.
Solution: Implement the hidden option.
Bram Moolenaar [Sun, 16 Jun 2019 18:09:10 +0000 (20:09 +0200)]
patch 8.1.1559: popup window title property not implemented yet
Problem: Popup window title property not implemented yet.
Solution: Implement the title property.
Bram Moolenaar [Sun, 16 Jun 2019 17:05:31 +0000 (19:05 +0200)]
patch 8.1.1558: popup_menu() and popup_filter_menu() are not implemented yet
Problem: Popup_menu() and popup_filter_menu() are not implemented yet.
Solution: Implement the functions. Fix that centering didn't take the border
and padding into account.
Bram Moolenaar [Sun, 16 Jun 2019 14:41:41 +0000 (16:41 +0200)]
patch 8.1.1557: compiler warning for unused variables in tiny version
Problem: Compiler warning for unused variables in tiny version. (Tony
Mechelynck)
Solution: Add #ifdef.
Bram Moolenaar [Sun, 16 Jun 2019 14:14:20 +0000 (16:14 +0200)]
patch 8.1.1556: command for failing screenshot does not include directory
Problem: The command displayed to show a failing screenshot does not include
the "testdir" directory.
Solution: Prefix the directory name so that it can be copy-pasted.
Bram Moolenaar [Sun, 16 Jun 2019 13:50:45 +0000 (15:50 +0200)]
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().
Bram Moolenaar [Sun, 16 Jun 2019 13:41:58 +0000 (15:41 +0200)]
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)
Bram Moolenaar [Sun, 16 Jun 2019 13:32:14 +0000 (15:32 +0200)]
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.
Bram Moolenaar [Sun, 16 Jun 2019 11:55:40 +0000 (13:55 +0200)]
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().
Bram Moolenaar [Sat, 15 Jun 2019 21:10:30 +0000 (23:10 +0200)]
patch 8.1.1551: warning for shadowing popup_dragwin
Problem: Warning for shadowing popup_dragwin. (Dominique Pelle)
Solution: Add missing change.
Bram Moolenaar [Sat, 15 Jun 2019 20:27:23 +0000 (22:27 +0200)]
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.
Bram Moolenaar [Sat, 15 Jun 2019 19:56:17 +0000 (21:56 +0200)]
patch 8.1.1549: quickfix test fails
Problem: Quickfix test fails.
Solution: Negate result of bt_quickfix().
Bram Moolenaar [Sat, 15 Jun 2019 19:46:30 +0000 (21:46 +0200)]
patch 8.1.1548: popup_dialog() is not implemented
Problem: Popup_dialog() is not implemented.
Solution: Implement popup_dialog() and popup_filter_yesno().
Bram Moolenaar [Sat, 15 Jun 2019 17:37:15 +0000 (19:37 +0200)]
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().