Bram Moolenaar
6600447c7b
patch 9.0.0864: crash when using "!!" without a previous shell command
...
Problem: Crash when using "!!" without a previous shell command.
Solution: Check "prevcmd" is not NULL. (closes #11487 )
2022-11-12 16:36:35 +00:00
shane.xb.qian
4e7590ec00
patch 9.0.0845: shell command with just space gives strange error
...
Problem: Shell command with just space gives strange error.
Solution: Skip white space at start of the argument. (Christian Brabandt,
Shane-XB-Qian, closes #11515 , closes #11495 )
2022-11-08 21:40:04 +00:00
Bram Moolenaar
03d6e6f42b
patch 9.0.0820: memory leak with empty shell command
...
Problem: Memory leak with empty shell command.
Solution: Free the empty string.
2022-10-29 21:53:08 +01:00
Bram Moolenaar
fb0cf2357e
patch 9.0.0817
2022-10-22 11:25:19 +01:00
Martin Tournoij
9c50eeb401
patch 9.0.0815
2022-10-22 09:02:56 +01:00
Bram Moolenaar
9652249a2d
patch 9.0.0785: memory leak with empty shell command
...
Problem: Memory leak with empty shell command.
Solution: Free the allocated memory when bailing out.
2022-10-17 20:00:26 +01:00
Bram Moolenaar
8107a2a8af
patch 9.0.0783: ":!" doesn't do anything but does update the previous command
...
Problem: ":!" doesn't do anything but does update the previous command.
Solution: Do not have ":!" change the previous command. (Martin Tournoij,
closes #11372 )
2022-10-17 18:00:23 +01:00
Bram Moolenaar
c9121f798f
patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'
...
Problem: 'scrolloff' does not work well with 'smoothscroll'.
Solution: Make positioning the cursor a bit better. Rename functions.
2022-10-14 20:09:04 +01:00
Martin Tournoij
7904fa420e
patch 9.0.0657: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268 )
2022-10-04 16:28:45 +01:00
Yegappan Lakshmanan
0a016671b9
patch 9.0.0648: when using powershell input redirection does not work
...
Problem: When using powershell input redirection does not work.
Solution: Use a different shell command for powershell. (Yegappan
Lakshmanan, closes #11257 )
2022-10-03 16:05:28 +01:00
Bram Moolenaar
a2b91036d1
patch 9.0.0506: line number argument for :badd does not work
...
Problem: Line number argument for :badd does not work.
Solution: Set the last cursor position in the new buffer. (closes #11161 )
2022-09-19 18:20:08 +01:00
Bram Moolenaar
73e28dcc61
patch 9.0.0491: no good reason to build without the float feature
...
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-17 21:08:33 +01:00
Bram Moolenaar
d3922afbd6
patch 9.0.0467: build failure
...
Problem: Build failure.
Solution: Add missing change.
2022-09-14 22:30:59 +01:00
Bram Moolenaar
a04f457a6c
patch 9.0.0457: substitute prompt does not highlight an empty match
...
Problem: Substitute prompt does not highlight an empty match.
Solution: Highlight at least one character.
2022-09-13 13:45:26 +01:00
Bram Moolenaar
a2a8973e51
patch 9.0.0340: the 'cmdheight' zero support causes too much trouble
...
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
2022-08-31 14:46:18 +01:00
zeertzjq
9c8f94636b
patch 9.0.0332: overwrite check may block BufWriteCmd
...
Problem: Overwrite check may block BufWriteCmd.
Solution: Do not use overwrite check when 'buftype' is "acwrite".
(closes #11011 )
2022-08-30 18:17:15 +01:00
Bram Moolenaar
13608d851a
patch 9.0.0318: clearing screen causes flicker
...
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
2022-08-29 15:06:50 +01:00
Bram Moolenaar
309c4e0ed7
patch 9.0.0315: shell command is displayed in message window
...
Problem: Shell command is displayed in message window.
Solution: Do not echo the shell command in the message window.
2022-08-29 12:23:39 +01:00
Bram Moolenaar
6d4b2f54df
patch 9.0.0263: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Make some functions always available.
2022-08-25 15:11:15 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
213bbaf15a
patch 9.0.0145: substitute that joins lines drops text properties
...
Problem: Substitute that joins lines drops text properties.
Solution: Move text properties of the last line to the new line.
2022-08-05 19:46:48 +01:00
Shougo Matsushita
f39cfb7262
patch 9.0.0114: the command line takes up space even when not used
...
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675 , closes #940 )
2022-07-30 16:54:05 +01:00
ii14
1f0dc5e84f
patch 9.0.0085: ":write" fails after ":file name" and the ":edit"
...
Problem: ":write" fails after ":file name" and the ":edit".
Solution: Reset BF_NOTEDITED when using ":edit". (closes #10790 )
2022-07-26 19:44:56 +01:00
Bram Moolenaar
32acf1f1a7
patch 9.0.0047: using freed memory with recursive substitute
...
Problem: Using freed memory with recursive substitute.
Solution: Always make a copy for reg_prev_sub.
2022-07-07 22:20:31 +01:00
Bram Moolenaar
44ddf19ec0
patch 8.2.5146: memory leak when substitute expression nests
...
Problem: Memory leak when substitute expression nests.
Solution: Use an array of expression results.
2022-06-21 22:15:25 +01:00
Paul Ollis
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
Bram Moolenaar
4aaf3e7f4d
patch 8.2.5046: vim_regsub() can overwrite the destination
...
Problem: vim_regsub() can overwrite the destination.
Solution: Pass the destination length, give an error when it doesn't fit.
2022-05-30 20:58:55 +01:00
zeertzjq
cfe456543e
patch 8.2.5029: "textlock" is always zero
...
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489 )
2022-05-27 17:26:55 +01:00
Bram Moolenaar
e2bd8600b8
patch 8.2.4977: memory access error when substitute expression changes window
...
Problem: Memory access error when substitute expression changes window.
Solution: Disallow changing window in substitute expression.
2022-05-18 13:11:57 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
b836658a04
patch 8.2.4750: small pieces of dead code
...
Problem: Small pieces of dead code.
Solution: Remove the dead code. (Goc Dundar, closes #10190 ) Rename the
qftf_cb struct member to avoid confusion.
2022-04-14 20:43:56 +01:00
zeertzjq
3a56b6d405
patch 8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaves
...
Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
Solution: Don't set "need_start_insertmode" when already in Insert mode.
(closes #10116 )
2022-04-08 11:56:14 +01:00
Bram Moolenaar
ce416b453a
patch 8.2.4672: using :normal with Ex mode may make :substitute hang
...
Problem: Using :normal with Ex mode may make :substitute hang.
Solution: When getting an empty line behave like 'q' was typed.
(closes #10070 )
2022-04-03 12:59:34 +01:00
Bram Moolenaar
4dea2d92e4
patch 8.2.4653: "import autoload" does not check the file name
...
Problem: "import autoload" does not check the file name.
Solution: Give an error if the file is not readable. (closes #10049 )
2022-03-31 11:37:57 +01:00
Bram Moolenaar
fe154990c1
patch 8.2.4610: some conditions are always true
...
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993 )
2022-03-22 20:42:12 +00:00
Bram Moolenaar
9fb7b42935
patch 8.2.4515: old subsitute syntax is still supported
...
Problem: Old subsitute syntax is still supported.
Solution: Disallow using backslash after ":s" in Vim9 script.
2022-03-05 21:13:26 +00:00
Bram Moolenaar
24d9c0557e
patch 8.2.4506: "pattern not found" for :global is not an error message
...
Problem: "pattern not found" for :global is not an error message.
Solution: In Vim9 script make this an actual error, so that try/catch can be
used as expected.
2022-03-04 21:34:31 +00:00
K.Takata
6e1d31e9e3
patch 8.2.4288: preprocessor indents are inconsistent
...
Problem: Preprocessor indents are inconsistent.
Solution: Fix preprocessor indents. (Ken Takata, closes #9691 )
2022-02-03 13:05:32 +00:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Bram Moolenaar
37f47958b8
patch 8.2.4253: using freed memory when substitute with function call
...
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text.
2022-01-29 14:21:51 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
dc5490e2cb
patch 8.2.4215: illegal memory access when copying lines in Visual mode
...
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
2022-01-25 13:52:53 +00:00
Bram Moolenaar
677658ae49
patch 8.2.4008: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 16:09:06 +00:00
Bram Moolenaar
b09feaa86e
patch 8.2.3986: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 20:20:45 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
eb822a280c
patch 8.2.3955: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 15:09:27 +00:00
zeertzjq
1fa3de1ce8
patch 8.2.3952: first line not redrawn when adding lines to an empty buffer
...
Problem: First line not redrawn when adding lines to an empty buffer.
Solution: Adjust the argument to appended_lines(). (closes #9439 ,
closes #9438 )
2021-12-31 12:19:22 +00:00