Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-25 20:21:28 +02:00
Bram Moolenaar
682725c141
patch 8.1.1392: build failure in tiny version
...
Problem: Build failure in tiny version.
Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED.
2019-05-25 20:10:37 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
99499b1c05
patch 8.1.1371: cannot recover from a swap file
...
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes #4369 )
2019-05-23 21:35:48 +02:00
Bram Moolenaar
d4aa83af1d
patch 8.1.1307: cannot reconnect to the X server after it restarted
...
Problem: Cannot reconnect to the X server after it restarted.
Solution: Add the :xrestore command. (Adrian Kocis, closes #844 )
2019-05-09 18:59:31 +02:00
Bram Moolenaar
1063f3d200
patch 8.1.1291: not easy to change directory and restore
...
Problem: Not easy to change directory and restore.
Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358 )
2019-05-07 22:06:52 +02:00
Bram Moolenaar
25190db225
patch 8.1.1261: no error for quickfix commands with negative range
...
Problem: No error for quickfix commands with negative range.
Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make
assert_fails() show the command if the error doesn't match.
2019-05-04 15:05:28 +02:00
Bram Moolenaar
3ff33114d7
patch 8.1.1256: cannot navigate through errors relative to the cursor
...
Problem: Cannot navigate through errors relative to the cursor.
Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan,
closes #4316 )
2019-05-03 21:56:35 +02:00
Bram Moolenaar
26f0cb145a
patch 8.1.1243: compiler warnings for incomplete switch statement
...
Problem: Compiler warnings for incomplete switch statement. (Tony
Mechelynck)
Solution: Add ADDR_QUICKFIX to the list.
2019-05-01 21:43:42 +02:00
Bram Moolenaar
b731689e85
patch 8.1.1241: Ex command info contains confusing information
...
Problem: Ex command info contains confusing information.
Solution: When using the NOTADR flag use ADDR_OTHER for the address type.
Cleanup code using NOTADR. Check for errors in
create_cmdidxs.vim. Adjust Makefile to see the errors.
2019-05-01 18:08:42 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
00aa069db8
patch 8.1.1218: cannot set a directory for a tab page
...
Problem: Cannot set a directory for a tab page.
Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212 )
2019-04-27 20:37:57 +02:00
Bram Moolenaar
ac9fb18020
patch 8.1.1210: support for user commands is spread out
...
Problem: Support for user commands is spread out. No good reason to make
user commands optional.
Solution: Move user command support to usercmd.c. Always enable the
user_commands feature.
2019-04-27 13:04:13 +02:00
Bram Moolenaar
a561a41a70
patch 8.1.1204: output of :command with address completion is not nice
...
Problem: Output of :command with address completion is not nice.
Solution: Shorten the address completion names.
2019-04-25 21:27:58 +02:00
Bram Moolenaar
725310d89e
patch 8.1.1201: output of :command is hard to read
...
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
2019-04-24 23:08:23 +02:00
Bram Moolenaar
905dd905de
patch 8.1.1136: decoding of mouse click escape sequence is not tested
...
Problem: Decoding of mouse click escape sequence is not tested.
Solution: Add a test for xterm and SGR using low-level input. Make
low-level input execution with feedkeys() work.
2019-04-07 14:21:47 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
9a2c091a74
patch 8.1.1077: reg_executing() is reset by calling input()
...
Problem: reg_executing() is reset by calling input().
Solution: Implement a more generic way to save and restore reg_executing.
(Ozaki Kiichi, closes #4192 )
2019-03-30 14:26:18 +01:00
Bram Moolenaar
cce713ddcc
patch 8.1.0992: a :normal command resets the reg_executing() result
...
Problem: A :normal command while executing a register resets the
reg_executing() result.
Solution: Save and restore reg_executing. (closes #4066 )
2019-03-04 11:40:12 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
78d21dae9c
patch 8.1.0940: MS-Windows console resizing not handled properly
...
Problem: MS-Windows console resizing not handled properly.
Solution: Handle resizing the console better. (Nobuhiro Takasaki,
closes #3968 , closes #3611 )
2019-02-17 15:00:52 +01:00
Bram Moolenaar
8c62a08faf
patch 8.1.0881: can execute shell commands in rvim through interfaces
...
Problem: Can execute shell commands in rvim through interfaces.
Solution: Disable using interfaces in restricted mode. Allow for writing
file with writefile(), histadd() and a few others.
2019-02-08 14:34:10 +01:00
Bram Moolenaar
375e339007
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
...
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539 )
2019-01-31 18:26:10 +01:00
Bram Moolenaar
f58d81a187
patch 8.1.0839: when using VTP wrong colors after a color scheme change
...
Problem: When using VTP wrong colors after a color scheme change.
Solution: When VTP is active always clear after a color scheme change.
(Nobuhiro Takasaki, closes #3872 )
2019-01-28 20:19:05 +01:00
Bram Moolenaar
d39e275b57
patch 8.1.0829: when 'hidden' is set session creates extra buffers
...
Problem: When 'hidden' is set session creates extra buffers.
Solution: Move :badd commands to the end. (Jason Franklin)
2019-01-26 20:07:38 +01:00
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
135059724f
patch 8.1.0805: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
2019-01-24 15:04:48 +01:00
Bram Moolenaar
ad36a3588d
patch 8.1.0803: session file has problem with single quote in file name
...
Problem: Session file has problem with single quote in file name. (Jon
Crowe)
Solution: Use a double quoted string. Add a test.
2019-01-24 13:34:42 +01:00
Bram Moolenaar
82a12468bd
patch 8.1.0794: white space before " -Ntabmove" causes problems
...
Problem: White space before " -Ntabmove" causes problems.
Solution: Skip whitespace. (Ozaki Kiichi, closes #3841 )
2019-01-22 22:41:42 +01:00
Bram Moolenaar
57a6bf0567
patch 8.1.0790: code for creating tabpages in session is too complex
...
Problem: Code for creating tabpages in session is too complex.
Solution: Simplify the code. (Jason Franklin)
2019-01-22 21:27:13 +01:00
Bram Moolenaar
555de4e3b2
patch 8.1.0789: sourcing a session sets v:errmsg
...
Problem: Sourcing a session sets v:errmsg.
Solution: Use "%argdel" instead of "argdel *". (Jason Franklin)
2019-01-21 23:03:49 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
bb1969b6ab
patch 8.1.0763: nobody is using the Sun Workshop support
...
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
2019-01-17 15:45:25 +01:00
Bram Moolenaar
b5443cc46d
patch 8.1.0753: printf format not checked for semsg()
...
Problem: printf format not checked for semsg().
Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle,
closes #3805 )
2019-01-15 20:19:40 +01:00
Bram Moolenaar
8e481e8dfe
patch 8.1.0752: one more compiler warning for signed/unsigned string
...
Problem: One more compiler warning for signed/unsigned string. (Tony
Mechelynck)
Solution: Remove type cast.
2019-01-15 20:07:48 +01:00
Bram Moolenaar
99b1272f88
patch 8.1.0745: compiler warnings for signed/unsigned string
...
Problem: Compiler warnings for signed/unsigned string.
Solution: Remove type casts. (John Marriott)
2019-01-14 20:16:40 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
e3c74d249a
patch 8.1.0734: the hlsearch state is not stored in a session file
...
Problem: The hlsearch state is not stored in a session file.
Solution: Add "nohlsearch" if appropriate. (Jason Franklin)
2019-01-12 16:29:30 +01:00
Bram Moolenaar
e12bab3144
patch 8.1.0706: tabline is not always redrawn
...
Problem: Tabline is not always redrawn when something that is used in
'tabline' changes.
Solution: Add ":redrawtabline" so that a plugin can at least cause the
redraw when needed.
2019-01-08 22:02:56 +01:00
Bram Moolenaar
548e598573
patch 8.1.0640: get E14 while typing command :tab with 'incsearch' set
...
Problem: Get E14 while typing command :tab with 'incsearch' set.
Solution: Do not give an error when looking for the command. (Yasuhiro
Higashi)
2018-12-26 21:45:00 +01:00
Bram Moolenaar
5d24a2257e
patch 8.1.0629: "gn" selects the wrong text with a multi-line match
...
Problem: "gn" selects the wrong text with a multi-line match.
Solution: Get the end position from searchit() directly. (closes #3695 )
2018-12-23 19:10:09 +01:00
Bram Moolenaar
3d1491ed23
patch 8.1.0623: iterating through window frames is repeated
...
Problem: Iterating through window frames is repeated.
Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan)
2018-12-22 17:07:50 +01:00
Bram Moolenaar
9eb76af451
patch 8.1.0604: autocommand test fails on MS-Windows
...
Problem: Autocommand test fails on MS-Windows.
Solution: Use pathcmp() instead of strcmp() to check if a directory differs.
2018-12-16 16:30:21 +01:00
Bram Moolenaar
2caad3fbbd
patch 8.1.0602: DirChanged is also triggered when directory didn't change
...
Problem: DirChanged is also triggered when the directory didn't change.
(Daniel Hahler)
Solution: Compare the current with the new directory. (closes #3697 )
2018-12-16 15:38:02 +01:00
Bram Moolenaar
eae8ae1b2b
patch 8.1.0586: :digraph output is not easy to read
...
Problem: :digraph output is not easy to read.
Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes #3572 )
Also add section headers for :digraphs!.
2018-12-14 18:53:02 +01:00
Bram Moolenaar
55d4691308
patch 8.1.0573: cannot redefine user command without ! in same script
...
Problem: Cannot redefine user command without ! in same script
Solution: Allow redefining user command without ! in same script, like with
functions.
2018-12-08 16:03:28 +01:00
Bram Moolenaar
51a7454cd2
patch 8.1.0560: cannot use address type "other" with with user command
...
Problem: Cannot use address type "other" with with user command.
Solution: Add "other" to the list. (Daniel Hahler, closes #3655 ) Also
reject "%" for commands with "other". Add some more tests.
2018-12-02 18:21:49 +01:00
Bram Moolenaar
4c5d815256
patch 8.1.0487: no menus specifically for the terminal window
...
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439 ) Add a menu test.
2018-10-19 22:36:53 +02:00