Bram Moolenaar
72406a4bd2
patch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode
...
Problem: Cannot distinguish Normal and Terminal-Normal mode.
Solution: Make mode() return "nt" for Terminal-Normal mode. (issue #8856 )
v8.2.3461
2021-10-02 16:34:55 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
dfa5e464d4
patch 8.2.3460: some type casts are not needed
...
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes #8934 )
v8.2.3460
2021-10-02 11:26:51 +01:00
Yegappan Lakshmanan
51491adfa8
patch 8.2.3459: Vim9: need more tests for empty string arguments
...
Problem: Vim9: need more tests for empty string arguments.
Solution: Add more tests. Also use empty argument with menu_info() to get
the top-level menu names. (Yegappan Lakshmanan, closes #8925 )
v8.2.3459
2021-09-30 19:00:00 +01:00
Bram Moolenaar
be01090efa
patch 8.2.3458: not all dictdconf files are recognized
...
Problem: Not all dictdconf files are recognized.
Solution: Adjust the pattern. (Doug Kearns)
v8.2.3458
2021-09-26 22:11:52 +01:00
Bram Moolenaar
b16ff292ad
patch 8.2.3457: MS-Windows Vim9: test executed and fails
...
Problem: MS-Windows Vim9: test executed and fails.
Solution: Add extra check for not being on MS-Windows.
v8.2.3457
2021-09-26 20:14:39 +01:00
Yegappan Lakshmanan
f8dbd58666
patch 8.2.3456: Vim9: not all functions are tested with empty string argument
...
Problem: Vim9: Not all functions are tested with an empty string argument.
Solution: Add tests with empty strings. (Yegappan Lakshmanan, closes #8915 )
v8.2.3456
2021-09-26 19:04:05 +01:00
Bram Moolenaar
56858e4ed4
patch 8.2.3455: using a count with "gp" leaves '] in wrong position
...
Problem: Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
Solution: Correct the mark position. (closes #8899 )
v8.2.3455
2021-09-22 16:43:59 +02:00
Bram Moolenaar
23003e51e1
patch 8.2.3454: using a count with "gp" leave cursor in wrong position
...
Problem: Using a count with "gp" leave cursor in wrong position. (Naohiro
Ono)
Solution: Count the inserted lines. (closes #8899 )
v8.2.3454
2021-09-22 16:37:07 +02:00
Bram Moolenaar
40fa12aea3
patch 8.2.3453: autocmd not executed when editing a directory
...
Problem: Autocmd not executed when editing a directory ending in a path
separator inside try block.
Solution: Return NOTDONE instead of FAIL. (closes #8885 )
v8.2.3453
2021-09-22 14:18:13 +02:00
Bram Moolenaar
da0b497c6e
Correct Spanish translations
2021-09-21 21:04:01 +02:00
Bram Moolenaar
34cc7d8c03
Update runtime files
2021-09-21 20:09:51 +02:00
Steven Penny
690c524ce6
patch 8.2.3452: MPD files are not recognized
...
Problem: MPD files are not recognized.
Solution: Recognize MPD files as XML. (Steven Penny, closes #8893 )
v8.2.3452
2021-09-21 19:37:01 +02:00
Zdenek Dohnal
770ddbe159
patch 8.2.3451: not all apache files are recognized
...
Problem: Not all apache files are recognized.
Solution: Adjust the filetype pattern. (Zdenek Dohnal, closes #8882 )
v8.2.3451
2021-09-20 20:57:31 +02:00
Bram Moolenaar
18fefddcb0
patch 8.2.3450: coveralls action fails
...
Problem: Coveralls action fails.
Solution: Disable it for now.
v8.2.3450
2021-09-19 17:55:16 +02:00
Yasuhiro Matsumoto
c04f62346b
patch 8.2.3449: sort fails if the sort compare function returns 999
...
Problem: Sort fails if the sort compare function returns 999.
Solution: Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884 )
v8.2.3449
2021-09-19 17:01:39 +02:00
Bram Moolenaar
1d34189ecb
patch 8.2.3448: :endtry after function call that throws not found
...
Problem: :endtry after function call that throws not found.
Solution: Do check for following :endtry if an exception is being thrown.
(closes #8889 )
v8.2.3448
2021-09-18 15:25:52 +02:00
Yegappan Lakshmanan
d2b98ab4ec
patch 8.2.3447: a couple of declarations are not ANSI C
...
Problem: A couple of declarations are not ANSI C.
Solution: Put argument type inside (). (Yegappan Lakshmanan, closes #8890 )
v8.2.3447
2021-09-18 12:15:08 +02:00
Yegappan Lakshmanan
820d5525ca
patch 8.2.3446: not enough tests for empty string arguments
...
Problem: Not enough tests for empty string arguments.
Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881 )
v8.2.3446
2021-09-17 21:07:35 +02:00
Bram Moolenaar
542ffe16a1
patch 8.2.3445: on Solaris longVersion may be declared twice
...
Problem: On Solaris longVersion may be declared twice. (Vladimir Marek)
Solution: Always declare longVersion in version.c
v8.2.3445
2021-09-17 20:45:30 +02:00
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