Bram Moolenaar
34ba06b6e6
patch 8.1.2197: ExitPre autocommand may cause accessing freed memory
...
Problem: ExitPre autocommand may cause accessing freed memory.
Solution: Check the window pointer is still valid. (closes #5093 )
2019-10-20 22:27:10 +02:00
Bram Moolenaar
4d14bac8e7
patch 8.1.2195: Vim does not exit when the terminal window is last window
...
Problem: Vim does not exit when closing a terminal window and it is the
last window.
Solution: Exit Vim if the closed terminal window is the last one.
(closes #4539 )
2019-10-20 21:15:15 +02:00
Bram Moolenaar
b40c2576d4
patch 8.1.2187: error for bad regexp even though regexp is not used
...
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes #5059 )
2019-10-19 21:01:05 +02:00
Bram Moolenaar
92ea26b925
patch 8.1.2173: searchit() has too many arguments
...
Problem: Searchit() has too many arguments.
Solution: Move optional arguments to a struct. Add the "wrapped" argument.
2019-10-18 20:53:34 +02:00
Bram Moolenaar
4facea310c
patch 8.1.2143: cannot see each command even when 'verbose' is set
...
Problem: Cannot see each command even when 'verbose' is set.
Solution: List each command when 'verbose' is at least 16.
2019-10-12 20:17:40 +02:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00
Bram Moolenaar
b20b9e14dd
patch 8.1.2062: the mouse code is spread out
...
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959 )
2019-09-21 20:48:04 +02:00
Bram Moolenaar
8d3b51084a
patch 8.1.1988: :startinsert! does not work the same way as "A"
...
Problem: :startinsert! does not work the same way as "A".
Solution: Use the same code to move the cursor. (closes #4896 )
2019-09-05 21:29:01 +02:00
Bram Moolenaar
b005cd80cf
patch 8.1.1979: code for handling file names is spread out
...
Problem: Code for handling file names is spread out.
Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
2019-09-04 15:54:55 +02:00
Bram Moolenaar
d019039ccd
patch 8.1.1914: command line expansion code is spread out
...
Problem: Command line expansion code is spread out.
Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855 )
2019-08-23 21:17:35 +02:00
Bram Moolenaar
00b0d6d8dc
patch 8.1.1908: every popup window consumes a buffer number
...
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
2019-08-21 22:25:30 +02:00
Bram Moolenaar
c7c5f10a36
patch 8.1.1905: cannot set all properties of the info popup
...
Problem: Cannot set all properties of the info popup.
Solution: Add popup_findinfo(). Rename popup_getpreview() to
popup_findpreview().
2019-08-21 18:31:03 +02:00
Bram Moolenaar
0a52df50a0
patch 8.1.1887: the +cmdline_compl feature is not in the tiny version
...
Problem: The +cmdline_compl feature is not in the tiny version.
Solution: Graduate the +cmdline_compl feature.
2019-08-18 22:26:31 +02:00
Bram Moolenaar
576a4a6ff1
patch 8.1.1880: cannot show extra info for completion in a popup window
...
Problem: Cannot show extra info for completion in a popup window.
Solution: Add the "popup" entry in 'completeopt'.
2019-08-18 15:25:17 +02:00
Bram Moolenaar
026587b35c
patch 8.1.1870: using :pedit from a help file sets help filetype
...
Problem: Using :pedit from a help file sets the preview window to help
filetype. (Wang Shidong)
Solution: Do not set "keep_help_flag". (closes #3536 )
2019-08-17 15:08:00 +02:00
Bram Moolenaar
4ad62155a1
patch 8.1.1869: code for the argument list is spread out
...
Problem: Code for the argument list is spread out.
Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan,
closes #4819 )
2019-08-17 14:38:55 +02:00
Bram Moolenaar
52953194af
patch 8.1.1853: timers test is still flaky
...
Problem: Timers test is still flaky.
Solution: Compute the time to sleep more accurately.
2019-08-16 10:27:13 +02:00
Bram Moolenaar
28e67e0c14
patch 8.1.1851: crash when sound_playfile() callback plays sound
...
Problem: Crash when sound_playfile() callback plays sound.
Solution: Invoke callback later from event loop.
2019-08-15 23:05:49 +02:00
Bram Moolenaar
d7663c22c6
patch 8.1.1823: command line history code is spread out
...
Problem: Command line history code is spread out.
Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779 )
Also graduate the +cmdline_hist feature.
2019-08-06 21:59:57 +02:00
Bram Moolenaar
0acae7acc4
patch 8.1.1822: confusing error message when range is not allowed
...
Problem: Confusing error message when range is not allowed.
Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for
consistency.
2019-08-06 21:29:29 +02:00
Bram Moolenaar
1b6d9c4215
patch 8.1.1819: :pedit does not work with a popup preview window
...
Problem: :pedit does not work with a popup preview window.
Solution: Avoid aborting with an error. (fixes #4777 ) Also double check
that after prepare_tagpreview() the current window is not a
popup window.
2019-08-05 21:52:04 +02:00
Bram Moolenaar
e4ce825a55
patch 8.1.1808: build failure for tiny version
...
Problem: Build failure for tiny version.
Solution: Define ex_eval to ex_ni. Clean up the ordering a bit.
2019-08-04 15:30:16 +02:00
Bram Moolenaar
b66bab381c
patch 8.1.1785: map functionality mixed with character input
...
Problem: Map functionality mixed with character input.
Solution: Move the map functionality to a separate file. (Yegappan
Lakshmanan, closes #4740 ) Graduate the +localmap feature.
2019-08-01 14:28:24 +02:00
Bram Moolenaar
f96ae0b5a2
patch 8.1.1767: FEAT_SESSION defined separately
...
Problem: FEAT_SESSION defined separately.
Solution: Make FEAT_SESSION depend on FEAT_EVAL.
2019-07-28 15:21:55 +02:00
Bram Moolenaar
8453807911
patch 8.1.1766: code for writing session file is spread out
...
Problem: Code for writing session file is spread out.
Solution: Put it in one file. (Yegappan Lakshmanan, closes #4728 )
2019-07-28 14:15:42 +02:00
Bram Moolenaar
94f82cbacf
patch 8.1.1746: ":dl" is seen as ":dlist" instead of ":delete"
...
Problem: ":dl" is seen as ":dlist" instead of ":delete".
Solution: Do not use cmdidxs2[] if the length is 1. (closes #4721 )
2019-07-24 22:30:27 +02:00
Bram Moolenaar
7dfb016d25
patch 8.1.1742: still some match functions in evalfunc.c
...
Problem: Still some match functions in evalfunc.c.
Solution: Move them to highlight.c.
2019-07-24 16:00:39 +02:00
Bram Moolenaar
defa067c54
patch 8.1.1727: code for viminfo support is spread out
...
Problem: Code for viminfo support is spread out.
Solution: Move to code to viminfo.c. (Yegappan Lakshmanan, closes #4686 )
2019-07-21 19:25:37 +02:00
Bram Moolenaar
7964873afe
patch 8.1.1714: cannot preview a file in a popup window
...
Problem: Cannot preview a file in a popup window.
Solution: Add the 'previewpopup' option.
2019-07-18 21:43:07 +02:00
Bram Moolenaar
8071cb2c64
patch 8.1.1667: flags for Ex commands may clash with other symbols
...
Problem: Flags for Ex commands may clash with other symbols.
Solution: Prepend with EX_.
2019-07-12 17:58:01 +02:00
Bram Moolenaar
e96a2498f9
patch 8.1.1588: in :let-heredoc line continuation is recognized
...
Problem: In :let-heredoc line continuation is recognized.
Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580 )
2019-06-25 04:12:16 +02:00
Bram Moolenaar
8cdbd5b3c4
patch 8.1.1555: NOT_IN_POPUP_WINDOW is confusing
...
Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino)
Solution: Rename to ERROR_IF_POPUP_WINDOW().
2019-06-16 15:50:45 +02:00
Bram Moolenaar
26910de8b0
patch 8.1.1547: functionality of bt_nofile() is confusing
...
Problem: Functionality of bt_nofile() is confusing.
Solution: Split into bt_nofile() and bt_nofilename().
2019-06-15 19:37:15 +02:00
Bram Moolenaar
0abb4273f6
patch 8.1.1540: cannot build without the +eval feature
...
Problem: Cannot build without the +eval feature.
Solution: Define ex_const if needed.
2019-06-15 16:06:00 +02:00
Bram Moolenaar
815b76bff6
patch 8.1.1438: some commands cause trouble in a popup window
...
Problem: Some commands cause trouble in a popup window.
Solution: Add NOT_IN_POPUP_WINDOW.
2019-06-01 14:15:52 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
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