Jan Edmund Lazo
3c7ea8d619
vim-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.
91acfffc1e
2018-06-12 02:00:50 -04:00
Jan Edmund Lazo
bbb88607c9
vim-patch:8.0.0466: still macros that should be all-caps ( #8510 )
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
8820b48654
2018-06-10 12:24:00 +02:00
ZyX
4b41680828
window: Fix PVS/V547: expression already checked in previous if()
2018-04-22 20:25:44 +03:00
ZyX
c8648daab3
window: Silence PVS/V547: height may be changed by curwin ptr
2018-04-22 20:24:57 +03:00
Justin M. Keyes
9e9e4431c1
Merge #8001 from justinmk/vimpatches
2018-02-12 02:59:29 +01:00
KunMing Xie
6bcee20806
vim-patch:8.0.0490: vertical split makes 'winfixwidth' window smaller ( #7990 )
...
Problem: Splitting a 'winfixwidth' window vertically makes it one column
smaller. (Dominique Pelle)
Solution: Add one to the width for the separator.
38e3483637
2018-02-12 00:00:24 +01:00
Justin M. Keyes
2929dbf223
vim-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.
eb44a68b42
2018-02-11 22:40:12 +01:00
ZyX
9ea1752d60
*: Provide list length when allocating lists
2018-01-14 01:33:16 +03:00
Daniel Hahler
46f432074e
tests: termclose_spec: fix flaky SIGTERM test #7787
...
Followup to https://github.com/neovim/neovim/pull/7217 .
Build failure: https://travis-ci.org/neovim/neovim/jobs/322930672#L2958 .
2017-12-30 22:49:50 +01:00
Daniel Hahler
5dd2ca767f
use snprintf and has_event
2017-12-29 20:52:56 +01:00
Daniel Hahler
e84e1b68c1
Move applying of TabClosed to win_close_othertab
2017-12-29 20:38:17 +01:00
Daniel Hahler
2c436b3362
Fix TabClose autocommand via close_windows
...
Fixes https://github.com/neovim/neovim/issues/7781
2017-12-29 16:56:14 +01:00
ZyX
7f3b9a4acc
Merge branch 'master' into hide-container-impl
2017-12-16 14:27:41 +03:00
Michael Schupikov
d5bce42b52
vim-patch:8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
95f096030e
Signed-off-by: Michael Schupikov <michael@schupikov.de >
2017-12-15 15:50:58 -05:00
ZyX
fb07391ce4
window: Fix matchaddpos() and enhance error reporting
2017-12-15 11:38:34 +03:00
ZyX
1f9dd689b9
Merge branch 'master' into hide-container-impl
2017-12-12 00:44:25 +03:00
ZyX
f4132fb38b
*: Fix linter errors
2017-12-11 10:19:20 +03:00
ZyX
ac4bbf55f6
*: Hide list implementation in other files as well
2017-12-10 22:04:43 +03:00
glacambre
abe38f7d26
window.c: do BufEnter in correct window after closing help #7431
...
closes #7429
Problem: after a help window was closed, a window was selected and its
autocommands triggered. After that, restore_snapshot was called and the
focused window changed, confusing the user.
Solution: Add function get_snapshot_focus() that returns the window that
holds the cursor in a snapshot. Use this function in win_close to make
sure the right window is selected before any autocommand is triggered.
2017-12-10 14:55:59 +01:00
Justin M. Keyes
e6beb60da5
:terminal : fix crash on resize ( #7547 )
...
closes #7538
Fix wrong window references from #7440
Remove some eager resizing. Still mostly doesn't address #4997 .
2017-11-13 02:06:32 +01:00
Sam Wilson
b8a67551d8
terminal: Account for number column ( #5310 )
2017-10-27 17:59:54 -04:00
Matthieu Coudron
5f6ad863c6
syntax.c: style
...
Converts some documentation to doxygen format + minor styling
improvements.
2017-08-22 12:37:59 +02:00
Justin M. Keyes
1fb3339844
vim-patch:8.0.0679
...
Problem: Using freed memory.
Solution: Get the parent frame pointer earlier.
41cc038ff8
2017-08-16 12:22:41 -04:00
Justin M. Keyes
f0a9b7ff63
vim-patch:8.0.0678 closing a window does not trigger resizing
...
Closes #6748
Problem: When 'equalalways' is set and closing a window in a separate
frame, not all window sizes are adjusted. (Glacambre)
Solution: Resize all windows if the new current window is not in the same
frame as the closed window. (closes vim/vim#1707 )
8eeeba8c02
2017-08-16 10:39:50 -04:00
ckelsel
b656159fcf
vim-patch:8.0.0073
...
Problem: More comparisons between firstwin and lastwin.
Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi)
459ca56312
2017-07-23 11:25:39 +08:00
ckelsel
ad07e9c7fc
vim-patch:8.0.0069
...
Problem: Compiler warning for self-comparison.
Solution: Define ONE_WINDOW and add vim/vim#ifdef.
a1f4cb93ba
2017-07-23 10:34:41 +08:00
ckelsel
06f4b96322
lint
2017-07-13 23:15:29 -04:00
ckelsel
c805f2cf54
vim-patch:7.4.2250
...
Problem: Some error message cannot be translated.
Solution: Enclose them in _() and N_(). (Dominique Pelle)
5b30291785
2017-07-13 23:15:29 -04:00
Björn Linse
16ae369474
screen.c: make more highlights window specific
2017-06-14 20:31:14 +02:00
Björn Linse
bfcaf36404
options: allow different highlights in windows
2017-05-08 12:41:39 +02:00
Björn Linse
443399c27d
options: consolidate updates for window string options affected by copy_winopt
...
update note at options.c head about window options
2017-05-05 10:55:07 +02:00
Justin M. Keyes
00843902d3
api/ui: externalize tabline
...
- Work with a bool[] array parallel to the UIWidget enum.
- Rename some functions.
- Documentation.
2017-04-26 03:41:24 +02:00
Dongdong Zhou
88023d5123
api/ui: externalize tabline
2017-04-26 02:15:31 +02:00
ZyX
c2f3e361c5
*: Add comment to all C files
2017-04-19 19:11:50 +03:00
ZyX
233b0c93bb
eval: Move get_tv_number[_chk] to eval/typval.c
2017-03-29 10:08:05 +03:00
ZyX
e18a578308
*: Move some dictionary functions to typval.h and use char*
...
Also fixes buffer reusage in setmatches() and complete().
2017-03-29 10:07:42 +03:00
ZyX
fb146e80aa
eval: Split eval.c into smaller files
2017-03-29 10:05:06 +03:00
Matthew Malcomson
098e91400e
refactor: Remove allow_keys global ( #6346 )
...
* The allow_keys global is unused in nvim, remove it
* clint
2017-03-25 15:43:19 +01:00
Justin M. Keyes
c398402f12
vim-patch:8.0.0307
...
Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
Pelle)
Solution: In getvcol() check for ml_get_buf() returning an empty string.
Also skip adjusting the scroll position. Set "exiting" in
mch_exit() for all systems.
955f198fc5
2017-03-22 18:43:01 +01:00
Justin M. Keyes
830b31683e
vim-patch:8.0.0502
...
Problem: Coverity complains about possible NULL pointer.
Solution: Add an assert(), let's see if this works on all systems.
a37ffaa5e0
2017-03-22 18:43:01 +01:00
Justin M. Keyes
41bffeacff
vim-patch:8.0.0331
...
Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle)
Solution: Don't restore a snapshot when the window closes.
343b8c0429
2017-03-22 18:43:01 +01:00
Justin M. Keyes
54f31187ba
vim-patch:8.0.0482
...
Problem: The setbufvar() function may mess up the window layout. (Kay Z.)
Solution: Do not check the window to be valid if it is NULL.
2c90d51123
2017-03-22 18:43:01 +01:00
Justin M. Keyes
f58a593cea
vim-patch:8.0.0483
...
Problem: Illegal memory access when using :all. (Dominique Pelle)
Solution: Adjust the cursor position right after setting "curwin".
f79225ed4f
2017-03-22 18:43:01 +01:00
Justin M. Keyes
b82e3358e0
vim-patch:8.0.0083
...
Problem: Using freed memory with win_getid(). (Domenique Pelle)
Solution: For the current tab use curwin.
8e63905263
2017-03-22 18:43:00 +01:00
Justin M. Keyes
53ccd07fa1
lint
2017-03-22 18:42:58 +01:00
Justin M. Keyes
165ba3e636
vim-patch:7.4.2324
...
Problem: Crash when editing a new buffer and BufUnload autocommand wipes
out the new buffer. (Norio Takagi)
Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi)
Move old style test13 into test_autocmd. Avoid ml_get error when
editing a file.
e0ab94e712
2017-03-22 18:42:16 +01:00
Justin M. Keyes
b9e1289819
vim-patch:8.0.0486
...
Problem: Crash and endless loop when closing windows in a SessionLoadPost
autocommand.
Solution: Check for valid tabpage. (partly neovim/neovim#6308 )
8c752bd6c4
Closes #6308
2017-03-22 18:42:16 +01:00
Justin M. Keyes
3b52e3c4c8
Merge #6252 from jamessan/vim-7.4.2069
...
vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
2017-03-15 13:47:13 +01:00
Justin M. Keyes
d9fcbc2cfb
DirChanged: trigger when switching scopes
...
Closes #6054
2017-03-12 14:39:32 +01:00
Justin M. Keyes
82117da5df
tabpage_S: Name tp_localdir per convention.
2017-03-12 12:39:20 +01:00