Bram Moolenaar
b4d82e2a8d
patch 8.2.3392: augroup completion escapes regexp pattern characters
...
Problem: augroup completion escapes regexp pattern characters.
Solution: Do not escape the augroup name. (closes #8826 )
v8.2.3392
2021-09-01 13:03:39 +02:00
Bram Moolenaar
20e0c3d27b
patch 8.2.3391: crash with combination of 'linebreak' and other options
...
Problem: Crash with combination of 'linebreak' and other options.
Solution: Avoid n_extra to become negative. (Christian Brabandt,
closes #8817 )
v8.2.3391
2021-08-31 20:57:55 +02:00
Christian Brabandt
ba02e4720f
patch 8.2.3390: included xdiff code is outdated
...
Problem: Included xdiff code is outdated.
Solution: Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431 )
v8.2.3390
2021-08-31 20:46:39 +02:00
zeertzjq
dca29d9cf4
patch 8.2.3389: cannot stop insert mode completion without side effects
...
Problem: Cannot stop insert mode completion without side effects.
Solution: Add CTRL-X CTRL-Z. (closes #8821 )
v8.2.3389
2021-08-31 19:12:51 +02:00
Bram Moolenaar
4eaef9979f
patch 8.2.3388: fnamemodify('path/..', ':p') differs from using 'path/../'
...
Problem: fnamemodify('path/..', ':p') differs from using 'path/../'.
Solution: Include the "/.." in the directory name. (closes #8808 )
v8.2.3388
2021-08-30 21:26:16 +02:00
Dominique Pelle
de05ae7158
patch 8.2.3387: compiler warning for non-static function
...
Problem: Compiler warning for non-static function.
Solution: Make the function static. (Dominique Pellé, closes #8816 )
v8.2.3387
2021-08-30 19:57:34 +02:00
Dominique Pelle
a918712626
patch 8.2.3386: using uninitialized memory
...
Problem: Using uninitialized memory.
Solution: Initialize the rm_ic field. (Dominique Pellé, closes #8800 )
v8.2.3386
2021-08-29 22:12:56 +02:00
Bram Moolenaar
89a9c159f2
Update runtime files
2021-08-29 21:55:35 +02:00
Jason Cox
6e82351130
patch 8.2.3385: escaping for fish shell does not work properly
...
Problem: Escaping for fish shell does not work properly.
Solution: Insert a backslash before a backslash. (Jason Cox, closes #8810 )
v8.2.3385
2021-08-29 12:36:49 +02:00
Hu Jialun
9dcd349ca8
patch 8.2.3384: cannot disable modeline for an individual file
...
Problem: Cannot disable modeline for an individual file.
Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798 )
v8.2.3384
2021-08-28 20:42:50 +02:00
naohiro ono
9aecf79c45
patch 8.2.3383: Vim9: completion for :disassemble adds parenthesis
...
Problem: Vim9: completion for :disassemble adds parenthesis.
Solution: Don't add parenthesis. (Naohiro Ono, closes #8802 )
v8.2.3383
2021-08-28 15:56:06 +02:00
Bram Moolenaar
c8103b4c25
patch 8.2.3382: crash when getting the type of a NULL partial
...
Problem: Crash when getting the type of a NULL partial.
Solution: Check for NULL. (closes #8260 )
v8.2.3382
2021-08-28 14:58:44 +02:00
Bram Moolenaar
5c56da4de8
patch 8.2.3381: crash when using NULL list with sign functions
...
Problem: Crash when using NULL list with sign functions.
Solution: Handle a NULL list like an empty list. (issue #8260 )
v8.2.3381
2021-08-28 14:42:25 +02:00
Bram Moolenaar
60b6e6f6cc
patch 8.2.3380: crash when using NULL string for funcref()
...
Problem: Crash when using NULL string for funcref().
Solution: Check for NULL argument. (issue #8260 )
v8.2.3380
2021-08-28 12:49:27 +02:00
Bram Moolenaar
271906bc06
patch 8.2.3379: crash when using NULL job
...
Problem: Crash when using NULL job.
Solution: Copy static string into buffer. (issue #8260 )
v8.2.3379
2021-08-28 12:30:12 +02:00
Albert Liu
6024c0427c
patch 8.2.3378: MS-Windows: completing environment variables with % is wrong
...
Problem: MS-Windows: completing environment variables with % is wrong.
Solution: Only complete environment variables with $. (Albert Liu,
closes #8791 )
v8.2.3378
2021-08-27 20:59:35 +02:00
Bram Moolenaar
47016f5772
patch 8.2.3377: Vim9: :disass completion does not understand "s:"
...
Problem: Vim9: :disass completion does not understand "s:".
Solution: Expand "s:" to a pattern. (closes #8780 )
v8.2.3377
2021-08-26 16:39:58 +02:00
Bram Moolenaar
4799cef85c
patch 8.2.3376: Vim9: no warning that "@r" does not do anything
...
Problem: Vim9: no warning that "@r" does not do anything.
Solution: Give a "no effect" error. (closes #8779 )
v8.2.3376
2021-08-25 22:37:36 +02:00
Bram Moolenaar
df9070e300
patch 8.2.3375: using uninitialized memory
...
Problem: Using uninitialized memory.
Solution: Initialize textprop_save_len.
v8.2.3375
2021-08-25 17:31:37 +02:00
Bram Moolenaar
eb05d05f8a
patch 8.2.3374: Pyret files are not recognized
...
Problem: Pyret files are not recognized.
Solution: Recognize .arr files as Pyret. (Doug Kearns)
v8.2.3374
2021-08-25 17:10:39 +02:00
Bram Moolenaar
49b93049c6
patch 8.2.3373: text property test fails on MS-Windows
...
Problem: text property test fails on MS-Windows.
Solution: Set fileformat to "unix"
v8.2.3373
2021-08-25 17:02:00 +02:00
Bram Moolenaar
cdd8a5e6fe
patch 8.2.3372: line2byte() value wrong when adding a text property
...
Problem: line2byte() value wrong when adding a text property. (Yuto Kimura)
Solution: Adjust length for text property. (closes #8772 ) Also fix it for
deleting a line.
v8.2.3372
2021-08-25 16:40:03 +02:00
Bram Moolenaar
5ca5cc6412
patch 8.2.3371: Vim9: :$ENV cannot be followed by ->func() in next line
...
Problem: Vim9: :$ENV cannot be followed by ->func() in next line.
Solution: Use "$ENV" as the start of an expression. (closes #8790 )
v8.2.3371
2021-08-24 21:56:03 +02:00
Bram Moolenaar
60faf8656e
patch 8.2.3370: Vim9: no check for white space before type in declaration
...
Problem: Vim9: no check for white space before type in declaration.
(Naohiro Ono)
Solution: Check for white space like in a compiled function. (closes #8785 )
v8.2.3370
2021-08-23 22:22:45 +02:00
Bram Moolenaar
6b36d2a16d
patch 8.2.3369: auto formatting after "cw" leaves cursor in wrong spot
...
Problem: Auto formatting after "cw" leaves cursor in wrong spot.
Solution: Do not auto-format after the delete. (closes #8789 )
v8.2.3369
2021-08-23 21:19:01 +02:00
Bram Moolenaar
9cd91a1e88
patch 8.2.3368: not all Racket files are recognized
...
Problem: Not all Racket files are recognized.
Solution: Also recognize .rktl and .rktd files. (Doug Kearns)
v8.2.3368
2021-08-23 20:48:43 +02:00
Bram Moolenaar
73170917f1
patch 8.2.3367: Vim9: :@r executing a register is inconsistent
...
Problem: Vim9: :@r executing a register is inconsistent.
Solution: Use "@r" as the start of an expression. (issue #8779 )
v8.2.3367
2021-08-22 22:44:11 +02:00
Bram Moolenaar
093165c899
patch 8.2.3366: Vim9: debugging elseif does not stop before condition
...
Problem: Vim9: debugging elseif does not stop before condition.
Solution: Move debug statement to after the jump. (closes #8781 )
v8.2.3366
2021-08-22 13:35:31 +02:00
Bram Moolenaar
bf5f287833
patch 8.2.3365: Vim9: cannot use option for all operations
...
Problem: Vim9: cannot use option for all operations.
Solution: Recognize more operations. (closes #8779 )
v8.2.3365
2021-08-21 20:50:35 +02:00
rbtnn
bebf06954e
patch 8.2.3364: Vim9: crash when :for is skipped
...
Problem: Vim9: crash when :for is skipped.
Solution: Skip more code generation. (Naruhiko Nishino, closes #8777 )
v8.2.3364
2021-08-21 17:26:50 +02:00
Bram Moolenaar
b8bd2e6eba
patch 8.2.3363: when :edit reuses the current buffer the alternate file is set
...
Problem: When :edit reuses the current buffer the alternate file is set to
the same buffer.
Solution: Only set the alternate file when not reusing the buffer.
(closes #8783 )
v8.2.3363
2021-08-21 17:13:14 +02:00
Gregory Anders
489d60996d
patch 8.2.3362: buffer overflow when completing long tag name
...
Problem: Buffer overflow when completing long tag name.
Solution: Allocate the buffer dynamically. (Gregory Anders, closes #8769 )
v8.2.3362
2021-08-21 16:21:19 +02:00
rbtnn
d895b1d918
patch 8.2.3361: Vim9: crash with nested :while
...
Problem: Vim9: crash with nested :while.
Solution: Handle skipping better. (Naruhiko Nishino, closes #8778 )
v8.2.3361
2021-08-20 20:54:25 +02:00
naohiro ono
5aec755b67
patch 8.2.3360: user function completion fails with dict function
...
Problem: User function completion fails with dict function.
Solution: Do not stop sequencing through the list if user functions when
encountering an empty name. (Naohiro Ono, closes #8765 ,
closes #8774 )
v8.2.3360
2021-08-19 21:20:41 +02:00
Bram Moolenaar
c66f645b80
patch 8.2.3359: Vim9: error for type when variable is not set
...
Problem: Vim9: error for type when variable is not set.
Solution: Give a specific error for a NULL function. (closes #8773 )
v8.2.3359
2021-08-19 21:08:30 +02:00
Bastian Venthur
dea561111a
patch 8.2.3358: structurizr files are not recognized
...
Problem: Structurizr files are not recognized.
Solution: Recognize the file by contents. (Bastian Venthur, closes #8764 )
v8.2.3358
2021-08-17 23:44:54 +02:00
Bram Moolenaar
02f8694a6b
patch 8.2.3357: crash when 'virtualedit' is set and window is narrow
...
Problem: Crash when 'virtualedit' is set and window is narrow. ()
Solution: Check that width is not zero. (closes #8767 )
v8.2.3357
2021-08-17 22:14:29 +02:00
Yegappan Lakshmanan
ccfb7c6758
patch 8.2.3356: adding many text properties requires a lot of function calls
...
Problem: Adding many text properties requires a lot of function calls.
Solution: Add the prop_add_list() function. (Yegappan Lakshmanan,
closes #8751 )
v8.2.3356
2021-08-16 21:39:09 +02:00
Bram Moolenaar
434df7a401
patch 8.2.3355: MS-Windows: compiler warning for 64-32 bit conversion
...
Problem: MS-Windows: compiler warning for 64-32 bit conversion.
Solution: Add type casts.
v8.2.3355
2021-08-16 21:15:32 +02:00
Bram Moolenaar
92755bba30
patch 8.2.3354: build failure with +byte_offset but without +textprop
...
Problem: Build failure with +byte_offset but without +textprop. (John
Marriott)
Solution: Adjust the #ifdef.
v8.2.3354
2021-08-15 22:18:04 +02:00
Bram Moolenaar
cd6b4f3001
patch 8.2.3353: Vim9: type of argument for negate not checked at compile time
...
Problem: Vim9: type of argument for negate not checked at compile time.
Solution: Add a compile time check.
v8.2.3353
2021-08-15 20:36:28 +02:00
Bram Moolenaar
4bba16d252
patch 8.2.3352: Vim9: error for nested :enddef has wrong line number
...
Problem: Vim9: error for nested :enddef has wrong line number.
Solution: Compute the line number.
v8.2.3352
2021-08-15 19:28:05 +02:00
Bram Moolenaar
b033ee2ddf
patch 8.2.3351: Vim9: using a function by name may delete it
...
Problem: Vim9: using a function by name may delete it. (Naohiro Ono)
Solution: Increment the reference count when using a function by name.
(closes #8760 )
v8.2.3351
2021-08-15 16:08:36 +02:00
Bram Moolenaar
a401bba080
patch 8.2.3350: text properties test fails on MS-Windows
...
Problem: Text properties test fails on MS-Windows.
Solution: Set fileformat to unix.
v8.2.3350
2021-08-15 15:04:41 +02:00
Bram Moolenaar
5cebca27b8
patch 8.2.3349: eval test for scriptversion fails
...
Problem: Eval test for scriptversion fails.
Solution: Fix off-by-one error.
v8.2.3349
2021-08-15 14:39:13 +02:00
Bram Moolenaar
14c7530c4f
patch 8.2.3348: line2byte() returns wrong value after adding textprop
...
Problem: line2byte() returns wrong value after adding textprop. (Yuto
Kimura)
Solution: Reduce the length by the size of the text property. (closes #8759 )
v8.2.3348
2021-08-15 14:28:40 +02:00
Bram Moolenaar
dd9de50f42
patch 8.2.3347: check for legacy script is incomplete
...
Problem: Check for legacy script is incomplete. (Naohiro Ono)
Solution: Also check the :legacy modifier. Use for string concatenation
with "." and others (issue #8756 )
v8.2.3347
2021-08-15 13:49:42 +02:00
Bram Moolenaar
2596a4e763
patch 8.2.3346: Vim9: no error for using "." for concatenation after ":vim9cmd"
...
Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
(Naohiro Ono)
Solution: Check for Vim9 script syntax. (closes #8756 )
v8.2.3346
2021-08-14 21:35:40 +02:00
Bram Moolenaar
6aa57295cf
Update runtime files
2021-08-14 21:25:52 +02:00
Dominique Pelle
bfb2bb16bc
patch 8.2.3345: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes #8757 )
v8.2.3345
2021-08-14 21:11:51 +02:00