]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1899: sign_place() does not work as documented v8.1.1899
Bram Moolenaar [Wed, 21 Aug 2019 11:20:29 +0000 (13:20 +0200)]
patch 8.1.1899: sign_place() does not work as documented

Problem:    sign_place() does not work as documented.
Solution:   Make accept line numbers like line(). (Yegappan Lakshmanan,
            closes #4848)

5 years agopatch 8.1.1898: crash when out of memory during startup v8.1.1898
Bram Moolenaar [Wed, 21 Aug 2019 11:06:55 +0000 (13:06 +0200)]
patch 8.1.1898: crash when out of memory during startup

Problem:    Crash when out of memory during startup.
Solution:   When out of memory message given during initialisation bail out.
            (closes #4842)

5 years agopatch 8.1.1897: may free memory twice when out of memory v8.1.1897
Bram Moolenaar [Wed, 21 Aug 2019 10:54:18 +0000 (12:54 +0200)]
patch 8.1.1897: may free memory twice when out of memory

Problem:    May free memory twice when out of memory.
Solution:   Check that backslash_halve_save() returns a different pointer.
            (Dominique Pelle, closes #4847)

5 years agopatch 8.1.1896: compiler warning for unused variable v8.1.1896
Bram Moolenaar [Tue, 20 Aug 2019 21:14:15 +0000 (23:14 +0200)]
patch 8.1.1896: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Add #ifdef. (John Marriott)  Missing part of 8.1.1892.

5 years agopatch 8.1.1895: using NULL pointer when out of memory v8.1.1895
Bram Moolenaar [Tue, 20 Aug 2019 20:58:37 +0000 (22:58 +0200)]
patch 8.1.1895: using NULL pointer when out of memory

Problem:    Using NULL pointer when out of memory.
Solution:   Bail out or skip the code using the pointer. (Zu-Ming Jiang,
            closes #4805, closes #4843, closes #4939, closes #4844)

5 years agopatch 8.1.1894: not checking for out-of-memory of autoload_name() v8.1.1894
Bram Moolenaar [Tue, 20 Aug 2019 19:58:00 +0000 (21:58 +0200)]
patch 8.1.1894: not checking for out-of-memory of autoload_name()

Problem:    Not checking for out-of-memory of autoload_name().
Solution:   Check for NULL. (Dominique Pelle, closes #4846)

5 years agopatch 8.1.1893: script to summarize test results can be improved v8.1.1893
Bram Moolenaar [Tue, 20 Aug 2019 19:25:46 +0000 (21:25 +0200)]
patch 8.1.1893: script to summarize test results can be improved

Problem:    Script to summarize test results can be improved.
Solution:   Use "silent" for substitute to avoid reporting number of matches.
            Remove duplicate "set nocp". (Daniel Hahler, closes #4845)

5 years agopatch 8.1.1892: missing index entry and option menu for 'completepopup' v8.1.1892
Bram Moolenaar [Tue, 20 Aug 2019 19:12:16 +0000 (21:12 +0200)]
patch 8.1.1892: missing index entry and option menu for 'completepopup'

Problem:    Missing index entry and option menu for 'completepopup'.
Solution:   Add the entries.  Adjust #ifdefs to avoid dead code.

5 years agopatch 8.1.1891: functions used in one file are global v8.1.1891
Bram Moolenaar [Tue, 20 Aug 2019 18:13:45 +0000 (20:13 +0200)]
patch 8.1.1891: functions used in one file are global

Problem:    Functions used in one file are global.
Solution:   Add "static". (Yegappan Lakshmanan, closes #4840)

5 years agopatch 8.1.1890: ml_get error when deleting fold marker v8.1.1890
Bram Moolenaar [Mon, 19 Aug 2019 20:48:30 +0000 (22:48 +0200)]
patch 8.1.1890: ml_get error when deleting fold marker

Problem:    Ml_get error when deleting fold marker.
Solution:   Check that the line number is not below the last line.  Adjust the
            fold when deleting the empty line.  (Christian Brabandt,
            closes #4834)

5 years agopatch 8.1.1889: Coverity warns for using a NULL pointer v8.1.1889
Bram Moolenaar [Mon, 19 Aug 2019 18:08:15 +0000 (20:08 +0200)]
patch 8.1.1889: Coverity warns for using a NULL pointer

Problem:    Coverity warns for using a NULL pointer.
Solution:   Use zero for column if pos is NULL.

5 years agopatch 8.1.1888: more functions can be used as methods v8.1.1888
Bram Moolenaar [Sun, 18 Aug 2019 21:01:56 +0000 (23:01 +0200)]
patch 8.1.1888: more functions can be used as methods

Problem:    More functions can be used as methods.
Solution:   Make various functions usable as a method.

5 years agopatch 8.1.1887: the +cmdline_compl feature is not in the tiny version v8.1.1887
Bram Moolenaar [Sun, 18 Aug 2019 20:26:31 +0000 (22:26 +0200)]
patch 8.1.1887: the +cmdline_compl feature is not in the tiny version

Problem:    The +cmdline_compl feature is not in the tiny version.
Solution:   Graduate the +cmdline_compl feature.

5 years agopatch 8.1.1886: command line expansion code is spread out v8.1.1886
Bram Moolenaar [Sun, 18 Aug 2019 19:44:12 +0000 (21:44 +0200)]
patch 8.1.1886: command line expansion code is spread out

Problem:    Command line expansion code is spread out.
Solution:   Move the code to cmdexpand.c. (Yegappan Lakshmanan, closes #4831)

5 years agopatch 8.1.1885: comments in libvterm are inconsistent v8.1.1885
Bram Moolenaar [Sun, 18 Aug 2019 18:41:38 +0000 (20:41 +0200)]
patch 8.1.1885: comments in libvterm are inconsistent

Problem:    Comments in libvterm are inconsistent.
Solution:   Use // comments.  Als update the table of combining characters.

5 years agopatch 8.1.1884: cannot use mouse scroll wheel in popup in Insert mode v8.1.1884
Bram Moolenaar [Sun, 18 Aug 2019 17:23:45 +0000 (19:23 +0200)]
patch 8.1.1884: cannot use mouse scroll wheel in popup in Insert mode

Problem:    Cannot use mouse scroll wheel in popup in Insert mode.  Mouse
            clicks in popup close the popup menu.
Solution:   Check if the mouse is in a popup window. Do not let mouse events
            close the popup menu.  (closes #4544)

5 years agopatch 8.1.1883: options test fails v8.1.1883
Bram Moolenaar [Sun, 18 Aug 2019 15:58:11 +0000 (17:58 +0200)]
patch 8.1.1883: options test fails

Problem:    Options test fails.
Solution:   Add entry for 'completepopup'.

5 years agopatch 8.1.1882: cannot specify properties of the info popup window v8.1.1882
Bram Moolenaar [Sun, 18 Aug 2019 14:35:23 +0000 (16:35 +0200)]
patch 8.1.1882: cannot specify properties of the info popup window

Problem:    Cannot specify properties of the info popup window.
Solution:   Add the 'completepopup' option.  Default to PmenuSel highlight.

5 years agopatch 8.1.1881: popup window test fails in some configurations v8.1.1881
Bram Moolenaar [Sun, 18 Aug 2019 13:42:10 +0000 (15:42 +0200)]
patch 8.1.1881: popup window test fails in some configurations

Problem:    Popup window test fails in some configurations.
Solution:   Check that screendumps can be made.

5 years agopatch 8.1.1880: cannot show extra info for completion in a popup window v8.1.1880
Bram Moolenaar [Sun, 18 Aug 2019 13:25:17 +0000 (15:25 +0200)]
patch 8.1.1880: cannot show extra info for completion in a popup window

Problem:    Cannot show extra info for completion in a popup window.
Solution:   Add the "popup" entry in 'completeopt'.

5 years agopatch 8.1.1879: more functions can be used as methods v8.1.1879
Bram Moolenaar [Sat, 17 Aug 2019 19:36:28 +0000 (21:36 +0200)]
patch 8.1.1879: more functions can be used as methods

Problem:    More functions can be used as methods.
Solution:   Make float functions usable as a method.

5 years agopatch 8.1.1878: negative float before method not parsed correctly v8.1.1878
Bram Moolenaar [Sat, 17 Aug 2019 19:04:16 +0000 (21:04 +0200)]
patch 8.1.1878: negative float before method not parsed correctly

Problem:    Negative float before method not parsed correctly.
Solution:   Apply "!" and "-" in front of expression before using ->.

5 years agopatch 8.1.1877: graduated features scattered v8.1.1877
Bram Moolenaar [Sat, 17 Aug 2019 18:17:51 +0000 (20:17 +0200)]
patch 8.1.1877: graduated features scattered

Problem:    Graduated features scattered.
Solution:   Put graduated and obsolete features together.

5 years agopatch 8.1.1876: proto file missing from distribution v8.1.1876
Bram Moolenaar [Sat, 17 Aug 2019 18:10:42 +0000 (20:10 +0200)]
patch 8.1.1876: proto file missing from distribution

Problem:    proto file missing from distribution
Solution:   Add the file.

5 years agoUpdate runtime files.
Bram Moolenaar [Sat, 17 Aug 2019 18:09:31 +0000 (20:09 +0200)]
Update runtime files.

5 years agopatch 8.1.1875: cannot get size and position of the popup menu v8.1.1875
Bram Moolenaar [Sat, 17 Aug 2019 17:36:06 +0000 (19:36 +0200)]
patch 8.1.1875: cannot get size and position of the popup menu

Problem:    Cannot get size and position of the popup menu.
Solution:   Add pum_getpos(). (Ben Jackson, closes #4827)

5 years agopatch 8.1.1874: modeless selection in popup window overlaps scrollbar v8.1.1874
Bram Moolenaar [Sat, 17 Aug 2019 17:10:53 +0000 (19:10 +0200)]
patch 8.1.1874: modeless selection in popup window overlaps scrollbar

Problem:    Modeless selection in popup window overlaps scrollbar.
Solution:   Subtract scrollbar from max_col. (closes #4773)

5 years agopatch 8.1.1873: cannot build tiny version v8.1.1873
Bram Moolenaar [Sat, 17 Aug 2019 15:50:07 +0000 (17:50 +0200)]
patch 8.1.1873: cannot build tiny version

Problem:    Cannot build tiny version.
Solution:   Remove #ifdef for is_autocmd_blocked().

5 years agopatch 8.1.1872: when Vim exits because of a signal, VimLeave is not triggered v8.1.1872
Bram Moolenaar [Sat, 17 Aug 2019 14:33:23 +0000 (16:33 +0200)]
patch 8.1.1872: when Vim exits because of a signal, VimLeave is not triggered

Problem:    When Vim exits because of a signal, VimLeave is not triggered.
            (Daniel Hahler)
Solution:   Unblock autocommands when triggering VimLeave. (closes #4818)

5 years agopatch 8.1.1871: modeless selection in GUI still not correct v8.1.1871
Bram Moolenaar [Sat, 17 Aug 2019 14:15:53 +0000 (16:15 +0200)]
patch 8.1.1871: modeless selection in GUI still not correct

Problem:    Modeless selection in GUI still not correct.
Solution:   Fix max_col.

5 years agopatch 8.1.1870: using :pedit from a help file sets help filetype v8.1.1870
Bram Moolenaar [Sat, 17 Aug 2019 13:08:00 +0000 (15:08 +0200)]
patch 8.1.1870: using :pedit from a help file sets help filetype

Problem:    Using :pedit from a help file sets the preview window to help
            filetype. (Wang Shidong)
Solution:   Do not set "keep_help_flag". (closes #3536)

5 years agopatch 8.1.1869: code for the argument list is spread out v8.1.1869
Bram Moolenaar [Sat, 17 Aug 2019 12:38:55 +0000 (14:38 +0200)]
patch 8.1.1869: code for the argument list is spread out

Problem:    Code for the argument list is spread out.
Solution:   Put argument list code in arglist.c. (Yegappan Lakshmanan,
            closes #4819)

5 years agopatch 8.1.1868: multi-byte chars in 'listchars' fail with 'linebreak' set v8.1.1868
Bram Moolenaar [Sat, 17 Aug 2019 12:10:56 +0000 (14:10 +0200)]
patch 8.1.1868: multi-byte chars in 'listchars' fail with 'linebreak' set

Problem:    Multibyte characters in 'listchars' don't work correctly if
            'linebreak' is also enabled. (Martin Tournoij)
Solution:   Make it work correctly. (Christian Brabandt, closes #4822,
            closes #4812)

5 years agopatch 8.1.1867: still a timer test that is flaky on Mac v8.1.1867
Bram Moolenaar [Sat, 17 Aug 2019 11:18:16 +0000 (13:18 +0200)]
patch 8.1.1867: still a timer test that is flaky on Mac

Problem:    Still a timer test that is flaky on Mac.
Solution:   Loop with a sleep instead of one fixed sleep.

5 years agopatch 8.1.1866: modeless selection in GUI does not work properly v8.1.1866
Bram Moolenaar [Fri, 16 Aug 2019 21:09:11 +0000 (23:09 +0200)]
patch 8.1.1866: modeless selection in GUI does not work properly

Problem:    Modeless selection in GUI does not work properly.
Solution:   Avoid going beyond the end of the line. (closes #4783)

5 years agopatch 8.1.1865: spellrare and spellrepall in the wrong order v8.1.1865
Bram Moolenaar [Fri, 16 Aug 2019 20:42:13 +0000 (22:42 +0200)]
patch 8.1.1865: spellrare and spellrepall in the wrong order

Problem:    Spellrare and spellrepall in the wrong order.
Solution:   Put spellrare below spellrepall. (closes #4820)

5 years agopatch 8.1.1864: still a timer test that is flaky on Mac v8.1.1864
Bram Moolenaar [Fri, 16 Aug 2019 20:29:18 +0000 (22:29 +0200)]
patch 8.1.1864: still a timer test that is flaky on Mac

Problem:    Still a timer test that is flaky on Mac.
Solution:   Adjust the sleep times.

5 years agopatch 8.1.1863: confusing error when using a builtin function as method v8.1.1863
Bram Moolenaar [Fri, 16 Aug 2019 20:22:31 +0000 (22:22 +0200)]
patch 8.1.1863: confusing error when using a builtin function as method

Problem:    Confusing error when using a builtin function as method while it
            does not support that.
Solution:   Add a specific error message.

5 years agopatch 8.1.1862: Coverity warns for not using return value v8.1.1862
Bram Moolenaar [Fri, 16 Aug 2019 19:54:27 +0000 (21:54 +0200)]
patch 8.1.1862: Coverity warns for not using return value

Problem:    Coverity warns for not using return value.
Solution:   Add "(void)" to avoid the warning.

5 years agopatch 8.1.1861: only some assert functions can be used as a method v8.1.1861
Bram Moolenaar [Fri, 16 Aug 2019 19:49:22 +0000 (21:49 +0200)]
patch 8.1.1861: only some assert functions can be used as a method

Problem:    Only some assert functions can be used as a method.
Solution:   Allow using most assert functions as a method.

5 years agopatch 8.1.1860: map timeout test is flaky v8.1.1860
Bram Moolenaar [Fri, 16 Aug 2019 19:47:27 +0000 (21:47 +0200)]
patch 8.1.1860: map timeout test is flaky

Problem:    Map timeout test is flaky.
Solution:   Add test to list of flaky tests.  Increase timeout.

5 years agopatch 8.1.1859: timer test sometimes fails on Mac v8.1.1859
Bram Moolenaar [Fri, 16 Aug 2019 19:22:41 +0000 (21:22 +0200)]
patch 8.1.1859: timer test sometimes fails on Mac

Problem:    Timer test sometimes fails on Mac.
Solution:   Show more info when it fails.

5 years agopatch 8.1.1858: test for multi-byte mapping fails on some systems v8.1.1858
Bram Moolenaar [Fri, 16 Aug 2019 18:56:03 +0000 (20:56 +0200)]
patch 8.1.1858: test for multi-byte mapping fails on some systems

Problem:    Test for multi-byte mapping fails on some systems.
Solution:   Test in another way.

5 years agopatch 8.1.1857: cannot use modifier with multi-byte character v8.1.1857
Bram Moolenaar [Fri, 16 Aug 2019 18:33:05 +0000 (20:33 +0200)]
patch 8.1.1857: cannot use modifier with multi-byte character

Problem:    Cannot use modifier with multi-byte character.
Solution:   Allow using a multi-byte character, although it doesn't work
            everywhere.

5 years agopatch 8.1.1856: popup preview test fails sometimes v8.1.1856
Bram Moolenaar [Fri, 16 Aug 2019 15:31:15 +0000 (17:31 +0200)]
patch 8.1.1856: popup preview test fails sometimes

Problem:    popup preview test fails sometimes. (Christian Brabandt)
Solution:   Clear the command line.

5 years agopatch 8.1.1855: another failing timer test v8.1.1855
Bram Moolenaar [Fri, 16 Aug 2019 09:26:06 +0000 (11:26 +0200)]
patch 8.1.1855: another failing timer test

Problem:    Another failing timer test.
Solution:   Assert that timers are finished by the end of the test.  Rename
            test functions to make them easier to find.

5 years agopatch 8.1.1854: now another timer test is flaky v8.1.1854
Bram Moolenaar [Fri, 16 Aug 2019 08:51:10 +0000 (10:51 +0200)]
patch 8.1.1854: now another timer test is flaky

Problem:    Now another timer test is flaky.
Solution:   Add test to list of flaky tests.

5 years agopatch 8.1.1853: timers test is still flaky v8.1.1853
Bram Moolenaar [Fri, 16 Aug 2019 08:27:13 +0000 (10:27 +0200)]
patch 8.1.1853: timers test is still flaky

Problem:    Timers test is still flaky.
Solution:   Compute the time to sleep more accurately.

5 years agopatch 8.1.1852: timers test is flaky v8.1.1852
Bram Moolenaar [Thu, 15 Aug 2019 21:42:21 +0000 (23:42 +0200)]
patch 8.1.1852: timers test is flaky

Problem:    Timers test is flaky.
Solution:   Accept a larger count.  Add test to list of flaky tests.

5 years agopatch 8.1.1851: crash when sound_playfile() callback plays sound v8.1.1851
Bram Moolenaar [Thu, 15 Aug 2019 21:05:49 +0000 (23:05 +0200)]
patch 8.1.1851: crash when sound_playfile() callback plays sound

Problem:    Crash when sound_playfile() callback plays sound.
Solution:   Invoke callback later from event loop.

5 years agopatch 8.1.1850: focus may remain in popup window v8.1.1850
Bram Moolenaar [Thu, 15 Aug 2019 19:34:34 +0000 (21:34 +0200)]
patch 8.1.1850: focus may remain in popup window

Problem:    Focus may remain in popup window.
Solution:   Change focus if needed.

5 years agopatch 8.1.1849 v8.1.1849
Bram Moolenaar [Thu, 15 Aug 2019 19:31:52 +0000 (21:31 +0200)]
patch 8.1.1849

5 years agopatch 8.1.1848: 'langmap' is not used for CTRL-W command in terminal v8.1.1848
Bram Moolenaar [Thu, 15 Aug 2019 18:58:54 +0000 (20:58 +0200)]
patch 8.1.1848: 'langmap' is not used for CTRL-W command in terminal

Problem:    'langmap' is not used for CTRL-W command in terminal.
Solution:   Push the command in the typeahead buffer instead of the stuff
            buffer. (closes #4814)

5 years agopatch 8.1.1847: suspend test is failing v8.1.1847
Bram Moolenaar [Thu, 15 Aug 2019 09:21:15 +0000 (11:21 +0200)]
patch 8.1.1847: suspend test is failing

Problem:    Suspend test is failing.
Solution:   Do not use GetVimCommandClean().

5 years agopatch 8.1.1846: inconsistently using GetVimCommand() and v:progpath v8.1.1846
Bram Moolenaar [Wed, 14 Aug 2019 19:12:05 +0000 (21:12 +0200)]
patch 8.1.1846: inconsistently using GetVimCommand() and v:progpath

Problem:    Inconsistently using GetVimCommand() and v:progpath. (Daniel
            Hahler)
Solution:   Use GetVimCommand(). (closes #4806)

5 years agopatch 8.1.1845: may use NULL pointer when running out of memory v8.1.1845
Bram Moolenaar [Tue, 13 Aug 2019 21:09:49 +0000 (23:09 +0200)]
patch 8.1.1845: may use NULL pointer when running out of memory

Problem:    May use NULL pointer when running out of memory.
Solution:   Do not clear popup buffers when NULL. (closes #4802)

5 years agopatch 8.1.1844: buffer no longer unloaded when adding text properties v8.1.1844
Bram Moolenaar [Tue, 13 Aug 2019 20:27:32 +0000 (22:27 +0200)]
patch 8.1.1844: buffer no longer unloaded when adding text properties

Problem:    Buffer no longer unloaded when adding text properties to it.
Solution:   Do not create the memfile. (closes #4808)

5 years agopatch 8.1.1843: might be freeing memory that was not allocated v8.1.1843
Bram Moolenaar [Mon, 12 Aug 2019 22:18:24 +0000 (00:18 +0200)]
patch 8.1.1843: might be freeing memory that was not allocated

Problem:    Might be freeing memory that was not allocated.
Solution:   Have next_fenc() set the fenc_alloced flag. (closes #4804)

5 years agopatch 8.1.1842: test listed as flaky should no longer be flaky v8.1.1842
Bram Moolenaar [Mon, 12 Aug 2019 21:56:20 +0000 (23:56 +0200)]
patch 8.1.1842: test listed as flaky should no longer be flaky

Problem:    Test listed as flaky should no longer be flaky.
Solution:   Remove Test_popup_and_window_resize from the list of flaky tests.
            (Daniel Hahler, close #4807)

5 years agopatch 8.1.1841: no test for Ex shift commands v8.1.1841
Bram Moolenaar [Mon, 12 Aug 2019 12:38:02 +0000 (14:38 +0200)]
patch 8.1.1841: no test for Ex shift commands

Problem:    No test for Ex shift commands.
Solution:   Add a test. (Dominique Pelle, closes #4801)

5 years agopatch 8.1.1840: Testing: WorkingClipboard() is not accurate v8.1.1840
Bram Moolenaar [Mon, 12 Aug 2019 12:20:33 +0000 (14:20 +0200)]
patch 8.1.1840: Testing: WorkingClipboard() is not accurate

Problem:    Testing: WorkingClipboard() is not accurate.
Solution:   Check feature clipboard_working instead.

5 years agopatch 8.1.1839: insufficient info when test fails because of screen size v8.1.1839
Bram Moolenaar [Sun, 11 Aug 2019 20:56:15 +0000 (22:56 +0200)]
patch 8.1.1839: insufficient info when test fails because of screen size

Problem:    Insufficient info when test fails because of screen size.
Solution:   Report the detected screen size.

5 years agopatch 8.1.1838: there is :spellwrong and :spellgood but not :spellrare v8.1.1838
Bram Moolenaar [Sun, 11 Aug 2019 20:51:14 +0000 (22:51 +0200)]
patch 8.1.1838: there is :spellwrong and :spellgood but not :spellrare

Problem:    There is :spellwrong and :spellgood but not :spellrare.
Solution:   Add :spellrare. (Martin Tournoij, closes #4291)

5 years agopatch 8.1.1837: popup test fails if clipboard is supported but not working v8.1.1837
Bram Moolenaar [Sat, 10 Aug 2019 20:21:48 +0000 (22:21 +0200)]
patch 8.1.1837: popup test fails if clipboard is supported but not working

Problem:    Popup test fails if clipboard is supported but not working.
Solution:   Add the "clipboard_working" feature. Also use Check commands
            instead of "if" and "throw".  And remove stray ch_logfile().

5 years agopatch 8.1.1836: inaccurate memory estimate for Amiga-like OS v8.1.1836
Bram Moolenaar [Sat, 10 Aug 2019 12:54:20 +0000 (14:54 +0200)]
patch 8.1.1836: inaccurate memory estimate for Amiga-like OS

Problem:    Inaccurate memory estimate for Amiga-like OS.
Solution:   Adjust #ifdef for AvailMem(). (Ola Söder, closes #4797)

5 years agopatch 8.1.1835: cannot use printf() as a method v8.1.1835
Bram Moolenaar [Fri, 9 Aug 2019 22:13:30 +0000 (00:13 +0200)]
patch 8.1.1835: cannot use printf() as a method

Problem:    Cannot use printf() as a method.
Solution:   Pass the base as the second argument to printf().

5 years agopatch 8.1.1834: cannot use a lambda as a method v8.1.1834
Bram Moolenaar [Fri, 9 Aug 2019 21:25:08 +0000 (23:25 +0200)]
patch 8.1.1834: cannot use a lambda as a method

Problem:    Cannot use a lambda as a method.
Solution:   Implement ->{lambda}(). (closes #4768)

5 years agopatch 8.1.1833: allocating a bit too much when there is no bad word. v8.1.1833
Bram Moolenaar [Fri, 9 Aug 2019 15:01:02 +0000 (17:01 +0200)]
patch 8.1.1833: allocating a bit too much when there is no bad word.

Problem:    Allocating a bit too much when spellbadword() does not find a bad
            word.
Solution:   Reset "len" when going to the next word. (Daniel Hahler,
            closes #4788)

5 years agopatch 8.1.1832: win_execute() does not work in other tab v8.1.1832
Bram Moolenaar [Fri, 9 Aug 2019 12:56:22 +0000 (14:56 +0200)]
patch 8.1.1832: win_execute() does not work in other tab

Problem:    Win_execute() does not work in other tab. (Rick Howe)
Solution:   Take care of the tab. (closes #4792)

5 years agopatch 8.1.1831: confusing skipped message v8.1.1831
Bram Moolenaar [Fri, 9 Aug 2019 12:13:57 +0000 (14:13 +0200)]
patch 8.1.1831: confusing skipped message

Problem:    Confusing skipped message.
Solution:   Drop "run" from "run start the GUI".

5 years agoUpdate runtime files.
Bram Moolenaar [Thu, 8 Aug 2019 20:15:18 +0000 (22:15 +0200)]
Update runtime files.

5 years agopatch 8.1.1830: Travis does not report error when tests fail v8.1.1830
Bram Moolenaar [Thu, 8 Aug 2019 20:02:35 +0000 (22:02 +0200)]
patch 8.1.1830: Travis does not report error when tests fail

Problem:    Travis does not report error when tests fail.
Solution:   Explicitly do "exit 1".

5 years agopatch 8.1.1829: difference in screenshots v8.1.1829
Bram Moolenaar [Thu, 8 Aug 2019 19:52:39 +0000 (21:52 +0200)]
patch 8.1.1829: difference in screenshots

Problem:    Difference in screenshots.
Solution:   Update screenshots.  Change checks in a few more tests.
            (closes #4789)

5 years agopatch 8.1.1828: not strict enough checking syntax of method invocation v8.1.1828
Bram Moolenaar [Thu, 8 Aug 2019 19:10:01 +0000 (21:10 +0200)]
patch 8.1.1828: not strict enough checking syntax of method invocation

Problem:    Not strict enough checking syntax of method invocation.
Solution:   Check there is no white space inside ->method(.

5 years agopatch 8.1.1827: allocating more memory than needed for extended structs v8.1.1827
Bram Moolenaar [Thu, 8 Aug 2019 18:49:14 +0000 (20:49 +0200)]
patch 8.1.1827: allocating more memory than needed for extended structs

Problem:    Allocating more memory than needed for extended structs.
Solution:   Use offsetof() instead of sizeof(). (Dominique Pelle,
            closes #4786)

5 years agopatch 8.1.1826: tests use hand coded feature and option checks v8.1.1826
Bram Moolenaar [Wed, 7 Aug 2019 21:07:07 +0000 (23:07 +0200)]
patch 8.1.1826: tests use hand coded feature and option checks

Problem:    Tests use hand coded feature and option checks.
Solution:   Use the commands from check.vim in more tests.

5 years agopatch 8.1.1825: allocating more memory than needed for extended structs v8.1.1825
Bram Moolenaar [Wed, 7 Aug 2019 19:42:24 +0000 (21:42 +0200)]
patch 8.1.1825: allocating more memory than needed for extended structs

Problem:    Allocating more memory than needed for extended structs.
Solution:   Use offsetof() instead of sizeof(). (Dominique Pelle,
            closes #4785)

5 years agopatch 8.1.1824: crash when correctly spelled word is very long v8.1.1824
Bram Moolenaar [Tue, 6 Aug 2019 20:48:02 +0000 (22:48 +0200)]
patch 8.1.1824: crash when correctly spelled word is very long

Problem:    Crash when correctly spelled word is very long. (Ben Kraft)
Solution:   Check word length before copying. (closes #4778)

5 years agopatch 8.1.1823: command line history code is spread out v8.1.1823
Bram Moolenaar [Tue, 6 Aug 2019 19:59:57 +0000 (21:59 +0200)]
patch 8.1.1823: command line history code is spread out

Problem:    Command line history code is spread out.
Solution:   Put the code in a new file. (Yegappan Lakshmanan, closes #4779)
            Also graduate the +cmdline_hist feature.

5 years agopatch 8.1.1822: confusing error message when range is not allowed v8.1.1822
Bram Moolenaar [Tue, 6 Aug 2019 19:29:29 +0000 (21:29 +0200)]
patch 8.1.1822: confusing error message when range is not allowed

Problem:    Confusing error message when range is not allowed.
Solution:   With ADDR_NONE give e_norange.  Change e_invaddr to e_invrange for
            consistency.

5 years agopatch 8.1.1821: no test for wrong number of method arguments v8.1.1821
Bram Moolenaar [Tue, 6 Aug 2019 18:34:10 +0000 (20:34 +0200)]
patch 8.1.1821: no test for wrong number of method arguments

Problem:    No test for wrong number of method arguments.
Solution:   Add a test.

5 years agopatch 8.1.1820: using expr->FuncRef() does not work v8.1.1820
Bram Moolenaar [Mon, 5 Aug 2019 21:10:16 +0000 (23:10 +0200)]
patch 8.1.1820: using expr->FuncRef() does not work

Problem:    Using expr->FuncRef() does not work.
Solution:   Make FuncRef work as a method.

5 years agopatch 8.1.1819: :pedit does not work with a popup preview window v8.1.1819
Bram Moolenaar [Mon, 5 Aug 2019 19:52:04 +0000 (21:52 +0200)]
patch 8.1.1819: :pedit does not work with a popup preview window

Problem:    :pedit does not work with a popup preview window.
Solution:   Avoid aborting with an error. (fixes #4777)  Also double check
            that after prepare_tagpreview() the current window is not a
            popup window.

5 years agopatch 8.1.1818: unused variable v8.1.1818
Bram Moolenaar [Mon, 5 Aug 2019 18:18:14 +0000 (20:18 +0200)]
patch 8.1.1818: unused variable

Problem:    Unused variable.
Solution:   Remove the variable. (Mike Williams)

5 years agopatch 8.1.1817: github contribution text is incomplete v8.1.1817
Bram Moolenaar [Sun, 4 Aug 2019 21:22:08 +0000 (23:22 +0200)]
patch 8.1.1817: github contribution text is incomplete

Problem:    Github contribution text is incomplete.
Solution:   Update the text.

5 years agopatch 8.1.1816: cannot use a user defined function as a method v8.1.1816
Bram Moolenaar [Sun, 4 Aug 2019 21:04:39 +0000 (23:04 +0200)]
patch 8.1.1816: cannot use a user defined function as a method

Problem:    Cannot use a user defined function as a method.
Solution:   Pass the base as the first argument to the user defined function
            after "->". (partly by FUJIWARA Takuya)

5 years agopatch 8.1.1815: duplicating info for internal functions v8.1.1815
Bram Moolenaar [Sun, 4 Aug 2019 19:35:12 +0000 (21:35 +0200)]
patch 8.1.1815: duplicating info for internal functions

Problem:    Duplicating info for internal functions.
Solution:   Use one table to list internal functions.

5 years agopatch 8.1.1814: a long title in a popup window overflows v8.1.1814
Bram Moolenaar [Sun, 4 Aug 2019 19:12:15 +0000 (21:12 +0200)]
patch 8.1.1814: a long title in a popup window overflows

Problem:    A long title in a popup window overflows.
Solution:   Truncate the title. (closes #4770)

5 years agopatch 8.1.1813: ATTENTION prompt for a preview popup window v8.1.1813
Bram Moolenaar [Sun, 4 Aug 2019 18:44:19 +0000 (20:44 +0200)]
patch 8.1.1813: ATTENTION prompt for a preview popup window

Problem:    ATTENTION prompt for a preview popup window.
Solution:   Close the popup window if aborting the buffer load.  Avoid getting
            the ATTENTION dialog.

5 years agopatch 8.1.1812: reading a truncted undo file hangs Vim v8.1.1812
Bram Moolenaar [Sun, 4 Aug 2019 16:55:35 +0000 (18:55 +0200)]
patch 8.1.1812: reading a truncted undo file hangs Vim

Problem:    Reading a truncted undo file hangs Vim.
Solution:   Check for reading EOF. (closes #4769)

5 years agopatch 8.1.1811: popup window color cannot be set to "Normal" v8.1.1811
Bram Moolenaar [Sun, 4 Aug 2019 16:13:46 +0000 (18:13 +0200)]
patch 8.1.1811: popup window color cannot be set to "Normal"

Problem:    Popup window color cannot be set to "Normal".
Solution:   Check for non-empty 'wincolor' instead of zero attribute.
            (closes #4772)

5 years agopatch 8.1.1810: popup_getoptions() is missing an entry for "mapping" v8.1.1810
Bram Moolenaar [Sun, 4 Aug 2019 15:59:49 +0000 (17:59 +0200)]
patch 8.1.1810: popup_getoptions() is missing an entry for "mapping"

Problem:    Popup_getoptions() is missing an entry for "mapping".
Solution:   Add the entry.

5 years agopatch 8.1.1809: more functions can be used as a method v8.1.1809
Bram Moolenaar [Sun, 4 Aug 2019 15:35:53 +0000 (17:35 +0200)]
patch 8.1.1809: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Add has_key(), split(), str2list(), etc.

5 years agopatch 8.1.1808: build failure for tiny version v8.1.1808
Bram Moolenaar [Sun, 4 Aug 2019 13:30:16 +0000 (15:30 +0200)]
patch 8.1.1808: build failure for tiny version

Problem:    Build failure for tiny version.
Solution:   Define ex_eval to ex_ni.  Clean up the ordering a bit.

5 years agopatch 8.1.1807: more functions can be used as a method v8.1.1807
Bram Moolenaar [Sun, 4 Aug 2019 13:04:10 +0000 (15:04 +0200)]
patch 8.1.1807: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Add append(), appendbufline(), assert_equal(), etc.
            Also add the :eval command.

5 years agopatch 8.1.1806: test for display updating doesn't check without statusline v8.1.1806
Bram Moolenaar [Sat, 3 Aug 2019 21:30:21 +0000 (23:30 +0200)]
patch 8.1.1806: test for display updating doesn't check without statusline

Problem:    Test for display updating doesn't check without statusline.
Solution:   Add screenshots without a status line.

5 years agopatch 8.1.1805: au_did_filetype is declared twice v8.1.1805
Bram Moolenaar [Sat, 3 Aug 2019 21:08:14 +0000 (23:08 +0200)]
patch 8.1.1805: au_did_filetype is declared twice

Problem:    Au_did_filetype is declared twice.
Solution:   Remove it from autocmd.c. (closes #4767)

5 years agopatch 8.1.1804: no test for display updating without a scroll region v8.1.1804
Bram Moolenaar [Sat, 3 Aug 2019 20:55:50 +0000 (22:55 +0200)]
patch 8.1.1804: no test for display updating without a scroll region

Problem:    No test for display updating without a scroll region.
Solution:   Add a test.

5 years agopatch 8.1.1803: all builtin functions are global v8.1.1803
Bram Moolenaar [Sat, 3 Aug 2019 19:58:38 +0000 (21:58 +0200)]
patch 8.1.1803: all builtin functions are global

Problem:    All builtin functions are global.
Solution:   Add the method call operator ->.  Implemented for a limited number
            of functions.

5 years agopatch 8.1.1802: missing change to call_callback() v8.1.1802
Bram Moolenaar [Sat, 3 Aug 2019 16:31:11 +0000 (18:31 +0200)]
patch 8.1.1802: missing change to call_callback()

Problem:    Missing change to call_callback().
Solution:   Add missing change.