aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | vim-patch:8.2.0049: command line completion not fully testedzeertzjq2022-07-01
| |/ / | | | | | | | | | | | | | | | | | | Problem: Command line completion not fully tested. Solution: Add more test cases. Make help sorting stable. (Dominique Pelle, closes vim/vim#5402) https://github.com/vim/vim/commit/297610ba4b110c918ffe60c45eb4a1d6ea2daae5
| * | Merge pull request #19170 from zeertzjq/vim-8.0.1558zeertzjq2022-07-01
| |\ \ | | | | | | | | vim-patch:8.0.{1558,1570,1574,1588},8.1.{0487,0695,1274}: menu features
| | * | feat(ui): make right-click menu work properly with ext_multigridzeertzjq2022-07-01
| | | | | | | | | | | | | | | | Add tests both with and without ext_multigrid.
| | * | vim-patch:8.1.1274: after :unmenu can still execute the menu with :emenuzeertzjq2022-07-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: After :unmenu can still execute the menu with :emenu. Solution: Do not execute a menu that was disabled for the specified mode. https://github.com/vim/vim/commit/ce79353ace9e21238f13655089363cd23cbb6b32
| | * | vim-patch:8.1.0695: internal error when using :popupzeertzjq2022-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Internal error when using :popup. Solution: When a menu only exists in Terminal mode give an error. (Naruhiko Nishino, closes vim/vim#3765) https://github.com/vim/vim/commit/f42b45d719e03218735b3c2845a74dca9c0efd60
| | * | vim-patch:8.1.0487: no menus specifically for the terminal windowzeertzjq2022-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No menus specifically for the terminal window. Solution: Add :tlmenu. (Yee Cheng Chin, closes vim/vim#3439) Add a menu test. https://github.com/vim/vim/commit/4c5d815256099b50eca2ec5bf8f9aaa67a890211 ADDR_OHTER comes from patch 8.1.1241, which has already been ported.
| | * | vim-patch:8.0.1588: popup menu hangs after typing CTRL-Czeertzjq2022-07-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Popup menu hangs after typing CTRL-C. Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes vim/vim#2697) https://github.com/vim/vim/commit/52f18a112a073c39187cd93f26115d1e2bfd29ce
| | * | vim-patch:8.0.1574: show cursor in wrong place when using popup menuzeertzjq2022-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Show cursor in wrong place when using popup menu. (Wei Zhang) Solution: Force updating the cursor position. Fix skipping over unused entries. https://github.com/vim/vim/commit/987723e084660290270b3c3d943eb13bd828d5da
| | * | vim-patch:8.0.1570: can't use :popup for a menu in the terminalzeertzjq2022-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) Solution: Make :popup work in the terminal. Also fix that entries were included that don't work in the current state. https://github.com/vim/vim/commit/29a2c08d792e4458a0af8371f5341394829fce29
| | * | vim-patch:8.0.1558: no right-click menu in a terminalzeertzjq2022-07-01
| |/ / | | | | | | | | | | | | | | | Problem: No right-click menu in a terminal. Solution: Implement the right click menu for the terminal. https://github.com/vim/vim/commit/aef8c3da2ba59285b7cfde559ae21cdce6ba6919
| * | cmdheight=0: fix bugs #18961Shougo2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Continue of #16251 Fix #18953 Fix #18960 Fix #18958 Fix #18955 Fix #18970 Fix #18983 Fix #18995 Fix #19112
| * | fix(filetype): update call sites of vim.filetype.match (#19171)Gregory Anders2022-06-30
| | | | | | | | | These were not updated in #18895.
| * | feat(marks): restore viewport on jump #15831Javier Lopez2022-06-30
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** Refactor Previously most functions used to "get" a mark returned a position, changed the line number and sometimes changed even the current buffer. Now functions return a {x}fmark_T making calling context aware whether the mark is in another buffer without arcane casting. A new function is provided for switching to the mark buffer and returning a flag style Enum to convey what happen in the movement. If the cursor changed, line, columns, if it changed buffer, etc. The function to get named mark was split into multiple functions. - mark_get() -> fmark_T - mark_get_global() -> xfmark_T - mark_get_local() -> fmark_T - mark_get_motion() -> fmark_T - mark_get_visual() -> fmark_T Functions that manage the changelist and jumplist were also modified to return mark types. - get_jumplist -> fmark_T - get_changelist -> fmark_T The refactor is also seen mainly on normal.c, where all the mark movement has been siphoned through one function nv_gomark, while the other functions handle getting the mark and setting their movement flags. To handle whether context marks should be left, etc. ** Mark View While doing the refactor the concept of a mark view was also implemented: The view of a mark currently implemented as the number of lines between the mark position on creation and the window topline. This allows for moving not only back to the position of a mark but having the window look similar to when the mark was defined. This is done by carrying and extra element in the fmark_T struct, which can be extended later to also restore horizontal shift. *** User space features 1. There's a new option, jumpoptions+=view enables the mark view restoring automatically when using the jumplist, changelist, alternate-file and mark motions. <C-O> <C-I> g; g, <C-^> '[mark] `[mark] ** Limitations - The view information is not saved in shada. - Calls to get_mark should copy the value in the pointer since we are using pos_to_mark() to wrap and provide a homogeneous interfaces. This was also a limitation in the previous state of things.
| * refactor(uncrustify): change config to better align with style guide (#18803)dundargoc2022-06-30
| | | | | | refactor(uncrustify): change config to better align with neovim style
| * vim-patch:9.0.0011: reading beyond the end of the line with put command (#19166)zeertzjq2022-06-30
| | | | | | | | | | Problem: Reading beyond the end of the line with put command. Solution: Adjust the end mark position. https://github.com/vim/vim/commit/d25f003342aca9889067f2e839963dfeccf1fe05
| * feat(build): add_glob_target runs only on changed files #19070dundargoc2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | The general idea is that add_glob_targets creates a "touch file", a dummy file that acts as a dependency in order to check which files are outdated since the last time the target was run. Remove RunUncrustify.cmake as it's no longer necessary. It was initially introduced to silence its noisy output. The per-file targets will suppress the noisy output from uncrustify, except for the very first run. Also remove DefCmdTarget.cmake since add_glob_target already incorporates its functionality.
| * feat: stdpath('run'), /tmp/nvim.user/ #18993Justin M. Keyes2022-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: - Since c57f6b28d71d #8519, sockets are created in ~/.local/… but XDG spec says: "XDG_RUNTIME_DIR: Must be on the local filesystem", which implies that XDG_STATE_DIR is potentially non-local. - Not easy to inspect Nvim-created temp files (for debugging etc). Solution: - Store sockets in stdpath('run') ($XDG_RUNTIME_DIR). - Establish "/tmp/nvim.user/" as the tempdir root shared by all Nvims. - Make ok() actually useful. - Introduce assert_nolog(). closes #3517 closes #17093
| * vim-patch:9.0.0001: Travis CI is no longer used #19163Hugo2022-06-30
| | | | | | | | | | | | Problem: Travis CI is no longer used. Solution: Delete the Travis CI configuration. (Hugo Osvaldo Barrera, closes vim/vim#10636) https://github.com/vim/vim/commit/75417d960bd17a5b701cfb625b8864dacaf0cc39
| * Merge pull request #19134 from dundargoc/refactor/conversionbfredl2022-06-30
| |\ | | | | | | refactor: enable -Wconversion warning for fileio.c
| | * refactor: enable -Wconversion warning for fileio.cDundar Goc2022-06-29
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
| * | refactor(highlight)!: rename attributes to match Vim (#19159)zeertzjq2022-06-30
| |/ | | | | | | | | | | | | | | | | Ref: https://github.com/vim/vim/commit/84f546363068e4ddfe14a8a2a2322bb8d3a25417 Rename: - `underlineline` to `underdouble` - `underdot` to `underdotted` - `underdash` to `underdashed` `underdouble` also now takes higher precedence than `undercurl`.
| * fix(lsp): small bugs in snippet-parser #18998L3MON4D32022-06-29
| | | | | | | | | | | | | | | | | | This fixes the following bugs: `${1:else_text}` -> format with if_text: "else_text" `${1:-else_text}` -> format with if_text: "else_text" `${1:}` in `format` (eg. empty else_text) -> error. `${1:}` (eg. empty placeholder) -> error. Thanks hrsh7th :)
| * vim-patch:9.0.0006: not all Visual Basic files are recognized (#19153)Christian Clason2022-06-29
| | | | | | | | | | Problem: Not all Visual Basic files are recognized. Solution: Change detection of *.cls files. (Doug Kearns) https://github.com/vim/vim/commit/8b5901e2f9466eb6f38f5b251e871f609f65e252
| * vim-patch:9.0.0005: hare files are not recognized (#19151)Christian Clason2022-06-29
| | | | | | | | | | Problem: Hare files are not recognized. Solution: Add a filetype pattern. (Hugo Osvaldo Barrera, closes vim/vim#10630) https://github.com/vim/vim/commit/040674129f3382822eeb7b590380efa5228124a8
| * vim-patch:8.2.4378: incsearch HL broken when calling searchcount in ↵zeertzjq2022-06-29
| | | | | | | | | | | | | | | | | | 'tabLine' (#19147) Problem: Incsearch highlight broken when calling searchcount() in 'tabLine' function. (Mirko Palmer) Solution: Save and restore the incsearch state. (Christian Brabandt, closes vim/vim#9763, closes vim/vim#9633) https://github.com/vim/vim/commit/6dd7424c7e6ab81998c29ca3526c41b75cfde5a1
| * vim-patch:9.0.0002: map functionality outside of map.c (#19150)zeertzjq2022-06-29
| | | | | | | | | | Problem: Map functionality outside of map.c. Solution: Move f_hasmapto() to map.c. Rename a function. (closes vim/vim#10611) https://github.com/vim/vim/commit/c207fd2535717030d78f9b92839e5f2ac004cc78
| * Merge pull request #19133 from famiu/feat/api/cmd_support_filterbfredl2022-06-29
| |\ | | | | | | feat(api): make `nvim_parse_cmd` and `nvim_cmd` support :filter
| | * feat(api): make `nvim_parse_cmd` and `nvim_cmd` support :filterFamiu Haque2022-06-28
| | | | | | | | | | | | | | | | | | Also fixes a memory leak in `parse_cmdline`. Closes #18954.
| * | Merge #19139 build(cmake): fix static libintl on macOSJustin M. Keyes2022-06-29
| |\ \
| | * | ci(release): link `gettext` include directoryCarlo Cabrera2022-06-29
| | | | | | | | | | | | | | | | | | | | | | | | Our previous mangling of gettext broke the `HAVE_WORKING_LIBINTL` test because it prevented CMake from finding `libintl.h`. Let's fix that by linking Gettext's `include` directory into `/usr/local` too.
| | * | build(cmake): fix static `libintl` test on macOSCarlo Cabrera2022-06-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `libintl` is a static library on macOS, we also need to explicitly link with `libiconv` and the `CoreFoundation` framework. Otherwise, our `HAVE_WORKING_LIBINTL` test erroneously fails. Closes #19127 Closes #19138
| * | | feat: update unicode tables #19135Justin M. Keyes2022-06-28
| | | |
| * | | Merge pull request #19141 from bfredl/mapcharbfredl2022-06-29
| |\ \ \ | | |/ / | |/| | refactor: define builtin mappings and autocmds without pseudo-excmds
| | * | refactor(aucmd): call define_autocmd() directly for default autocmdsbfredl2022-06-28
| | | |
| | * | refactor(map): simplify add_map paramsbfredl2022-06-28
| |/ /
| * | Merge #19120 build: rename build-related dirsJustin M. Keyes2022-06-28
| |\ \
| | * | build: move unicode/ to src/unicode/Justin M. Keyes2022-06-28
| | | |
| | * | build: rename build-related dirsJustin M. Keyes2022-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Dirs "config", "packaging", and "third-party" are all closely related but this is not obvious from the layout. This adds friction for new contributors. Solution: - rename config/ to cmake.config/ - rename test/config/ to test/cmakeconfig/ because it is used in Lua tests: require('test.cmakeconfig.paths'). - rename packaging/ to cmake.packaging/ - rename third-party/ to cmake.deps/ (parallel with .deps/)
| * | | fix(coverity): redundant assert #19059Thomas Vigouroux2022-06-28
| |/ / | | | | | | | | | | | | * fix(coverity/353303): redundant assert eap->line2 is an int32_t, it is always lower than INT_MAX. * fix(coverity/353302): redundant assert
| * | refactor(ci): cleanup release.yml #19132Vedant2022-06-28
| | |
| * | Merge #19060 memory leaksJustin M. Keyes2022-06-28
| |\ \ | | |/ | |/|
| | * fix(coverity/348300): free memory when overiding sing attributeThomas Vigouroux2022-06-27
| | | | | | | | | | | | | | | Nothing prevent the user from doing `:sign define abc culhl=Normal culhl=Normal` and thus this leads to an obvious memory leak.
| | * fix(coverity/348313): don't exit too early in runtime_defaultThomas Vigouroux2022-06-24
| | |
| | * fix(coverity/352829): correctly free memory in f_callThomas Vigouroux2022-06-24
| | | | | | | | | | | | | | | This function was not freeing allocated memory that it owns when calling functions from lua.
| * | fix(vim.ui.input): accept nil or empty "opts" #191090x74696d6d792022-06-28
| | | | | | | | | Fix #18143
| * | refactor: replace char_u #18429dundargoc2022-06-28
| | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
| * | fix(inccommand): parse the command to check if it is previewableFamiu Haque2022-06-28
| | | | | | | | | | | | | | | Free regprog if command isn't previewable Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * | vim-patch:069a7d561bbe (#19130)Christian Clason2022-06-27
| | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/069a7d561bbe7e3b9bf132f71b7121c59f99e8f1
| * | fix(filetype): check for non-nil match in detect.rules (#19129)Christian Clason2022-06-27
| | |
| * | Merge pull request #19122 from dundargoc/refactor/conversionbfredl2022-06-27
| |\ \ | | | | | | | | refactor: enable -Wconversion warning for message.c