aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
| * | refactor: enable -Wconversion warning for message.cDundar Goc2022-06-27
|/ / | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | vim-patch:partial:8a3b805c6c9c (#19104)Christian Clason2022-06-27
| | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/8a3b805c6c9cae341d560df9c3567ebbe42a7404 skip builtin.txt (needs 8.2.4838) skip message.txt (whitespace changes)
* | Merge pull request #19077 from dundargoc/refactor/conversionbfredl2022-06-27
|\ \ | | | | | | refactor: enable -Wconversion warning for ex_cmds.c
| * | refactor: enable -Wconversion warning for ex_cmds.cDundar Goc2022-06-25
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | refactor(filetype): allow vim.filetype.match to accept buf and filename (#19114)Gregory Anders2022-06-27
| | | | | | | | | | | | | | | | | | | | | This is necessary in cases where filetype detection acts recursively. For example, when matching files that end with .bak, the "root" of the filename is matched again against the same buffer (e.g. a buffer named "foo.c.bak" will be matched again with the filename "foo.c", using the same underlying buffer).
* | | build: move man/ to src/man/ #19119Justin M. Keyes2022-06-27
| | | | | | | | | | | | | | | | | | | | | | | | Problem: man/ contains source files for manpage generation, it doesn't need to live at the project root. Solution: Move it to src/man/.
* | | fix(api): change default value of 'pattern' in nvim_exec_autocmds (#19115)Gregory Anders2022-06-27
| | | | | | | | | | | | | | | | | | Omitting 'pattern' in nvim_exec_autocmds should be equivalent to omitting the 'fname' argument in :doautoall, which is equivalent to using an empty string as the pattern. Fixes regression introduced in #19091.
* | | fix(api): nvim_parse_cmd check for ambiguous user command (#19116)zeertzjq2022-06-27
| | |
* | | test: use "python3" to avoid skipped test #19106Justin M. Keyes2022-06-26
| | | | | | | | | | | | | | | | | | | | | | | | Problem: The "calls executable in $PATH" is skipped on some CI jobs because "python" is not found. Solution: Use "python3" instead.
* | | Merge pull request #18716 from zeertzjq/vim-8.2.5007zeertzjq2022-06-27
|\ \ \ | | | | | | | | vim-patch:8.2.{3484,5007,5123}: spell suggestion fixes
| * | | fix(spell): make setting 'encoding' clear word listzeertzjq2022-06-27
| | | |
| * | | vim-patch:8.2.5123: using invalid index when looking for spell suggestionszeertzjq2022-06-27
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using invalid index when looking for spell suggestions. Solution: Do not decrement the index when it is zero. https://github.com/vim/vim/commit/156d3911952d73b03d7420dc3540215247db0fe8
| * | | vim-patch:8.2.5007: spell suggestion may use uninitialized memoryzeertzjq2022-06-27
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal) Solution: Avoid going over the end of the word. https://github.com/vim/vim/commit/6d24b4ff69913270ce1e5267dd6bd8454f75e2b9
| * | | vim-patch:8.2.3484: crash when going through spell suggestionszeertzjq2022-06-27
|/ / / | | | | | | | | | | | | | | | | | | Problem: Crash when going through spell suggestions. Solution: Limit the text length for finding suggestions to the original length. Do not update buffers when exiting. (closes vim/vim#8965) https://github.com/vim/vim/commit/e275ba4fc994474155fbafe8b87a6d3b477456ba
* | | Merge pull request #19091 from clason/do-aucmd-patsChristian Clason2022-06-26
|\ \ \ | | | | | | | | feat(api): support pattern array for exec_autocmds
| * | | refactor(api): use FOREACH_ITEM macro in autocmdChristian Clason2022-06-26
| | | |