Bram Moolenaar
279d733dfb
patch 8.2.3683: Vim9: cannot use in :...do commands
...
Problem: Vim9: cannot use in :...do commands.
Solution: Add EX_EXPAND to the commands. (closes #9232 )
v8.2.3683
2021-11-27 11:42:50 +00:00
Bram Moolenaar
6304be625c
Update runtime files.
2021-11-27 10:57:26 +00:00
Bram Moolenaar
7824fc80f6
patch 8.2.3682: Vim9: assigning to a script variable drops the type
...
Problem: Vim9: assigning to a script variable drops the required type.
Solution: Lookup the type of the variable and use it. (closes #9219 )
v8.2.3682
2021-11-26 17:36:51 +00:00
Bram Moolenaar
bfc5786a61
patch 8.2.3681: cannot drag popup window after click on a status line
...
Problem: Cannot drag popup window after click on a status line. (Sergey
Vlasov)
Solution: Reset on_status_line. (closes #9221 )
v8.2.3681
2021-11-26 15:57:40 +00:00
DungSaga
d1d8a595bd
patch 8.2.3680: repeated code in xxd
...
Problem: Repeated code in xxd.
Solution: Change exit_on_ferror() to getc_or_die(). (closes #9226 )
v8.2.3680
2021-11-26 13:59:27 +00:00
Doug Kearns
7329cfab36
patch 8.2.3679: objc file detected as Octave
...
Problem: objc file detected as Octave. (Antony Lee)
Solution: Detect objc by preprocessor lines. (Doug Kearns, closes #9223 ,
closes #9220 )
v8.2.3679
2021-11-26 13:01:41 +00:00
Bram Moolenaar
85be8563fe
patch 8.2.3678: illegal memory access
...
Problem: Illegal memory access.
Solution: Ignore changed indent when computing byte offset.
v8.2.3678
2021-11-25 20:40:11 +00:00
Bram Moolenaar
4d07253a48
patch 8.2.3677: after a put the '] mark is on the last byte
...
Problem: After a put the '] mark is on the last byte of a multi-byte
character.
Solution: Move it to the first byte. (closes #9047 )
v8.2.3677
2021-11-25 19:31:15 +00:00
Bram Moolenaar
309ce25189
patch 8.2.3676: unused runtime file
...
Problem: Unused runtime file.
Solution: Remove rgb.txt.
v8.2.3676
2021-11-25 15:11:03 +00:00
Bram Moolenaar
ba8c92687d
patch 8.2.3675: using freed memory when vim_strsave() fails
...
Problem: Using freed memory when vim_strsave() fails.
Solution: Clear "last_sourcing_name". Check for msg_source() called
recursively. (closes #8217 )
v8.2.3675
2021-11-25 14:43:18 +00:00
Bram Moolenaar
96e7a5928e
patch 8.2.3674: when ml_get_buf() fails it messes up IObuff
...
Problem: When ml_get_buf() fails it messes up IObuff.
Solution: Return a local pointer. (closes #9214 )
v8.2.3674
2021-11-25 13:52:37 +00:00
Bram Moolenaar
0bd8d05638
patch 8.2.3673: crash when allocating signal stack fails
...
Problem: Crash when allocating signal stack fails.
Solution: Only using sourcing info when available. (closes #9215 )
v8.2.3673
2021-11-25 13:39:28 +00:00
Bram Moolenaar
71b36206be
patch 8.2.3672: build failure with unsigned char
...
Problem: Build failure with unsigned char.
Solution: Use int instead of char.
v8.2.3672
2021-11-25 13:26:19 +00:00
Bram Moolenaar
34c20ff85b
patch 8.2.3671: restarting Insert mode in prompt buffer too often
...
Problem: Restarting Insert mode in prompt buffer too often when a callback
switches windows and comes back. (Sean Dewar)
Solution: Do not set "restart_edit" when already in Insert mode.
v8.2.3671
2021-11-25 13:04:48 +00:00
Bram Moolenaar
8af87bd6b1
patch 8.2.3670: error checks repeated several times
...
Problem: Error checks repeated several times.
Solution: Move the checks to functions. (closes #9213 )
v8.2.3670
2021-11-25 11:16:50 +00:00
Bram Moolenaar
bd228fd097
patch 8.2.3669: buffer overflow with long help argument
...
Problem: Buffer overflow with long help argument.
Solution: Use snprintf().
v8.2.3669
2021-11-25 10:50:12 +00:00
Yegappan Lakshmanan
bb277fd89f
patch 8.2.3668: messages may be corrupted
...
Problem: Messages may be corrupted.
Solution: Use another buffer instead of IObuff. (Yegappan Lakshmanan,
closes #9195 )
v8.2.3668
2021-11-24 20:28:31 +00:00
Bram Moolenaar
510d8e6056
patch 8.2.3667: building libvterm fails with MSVC
...
Problem: Building libvterm fails with MSVC.
Solution: Don't use C99 construct.
v8.2.3667
2021-11-24 19:55:46 +00:00
Bram Moolenaar
7da341560e
patch 8.2.3666: libvterm is outdated
...
Problem: Libvterm is outdated.
Solution: Include patches from revision 769 to revision 789.
v8.2.3666
2021-11-24 19:30:55 +00:00
Yegappan Lakshmanan
19916a8c89
patch 8.2.3665: cannot use a lambda for 'tagfunc'
...
Problem: Cannot use a lambda for 'tagfunc'.
Solution: Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204 )
v8.2.3665
2021-11-24 16:32:55 +00:00
Bram Moolenaar
e413ea04b7
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'
...
Problem: Cannot adjust sign highlighting for 'cursorline'.
Solution: Add CursorLineSign and CursorLineFold highlight groups.
(Gregory Anders, closes #9201 )
v8.2.3664
2021-11-24 16:20:13 +00:00
presuku
1f2453fec6
patch 8.2.3663: using %S in printf() does not work correctly
...
Problem: Using %S in printf() does not work correctly.
Solution: Fix the problem and add more tests. (closes #9208 )
v8.2.3663
2021-11-24 15:32:57 +00:00
Bram Moolenaar
cf1e0239ce
patch 8.2.3662: illegal memory access if malloc() fails
...
Problem: Illegal memory access if malloc() fails.
Solution: Check 'foldmethod' is not empty. (closes #9207 )
v8.2.3662
2021-11-24 15:13:26 +00:00
Bram Moolenaar
8bc07e800c
patch 8.2.3661: test for put with large count fails
...
Problem: Test for put with large count fails.
Solution: Adjust the counts in the test.
v8.2.3661
2021-11-24 14:59:17 +00:00
Bram Moolenaar
9b0e82f35e
patch 8.2.3660: overflow check uses wrong number
...
Problem: Overflow check uses wrong number.
Solution: Divide by ten.
v8.2.3660
2021-11-24 13:40:29 +00:00
Bram Moolenaar
03725c5795
patch 8.2.3659: integer overflow with large line number
...
Problem: Integer overflow with large line number.
Solution: Check for overflow. (closes #9202 )
v8.2.3659
2021-11-24 12:17:53 +00:00
DungSaga
48608b4a4b
patch 8.2.3658: duplicate code in xxd
...
Problem: Duplicate code in xxd.
Solution: Merge duplicated code. Add more tests. (closes #9192 )
v8.2.3658
2021-11-24 11:18:07 +00:00
Bram Moolenaar
112bed0cbe
patch 8.2.3657: Vim9: debug text misses one line of return statement
...
Problem: Vim9: debug text misses one line of return statement.
Solution: Add a line when not at a debug instruction. (closes #9137 )
v8.2.3657
2021-11-23 22:16:34 +00:00
Bram Moolenaar
65259b5c6a
patch 8.2.3656: Vim9: no error for an evironment variable by itself
...
Problem: Vim9: no error for an evironment variable by itself.
Solution: Give a "without effect" error. (closes #9166 )
v8.2.3656
2021-11-23 14:52:06 +00:00
Mike Williams
cc9d725bbb
patch 8.2.3655: compiler warning for using size_t for int
...
Problem: Compiler warning for using size_t for int.
Solution: Add a type cast. (Mike Williams, closes #9199 )
v8.2.3655
2021-11-23 12:35:57 +00:00
Chris Dalton
ee93e327ba
patch 8.2.3654: GTK: a touch-drag does not update the selection
...
Problem: GTK: a touch-drag does not update the selection.
Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196 ,
closes #9194 )
v8.2.3654
2021-11-23 12:27:48 +00:00
Milly
b771b6b5fe
patch 8.2.3653: terminal ANSI colors may be wrong
...
Problem: Terminal ANSI colors may be wrong.
Solution: Initialize the color type. (closes #9198 , closes #9197 )
v8.2.3653
2021-11-23 12:07:25 +00:00
Yegappan Lakshmanan
e021662f39
patch 8.2.3652: can only get text properties one line at a time
...
Problem: Can only get text properties one line at a time.
Solution: Add options to prop_list() to use a range of lines and filter by
types. (Yegappan Lakshmanan, closes #9138 )
v8.2.3652
2021-11-23 11:46:32 +00:00
Bram Moolenaar
04b568b38f
patch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable
...
Problem: Vim9: no error for :lock or :unlock with unknown variable.
Solution: Give an error. (closes #9188 )
v8.2.3651
2021-11-22 21:58:41 +00:00
Bram Moolenaar
3b3755fe19
patch 8.2.3650: Vim9: for loop variable can be a list member
...
Problem: Vim9: for loop variable can be a list member.
Solution: Check for valid variable name. (closes #9179 )
v8.2.3650
2021-11-22 20:10:18 +00:00
Bram Moolenaar
7a53f29c03
patch 8.2.3649: Vim9: error for variable declared in while loop
...
Problem: Vim9: error for variable declared in while loop.
Solution: Do not keep the first variable. (closes #9191 )
v8.2.3649
2021-11-22 18:31:02 +00:00
Bram Moolenaar
4671e88d7d
patch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim
...
Problem: "verbose pwd" is incorrect after dropping files on Vim.
Solution: Set the chdir reason to "drop".
v8.2.3648
2021-11-22 17:21:48 +00:00
Dusan Popovic
ce59b9f292
patch 8.2.3647: GTK: when using ligatures the cursor is drawn wrong
...
Problem: GTK: when using ligatures the cursor is drawn wrong.
Solution: Clear more characters when ligatures are used. (Dusan Popovic,
closes #9190 )
v8.2.3647
2021-11-22 17:18:44 +00:00
Bram Moolenaar
c449271f4e
patch 8.2.3646: using <sfile> in a function gives an unexpected result
...
Problem: Using <sfile> in a function gives an unexpected result.
Solution: Give an error in a Vim9 function. (issue #9189 )
v8.2.3646
2021-11-22 15:37:15 +00:00
Bram Moolenaar
7d5b8becc3
patch 8.2.3645: Vim9: The "no effect" error is not given for all registers
...
Problem: Vim9: The "no effect" error is not given for all registers.
Solution: Include any character following '@'. (closes #8779 )
v8.2.3645
2021-11-22 15:05:46 +00:00
Bram Moolenaar
2228cd72cf
patch 8.2.3644: count for 'operatorfunc' in Visual mode is not redone
...
Problem: Count for 'operatorfunc' in Visual mode is not redone.
Solution: Add the count to the redo buffer. (closes #9174 )
v8.2.3644
2021-11-22 14:16:08 +00:00
zeertzjq
a3f83feb63
patch 8.2.3643: header for source file is outdated
...
Problem: Header for source file is outdated.
Solution: Make the header more accurate. (closes #9186 )
v8.2.3643
2021-11-22 12:47:39 +00:00
Bram Moolenaar
73448a27a8
patch 8.2.3642: list of distributed files is outdated
...
Problem: List of distributed files is outdated.
Solution: Rename term.h to termdefs.h.
v8.2.3642
2021-11-22 12:06:06 +00:00
DungSaga
581f41adb3
patch 8.2.3641: xxd code has duplicate expressions
...
Problem: Xxd code has duplicate expressions.
Solution: Refactor to avoid duplication. (closes #9185 )
v8.2.3641
2021-11-22 11:57:31 +00:00
Bram Moolenaar
88a4205f1c
Update runtime files
2021-11-21 21:13:36 +00:00
Bram Moolenaar
eea32afdb8
patch 8.2.3640: freeze when calling term_wait() in a close callback
...
Problem: Freeze when calling term_wait() in a close callback.
Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152 )
v8.2.3640
2021-11-21 14:51:13 +00:00
Volodymyr Kot
7f0c4b418e
patch 8.2.3639: line commented out accidentally
...
Problem: Line commented out accidentally.
Solution: Uncomment. (Volodymyr Kot, closes #9172 )
v8.2.3639
2021-11-21 12:27:13 +00:00
ii14
4785fe02bb
patch 8.2.3638: getcompletion() always passes zero as position
...
Problem: getcompletion() always passes zero as position to custom
completion function.
Solution: Pass the pattern length. (closes #9173 )
v8.2.3638
2021-11-21 12:13:56 +00:00
Dominique Pelle
923dce2b07
patch 8.2.3637: typos in test files
...
Problem: Typos in test files.
Solution: Correct the typos. (Dominique Pellé, closes #9175 )
v8.2.3637
2021-11-21 11:36:04 +00:00
Bram Moolenaar
2c23670300
patch 8.2.3636: Coverity warns for unreachable code
...
Problem: Coverity warns for unreachable code.
Solution: Remove unreachable else block.
v8.2.3636
2021-11-21 11:15:49 +00:00