Bram Moolenaar
4c295027a4
Update runtime files
2021-05-02 17:19:11 +02:00
Bram Moolenaar
5f628a12e5
patch 8.2.2823: MS-Windows: launching Vim from installer doesn't open README
...
Problem: MS-Windows: launching Vim from installer doesn't open README.
Solution: Adjust the quotes.
v8.2.2823
2021-05-02 13:59:46 +02:00
Bram Moolenaar
4a22897591
patch 8.2.2822: MS-Windows: unnessarily loading libraries when unregistering
...
Problem: MS-Windows: unnessarily loading libraries when unregistering OLE.
Solution: Also skip loading libraries when invoked with "-unregister". Run
Vim for README.txt with user privileges.
v8.2.2822
2021-05-01 22:41:39 +02:00
Bram Moolenaar
3d0e7a956a
patch 8.2.2821: MS-Windows: unnessarily loading libraries when registering OLE
...
Problem: MS-Windows: unnessarily loading libraries when registering OLE.
Solution: Skip loading libraries when invoked with "-register".
v8.2.2821
2021-05-01 17:46:03 +02:00
Bram Moolenaar
b6c2e9a010
patch 8.2.2820: session file may divide by zero
...
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes #8162 )
v8.2.2820
2021-04-30 21:37:51 +02:00
Bram Moolenaar
4934ed34c3
patch 8.2.2819: finishing an abbreviation with multi-byte char may not work
...
Problem: Finishing an abbreviation with a multi-byte char may not work.
Solution: Escape K_SPECIAL in the typed character. (closes #8160 )
v8.2.2819
2021-04-30 19:43:11 +02:00
Bram Moolenaar
aeed2a6359
patch 8.2.2818: no jump added when opening terminal in current window
...
Problem: No jump added to jumplist when opening terminal in current window.
Solution: Call setpcmark(). (closes #8158 )
v8.2.2818
2021-04-29 20:18:45 +02:00
Bram Moolenaar
227c58a486
patch 8.2.2817: Vim9: script sourcing continues after an error
...
Problem: Vim9: script sourcing continues after an error.
Solution: Make an error in any command in "vim9script" abort sourcing.
v8.2.2817
2021-04-28 20:40:44 +02:00
Bram Moolenaar
03717bf6a2
patch 8.2.2816: Vim9: comment below expression in lambda causes problems
...
Problem: Vim9: comment below expression in lambda causes problems.
Solution: Use a single space for empty and comment lines. (closes #8156 )
v8.2.2816
2021-04-28 20:00:40 +02:00
Bram Moolenaar
b80d2fb0e7
patch 8.2.2815: status line flickers when redrawing popup menu info
...
Problem: Status line flickers when redrawing popup menu info.
Solution: Do not redraw the status line when the focus is in the popup
window. (issue #8144 )
v8.2.2815
2021-04-27 20:06:57 +02:00
Bram Moolenaar
b06b50dfa0
patch 8.2.2814: Vim9: unused variable
...
Problem: Vim9: unused variable. (John Marriott)
Solution: Adjust #ifdef.
v8.2.2814
2021-04-26 21:39:25 +02:00
Yegappan Lakshmanan
bb01a1ef3a
patch 8.2.2813: cannot grep using fuzzy matching
...
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes #8152 )
v8.2.2813
2021-04-26 21:17:52 +02:00
Bram Moolenaar
5930ddcd25
patch 8.2.2812: Vim9: still crash when using substitute expression
...
Problem: Vim9: still crash when using substitute expression.
Solution: Put the instruction list in the stack frame. (closes #8154 )
v8.2.2812
2021-04-26 20:32:59 +02:00
Bram Moolenaar
b98cec28d9
patch 8.2.2811: Vim9: error for missing white space doesn't say where
...
Problem: Vim9: error for missing white space doesn't say where it is
missing
Solution: Mention the command. (closes #8149 )
v8.2.2811
2021-04-25 16:35:55 +02:00
Bram Moolenaar
d386e923c7
patch 8.2.2810: Vim9: crash when calling a function in a substitute expression
...
Problem: Vim9: crash when calling a function in a substitute expression.
Solution: Set the instructions back to the substitute expression
instrunctions. (closes #8148 )
v8.2.2810
2021-04-25 14:48:49 +02:00
Bram Moolenaar
dc4c2309f2
patch 8.2.2809: Vim9: :def function compilation fails when using :legacy
...
Problem: Vim9: :def function compilation fails when using :legacy.
Solution: Reset CMOD_LEGACY when compiling a function. (closes #8137 )
v8.2.2809
2021-04-25 13:54:42 +02:00
Bram Moolenaar
730bf30020
patch 8.2.2808: Vim9: increment and decrement not sufficiently tested
...
Problem: Vim9: increment and decrement not sufficiently tested.
Solution: Add assertions.
v8.2.2808
2021-04-24 20:43:56 +02:00
Bram Moolenaar
340c59ec6f
patch 8.2.2807: build fails with tiny features
...
Problem: Build fails with tiny features.
Solution: Use a dummy function for ex_incdec().
v8.2.2807
2021-04-24 20:37:03 +02:00
Bram Moolenaar
bdc0f1c698
patch 8.2.2806: Vim9: using "++nr" as a command might not work
...
Problem: Vim9: using "++nr" as a command might not work.
Solution: Do not recognize "++" and "--" in a following line as addition or
subtraction.
v8.2.2806
2021-04-24 19:08:24 +02:00
Bram Moolenaar
96cf4ba8fb
patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script
...
Problem: Vim9: cannot use legacy syntax in Vim9 script.
Solution: Add the :legacy command.
v8.2.2805
2021-04-24 14:15:41 +02:00
Bram Moolenaar
7ba1e4d363
patch 8.2.2804: setting buffer local mapping with mapset() changes global
...
Problem: Setting buffer local mapping with mapset() changes global mapping.
Solution: Only set the local mapping. (closes #8143 )
v8.2.2804
2021-04-24 13:12:38 +02:00
Bram Moolenaar
e0c03c8e10
patch 8.2.2803: flicker when the popup menu has an info popup
...
Problem: Flicker when the popup menu has an info popup.
Solution: Avoid drawing over the popup when it's going to be redrawn in the
same position. (closes #8131 ) Also avoid redrawing the scrollbar.
v8.2.2803
2021-04-23 21:01:34 +02:00
Bram Moolenaar
a6aa16423f
patch 8.2.2802: Vim9: illegal memory access
...
Problem: Vim9: illegal memory access.
Solution: Check for comment before checking for white space. (closes #8142 )
v8.2.2802
2021-04-23 19:32:23 +02:00
Bram Moolenaar
f6d9935a13
patch 8.2.2801: free Pascal makefile not recognized
...
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
v8.2.2801
2021-04-23 18:06:48 +02:00
Bram Moolenaar
9f28416e54
patch 8.2.2800: after a timer displays text a hit-enter prompt is given
...
Problem: After a timer displays text a hit-enter prompt is given.
Solution: Reset msg_didany and need_wait_return. (closes #8136 )
v8.2.2800
2021-04-22 21:39:30 +02:00
Bram Moolenaar
11e3c5ba82
Update runtime files
2021-04-21 18:09:37 +02:00
Bram Moolenaar
459fbdbf92
patch 8.2.2799: Vim9: type casts don't fully work at the script level
...
Problem: Vim9: type casts don't fully work at the script level.
Solution: Implement the missing piece.
v8.2.2799
2021-04-21 17:57:26 +02:00
Bram Moolenaar
a369c3d9c1
patch 8.2.2798: Vim9: redir to variable with append does not accept an index
...
Problem: Vim9: redir to variable with append does not accept an index.
Solution: Make the appending work.
v8.2.2798
2021-04-21 16:00:10 +02:00
Bram Moolenaar
2d5f385cee
patch 8.2.2797: Search highlight disappears in the Visual area
...
Problem: Search highlight disappears in the Visual area.
Solution: Combine the search attributes. (closes #8134 )
v8.2.2797
2021-04-21 15:11:42 +02:00
Bram Moolenaar
753bcf8c7d
patch 8.2.2796: Vim9: redir to variable does not accept an index
...
Problem: Vim9: redir to variable does not accept an index.
Solution: Make the index work.
v8.2.2796
2021-04-21 14:24:24 +02:00
Bram Moolenaar
169502fb0b
patch 8.2.2795: Coverity warns for not using return value
...
Problem: Coverity warns for not using return value.
Solution: Check the return value of compiling the substitute expression.
v8.2.2795
2021-04-21 12:19:35 +02:00
Bram Moolenaar
16678eb50f
patch 8.2.2794: Linux users don't know how to get ncurses
...
Problem: Linux users don't know how to get ncurses.
Solution: Add the name of the package. (closes #8132 )
v8.2.2794
2021-04-21 11:57:59 +02:00
Bram Moolenaar
d23f8bde5c
patch 8.2.2793: MS-Windows: string literals are writable with MSVC
...
Problem: MS-Windows: string literals are writable with MSVC.
Solution: Add the /GF compiler flag. Make mch_write() safer. (Ken Takata,
closes #8133 )
v8.2.2793
2021-04-21 11:30:48 +02:00
Bram Moolenaar
9ce47ec0b6
patch 8.2.2792: Vim9: :disas shows instructions for default args but no text
...
Problem: Vim9: :disas shows instructions for default args but no text.
Solution: Show the expression test above the default argument instructions.
(closes #8129 )
v8.2.2792
2021-04-20 22:16:39 +02:00
Bram Moolenaar
5c787fb792
patch 8.2.2791: Vim9: memory leak when using \=expr in :substitute
...
Problem: Vim9: memory leak when using \=expr in :substitute.
Solution: Do not allocate a new instruction list.
v8.2.2791
2021-04-20 21:49:35 +02:00
Bram Moolenaar
63276685f9
patch 8.2.2790: filetype test fails
...
Problem: filetype test fails
Solution: Also update the scripts detection
v8.2.2790
2021-04-20 21:14:09 +02:00
Bram Moolenaar
8238f08838
patch 8.2.2789: Vim9: using \=expr in :substitute does not handle jumps
...
Problem: Vim9: using \=expr in :substitute does not handle jumps.
Solution: Start with instruction count zero. (closes #8128 )
v8.2.2789
2021-04-20 21:10:48 +02:00
Bram Moolenaar
3f88e71fa2
patch 8.2.2788: Raku is now the only name what once was called perl6
...
Problem: Raku is now the only name what once was called perl6.
Solution: Adjust the filetype detection. (closes #8120 )
v8.2.2788
2021-04-20 20:21:23 +02:00
Bram Moolenaar
6d4c1c7ba8
patch 8.2.2787: MS-Windows: crash when using :echoconsole
...
Problem: MS-Windows: crash when using :echoconsole.
Solution: Do not write a NUL when it's already there.
v8.2.2787
2021-04-20 10:33:28 +02:00
Bram Moolenaar
4f2df37a0d
patch 8.2.2786: Vim9: memory leak when using :s with expression
...
Problem: Vim9: memory leak when using :s with expression.
Solution: Clean up the instruction list.
v8.2.2786
2021-04-19 21:06:31 +02:00
Bram Moolenaar
2d1c57ed3d
patch 8.2.2785: Vim9: cannot redirect to local variable
...
Problem: Vim9: cannot redirect to local variable.
Solution: Compile :redir when redirecting to a variable.
v8.2.2785
2021-04-19 20:50:03 +02:00
Bram Moolenaar
4c13721482
patch 8.2.2784: Vim9: cannot use \=expr in :substitute
...
Problem: Vim9: cannot use \=expr in :substitute.
Solution: Compile the expression into instructions and execute them when
invoked.
v8.2.2784
2021-04-19 16:48:48 +02:00
Bram Moolenaar
e8209b91b9
patch 8.2.2783: duplicate code for setting byte in blob, blob test may fail
...
Problem: Duplicate code for setting byte in blob, blob test may fail.
Solution: Call blob_set_append(). Test sort failure with "N".
v8.2.2783
2021-04-18 16:08:52 +02:00
Bram Moolenaar
39211cba72
patch 8.2.2782: Vim9: blob operations not fully tested
...
Problem: Vim9: blob operations not fully tested.
Solution: Make more blob tests run in Vim9 script. Fix filter(). Make
insert() give an error for a null blob, like add().
v8.2.2782
2021-04-18 15:48:04 +02:00
Bram Moolenaar
b7c21afef1
patch 8.2.2781: add() silently skips when adding to null list or blob
...
Problem: Add() silently skips when adding to null list or blob.
Solution: Give an error in Vim9 script. Allocate blob when it is NULL like
with list and dict.
v8.2.2781
2021-04-18 14:12:31 +02:00
Bram Moolenaar
d551d6c268
patch 8.2.2780: Vim9: for loop over blob doesn't work
...
Problem: Vim9: for loop over blob doesn't work.
Solution: Make it work.
v8.2.2780
2021-04-18 13:15:58 +02:00
Bram Moolenaar
f7e92aae15
patch 8.2.2779: memory access error in remove() for blob
...
Problem: Memory access error in remove() for blob.
Solution: Adjust length for memmove().
v8.2.2779
2021-04-17 21:22:49 +02:00
Bram Moolenaar
d23b714d8b
patch 8.2.2778: problem restoring 'packpath' in session
...
Problem: Problem restoring 'packpath' in session.
Solution: Let "skiprtp" also apply to 'packpath'.
v8.2.2778
2021-04-17 21:04:34 +02:00
Bram Moolenaar
51e933261b
patch 8.2.2777: Vim9: blob operations not tested in all ways
...
Problem: Vim9: blob operations not tested in all ways.
Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with
index work.
v8.2.2777
2021-04-17 20:44:56 +02:00
Bram Moolenaar
0995c81f2f
patch 8.2.2776: :mksession uses current value of 'splitbelow' and 'splitright'
...
Problem: :mksession uses current value of 'splitbelow' and 'splitright'
even though "options" is not in 'sessionoptions'. (Maxim Kim)
Solution: Save and restore the values, instead of setting to the current
value. (closes #8119 )
v8.2.2776
2021-04-17 18:38:54 +02:00