aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
Commit message (Collapse)AuthorAge
...
* api: make nvim_put support "\022{NUM}" regtype as returned by getregtype()Björn Linse2019-08-31
|
* vim-patch:8.0.0303: shift_delete_registers() #10868Jan Edmund Lazo2019-08-28
| | | | | Problem: Bracketed paste does not work in Visual mode. Solution: Delete the text before pasting https://github.com/vim/vim/commit/a1891848d970452cd775d35a4bccfdd9758a690a
* API: nvim_put #6819Björn Linse2019-08-27
|
* includesDaniel Hahler2019-08-07
|
* vim-patch:8.1.1086: too many curly bracesJan Edmund Lazo2019-07-28
| | | | | | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes vim/vim#3982) https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c Neovim code style requires the opposite. Add curly braces to minimize lint errors when applying Vim patches.
* vim-patch:8.1.1138: add CompleteChanged #10644Justin M. Keyes2019-07-29
| | | | | | (This was originally a Neovim patch, but this commit merges some changes from the Vim patch.) https://github.com/vim/vim/commit/d7f246c68cfb97406bcd4b098a2df2d870b3ef92
* TextYankPost: spurious/too-early dispatch during delete #10392Jit2019-07-29
| | | | | | Problem: delete-with-register dispatches TextYankPost before updating yank registers Solution: Add flag to op_yank(). Fixes #10225
* API: ContextJustin M. Keyes2019-07-27
|
* PVS/V1019: "readability" warning #10566Ihor Antonov2019-07-22
|
* refactor: use int for Columns and RowsBjörn Linse2019-07-19
|
* PVS/V1028: cast operands, not the result #10505Ihor Antonov2019-07-16
|
* PVS/V108: cast operands, not the result #10501Ihor Antonov2019-07-16
|
* PVS/V1028: cast operands, not the result #10503Ihor Antonov2019-07-16
|
* PVS/V1028: cast operands, not the result #10502Ihor Antonov2019-07-16
|
* PVS/V1028: cast operands, not the result #10507Ihor Antonov2019-07-16
|
* PVS/V1028: cast operands, not the result #10508erw72019-07-14
| | | | fix #10508
* PVS/V1028: cast operands, not the result #10508Ihor Antonov2019-07-14
|
* vim-patch:8.1.1342: using freed memory when joining line with text propertyJan Edmund Lazo2019-06-25
| | | | | | Problem: Using freed memory when joining line with text property. Solution: Use already computed length. https://github.com/vim/vim/commit/787880a86dbcb79cdf6e8241b1d99ac4a7acbc09
* ops: refactor swapchar() to return boolJan Edmund Lazo2019-06-23
|
* vim-patch:8.1.0125: virtual edit replace with multi-byte fails at end of lineJan Edmund Lazo2019-06-23
| | | | | | | | | Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas Werling) Solution: use ins_char() to add the character. (Christian Brabandt, closes vim/vim#3114) Rename PCHAR() to PBYTE() to avoid mistakes like this. https://github.com/vim/vim/commit/630afe889a2a02b367ea8eaaa48e66ed81e77ff3
* lintJan Edmund Lazo2019-06-01
|
* vim-patch:8.1.1000: indenting is offJan Edmund Lazo2019-06-01
| | | | | | | Problem: Indenting is off. Solution: Make indenting consistent and update comments. (Ozaki Kiichi, closes vim/vim#4079) https://github.com/vim/vim/commit/fd731b0e31df9f167098c4a77ff894fea6cb7f5c
* vim-patch:8.1.0020: cannot tell whether a register is executing or recordingJan Edmund Lazo2019-05-26
| | | | | | | | | Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes vim/vim#2745) Rename the global variables for consistency. Store the register name in reg_executing. https://github.com/vim/vim/commit/0b6d911e5de1a1c10a23d4c2ee1b0275c474a2dd
* vim-patch:8.0.1496: VIM_CLEAR()Justin M. Keyes2019-05-25
| | | | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629) vim-patch:8.0.1481
* lintJan Edmund Lazo2019-04-30
|
* clipboard: setreg("*") with clipboard=unnamed #9954Justin M. Keyes2019-04-28
| | | | Helped-by: Björn Linse <bjorn.linse@gmail.com> fix #5646
* ops: use ARRAY_SIZE macro for opchars array lengthJan Edmund Lazo2019-04-10
|
* vim-patch:8.0.1411: reading invalid memory with CTRL-W :Jan Edmund Lazo2019-04-10
| | | | | | Problem: Reading invalid memory with CTRL-W :. Solution: Correct the command characters. (closes vim/vim#2469) https://github.com/vim/vim/commit/2efb323e875d2852f63e41c40641760d1d6b069f
* lintJan Edmund Lazo2019-04-02
|
* vim-patch:8.1.0118: duplicate error message for put commandJan Edmund Lazo2019-04-01
| | | | | | Problem: Duplicate error message for put command. Solution: Check return value of u_save(). (Jason Franklin) https://github.com/vim/vim/commit/f52f9ea8f5fb3df51a308c56f2bf66f735ef3ca7
* vim-patch:8.0.0681: unnamed register only contains the last deleted textJan Edmund Lazo2019-04-01
| | | | | | | Problem: Unnamed register only contains the last deleted text when appending deleted text to a register. (Wolfgang Jeltsch) Solution: Only set y_previous when not using y_append. (Christian Brabandt) https://github.com/vim/vim/commit/18d90b95c49d9ff1c635dd762864022aab8e71f1
* vim-patch:8.1.0671: cursor in wrong column after auto-format #9729Jan Edmund Lazo2019-03-14
| | | | | Problem: Cursor in the wrong column after auto-formatting. Solution: Check for deleting more spaces than adding. (closes vim/vim#3748) https://github.com/vim/vim/commit/e1e714ef0d1f4bb8b1712795e9106e3b4ff4c7bd
* TextYankPost: add v:event["inclusive"] #9717Justin M. Keyes2019-03-13
|
* ops.c: do_join expects `count` of 2 or greater #6855Zach Gleason2019-03-02
| | | | | | test_normal.vim fails if we assert >= 2, so we only check >= 1. That at least avoids invalid pointers. TEST_FILE=test_normal.res make oldtest
* cleanup: remove legacy `enc_dbcs` global #9660Justin M. Keyes2019-03-02
|
* ui: implement ext_messagesBjörn Linse2019-02-10
| | | | Co-Author: Dongdong Zhou <dzhou121@gmail.com>
* build: enable -WshadowJustin M. Keyes2019-01-02
| | | | | | | | | | Note about shada.c: - shada_read_next_item_start was intentionally shadowing `unpacked` and `i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly depended on those variable names. - Macros were changed to parameterize `unpacked` (but not `i`). Macros like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other approach is messy.
* vim-patch:8.0.1779: deleting in a block selection causes problems (#9099)Jan Edmund Lazo2018-10-09
| | | | | | Problem: Deleting in a block selection causes problems. Solution: Check the length of the line before adding bd.textcol and bd.textlen. (Christian Brabandt, closes vim/vim#2825) https://github.com/vim/vim/commit/35e802e713382d7e76232ad344af7dcd577e43de
* vim-patch:8.0.1374: CTRL-A does not work with an empty lineJan Edmund Lazo2018-09-16
| | | | | | Problem: CTRL-A does not work with an empty line. (Alex) Solution: Decrement the end only once. (Hirohito Higashi, closes vim/vim#2387) https://github.com/vim/vim/commit/5fe6bdf858a7f2f288d599ffb5efb3c08449c817
* Remove has_mbytes local to lines changed in parent commitZviRackover2018-09-09
|
* Refactor: Remove occurences of mb_char2bytesZviRackover2018-09-09
|
* Merge #8863 'refactor: Remove mb_head_off() 'Justin M. Keyes2018-08-28
|\
| * lint: cleanup after parent commitsZviRackover2018-08-16
| |
| * Remove has_mbyte from lines near changes in parent commitZviRackover2018-08-16
| |
| * Remove occurences of mb_head_offZviRackover2018-08-15
| |
* | vim-patch:8.0.1682: auto indenting breaks inserting a block (#8892)Jan Edmund Lazo2018-08-23
| | | | | | | | | | | | Problem: Auto indenting breaks inserting a block. Solution: Do not check for cursor movement if indent was changed. (Christian Brabandt, closes vim/vim#2778) https://github.com/vim/vim/commit/8c87a2b1fec85e4aac33f71586ac1514536fc66b
* | lintJan Edmund Lazo2018-08-23
| |
* | vim-patch:8.0.1044: warning for uninitialized variableJan Edmund Lazo2018-08-23
| | | | | | | | | | | | Problem: Warning for uninitialized variable. (John Marriott) Solution: Initialize ind_pre. https://github.com/vim/vim/commit/2254a8ad0cb596a0a0863b1af92353f018c0b355
* | vim-patch:8.0.1043: warning for uninitialized variableJan Edmund Lazo2018-08-23
| | | | | | | | | | | | Problem: Warning for uninitialized variable. (John Marriott) Solution: Move code to check indent inside "if". https://github.com/vim/vim/commit/4ec86ddd77a89766e42bd0a6cfcf10af4c3d03b2
* | vim-patch:8.0.1041: bogus characters when indenting during visual-block appendJan Edmund Lazo2018-08-23
| | | | | | | | | | | | | | Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt) https://github.com/vim/vim/commit/e2e69e48134cbfdedea7802810932f8592705024