]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.1.1996: more functions can be used as methods v8.1.1996
Bram Moolenaar [Fri, 6 Sep 2019 20:46:09 +0000 (22:46 +0200)]
patch 8.1.1996: 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.1995: more functions can be used as methods v8.1.1995
Bram Moolenaar [Fri, 6 Sep 2019 20:00:54 +0000 (22:00 +0200)]
patch 8.1.1995: more functions can be used as methods

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

5 years agopatch 8.1.1994: MS-Windows: cannot build with eval but without cscope v8.1.1994
Bram Moolenaar [Fri, 6 Sep 2019 19:46:15 +0000 (21:46 +0200)]
patch 8.1.1994: MS-Windows: cannot build with eval but without cscope

Problem:    MS-Windows: cannot build with eval but without cscope
Solution:   Adjust the makefiles to always build if_cscope.obj.

5 years agopatch 8.1.1993: more functions can be used as methods v8.1.1993
Bram Moolenaar [Fri, 6 Sep 2019 19:34:30 +0000 (21:34 +0200)]
patch 8.1.1993: 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.1992: the search stat moves when wrapping at the end of the buffer v8.1.1992
Bram Moolenaar [Fri, 6 Sep 2019 18:40:21 +0000 (20:40 +0200)]
patch 8.1.1992: the search stat moves when wrapping at the end of the buffer

Problem:    The search stat moves when wrapping at the end of the buffer.
Solution:   Put the "W" in front instead of at the end.

5 years agopatch 8.1.1991: still cannot build with eval but without cscope v8.1.1991
Bram Moolenaar [Thu, 5 Sep 2019 21:04:02 +0000 (23:04 +0200)]
patch 8.1.1991: still cannot build with eval but without cscope

Problem:    Still cannot build with eval but without cscope.
Solution:   Move f_cscope_connection() outside of #ifdef.

5 years agopatch 8.1.1990: cannot build with eval but without cscope v8.1.1990
Bram Moolenaar [Thu, 5 Sep 2019 20:50:11 +0000 (22:50 +0200)]
patch 8.1.1990: cannot build with eval but without cscope

Problem:    Cannot build with eval but without cscope.
Solution:   Always include if_cscope.pro.

5 years agopatch 8.1.1989: the evalfunc.c file is still too big v8.1.1989
Bram Moolenaar [Thu, 5 Sep 2019 20:33:28 +0000 (22:33 +0200)]
patch 8.1.1989: the evalfunc.c file is still too big

Problem:    The evalfunc.c file is still too big.
Solution:   Move f_pathshorten() to filepath.c.  Move f_cscope_connection() to
            if_cscope.c.  Move diff_ functions to diff.c.  Move timer_
            functions to ex_cmds2.c.  move callback functions to evalvars.c.

5 years agopatch 8.1.1988: :startinsert! does not work the same way as "A" v8.1.1988
Bram Moolenaar [Thu, 5 Sep 2019 19:29:01 +0000 (21:29 +0200)]
patch 8.1.1988: :startinsert! does not work the same way as "A"

Problem:    :startinsert! does not work the same way as "A".
Solution:   Use the same code to move the cursor. (closes #4896)

5 years agopatch 8.1.1987: more functions can be used as methods v8.1.1987
Bram Moolenaar [Wed, 4 Sep 2019 20:29:14 +0000 (22:29 +0200)]
patch 8.1.1987: 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.1986: more functions can be used as methods v8.1.1986
Bram Moolenaar [Wed, 4 Sep 2019 19:57:18 +0000 (21:57 +0200)]
patch 8.1.1986: more functions can be used as methods

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

5 years agopatch 8.1.1985: code for dealing with paths is spread out v8.1.1985
Bram Moolenaar [Wed, 4 Sep 2019 18:59:15 +0000 (20:59 +0200)]
patch 8.1.1985: code for dealing with paths is spread out

Problem:    Code for dealing with paths is spread out.
Solution:   Move path related functions from misc1.c to filepath.c.
            Remove NO_EXPANDPATH.

5 years agopatch 8.1.1984: more functions can be used as methods v8.1.1984
Bram Moolenaar [Wed, 4 Sep 2019 18:05:59 +0000 (20:05 +0200)]
patch 8.1.1984: 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.1983: compiler nags for uninitialized variable and unused function v8.1.1983
Bram Moolenaar [Wed, 4 Sep 2019 16:53:12 +0000 (18:53 +0200)]
patch 8.1.1983: compiler nags for uninitialized variable and unused function

Problem:    Compiler nags for uninitialized variable and unused function.
Solution:   Add unnecessary initialization.  Move function inside #ifdef.

5 years agopatch 8.1.1982: more functions can be used as methods v8.1.1982
Bram Moolenaar [Wed, 4 Sep 2019 16:15:19 +0000 (18:15 +0200)]
patch 8.1.1982: more functions can be used as methods

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

5 years agopatch 8.1.1981: the evalfunc.c file is too big v8.1.1981
Bram Moolenaar [Wed, 4 Sep 2019 15:48:15 +0000 (17:48 +0200)]
patch 8.1.1981: the evalfunc.c file is too big

Problem:    The evalfunc.c file is too big.
Solution:   Move undo functions to undo.c.  Move cmdline functions to
            ex_getln.c.  Move some container functions to list.c.

5 years agopatch 8.1.1980: fix for search stat not tested v8.1.1980
Bram Moolenaar [Wed, 4 Sep 2019 14:32:36 +0000 (16:32 +0200)]
patch 8.1.1980: fix for search stat not tested

Problem:    Fix for search stat not tested.
Solution:   Add a screenshot test. (Christian Brabandt)

5 years agopatch 8.1.1979: code for handling file names is spread out v8.1.1979
Bram Moolenaar [Wed, 4 Sep 2019 13:54:55 +0000 (15:54 +0200)]
patch 8.1.1979: code for handling file names is spread out

Problem:    Code for handling file names is spread out.
Solution:   Move code to new filepath.c file.  Graduate FEAT_MODIFY_FNAME.

5 years agopatch 8.1.1978: the eval.c file is too big v8.1.1978
Bram Moolenaar [Wed, 4 Sep 2019 12:41:14 +0000 (14:41 +0200)]
patch 8.1.1978: the eval.c file is too big

Problem:    The eval.c file is too big.
Solution:   Move filter() and map() to list.c.

5 years agopatch 8.1.1977: terminal debugger plugin may hang v8.1.1977
Bram Moolenaar [Wed, 4 Sep 2019 12:24:24 +0000 (14:24 +0200)]
patch 8.1.1977: terminal debugger plugin may hang

Problem:    Terminal debugger plugin may hang.
Solution:   Wait longer when still reading symbols.

5 years agopatch 8.1.1976: Travis log always shows test output v8.1.1976
Bram Moolenaar [Wed, 4 Sep 2019 12:11:16 +0000 (14:11 +0200)]
patch 8.1.1976: Travis log always shows test output

Problem:    Travis log always shows test output.
Solution:   Change script to avoid if/else. (Ozaki Kiichi, closes #4892)

5 years agopatch 8.1.1975: MS-Windows GUI responds slowly to timer v8.1.1975
Bram Moolenaar [Wed, 4 Sep 2019 11:53:21 +0000 (13:53 +0200)]
patch 8.1.1975: MS-Windows GUI responds slowly to timer

Problem:    MS-Windows GUI responds slowly to timer.
Solution:   Break out of wait loop when timer was added or input is available.
            (closes #4893)

5 years agopatch 8.1.1974: Coverity warns for using pointer as array v8.1.1974
Bram Moolenaar [Wed, 4 Sep 2019 11:21:26 +0000 (13:21 +0200)]
patch 8.1.1974: Coverity warns for using pointer as array

Problem:    Coverity warns for using pointer as array.
Solution:   Call var2fpos() directly instead of using f_line().

5 years agopatch 8.1.1973: cannot build without the quickfix feature v8.1.1973
Bram Moolenaar [Wed, 4 Sep 2019 09:51:17 +0000 (11:51 +0200)]
patch 8.1.1973: cannot build without the quickfix feature

Problem:    Cannot build without the quickfix feature.
Solution:   Remove #ifdef for qf_info_T.

5 years agopatch 8.1.1972: no proper test for getchar() v8.1.1972
Bram Moolenaar [Tue, 3 Sep 2019 21:37:01 +0000 (23:37 +0200)]
patch 8.1.1972: no proper test for getchar()

Problem:    No proper test for getchar().
Solution:   Add a test with special characters.

5 years agopatch 8.1.1971: manually enabling features causes build errors v8.1.1971
Bram Moolenaar [Tue, 3 Sep 2019 21:20:05 +0000 (23:20 +0200)]
patch 8.1.1971: manually enabling features causes build errors

Problem:    Manually enabling features causes build errors. (John Marriott)
Solution:   Adjust #ifdefs.

5 years agopatch 8.1.1970: search stat space wrong, no test for 8.1.1965 v8.1.1970
Bram Moolenaar [Tue, 3 Sep 2019 20:23:38 +0000 (22:23 +0200)]
patch 8.1.1970: search stat space wrong, no test for 8.1.1965

Problem:    Search stat space wrong, no test for 8.1.1965.
Solution:   Fix check for cmd_silent.  Add a test. (Christian Brabandt)

5 years agopatch 8.1.1969: popup window filter is used in all modes v8.1.1969
Bram Moolenaar [Tue, 3 Sep 2019 20:08:33 +0000 (22:08 +0200)]
patch 8.1.1969: popup window filter is used in all modes

Problem:    Popup window filter is used in all modes.
Solution:   Add the "filtermode" property.

5 years agopatch 8.1.1968: crash when using nested map() v8.1.1968
Bram Moolenaar [Tue, 3 Sep 2019 15:13:37 +0000 (17:13 +0200)]
patch 8.1.1968: crash when using nested map()

Problem:    Crash when using nested map().
Solution:   Clear the pointer in prepare_vimvar(). (Ozaki Kiichi,
            closes #4890, closes #4891)

5 years agopatch 8.1.1967: line() only works for the current window v8.1.1967
Bram Moolenaar [Mon, 2 Sep 2019 20:56:24 +0000 (22:56 +0200)]
patch 8.1.1967: line() only works for the current window

Problem:    Line() only works for the current window.
Solution:   Add an optional argument for the window to use.

5 years agopatch 8.1.1966: some code in options.c fits better elsewhere v8.1.1966
Bram Moolenaar [Mon, 2 Sep 2019 20:31:11 +0000 (22:31 +0200)]
patch 8.1.1966: some code in options.c fits better elsewhere

Problem:    Some code in options.c fits better elsewhere.
Solution:   Move functions from options.c to other files. (Yegappan
            Lakshmanan, closes #4889)

5 years agopatch 8.1.1965: search count message is not displayed when using a mapping v8.1.1965
Bram Moolenaar [Mon, 2 Sep 2019 19:44:59 +0000 (21:44 +0200)]
patch 8.1.1965: search count message is not displayed when using a mapping

Problem:    The search count message is not displayed when using a mapping.
            (Gary Johnson)
Solution:   Ignore cmd_silent for showing the search count. (Christian
            Brabandt)

5 years agopatch 8.1.1964: crash when using nested map() and filter() v8.1.1964
Bram Moolenaar [Mon, 2 Sep 2019 18:44:07 +0000 (20:44 +0200)]
patch 8.1.1964: crash when using nested map() and filter()

Problem:    Crash when using nested map() and filter().
Solution:   Do not set the v:key type to string without clearing the pointer.

5 years agopatch 8.1.1963: popup window filter may be called recursively v8.1.1963
Bram Moolenaar [Sun, 1 Sep 2019 21:27:05 +0000 (23:27 +0200)]
patch 8.1.1963: popup window filter may be called recursively

Problem:    Popup window filter may be called recursively when using a Normal
            mode command.
Solution:   Prevent recursiveness. (closes #4887)  Also restore KeyTyped.

5 years agopatch 8.1.1962: leaking memory when using tagfunc() v8.1.1962
Bram Moolenaar [Sun, 1 Sep 2019 18:21:56 +0000 (20:21 +0200)]
patch 8.1.1962: leaking memory when using tagfunc()

Problem:    Leaking memory when using tagfunc().
Solution:   Free the user_data. (Dominique Pelle, closes #4886)

5 years agopatch 8.1.1961: more functions can be used as a method v8.1.1961
Bram Moolenaar [Sun, 1 Sep 2019 18:16:52 +0000 (20:16 +0200)]
patch 8.1.1961: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Allow more functions to be used as a method.  Add a test for
            mapcheck().

5 years agopatch 8.1.1960: fold code is spread out v8.1.1960
Bram Moolenaar [Sun, 1 Sep 2019 15:52:32 +0000 (17:52 +0200)]
patch 8.1.1960: fold code is spread out

Problem:    Fold code is spread out.
Solution:   Move fold functions to fold.c.

5 years agopatch 8.1.1959: when using "firstline" in popup window text may jump v8.1.1959
Bram Moolenaar [Sun, 1 Sep 2019 15:38:09 +0000 (17:38 +0200)]
patch 8.1.1959: when using "firstline" in popup window text may jump

Problem:    When using "firstline" in popup window text may jump when
            redrawing it. (Nick Jensen)
Solution:   Set 'scrolloff' to zero in a popup window. (closes #4882)

5 years agopatch 8.1.1958: old style comments taking up space v8.1.1958
Bram Moolenaar [Sun, 1 Sep 2019 14:24:56 +0000 (16:24 +0200)]
patch 8.1.1958: old style comments taking up space

Problem:    Old style comments taking up space.
Solution:   Change to new style comments.

5 years agopatch 8.1.1957: more code can be moved to evalvars.c v8.1.1957
Bram Moolenaar [Sun, 1 Sep 2019 14:01:30 +0000 (16:01 +0200)]
patch 8.1.1957: more code can be moved to evalvars.c

Problem:    More code can be moved to evalvars.c.
Solution:   Move code to where it fits better. (Yegappan Lakshmanan,
            closes #4883)

5 years agopatch 8.1.1956: screenshot tests may use a different encoding v8.1.1956
Bram Moolenaar [Sun, 1 Sep 2019 13:26:23 +0000 (15:26 +0200)]
patch 8.1.1956: screenshot tests may use a different encoding

Problem:    Screenshot tests may use a different encoding. (Dominique Pelle)
Solution:   Always set 'encoding' to "utf-8" when running Vim in a terminal.
            (closes #4884)

5 years agopatch 8.1.1955: tests contain typos v8.1.1955
Bram Moolenaar [Sun, 1 Sep 2019 12:45:28 +0000 (14:45 +0200)]
patch 8.1.1955: tests contain typos

Problem:    Tests contain typos.
Solution:   Correct the typos. (Dominique Pelle)

5 years agopatch 8.1.1954: more functions can be used as a method v8.1.1954
Bram Moolenaar [Sat, 31 Aug 2019 20:16:38 +0000 (22:16 +0200)]
patch 8.1.1954: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Allow more functions to be used as a method.

5 years agopatch 8.1.1953: more functions can be used as a method v8.1.1953
Bram Moolenaar [Sat, 31 Aug 2019 19:17:39 +0000 (21:17 +0200)]
patch 8.1.1953: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Allow more functions to be used as a method.

5 years agopatch 8.1.1952: more functions can be used as a method v8.1.1952
Bram Moolenaar [Sat, 31 Aug 2019 17:13:58 +0000 (19:13 +0200)]
patch 8.1.1952: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Allow more functions to be used as a method.

5 years agopatch 8.1.1951: mouse double click test is a bit flaky v8.1.1951
Bram Moolenaar [Sat, 31 Aug 2019 15:48:19 +0000 (17:48 +0200)]
patch 8.1.1951: mouse double click test is a bit flaky

Problem:    Mouse double click test is a bit flaky.
Solution:   Add to list of flaky tests.  Update a couple of comments.

5 years agoRuntime files update.
Bram Moolenaar [Sat, 31 Aug 2019 14:20:32 +0000 (16:20 +0200)]
Runtime files update.

5 years agopatch 8.1.1950: using NULL pointer after an out-of-memory v8.1.1950
Bram Moolenaar [Sat, 31 Aug 2019 13:28:02 +0000 (15:28 +0200)]
patch 8.1.1950: using NULL pointer after an out-of-memory

Problem:    Using NULL pointer after an out-of-memory.
Solution:   Check for NULL pointer. (Dominique Pelle, closes #4881)

5 years agopatch 8.1.1949: cannot scroll a popup window to the very bottom v8.1.1949
Bram Moolenaar [Fri, 30 Aug 2019 20:08:34 +0000 (22:08 +0200)]
patch 8.1.1949: cannot scroll a popup window to the very bottom

Problem:    Cannot scroll a popup window to the very bottom.
Solution:   Scroll to the bottom when the "firstline" property was set to -1.
            (closes #4577)  Allow resetting min/max width/height.

5 years agopatch 8.1.1948: mouse doesn't work in Linux console v8.1.1948
Bram Moolenaar [Fri, 30 Aug 2019 17:28:25 +0000 (19:28 +0200)]
patch 8.1.1948: mouse doesn't work in Linux console

Problem:    Mouse doesn't work in Linux console and causes 100% CPU. (James P.
            Harvey)
Solution:   Loop in WaitForCharOrMouse() when gpm_process_wanted is set.
            (closes #4828)

5 years agopatch 8.1.1947: when executing one test the report doesn't show it v8.1.1947
Bram Moolenaar [Fri, 30 Aug 2019 17:05:32 +0000 (19:05 +0200)]
patch 8.1.1947: when executing one test the report doesn't show it

Problem:    When executing one test the report doesn't show it.
Solution:   Adjust the regexp. (Daniel Hahler, closes #4879)

5 years agopatch 8.1.1946: memory error when profiling a function without a script ID v8.1.1946
Bram Moolenaar [Fri, 30 Aug 2019 16:37:26 +0000 (18:37 +0200)]
patch 8.1.1946: memory error when profiling a function without a script ID

Problem:    Memory error when profiling a function without a script ID.
Solution:   Check for missing script ID.  (closes #4877)

5 years agopatch 8.1.1945: popup window "firstline" cannot be reset v8.1.1945
Bram Moolenaar [Fri, 30 Aug 2019 15:34:08 +0000 (17:34 +0200)]
patch 8.1.1945: popup window "firstline" cannot be reset

Problem:    Popup window "firstline" cannot be reset.
Solution:   Allow for setting "firstline" to zero.  Fix that the text jumps to
            the top when using win_execute(). (closes #4876)

5 years agopatch 8.1.1944: leaking memory when using sound callback v8.1.1944
Bram Moolenaar [Fri, 30 Aug 2019 14:30:00 +0000 (16:30 +0200)]
patch 8.1.1944: leaking memory when using sound callback

Problem:    Leaking memory when using sound callback.
Solution:   src/sound.c

5 years agopatch 8.1.1943: more code can be moved to evalvars.c v8.1.1943
Bram Moolenaar [Fri, 30 Aug 2019 13:46:30 +0000 (15:46 +0200)]
patch 8.1.1943: more code can be moved to evalvars.c

Problem:    More code can be moved to evalvars.c.
Solution:   Move it, clean up comments.  Also move some window related
            functions to window.c. (Yegappan Lakshmanan, closes #4874)

5 years agopatch 8.1.1942: shadow directory gets outdated when files are added v8.1.1942
Bram Moolenaar [Fri, 30 Aug 2019 11:59:29 +0000 (13:59 +0200)]
patch 8.1.1942: shadow directory gets outdated when files are added

Problem:    Shadow directory gets outdated when files are added.
Solution:   Add the "shadowupdate" target and add a few comments.

5 years agopatch 8.1.1941: getftype() test fails on Mac v8.1.1941
Bram Moolenaar [Fri, 30 Aug 2019 11:12:25 +0000 (13:12 +0200)]
patch 8.1.1941: getftype() test fails on Mac

Problem:    getftype() test fails on Mac.
Solution:   Skip /dev/fd/.

5 years agopatch 8.1.1940: script tests fail v8.1.1940
Bram Moolenaar [Thu, 29 Aug 2019 20:48:24 +0000 (22:48 +0200)]
patch 8.1.1940: script tests fail

Problem:    Script tests fail.
Solution:   Don't set vimvars type in set_vim_var_nr().

5 years agopatch 8.1.1939: code for handling v: variables in generic eval file v8.1.1939
Bram Moolenaar [Thu, 29 Aug 2019 20:09:46 +0000 (22:09 +0200)]
patch 8.1.1939: code for handling v: variables in generic eval file

Problem:    Code for handling v: variables in generic eval file.
Solution:   Move v: variables to evalvars.c. (Yegappan Lakshmanan,
            closes #4872)

5 years agopatch 8.1.1938: may crash when out of memory v8.1.1938
Bram Moolenaar [Thu, 29 Aug 2019 19:32:55 +0000 (21:32 +0200)]
patch 8.1.1938: may crash when out of memory

Problem:    May crash when out of memory.
Solution:   Initialize v_type to VAR_UNKNOWN. (Dominique Pelle, closes #4871)

5 years agopatch 8.1.1937: errors when using javascriptreact v8.1.1937
Bram Moolenaar [Thu, 29 Aug 2019 19:24:21 +0000 (21:24 +0200)]
patch 8.1.1937: errors when using javascriptreact

Problem:    Errors when using javascriptreact.
Solution:   Use ":runtime" instead of ":source". (closes #4875)

5 years agopatch 8.1.1936: not enough tests for text property popup window v8.1.1936
Bram Moolenaar [Thu, 29 Aug 2019 18:02:11 +0000 (20:02 +0200)]
patch 8.1.1936: not enough tests for text property popup window

Problem:    Not enough tests for text property popup window.
Solution:   Add a few more tests.  Make negative offset work.  Close all
            popups when window closes.

5 years agopatch 8.1.1935: test for text property popup window is flaky v8.1.1935
Bram Moolenaar [Wed, 28 Aug 2019 20:38:07 +0000 (22:38 +0200)]
patch 8.1.1935: test for text property popup window is flaky

Problem:    Test for text property popup window is flaky.
Solution:   Remove the undo message

5 years agopatch 8.1.1934: not enough tests for text property popup window v8.1.1934
Bram Moolenaar [Wed, 28 Aug 2019 20:18:30 +0000 (22:18 +0200)]
patch 8.1.1934: not enough tests for text property popup window

Problem:    Not enough tests for text property popup window.
Solution:   Add a few more tests.

5 years agopatch 8.1.1933: the eval.c file is too big v8.1.1933
Bram Moolenaar [Tue, 27 Aug 2019 20:48:30 +0000 (22:48 +0200)]
patch 8.1.1933: the eval.c file is too big

Problem:    The eval.c file is too big.
Solution:   Move code related to variables to evalvars.c. (Yegappan
            Lakshmanan, closes #4868)

5 years agopatch 8.1.1932: ml_get errors after using append() v8.1.1932
Bram Moolenaar [Tue, 27 Aug 2019 19:56:06 +0000 (21:56 +0200)]
patch 8.1.1932: ml_get errors after using append()

Problem:    Ml_get errors after using append(). (Alex Genco)
Solution:   Do not update the cursor twice. (closes #1737)

5 years agopatch 8.1.1931: syntax test fails v8.1.1931
Bram Moolenaar [Mon, 26 Aug 2019 20:38:22 +0000 (22:38 +0200)]
patch 8.1.1931: syntax test fails

Problem:    Syntax test fails.
Solution:   Add new javascriptreact type to completions.

5 years agopatch 8.1.1930: cannot recognize .jsx and .tsx files v8.1.1930
Bram Moolenaar [Mon, 26 Aug 2019 19:28:15 +0000 (21:28 +0200)]
patch 8.1.1930: cannot recognize .jsx and .tsx files

Problem:    Cannot recognize .jsx and .tsx files.
Solution:   Recognize them as javascriptreact and typescriptreact.
            (closes #4830)

5 years agopatch 8.1.1929: no tests for text property popup window v8.1.1929
Bram Moolenaar [Sun, 25 Aug 2019 21:08:17 +0000 (23:08 +0200)]
patch 8.1.1929: no tests for text property popup window

Problem:    No tests for text property popup window.
Solution:   Add a few tests.

5 years agopatch 8.1.1928: popup windows don't move with the text when making changes v8.1.1928
Bram Moolenaar [Sun, 25 Aug 2019 20:25:02 +0000 (22:25 +0200)]
patch 8.1.1928: popup windows don't move with the text when making changes

Problem:    Popup windows don't move with the text when making changes.
Solution:   Add the 'textprop" property to the popup window options, position
            the popup relative to a text property. (closes #4560)
            No tests yet.

5 years agopatch 8.1.1927: code for dealing with script files is spread out v8.1.1927
Bram Moolenaar [Sun, 25 Aug 2019 13:41:00 +0000 (15:41 +0200)]
patch 8.1.1927: code for dealing with script files is spread out

Problem:    Code for dealing with script files is spread out.
Solution:   Move the code to scriptfile.c. (Yegappan Lakshmanan, closes #4861)

5 years agopatch 8.1.1926: cursorline not redrawn when putting a line above the cursor v8.1.1926
Bram Moolenaar [Sun, 25 Aug 2019 12:48:37 +0000 (14:48 +0200)]
patch 8.1.1926: cursorline not redrawn when putting a line above the cursor

Problem:    Cursorline not redrawn when putting a line above the cursor.
Solution:   Redraw when the curor line is below a change. (closes #4862)

5 years agopatch 8.1.1925: more functions can be used as methods v8.1.1925
Bram Moolenaar [Sat, 24 Aug 2019 20:58:31 +0000 (22:58 +0200)]
patch 8.1.1925: 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.1924: using empty string for current buffer is unexpected v8.1.1924
Bram Moolenaar [Sat, 24 Aug 2019 20:14:58 +0000 (22:14 +0200)]
patch 8.1.1924: using empty string for current buffer is unexpected

Problem:    Using empty string for current buffer is unexpected.
Solution:   Make the argument optional for bufname() and bufnr().

5 years agopatch 8.1.1923: some source files are not in a normal encoding v8.1.1923
Bram Moolenaar [Sat, 24 Aug 2019 19:53:31 +0000 (21:53 +0200)]
patch 8.1.1923: some source files are not in a normal encoding

Problem:    Some source files are not in a normal encoding.
Solution:   Convert hangulin.c from euc-kr to utf-8 and digraph.c from latin1
            to utf-8. (Daniel Hahler, closes #4731)

5 years agopatch 8.1.1922: in diff mode global operations can be very slow v8.1.1922
Bram Moolenaar [Sat, 24 Aug 2019 18:54:19 +0000 (20:54 +0200)]
patch 8.1.1922: in diff mode global operations can be very slow

Problem:    In diff mode global operations can be very slow.
Solution:   Do not call diff_redraw() many times, call it once when redrawing.
            And also don't update folds multiple times.

5 years agopatch 8.1.1921: more functions can be used as methods v8.1.1921
Bram Moolenaar [Sat, 24 Aug 2019 18:50:19 +0000 (20:50 +0200)]
patch 8.1.1921: 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.1920: cannot always close a popup when filter consumes all events v8.1.1920
Bram Moolenaar [Sat, 24 Aug 2019 17:36:00 +0000 (19:36 +0200)]
patch 8.1.1920: cannot always close a popup when filter consumes all events

Problem:    Cannot close a popup by the X when a filter consumes all events.
Solution:   Check for a click on the close button before invoking filters.
            (closes #4858)

5 years agopatch 8.1.1919: using window options when passing a buffer to popup_create() v8.1.1919
Bram Moolenaar [Sat, 24 Aug 2019 13:50:46 +0000 (15:50 +0200)]
patch 8.1.1919: using window options when passing a buffer to popup_create()

Problem:    Using current window option values when passing a buffer to
            popup_create().
Solution:   Clear the window-local options. (closes #4857)

5 years agopatch 8.1.1918: redrawing popups is inefficient v8.1.1918
Bram Moolenaar [Sat, 24 Aug 2019 13:26:24 +0000 (15:26 +0200)]
patch 8.1.1918: redrawing popups is inefficient

Problem:    Redrawing popups is inefficient.
Solution:   Fix the logic to compute what window lines to redraw.  Make it
            work below the last line.  Remove redrawing all windows.

5 years agopatch 8.1.1917: non-current window is not redrawn when moving popup v8.1.1917
Bram Moolenaar [Sat, 24 Aug 2019 12:46:29 +0000 (14:46 +0200)]
patch 8.1.1917: non-current window is not redrawn when moving popup

Problem:    Non-current window is not redrawn when moving popup. (Ben Jackson)
Solution:   Redraw all windows under a popup. (closes #4860)

5 years agopatch 8.1.1916: trying to allocate negative amount of memory closing popup v8.1.1916
Bram Moolenaar [Sat, 24 Aug 2019 12:16:32 +0000 (14:16 +0200)]
patch 8.1.1916: trying to allocate negative amount of memory closing popup

Problem:    Trying to allocate negative amount of memory when closing a popup.
Solution:   Check the rows are not out of bounds.  Don't finish a selection if
            it was never started.

5 years agopatch 8.1.1915: more functions can be used as methods v8.1.1915
Bram Moolenaar [Fri, 23 Aug 2019 20:31:37 +0000 (22:31 +0200)]
patch 8.1.1915: 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.1914: command line expansion code is spread out v8.1.1914
Bram Moolenaar [Fri, 23 Aug 2019 19:17:35 +0000 (21:17 +0200)]
patch 8.1.1914: command line expansion code is spread out

Problem:    Command line expansion code is spread out.
Solution:   Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855)

5 years agopatch 8.1.1913: not easy to compute the space on the command line v8.1.1913
Bram Moolenaar [Fri, 23 Aug 2019 18:58:45 +0000 (20:58 +0200)]
patch 8.1.1913: not easy to compute the space on the command line

Problem:    Not easy to compute the space on the command line.
Solution:   Add v:echospace. (Daniel Hahler, closes #4732)

5 years agopatch 8.1.1912: more functions can be used as methods v8.1.1912
Bram Moolenaar [Thu, 22 Aug 2019 20:55:13 +0000 (22:55 +0200)]
patch 8.1.1912: more functions can be used as methods

Problem:    More functions can be used as methods.
Solution:   Make channel and job functions usable as a method.

5 years agopatch 8.1.1911: more functions can be used as methods v8.1.1911
Bram Moolenaar [Thu, 22 Aug 2019 20:18:17 +0000 (22:18 +0200)]
patch 8.1.1911: more functions can be used as methods

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

5 years agopatch 8.1.1910: redrawing too much when toggling 'relativenumber' v8.1.1910
Bram Moolenaar [Thu, 22 Aug 2019 19:23:20 +0000 (21:23 +0200)]
patch 8.1.1910: redrawing too much when toggling 'relativenumber'

Problem:    Redrawing too much when toggling 'relativenumber'.
Solution:   Only clear when 'signcolumn' is set to "number". (Yegappan
            Lakshmanan, closes #4852)

5 years agopatch 8.1.1909: more functions can be used as methods v8.1.1909
Bram Moolenaar [Wed, 21 Aug 2019 20:50:07 +0000 (22:50 +0200)]
patch 8.1.1909: more functions can be used as methods

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

5 years agopatch 8.1.1908: every popup window consumes a buffer number v8.1.1908
Bram Moolenaar [Wed, 21 Aug 2019 20:25:30 +0000 (22:25 +0200)]
patch 8.1.1908: every popup window consumes a buffer number

Problem:    Every popup window consumes a buffer number.
Solution:   Recycle buffers only used for popup windows.  Do not list popup
            window buffers.

5 years agopatch 8.1.1907: wrong position for info popup with scrollbar on the left v8.1.1907
Bram Moolenaar [Wed, 21 Aug 2019 18:57:20 +0000 (20:57 +0200)]
patch 8.1.1907: wrong position for info popup with scrollbar on the left

Problem:    Wrong position for info popup with scrollbar on the left.
Solution:   Take the scrollbar into account.

5 years agopatch 8.1.1906: info popup size is sometimes incorrect v8.1.1906
Bram Moolenaar [Wed, 21 Aug 2019 17:33:16 +0000 (19:33 +0200)]
patch 8.1.1906: info popup size is sometimes incorrect

Problem:    Info popup size is sometimes incorrect.
Solution:   Compute the position and size after setting the content.

5 years agopatch 8.1.1905: cannot set all properties of the info popup v8.1.1905
Bram Moolenaar [Wed, 21 Aug 2019 16:31:03 +0000 (18:31 +0200)]
patch 8.1.1905: cannot set all properties of the info popup

Problem:    Cannot set all properties of the info popup.
Solution:   Add popup_findinfo().  Rename popup_getpreview() to
            popup_findpreview().

5 years agopatch 8.1.1904: cannot have an info popup align with the popup menu v8.1.1904
Bram Moolenaar [Wed, 21 Aug 2019 15:29:29 +0000 (17:29 +0200)]
patch 8.1.1904: cannot have an info popup align with the popup menu

Problem:    Cannot have an info popup align with the popup menu.
Solution:   Add the "align" item to 'completepopup'.

5 years agopatch 8.1.1903: cannot build without the +eval feature v8.1.1903
Bram Moolenaar [Wed, 21 Aug 2019 13:30:45 +0000 (15:30 +0200)]
patch 8.1.1903: cannot build without the +eval feature

Problem:    Cannot build without the +eval feature.
Solution:   Add missing #ifdefs

5 years agopatch 8.1.1902: cannot have an info popup without a border v8.1.1902
Bram Moolenaar [Wed, 21 Aug 2019 13:13:41 +0000 (15:13 +0200)]
patch 8.1.1902: cannot have an info popup without a border

Problem:    Cannot have an info popup without a border.
Solution:   Add the "border" item to 'completepopup'.

5 years agopatch 8.1.1901: the +insert_expand feature is not always available v8.1.1901
Bram Moolenaar [Wed, 21 Aug 2019 12:37:09 +0000 (14:37 +0200)]
patch 8.1.1901: the +insert_expand feature is not always available

Problem:    The +insert_expand feature is not always available.
Solution:   Graduate the +insert_expand feature.

5 years agopatch 8.1.1900: sign test fails in the GUI v8.1.1900
Bram Moolenaar [Wed, 21 Aug 2019 11:45:16 +0000 (13:45 +0200)]
patch 8.1.1900: sign test fails in the GUI

Problem:    Sign test fails in the GUI.
Solution:   Catch and ignore the exception.

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)