aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:7.4.2291Jurica Bradaric2017-03-20
| | | | | | | Problem: printf() handles floats wrong when there is a sign. Solution: Fix placing the sign. Add tests. (Dominique Pelle) https://github.com/vim/vim/commit/04186095346daa60e82e981dad114de2b641d672
* vim-patch:7.4.2280Jurica Bradaric2017-03-20
| | | | | | | Problem: printf() doesn't handle infinity float values correctly. Solution: Add a table with possible infinity values. (Dominique Pelle) https://github.com/vim/vim/commit/e999782e369999539a1783a7ebe4eadcc6da28a8
* vim-patch:7.4.2266Jurica Bradaric2017-03-20
| | | | | | | | Problem: printf() test fails on Windows. "-inf" is not used. Solution: Check for Windows-specific values for "nan". Add sign to "inf" when appropriate. https://github.com/vim/vim/commit/9992237a3e791fbc0c1ebf743ece1b75e1488410
* Merge #6320 from jamessan/vim-8.0.0116Justin M. Keyes2017-03-20
|\ | | | | vim-patch:8.0.0116,8.0.0190,8.0.0195,8.0.0190,8.0.0223,8.0.0393
| * lintJames McCoy2017-03-19
| |
| * vim-patch:8.0.0393James McCoy2017-03-19
| | | | | | | | | | | | | | | | | | Problem: When the same tag appears more than once, the order is unpredictable. (Charles Campbell) Solution: Besides using a dict for finding duplicates, use a grow array for keeping the tags in sequence. https://github.com/vim/vim/commit/98e83b295628bc29bc67bcc1adb8ae75d01b8e07
| * vim-patch:8.0.0223James McCoy2017-03-19
| | | | | | | | | | | | | | | | Problem: Coverity gets confused by the flags passed to find_tags() and warnts for an uninitialized variable. Solution: Disallow using cscope and help tags at the same time. https://github.com/vim/vim/commit/fffbf308dd98d1129ba4914d921ab47dc6a6c9b1
| * vim-patch:8.0.0195James McCoy2017-03-19
| | | | | | | | | | | | | | | | | | Problem: Jumping to a tag that is a static item in the current file fails. (Kazunobu Kuriyama) Solution: Make sure the first byte of the tag key is not NUL. (Suggested by James McCoy, closes vim/vim#1387) https://github.com/vim/vim/commit/a9d23c20879d0dcb289a4db54b3c7df060f87c3c
| * vim-patch:8.0.0190James McCoy2017-03-19
| | | | | | | | | | | | | | | | Problem: Detecting duplicate tags uses a slow linear search. Solution: Use a much faster hash table solution. (James McCoy, closes vim/vim#1046) But don't add hi_keylen, it makes hash tables 50% bigger. https://github.com/vim/vim/commit/810f9c361c83afb36b9f1cdadca2b93f1201d039
| * vim-patch:8.0.0116James McCoy2017-03-19
| | | | | | | | | | | | | | | | | | Problem: When reading English help and using CTRl-] the language from 'helplang' is used. Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito Higashi, closes vim/vim#1249) https://github.com/vim/vim/commit/6dbf66aa3e2197ce41f2b1cc7602bb9c15840548
* | doc: remove "only available when compiled with +timers" (#6321)Drew Neil2017-03-20
| |
* | Merge #6318 from justinmk/pr6244Justin M. Keyes2017-03-20
|\ \ | |/ |/| test/legacy: fix test_normal.vim
| * test/legacy: fix test_normal.vimJustin M. Keyes2017-03-19
| |
| * vim-patch:7.4.2348raichoo2017-03-19
| | | | | | | | | | | | | | Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle) Solution: Don't access curwin when exiting. https://github.com/vim/vim/commit/9a27c7fde6d453d9892b6f6baa756bce4d6d419d
| * vim-patch:8.0.0229raichoo2017-03-19
| | | | | | | | | | | | | | | | Problem: When freeing a buffer the local value of the 'formatprg' option is not cleared. Solution: Add missing change. https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513
| * vim-patch:8.0.0179raichoo2017-03-19
| | | | | | | | | | | | | | | | Problem: 'formatprg' is a global option but the value may depend on the type of buffer. (Sung Pae) Solution: Make 'formatprg' global-local. (closes vim/vim#1380) https://github.com/vim/vim/commit/9be7c04e6cd5b0facedcb56b09a5bcfc339efe03
| * linter: make changes pass the linterraichoo2017-03-19
| |
| * vim-patch:7.4.2362raichoo2017-03-19
| | | | | | | | | | | | | | | | Problem: Illegal memory access with ":1@". (Dominique Pelle) Solution: Correct cursor column after setting the line number. Also avoid calling end_visual_mode() when not in Visual mode. https://github.com/vim/vim/commit/4930a76a0357f76a829eafe4985d04cf3ce0e9e0
| * vim-patch:8.0.0066raichoo2017-03-19
| | | | | | | | | | | | | | | | | | Problem: when calling an operator function when 'linebreak' is set, it is internally reset before calling the operator function. Solution: Restore 'linebreak' before calling op_function(). (Christian Brabandt) https://github.com/vim/vim/commit/4a08b0dc4dd70334056fc1bf069b5e938f2ed7d5
| * vim-patch:8.0.0064raichoo2017-03-19
| | | | | | | | | | | | | | Problem: Normal test fails on MS-Windows. Solution: Don't try using an illegal file name. https://github.com/vim/vim/commit/eb828d01d9c91791fa1fe217ba651cdc25746d1b
| * vim-patch:8.0.0060raichoo2017-03-19
| | | | | | | | | | | | | | | | Problem: When using an Ex command for 'keywordprg' it is escaped as with a shell command. (Romain Lafourcade) Solution: Escape for an Ex command. (closes vim/vim#1175) https://github.com/vim/vim/commit/426f3754223c8ff8a1bc51d6ba1eba11e8982ebc
| * vim-patch:7.4.2353raichoo2017-03-19
| | | | | | | | | | | | | | Problem: Not enough test coverage for Normal mode commands. Solution: Add more tests. (Christian Brabandt) https://github.com/vim/vim/commit/2931f2a5df0d962032d41060af84d9fd2cb35c9f
| * vim-patch:7.4.2347raichoo2017-03-19
| | | | | | | | | | | | | | | | | | Problem: Crash when closing a buffer while Visual mode is active. (Dominique Pelle) Solution: Adjust the position before computing the number of lines. When closing the current buffer stop Visual mode. https://github.com/vim/vim/commit/c4a908e83690844b0d3a46124ba6af7d23485d69
| * vim-patch:7.4.2336raichoo2017-03-19
| | | | | | | | | | | | | | | | Problem: Running normal mode tests leave a couple of files behind. (Yegappan Lakshmanan) Solution: Delete the files. (Christian Brabandt) https://github.com/vim/vim/commit/df0db16cf74281a83a9ea3388a2ef9aedccd013c
| * vim-patch:7.4.2333raichoo2017-03-19
| | | | | | | | | | | | | | Problem: Outdated comments in test. Solution: Cleanup normal mode test. (Christian Brabandt) https://github.com/vim/vim/commit/31845093b7f1b33e0c7e9e592bef65528674a1f2
| * vim-patch:7.4.2326raichoo2017-03-19
| | | | | | | | | | | | | | | | Problem: Illegal memory access when Visual selection starts in invalid position. (Dominique Pelle) Solution: Correct position when needed. https://github.com/vim/vim/commit/d5824ce1b5491df7d2eb0b66189d366fa67b4585
| * vim-patch:7.4.2322raichoo2017-03-19
| | | | | | | | | | | | | | Problem: Access memory beyond the end of the line. (Dominique Pelle) Solution: Adjust the cursor column. https://github.com/vim/vim/commit/bc54f3f3fed4dc3556df8c46cee6739d211b0eb2
| * vim-patch:7.4.2317raichoo2017-03-19
| | | | | | | | | | | | | | Problem: Normal mode tests fail on MS-Windows. Solution: Do some tests only on Unix. Set 'fileformat' to "unix". https://github.com/vim/vim/commit/0913a1089a07ac7b17abc3a1343dfa7cd25613f4
| * vim-patch:7.4.2315raichoo2017-03-19
|/ | | | | | | Problem: Insufficient testing for Normal mode commands. Solution: Add a big test. (Christian Brabandt, closes vim/vim#1029) https://github.com/vim/vim/commit/87bc3f74598ae8c648957e5755000cc6cdbc89ce
* Merge #6305 from lonerover/vim-7.4.2228Justin M. Keyes2017-03-19
|\ | | | | vim-patch:7.4.2228,7.4.2248
| * vim-patch:7.4.2248lonerover2017-03-18
| | | | | | | | | | | | | | | | | | Problem: When cancelling the :ptjump prompt a preview window is opened for a following command. Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that the test runner gets stuck in trying to close a window. https://github.com/vim/vim/commit/358308dd99abdd56c6540339e505585d8db7bdfe
| * vim-patch:7.4.2228lonerover2017-03-18
| | | | | | | | | | | | | | Problem: Test files have inconsistant modelines. Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'. https://github.com/vim/vim/commit/9e4d8215d386100ab660d7d11e6620fd148b605e
* | clipboard: set v:register after startup (#5708)Björn Linse2017-03-18
| | | | | | Fixes #5697
* | readfile(): Remove "Reading from stdin..." #6298Vadim A. Misbakh-Soloviov2017-03-18
| |
* | vim_vsnprintf: fix conversion error #6311John Szakmeister2017-03-18
|/ | | | | | This looks mostly like a case where the compiler that ships with Ubuntu 12.04 has gone a little too far: `fmt_spec` is actually a char, as are the literals, so there's really no issue.
* test/put_spec: 2x speedup (#6294)Matthew Malcomson2017-03-18
| | | | Instead of helpers.clear() between each test, use execute('enew!') and ensure the state that matters is reset between each test.
* version.c: Add `v` prefix to NVIM_VERSION_MEDIUM (#6310)Tommy Allen2017-03-18
|
* vim-patch:7.4.2292 (#6304)Jack Bracewell2017-03-17
| | | | | | Problem: Not all systems understand %F in printf(). Solution: Use %f. https://github.com/vim/vim/commit/965ed14973fd3f1b2aace7bae4d4722b71ca04f9
* vim-patch:7.4.2249 (#6303)Jack Bracewell2017-03-17
| | | | | | Problem: Missing colon in error message. Solution: Add the colon. (Dominique Pelle) https://github.com/vim/vim/commit/ba2099034f92a2814494f37bddb0c57d034401b4
* os_set_cloexec: Fix condition. #5986Justin M. Keyes2017-03-17
| | | | Also: skip Test_undo_del_chars the right way. #6287
* terminal: Support extra arguments in 'shell'. #4504Jack Bracewell2017-03-17
| | | | | | | | | | | | | Tokenize p_sh if used as default in ex_terminal(). Previously p_sh was used as the first arg in a list when calling termopen(), this would try to call an untokenized version of shell, meaning if you had an argument in 'shell': set shell=/bin/bash\ --login the command would fail. Helped-by: oni-link <knil.ino@gmail.com> Closes #3999
* Merge #6087 from justinmk/defaultsJustin M. Keyes2017-03-17
|\ | | | | defaults: 'ruler', 'showcmd', 'belloff=all'
| * doc: handle_* function declarationsJustin M. Keyes2017-03-16
| |
| * defaults: 'showcmd', 'belloff', 'ruler'Justin M. Keyes2017-03-16
| | | | | | | | | | | | | | | | | | | | | | - Vim "unix default" of 'noshowcmd' is serving few users. And it's inconsistent. - 'ruler' and 'belloff=all' improve the out-of-the-box experience. - Continue to use 'noshowcmd' and 'noruler' by default in the functional tests to keep them fast. TODO: Add a "disable slow stuff" command or mapping to address the use-case of a very slow terminal connection.
* | vim-patch:7.4.2113 #6287raichoo2017-03-17
| | | | | | | | | | | | | | | | Problem: Test for undo is flaky. Solution: Turn it into a new style test. Use test_settime() to avoid flakyness. https://github.com/vim/vim/commit/170b10b421f0c9fda08b7cfd3bb043c064f3659a
* | job-control: set CLOEXEC on pty processes. #5986Matthew Malcomson2017-03-17
|/ | | | | Before this change, new processes started with libuv prevented SIGHUP from reaching pty processes (by keeping the ptmx file descriptor open).
* Merge pull request #6296 from FriedSock/use_handle_get_buffer_refactorBjörn Linse2017-03-17
|\ | | | | Use handle_get_buffer for buflist_findnr
| * Replace hashtab with handle buffer functionsJack Bracewell2017-03-16
| |
* | test: fix the unit test build on macOS Sierra (#6300)John Szakmeister2017-03-17
|/ | | | We need to add the SDK includes to the preprocessing step, otherwise it will fail to resolve the system includes such as sys/stat.h and fcntl.h.
* Merge pull request #6292 from jszakmeister/fix-tempfile-testJohn Szakmeister2017-03-16
|\ | | | | unittests: avoid using pattern matching on file names