aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
Commit message (Collapse)AuthorAge
...
* vim-patch:8.1.0673: functionality for signs is spread out over several filesAndrej Zieger2019-05-26
| | | | | | | Problem: Functionality for signs is spread out over several files. Solution: Move most of the sign functionality into sign.c. (Yegappan Lakshmanan, closes vim/vim#3751) https://github.com/vim/vim/commit/bbea47075cc4e7826e9f8c203e4272ba023ed7b0
* vim-patch:8.1.0660: sign_cleanup() may leak memoryAndrej Zieger2019-05-26
| | | | | | | Problem: sign_cleanup() may leak memory. Solution: Free the group name before returning. Add a few more tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/1ea88a3e12e5f6afc5353cd0d6e6d4f4a89ced94
* vim-patch:8.1.0658: deleting signs and completion for :sign is insufficientAndrej Zieger2019-05-26
| | | | | | | | | | Problem: Deleting signs and completion for :sign is insufficient. Solution: Add deleting signs in a specified or any group from the current cursor location. Add group and priority to sign command completion. Add tests for different sign unplace commands. Update help text. Add tests for sign jump with group. Update help for sign jump. (Yegappan Lakshmanan, closes vim/vim#3731) https://github.com/vim/vim/commit/7d83bf4f2b785b46d87c7bc376fc9d0a862af782
* vim-patch:8.1.0644: finding next sign ID is inefficientAndrej Zieger2019-05-26
| | | | | | Problem: Finding next sign ID is inefficient. Solution: Add next_sign_id. (Yegappan Lakshmanan, closes vim/vim#3717) https://github.com/vim/vim/commit/6436cd83f90a0efc326798792e49e8ff96a43dce
* vim-patch:8.1.0614: placing signs can be complicatedAndrej Zieger2019-05-26
| | | | | | | | Problem: Placing signs can be complicated. Solution: Add functions for defining and placing signs. Introduce a group name to avoid different plugins using the same signs. (Yegappan Lakshmanan, closes vim/vim#3652) https://github.com/vim/vim/commit/162b71479bd4dcdb3a2ef9198a1444f6f99e6843
* Merge pull request #9547 from bfredl/rpc_multiline_errBjörn Linse2019-05-26
|\ | | | | messages: use proper multiline errors for rpcrequest and API wrappers
| * messages: use proper multiline error message for rpcrequest and API wrappersBjörn Linse2019-05-26
| |
* | vim-patch:8.1.0307: there is no good way to get the window layoutJan Edmund Lazo2019-05-26
| | | | | | | | | | | | Problem: There is no good way to get the window layout. Solution: Add the winlayout() function. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/0f6b4f06dece71487a6d8546c50de775d9c8c287
* | vim-patch:8.1.0211: expanding a file name "~" results in $HOMEJan Edmund Lazo2019-05-25
|/ | | | | | Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran) Solution: Change "~" to "./~" before expanding. (closes vim/vim#3072) https://github.com/vim/vim/commit/00136dc321586800986e8f743c2f108f5eecbf92
* vim-patch:8.0.1496: VIM_CLEAR()Justin M. Keyes2019-05-25
| | | | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629) vim-patch:8.0.1481
* vim-patch:8.0.1519: getchangelist() does not use argument as bufname()Jan Edmund Lazo2019-05-20
| | | | | | Problem: Getchangelist() does not use argument as bufname(). Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes vim/vim#2641) https://github.com/vim/vim/commit/341a64c9cabff08e4a7dc8cd932a598e12134457
* vim-patch:8.0.1514: getting the list of changes is not easyJan Edmund Lazo2019-05-20
| | | | | | | Problem: Getting the list of changes is not easy. Solution: Add the getchangelist() function. (Yegappan Lakshmanan, closes vim/vim#2634) https://github.com/vim/vim/commit/07ad816525da67cab3c0db21d1286d221dbc7477
* vim-patch:8.1.0901: index in getjumplist() may be wrongJan Edmund Lazo2019-05-19
| | | | | | | Problem: Index in getjumplist() may be wrong. (Epheien) Solution: Call cleanup_jumplist() earlier. (Yegappan Lakshmanan, closes vim/vim#3941) https://github.com/vim/vim/commit/57ee2b6e0b5b730d12ee9db00a8e2a577df9e374
* vim-patch:8.0.1513: the jumplist is not always properly cleaned upJan Edmund Lazo2019-05-19
| | | | | | Problem: The jumplist is not always properly cleaned up. Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/486797413791f6be12dcec6e5faf4f952e4647ae
* vim-patch:8.0.1498: getjumplist() returns duplicate entriesJan Edmund Lazo2019-05-19
| | | | | | Problem: Getjumplist() returns duplicate entries. (lacygoill) Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a7e18d237f817637815f0de44b08df1e0ca0f4f9
* vim-patch:8.0.1497: getting the jump list requires parsing the output of :jumpsJan Edmund Lazo2019-05-19
| | | | | | Problem: Getting the jump list requires parsing the output of :jumps. Solution: Add getjumplist(). (Yegappan Lakshmanan, closes vim/vim#2609) https://github.com/vim/vim/commit/4f50588ba336e7f086a72c53f5688c2494fc34b3
* eval.c: add has("osx") for appleFrancisco Giordano2019-05-19
|
* vim-patch:8.1.1352: undofile() reports wrong nameFrancisco Giordano2019-05-19
| | | | | | | Problem: Undofile() reports wrong name. (Francisco Giordano) Solution: Clean up the name before changing path separators. (closes vim/vim#4392, closes vim/vim#4394) https://github.com/vim/vim/commit/e9ebc9a91cac357fd4888f4b71fdff7d97b41160
* lintJustin M. Keyes2019-05-06
|
* PVS/V547: Expression is always trueJustin M. Keyes2019-05-06
| | | | | Since 67bac681ea6b (see msg_multiline_attr()) msg_clr_eos() is always called.
* vim-patch:8.0.1831: sometimes the quickfix title is incorrectly prefixed ↵Marco Hinz2019-05-05
| | | | | | | | | with ':' Problem: Sometimes the quickfix title is incorrectly prefixed with ':'. Solution: Prepend the colon in another way. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/8b62e31003693fee4b288e7aea49170f032aeef3
* vim-patch:8.0.1708: mkdir with 'p' flag fails on existing directoryJan Edmund Lazo2019-05-03
| | | | | | | | Problem: Mkdir with 'p' flag fails on existing directory, which is different from the mkdir shell command. Solution: Don't fail if the directory already exists. (James McCoy, closes vim/vim#2775) https://github.com/vim/vim/commit/78a16b0f2a142aae1fdc96c50ab0f25194d0e755
* Merge #9951 'vim-patch:8.1.0519: save/restore tag stack'Justin M. Keyes2019-04-30
|\
| * lintrolag2019-04-28
| |
| * vim-patch:8.1.0519: cannot save and restore the tag stackrolag2019-04-28
| | | | | | | | | | | | | | Problem: Cannot save and restore the tag stack. Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan, closes vim/vim#3604) https://github.com/vim/vim/commit/f49cc60aa802862c595ff619dccc11271633a94b
* | verb_msg: remove char_uJustin M. Keyes2019-04-29
| |
* | vim-patch:8.1.0401: can't get swap name of another bufferJustin M. Keyes2019-04-29
| | | | | | | | | | | | Problem: Can't get swap name of another buffer. Solution: Add swapname(). (Ozaki Kiichi, closes vim/vim#3441) https://github.com/vim/vim/commit/110bd60985c31e8978e9b071e2179f4233ef8557
* | vim-patch:8.1.0313: information about a swap file is unavailableJustin M. Keyes2019-04-29
| | | | | | | | | | | | Problem: Information about a swap file is unavailable. Solution: Add swapinfo(). (Enzo Ferber) https://github.com/vim/vim/commit/00f123a56585363cd13f062fd3bb123efcfaa664
* | vim-patch:8.0.1563: getwinposx() timeout #9955Jan Edmund Lazo2019-04-29
|/ | | | | Problem: Timeout of getwinposx() can be too short. (lilydjwg) Solution: Add getwinpos(). (closes vim/vim#2689) https://github.com/vim/vim/commit/3f54fd319f6641b4bed478bcc90cdb39ede68e31
* vim-patch:8.1.1209: clever compiler warns for buffer being too smallJan Edmund Lazo2019-04-27
| | | | | | Problem: Clever compiler warns for buffer being too small. Solution: Make the buffer bigger (even though it's not really needed). https://github.com/vim/vim/commit/5431589d25e73892fcf7ad1eaca53f742c1c9303
* vim-patch:8.1.1207: some compilers give warning messagesJan Edmund Lazo2019-04-27
| | | | | | | Problem: Some compilers give warning messages. Solution: Initialize variables, change printf() argument. (Christian Brabandt, closes vim/vim#4305) https://github.com/vim/vim/commit/1f3601e92e7fd2813b9541580d6d9649c802eb58
* vim-patch:8.0.1510: cannot assert beep #9938Jan Edmund Lazo2019-04-25
| | | | | Problem: Cannot test if a command causes a beep. Solution: Add assert_beeps(). https://github.com/vim/vim/commit/b48e96f61c87a64e38e3ac50732c92a84a4833b8
* vim-patch:8.0.1093: various small quickfix issuesJan Edmund Lazo2019-04-14
| | | | | | | | Problem: Various small quickfix issues. Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). function. Add a couple more tests. Update documentation. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b4d5fbabc99917a8069ba32a60c2d73d4f60e128
* vim-patch:8.1.1140: not easy to find out what neighbors a window has (#9873)Marco Hinz2019-04-10
| | | | | | Problem: Not easy to find out what neighbors a window has. Solution: Add more arguments to winnr(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/46ad288b9b2a6eb0430cf802ff5ce68a58629897
* vim-patch:8.0.0702: error in a timer can make Vim unusable #9826Justin M. Keyes2019-04-10
| | | | | | | | | | Problem: An error in a timer can make Vim unusable. Solution: Don't set the error flag or exception from a timer. Stop a timer if it causes an error 3 out of 3 times. Discard an exception caused inside a timer. https://github.com/vim/vim/commit/c577d813b7978345dec4310b2d8f5d5624a681f6 closes #9826
* vim-patch:8.0.0709: libvterm cannot use vsnprintf()Jan Edmund Lazo2019-04-04
| | | | | | Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead. https://github.com/vim/vim/commit/8327d1df1754b33d8a93b3411f30692f0042f4ce
* vim-patch:8.1.0494: functions do not check for a window ID in other tabsMarco Hinz2019-04-04
| | | | | | | | | Problem: Functions do not check for a window ID in other tabs. Solution: Also find the window ID in other than the current tab. https://github.com/vim/vim/commit/babfcf54ae9bf9570eddf4958a553635cd589e21 Fixes https://github.com/neovim/neovim/issues/9843
* vim-patch:8.1.0493: argv() and argc() only work on the current argument listMarco Hinz2019-04-04
| | | | | | | Problem: argv() and argc() only work on the current argument list. Solution: Add a window ID argument. (Yegappan Lakshmanan, closes vim/vim#832) https://github.com/vim/vim/commit/e6e3989c1b3f18907a0c305712b867e9a3821369
* vim-patch:8.1.0218: cannot add matches to another windowMarco Hinz2019-04-04
| | | | | | | | Problem: Cannot add matches to another window. (Qiming Zhao) Solution: Add the "window" argument to matchadd() and matchaddpos(). (closes vim/vim#3260) https://github.com/vim/vim/commit/95e51470f10e1ddcc4b2ce53e4f7ff7aa2e58417
* eval: diff_hlID() and hlID() return same idJan Edmund Lazo2019-03-31
|
* Merge #9815 'vim-patch:8.1.1068: complete_info()'Justin M. Keyes2019-03-30
|\
| * vim-patch:8.1.1068: cannot get all the information about current completionShougo Matsushita2019-03-30
|/ | | | | | Problem: Cannot get all the information about current completion. Solution: Add complete_info(). (Shougo, Hirohito Higashi, closes vim/vim#4106) https://github.com/vim/vim/commit/fd133323d4e1cc9c0e61c0ce357df4d36ea148e3
* vim-patch:8.1.0177: defining function in sandbox is inconsistentJan Edmund Lazo2019-03-23
| | | | | | | | Problem: Defining function in sandbox is inconsistent, cannot use :function but can define a lambda. Solution: Allow defining a function in the sandbox, but also use the sandbox when executing it. (closes vim/vim#3182) https://github.com/vim/vim/commit/93343725b5fa1cf580a24302455980faacae8ee2
* vim-patch:8.1.0019: error when defining a Lambda with index of a function resultJan Edmund Lazo2019-03-15
| | | | | | | Problem: Error when defining a Lambda with index of a function result. Solution: When not evaluating an expression and skipping a function call, set the return value to VAR_UNKNOWN. https://github.com/vim/vim/commit/b4518563c73460150344a57879bf5b22cb8b1c77
* autocmd: introduce "once" featureJustin M. Keyes2019-03-10
| | | | | | | | | | | | | | | | Adds a new feature to :autocmd which sets the handler to be executed at most one times. Before: augroup FooGroup autocmd! autocmd FileType foo call Foo() | autocmd! FooGroup * <buffer> augroup END After: autocmd FileType foo once call Foo()
* vim-patch:8.1.0994: fix relative cursor position #9676Justin M. Keyes2019-03-09
| | | | | | Problem: Relative cursor position is not calculated correctly. Solution: Always set topline, also when window is one line only. (Robert Webb) Add more info to getwininfo() for testing. https://github.com/vim/vim/commit/8fcb60f961bdd134599fb016c6537fd496e800f5
* Merge #9662 'vim-patch:8.0.{0643-0646}'Justin M. Keyes2019-03-08
|\
| * vim-patch:8.0.0643: when a pattern search is slow Vim becomes unusableBilly Su2019-03-07
| | | | | | | | | | | | | | | | | | 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. https://github.com/vim/vim/commit/fbd0b0af6800f6ff89857863d6a07ea03f09ff6c
* | vim-patch:8.1.0998: getcurpos() unexpectedly changes "curswant"Jan Edmund Lazo2019-03-07
|/ | | | | | Problem: getcurpos() unexpectedly changes "curswant". Solution: Save and restore "curswant". (closes vim/vim#4069) https://github.com/vim/vim/commit/19a66858a5e3fedadc371321834507c34e2dfb18
* vim-patch:8.1.0932: remove Farsi support (#9622)Justin M. Keyes2019-02-17
| | | | | Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support. https://github.com/vim/vim/commit/14184a3133b9a6ee5f711d493c04e41ba4fa7c2f