summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.1676: compiler warnings for function typecastv8.2.1676Bram Moolenaar2020-09-132-2/+4
| | | | | Problem: Compiler warnings for function typecast. Solution: Add an intermediate cast to "void *".
* patch 8.2.1675: MinGW: testdir makefile deletes non-existing filev8.2.1675Bram Moolenaar2020-09-132-1/+3
| | | | | | Problem: MinGW: testdir makefile deletes non-existing file. Solution: Use another way to delete the output file if it already exists. (Michael Soyka)
* patch 8.2.1674: Vim9: internal error when using variable that was not setv8.2.1674Bram Moolenaar2020-09-133-1/+15
| | | | | Problem: Vim9: internal error when using variable that was not set. Solution: Give a meaningful error. (closes #6937)
* patch 8.2.1673: complete_info() selected index has an invalid valuev8.2.1673Bram Moolenaar2020-09-123-0/+21
| | | | | | Problem: complete_info() selected index has an invalid value. (Ben Jackson) Solution: Set the index when there is only one match. (closes #6945) Add test for complete_info().
* patch 8.2.1672: v_lock is used when it is not initializedv8.2.1672Bram Moolenaar2020-09-122-0/+4
| | | | | Problem: v_lock is used when it is not initialized. (Yegappan Lakshmanan) Solution: Initialize the typval in eval1().
* patch 8.2.1671: Vim9: stray error for missing white spacev8.2.1671Bram Moolenaar2020-09-123-1/+13
| | | | | Problem: Vim9: stray error for missing white space. Solution: Do not skip over white space after member. (closes #6817)
* patch 8.2.1670: a couple of gcc compiler warningsv8.2.1670Bram Moolenaar2020-09-123-2/+4
| | | | | Problem: A couple of gcc compiler warnings. Solution: Initialize local variables. (Dominique Pellé, closes #6944)
* patch 8.2.1669: Vim9: memory leak when storing a value failsv8.2.1669Bram Moolenaar2020-09-122-14/+20
| | | | | Problem: Vim9: memory leak when storing a value fails. Solution: Free the value when not storing it.
* patch 8.2.1668: Vim9: not accepting 0 or 1 as bool when type is anyv8.2.1668Bram Moolenaar2020-09-123-5/+22
| | | | | Problem: Vim9: not accepting 0 or 1 as bool when type is any. Solution: Convert the type with the CHECKTYPE instruction. (closes #6913)
* patch 8.2.1667: local function name cannot shadow a global function namev8.2.1667Bram Moolenaar2020-09-125-19/+82
| | | | | | Problem: Local function name cannot shadow a global function name. Solution: Ignore global functions when checking a script-local or scoped function name. (closes #6926)
* patch 8.2.1666: the initial value of 'backupskip' can have duplicate itemsv8.2.1666Bram Moolenaar2020-09-123-31/+92
| | | | | | Problem: The initial value of 'backupskip' can have duplicate items. Solution: Remove duplicates, like when it is set later. (Tom Ryder, closes #6940)
* patch 8.2.1665: cannot do fuzzy string matchingv8.2.1665Bram Moolenaar2020-09-117-0/+393
| | | | | Problem: Cannot do fuzzy string matching. Solution: Add matchfuzzy(). (Yegappan Lakshmanan, closes #6932)
* patch 8.2.1664: memory leak when using :mkview with a terminal bufferv8.2.1664Bram Moolenaar2020-09-114-25/+40
| | | | | Problem: Memory leak when using :mkview with a terminal buffer. Solution: Don't use a hastab for :mkview. (Rob Pilling, closes #6935)
* patch 8.2.1663: options window entries cannot be translatedv8.2.1663Bram Moolenaar2020-09-112-448/+442
| | | | | Problem: Options window entries cannot be translated. Solution: Use AddOption() for all explanations. (closes #6800)
* patch 8.2.1662: :mksession does not restore shared terminal buffer properlyv8.2.1662Bram Moolenaar2020-09-116-53/+141
| | | | | Problem: :mksession does not restore shared terminal buffer properly. Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
* patch 8.2.1661: cannot connect to 127.0.0.1 for host with only IPv6 addressesv8.2.1661Bram Moolenaar2020-09-112-2/+4
| | | | | | Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses. Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger, closes #6931)
* patch 8.2.1660: assert functions require passing expected as first argumentv8.2.1660Bram Moolenaar2020-09-112-202/+203
| | | | | | Problem: Assert functions require passing expected result as the first argument, which isn't obvious. Solution: Use a method, as in "runtest()->assert_equal(expected)".
* patch 8.2.1659: spellfile code not completely testedv8.2.1659Bram Moolenaar2020-09-113-0/+34
| | | | | Problem: Spellfile code not completely tested. Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6929)
* patch 8.2.1658: expand('<stack>') has trailing ".."v8.2.1658Bram Moolenaar2020-09-113-6/+9
| | | | | Problem: Expand('<stack>') has trailing "..". Solution: Remove the "..". (closes #6927)
* patch 8.2.1657: Vim9: no proper error for nested ":def!"v8.2.1657Bram Moolenaar2020-09-104-0/+27
| | | | | Problem: Vim9: no proper error for nested ":def!". Solution: Check for "!". (closes #6920)
* patch 8.2.1656: Vim9: callstack wrong if :def function calls :def functionv8.2.1656Bram Moolenaar2020-09-103-0/+23
| | | | | Problem: Vim9: callstack wrong if :def function calls :def function. Solution: Set the line number before calling. (closes #6914)
* patch 8.2.1655: cannot build with Strawberry Perl 5.32.0v8.2.1655Bram Moolenaar2020-09-102-0/+11
| | | | | Problem: Cannot build with Strawberry Perl 5.32.0. Solution: Use Perl_sv_2pvbyte_flags. (closes #6921)
* patch 8.2.1654: when job writes to hidden buffer current window is wrongv8.2.1654Bram Moolenaar2020-09-102-9/+11
| | | | | | | Problem: When job writes to hidden buffer current window has display errors. (Johnny McArthur) Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf(). (closes #6925)
* patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653Bram Moolenaar2020-09-1010-22/+40
| | | | | Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
* patch 8.2.1652: cannot translate lines in the options windowv8.2.1652Bram Moolenaar2020-09-102-28/+38
| | | | | | Problem: Cannot translate lines in the options window. Solution: Use the AddOption() function to split descriptions where indicated by a line break. (issue #6800)
* patch 8.2.1651: spellfile code not completely testedv8.2.1651Bram Moolenaar2020-09-092-0/+68
| | | | | Problem: Spellfile code not completely tested. Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6918)
* patch 8.2.1650: Vim9: result of && and || expression is not bool in scriptv8.2.1650Bram Moolenaar2020-09-098-29/+92
| | | | | | Problem: Vim9: result of && and || expression cannot be assigned to a bool at the script level. Solution: Add the VAR_BOOL_OK flag. Convert to bool when needed.
* patch 8.2.1649: GTK3: using old file chooserv8.2.1649Bram Moolenaar2020-09-092-6/+29
| | | | | | Problem: GTK3: using old file chooser. Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar Velingker, closes #6909)
* patch 8.2.1648: Amiga: no common build file for Amiga (-like) systemsv8.2.1648Bram Moolenaar2020-09-095-156/+212
| | | | | Problem: Amiga: no common build file for Amiga (-like) systems. Solution: Turn Make_morph.mak into Make_ami.mak. (Ola Söder, closes #6805)
* patch 8.2.1647: Vim9: result of expression with && and || is not a boolv8.2.1647Bram Moolenaar2020-09-094-2/+66
| | | | | | Problem: Vim9: result of expression with && and || cannot be assigned to a bool variable. Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
* patch 8.2.1646: Amiga: Unnecessary #includev8.2.1646Bram Moolenaar2020-09-091-4/+2
| | | | | Problem: Amiga: Unnecessary #include. Solution: Remove the #include. (Ola Söder, closes #6908)
* patch 8.2.1645: GTK3: icons become broken images when resizedv8.2.1645Bram Moolenaar2020-09-092-4/+8
| | | | | | Problem: GTK3: icons become broken images when resized. Solution: Use gtk_image_new_from_icon_name(). (closes #6916) Fix compiler warnings.
* patch 8.2.1644: Vim9: cannot assign 1 and 0 to bool at script levelv8.2.1644Bram Moolenaar2020-09-095-11/+43
| | | | | | Problem: Vim9: cannot assign 1 and 0 to bool at script level. Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test function.
* patch 8.2.1643: Vim9: :defcompile compiles dead functionsv8.2.1643Bram Moolenaar2020-09-092-2/+6
| | | | | Problem: Vim9: :defcompile compiles dead functions. Solution: Skip over dead functions.
* patch 8.2.1642: otions test failsv8.2.1642Bram Moolenaar2020-09-092-1/+3
| | | | | Problem: Otions test fails. Solution: Correct call to OptionG().
* patch 8.2.1641: Vim9: cannot use 0 or 1 where a bool is expectedv8.2.1641Bram Moolenaar2020-09-096-1/+27
| | | | | Problem: Vim9: cannot use 0 or 1 where a bool is expected. Solution: Allow using 0 and 1 for a bool type. (closes #6903)
* patch 8.2.1640: Amiga: missing header for getgrgid()v8.2.1640Bram Moolenaar2020-09-092-0/+3
| | | | | Problem: Amiga: missing header for getgrgid(). Solution: Add the grp.h header. (Ola Söder, closes #6906)
* patch 8.2.1639: options window cannot be translatedv8.2.1639Bram Moolenaar2020-09-092-105/+110
| | | | | | Problem: Options window cannot be translated. Solution: Get the translation for "local to" texts once and use them in many places. Fix that 'whichwrap' is not a local option. (issue #6800)
* patch 8.2.1638: leaking memory when popup filter function can't be calledv8.2.1638Bram Moolenaar2020-09-082-21/+25
| | | | | Problem: Leaking memory when popup filter function can't be called. Solution: Don't return too soon.
* patch 8.2.1637: Vim9: :put ={expr} does not work inside :def functionv8.2.1637Bram Moolenaar2020-09-0812-13/+158
| | | | | Problem: Vim9: :put ={expr} does not work inside :def function. Solution: Add ISN_PUT. (closes #6397)
* patch 8.2.1636: get stuck if a popup filter causes an errorv8.2.1636Bram Moolenaar2020-09-087-3/+99
| | | | | | Problem: Get stuck if a popup filter causes an error. Solution: Check whether the function can be called and does not cause an error. (closes #6902)
* patch 8.2.1635: no digraph for 0x2022 BULLETv8.2.1635Bram Moolenaar2020-09-083-0/+4
| | | | | Problem: No digraph for 0x2022 BULLET. Solution: Use "oo". (Hans Ginzel, closes #6904)
* Update runtime files.Bram Moolenaar2020-09-0735-307/+1272
|
* patch 8.2.1634: loop to handle keys for the command line is too longv8.2.1634Bram Moolenaar2020-09-073-215/+277
| | | | | | Problem: Loop to handle keys for the command line is too long. Solution: Move a few more parts to separate functions. (Yegappan Lakshmanan, closes #6895)
* patch 8.2.1633: some error messages are internal but do not use iemsg()v8.2.1633Bram Moolenaar2020-09-074-7/+9
| | | | | Problem: Some error messages are internal but do not use iemsg(). Solution: Use iemsg(). (Dominique Pellé, closes #6894)
* patch 8.2.1632: not checking the context of test_fails()v8.2.1632Bram Moolenaar2020-09-066-29/+63
| | | | | | Problem: Not checking the context of test_fails(). Solution: Add the line number and context arguments. Give error if assert_fails() argument types are wrong.
* patch 8.2.1631: test_fails() does not check the context of the line numberv8.2.1631Bram Moolenaar2020-09-067-26/+50
| | | | | Problem: test_fails() does not check the context of the line number. Solution: Use another argument to specify the context of the line number.
* patch 8.2.1630: terminal test failsv8.2.1630Bram Moolenaar2020-09-063-3/+5
| | | | | Problem: Terminal test fails. Solution: Correct argument to term_start(). Correct error number.
* patch 8.2.1629: test fails without terminal featurev8.2.1629Bram Moolenaar2020-09-062-8/+18
| | | | | Problem: Test fails without terminal feature. Solution: Check for terminal feature.
* patch 8.2.1628: Vim9: cannot pass "true" to timer_paused()v8.2.1628Bram Moolenaar2020-09-063-1/+11
| | | | | Problem: Vim9: cannot pass "true" to timer_paused(). Solution: Use tv_get_bool(). (closes #6891)