Bram Moolenaar
0b8cf278ec
patch 8.2.1548: cannot move position of "%%" in message translations
...
Problem: Cannot move position of "%%" in message translations. (Emir Sarı)
Solution: Improve the check script.
2020-08-30 19:42:06 +02:00
Bram Moolenaar
02c037a4be
patch 8.2.1547: various comment problems
...
Problem: Various comment problems.
Solution: Update comments.
2020-08-30 19:26:45 +02:00
Bram Moolenaar
cd80006ecb
patch 8.2.1546: build rule for Vim.app is unused
...
Problem: Build rule for Vim.app is unused.
Solution: Delete the related build rules.
2020-08-30 18:11:54 +02:00
Bram Moolenaar
76603baac5
patch 8.2.1545: ch_logfile() is unclear about closing when forking
...
Problem: ch_logfile() is unclear about closing when forking.
Solution: Adjust the log messages.
2020-08-30 17:24:37 +02:00
Bram Moolenaar
207f009326
Update runtime files.
2020-08-30 17:20:20 +02:00
Bram Moolenaar
0b39c3fd4c
patch 8.2.1544: cannot translate messages in a Vim script
...
Problem: Cannot translate messages in a Vim script.
Solution: Add gettext(). Try it out for a few messages in the options
window.
2020-08-30 15:52:10 +02:00
Bram Moolenaar
25859dd74c
patch 8.2.1543: Vim9: test with invalid SID is skipped in the GUI
...
Problem: Vim9: test with invalid SID is skipped in the GUI.
Solution: Read the CTRL-C that feedkeys() put in typeahead.
2020-08-30 12:54:53 +02:00
Bram Moolenaar
a5639848cc
patch 8.2.1542: Vim9: test with invalid SID does not work in the GUI
...
Problem: Vim9: test with invalid SID does not work in the GUI.
Solution: Skip the test in the GUI.
2020-08-29 22:59:17 +02:00
Bram Moolenaar
95006e3dca
patch 8.2.1541: Vim9: cannot find function reference for s:Func
...
Problem: Vim9: cannot find function reference for s:Func.
Solution: Recognize <SNR> prefix. (closes #6805 )
2020-08-29 17:47:08 +02:00
Bram Moolenaar
98945560c1
patch 8.2.1540: the user cannot try out emoji character widths
...
Problem: The user cannot try out emoji character widths.
Solution: Move the emoji script to the runtime/tools directory.
2020-08-29 16:41:27 +02:00
Bram Moolenaar
e3d4685f1f
patch 8.2.1539: using invalid script ID causes a crash
...
Problem: Using invalid script ID causes a crash.
Solution: Check the script ID to be valid. (closes #6804 )
2020-08-29 13:39:17 +02:00
Bram Moolenaar
423a85a11a
patch 8.2.1538: Python: iteration over vim objects fails to keep reference
...
Problem: Python: iteration over vim objects fails to keep reference.
Solution: Keep a reference for the object. (Paul Ollis, closes #6803 ,
closes #6806 )
2020-08-29 12:57:16 +02:00
Bram Moolenaar
b06a6d59d1
patch 8.2.1537: memory acccess error when using setcellwidths()
...
Problem: Memory acccess error when using setcellwidths().
Solution: Use array and pointers correctly.
2020-08-28 23:27:20 +02:00
Bram Moolenaar
4e4473c927
patch 8.2.1536: cannot get the class of a character; emoji widths are wrong
...
Problem: Cannot get the class of a character; emoji widths are wrong in
some environments.
Solution: Add charclass(). Update some emoji widths. Add script to check
emoji widths.
2020-08-28 22:24:57 +02:00
Bram Moolenaar
08aac3c619
patch 8.2.1535: it is not possible to specify cell widths of characters
...
Problem: It is not possible to specify cell widths of characters.
Solution: Add setcellwidths().
2020-08-28 21:04:24 +02:00
Bram Moolenaar
ee8580e52e
patch 8.2.1534: Vim9: type error for argument type is not at call position
...
Problem: Vim9: type error for argument type is not at call position.
Solution: Set the context and stack after checking the arguments.
(issue #6785 )
2020-08-28 17:19:07 +02:00
Bram Moolenaar
6a950581da
patch 8.2.1533: Vim9: error when passing getreginfo() result to setreg()
...
Problem: Vim9: error when passing getreginfo() result to setreg().
Solution: Use dict_get_bool() for "isunnamed". (closes #6784 )
2020-08-28 16:39:33 +02:00
Bram Moolenaar
2566054a7f
patch 8.2.1532: compiler warning for conversion of size_t to long
...
Problem: Compiler warning for conversion of size_t to long.
Solution: Add type cast.
2020-08-28 16:38:11 +02:00
Bram Moolenaar
7a3330fc57
patch 8.2.1531: Vim9: test still fails on MS-Windows
...
Problem: Vim9: test still fails on MS-Windows.
Solution: When skipping expect function to be NULL.
2020-08-27 23:57:57 +02:00
Bram Moolenaar
5163fcce79
patch 8.2.1530: Vim9: test fails on MS-Windows
...
Problem: Vim9: test fails on MS-Windows.
Solution: Skip Ex command inside "if false".
2020-08-27 23:37:09 +02:00
Bram Moolenaar
749639ec72
patch 8.2.1529: Vim9: :elseif may be compiled when not needed
...
Problem: Vim9: :elseif may be compiled when not needed.
Solution: Do evaluate the :elseif expression.
2020-08-27 23:08:47 +02:00
Bram Moolenaar
3988f64f9d
patch 8.2.1528: Vim9: :endif not found after "if false"
...
Problem: Vim9: :endif not found after "if false".
Solution: When skipping still check for a following command. (closes #6797 )
2020-08-27 22:43:03 +02:00
Bram Moolenaar
601e76ac3c
patch 8.2.1527: Vim9: cannot use a function name at script level
...
Problem: Vim9: cannot use a function name as a function reference at script
level.
Solution: Check if a name is a function name. (closes #6789 )
2020-08-27 21:33:10 +02:00
Bram Moolenaar
228e62975e
patch 8.2.1526: line in testdir Makefile got commented out
...
Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
Solution: Revert.
2020-08-27 16:06:46 +02:00
Bram Moolenaar
6e3aeec846
patch 8.2.1525: messages from tests were not always displayed
...
Problem: Messages from tests were not always displayed.
Solution: Always show messages, the timing is always useful. (Ken Takata,
closes #6792 )
2020-08-26 22:29:57 +02:00
Bram Moolenaar
2e0866128b
patch 8.2.1524: no longer get an error for string concatenation with float
...
Problem: No longer get an error for string concatenation with float.
(Tsuyoshi Cho)
Solution: Only convert float for Vim9 script. (closes #6787 )
2020-08-25 22:37:48 +02:00
Bram Moolenaar
b9fc192f92
patch 8.2.1523: still not enough test coverage for the spell file handling
...
Problem: Still not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790 )
2020-08-25 21:19:36 +02:00
Bram Moolenaar
c8ec5fe56f
patch 8.2.1522: not enough test coverage for the spell file handling
...
Problem: Not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763 )
2020-08-24 20:28:56 +02:00
Bram Moolenaar
07399e7f07
patch 8.2.1521: reading past end of buffer when reading spellfile
...
Problem: Reading past end of buffer when reading spellfile. (Yegappan
Lakshmanan)
Solution: Store the byte length and check for it.
2020-08-24 20:05:50 +02:00
Bram Moolenaar
b3ea36c5bc
patch 8.2.1520: Vim9: CTRL-] used in :def function does not work
...
Problem: Vim9: CTRL-] used in :def function does not work.
Solution: Omit count or prepend colon. (closes #6769 )
2020-08-23 21:46:32 +02:00
Bram Moolenaar
c2af0afff5
patch 8.2.1519: Vim9: Ex command default range is not set
...
Problem: Vim9: Ex command default range is not set.
Solution: When range is not given use default. (closes #6779 )
2020-08-23 21:06:02 +02:00
Bram Moolenaar
2e80095501
patch 8.2.1518: Vim9: cannot assign to local option
...
Problem: Vim9: cannot assign to local option.
Solution: Skip over "&l:" and "&g:". (closes #6749 )
2020-08-23 19:34:48 +02:00
Bram Moolenaar
6c53fca023
patch 8.2.1517: cannot easily get the character under the cursor
...
Problem: Cannot easily get the character under the cursor.
Solution: Add the {chars} argument to strpart().
2020-08-23 17:34:46 +02:00
Bram Moolenaar
430deb1945
patch 8.2.1516: Vim9: error for :exe has wrong line number
...
Problem: Vim9: error for :exe has wrong line number.
Solution: Set line number before calling do_cmdline_cmd(). (closes #6774 )
2020-08-23 16:29:11 +02:00
Bram Moolenaar
8436773fad
patch 8.2.1515: Vim9: can create s:var in legacy script but cannot unlet
...
Problem: Vim9: can create s:var in legacy script but cannot unlet.
Solution: Allow :unlet for legacy script var.
2020-08-23 15:21:55 +02:00
Bram Moolenaar
dc0cf1db3e
patch 8.2.1514: multibyte vertical separator is cleared when dragging popup
...
Problem: Multibyte vertical separator is cleared when dragging a popup
window using a multi-byte character for the border.
Solution: Only clear the character before the window if it is double width.
(closes #6766 )
2020-08-23 15:09:36 +02:00
Bram Moolenaar
0981c8729e
patch 8.2.1513: cannot interrupt shell used for filename expansion
...
Problem: Cannot interrupt shell used for filename expansion. (Dominique
Pellé)
Solution: Do set tmode in mch_delay(). (closes #6770 )
2020-08-23 14:28:37 +02:00
Bram Moolenaar
69e44552c5
patch 8.2.1512: failure after trinary expression fails
...
Problem: Failure after trinary expression fails.
Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776 )
2020-08-22 22:37:20 +02:00
Bram Moolenaar
cd94277f72
patch 8.2.1511: putting a string in Visual block mode ignores multi-byte
...
Problem: Putting a string in Visual block mode ignores multi-byte
characters.
Solution: Adjust the column for Visual block mode. (closes #6767 )
2020-08-22 21:08:44 +02:00
Bram Moolenaar
5390099a97
patch 8.2.1510: using "var" in :def function may refer to legacy script var
...
Problem: Using "var" in a :def function may refer to a legacy Vim script
variable.
Solution: Require using "s:" to refer to a legacy Vim script variable.
(closes #6771 )
2020-08-22 19:02:02 +02:00
Bram Moolenaar
9943b3d979
patch 8.2.1509: vertical separator is cleared when dragging a popup window
...
Problem: Vertical separator is cleared when dragging a popup window using a
multi-byte character for the border.
Solution: Only clear the character before the window if it is using a
multi-byte character. (closes #6766 )
2020-08-22 17:21:14 +02:00
Bram Moolenaar
c63b72b6dc
patch 8.2.1508: not all debugger commands covered by tests
...
Problem: Not all debugger commands covered by tests.
Solution: Add tests for going up/down in the stack. (Ben Jackson,
closes #6765 )
2020-08-22 16:04:52 +02:00
Bram Moolenaar
51b6eb47b3
patch 8.2.1507: using malloc() directly
...
Problem: Using malloc() directly.
Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
closes #6768 )
2020-08-22 15:19:18 +02:00
Bram Moolenaar
d70840ed68
patch 8.2.1506: Vim9: no error when using a number other than 0 or 1 as bool
...
Problem: Vim9: no error when using a number other than 0 or 1 as bool.
Solution: Check the number is 0 or 1.
2020-08-22 15:06:35 +02:00
Bram Moolenaar
1b04ce2d40
patch 8.2.1505: not all file read and writecode is tested
...
Problem: Not all file read and writecode is tested.
Solution: Add a few tests. (Dominique Pellé, closes #6764 )
2020-08-21 22:46:11 +02:00
Bram Moolenaar
7cb6fc29d0
patch 8.2.1504: Vim9: white space checks are only done for a :def function
...
Problem: Vim9: white space checks are only done for a :def function.
Solution: Also do checks at the script level. Adjust the name of a few
error messages.
2020-08-21 22:36:47 +02:00
Bram Moolenaar
81e17fbe00
patch 8.2.1503: Vim9: error for autocmd defined in :def in legacy script
...
Problem: Vim9: error for an autocmd defined in a :def function in legacy
Vim script.
Solution: Don't check the variable type. (closes #6758 )
2020-08-21 21:55:43 +02:00
Bram Moolenaar
122616d9c1
patch 8.2.1502: Vim9: can use += with a :let command at script level
...
Problem: Vim9: can use += with a :let command at script level.
Solution: Give an error.
2020-08-21 21:32:50 +02:00
Bram Moolenaar
3fc71285d5
patch 8.2.1501: Vim9: concatenating to constant reverses order
...
Problem: Vim9: concatenating to constant reverses order.
Solution: Generate constant before option, register and environment
variable. (closes #6757 )
2020-08-21 20:43:17 +02:00
Bram Moolenaar
5d72ce69c8
patch 8.2.1500: Vim9: error when using address without a command
...
Problem: Vim9: error when using address without a command.
Solution: Execute the range itself. (closes #6747 )
2020-08-20 23:04:06 +02:00