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

10820 Commits

Author SHA1 Message Date
Bram Moolenaar
a4b2699e28 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)
v8.1.1848
2019-08-15 20:58:54 +02:00
Bram Moolenaar
185d68a9d0 patch 8.1.1847: suspend test is failing
Problem:    Suspend test is failing.
Solution:   Do not use GetVimCommandClean().
v8.1.1847
2019-08-15 11:21:15 +02:00
Bram Moolenaar
93344c2d70 patch 8.1.1846: inconsistently using GetVimCommand() and v:progpath
Problem:    Inconsistently using GetVimCommand() and v:progpath. (Daniel
            Hahler)
Solution:   Use GetVimCommand(). (closes #4806)
v8.1.1846
2019-08-14 21:12:05 +02:00
Bram Moolenaar
6ace95e981 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)
v8.1.1845
2019-08-13 23:09:49 +02:00
Bram Moolenaar
45311b5274 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)
v8.1.1844
2019-08-13 22:27:32 +02:00
Bram Moolenaar
f077db2423 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)
v8.1.1843
2019-08-13 00:18:24 +02:00
Bram Moolenaar
9570aacdb8 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)
v8.1.1842
2019-08-12 23:56:20 +02:00
Bram Moolenaar
d5e3cc11d3 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)
v8.1.1841
2019-08-12 14:38:02 +02:00
Bram Moolenaar
52992feafe patch 8.1.1840: Testing: WorkingClipboard() is not accurate
Problem:    Testing: WorkingClipboard() is not accurate.
Solution:   Check feature clipboard_working instead.
v8.1.1840
2019-08-12 14:20:33 +02:00
Bram Moolenaar
0b5dc64446 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.
v8.1.1839
2019-08-11 22:56:15 +02:00
Bram Moolenaar
08cc374dab 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)
v8.1.1838
2019-08-11 22:51:14 +02:00
Bram Moolenaar
4999a7fb65 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().
v8.1.1837
2019-08-10 22:21:48 +02:00
Bram Moolenaar
a9ab391a3a 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)
v8.1.1836
2019-08-10 14:54:20 +02:00
Bram Moolenaar
fd8ca21b3f 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().
v8.1.1835
2019-08-10 00:13:30 +02:00
Bram Moolenaar
22a0c0c4ec patch 8.1.1834: cannot use a lambda as a method
Problem:    Cannot use a lambda as a method.
Solution:   Implement ->{lambda}(). (closes #4768)
v8.1.1834
2019-08-09 23:25:08 +02:00
Bram Moolenaar
0c779e8e48 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)
v8.1.1833
2019-08-09 17:01:02 +02:00
Bram Moolenaar
820680b9ff 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)
v8.1.1832
2019-08-09 14:56:22 +02:00
Bram Moolenaar
2514315fc2 patch 8.1.1831: confusing skipped message
Problem:    Confusing skipped message.
Solution:   Drop "run" from "run start the GUI".
v8.1.1831
2019-08-09 14:13:57 +02:00
Bram Moolenaar
088e8e3443 Update runtime files. 2019-08-08 22:15:18 +02:00
Bram Moolenaar
a576f50662 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".
v8.1.1830
2019-08-08 22:02:35 +02:00
Bram Moolenaar
39de6413c8 patch 8.1.1829: difference in screenshots
Problem:    Difference in screenshots.
Solution:   Update screenshots.  Change checks in a few more tests.
            (closes #4789)
v8.1.1829
2019-08-08 21:52:39 +02:00
Bram Moolenaar
5184132ec0 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(.
v8.1.1828
2019-08-08 21:10:01 +02:00
Bram Moolenaar
47ed553fd5 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)
v8.1.1827
2019-08-08 20:49:14 +02:00
Bram Moolenaar
8c5a278fc5 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.
v8.1.1826
2019-08-07 23:07:07 +02:00
Bram Moolenaar
b59e735772 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)
v8.1.1825
2019-08-07 21:42:24 +02:00
Bram Moolenaar
5bcc5a1ff9 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)
v8.1.1824
2019-08-06 22:48:02 +02:00
Bram Moolenaar
d7663c22c6 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.
v8.1.1823
2019-08-06 21:59:57 +02:00
Bram Moolenaar
0acae7acc4 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.
v8.1.1822
2019-08-06 21:29:29 +02:00
Bram Moolenaar
f97d46f816 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.
v8.1.1821
2019-08-06 20:34:10 +02:00
Bram Moolenaar
761fdf01c6 patch 8.1.1820: using expr->FuncRef() does not work
Problem:    Using expr->FuncRef() does not work.
Solution:   Make FuncRef work as a method.
v8.1.1820
2019-08-05 23:10:16 +02:00
Bram Moolenaar
1b6d9c4215 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.
v8.1.1819
2019-08-05 21:52:04 +02:00
Bram Moolenaar
b4a88a0441 patch 8.1.1818: unused variable
Problem:    Unused variable.
Solution:   Remove the variable. (Mike Williams)
v8.1.1818
2019-08-05 20:18:14 +02:00
Bram Moolenaar
6f33b893c6 patch 8.1.1817: github contribution text is incomplete
Problem:    Github contribution text is incomplete.
Solution:   Update the text.
v8.1.1817
2019-08-04 23:22:08 +02:00
Bram Moolenaar
fcfe1a9b89 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)
v8.1.1816
2019-08-04 23:04:39 +02:00
Bram Moolenaar
7a4ea1df2f patch 8.1.1815: duplicating info for internal functions
Problem:    Duplicating info for internal functions.
Solution:   Use one table to list internal functions.
v8.1.1815
2019-08-04 21:35:12 +02:00
Bram Moolenaar
5d458a7b3d 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)
v8.1.1814
2019-08-04 21:12:15 +02:00
Bram Moolenaar
2debf1c16b 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.
v8.1.1813
2019-08-04 20:44:19 +02:00
Bram Moolenaar
fb06d767a8 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)
v8.1.1812
2019-08-04 18:55:35 +02:00
Bram Moolenaar
c363fe1599 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)
v8.1.1811
2019-08-04 18:13:46 +02:00
Bram Moolenaar
b8350abef0 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.
v8.1.1810
2019-08-04 17:59:49 +02:00
Bram Moolenaar
a74e4946de 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.
v8.1.1809
2019-08-04 17:35:53 +02:00
Bram Moolenaar
e4ce825a55 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.
v8.1.1808
2019-08-04 15:30:16 +02:00
Bram Moolenaar
25e42231d3 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.
v8.1.1807
2019-08-04 15:04:10 +02:00
Bram Moolenaar
7cc535175a 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.
v8.1.1806
2019-08-03 23:30:21 +02:00
Bram Moolenaar
6cd57d4466 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)
v8.1.1805
2019-08-03 23:08:14 +02:00
Bram Moolenaar
3c8ee62974 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.
v8.1.1804
2019-08-03 22:55:50 +02:00
Bram Moolenaar
ac92e25a33 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.
v8.1.1803
2019-08-03 21:58:38 +02:00
Bram Moolenaar
b2129068a5 patch 8.1.1802: missing change to call_callback()
Problem:    Missing change to call_callback().
Solution:   Add missing change.
v8.1.1802
2019-08-03 18:31:11 +02:00
Bram Moolenaar
505e43a20e patch 8.1.1801: cannot build without the +eval feature
Problem:    Cannot build without the +eval feature.
Solution:   Always define funcexe_T.
v8.1.1801
2019-08-03 18:28:17 +02:00
Bram Moolenaar
c6538bcc1c patch 8.1.1800: function call functions have too many arguments
Problem:    Function call functions have too many arguments.
Solution:   Pass values in a funcexe_T struct.
v8.1.1800
2019-08-03 18:17:11 +02:00