aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.0.0640: mismatch between help and actual messageJan Edmund Lazo2018-07-03
| | | | | | | | | | | | Problem: Mismatch between help and actual message for ":syn conceal". Solution: Change the message to match the help. (Ken Takata) https://github.com/vim/vim/commit/83064068eaabf75a7d235b0eec561dccbcb96b31
* | coverity/166184: Null pointer dereference (FP)Justin M. Keyes2018-07-02
| | | | | | | | | | False positive: should never happen, because unibi_from_env() would return NULL if $TERM is undefined.
* | Merge #8635 from janlazo/vim-8.0.0252Justin M. Keyes2018-07-01
|\ \
| * | test: port kword_test to Lua for utf_char2bytes()Jan Edmund Lazo2018-07-01
| | | | | | | | | | | | | | | | | | Use LuaJIT FFI to create char pointer. Validate output with utf_ptr2char(), vim_iswordc() and vim_iswordp(). Use const for LuaJIT string-to-char conversion.
| * | vim-patch:8.0.0252: not properly recognizing word characters between 128 and 255Jan Edmund Lazo2018-07-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Characters below 256 that are not one byte are not always recognized as word characters. Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test for this. (Ozaki Kiichi) https://github.com/vim/vim/commit/4019cf90b8657d4ab1c39744db63550f44f405a2
* | | API: emit nvim_buf_lines_event from :terminal #8616KillTheMule2018-07-01
|/ / | | | | | | closes #8575
* | vim-patch:8.0.0593: DRY: setting list/dict return value (#8639)Jan Edmund Lazo2018-06-30
| | | | | | | | | | Problem: Duplication of code for adding a list or dict return value. Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/45cf6e910c6d162775ca9d470fac4b6db844001f
* | ui: don't crash when 'writedelay' is set and redrawing inside an event handlerBjörn Linse2018-06-28
| |
* | highlight: high-priority CursorLine if fg is set. #8578Yichao Zhou2018-06-28
| | | | | | | | | | | | | | | | | | | | | | | | closes #7383 closes #7715 This implements the compromise described in #7383: * low-priority CursorLine if foreground is not set * high-priority ("same as Vim" priority) CursorLine if foreground is set ref d1874ab2821d076397290cc154d87ec2dc352c79 ref 56eda2aa17c80ba380b606f9466f288fb8162dd3
* | Merge pull request #8650 from jamessan/skip-pydo-testsJames McCoy2018-06-27
|\ \ | | | | | | oldtest: Disable tests that :py(3)do stop executing when buffer changes
| * | oldtest: Disable tests that :py(3)do stop executing when buffer changesJames McCoy2018-06-27
| | | | | | | | | | | | | | | | | | | | | The current nvim <-> client handling of do_range needs to be adapted to handle these sorts of checks. See https://github.com/neovim/neovim/issues/8554
* | | vim-patch:8.0.0688: cannot resize the window in a FileType autocommandJan Edmund Lazo2018-06-26
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, closes vim/vim#1804) https://github.com/vim/vim/commit/9c4fefffb65a2ed9b4a5b0f1bde0da8f349470b5
* | | vim-patch:8.0.0677: setting 'filetype' may switch buffersJan Edmund Lazo2018-06-26
|/ / | | | | | | | | | | | | Problem: Setting 'filetype' internally may cause the current buffer and window to change unexpectedly. Solution: Set curbuf_lock. (closes vim/vim#1734) https://github.com/vim/vim/commit/1814183b865059679f6ee526ec23fc575e536e66
* | API: nvim_win_set_cursor: set w_set_curswant #8640Justin M. Keyes2018-06-26
|\ \ | | | | | | | | | | | | This one behaves correctly eg in the presence of unicode. ref #8613
| * | Improved version of #8613David Hotham2018-06-25
| | | | | | | | | | | | This one behaves correctly eg in the presence of unicode
* | | vim-patch:8.0.0707: freeing wrong memory with certain autocommandsJan Edmund Lazo2018-06-25
| | | | | | | | | | | | | | | | | | | | | Problem: Freeing wrong memory when manipulating buffers in autocommands. (James McCoy) Solution: Also set the w_s pointer if w_buffer was NULL. https://github.com/vim/vim/commit/f1d13478e3a7e1a86d52552c8c5571f00dc28ad1
* | | vim-patch:8.0.0706: crash when cancelling the cmdline window in Ex modeJan Edmund Lazo2018-06-25
| | | | | | | | | | | | | | | | | | Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy) Solution: Do not set cmdbuff to NULL, make it empty. https://github.com/vim/vim/commit/5a15b6aa0aa5c1559c6f1a9f06c595a8c564637d
* | | vim-patch:8.0.0704: problems with autocommands when opening helpJan Edmund Lazo2018-06-25
|/ / | | | | | | | | | | | | Problem: Problems with autocommands when opening help. Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer is locked. (closes vim/vim#1806, closes vim/vim#1804) https://github.com/vim/vim/commit/163095f088a7c29710a16c75bb56229dd3b4116a
* | API: nvim_win_set_cursor: set curswant #8613David Hotham2018-06-25
| | | | | | Fixes #8591
* | Merge #8621 from janlazo/vim-8.0.0642Justin M. Keyes2018-06-25
|\ \
| * | test: update writefile test for invalid list itemsJan Edmund Lazo2018-06-24
| | | | | | | | | | | | | | | | | | It validates list items with tv_check_str_on_nr() to catch invalid types (ex. E745, E805). If there is an invalid item, it does not write to the file.
| * | vim-patch:8.0.0642: writefile() continues after detecting an errorJan Edmund Lazo2018-06-24
| | | | | | | | | | | | | | | | | | | | | Problem: writefile() continues after detecting an error. Solution: Bail out as soon as an error is detected. (suggestions by Nikolai Pavlov, closes vim/vim#1476) https://github.com/vim/vim/commit/8cf91286ca46a501d24e4b7d631b193256782c88
* | | vim-patch:8.1.0107: getting buffer option clears message (#8637)Jacob Niehus2018-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/defe6424aee6201241b7cb231b62db4bbb9f4a9f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 24 15:14:07 2018 +0200 patch 8.1.0107: Python: getting buffer option clears message Problem: Python: getting buffer option clears message. (Jacob Niehus) Solution: Don't use aucmd_prepbuf(). (closes #3079)
* | | l10n: Update Ukrainian translation (#8622)Anatolii Sakhnik2018-06-24
|/ /
* | vim-patch:8.0.0548: saving the redo buffer only works one time (#8629)KunMing Xie2018-06-24
| | | | | | | | | | | | | | Problem: Saving the redo buffer only works one time, resulting in the "." command not working well for a function call inside another function call. (Ingo Karkat) Solution: Save the redo buffer at every user function call. (closes vim/vim#1619) https://github.com/vim/vim/commit/d4863aa99e0527e9505c79cbeafc68a6832200bf
* | vim-patch:8.0.0535: leak when exiting user function (#8574)KunMing Xie2018-06-24
| | | | | | | | | | | | Problem: Memory leak when exiting from within a user function. Solution: Clear the function call stack on exit. https://github.com/vim/vim/commit/6914c64ee58ce68f31fb8a8793293a9b3f2f6240
* | vim-patch:8.0.0{538,539} (#8615)Jan Edmund Lazo2018-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vim-patch:8.0.0538: no test for falling back to default term value Problem: No test for falling back to default term value. Solution: Add a test. https://github.com/vim/vim/commit/85045a73db258a054a17fd52a67eb5cd02a788dc * vim-patch:8.0.0539: startup test fails on Mac Problem: Startup test fails on Mac. Solution: Use another term name, "unknown" is known. Avoid a 2 second delay. https://github.com/vim/vim/commit/08f88b139d2f93661ed2b17214ee6b308b4edb5b * oldtest: nvim does not support ':set term'
* | win/deps: Fix copy to subdir (#8636)b-r-o-c-k2018-06-24
| | | | | | | | | | | | | | | | The `external_blobs` target was not copying dependency files into the correct subdirectories. This caused a bug where nvim-qt wouldn't start because `qwindows.dll` was not located in the `platforms` subdirectory. closes https://github.com/equalsraf/neovim-qt/issues/422
* | vim-patch:8.0.0627: "gn" selects only one character with 'nowrapscan' (#8632)Jan Edmund Lazo2018-06-24
| | | | | | | | | | | | Problem: When 'wrapscan' is off "gn" does not select the whole pattern when it's the last one in the text. (KeyboardFire) Solution: Check if the search fails. (Christian Brabandt, closes vim/vim#1683) https://github.com/vim/vim/commit/add8dce38de65a0c64e8f54d6bdcadb45a8de2cf
* | vim-patch:8.0.0544: cppcheck warnings (#8627)KunMing Xie2018-06-23
| | | | | | | | | | | | Problem: Cppcheck warnings. Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique Pelle) https://github.com/vim/vim/commit/866c68861071f8cd1ef5a82445bebaafc8626e7e
* | main: fix FALLTHROUGH hints (#8623)John Dallahan2018-06-22
| | | | | | | | GCC (Clang also?) does not recognize FALLTHROUGH comments when the case is wrapped in braces.
* | Merge pull request #7551 from bfredl/setl_bufwinBjörn Linse2018-06-22
|\ \ | | | | | | fix copying setl options for buffer currently displayed in another window
| * | buffer: fix copying setl options for buffer currently displayed in another ↵Björn Linse2018-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | window vim-patch:8.0.1836: buffer-local window options may not be recent Problem: Buffer-local window options may not be recent if the buffer is still open in another window. Solution: Copy the options from the window instead of the outdated window options. (Bjorn Linse, closes vim/vim#2336) https://github.com/vim/vim/commit/25782a7ff4755daf16c2e1cb5e5f826b13b672ce
* | | Merge #8618 'Replace b_changedtick with always-inline functions'Justin M. Keyes2018-06-22
|\ \ \
| * | | *: Replace b_changedtick with new always-inline functionsZyX2018-06-22
| | | | | | | | | | | | Ref #8474
* | | | defaults: shortmess+=F (#8619)Justin M. Keyes2018-06-22
|/ / / | | | | | | | | | | | | | | | Because we default to laststatus=2 (statusline is always visible), the :edit message is not useful. ref #6289
* | | vim-patch:8.0.0648: possible use of NULL pointerJan Edmund Lazo2018-06-21
| | | | | | | | | | | | | | | | | | | | | Problem: Possible use of NULL pointer if buflist_new() returns NULL. (Coverity) Solution: Check for NULL pointer in set_bufref(). https://github.com/vim/vim/commit/fadacf01d0dbcc7a96ef5eee0ad57956eeab04d7
* | | vim-patch:8.0.0621: :stag does not respect 'switchbuf'Jan Edmund Lazo2018-06-21
|/ / | | | | | | | | | | | | | | Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes vim/vim#1681) Define macros for the return values of getfile(). https://github.com/vim/vim/commit/8ad80dea089ffeb1a845199c013e9bb4be1cd22e
* | vim-patch:8.0.0468: g< after aborting an Ex command (#7941)KunMing Xie2018-06-21
| | | | | | | | | | | | | | | | Problem: After aborting an Ex command g< does not work. (Marcin Szamotulski) Solution: Postpone clearing scrollback messages to until the command line has been entered. Also fix that the screen isn't redrawn if after g< the command line is cancelled. https://github.com/vim/vim/commit/f2405ed2321da4a879fe0b0703af780fc0432c63
* | vim-patch:8.0.{0632,1536} (#8609)Jan Edmund Lazo2018-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0632: the quotestar test is still a bit flaky Problem: The quotestar test is still a bit flaky. Solution: Kill any existing server to make the retry work. Wait for the register to be filled. https://github.com/vim/vim/commit/1c13c0fe3e7b15750464ffbc39a4648aa5c639be vim-patch:8.0.1536: quotestar test is flaky when using the GUI Problem: Quotestar test is flaky when using the GUI. Solution: Add check that the star register arrived at the server. Increase timeouts. https://github.com/vim/vim/commit/791010e648a68490440e202222938c8a93b9d0d3
* | vim-patch:8.0.0616: not always setting 'background' correctly after :hi ↵Jan Edmund Lazo2018-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Normal (#8606) Problem: When setting the cterm background with ":hi Normal" the value of 'background' may be set wrongly. Solution: Check that the color is less than 16. Don't set 'background' when it was set explicitly. (Lemonboy, closes vim/vim#1710) https://github.com/vim/vim/commit/1615b36b91b094263240d7b555283ddf33208f62 Restore reset_option_was_set(), removed in 419da839e0cbdf6251bc31dc218fa629ccc91b44 ref #8595 ref #8597
* | vim-patch:8.0.0{469,581,583} (#8601)Jan Edmund Lazo2018-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0469: compiler warnings on MS-Windows Problem: Compiler warnings on MS-Windows. Solution: Add type casts. (Christian Brabandt) https://github.com/vim/vim/commit/0c0d4eca4dd6252f22ec39f2d561a5e8a68e9a4e vim-patch:8.0.0581: moving folded text is sometimes not correct Problem: Moving folded text is sometimes not correct. Solution: Bail out when "move_end" is zero. (Matthew Malcomson) https://github.com/vim/vim/commit/94be619e30e82d28cadeea5e0766c6f5c321ff8b vim-patch:8.0.0583: fold test hangs on MS-Windows Problem: Fold test hangs on MS-Windows. Solution: Avoid overflow in compare. https://github.com/vim/vim/commit/b11c826ddc459813f9f991cdb8e8736b686a6328
* | vim-patch:8.0.0669: CTRL-N at start of the buffer does not work correctly ↵Jan Edmund Lazo2018-06-20
| | | | | | | | | | | | | | | | (#8600) Problem: In Insert mode, CTRL-N at start of the buffer does not work correctly. (zuloloxi) Solution: Wrap around the start of the buffer. (Christian Brabandt) https://github.com/vim/vim/commit/24a9e348aa88a6c60ae0cdf5c4a777d8c03b08ca
* | vim-patch:8.0.0636: when reading the undo file fails may use uninitialized ↵Jan Edmund Lazo2018-06-20
| | | | | | | | | | | | | | data (#8599) Problem: When reading the undo file fails may use uninitialized data. Solution: Always clear the buffer on failure. https://github.com/vim/vim/commit/56f2db562ddc6c69026d55360f0cfaacd8adc26a
* | Merge #8579 win: cmake: Improvements for building with IDEsJustin M. Keyes2018-06-20
|\ \
| * | cmake: Organize targets into foldersb-r-o-c-k2018-06-17
| | | | | | | | | | | | | | | | | | Enabling CMake's USE_FOLDERS option and adding the FOLDER property to targets allows some IDEs to list the targets in an organized hierarchy of folders.
| * | build/win: Add workaround for Windows command length limitb-r-o-c-k2018-06-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with the Ninja generator on Windows, it was possible for the external_blobs target to fail when the generated command exceeds the command length limit (8191 characters). To workaround the problem, a CMake script is used to copy the files instead of a shell command. Visual Studio bug report: https://developercommunity.visualstudio.com/content/problem/212207/file-open-cmake-the-command-line-is-too-long.html
* | | Merge #8596 from janlazo/vim-8.0.0615Justin M. Keyes2018-06-20
|\ \ \
| * | | lintJan Edmund Lazo2018-06-19
| | | |
| * | | vim-patch:8.0.0617: hardcopy test hangs on MS-WindowsJan Edmund Lazo2018-06-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Hardcopy test hangs on MS-Windows. Solution: Check the postscript feature is supported. https://github.com/vim/vim/commit/763209c57bf50ae777f9c2929eeea01eff7ae6ee