aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | vim-patch:7.4.1897 (#5747)Shougo2016-12-10
| | | | | | | | | | | | | | | | | | Problem: Various typos, long lines and style mistakes. Solution: Fix the typos, wrap lines, improve style. https://github.com/vim/vim/commit/fd89d7ea81b18d32363456b16258174dc9e095dc
* | | out_data_decide_throttle(): timeout instead of hard limit.Justin M. Keyes2016-12-10
| | | | | | | | | | | | | | | | | | | | | Instead of managing max_visits, check the time every N visits. This avoids edge cases where max_visits is large but the chunk frequency slowed down, which would causing the "..." pulse to show for a very long time. It's more important to show output at reasonable intervals than to avoid calling os_hrtime().
* | | out_data_decide_throttle(): Avoid too-small final chunk.Justin M. Keyes2016-12-10
| | |
* | | os/shell: do_os_system(): Always show last chunk.Justin M. Keyes2016-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ameliorates use-cases like: :!cat foo.txt :make where the user is interested in the last few lines of output. Try these shell-based ex-commands before/after this commit: :grep -r '' * :make :!yes :!grep -r '' * :!git grep '' :!cat foo :!echo foo :!while true; do date; done :!for i in `seq 1 20000`; do echo XXXXXXXXXX $i; done In all cases the last few lines of the command should always be shown, regardless of where throttling was triggered.
* | | os/shell: Throttle :! output, pulse "..." message.Justin M. Keyes2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Periodically skip :! spam. This is a "cheat" that works for all UIs and greatly improves responsiveness when :! spams MB or GB of output: :!yes :!while true; do date; done :!git grep '' :grep -r '' * After ~10KB of data is seen from a single :! invocation, output will be skipped for ~1s and three dots "..." will pulse in the bottom-left. Thereafter the behavior alternates at every: * 10KB received * ~1s throttled This also avoids out-of-memory which could happen with large :! outputs. Note: This commit does not change the behavior of execute(':!foo'). execute(':!foo') returns the string ':!foo^M', it captures *only* Vim messages, *not* shell command output. Vim behaves the same way. Use system('foo') for capturing shell command output. Closes #1234 Helped-by: oni-link <knil.ino@gmail.com>
* | | tui: "backpressure": Drop messages to avoid flooding.Justin M. Keyes2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #1234 multiqueue: - Implement multiqueue_size() - Rename MultiQueueItem.parent to MultiQueueItem.parent_item, to avoid confusion with MultiQueue.parent.
* | | vim-patch:7.4.1758, 7.4.1759, 7.4.1692 #5640Shougo Matsushita2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:7.4.1758 Problem: Triggering CursorHoldI when in CTRL-X mode causes problems. Solution: Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to feedkeys() (test with that didn't work though). https://github.com/vim/vim/commit/245c41070c7f37d52be43cce0cb140bd3ade6c7e vim-patch:7.4.1759 Problem: When using feedkeys() in a timer the inserted characters are not used right away. Solution: Break the wait loop when characters have been added to typebuf. use this for testing CursorHoldI. https://github.com/vim/vim/commit/40b1b5443c88fab77f1f7c6f9e801f7ffdb7e0a8 vim-patch:7.4.1692 Problem: feedkeys('i', 'x') gets stuck, waits for a character to be typed. Solution: Behave like ":normal". (Yasuhiro Matsumoto)
* | | Merge pull request #5736 from jamessan/vim-7.4.1754James McCoy2016-12-09
|\ \ \ | | | | | | | | vim-patch:7.4.1754
| * | | lintJames McCoy2016-12-08
| | | |
| * | | vim-patch:7.4.1754James McCoy2016-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'filetype' was set and reloading a buffer which does not cause it to be set, the syntax isn't loaded. (KillTheMule) Solution: Remember whether the FileType event was fired and fire it if not. (Anton Lindqvist, closes vim/vim#747) https://github.com/vim/vim/commit/c3691332f72169c486066200c0f3935418364900
* | | | Merge pull request #5705 from brcolow/vim-7.4.1835James McCoy2016-12-08
|\ \ \ \ | |/ / / |/| | | | | | | vim-patch:7.4.[1835,1956]
| * | | Add vim defaults to runtest.vim.Michael Ennen2016-12-06
| | | |
| * | | vim-patch:7.4.1956Michael Ennen2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using CTRL-W f and pressing "q" at the ATTENTION dialog the newly opened window is not closed. Solution: Close the window and go back to the original one. (Norio Takagi, Hirohito Higashi) https://github.com/vim/vim/commit/5d2ca0402954ff79b73d9c86cc16c8a6454b75a7
| * | | vim-patch:7.4.1835Michael Ennen2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When splitting and closing a window the status height changes. Solution: Compute the frame height correctly. (Hirohito Higashi) https://github.com/vim/vim/commit/991dea3ab185fb35e577ab0bdfd443cd4b43ccc6
* | | | Merge pull request #5659 from brcolow/vim-7.4.1685James McCoy2016-12-08
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.[1685,2163,2217,2269],8.0.00[33,40]
| * | | | vim-patch:8.0.0040Michael Ennen2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Whole line highlighting with matchaddpos() does not work. Solution: Check for zero length. (Hirohito Higashi) https://github.com/vim/vim/commit/8507747600bddfd6a68aed057840856bf5548e61
| * | | | vim-patch:8.0.0033Michael Ennen2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use overlapping positions with matchaddpos(). Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) https://github.com/vim/vim/commit/a6c27ee6db2c328e0ab0e6d143e2a295a0bb9c9a
| * | | | vim-patch:7.4.2269Michael Ennen2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using 'hlsearch' highlighting instead of matchpos if there is no search match. Solution: Pass NULL as last item to next_search_hl() when searching for 'hlsearch' match. (Shane Harper, closes vim/vim#1013) https://github.com/vim/vim/commit/e17bdffff78ebd6a4e3cff26754cc667557ea810
| * | | | vim-patch:7.4.2217Michael Ennen2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using matchaddpos() a character after the end of the line can be highlighted. Solution: Only highlight existing characters. (Hirohito Higashi) https://github.com/vim/vim/commit/4f416e41243ca151b95d39d81ce23d00b1484755
| * | | | vim-patch:7.4.2163Michael Ennen2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: match() and related functions tested with old style test. Solution: Convert to new style test. (Hirohito Higashi) https://github.com/vim/vim/commit/d76a0c15f8bdbc901015879177fd5076d34c7a06
| * | | | vim-patch:7.4.1685Michael Ennen2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: There is no easy way to get all the information about a match. Solution: Add matchstrpos(). (Ozaki Kiichi) https://github.com/vim/vim/commit/7fed5c18f8577b75404b80d8b9a9907b1bbd27e4
* | | | | syntax.c: Update color names. (#5733)Justin M. Keyes2016-12-08
| | | | | | | | | | | | | | | Closes #5178
* | | | | lintJames McCoy2016-12-07
| | | | |
* | | | | vim-patch:8d8aa0aJames McCoy2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/8d8aa0a367380f23f0af428fcb66a1a0615bf872
* | | | | vim-patch:7.4.1751James McCoy2016-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when 'tagstack' is off. (Dominique Pelle) Solution: Fix it. (Hirohito Higashi) https://github.com/vim/vim/commit/def5abe0a2727041ecee69afdccfca405333bd24
* | | | | mbyte: clean up charset.c for assumed encoding=utf-8Björn Linse2016-12-07
|/ / / /
* | | | vim-patch:7.4.1708James McCoy2016-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: New regexp engine does not work properly with EBCDIC. Solution: Define equivalence class characters. (Owen Leibman) https://github.com/vim/vim/commit/2a6fa564a3b5061c14ff63b8b0f12801df0b0ac2 Although nvim doesn't support EBCDIC systems, this keeps us inline with upstream code so its easier to merge future patches in this area and improves the readability of the code.
* | | | Merge pull request #5707 from jamessan/moar-cleaningJames McCoy2016-12-03
|\ \ \ \ | | | | | | | | | | build: Make clean targets more thorough
| * | | | build: Make clean targets more thoroughJames McCoy2016-12-02
| |/ / /
* | | | vim-patch:8.0.0110 (#5700)Justin M. Keyes2016-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #5616 Problem: Drop command doesn't use existing window. Solution: Check the window width properly. (Hirohito Higashi) https://github.com/vim/vim/commit/5a030a540f4157d5c9905e3564282c92b4dcec9a
* | | | lintJames McCoy2016-12-02
| | | |
* | | | vim-patch:f9660b5James McCoy2016-12-02
| | | | | | | | | | | | | | | | | | | | | | | | Add missing test file. https://github.com/vim/vim/commit/f9660b59b2bdaa3ec2e7b31ab52186ad8b99f047
* | | | vim-patch:7.4.1748James McCoy2016-12-02
|/ / / | | | | | | | | | | | | | | | | | | | | | Problem: "gD" does not find match in first column of first line. (Gary Johnson) Solution: Accept match at the cursor. https://github.com/vim/vim/commit/1538fc34fae3fae39773ca43f6ff52401fce61d8
* | | Merge pull request #5675 from brcolow/vim-7.4.1738James McCoy2016-12-01
|\ \ \ | | | | | | | | vim-patch:7.4.17[35,38,39]
| * | | vim-patch:7.4.1739Michael Ennen2016-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Messages test fails on MS-Windows. Solution: Adjust the asserts. Skip the "messages maintainer" line if not showing all messages https://github.com/vim/vim/commit/bea1ede1c59a11ca5bf9d91cd30b7b2937b9fb41
| * | | vim-patch:7.4.1738Michael Ennen2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Count for ":messages" depends on number of lines. Solution: Add ADDR_OTHER address type. https://github.com/vim/vim/commit/5d91646599a7b74310845e30a2a52ff197dc0ed7
| * | | vim-patch:7.4.1735Michael Ennen2016-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to only see part of the message history. It is not possible to clear messages. Solution: Add a count to ":messages" and a clear argument. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
* | | | vim-patch:7.4.1702Michael Ennen2016-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory when parsing 'printoptions' fails. Solution: Save the old options and restore them in case of an error. (Dominique) https://github.com/vim/vim/commit/4afc7c5d4a73340831077a02bfe1f74935e7f4a1
* | | | Merge pull request #5674 from brcolow/vim-7.4.1723James McCoy2016-12-01
|\ \ \ \ | | | | | | | | | | vim-patch:7.4.1723
| * | | | vim-patch:7.4.1723Michael Ennen2016-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using try/catch in 'tabline' it is still considered an error and the tabline will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746) https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
* | | | | Merge pull request #5665 from brcolow/vim-7.4.1711James McCoy2016-12-01
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch:7.4.1711
| * | | | | vim-patch:7.4.1711Michael Ennen2016-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using try/catch in 'statusline' it is still considered an error and the status line will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes vim/vim#729) https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
* | | | | | Add v:exitingMarco Hinz2016-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contains the exit value nvim will use. Before exiting, it is v:null. That way jobs or autocmds (in VimLeavePre or VimLeave) can check if Neovim is about to quit and with what exit value. Closes #4666.
* | | | | | Merge pull request #5664 from brcolow/vim-7.4.1707James McCoy2016-12-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:7.4.1707
| * | | | | | vim-patch:7.4.1707Michael Ennen2016-11-25
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use empty dictionary key, even though it can be useful. Solution: Allow using an empty dictionary key. https://github.com/vim/vim/commit/0921ecff1c5a74541bad6c073e8ade32247403d8
* | | | | | Merge pull request #5669 from chemzqm/add-cmdline-mode-rpcBjörn Linse2016-12-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add cmdline mode to ui_mode_change
| * | | | | | add cmdline mode to modechange of RPC and testschemzqm2016-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use set_cursor_shape_bar for cmdline mode fix test of screen_basic_spec.lua & screen.lua comment fix
* | | | | | | Merge pull request #5662 from brcolow/vim-7.4.1701James McCoy2016-12-01
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:7.4.1701
| * | | | | | | vim-patch:7.4.1701Michael Ennen2016-11-24
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Equivalence classes still tested in old style tests. Solution: Remove the duplicate. https://github.com/vim/vim/commit/f9f22dbe4f90673ecce601a9dee4bb750ce3cd8f
* | | | | | | Merge pull request #5648 from brcolow/vim-7.4.2071James McCoy2016-11-30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:7.4.2071