aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
Commit message (Collapse)AuthorAge
* vim-patch:8.0.0451: some macros are in lower caseJan Edmund Lazo2018-06-12
| | | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice. https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
* vim-patch:8.0.0466: still macros that should be all-caps (#8510)Jan Edmund Lazo2018-06-10
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps. https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
* window: Fix PVS/V547: expression already checked in previous if()ZyX2018-04-22
|
* window: Silence PVS/V547: height may be changed by curwin ptrZyX2018-04-22
|
* Merge #8001 from justinmk/vimpatchesJustin M. Keyes2018-02-12
|\
| * vim-patch:8.0.0858: can exit while a terminal is still running a jobJustin M. Keyes2018-02-11
| | | | | | | | | | | | | | Problem: Can exit while a terminal is still running a job. Solution: Consider a buffer with a running job like a changed file. https://github.com/vim/vim/commit/eb44a68b42eda207a5bc4def9ea8fc4d38acb650
* | vim-patch:8.0.0490: vertical split makes 'winfixwidth' window smaller (#7990)KunMing Xie2018-02-12
|/ | | | | | | | Problem: Splitting a 'winfixwidth' window vertically makes it one column smaller. (Dominique Pelle) Solution: Add one to the width for the separator. https://github.com/vim/vim/commit/38e3483637c16e018f88c07b1dcff97cdb821a29
* *: Provide list length when allocating listsZyX2018-01-14
|
* tests: termclose_spec: fix flaky SIGTERM test #7787Daniel Hahler2017-12-30
| | | | | Followup to https://github.com/neovim/neovim/pull/7217. Build failure: https://travis-ci.org/neovim/neovim/jobs/322930672#L2958.
* use snprintf and has_eventDaniel Hahler2017-12-29
|
* Move applying of TabClosed to win_close_othertabDaniel Hahler2017-12-29
|
* Fix TabClose autocommand via close_windowsDaniel Hahler2017-12-29
| | | | Fixes https://github.com/neovim/neovim/issues/7781
* Merge branch 'master' into hide-container-implZyX2017-12-16
|\
| * vim-patch:8.0.0074Michael Schupikov2017-12-15
| | | | | | | | | | | | | | | | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where. https://github.com/vim/vim/commit/95f096030ed1a8afea028f2ea295d6f6a70f466f Signed-off-by: Michael Schupikov <michael@schupikov.de>
* | window: Fix matchaddpos() and enhance error reportingZyX2017-12-15
| |
* | Merge branch 'master' into hide-container-implZyX2017-12-12
|\|
| * window.c: do BufEnter in correct window after closing help #7431glacambre2017-12-10
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | *: Fix linter errorsZyX2017-12-11
| |
* | *: Hide list implementation in other files as wellZyX2017-12-10
|/
* :terminal : fix crash on resize (#7547)Justin M. Keyes2017-11-13
| | | | | | closes #7538 Fix wrong window references from #7440 Remove some eager resizing. Still mostly doesn't address #4997.
* terminal: Account for number column (#5310)Sam Wilson2017-10-27
|
* syntax.c: styleMatthieu Coudron2017-08-22
| | | | | Converts some documentation to doxygen format + minor styling improvements.
* vim-patch:8.0.0679Justin M. Keyes2017-08-16
| | | | | | | Problem: Using freed memory. Solution: Get the parent frame pointer earlier. https://github.com/vim/vim/commit/41cc038ff83498c589c7d25b3d2984145528eb92
* vim-patch:8.0.0678 closing a window does not trigger resizingJustin M. Keyes2017-08-16
| | | | | | | | | | | 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) https://github.com/vim/vim/commit/8eeeba8c025ff844e6514c4a60cec11bf1fc1b35
* vim-patch:8.0.0073ckelsel2017-07-23
| | | | | | | Problem: More comparisons between firstwin and lastwin. Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi) https://github.com/vim/vim/commit/459ca563128f2edb7e3bb190090bbb755a56dd55
* vim-patch:8.0.0069ckelsel2017-07-23
| | | | | | | Problem: Compiler warning for self-comparison. Solution: Define ONE_WINDOW and add vim/vim#ifdef. https://github.com/vim/vim/commit/a1f4cb93ba50ea9e40cd4b1f5592b8a6d1398660
* lintckelsel2017-07-13
|
* vim-patch:7.4.2250ckelsel2017-07-13
| | | | | | | Problem: Some error message cannot be translated. Solution: Enclose them in _() and N_(). (Dominique Pelle) https://github.com/vim/vim/commit/5b30291785e6b9be1a607504c14bd03c601b59a6
* screen.c: make more highlights window specificBjörn Linse2017-06-14
|
* options: allow different highlights in windowsBjörn Linse2017-05-08
|
* options: consolidate updates for window string options affected by copy_winoptBjörn Linse2017-05-05
| | | | update note at options.c head about window options
* api/ui: externalize tablineJustin M. Keyes2017-04-26
| | | | | | - Work with a bool[] array parallel to the UIWidget enum. - Rename some functions. - Documentation.
* api/ui: externalize tablineDongdong Zhou2017-04-26
|
* *: Add comment to all C filesZyX2017-04-19
|
* eval: Move get_tv_number[_chk] to eval/typval.cZyX2017-03-29
|
* *: Move some dictionary functions to typval.h and use char*ZyX2017-03-29
| | | | Also fixes buffer reusage in setmatches() and complete().
* eval: Split eval.c into smaller filesZyX2017-03-29
|
* refactor: Remove allow_keys global (#6346)Matthew Malcomson2017-03-25
| | | | | | * The allow_keys global is unused in nvim, remove it * clint
* vim-patch:8.0.0307Justin M. Keyes2017-03-22
| | | | | | | | | | 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. https://github.com/vim/vim/commit/955f198fc546cc30a34361932d3f454a61df0efa
* vim-patch:8.0.0502Justin M. Keyes2017-03-22
| | | | | | | Problem: Coverity complains about possible NULL pointer. Solution: Add an assert(), let's see if this works on all systems. https://github.com/vim/vim/commit/a37ffaa5e0a47e2db27bc0cc23f49e7094f47f3b
* vim-patch:8.0.0331Justin M. Keyes2017-03-22
| | | | | | | Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle) Solution: Don't restore a snapshot when the window closes. https://github.com/vim/vim/commit/343b8c042967da82f2f022afa31f2c97a264c1c8
* vim-patch:8.0.0482Justin M. Keyes2017-03-22
| | | | | | | 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. https://github.com/vim/vim/commit/2c90d51123fba44a90e09aa4a4f2b7d972dadb94
* vim-patch:8.0.0483Justin M. Keyes2017-03-22
| | | | | | | Problem: Illegal memory access when using :all. (Dominique Pelle) Solution: Adjust the cursor position right after setting "curwin". https://github.com/vim/vim/commit/f79225ed4f81bc579bb3360ad2eb06adc8058153
* vim-patch:8.0.0083Justin M. Keyes2017-03-22
| | | | | | | Problem: Using freed memory with win_getid(). (Domenique Pelle) Solution: For the current tab use curwin. https://github.com/vim/vim/commit/8e639052638a9bb8c7dd6e3e10776b1218cec1a3
* lintJustin M. Keyes2017-03-22
|
* vim-patch:7.4.2324Justin M. Keyes2017-03-22
| | | | | | | | | | 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. https://github.com/vim/vim/commit/e0ab94e7123ca7855f45919114d948ef2bc1e8c3
* vim-patch:8.0.0486Justin M. Keyes2017-03-22
| | | | | | | | | | Problem: Crash and endless loop when closing windows in a SessionLoadPost autocommand. Solution: Check for valid tabpage. (partly neovim/neovim#6308) https://github.com/vim/vim/commit/8c752bd6c4af54c0b7bac35a39acc2bf16015f85 Closes #6308
* Merge #6252 from jamessan/vim-7.4.2069Justin M. Keyes2017-03-15
|\ | | | | vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
| * lintJames McCoy2017-03-11
| |
| * vim-patch:7.4.2101James McCoy2017-03-11
| | | | | | | | | | | | | | Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/2932359000b2f918d5fade79ea4d124d5943cd07