Bram Moolenaar
4fa1346bf4
patch 8.2.4300: cannot build tiny version
...
Problem: Cannot build tiny version. (Tony Mechelynck)
Solution: Add #ifdef.
2022-02-05 12:39:24 +00:00
Bram Moolenaar
46f3080e5c
patch 8.2.4299: SafeState autocommand interferes with debugging
...
Problem: SafeState autocommand interferes with debugging.
Solution: Do not trigger SafeState while debugging. (closes #9697 )
2022-02-05 12:10:52 +00:00
Bram Moolenaar
fc88df42f1
patch 8.2.4298: divide by zero with huge tabstop value
...
Problem: Divide by zero with huge tabstop value.
Solution: Reject tabstop value that overflows to zero.
2022-02-05 11:13:05 +00:00
Bram Moolenaar
21ebb0899e
patch 8.2.4297: Vim9: not all code covered by tests
...
Problem: Vim9: not all code covered by tests.
Solution: Add a couple more tests.
2022-02-04 21:58:58 +00:00
Bram Moolenaar
83d0cec956
patch 8.2.4296: Vim9: not all code covered by tests
...
Problem: Vim9: not all code covered by tests.
Solution: Add a few more tests for corner cases. Fix hang when single quote
is missing.
2022-02-04 21:17:58 +00:00
Bram Moolenaar
46950b225f
patch 8.2.4295: Vim9: concatenating two lists may result in wrong type
...
Problem: Vim9: concatenating two lists may result in wrong type.
Solution: Remove the type instead of using list<any>. (closes #9692 )
2022-02-04 11:36:51 +00:00
K.Takata
972db23279
patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicated
...
Problem: MS-Windows: #ifdefs for Cygwin are too complicated.
Solution: Simplify the conditions. (Ken Takata, closes #9693 )
2022-02-04 10:45:38 +00:00
Bram Moolenaar
7676c15879
patch 8.2.4293: Vim9: when copying a list it gets type list<any>
...
Problem: Vim9: when copying a list it gets type list<any> even when the
original list did not have a type.
Solution: Only set the type when the original list has a type. (closes #9692 )
2022-02-03 21:47:34 +00:00
Bram Moolenaar
02a977ea5e
patch 8.2.4292: test fails
...
Problem: Test fails.
Solution: Adjust the expected error number.
2022-02-03 21:29:39 +00:00
Bram Moolenaar
5658ca343f
patch 8.2.4291: error number used twice
...
Problem: Error number used twice.
Solution: Renumber of of the errors.
2022-02-03 20:09:19 +00:00
K.Takata
a8ec4916ca
patch 8.2.4290: MS-Windows: using type casts for timer IDs
...
Problem: MS-Windows: using type casts for timer IDs.
Solution: Remove type casts and use the right type. (Ken Takata,
closes #9690 ) Remove old debug comments. Rename variables and
functions.
2022-02-03 14:32:33 +00:00
K.Takata
5411910c77
patch 8.2.4289: warnings reported by MSVC
...
Problem: Warnings reported by MSVC.
Solution: Rename variables and other fixes. (Ken Takata, closes #9689 )
2022-02-03 13:33:03 +00:00
K.Takata
6e1d31e9e3
patch 8.2.4288: preprocessor indents are inconsistent
...
Problem: Preprocessor indents are inconsistent.
Solution: Fix preprocessor indents. (Ken Takata, closes #9691 )
2022-02-03 13:05:32 +00:00
Bram Moolenaar
2d3ac2e030
patch 8.2.4287: cannot assign empty list with type to variable with list type
...
Problem: Cannot assign empty list with any list type to variable with
specific list type.
Solution: Use unknown list type for empty list if the specified type is any.
2022-02-03 12:34:05 +00:00
Bram Moolenaar
381692b6f1
patch 8.2.4286: Vim9: strict type checking after copy() and deepcopy()
...
Problem: Vim9: strict type checking after copy() and deepcopy().
Solution: Allow type to change after making a copy. (closes #9644 )
2022-02-02 20:01:27 +00:00
Bram Moolenaar
a1c5195180
patch 8.2.4285: Vim9: type of item in for loop not checked properly
...
Problem: Vim9: type of item in for loop not checked properly.
Solution: Adjust the type checking. (closes #9683 )
2022-02-02 16:20:26 +00:00
ichizok
ab8f7c50cf
patch 8.2.4284: old mac resources files are no longer used
...
Problem: Old mac resources files are no longer used.
Solution: Delete the unused files. (Ozaki Kiichi, closes #9688 )
2022-02-02 15:19:38 +00:00
zeertzjq
73257149d7
patch 8.2.4283: using a variable for the return value is not needed
...
Problem: Using a variable for the return value is not needed.
Solution: Return the value directly. (closes #9687 )
2022-02-02 13:16:37 +00:00
matveyt
adbb1bf21d
patch 8.2.4282: restricted mode requires the -Z command line option
...
Problem: Restricted mode requires the -Z command line option.
Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
(closes #9681 )
2022-02-01 17:26:12 +00:00
Bram Moolenaar
9b4a80a665
patch 8.2.4281: using freed memory with :lopen and :bwipe
...
Problem: Using freed memory with :lopen and :bwipe.
Solution: Do not use a wiped out buffer.
2022-02-01 13:54:17 +00:00
Bram Moolenaar
eb4a9ba293
patch 8.2.4280: list-dict test crashes
...
Problem: list-dict test crashes.
Solution: Check declared type for add().
2022-02-01 12:47:07 +00:00
Bram Moolenaar
8133018f50
patch 8.2.4279: Vim9: cannot change item type with map() after range()
...
Problem: Vim9: cannot change item type with map() after range().
Solution: Split the return type in current type and declared type.
(closes #9665 )
2022-02-01 12:11:58 +00:00
Bram Moolenaar
4e3b318230
patch 8.2.4278: build with Athena GUI fails
...
Problem: Build with Athena GUI fails. (Elimar Riesebieter)
Solution: Add #ifdef.
2022-02-01 10:16:00 +00:00
Bram Moolenaar
68854a82fd
patch 8.2.4277: Vim9: an import does not shadow a command modifier
...
Problem: Vim9: an import does not shadow a command modifier.
Solution: Do not accept a command modifier followed by a dot.
2022-01-31 18:59:13 +00:00
Yegappan Lakshmanan
9e0208f51c
patch 8.2.4276: separate test function for the GUI scrollbar
...
Problem: Separate test function for the GUI scrollbar.
Solution: Use test_gui_event(). (Yegappan Lakshmanan, closes #9674 )
2022-01-31 17:40:55 +00:00
=?UTF-8?q?Bj=C3=B6rn=20Linse?=
223a950a85
patch 8.2.4275: cannot use an autoload function from a package under start
...
Problem: Cannot use an autoload function from a package under start.
Solution: Also look in the "start" package directory. (Bjorn Linse,
closes #7193 )
2022-01-31 17:26:05 +00:00
Doug Kearns
c570e9cf68
patch 8.2.4274: Basic and form filetype detection is incomplete
...
Problem: Basic and form filetype detection is incomplete.
Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675 )
2022-01-31 17:09:14 +00:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Bram Moolenaar
eb6c276595
patch 8.2.4272: Vim9 expr test fails without the channel feature
...
Problem: Vim9 expr test fails without the channel feature. (Dominique
Pellé)
Solution: Remove "g:" before "CheckFeature". (closes #9671 )
2022-01-31 13:36:36 +00:00
K.Takata
1f47a287ee
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
...
Problem: MS-Windows: cannot build with Ruby 3.1.0.
Solution: Adjust the DLL name and include directory. (Ken Takata,
closes #9666 )
2022-01-31 13:25:36 +00:00
ichizok
672776dbe8
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
...
Problem: Generating nv_cmdidxs.h requires building Vim twice.
Solution: Move the table into a separate file and use a separate executable
to extract the command characters. (Ozaki Kiichi, closes #9669 )
2022-01-31 12:27:18 +00:00
Bram Moolenaar
48a604845e
patch 8.2.4269: Coverity warns for using a NULL pointer
...
Problem: Coverity warns for using a NULL pointer.
Solution: Check for "name" to not be NULL.
2022-01-31 11:44:48 +00:00
ichizok
44d1f89c24
patch 8.2.4268: CI log output is long
...
Problem: CI log output is long.
Solution: Group output in sections. (Ozaki Kiichi, closes #9670 )
2022-01-31 11:38:53 +00:00
Bram Moolenaar
4c93aff20f
patch 8.2.4267: unused entry in keymap enum
...
Problem: Unused entry in keymap enum.
Solution: Remove the entry.
2022-01-31 11:29:51 +00:00
Bram Moolenaar
5703310e64
patch 8.2.4266: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize saved_did_emsg.
2022-01-30 19:37:52 +00:00
Bram Moolenaar
6a05807092
patch 8.2.4265: autoload tests fails
...
Problem: Autoload tests fails.
Solution: Use export instead of name with #.
2022-01-30 18:56:35 +00:00
Bram Moolenaar
d8fe6d34bb
patch 8.2.4264: Vim9: can use old style autoload function name
...
Problem: Vim9: can use old style autoload function name.
Solution: Give an error for old style autoload function name.
2022-01-30 18:40:44 +00:00
Yegappan Lakshmanan
ec3637cbaf
patch 8.2.4263: no test for the GUI find/replace dialog
...
Problem: No test for the GUI find/replace dialog.
Solution: Add a test function and a test. (Yegappan Lakshmanan,
closes #9662 )
2022-01-30 18:01:24 +00:00
Bram Moolenaar
44a4d947bb
patch 8.2.4262: some search tests fail
...
Problem: Some search tests fail.
Solution: Use a better way to reject searching for the Visual area.
2022-01-30 17:17:41 +00:00
Bram Moolenaar
679d66c2d2
patch 8.2.4261: accessing invalid memory in a regular expression
...
Problem: Accessing invalid memory when a regular expression checks the
Visual area while matching in a string.
Solution: Do not try matching the Visual area in a string.
2022-01-30 16:42:56 +00:00
Bram Moolenaar
848faddb87
patch 8.2.4260: Vim9: can still use a global function without g:
...
Problem: Vim9: can still use a global function without g: at the script
level.
Solution: Also check for g: at the script level. (issue #9637 )
2022-01-30 15:28:30 +00:00
Yegappan Lakshmanan
06011e1a55
patch 8.2.4259: number of test functions for GUI events is growing
...
Problem: Number of test functions for GUI events is growing.
Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
closes #9660 )
2022-01-30 12:37:29 +00:00
Bram Moolenaar
6970e1e36a
patch 8.2.4258: Coverity warns for array overrun
...
Problem: Coverity warns for array overrun.
Solution: Restrict depth to MAXWLEN - 1.
2022-01-30 12:10:39 +00:00
Bram Moolenaar
62aec93bfd
patch 8.2.4257: Vim9: finding global function without g: prefix inconsistent
...
Problem: Vim9: finding global function without g: prefix but not finding
global variable is inconsistent.
Solution: Require using g: for a global function. Change the vim9.vim
script into a Vim9 script with exports. Fix that import in legacy
script does not work.
2022-01-29 21:45:34 +00:00
K.Takata
135e15251e
patch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4
...
Problem: MS-Windows: compiler warnings when compiled with /W4.
Solution: Small adjustments to the code. (Ken Takata, closes #9659 )
2022-01-29 15:27:58 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
d5cec1f1f0
patch 8.2.4255: theoretical computation overflow
...
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657 )
2022-01-29 15:19:23 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
f12b7815f6
patch 8.2.4254: using short instead of int
...
Problem: Using short instead of int.
Solution: Use int. (closes #9658 )
2022-01-29 15:12:39 +00:00
Bram Moolenaar
37f47958b8
patch 8.2.4253: using freed memory when substitute with function call
...
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text.
2022-01-29 14:21:51 +00:00
Yegappan Lakshmanan
4dc0dd8699
patch 8.2.4252: generating the normal command table at runtime is inefficient
...
Problem: Generating the normal command table at runtime is inefficient.
Solution: Generate the table with a Vim script and put it in a header file.
(Yegappan Lakshmanan, closes #9648 )
2022-01-29 13:06:40 +00:00
Bram Moolenaar
97c554d514
patch 8.2.4251: vala files are not recognized
...
Problem: Vala files are not recognized.
Solution: Add the *.vala pattern. (closes #9654 )
2022-01-29 12:45:47 +00:00