aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* fix warning: "Dead assignment"Justin M. Keyes2018-10-21
| | | | | | | `tv` is passed to the TYPVAL_ENCODE_CONV_FUNC_BEFORE_* macros, which don't appear to actually use that parameter. Found by clang scan-build 5.0
* fix warning: null pointer dereferenceJustin M. Keyes2018-10-21
| | | | Found by clang scan-build 5.0
* fix warning: garbage/uninitialized valueJustin M. Keyes2018-10-21
| | | | | | | According to clang scan-build, `fromcol` could be uninitialized at line 2645. Found by clang scan-build 5.0
* fix warning: "Uninitialized argument"Justin M. Keyes2018-10-21
| | | | | | clang scan-build thinks os_system() could set `do_profiling` flag. Found by clang scan-build 5.0
* Merge pull request #9144 from bfredl/ui_event_compatBjörn Linse2018-10-21
|\ | | | | api/ui: verify compatibility of UI events
| * api/ui: verify compatibility of UI eventsBjörn Linse2018-10-21
| |
* | tui.c: Fix ext.set_underline_color for !has_colon_rgbJustin M. Keyes2018-10-20
| | | | | | | | PVS/V523: The 'then' statement is equivalent to the 'else' statement.
* | screen.c: Fix PVS/V560: condition is always falseJustin M. Keyes2018-10-20
|/
* Merge #9086 'vim-patch:8.1.0448'Justin M. Keyes2018-10-18
|\
| * test/old: stub CanRunVimInTerminal()Justin M. Keyes2018-10-16
| |
| * vim-patch:8.1.0448: cursorline not removed when using 'cursorbind'Justin M. Keyes2018-10-16
| | | | | | | | | | | | Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) Solution: Store the last cursor line per window. (closes vim/vim#3488) https://github.com/vim/vim/commit/4a5abbd6138240d109278fe1f0b45489d22f712d
* | Merge #9124 'vim-patch:8.0.1672'Justin M. Keyes2018-10-17
|\ \
| * | vim-patch:8.0.1672: error during completion causes command to be cancelledJan Edmund Lazo2018-10-13
| | | | | | | | | | | | | | | | | | Problem: Error during completion causes command to be cancelled. Solution: Reset did_emsg before waiting for another character. (Tom M.) https://github.com/vim/vim/commit/72532d354e699f1cceec34c0b08e1de4d3ea9641
* | | vim-patch:8.0.1067: try/catch in timer does not prevent it from being stoppedJan Edmund Lazo2018-10-16
| | | | | | | | | | | | | | | | | | | | | Problem: Using try/catch in timer does not prevent it from being stopped. Solution: Reset the exception context and use did_emsg instead of called_emsg. https://github.com/vim/vim/commit/e723c42836d971180d1bf9f98916966c5543fff1
* | | vim-patch:8.0.0670: can't use input() in a timer callbackJan Edmund Lazo2018-10-15
| |/ |/| | | | | | | | | | | Problem: Can't use input() in a timer callback. (Cosmin Popescu) Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes vim/vim#1790, closes vim/vim#1129) https://github.com/vim/vim/commit/1e8e14552e0cc8881411eb8fbe39a654dae42554
* | vim-patch:8.1.0476: memory leaks in test_escaped_glob (#9127)Jan Edmund Lazo2018-10-14
|/ | | | | Problem: Memory leaks in test_escaped_glob. Solution: Avoid failure when running the shell, use the sandbox. https://github.com/vim/vim/commit/a2aad028305c306ecf33e0fd720fe1ed98596371
* Merge #9095 'CI/travis/macOS: fix missing pip3'Justin M. Keyes2018-10-13
|\
| * test: adjust timer testsJustin M. Keyes2018-10-13
| | | | | | | | | | Timer tests are less reliable on Travis CI macOS 10.12 (most egregious). Also somewhat on 10.13.
* | memline: process_still_running is boolJan Edmund Lazo2018-10-13
| |
* | vim-patch:8.1.0473: user doesn't notice file does not exist when swap file doesJan Edmund Lazo2018-10-13
|/ | | | | | | Problem: User doesn't notice file does not exist when swap file does. Solution: Add a note that the file cannot be found. Make the "still running" notice stand out. https://github.com/vim/vim/commit/d6105cb4085ad166910897a640693d3bada603e1
* Merge pull request #9121 from bfredl/virt_invalidBjörn Linse2018-10-13
|\ | | | | API: make nvim_buf_set_virtual_text handle invalid chars
| * api: make nvim_buf_set_virtual_text handle invalid charsBjörn Linse2018-10-13
| | | | | | | | | | Clients are supposed to supply only valid text, but if it is invalid, translate it rather than messing up the screen
* | vim-patch:8.0.1590: padding in list type wastes memory (#9119)Jan Edmund Lazo2018-10-13
| | | | | | | | | | | | Problem: Padding in list type wastes memory. Solution: Reorder struct members to optimize padding. (Dominique Pelle, closes vim/vim#2704) https://github.com/vim/vim/commit/1a840240376f2858d489736f9eed6d2975225fdf
* | signs: Add "numhl" argument #9113Reto Schnyder2018-10-13
|/ | | | | close #9113 ref #9040
* Merge pull request #8968 from ckelsel/vim-8.0.0685James McCoy2018-10-12
|\ | | | | [RFC] vim-patch:8.0.0685
| * vim-patch:8.0.0685: when conversion fails written file may be truncatedckelsel2018-10-12
| | | | | | | | | | | | | | | | Problem: When making backups is disabled and conversion with iconv fails the written file is truncated. (Luo Chen) Solution: First try converting the file and write the file only when it did not fail. (partly by Christian Brabandt) https://github.com/vim/vim/commit/e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3
* | vim-patch:8.0.1489: there is no easy way to get the global directory (#9109)Jan Edmund Lazo2018-10-12
| | | | | | | | | | | | | | Problem: There is no easy way to get the global directory, esp. if some windows have a local directory. Solution: Make getcwd(-1) return the global directory. (Andy Massimino, closes vim/vim#2606) https://github.com/vim/vim/commit/5459129af2a832a027a1e7ca2d6177c26647d64f
* | Merge #8902 'doc'Justin M. Keyes2018-10-12
|\ \ | |/ |/|
| * doc: xdg, MAINTAIN.md, channel-id, job controlJustin M. Keyes2018-10-11
| | | | | | | | - tutor: emphasize K
* | Merge #9106 from janlazo/vim-8.0.1837Justin M. Keyes2018-10-11
|\ \ | | | | | | vim-patch:8.0.1837
| * | lintJan Edmund Lazo2018-10-10
| | |
| * | vim-patch:8.0.1837: one character cmdline abbreviation not triggered after '<,'>Jan Edmund Lazo2018-10-10
| |/ | | | | | | | | | | Problem: One character cmdline abbreviation not triggered after '<,'>. Solution: Skip over the special range. (Christian Brabandt, closes vim/vim#2320) https://github.com/vim/vim/commit/5e3423d192bfa502c6704f731fa2ec6821f9a2f0
* / vim-patch:8.0.1777: cannot cleanup before loading another colorscheme (#9104)Jan Edmund Lazo2018-10-11
|/ | | | | Problem: Cannot cleanup before loading another colorscheme. Solution: Add the ColorSchemePre autocommand event. https://github.com/vim/vim/commit/60a68362aa73f4a6cb534688978f9dc2b16e60fe
* vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails (#9101)Jan Edmund Lazo2018-10-10
| | | | | | | Problem: MS-Windows: Filter command with pipe character fails. (Johannes Riecken) Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto, closes vim/vim#1743, closes vim/vim#3523) https://github.com/vim/vim/commit/0664089eccec1083dd04ef2255856fb34ce62f15
* lintJan Edmund Lazo2018-10-09
|
* vim-patch:8.0.1423: error in return not caught by try/catchJan Edmund Lazo2018-10-09
| | | | | | Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) https://github.com/vim/vim/commit/fabaf753e26df5a89a854673d14c15a1fa6b321a
* Merge pull request #9079 from bfredl/tui_cursorBjörn Linse2018-10-09
|\ | | | | TUI cursor fixes: avoid memory errors after resize with invalid cursor position
| * TUI: delete "first-row" workaround after resizeBjörn Linse2018-10-06
| | | | | | | | | | This was caused by cursor position being invalid right after tui_grid_resize, which is now fixed
| * TUI: always use safe cursor movement after resizeBjörn Linse2018-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code could lead to a memory error in the following situation: 0. The previous cursor position was row 50 since before, on a grid larger than 50 rows. 1. grid_resize changes the grid height to 40, and invalidly assumes the resize moved the physical cursor to row 0 2. Some event used a operation that could move the cursor (such as clear), and then reset the cursor to the "true" position row 50 (pointless after #8221, but I forgot to remove it) 3. raw_line/cheap_to_print is invoked, and tries to inspect the grid at row 50 (memory error) 4. grid_cursor_goto would have been called at this point, and set a valid cursor position 0-39.
* | vim-patch:8.0.1779: deleting in a block selection causes problems (#9099)Jan Edmund Lazo2018-10-09
| | | | | | | | | | | | Problem: Deleting in a block selection causes problems. Solution: Check the length of the line before adding bd.textcol and bd.textlen. (Christian Brabandt, closes vim/vim#2825) https://github.com/vim/vim/commit/35e802e713382d7e76232ad344af7dcd577e43de
* | vim-patch:8.1.0466: autocmd test failsJan Edmund Lazo2018-10-08
| | | | | | | | | | | | Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead. https://github.com/vim/vim/commit/6a2633b00bb00bcf0d994f08d1c54ace2c221b58
* | vim-patch:8.1.0463: "simalt ~x" in .vimrc blocks swap file promptJan Edmund Lazo2018-10-08
| | | | | | | | | | | | | | Problem: "simalt ~x" in .vimrc blocks swap file prompt. Solution: Flush buffers before prompting. (Yasuhiro Matsumoto, closes vim/vim#3518, closes vim/vim#2192) https://github.com/vim/vim/commit/798184cc67036285a24b38c0bf6668d4d1525548
* | vim-patch:8.1.0459: Test_executable fails when there is a dog in the systemJan Edmund Lazo2018-10-08
| | | | | | | | | | | | Problem: Test_executable fails when there is a dog in the system. Solution: Rename the dog. (Hirohito Higashi) https://github.com/vim/vim/commit/a05a0d325c7615439f4a42f00682b2ebad43c8d9
* | Merge #9092 from janlazo/vim-8.0.1807Justin M. Keyes2018-10-08
|\ \
| * | oldtests: win: fix executable() assertionsJan Edmund Lazo2018-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows has "Read and execute" permission via ACL but nvim and libuv do not support ACL. Windows does not support the executable bit in chmod-style permissions but it is safe to assume that if the file exists and is readable, then it is most likely executable. This means that win.ini and shell32.dll are "executable" because they exist, are readable, and are in PATH. PATHEXT does not affect the executable permission of a file; it exists to run files on the shell while omitting the file extension. Assume that PATHEXT is intended for cmd.exe only because powershell can execute powershell files (ie. *.ps1) without changing PATHEXT or related cmd.exe environment variable. In the future, nvim should check the outputs of 'assoc' and 'ftype', cmd.exe internal commands, or check the registry. Powershell can be used for ACL if C++/C# API is too difficult to use.
| * | vim-patch:8.1.0453: MS-Windows: executable() is not reliableJan Edmund Lazo2018-10-07
| | | | | | | | | | | | | | | | | | Problem: MS-Windows: executable() is not reliable. Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes vim/vim#3412) https://github.com/vim/vim/commit/8295666dc2c65e42135b91d5c61e2a140d002333
| * | vim-patch:8.1.0454: resolve() was not tested with a symlink cycleJan Edmund Lazo2018-10-06
| | | | | | | | | | | | | | | | | | Problem: resolve() was not tested with a symlink cycle. Solution: Add a test. (Dominique Pelle, closes vim/vim#3513) https://github.com/vim/vim/commit/261099070940fb64d4633a766ae3510fffe4171d
| * | vim-patch:8.0.1807: function to set terminal name is too longJan Edmund Lazo2018-10-06
| | | | | | | | | | | | | | | | | | Problem: Function to set terminal name is too long. Solution: Refactor the function. Fix typo in test. https://github.com/vim/vim/commit/69e056915c4145b7b64c60963797692a5b293561
* | | Merge #9036 'func_attr_printf'Justin M. Keyes2018-10-07
|\ \ \ | |/ / |/| |
| * | src/nvim/eval.cMichaHoffmann2018-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/nvim/eval/typval.c src/nvim/fileio.c src/nvim/main.c src/nvim/regexp_nfa.c src/nvim/spellfile.c changed some EMSG[..] Macros to emsgf