Bram Moolenaar
9e33efd152
patch 8.0.1485: weird autocmd may cause arglist to be changed recursively
...
Problem: Weird autocmd may cause arglist to be changed recursively.
Solution: Prevent recursively changing the argument list. (Christian
Brabandt, closes #2472 )
2018-02-09 17:50:28 +01:00
Bram Moolenaar
b7407d3fc9
patch 8.0.1459: cannot handle change of directory
...
Problem: Cannot handle change of directory.
Solution: Add the DirChanged autocommand event. (Andy Massimino,
closes #888 ) Avoid changing directory for 'autochdir' too often.
2018-02-03 17:36:27 +01:00
Bram Moolenaar
8ada6aa929
patch 8.0.1416: crash when searching for a sentence
...
Problem: Crash when searching for a sentence.
Solution: Return NUL when getting character at MAXCOL. (closes #2468 )
2017-12-19 21:23:21 +01:00
Bram Moolenaar
13e904199c
patch 8.0.1289: mkview always includes the local directory
...
Problem: Mkview always includes the local directory.
Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes
#2316 )
2017-11-11 18:16:48 +01:00
Bram Moolenaar
c312b8b87a
patch 8.0.1231: expanding file name drops dash
...
Problem: Expanding file name drops dash. (stucki)
Solution: Use the right position. (Christian Brabandt, closes #2184 )
2017-10-28 17:53:04 +02:00
Bram Moolenaar
2f40d129bf
patch 8.0.1215: newer gcc warns for implicit fallthrough
...
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-10-24 21:49:36 +02:00
Bram Moolenaar
ff930cad8a
patch 8.0.1205: it is possible to unload a changed buffer
...
Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
Solution: Check the right window for changes.
2017-10-19 17:12:10 +02:00
Bram Moolenaar
87ffb5c1a3
patch 8.0.1204: a QuitPre autocommand may get the wrong file name
...
Problem: A QuitPre autocommand may get the wrong file name.
Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe)
2017-10-19 12:37:42 +02:00
Bram Moolenaar
2c33d7bb69
patch 8.0.1190: unusable after opening new window in BufWritePre event
...
Problem: Vim becomes unusable after opening new window in BufWritePre
event.
Solution: Call not_exiting(). (Martin Tournoij, closes #2205 )
Also for "2q" when a help window is open. Add a test.
2017-10-14 16:06:20 +02:00
Bram Moolenaar
6047e2c722
patch 8.0.1189: E172 is not actually useful
...
Problem: E172 is not actually useful, it's only on Unix anyway.
Solution: Remove the check and the error.
2017-10-14 15:24:49 +02:00
Bram Moolenaar
09ca932f8e
patch 8.0.1151: "vim -c startinsert!" doesn't append
...
Problem: "vim -c startinsert!" doesn't append.
Solution: Correct line number on startup. (Christian Brabandt, closes #2117 )
2017-09-26 17:40:45 +02:00
Bram Moolenaar
a21a6a9ade
patch 8.0.1139: using window toolbar changes state
...
Problem: Using window toolbar changes state.
Solution: Always execute window toolbar actions in Normal mode.
2017-09-23 16:33:50 +02:00
Bram Moolenaar
0263146b5d
patch 8.0.1136: W_WIDTH() is always the same
...
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
2017-09-22 15:20:32 +02:00
Bram Moolenaar
53f8174eae
patch 8.0.1135: W_WINCOL() is always the same
...
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
2017-09-22 14:35:51 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
2017-09-16 20:54:51 +02:00
Bram Moolenaar
f5291f301e
patch 8.0.1109: timer causes error on exit from Ex mode
...
Problem: Timer causes error on exit from Ex mode. (xtal8)
Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
closes #2079 )
2017-09-14 22:55:37 +02:00
Bram Moolenaar
69fbc9e1da
patch 8.0.1108: cannot specify mappings for the terminal window
...
Problem: Cannot specify mappings for the terminal window.
Solution: Add the :tmap command and associated code. (Jacob Askeland,
closes #2073 )
2017-09-14 20:37:57 +02:00
Bram Moolenaar
65f084749b
patch 8.0.1090: cannot get the text under the cursor like v:beval_text
...
Problem: cannot get the text under the cursor like v:beval_text
Solution: Add <cexpr>.
2017-09-10 18:16:20 +02:00
Bram Moolenaar
c168bd4bd3
patch 8.0.1089: cannot get range count in user command
...
Problem: Cannot get range count in user command.
Solution: Add <range> argument.
2017-09-10 17:34:35 +02:00
Bram Moolenaar
4bebc9a056
patch 8.0.1024: folds lost when session file has a buffer in two windows
...
Problem: Manual folds are lost when a session file has the same buffer in
two windows. (Jeansen)
Solution: Use ":edit" only once. (Christian Brabandt, closes #1958 )
2017-08-30 21:07:38 +02:00
Bram Moolenaar
f5be7cd016
patch 8.0.0953: get "no write since last change" error in terminal window
...
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
2017-08-17 16:55:13 +02:00
Bram Moolenaar
cae92dc3d5
patch 8.0.0878: no completion for :mapclear
...
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes #1943 )
2017-08-06 15:22:15 +02:00
Bram Moolenaar
eb44a68b42
patch 8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
2017-08-03 22:44:55 +02:00
Bram Moolenaar
67883b4909
patch 8.0.0785: wildcards are not expanded for :terminal
...
Problem: Wildcards are not expanded for :terminal.
Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883 )
Also complete commands.
2017-07-27 22:57:00 +02:00
Bram Moolenaar
1f2903c431
patch 8.0.0761: options not set properly for a terminal buffer
...
Problem: Options of a buffer for a terminal window are not set properly.
Solution: Add "terminal" value for 'buftype'. Make 'buftype' and
'bufhidden' not depend on the quickfix feature.
Also set the buffer name and show "running" or "finished" in the
window title.
2017-07-23 19:51:01 +02:00
Bram Moolenaar
0ea5070d79
patch 8.0.0700: segfault with QuitPre autocommand closes the window
...
Problem: Segfault with QuitPre autocommand closes the window. (Marek)
Solution: Check that the window pointer is still valid. (Christian Brabandt,
closes #1817 )
2017-07-08 14:44:50 +02:00
Bram Moolenaar
e4f25e4a8d
patch 8.0.0693: no terminal emulator support
...
Problem: No terminal emulator support. Cannot properly run commands in the
GUI. Cannot run a job interactively with an ssh connection.
Solution: Very early implementation of the :terminal command. Includes
libvterm converted to ANSI C. Many parts still missing.
2017-07-07 11:54:15 +02:00
Bram Moolenaar
6f9a476b2f
patch 8.0.0656: cannot use ! after some user commands
...
Problem: Cannot use ! after some user commands.
Solution: Properly check for existing command. (Higashi Higashi)
2017-06-22 20:39:17 +02:00
Bram Moolenaar
fbd0b0af68
patch 8.0.0643: when a pattern search is slow Vim becomes unusable
...
Problem: When 'hlsearch' is set and matching with the last search pattern
is very slow, Vim becomes unusable. Cannot quit search by
pressing CTRL-C.
Solution: When the search times out set a flag and don't try again. Check
for timeout and CTRL-C in NFA loop that adds states.
2017-06-17 18:44:21 +02:00
Bram Moolenaar
bf15b8d78b
patch 8.0.0615: using % with :hardcopy wrongly escapes spaces
...
Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
Solution: Expand % differently. (Christian Brabandt, closes #1682 )
2017-06-04 20:43:48 +02:00
Bram Moolenaar
3e54569b17
patch 8.0.0613: the conf filetype is used before ftdetect from packages
...
Problem: The conf filetype detection is done before ftdetect scripts from
packages that are added later.
Solution: Add the FALLBACK argument to :setfiletype. (closes #1679 ,
closes #1693 )
2017-06-04 19:00:32 +02:00
Bram Moolenaar
9e0f6ec076
patch 8.0.0598: building with gcc 7.1 yields new warnings
...
Problem: Building with gcc 7.1 yields new warnings.
Solution: Initialize result. (John Marriott)
2017-05-16 09:36:54 +02:00
Bram Moolenaar
6de5e12601
patch 8.0.0572: building the command table requires Perl
...
Problem: Building the command table requires Perl.
Solution: Use a Vim script solution. (Dominique Pelle, closes #1641 )
2017-04-20 21:55:44 +02:00
Bram Moolenaar
d5d37537d1
patch 8.0.0515: ml_get errors in silent Ex mode
...
Problem: ml_get errors in silent Ex mode. (Dominique Pelle)
Solution: Clear valid flags when setting the cursor. Set the topline when
not in full screen mode.
2017-03-27 23:02:07 +02:00
Bram Moolenaar
980128c369
patch 8.0.0514: script for creating cmdidxs can be improved
...
Problem: Script for creating cmdidxs can be improved.
Solution: Count skipped lines instead of collecting the lines. Add "const".
(Dominique Pelle, closes #1594 )
2017-03-26 21:46:28 +02:00
Bram Moolenaar
6c0c1e8052
patch 8.0.0506: can't build with ANSI C
...
Problem: Can't build with ANSI C.
Solution: Move declarations to start of block.
2017-03-25 15:07:43 +01:00
Bram Moolenaar
e5e0fbcd42
patch 8.0.0504: looking up an Ex command is a bit slow
...
Problem: Looking up an Ex command is a bit slow.
Solution: Instead of just using the first letter, also use the second letter
to skip ahead in the list of commands. Generate the table with a
Perl script. (Dominique Pelle, closes #1589 )
2017-03-25 14:51:01 +01:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
abc39ab642
patch 8.0.0394: tabs are not aligned when scrolling horizontally
...
Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't
fit. (Axel Bender)
Solution: Handle a Tab as a not fitting character. (Christian Brabandt)
Also fix that ":redraw" does not scroll horizontally to show the
cursor. And fix the test that depended on the old behavior.
2017-03-01 18:04:05 +01:00
Bram Moolenaar
95c526e1f6
patch 8.0.0365: might free a dict item that wasn't allocated
...
Problem: Might free a dict item that wasn't allocated.
Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for
b:changedtick.
2017-02-25 14:59:34 +01:00
Bram Moolenaar
79518e2ace
patch 8.0.0334: can't access b:changedtick from a dict reference
...
Problem: Can't access b:changedtick from a dict reference.
Solution: Make changedtick a member of the b: dict. (inspired by neovim
#6112 )
2017-02-17 16:31:35 +01:00
Bram Moolenaar
75c19464ed
patch 8.0.0327: error message in cmdline window is not translated
...
Problem: The E11 error message in the command line window is not
translated.
Solution: use _(). (Hirohito Higashi)
2017-02-12 18:34:05 +01:00
Bram Moolenaar
f1f6f3f7df
patch 8.0.0324: illegal memory access with a wrong yank range
...
Problem: Illegal memory access with "1;y".
Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique
Pelle, closes #1455 )
2017-02-09 22:28:20 +01:00
Bram Moolenaar
cbf20fbcd3
patch 8.0.0298: Ex command range with repeated search does not work
...
Problem: Ex command range with repeated search does not work. (Bruce
DeVisser)
Solution: Skip over \/, \? and \&.
2017-02-03 21:19:04 +01:00
Bram Moolenaar
79da563cf9
patch 8.0.0294: argument list is not stored correctly in a session file
...
Problem: Argument list is not stored correctly in a session file.
(lgpasquale)
Solution: Use "$argadd" instead of "argadd". (closes #1434 )
2017-02-01 22:52:44 +01:00
Bram Moolenaar
c625155ea4
patch 8.0.0266: compiler warning for using uninitialized variable
...
Problem: Compiler warning for using uninitialized variable.
Solution: Set tab_number also when there is an error.
2017-01-29 21:42:20 +01:00
Bram Moolenaar
dea2570740
patch 8.0.0260: build fails with tiny features
...
Problem: Build fails with tiny features.
Solution: Move get_tabpage_arg() inside #ifdef.
2017-01-29 15:18:10 +01:00
Bram Moolenaar
2f72c70657
patch 8.0.0259: tab commands do not handle count correctly
...
Problem: Tab commands do not handle count correctly. (Ken Hamada)
Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi)
2017-01-29 14:48:10 +01:00