aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.2.3577: overflow check fails with 32 intsSean Dewar2022-02-17
| | | | | | Problem: Overflow check fails with 32 ints. Solution: Only test with 64 bit ints. https://github.com/vim/vim/commit/0f0044125c2a5dcde2c4605efc39d2e237eed024
* vim-patch:8.2.3575: overflow check still fails when sizeof(int) == sizeof(long)Sean Dewar2022-02-17
| | | | | | | | | | Problem: Overflow check still fails when sizeof(int) == sizeof(long). Solution: Use a float to check the result. https://github.com/vim/vim/commit/e551ccfb9311eea5252d1c3106ff7a53c762d994 This approach is... interesting... Tests fail.
* vim-patch:8.2.3574: divide by zeroSean Dewar2022-02-17
| | | | | | Problem: Divide by zero. Solution: Don't check for overflow if multiplicand is zero. https://github.com/vim/vim/commit/8a1962d1355096af55e84b1ea2f0baf5f1c5a5bc
* vim-patch:8.2.3573: cannot decide whether to skip test that fails with 64 bitSean Dewar2022-02-17
| | | | | | | | | | Problem: Cannot decide whether to skip test that fails with 64 bit ints. (closes vim/vim#9072) Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the check for multiply overflow. https://github.com/vim/vim/commit/69b3072d984480935ec412b32b97fea974d2b689 Omit v:sizeof{int,long,pointer} as they're only really used for tests.
* vim-patch:8.2.3570: Test_very_large_count fails on 32bit systemsSean Dewar2022-02-17
| | | | | | Problem: Test_very_large_count fails on 32bit systems. Solution: Bail out when using 32 bit numbers. (closes vim/vim#9072) https://github.com/vim/vim/commit/ec6e63079dde24a1d74b4103775e74d00f9215ec
* vim-patch:8.2.3493: large count test fails on MS-WindowsSean Dewar2022-02-17
| | | | | | Problem: Large count test fails on MS-Windows. Solution: Skip the test on MS-Windows. https://github.com/vim/vim/commit/cddd5ac911707034ca27f10037c4b1b523188c47
* vim-patch:8.2.3492: crash when pasting too many timesSean Dewar2022-02-17
| | | | | | | | | | | | | | | | | | | Problem: Crash when pasting too many times. Solution: Limit the size to what fits in an int. (closes vim/vim#8962) https://github.com/vim/vim/commit/eeed1c7ae090c17f4df51cf97b2a9e4d8b4f4dc7 Note that this overflow check pretty bad. It also doesn't work well on Windows (where sizeof(int) == sizeof(long)). This is all temporary; everything here is rewritten in future patches anyway. e_resulting_text_too_long was already cherry-picked. totlen is size_t in Nvim, but is int in Vim. This means we'll need some casts. We could technically adjust the logic in do_put to use the entire range of size_t in stuff like totlen, but there's not much gain, and it's much easier to just port the patch like Vim as was done before (also allows us to use the same tests).
* Merge pull request #17421 from lewis6991/hl0_clearbfredl2022-02-17
|\ | | | | fix(highlight): global ns improvements
| * feat(highlight): support color names for ctermLewis Russell2022-02-16
| |
| * fix(highlight): allow globals to be clearedLewis Russell2022-02-16
| | | | | | | | | | | | - and reduce heap allocations Fixes #17420
* | Merge pull request #17431 from zeertzjq/vim-8.2.4345zeertzjq2022-02-17
|\ \ | | | | | | vim-patch:8.2.4345
| * | vim-patch:8.2.4345: <amatch> is expanded like a file name for DirChangedPrezeertzjq2022-02-17
| | | | | | | | | | | | | | | | | | Problem: <amatch> is expanded like a file name for DirChangedPre. Solution: Do not expand <amatch>. (closes vim/vim#9742) Also for the User event. https://github.com/vim/vim/commit/f6246f51e3d85a982a899b4a8fd9045a5e23016f
* | | Merge pull request #17429 from zeertzjq/vim-8.2.4400zeertzjq2022-02-17
|\ \ \ | |/ / |/| | vim-patch:8.2.{4392,4394,4400}
| * | vim-patch:8.2.4400: MS-Windows: cannot use the mouse in the console with VIMDLLzeertzjq2022-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: cannot use the mouse in the console with VIMDLL. Solution: use add_char2buf() instead of fix_input_buffer(). (closes vim/vim#9784, closes vim/vim#9769) https://github.com/vim/vim/commit/646bb7247ad6051aca223a2b04b008f682cdb57f N/A patches for version.c: vim-patch:8.2.4392: MS-Windows with VIMDLL: Escaping CSI is wrong Problem: MS-Windows with VIMDLL: Escaping CSI is wrong. Solution: Put back #ifdef. (Ken Takata, closes vim/vim#9769) https://github.com/vim/vim/commit/64d95cfc56406858a05032c6a134f1e08fe2ca78 vim-patch:8.2.4394: UTF8 select mode test fails on MS-Windows Problem: UTF8 select mode test fails on MS-Windows. Solution: Revert the #ifdef change. https://github.com/vim/vim/commit/9fdde7992ab4c21517f447ca3d651b9ff4a770e8
* | | Merge pull request #17363 from zeertzjq/dirchangedprezeertzjq2022-02-17
|\ \ \ | |/ / |/| | feat(events): add DirChangedPre
| * | feat(events): add DirChangedPrezeertzjq2022-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Nvim, like DirChanged, this also triggers when switching windows. This marks Vim patch 8.2.4335 as ported. vim-patch:8.2.4335: no autocommand event triggered before changing directory Problem: No autocommand event triggered before changing directory. (Ronnie Magatti) Solution: Add DirChangedPre. (closes vim/vim#9721) https://github.com/vim/vim/commit/28e8f73ae2d90009fd62cd60f97c2643ba44de68
* | | feat(tree-sitter): allow Atom-style capture fallbacks (#14196)Stephan Seitz2022-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows falling back to `@definition` when we have no mapping `@definition.fancy-specialization`. This behavior is described in tree-sitter's documentation (https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme). Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/738
* | | Merge pull request #16678 from lewis6991/runtime_file_errbfredl2022-02-16
|\ \ \ | | | | | | | | fix(api): re-route nvim_get_runtime_file errors
| * | | fix(api): re-route nvim_get_runtime_file errorsLewis Russell2022-02-15
| | |/ | |/| | | | | | | This allows nvim_get_runtime_file to be properly used via pcall
* | | Merge pull request #17424 from zeertzjq/map-followupzeertzjq2022-02-16
|\ \ \ | | | | | | | | follow-up PR to #17423
| * | | refactor: remove NULL check that is always truezeertzjq2022-02-16
| | | |
| * | | docs: minor changes related to mapping descriptionzeertzjq2022-02-16
|/ / /
* | | feat(mappings): considering map description when filtering (#17423)Shadman2022-02-16
| | |
* | | Merge pull request #17422 from shadmansaleh/enhance/mapszeertzjq2022-02-16
|\ \ \ | | | | | | | | fix: <Nop> not shown in :map commands
| * | | fix: <Nop> not shown in :map commandsshadmansaleh2022-02-16
| | | |
| * | | chore: improve lua keymaps internal representation schemeshadmansaleh2022-02-16
| | | |
* | | | Merge pull request #17418 from dundargoc/revert/ci/run-functionaltest-on-draftJames McCoy2022-02-15
|\ \ \ \ | |_|/ / |/| | | revert: "ci: run functionaltest-lua on drafts as well"
| * | | revert: "ci: run functionaltest-lua on drafts as well"Dundar Göc2022-02-15
| | | | | | | | | | | | | | | | This reverts commit a91a5c1880dcb7718aed4e19ff2757be0948e7d5.
* | | | fix(api): validate command names in nvim_add_user_command (#17406)Gregory Anders2022-02-15
| |/ / |/| | | | | | | | This uses the same validation used when defining commands with `:command`.
* | | Merge pull request #17417 from zeertzjq/vim-8.2.4388zeertzjq2022-02-15
|\ \ \ | | | | | | | | vim-patch:8.2.4388: dead code in op_insert()
| * | | vim-patch:8.2.4388: dead code in op_insert()zeertzjq2022-02-15
|/ / / | | | | | | | | | | | | | | | Problem: Dead code in op_insert(). Solution: Remove condition and else block. (closes vim/vim#9782) https://github.com/vim/vim/commit/7745f14ef324a7134b2f26a47451cf5032f44b89
* | | Merge pull request #17411 from zeertzjq/vim-8.2.3820zeertzjq2022-02-15
|\ \ \ | | | | | | | | vim-patch:8.2.{3820,3823}: "vrc" does not replace composing characters
| * | | vim-patch:8.2.3820: "vrc" does not replace composing characterszeertzjq2022-02-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "vrc" does not replace composing characters, while "rc" does. Solution: Check the byte length including composing characters. (closes vim/vim#9351) https://github.com/vim/vim/commit/8ee6028de3daa9af9e5f90fa9e583ff407bee04f vim-patch:8.2.3823: test for visual replace is in wrong function Problem: Test for visual replace is in wrong function. Solution: Move it to another function. https://github.com/vim/vim/commit/6ecf58b0d7d9b8fbba780d19d2e6c0f227df715b
* | | | Merge pull request #17412 from zeertzjq/vim-8.2.4154zeertzjq2022-02-15
|\ \ \ \ | |_|/ / |/| | | vim-patch:8.2.4154: ml_get error when exchanging windows in Visual mode
| * | | vim-patch:8.2.4154: ml_get error when exchanging windows in Visual modezeertzjq2022-02-15
| |/ / | | | | | | | | | | | | | | | Problem: ml_get error when exchanging windows in Visual mode. Solution: Correct end of Visual area when entering another buffer. https://github.com/vim/vim/commit/05b27615481e72e3b338bb12990fb3e0c2ecc2a9
* | | Merge pull request #17409 from dundargoc/ci/disable-syncJames McCoy2022-02-15
|\ \ \ | | | | | | | | ci(labeler): disable sync that interferes with other jobs
| * | | ci(labeler): disable sync that interferes with other jobsDundar Göc2022-02-14
| | | |
* | | | Merge pull request #17405 from dundargoc/ci/add-more-reviewersJames McCoy2022-02-15
|\ \ \ \ | |_|/ / |/| | | ci: add more reviewers
| * | | ci: add more reviewersDundar Göc2022-02-14
| |/ /
* | | Merge pull request #17410 from zeertzjq/test-old-reorderzeertzjq2022-02-15
|\ \ \ | | | | | | | | test(old): reorder test_functions.vim and test_visual.vim to match Vim
| * | | test(old): reorder test_functions.vim and test_visual.vim to match Vimzeertzjq2022-02-15
|/ / /
* | | Merge pull request #17402 from seandewar/vim-8.2.4120Sean Dewar2022-02-15
|\ \ \ | | | | | | | | vim-patch:8.2.{3073,4120,4151,4152}
| * | | vim-patch:8.2.4152: block insert with double wide character failsSean Dewar2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Block insert with double wide character fails. Solution: Adjust the expected output. https://github.com/vim/vim/commit/fc6ccebea668c49e9e617e0657421b6a8ed9df1e
| * | | vim-patch:8.2.4151: reading beyond the end of a lineSean Dewar2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Reading beyond the end of a line. Solution: For block insert only use the offset for correcting the length. https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc
| * | | vim-patch:8.2.4120: block insert goes over the end of the lineSean Dewar2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Block insert goes over the end of the line. Solution: Handle invalid byte better. Fix inserting the wrong text. https://github.com/vim/vim/commit/9f8c304c8a390ade133bac29963dc8e56ab14cbc
| * | | vim-patch:8.2.3073: when cursor is move for block append wrong text is insertedSean Dewar2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When cursor is move for block append wrong text is inserted. Solution: Calculate an offset. (Christian Brabandt, closes vim/vim#8433, closes vim/vim#8288) https://github.com/vim/vim/commit/4067bd3604215b48e4b4201e28f9e401b08418e4
| * | | test(old): cherry-pick test_visual changes from v8.2.2945Sean Dewar2022-02-14
| | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/59b262362f26b3aaea1eeb0078adc33eed59863e
| * | | test(old): cherry-pick test_visual changes from v8.2.2901Sean Dewar2022-02-14
| | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/3e72dcad8b752a42b6eaf71213e3f5d534175256
| * | | test(old): cherry-pick test_visual changes from v8.2.0369Sean Dewar2022-02-14
| |/ / | | | | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/1671f4488105ee12a6a8558ae351436c26ab55fc Omit Test_AAA_start_visual_mode_with_count comment change as it hasn't been ported yet.
* | | Merge pull request #17394 from zeertzjq/vim-8.2.4343zeertzjq2022-02-15
|\ \ \ | |/ / |/| | vim-patch:8.2.4343: when reloading not all properties are detected