aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* vim-patch:8.1.1365: :source should check sandbox #10082Justin M. Keyes2019-05-29
| | | | | Problem: Source command doesn't check for the sandbox. (Armin Razmjou) Solution: Check for the sandbox when sourcing a file. https://github.com/vim/vim/commit/53575521406739cf20bbe4e384d88e7dca11f040
* options: properly reset directories on 'autochdir' (#9894)Marco Hinz2019-04-15
| | | Fixes https://github.com/neovim/neovim/issues/9892
* Remove MSVC optimization workaround for SHM_ALLJames McCoy2019-04-12
|
* Make SHM_ALL to a variable instead of a compound literal #defineJames McCoy2019-04-12
| | | | | | | | | | | | | | | gcc-9 has [improved compliance] with the C spec for lifetime of compound literals, tying their lifetime to block scope instead of function scope. This makes the behavior comparable to all other automatic variables. Using the SHM_ALL #define instantiated a compound literal local to an if clause and assigned the address to a "char_u *". Since the pointer was then being used outside of the if clause, it was using an invalid address. [improved compliance]: https://gcc.gnu.org/gcc-9/porting_to.html#complit Closes #9855
* screen: don't crash when drawing popupmenu with 'rightleft' optionBjörn Linse2019-02-19
|
* vim-patch:8.1.0677: look-behind match may use the wrong line numberJan Edmund Lazo2019-02-07
| | | | | | | | | crash reported in #9584 Problem: Look-behind match may use the wrong line number. (Dominique Pelle) Solution: Use the line number in regsave instead of the one in behind_pos, we may be looking at the previous line. (closes vim/vim#3749) https://github.com/vim/vim/commit/866f3558141aa68862aa2fedbb7747bf2365e838
* :terminal : set topline based on window height #8325Justin M. Keyes2019-02-06
|
* :recover : Fix crash on non-existent *.swp #9504raffitz2019-01-15
| | | | | | | Reverts d2944e6a298e. mf_open() _can_ fail if the file does not exist. closes #9503 closes #9504
* provider: improve error message if provider is missing (#9487)Marco Hinz2019-01-13
| | | | | | | | | Move `has_eval_provider()` check to `eval_call_provider()` to make sure that every code path calls it first. Previously we would, when pynvim was missing, get a nice error message for `:python3 1`, but not for `:py3file blah`. Fixes https://github.com/neovim/neovim/issues/9485
* TUI: Konsole DECSCUSR fixup (#9423)Justin M. Keyes2019-01-01
| | | | | | | Apparently Konsole's terminfo is still broken. ref #9364 closes #9420
* version.c: update [ci skip] (#9417)Marvim the Paranoid Android2018-12-31
|
* version.c: update [ci skip] (#9275)Marvim the Paranoid Android2018-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0428: git and hg see new files after running tests vim-patch:8.0.0429: options test does not always test everything vim-patch:8.0.0430: options test fails or hangs on MS-Windows vim-patch:8.0.0436: running the options test sometimes resizes the terminal vim-patch:8.0.0488: running tests leaves an "xxx" file behind vim-patch:8.0.0585: test_options fails when run in the GUI vim-patch:8.1.0558: some MS-Windows instructions are outdated vim-patch:8.1.0565: asan complains about reading before allocated block vim-patch:8.1.0566: SGR not enabled for mintty because $TERM is "xterm" vim-patch:8.1.0567: error for NUL byte in ScreenLines goes unnoticed vim-patch:8.1.0568: error message for NUL byte in ScreenLines breaks Travis CI vim-patch:8.1.0577: tabpage right-click menu never shows "Close tab" vim-patch:8.1.0578: cannot disable arabic, rightleft and farsi in configure vim-patch:8.1.0587: GvimExt: realloc() failing is not handled properly vim-patch:8.1.0589: compilation error in gvimext.cpp vim-patch:8.1.0592: the libvterm tests are not run as part of Vim tests vim-patch:8.1.0593: illegal memory access in libvterm test vim-patch:8.1.0594: libvterm tests fail to run on Mac vim-patch:8.1.0595: libvterm tests are not run with coverage vim-patch:8.1.0597: cannot run test_libvterm from the top directory vim-patch:8.1.0598: indent tests may use the wrong Vim binary vim-patch:8.1.0605: running make in the top directory echoes a comment vim-patch:8.1.0606: 'cryptmethod' defaults to a very old method vim-patch:8.1.0607: proto files are not in sync with the source code vim-patch:8.1.0608: coverals is not updating vim-patch:8.1.0609: MS-Windows: unused variable, depending on the Ruby version vim-patch:8.1.0610: MS-Windows ctags file list differs from Unix vim-patch:8.1.0616: NSIS installer is outdated vim-patch:8.1.0617: NSIS installer gets two files from the wrong directory vim-patch:8.1.0620: overuling CONF_ARGS from the environment no longer works vim-patch:8.1.0624: overuling CONF_ARGS from the environment still does not work vim-patch:8.1.0628: Compiler warning on MS-Windows. vim-patch:8.1.0635: Coverity complains about null pointer use vim-patch:8.1.0637: nsis file no longer used vim-patch:8.1.0646: cannot build with Ruby 2.6.0
* Merge #9401 from justinmk/pr-win-erw7Justin M. Keyes2018-12-30
|\
| * win/TUI: ConEmu: get back_color_erase from terminfoJustin M. Keyes2018-12-30
| | | | | | | | | | | | We already set back_color_erase in our builtin terminfo (terminfo_defs.h:conemu_terminfo), so we don't need to set it explicitly in patch_terminfo_bugs().
| * cleanup: Remove os_term_is_nice()Justin M. Keyes2018-12-30
| |
| * refactor: Extract os_tty_guess_term()Justin M. Keyes2018-12-30
| | | | | | | | | | - Also remove feature-detection of uv_set_vterm_state(): instead, on Windows we always require libuv to have that function.
| * update_terminfo.sh: NOLINT data arraysJustin M. Keyes2018-12-28
| |
| * Merge 'upstream/master' into pr-win-erw7Justin M. Keyes2018-12-27
| |\
| * | win/TUI: Fix scroll on Windows legacy consoleerw72018-12-27
| | |
| * | win/TUI: ConEmu: set immediate_wrap_after_last_column #9094erw72018-12-27
| | |
| * | win/TUI: builtin terminfos for cygwin, conemu, et al.erw72018-12-27
| | |
| * | win/TUI: SetConsoleMode() to override libuv #9094erw72018-12-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use uv_set_vterm_state() to override libuv's guess. See https://github.com/libuv/libuv/pull/1873/ for discussion. This commit uses a terminal-detection approach based on GetProcessImageFileNameW(...), which will be reverted in the following commit. The approach was intended to handle the case of running in winpty (:terminal), but we will add $NVIM env var for that. Also add some support for ConEmu, cygwin.
* | | docJustin M. Keyes2018-12-30
| | | | | | | | | | | | - CMake features
* | | vim-patch:8.1.0662: needlessly searching for tilde in stringJames McCoy2018-12-30
| | | | | | | | | | | | | | | | | | Problem: Needlessly searching for tilde in string. Solution: Only check the first character. (James McCoy, closes vim/vim#3734) https://github.com/vim/vim/commit/ef0a1d5ed3566b91143d30ae9de3240f47c6e282
* | | vim-patch:8.1.0353: an "after" directory of a package is appended to 'rtp'James McCoy2018-12-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: An "after" directory of a package is appended to 'rtp', which will be after the user's "after" directory. () Solution: Insert the package "after" directory before any other "after" directory in 'rtp'. (closes vim/vim#3409) https://github.com/vim/vim/commit/99396d4cbf78d313a454c7448acc07412d2e45b7
* | | vim-patch:8.0.1734: package directory not added to 'rtp' if prefix matchesJames McCoy2018-12-29
| | | | | | | | | | | | | | | | | | | | | Problem: Package directory not added to 'rtp' if prefix matches. Solution: Check the match is a full match. (Ozaki Kiichi, closes vim/vim#2817) Also handle different ways of spelling a path. https://github.com/vim/vim/commit/f98a39ca57d001ba3e24831bae1e375790fb41f0
* | | vim-patch:8.0.1469: when package path is a symlink 'runtimepath' is wrongJames McCoy2018-12-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: When package path is a symlink adding it to 'runtimepath' happens at the end. Solution: Do not resolve symlinks before locating the position in 'runtimepath'. (Ozaki Kiichi, closes vim/vim#2604) https://github.com/vim/vim/commit/2374faae111057ee28e8d487f9a52a95855e2206
* | | TUI: enter/exit alternate screen with "title stacking" (#9407)Justin M. Keyes2018-12-29
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works in iTerm2 and xterm. - patch_terminfo_bugs(): Add title-stacking sequences (\e[22t and \e[23t) to the overrides for iTerm2 and xterm. - Note: the builtins (terminfo_defs.h) for `iterm_256colour_terminfo` and `xterm_256colour_terminfo` already include the sequences. Test case (title should be "foo" after the final :q): TERM=iterm2 nvim -u NONE +'set title titleold=foo' :q TERM=iterm2 nvim -u NONE +'set title titlestring=zub' :q closes #4063
* | strings: make vim_snprintf handle %d correctly againBjörn Linse2018-12-24
| | | | | | | | This was broken in #9369 (4680ca2)
* | vim-patch:8.1.0627: Python cannot handle function name of script-local ↵Jan Edmund Lazo2018-12-23
| | | | | | | | | | | | | | | | function (#9392) Problem: Python cannot handle function name of script-local function. Solution: Use <SNR> instead of the special byte code. (Ozaki Kiichi, closes vim/vim#3681) https://github.com/vim/vim/commit/9123c0b31a283f460ed2b6af95080120cf528118
* | vim-patch:8.1.0615: get_tv function names are not consistent (#9386)Daniel Hahler2018-12-22
| | | | | | | | | | | | | | Problem: Get_tv function names are not consistent. Solution: Rename to tv_get. https://github.com/vim/vim/commit/d155d7a8519987361169459b8d464ae1caef5e9c Only a change in comments appears to be necessary.
* | Merge #9369 'vim-patch:8.1.0596'Justin M. Keyes2018-12-19
|\ \
| * | strings: use (u)int16_t for %h printf formatJan Edmund Lazo2018-12-16
| | |
| * | vim-patch:8.1.0596: not all parts of printf() are testedJan Edmund Lazo2018-12-16
| | | | | | | | | | | | | | | | | | Problem: Not all parts of printf() are tested. Solution: Add a few more test cases. (Dominique Pelle, closes vim/vim#3691) https://github.com/vim/vim/commit/21e551cce26ea6ff389b6c90f1945facf1a8a066
* | | l10n: Update Ukrainian translation #9377Anatolii Sakhnik2018-12-19
|/ /
* | Merge pull request #9077 from jamessan/xdg-sysinitJames McCoy2018-12-16
|\ \ | | | | | | startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it exists
| * | startup: Use $XDG_CONFIG_DIRS/nvim/sysinit.vim if it existsJames McCoy2018-12-16
| | | | | | | | | | | | Closes #8994
* | | TUI: TERM=nstermJustin M. Keyes2018-12-16
| | | | | | | | | | | | | | | | | | | | | Treat TERM=nsterm the same way in augment_terminfo() and patch_terminfo_bugs(). ref #9244 463d28cc8079
* | | TUI: detect BSD vt consoleJustin M. Keyes2018-12-16
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD console sets TERM=xterm, but it does not support xterm features like cursor-shaping. GUI terminals typically set TERM=xterm-256color, so on FreeBSD we can guess that TERM=xterm is the degraded vt. OpenBSD console sets TERM=vt220 https://github.com/openbsd/src/blob/master/etc/etc.amd64/ttys NetBSD console sets TERM=vt100 https://github.com/NetBSD/src/blob/trunk/etc/etc.amd64/ttys closes #8644
* | Merge #9367 'vim-patch:8.1.{585,588}'Justin M. Keyes2018-12-15
|\ \
| * | vim-patch:8.1.0588: cannot define a sign with space in the textJan Edmund Lazo2018-12-14
| | | | | | | | | | | | | | | | | | Problem: Cannot define a sign with space in the text. Solution: Allow for escaping characters. (Ben Jackson, closes vim/vim#2967) https://github.com/vim/vim/commit/06b056e110005ce0dd97b8c6333405afd06c36fc
| * | vim-patch:8.1.0585: undo test may fail on MS-WindowsJan Edmund Lazo2018-12-14
| | | | | | | | | | | | | | | | | | Problem: Undo test may fail on MS-Windows. Solution: Also handle lower case drive letters. https://github.com/vim/vim/commit/56242f2b08737677812513c447955579a19aa620
* | | Merge pull request #9368 from bfredl/doublewrapBjörn Linse2018-12-15
|\ \ \ | |/ / |/| | TUI: handle wrap of doublewidth chars correctly
| * | TUI: handle wrap of doublewidth chars correctlyBjörn Linse2018-12-15
| | |
* | | TUI: Konsole 18.07.70 supports DECSCUSR (#9364)Justin M. Keyes2018-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ref https://github.com/KDE/konsole/commit/b0d3d83eca4f523a9e4acd3989da6be96033536a KONSOLE_VERSION is exported as a numeric string (after removing the dots from the version string). ref #8300 closes #6778 closes #6798
* | | os/lang: use the correct LC_NUMERIC also for OS XBjörn Linse2018-12-13
|/ /
* | Merge #9348 from janlazo/vim-8.0.1748Justin M. Keyes2018-12-13
|\ \ | | | | | | vim-patch:8.0.1748
| * | ex_docmd: '/' is not a path for Cmdline* eventsJan Edmund Lazo2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Code from https://github.com/neovim/neovim/pull/9348#issuecomment-446416118 autocmd_fname_full was removed in https://github.com/neovim/neovim/commit/82cd0be2eaf71c0476e15c66ba3e83c76896d407 but Vim uses this hack for <afile> on CmdlineEnter and related events in vim-patch:8.0.1748. Port the hack by not treating "/" as a path for <afile> on these events.
| * | vim-patch:8.0.1748: CmdlineEnter command uses backslash instead of slashJan Edmund Lazo2018-12-12
| | | | | | | | | | | | | | | | | | Problem: CmdlineEnter command uses backslash instead of slash. Solution: Don't treat the character as a file name. (closes vim/vim#2837) https://github.com/vim/vim/commit/a4baf5b32519855bb176a7aa0e9397c137ca890a
* | | provider: make :ruby provider check use same code path as :pythonMarco Hinz2018-12-12
|/ / | | | | | | | | | | | | Prior to this change, the provider check for ruby was special-cased and now it returns E319, like :python etc. References #9354