Bram Moolenaar
644b49fa0f
patch 8.2.3444: concealed text not revealed when leaving insert mode
...
Problem: concealed text not revealed when leaving insert mode. (Michael
Soyka)
Solution: Check if concealing changed when leaving insert mode.
(closes #8880 )
v8.2.3444
2021-09-16 22:32:15 +02:00
Bram Moolenaar
3dfe2e0fb8
patch 8.2.3443: Vim9: memory leak when and/or fails
...
Problem: Vim9: memory leak when and/or fails.
Solution: Also clear the growarray when the length is zero.
v8.2.3443
2021-09-16 20:14:51 +02:00
Bram Moolenaar
1a7ee4dd11
patch 8.2.3442: Vim9: || and && are not handled at compile time
...
Problem: Vim9: || and && are not handled at compile time when possible.
Solution: When using constants generate fewer instructions.
v8.2.3442
2021-09-16 16:15:07 +02:00
Christian Brabandt
ee2cbcd99c
patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces
...
Problem: MS-Windows: vimtutor can't handle path with spaces.
Solution: Add double quotes. (Christian Brabandt, closes #8871 )
v8.2.3441
2021-09-15 12:53:40 +02:00
Bram Moolenaar
f2a8bafa4b
patch 8.2.3440: recover test fails if there is an old swap file
...
Problem: Recover test fails if there is an old swap file.
Solution: Delete old swap files.
v8.2.3440
2021-09-14 22:58:23 +02:00
Christian Brabandt
78eb9cce91
patch 8.2.3439: deleted lines go to wrong yank register
...
Problem: Deleted lines go to wrong yank register.
Solution: Reset y_append when not calling get_yank_register(). (Christian
Brabandt, closes #8872 )
v8.2.3439
2021-09-14 18:55:51 +02:00
Yegappan Lakshmanan
5dfe467432
patch 8.2.3438: cannot manipulate blobs
...
Problem: Cannot manipulate blobs.
Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
closes #8868 )
v8.2.3438
2021-09-14 17:54:30 +02:00
Mike Williams
f5785cf059
patch 8.2.3437: compiler warnings for 32/64 bit usage
...
Problem: Compiler warnings for 32/64 bit usage.
Solution: Add type casts. (Mike Williams, closes #8870 )
v8.2.3437
2021-09-13 22:17:38 +02:00
Bram Moolenaar
a29856fcdc
patch 8.2.3436: check for optional bool type has confusing return type
...
Problem: Check for optional bool type has confusing return type.
Solution: Explicitly return OK.
v8.2.3436
2021-09-13 21:36:27 +02:00
Bram Moolenaar
b1b6f4de2b
patch 8.2.3435: Vim9: dict is not passed to dict function
...
Problem: Vim9: dict is not passed to dict function.
Solution: Keep the dict used until a function call.
v8.2.3435
2021-09-13 18:25:54 +02:00
Bram Moolenaar
28e591dd50
patch 8.2.3434: function prototype for trigger_modechanged() is incomplete
...
Problem: Function prototype for trigger_modechanged() is incomplete.
Solution: Add "void".
v8.2.3434
2021-09-12 21:00:14 +02:00
Bram Moolenaar
bdcba24d85
patch 8.2.3433: :delcommand does not take a -buffer option
...
Problem: :delcommand does not take a -buffer option.
Solution: Add the -buffer option.
v8.2.3433
2021-09-12 20:58:02 +02:00
Bram Moolenaar
ca0627df69
patch 8.2.3432: octave/Matlab filetype detection does not work properly
...
Problem: Octave/Matlab filetype detection does not work properly.
Solution: Update the patterns used for matching. (Doug Kearns)
v8.2.3432
2021-09-12 17:03:08 +02:00
naohiro ono
dfe04dbff5
patch 8.2.3431: completion for :disas sorts local functions first
...
Problem: Completion for :disas sorts local functions first.
Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
closes #8860 )
v8.2.3431
2021-09-12 15:45:10 +02:00
=?UTF-8?q?Magnus=20Gro=C3=9F?=
f1e8876fa2
patch 8.2.3430: no generic way to trigger an autocommand on mode change
...
Problem: No generic way to trigger an autocommand on mode change.
Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856 )
v8.2.3430
2021-09-12 13:39:55 +02:00
Bram Moolenaar
464393a696
patch 8.2.3429: leaking memory when assigning to list or dict
...
Problem: Leaking memory when assigning to list or dict.
Solution: Free the list or dict type before overwriting it.
v8.2.3429
2021-09-11 23:07:44 +02:00
Bram Moolenaar
35a9a00afc
patch 8.2.3428: using freed memory when replacing
...
Problem: Using freed memory when replacing. (Dhiraj Mishra)
Solution: Get the line pointer after calling ins_copychar().
v8.2.3428
2021-09-11 21:14:20 +02:00
Bram Moolenaar
b3bf33a7b2
patch 8.2.3427: double free when list is copied
...
Problem: Double free when list is copied.
Solution: Allocate the type when making a copy. (closes #8862 )
Clear the type for flattennew(). Avoid a memory leak when
flattennew() fails.
v8.2.3427
2021-09-11 20:20:38 +02:00
Bram Moolenaar
4b4b1b84ee
patch 8.2.3426: crash when deleting a listener in a listener callback
...
Problem: Crash when deleting a listener in a listener callback. (Naohiro
Ono)
Solution: Mark the listener and delete it later.
v8.2.3426
2021-09-11 15:06:44 +02:00
Bram Moolenaar
56e14698b4
patch 8.2.3425: warning for using uninitialized variable
...
Problem: Warning for using uninitialized variable.
Solution: Initialize it. (John Marriott)
v8.2.3425
2021-09-11 12:15:09 +02:00
zeertzjq
f14b8ba137
patch 8.2.3424: a sequence of spaces is hard to see in list mode
...
Problem: A sequence of spaces is hard to see in list mode.
Solution: Add the "multispace" option to 'listchars'. (closes #8834 )
v8.2.3424
2021-09-10 16:58:30 +02:00
Bram Moolenaar
07802044b9
patch 8.2.3423: Vim9: list += list creates a new list in :def function
...
Problem: Vim9: list += list creates a new list in :def function.
Solution: Append to the existing list.
v8.2.3423
2021-09-09 23:01:14 +02:00
Bram Moolenaar
efc084e335
patch 8.2.3422: Vim9: no failure if return type differs from returned var
...
Problem: Vim9: no failure if return type differs from returned variable.
Solution: Copy type when copying a list. (closes #8847 )
v8.2.3422
2021-09-09 22:30:52 +02:00
Bram Moolenaar
6c391a74fe
Update runtime files
2021-09-09 21:55:11 +02:00
Dominique Pelle
d176ca3dde
patch 8.2.3421: a bit of code is not covered by tests
...
Problem: A bit of code is not covered by tests.
Solution: Add a few more test cases. (Dominique Pellé, closes #8857 )
v8.2.3421
2021-09-09 20:45:34 +02:00
Christian Brabandt
6b9efdde78
patch 8.2.3420: _REENTRANT defined more than once
...
Problem: _REENTRANT defined more than once.
Solution: Fix configure script. (Christian Brabandt, closes #8852 )
v8.2.3420
2021-09-09 17:14:50 +02:00
Bram Moolenaar
0325d3967c
patch 8.2.3419: a failing debug expression may make Vim unusable
...
Problem: A failing debug expression may make Vim unusable.
Solution: Suppress error messages. (closes #8848 )
v8.2.3419
2021-09-09 12:34:19 +02:00
Christian Brabandt
070ac3433b
patch 8.2.3418: garbage collection while evaluating may cause trouble
...
Problem: Garbage collection while evaluating may cause trouble.
Solution: Disable garbage collection while evaluating an expression.
(Christian Brabandt, issue #8848 )
v8.2.3418
2021-09-09 12:12:03 +02:00
Bram Moolenaar
072f1c6888
patch 8.2.3417: Vim9: a failing debug expression aborts script sourcing
...
Problem: Vim9: a failing debug expression aborts script sourcing.
Solution: Do not let expression failure abort script sourcing. (closes #8848 )
v8.2.3417
2021-09-08 20:40:34 +02:00
Bram Moolenaar
36f691f5f1
patch 8.2.3416: second error is reported while exception is being thrown
...
Problem: Second error is reported while exception is being thrown.
Solution: Do not check for trailing characters when already aborting.
(closes #8842 )
v8.2.3416
2021-09-08 15:33:30 +02:00
Yegappan Lakshmanan
fc3b775055
patch 8.2.3415: Vim9: not all function argument types are properly checked
...
Problem: Vim9: Not all function argument types are properly checked.
Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
closes #8839 )
v8.2.3415
2021-09-08 14:57:42 +02:00
Bram Moolenaar
80c88eac5a
patch 8.2.3414: fullcommand() gives wrong name with buffer-local user command
...
Problem: fullcommand() gives the wrong name if there is a buffer-local user
command. (Naohiro Ono)
Solution: Use a separate function to get the user command name.
(closes #8840 )
v8.2.3414
2021-09-08 14:29:46 +02:00
Bram Moolenaar
a9e3d56087
patch 8.2.3413: Vim9: too many characters are allowed in import name
...
Problem: Vim9: too many characters are allowed in import name.
Solution: Disallow ':' and '#', check for white space. (closes #8845 )
v8.2.3413
2021-09-08 12:31:35 +02:00
Bram Moolenaar
af2d5d2ce2
patch 8.2.3412: Vim9: importing the wrong file
...
Problem: Vim9: importing the wrong file.
Solution: Correct the file name. Delete the file afterwards.
v8.2.3412
2021-09-07 22:35:34 +02:00
Bram Moolenaar
6853c38b78
patch 8.2.3411: Vim9: crash when using base name of import
...
Problem: Vim9: crash when using base name of import. (Naohiro Ono)
Solution: Check the import flags. (closes #8843 )
v8.2.3411
2021-09-07 22:12:19 +02:00
Bram Moolenaar
89a54b413a
patch 8.2.3410: crash with linebreak, listchars and large tabstop
...
Problem: Crash with linebreak, listchars and large tabstop.
Solution: Account for different size listchars for a tab. (closes #8841 )
v8.2.3410
2021-09-07 20:45:31 +02:00
Bram Moolenaar
65b6056659
patch 8.2.3409: reading beyond end of line with invalid utf-8 character
...
Problem: Reading beyond end of line with invalid utf-8 character.
Solution: Check for NUL when advancing.
v8.2.3409
2021-09-07 19:26:53 +02:00
Bram Moolenaar
ddfc05100a
patch 8.2.3408: can delete a numbered function
...
Problem: Can delete a numbered function. (Naohiro Ono)
Solution: Disallow deleting a numbered function. (closes #8760 )
v8.2.3408
2021-09-06 20:56:56 +02:00
Bram Moolenaar
3b31851356
patch 8.2.3407: using uninitialized memory with "let g:['bar'] = 2"
...
Problem: Using uninitialized memory with "let g:['bar'] = 2".
Solution: Initialize v_type of a new dict item.
v8.2.3407
2021-09-06 19:19:45 +02:00
Bram Moolenaar
3ae5fc9a6a
patch 8.2.3406: on some systems tests fail without _REENTRANT
...
Problem: On some systems tests fail without _REENTRANT. (Elimar
Riesebieter)
Solution: Add -D_REENTRANT in configure. (closes #7402 )
v8.2.3406
2021-09-06 18:57:30 +02:00
Bram Moolenaar
ec1b0968aa
patch 8.2.3405: cannot have a comment line in a {} block of a user command
...
Problem: Cannot have a comment line in a {} block of a user command.
Solution: Continue after the line break. (closes #8837 )
v8.2.3405
2021-09-06 17:10:59 +02:00
Bram Moolenaar
01dd6c3732
patch 8.2.3404: Vim9: no error for white space before "("
...
Problem: Vim9: no error for white space before "(".
Solution: Give an error, like in a compiled function.
v8.2.3404
2021-09-05 16:36:23 +02:00
Bram Moolenaar
2ddb89f8a9
patch 8.2.3403: memory leak for :retab with invalid argument
...
Problem: Memory leak for :retab with invalid argument.
Solution: Free the memory. Make error messages consistent.
v8.2.3403
2021-09-04 21:20:41 +02:00
Bram Moolenaar
b7081e135a
patch 8.2.3402: invalid memory access when using :retab with large value
...
Problem: Invalid memory access when using :retab with large value.
Solution: Check the number is positive.
v8.2.3402
2021-09-04 18:47:28 +02:00
Bram Moolenaar
10c83dde55
patch 8.2.3401: Vim9: cannot use negative count with finddir() and findfile()
...
Problem: Vim9: cannot use a negative count with finddir() and findfile().
Solution: Adjust the return type. (closes #8776 )
v8.2.3401
2021-09-04 14:49:56 +02:00
Dominique Pelle
7f2dd1e90c
patch 8.2.3400: ":z!" is not supported
...
Problem: ":z!" is not supported.
Solution: Make ":z!" work and add tests. (Dominique Pellé, closes #8836 )
Use display height instead of current window height.
v8.2.3400
2021-09-04 13:44:01 +02:00
Bram Moolenaar
deba5eb195
patch 8.2.3399: Octave files are not recognized
...
Problem: Octave files are not recognized.
Solution: Detect Octave files. (Doug Kearns)
v8.2.3399
2021-09-03 19:21:36 +02:00
Dominique Pelle
af631f61bc
patch 8.2.3398: html text objects are not fully tested
...
Problem: Html text objects are not fully tested.
Solution: Add tests for dbcs encoding and different number of backslashes.
(Dominique Pellé, closes #8831 )
v8.2.3398
2021-09-03 16:50:16 +02:00
Yegappan Lakshmanan
03d257998b
patch 8.2.3397: no test for what 8.2.3391 fixes
...
Problem: No test for what 8.2.3391 fixes.
Solution: Add a test. (Yegappan Lakshmanan, closes #8828 )
v8.2.3397
2021-09-02 20:05:26 +02:00
Bram Moolenaar
87e1587b8a
patch 8.2.3396: when libcall() fails invalid pointer may be used
...
Problem: When libcall() fails invalid pointer may be used.
Solution: Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829 )
v8.2.3396
2021-09-02 19:53:07 +02:00