aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* win_line: Fix crash with 'rightleft' in :terminal #11460erw72019-11-28
| | | | | | | | | | | | | | | | fixes #11438 Backtrace: 0 schar_from_ascii ( p=0x801cc9e112c3 <error: Cannot access memory at address 0x801cc9e112c3>, c=32 ' ') at ../src/nvim/screen.c:5263 1 0x00007f31460eccc5 in win_line (wp=wp@entry=0x7fffc9df6230, lnum=lnum@entry=11, startrow=startrow@entry=10, endrow=41, nochange=false, number_only=number_only@entry=false) at ../src/nvim/screen.c:4025 2 0x00007f31460eed8e in win_update (wp=wp@entry=0x7fffc9df6230) at ../src/nvim/screen.c:1403 3 0x00007f31460f011f in update_screen (type=<optimized out>) at ../src/nvim/screen.c:502 4 0x00007f3146138ef4 in normal_redraw (s=s@entry=0x7fffd0a5f700) at ../src/nvim/normal.c:1247 5 0x00007f314613b159 in normal_check (state=0x7fffd0a5f700) at ../src/nvim/normal.c:1324 6 0x00007f31460accfe in state_enter (s=0x7fffd0a5f700) at ../src/nvim/state.c:28 7 0x00007f3146143099 in normal_enter (cmdwin=<optimized out>, noexmode=<optimized out>) at ../src/nvim/normal.c:463 8 0x00007f314618b541 in main (argc=<optimized out>, argv=<optimized out>) at ../src/nvim/main.c:580
* doc: fix typosBrian Wignall2019-11-27
| | | | close #11459
* vim-patch:8.1.1268: map completion test fails in GUIJan Edmund Lazo2019-11-26
| | | | | | Problem: Map completion test fails in GUI. Solution: Skip the test that fails. https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
* vim-patch:8.1.1254: mapping completion contains dead codeJan Edmund Lazo2019-11-26
| | | | | | Problem: Mapping completion contains dead code. Solution: Remove the code. https://github.com/vim/vim/commit/61df0c7996d9acc94267735abc214cb176e63ede
* vim-patch:8.1.1253: mapping completion test failsJan Edmund Lazo2019-11-26
| | | | | | Problem: Mapping completion test fails. Solution: Fix expected output. https://github.com/vim/vim/commit/92b9e60cb5775ebe8949b4e112feb9f8565441e0
* vim-patch:8.1.1252: not all mapping completion is testedJan Edmund Lazo2019-11-26
| | | | | | Problem: Not all mapping completion is tested. Solution: Add a few more mapping completion tests. https://github.com/vim/vim/commit/1776a28e9c7fd0236927f14e9df807e524b30721
* vim-patch:8.1.2349: :lockvar and :unlockvar cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | Problem: :lockvar and :unlockvar cannot be followed by "| endif". Solution: Check for following commands. (closes vim/vim#5269) https://github.com/vim/vim/commit/cc4423ae13d78367a3d0b5756783523d3b3a1d31
* vim-patch:8.1.2348: :const cannot be followed by "| endif"Jan Edmund Lazo2019-11-26
| | | | | | | Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes vim/vim#5269) Also fix completion after :const. https://github.com/vim/vim/commit/8f76e6b12b958f2779444a92234bbaf3f49eeb99
* vim-patch:8.1.2345: .cjs files are not recognized as JavascriptJan Edmund Lazo2019-11-26
| | | | | | Problem: .cjs files are not recognized as Javascript. Solution: Add the *.cjs pattern. (closes vim/vim#5268) https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3
* Merge pull request #11445 from bfredl/fcslcsBjörn Linse2019-11-26
|\ | | | | options: make 'fillchars' and 'listchars' global-local instead of local-only
| * options: make 'fillchars' and 'listchars' global-localBjörn Linse2019-11-26
| | | | | | | | | | | | | | | | | | These options were previously global. A global-local window option behaves closer to a global option "per default" (i e with :set), but still supports local behavior via :setl Also this restores back-compat for nvim_set_option("fcs", ...) which are currently broken on 0.4.x but worked in earlier versions
* | Merge pull request #11466 from bfredl/luaoptBjörn Linse2019-11-26
|\ \ | | | | | | lua: make vim.wo and vim.bo used nested indexing for specified handle
| * | lua: make vim.wo and vim.bo used nested indexing for specified handleBjörn Linse2019-11-26
| | | | | | | | | | | | | | | Also missing option should be an error. Options are functionality, not arbitrary variable names (as for vim.g)
* | | cmake: enable exporting symbols from static libs againBjörn Linse2019-11-26
|/ / | | | | | | | | | | | | | | | | Reverts the effect of disabling CMP0065 in ac32426 (#11131) "build: get rid of warnings with `cmake --debug-output`" We need symbols from statically linked libraries to be exported. Otherwise cpath lua modules will not find liblua/libluajit symbols as needed.
* | UI: emit mouse_on/mouse_off on attach #11455Justin M. Keyes2019-11-25
| | | | | | closes #11372
* | [RFC] extmark: fix E315 in nvim_buf_set_extmark (#11449)notomo2019-11-25
| | | | | | | | | | extmark: need to use buf instead of curbuf
* | doc + extmarks tweaks #11421Justin M. Keyes2019-11-25
| | | | | | | | - nvim_buf_get_extmarks: rename "amount" => "limit" - rename `set_extmark_index_from_obj`
* | vim-patch:8.1.0836: user completion test can fail on MS-WindowsJan Edmund Lazo2019-11-25
| | | | | | | | | | | | Problem: User completion test can fail on MS-Windows. Solution: Allow for other names befor "Administrator". https://github.com/vim/vim/commit/346d2a359a6874be6cdb683a8d190ba13aa10e94
* | vim-patch:8.1.0223: completing shell command finds sub-directories in $PATHJan Edmund Lazo2019-11-25
| | | | | | | | | | | | Problem: Completing shell command finds sub-directories in $PATH. Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin) https://github.com/vim/vim/commit/6ab9e429da18f4d784222a9f7dfafb7c0218b7eb
* | vim-patch:8.1.1732: completion in cmdwin does not work for buffer-local commandsJan Edmund Lazo2019-11-24
| | | | | | | | | | | | Problem: Completion in cmdwin does not work for buffer-local commands. Solution: Use the right buffer. (closes vim/vim#4711) https://github.com/vim/vim/commit/f03e328348f87e1fe8ce4aad2a6a4237b9f78ce3
* | Improve terminal close error message formatting (#11434)Ashkan Kiani2019-11-24
|\ \
| * | Fix terminal close error message formattingChuck2019-11-21
| | |
* | | vim-patch:8.1.0461: quickfix: change comment style #11453Jan Edmund Lazo2019-11-24
| | | | | | | | | | | | | | | Problem: Quickfix code uses too many /* */ comments. Solution: Change to // comments. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
* | | Lua: vim.env, vim.{g,v,w,bo,wo} #11442Ashkan Kiani2019-11-24
| |/ |/| | | | | | | | | | | | | - Add vim variable meta accessors: vim.env, vim.{g,v,w,bo,wo} - Redo gen_char_blob to generate multiple blobs instead of just one so that multiple Lua modules can be inlined. - Reorder vim.lua inclusion so that it can use previously defined C functions and utility functions like vim.shared and vim.inspect things. - Inline shared.lua into nvim, but also keep it available in runtime.
* | vim-patch:8.1.1334: respect shortmess=F when buffer is hidden #11443Jan Edmund Lazo2019-11-23
| | | | | | | | | | | | | | | | | | | | Problem: When buffer is hidden "F" in 'shortmess' is not used. Solution: Check the "F" flag in 'shortmess' when the buffer is already loaded. (Jason Franklin) Add test_getvalue() to be able to test this. https://github.com/vim/vim/commit/eda652215abf696f86b872888945a2d2dd8c7192 test_getvalue() is not implemented. It is only used for checking "need_fileinfo" internal variable.
* | Merge #11431 from janlazo/vim-8.1.1235Justin M. Keyes2019-11-23
|\ \ | | | | | | vim-patch:8.1.{471,723,1235,1490,1951,2183,2269,2329,2330}
| * | vim-patch:8.1.0471: some tests are flaky or fail on some systemsJan Edmund Lazo2019-11-23
| | | | | | | | | | | | | | | | | | | | | Problem: Some tests are flaky or fail on some systems. Solution: Increase waiting time for port number. Use "cmd /c" to execute "echo" on win32. (Ken Takata, closes vim/vim#3534) https://github.com/vim/vim/commit/453ce7c16b1001f23f2281b259176c6a00d82999
| * | vim-patch:8.1.1951: mouse double click test is a bit flakyJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: Mouse double click test is a bit flaky. Solution: Add to list of flaky tests. Update a couple of comments. https://github.com/vim/vim/commit/f1699968baf3619a4147b44c891ba4a0985e7656
| * | vim-patch:8.1.2330: vi' does not always work when 'selection' is exclusiveJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: vi' does not always work when 'selection' is exclusive. Solution: Adjust start position. https://github.com/vim/vim/commit/94d9f4fa65bce6f116cf89bfdabdf5a06509056f
| * | vim-patch:8.1.2329: mouse multiple click test is a bit flakyJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: Mouse multiple click test is a bit flaky. Solution: Add it to the list of flaky tests. https://github.com/vim/vim/commit/44f0bd878ab6525eb50f2e05a13c0854164cdec2
| * | vim-patch:8.1.2183: running a test is a bit verboseJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: Running a test is a bit verbose. Solution: Silence some messages. (Daniel Hahler, closes vim/vim#5070) https://github.com/vim/vim/commit/ba089307bb8d18ab79a6c4a28ceb8419a72209b3
| * | vim-patch:8.1.1490: when a single test fails the exit code is not setJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: When a single test fails the exit code is not set. (Daniel Hahler) Solution: Add an exit command. (closes vim/vim#4506) https://github.com/vim/vim/commit/4e0bf846279f3efa6299a98143033db1fdfa143a
| * | vim-patch:8.1.0723: cannot easily run specific test when in src/testdirJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot run specific test when in src/testdir the same was as in the src directory. Solution: Move build rule to src/testdir/Makefile. https://github.com/vim/vim/commit/ec50401e1e1357a1340b3c92109fd4860e38a8ac Developer can omit '.res' suffix now. TEST_FILE=test_syntax make oldtest or make -C src/nvim/testdir test_syntax
| * | vim-patch:8.1.2269: tags file with very long line stops using binary searchJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: Tags file with very long line stops using binary search. Solution: Reallocate the buffer if needed. https://github.com/vim/vim/commit/dc9ef26845c6bf5ba63bfa8d00fc8a9bdc3b2de5
| * | vim-patch:8.1.1235: compiler warnings for using STRLEN() valueJan Edmund Lazo2019-11-22
| | | | | | | | | | | | | | | | | | Problem: Compiler warnings for using STRLEN() value. Solution: Cast to int. (Christian Brabandt, Mike Williams) https://github.com/vim/vim/commit/c0af78fa0869d39314336faef36239f62f09e148
* | | refactor: use inserted_bytes pattern from vimBjörn Linse2019-11-23
| | | | | | | | | | | | | | | | | | | | | This covers all "small" inserts and deletes in insert mode, as well as a few more cases like small normal mode deletes vim-patch:8.1.0678: text properties as not adjusted for inserted text
* | | bufhl: use extmark column adjustment for bufhlBjörn Linse2019-11-23
|/ / | | | | | | | | | | | | | | NB: this is not the final implementation. Bufhl should be made a part of the extmark tree, so that "start" adjustment just works automatically. But "stop" will still need some ad-hoc trickery, until extended marks natively support ranges (hopefully sooner than forever).
* / Clear 'cc' in nvim_open_win 'minimal' style #11361 (#11427)Dennis B2019-11-22
|/ | | | | | | * Clear 'cc' in nvim_open_win 'minimal' style #11361 Add 'colorcolumn' to the list of options that should be cleared when creating a 'minimal'-style floating window.
* vim-patch:8.0.1793: no test for "vim -g"Jan Edmund Lazo2019-11-19
| | | | | | Problem: No test for "vim -g". Solution: Add a test for "-g" and "-y". https://github.com/vim/vim/commit/248be5c5de723c4e2715c574fd920b8b1a1dfebb
* vim-patch:8.0.1449: slow redrawing with DirectXJan Edmund Lazo2019-11-19
| | | | | | | Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes vim/vim#2560) https://github.com/vim/vim/commit/a338adcf222b6a24e26ea5ae6a2ad27f914acb38
* vim-patch:8.1.0251: support full paths for 'backupdir' #11269Joe Hermaszewski2019-11-17
| | | | | | | Problem: Using a full path is supported for 'directory' but not for 'backupdir'. (Mikolaj Machowski) Solution: Support 'backupdir' as well. (Christian Brabandt, closes vim/vim#179) https://github.com/vim/vim/commit/b782ba475a3f8f2b0be99dda164ba4545347f60f
* version.c: update [ci skip] #11160Marvim the Paranoid Android2019-11-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.0.1405: duplicated code for getting a typed character vim-patch:8.1.0828: still using FEAT_VIRTUALEDIT vim-patch:8.1.1971: manually enabling features causes build errors vim-patch:8.1.2000: plugin cannot get the current IME status vim-patch:8.1.2119: memory access error for empty string vim-patch:8.1.2122: cannot build without terminal feature vim-patch:8.1.2123: parsing CSI sequence is messy vim-patch:8.1.2128: renamed libvterm sources makes merging difficult vim-patch:8.1.2130: MSVC build fails vim-patch:8.1.2132: MS-Windows: screen mess when not recognizing insider build vim-patch:8.1.2138: including the build number in the Win32 binary is confusing vim-patch:8.1.2144: side effects when using t_ti to enable modifyOtherKeys vim-patch:8.1.2157: libvterm source files missing from distribution vim-patch:8.1.2160: cannot build with +syntax but without +terminal vim-patch:8.1.2163: cannot build with +spell but without +syntax vim-patch:8.1.2170: cannot build without the +termresponse feature vim-patch:8.1.2179: pressing "q" at the more prompt doesn't stop Python output vim-patch:8.1.2186: error for bad regexp even though regexp is not used vim-patch:8.1.2196: MS-Windows: running tests with MSVC lacks updates vim-patch:8.1.2199: build failure when using normal features without GUI vim-patch:8.1.2201: cannot build with dynamically linked Python 3.8 vim-patch:8.1.2202: MS-Windows: build failure with GUI and small features vim-patch:8.1.2203: running libvterm tests without the +terminal feature vim-patch:8.1.2204: crash on exit when closing terminals vim-patch:8.1.2209: LF in escape codes may be expanded to CR-LF vim-patch:8.1.2217: compiler warning for unused variable vim-patch:8.1.2224: cannot build Amiga version vim-patch:8.1.2237: mode() result depends on whether CURSOR_SHAPE is defined vim-patch:8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled vim-patch:8.1.2254: MS-Windows: mouse scroll wheel doesn't work in popup vim-patch:8.1.2255: ":term ++shell" does not work on MS-Windows vim-patch:8.1.2256: test for ":term ++shell" fails on MS-Windows vim-patch:8.1.2260: terminal test may fail on MS-Windows vim-patch:8.1.2271: build error if FEAT_TAG_BINS is not defined vim-patch:8.1.2284: compiler warning for unused variable vim-patch:8.1.2291: memory leak when executing command in a terminal vim-patch:8.1.2301: MS-Windows GUI: drawing error when background color changes vim-patch:8.1.2311: warning for missing function prototype vim-patch:8.1.2316: FORTIFY_SOURCE can also be present in CPPFLAGS vim-patch:8.1.2318: MS-Windows GUI: main background shows in toolbar https://github.com/neovim/neovim/pull/11215 vim-patch:8.1.0084: user name completion does not work on MS-Windows vim-patch:8.1.0085: no test for completing user name and language vim-patch:8.1.0361: remote user not used for completion
* Merge #11414 from janlazo/vim-8.1.2312Justin M. Keyes2019-11-17
|\ | | | | vim-patch:8.1.{2312,2314,2317}
| * vim-patch:8.1.2317: no test for spell affix file with flag on suffixJan Edmund Lazo2019-11-17
| | | | | | | | | | | | Problem: No test for spell affix file with flag on suffix. Solution: Add a test case. https://github.com/vim/vim/commit/37ff4cf87069e54f991d86df9beff19bfdd15875
| * vim-patch:8.1.2314: vi' sometimes does not select anythingJan Edmund Lazo2019-11-17
| | | | | | | | | | | | Problem: vi' sometimes does not select anything. Solution: Recognize an empty selection. (Christian Brabandt, closes vim/vim#5183) https://github.com/vim/vim/commit/7170b295b06e3168424985530d8477ed2e058b67
| * vim-patch:8.1.2312: "line:" field in tags file not usedJan Edmund Lazo2019-11-17
| | | | | | | | | | | | | | Problem: "line:" field in tags file not used. Solution: Recognize the field and use the value. (Andy Massimino, Daniel Hahler, closes vim/vim#5232, closes vim/vim#2546, closes vim/vim#1057) https://github.com/vim/vim/commit/077b9dd3541339a23ade0cc6a23e804ee39312c5
* | doc: Lua [ci skip] #11378Justin M. Keyes2019-11-17
|/ | | | - Rework :help lua-commands - Rename if_lua.txt => lua.txt
* Merge #11340 'Factor out parse_one_cmd()'Justin M. Keyes2019-11-17
|\ | | | | | | | | This will allow us to reuse the parsing logic elsewhere, namely for 'inccommand' logic, so we don't need to duplicate it for changes such as the repeated colon fix in #11319.
| * Factor out parse_one_cmd()Rob Pilling2019-11-13
| | | | | | | | | | This will allow us to reuse the parsing logic elsewhere, namely for inccommand logic.
| * vim-patch:8.1.0266: parsing Ex address range is not a separate functionJan Edmund Lazo2019-11-13
| | | | | | | | | | | | Problem: Parsing Ex address range is not a separate function. Solution: Refactor do_one_cmd() to separate address parsing. https://github.com/vim/vim/commit/ee8415bc5998792fab6f4dcf289d027856e05b89