aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | fix(path): restore space separation in 'path' (#25571)zeertzjq2023-10-10
| | | | | | | | | | | | | | | | | | | | | Removing this behavior causes more inconsistencies and bugs.
| * | | | | | docs: fix misplaced mention of 'backupdir' (#25568)zeertzjq2023-10-10
| | | | | | |
| * | | | | | docs: miscellaneous doc and type fixes (#25554)Maria José Solano2023-10-10
| | | | | | |
| * | | | | | fix(file_search): path with spaces in finddir() and findfile() (#25493)Leonardo Mello2023-10-10
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: dundargoc <gocdundar@gmail.com>
| * | | | | | vim-patch:9.0.2008: test: undofile left behind (#25567)zeertzjq2023-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: test: undofile left behind Solution: cleanup undofile fix: tmp file not deleted when running make test_undo Temporary file `.Xtestfile.txt.un~` was left running `make test_undo` and vim was configured with: ``` ./configure --with-features=normal --enable-gui=no --enable-terminal ``` closes: vim/vim#13304 https://github.com/vim/vim/commit/b07b9dc4dafe2aad5ee752a51f06acacae210fef Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
| * | | | | | ci: use clang 17 as the default clang version is too olddundargoc2023-10-09
| | | | | | |
| * | | | | | ci: various cleanupsdundargoc2023-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add reviewers - correct cache key
| * | | | | | ci: enable clang-analyzer warningsdundargoc2023-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the checks in https://neovim.io/doc/reports/clang/ when using clang-tidy. The strategy is to enable all clang-analyzer checks, and disable only the checks for the warnings that exist currently. This allows us to eliminate each warning type without blocking ongoing work, but also without adding bugs for already eliminated warnings. The plan is to eventually eliminate https://neovim.io/doc/reports/clang/ by completely integrating it into the clang-tidy check. Also add make and cmake targets `clang-analyzer` to run this check.
| * | | | | | fix(coverity): dead code #25562Justin M. Keyes2023-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** CID 466056: Control flow issues (DEADCODE) /src/nvim/window.c: 6951 in file_name_in_line() 6945 // Search backward for first char of the file name. 6946 // Go one char back to ":" before "//", or to the drive letter before ":\" (even if ":" 6947 // is not in 'isfname'). 6948 while (ptr > line) { 6949 if ((len = (size_t)(utf_head_off(line, ptr - 1))) > 0) { 6950 ptr -= len + 1; >>> CID 466056: Control flow issues (DEADCODE) >>> Execution cannot reach the expression "path_has_drive_letter(ptr - 2)" inside this statement: "if (vim_isfilec((uint8_t)pt...". 6951 } else if (vim_isfilec((uint8_t)ptr[-1]) 6952 || (len >= 2 && path_has_drive_letter(ptr - 2)) 6953 || ((options & FNAME_HYP) && path_is_url(ptr - 1))) { 6954 ptr--; 6955 } else { 6956 break;
| * | | | | | build(deps): bump libmpack-lua to 1.0.11Christian Clason2023-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update vendored libmpack-lua to match https://github.com/libmpack/libmpack-lua/releases/tag/1.0.11
| * | | | | | fix(autocmd): API functions accept garbage after event name #25523ii142023-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "VimEnter foo" was accepted as a valid event name for "VimEnter". Events delimited with commas, eg. "VimEnter,BufRead", were also accepted, even though only the first event was actually parsed. Co-authored-by: ii14 <ii14@users.noreply.github.com>
| * | | | | | refactor: the long goodbyedundargoc2023-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | long is 32 bits on windows, while it is 64 bits on other architectures. This makes the type suboptimal for a codebase meant to be cross-platform. Replace it with more appropriate integer types.
| * | | | | | feat(ui-ext): make 'mousehide' into proper ui_option (#25532)Jaehoon Hwang2023-10-09
| | | | | | |
| * | | | | | test(ui/embed_spec): use notification instead of request (#25555)zeertzjq2023-10-09
| | | | | | | | | | | | | | | | | | | | | This avoid the hang mentioned in #24888, and also matches TUI better.
| * | | | | | build(deps): bump luajit to HEAD - 656ecbcf8Christian Clason2023-10-09
| | | | | | |
| * | | | | | Merge pull request #25503 from bfredl/unishapebfredl2023-10-08
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | refactor(grid): do arabic shaping in one place
| | * | | | | | refactor(grid): do arabic shaping in one placebfredl2023-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'arabicshape' feature of vim is a transformation of unicode text to make arabic and some related scripts look better at display time. In particular the content of a cell will be adjusted depending on the (original) content of the cells just before and after it. This is implemented by the arabic_shape() function in nvim. Before this commit, shaping was invoked in four different contexts: - when rendering buffer text in win_line() - in line_putchar() for rendering virtual text - as part of grid_line_puts, used by messages and statuslines and similar - as part of draw_cmdline() for drawing the cmdline This replaces all these with a post-processing step in grid_put_linebuf(), which has become the entry point for all text rendering after recent refactors. An aim of this is to make the handling of multibyte text yet simpler. One of the main reasons multibyte chars needs to be "parsed" into codepoint arrays of composing chars is so that these could be inspected for the purpose of shaping. This can likely be vastly simplified in many contexts where only the total length (in bytes) and width of composed char is needed.
| * | | | | | | vim-patch:1e33cd72b60aChristian Clason2023-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime: make command name for &iskeywordprg more unique (vim/vim#13297) See https://github.com/vim/vim/pull/13213/commits by @dkearns: Rename 'keywordprg' user command to ShKeywordPrg as this is just a leaking implementation detail. https://github.com/vim/vim/commit/1e33cd72b60a119a038952bb658862d038602f76 Co-authored-by: Enno <Konfekt@users.noreply.github.com>
| * | | | | | | fix(PVS/V592): expression is enclosed by parentheses twicedundargoc2023-10-08
| | | | | | | |
| * | | | | | | fix(PVS/V547): expression is always true/falsedundargoc2023-10-08
| | |/ / / / / | |/| | | | |
| * | | | | | fix(lsp): account for border height in max floating popup height (#25539)LW2023-10-08
| | | | | | |
| * | | | | | build(PVS): exclude build directorydundargoc2023-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to prevent reports on generated files.
| * | | | | | Merge pull request #25533 from famiu/docs/style/abort-defaultbfredl2023-10-07
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | docs: use `abort()` for unreachable `default:` case in C
| | * | | | | | docs: use `abort()` for unreachable `default:` case in CFamiu Haque2023-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The style guide currently recommends having a `default:` case for switch statements that are not conditional on an enumerated value. Additionally, it recommends using `assert(false)` if `default:` is unreachable. This is problematic because `assert()` only runs on debug builds, which may lead to confusing breakages in release builds. Moreover, this suggestion is followed nowhere in the C code and `abort()` is used everywhere instead. Solution: Suggest using `abort()` instead of `assert(false)`, that way the program always terminates if a logically unreachable case is reached.
| * | | | | | | ci: fix mac releasedundargoc2023-10-07
| |/ / / / / /
| * | | | | | Merge pull request #25522 from glepnir/4334bfredl2023-10-07
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | fix(ui): trigger TabNewEntered after split new tab
| | * | | | | | fix(ui): trigger TabNewEntered after split new tabglepnir2023-10-07
| | | | | | | |
| * | | | | | | vim-patch:9.0.1997: Some unused code in move.c and string.cdundargoc2023-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some unused code in move.c and string.c Solution: Remove it closes: vim/vim#13288 https://github.com/vim/vim/commit/580c1fcb4ad85360cd3a361c3c8e37b534153d60 Co-authored-by: dundargoc <gocdundar@gmail.com>
| * | | | | | | Merge pull request #25529 from zeertzjq/vim-9.0.1990zeertzjq2023-10-07
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch:9.0.1990,27e12c7669e3
| | * | | | | | | vim-patch:27e12c7669e3zeertzjq2023-10-07
| | | | | | | | | | | | | | | | |</