Bram Moolenaar
2f0f871159
patch 8.1.0310: file info msg not always suppressed with 'F' in 'shortmess'
...
Problem: File info message not always suppressed with 'F' in 'shortmess'.
(Asheq Imran)
Solution: Save and restore msg_silent. (Christian Brabandt, closes #3221 )
2018-08-21 18:50:18 +02:00
Bram Moolenaar
da6e8919e7
patch 8.1.0306: plural messages are not translated properly
...
Problem: Plural messages are not translated properly.
Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin)
2018-08-21 15:12:14 +02:00
Bram Moolenaar
d569bb0299
patch 8.1.0268: file type checking has too many #ifdef
...
Problem: File type checking has too many #ifdef.
Solution: Always define the S_IF macros. (Ken Takata, closes #3306 )
2018-08-11 13:57:20 +02:00
Bram Moolenaar
40385dbcdf
patch 8.1.0253: saving and restoring window title does not always work
...
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059 )
2018-08-07 22:31:44 +02:00
Bram Moolenaar
3cb4448b8a
patch 8.1.0240: g:actual_curbuf set in wrong scope
...
Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution: Prepend the "g:" name space. (closes #3279 )
2018-08-05 13:22:26 +02:00
Bram Moolenaar
91335e5a67
patch 8.1.0230: directly checking 'buftype' value
...
Problem: Directly checking 'buftype' value.
Solution: Add the bt_normal() function. (Yegappan Lakshmanan)
2018-08-01 17:53:12 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
84a9308511
patch 8.1.0061: window title is wrong after resetting and setting 'title'
...
Problem: Window title is wrong after resetting and setting 'title'.
Solution: Move resetting the title into maketitle(). (Jason Franklin)
2018-06-16 22:58:15 +02:00
Bram Moolenaar
891e1fd894
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse
...
Problem: Not restoring Insert mode if leaving a prompt buffer by using a
mouse click.
Solution: Set b_prompt_insert appropriately. Also correct cursor position
when moving cursor to last line.
2018-06-06 18:02:39 +02:00
Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
25782a7ff4
patch 8.0.1836: buffer-local window options may not be recent
...
Problem: Buffer-local window options may not be recent if the buffer is
still open in another window.
Solution: Copy the options from the window instead of the outdated window
options. (Bjorn Linse, closes #2336 )
2018-05-13 18:05:33 +02:00
Bram Moolenaar
46a53dfc29
patch 8.0.1763: :argedit does not reuse an empty unnamed buffer
...
Problem: :argedit does not reuse an empty unnamed buffer.
Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian
Brabandt, closes #2713 )
2018-04-24 21:58:51 +02:00
Bram Moolenaar
a997b45c7e
patch 8.0.1732: crash when terminal API call deletes the buffer
...
Problem: Crash when terminal API call deletes the buffer.
Solution: Lock the buffer while calling a function. (closes #2813 )
2018-04-17 23:24:06 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
Problem: Some macros are used without a semicolon, causing auto-indent to be
wrong.
Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729 )
2018-04-10 18:47:20 +02:00
Bram Moolenaar
0751f51a5b
patch 8.0.1651: cannot filter :ls output for terminal buffers
...
Problem: Cannot filter :ls output for terminal buffers.
Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes #2751 )
2018-03-29 16:37:16 +02:00
Bram Moolenaar
0c72fe4ed8
patch 8.0.1650: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.
2018-03-29 16:04:08 +02:00
Bram Moolenaar
8fbaeb195d
patch 8.0.1641: job in terminal can't communicate with Vim
...
Problem: Job in terminal can't communicate with Vim.
Solution: Add the terminal API.
2018-03-25 18:20:17 +02:00
Bram Moolenaar
8c64a36e40
patch 8.0.1633: a TextChanged autocmd triggers when it is defined
...
Problem: A TextChanged autocmd triggers when it is defined after creating a
buffer.
Solution: Set b_last_changedtick when opening a buffer. (Hirohito Highlight,
closes #2742 )
2018-03-23 22:39:31 +01:00
Bram Moolenaar
8a3bb56230
patch 8.0.1566: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04 20:14:14 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
7a76092a51
patch 8.0.1525: using :wqa exits even if a job runs in a terminal window
...
Problem: Using :wqa exits even if a job runs in a terminal window. (Jason
Felice)
Solution: Check if a terminal has a running job. (closes #2654 )
2018-02-19 23:10:02 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +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
501383236d
patch 8.0.1435: memory leak in test_arabic
...
Problem: Memory leak in test_arabic.
Solution: Free the from and to parts. (Christian Brabandt, closes #2569 )
2018-01-28 17:05:16 +01:00
Bram Moolenaar
9bca805ec4
patch 8.0.1402: crash with nasty autocommand
...
Problem: Crash with nasty autocommand. (gy741, Dominique Pelle)
Solution: Check that the new current buffer isn't wiped out. (closes #2447 )
2017-12-18 12:37:55 +01:00
Bram Moolenaar
97ce419201
patch 8.0.1361: some users don't want to diff with hidden buffers
...
Problem: Some users don't want to diff with hidden buffers.
Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394 )
2017-12-01 20:35:58 +01:00
Bram Moolenaar
235dddf1f4
patch 8.0.1220: skipping empty statusline groups is not correct
...
Problem: Skipping empty statusline groups is not correct.
Solution: Also set group_end_userhl. (itchyny)
2017-10-26 18:21:24 +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
6b89dbb55f
patch 8.0.1208: 'statusline' drops empty group with highlight change
...
Problem: 'statusline' drops empty group with highlight change.
Solution: Do not drop an empty group if it changes highlighting. (Marius
Gedminas, closes #2228 )
2017-10-22 14:22:16 +02:00
Bram Moolenaar
b2c8750c4e
patch 8.0.1193: crash when wiping out a buffer after using getbufinfo()
...
Problem: Crash when wiping out a buffer after using getbufinfo().
(Yegappan Lakshmanan)
Solution: Remove b:changedtick from the buffer variables.
2017-10-14 21:15:58 +02:00
Bram Moolenaar
65ed136844
patch 8.0.1164: changing StatusLine highlight does not always work
...
Problem: Changing StatusLine highlight while evaluating 'statusline' may
not change the status line color.
Solution: When changing highlighting while redrawing don't cause another
redraw. (suggested by Ozaki Kiichi, closes #2171 , closes #2120 )
2017-09-30 16:00:14 +02:00
Bram Moolenaar
8adb0d03ca
patch 8.0.1119: quitting a split terminal window kills the job
...
Problem: Quitting a split terminal window kills the job. (Yasuhiro
Matsumoto)
Solution: Only stop terminal job if it is the last window.
2017-09-17 19:08:02 +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
ba2929b6af
patch 8.0.1073: may get an endless loop if 'statusline' changes a highlight
...
Problem: May get an endless loop if 'statusline' changes a highlight.
Solution: Do not let evaluating 'statusline' trigger a redraw.
2017-09-08 13:59:21 +02:00
Bram Moolenaar
e561a7e2fa
patch 8.0.1013: terminal window behaves different from a buffer with changes
...
Problem: A terminal window with a running job behaves different from a
window containing a changed buffer.
Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a
terminal used to run is listed as "[Scratch]".
2017-08-29 22:44:59 +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
304b64c9e6
patch 8.0.0935: cannot recognize a terminal buffer in :ls output
...
Problem: Cannot recognize a terminal buffer in :ls output.
Solution: Use R for a running job and F for a finished job.
2017-08-13 20:43:48 +02:00
Bram Moolenaar
e62780543f
patch 8.0.0930: terminal buffers are stored in the viminfo file
...
Problem: Terminal buffers are stored in the viminfo file while they can't
be useful.
Solution: Skip terminal buffers for file marks and buffer list
2017-08-13 18:11:17 +02:00
Bram Moolenaar
6b7355a30d
patch 8.0.0860: side effects when channel appends to a buffer
...
Problem: There may be side effects when a channel appends to a buffer that
is not the current buffer.
Solution: Properly switch to another buffer before appending. (Yasuhiro
Matsumoto, closes #1926 , closes #1937 )
2017-08-04 21:37:54 +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
94053a5125
patch 8.0.0838: buffer hangs around whem terminal window is closed
...
Problem: Buffer hangs around whem terminal window is closed.
Solution: When the job has ended wipe out a terminal buffer when the window
is closed.
2017-08-01 21:44:33 +02:00
Bram Moolenaar
d85f271bf8
patch 8.0.0797: finished job in terminal window is not handled
...
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
2017-07-28 21:51:57 +02:00
Bram Moolenaar
d28cc3f55d
patch 8.0.0782: using freed memory in quickfix code
...
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Handle a help window differently. (Yegappan Lakshmanan)
2017-07-27 22:03:50 +02:00
Bram Moolenaar
f0a521f4f7
patch 8.0.0776: function prototypes missing without the quickfix feature
...
Problem: Function prototypes missing without the quickfix feature. (Tony
Mechelynck)
Solution: Move non-quickfix functions to buffer.c.
2017-07-25 23:31:12 +02:00
Bram Moolenaar
2155441460
patch 8.0.0768: terminal window status shows "[Scratch]"
...
Problem: Terminal window status shows "[Scratch]".
Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
Store the terminal title that vterm sends and use it. Update the
special buffer name. (closes #1869 )
2017-07-24 21:44:43 +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
96ca27a0ee
patch 8.0.0728: the terminal structure is never freed
...
Problem: The terminal structure is never freed.
Solution: Free the structure and unreference what it contains.
2017-07-17 23:20:24 +02:00
Bram Moolenaar
fadacf01d0
patch 8.0.0648: possible use of NULL pointer
...
Problem: Possible use of NULL pointer if buflist_new() returns NULL.
(Coverity)
Solution: Check for NULL pointer in set_bufref().
2017-06-19 20:35:32 +02:00
Bram Moolenaar
8ad80dea08
patch 8.0.0621: :stag does not respect 'switchbuf'
...
Problem: The ":stag" command does not respect 'switchbuf'.
Solution: Check 'switchbuf' for tag commands that may open a new window.
(Ingo Karkat, closes #1681 ) Define macros for the return values
of getfile().
2017-06-05 16:01:59 +02:00
Bram Moolenaar
45e5fd135d
patch 8.0.0607: after :bwipe + :new bufref might still be valid
...
Problem: When creating a bufref, then using :bwipe and :new it might get
the same memory and bufref_valid() returns true.
Solution: Add br_fnum to check the buffer number didn't change.
2017-06-04 14:58:02 +02:00