aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * vim-patch:8.2.3311: Vim9: check for DO_NOT_FREE_CNT is very slowzeertzjq2024-07-16
| |/ | | | | | | | | | | | | | | | | | | Problem: Vim9: check for DO_NOT_FREE_CNT is very slow. Solution: Move to a separate function so it can be skipped by setting $TEST_SKIP_PAT. https://github.com/vim/vim/commit/dae453f3397a26a53301d7327e6ed43e8b392035 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:df62c62: runtime(doc): grammar fixes in options.txt (#29729)zeertzjq2024-07-15
| | | | | | | | | | | | | | closes: vim/vim#15265 https://github.com/vim/vim/commit/df62c62177bd4dffce880b7a5711594865090953 Co-authored-by: Dominique Pellé <dominique.pelle@gmail.com>
| * build: allow comment after #include for required header (#29722)zeertzjq2024-07-16
| | | | | | | | And also check in .c files, as the attributes may be silently missing there as well.
| * docs(lpeg): merge upstream changesMaria José Solano2024-07-15
| |
| * ci: adjust workflows to enable required checksdundargoc2024-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Auto-merging is a useful feature by github, but it requires required checks which requires a few adjustments. The primary change is that required checks can't use `paths` or `paths-ignore` as that risks not running the job, and required checks must always be run. A workaround for this is to introduce a dummy workflow which is used for every path not used in the real workflow. That way the required job is "always" run as far as github is concerned. The workaround is unweildly so it's only useful to do it for costly workflows where the potential benefits are big. If not it's better to simply remove any `paths` or `paths-ignore` from a workflow instead.
| * fix(ui): avoid ambiguity about last chunk when flushing halfway (#29718)zeertzjq2024-07-15
| |
| * docs: misc (#29622)dundargoc2024-07-15
| | | | | | | | Co-authored-by: Christian Clason <c.clason@uni-graz.at> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * Merge pull request #29713 from zeertzjq/vim-9.1.0585zeertzjq2024-07-15
| |\ | | | | | | vim-patch:partial:9.0.0418,9.1.0585
| | * vim-patch:9.1.0585: tests: test_cpoptions leaves swapfiles aroundzeertzjq2024-07-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: tests: test_cpoptions leaves swapfiles around Solution: Use :bw! instead of :close! https://github.com/vim/vim/commit/bb5d27dc79187ff3bd51734946a4c8418989a218 Co-authored-by: Christian Brabandt <cb@256bit.org>
| | * vim-patch:partial:9.0.0418: manually deleting temp test fileszeertzjq2024-07-15
| |/ | | | | | | | | | | | | | | | | | | | | Problem: Manually deleting temp test files. Solution: Use the 'D' flag of writefile() and mkdir(). https://github.com/vim/vim/commit/45bbaef0382c5468d9fac511775bd99ea7bf5b84 This only includes test_cpoptions.vim changes. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.1.0586: ocaml runtime files are outdatedChristian Clason2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ocaml runtime files are outdated Solution: sync those files with the upstream repo, detect a few more ocaml files (Yinzuo Jiang) closes: vim/vim#15260 https://github.com/vim/vim/commit/700cf8cfa1e926e2ba676203b3ad90c2c2083f1d Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
| * vim-patch:9.1.0583: filetype: *.pdf_tex files are not recognizedChristian Clason2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: *.pdf_tex files are not recognized Solution: Detect '*.pdf_tex' files as tex filetype (Jonas Dujava) Those files are generated by inkscape, when exporting, see e.g. https://inkscape.org/doc/inkscape-man.html closes: vim/vim#15250 https://github.com/vim/vim/commit/28145e005d646cb0477aa26ef69d0f651a9f9d27 Co-authored-by: Jonas Dujava <jonas.dujava@gmail.com>
| * vim-patch:27c5598: runtime(doc): Add hint how to load termdebug from vimrc ↵zeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | (#29704) fixes: vim/vim#15256 https://github.com/vim/vim/commit/27c55984def4c6ff7afc89958c90f6018c474b2c Co-authored-by: Christian Brabandt <cb@256bit.org>
| * Merge pull request #29696 from zeertzjq/vim-9.1.0573zeertzjq2024-07-14
| |\ | | | | | | vim-patch:9.1.{0573,0574,0582}
| | * vim-patch:9.1.0582: Printed line doesn't overwrite colon when pressing Enter ↵zeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in Ex mode Problem: Printed line no longer overwrites colon when pressing Enter in Ex mode (after 9.1.0573). Solution: Restore the behavior of pressing Enter in Ex mode. (zeertzjq) closes: vim/vim#15258 https://github.com/vim/vim/commit/7d664bf0eb2cb25cb77933c8b7f11ca09929e7b8
| | * vim-patch:9.1.0574: ex: wrong handling of commands after barzeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ex: wrong handling of commands after bar Solution: for :append, :insert and :change use the text after the bar as input for those commands. This is what POSIX requests. (Mohamed Akram) See the POSIX Spec: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_03 Section 12.c closes: vim/vim#15229 https://github.com/vim/vim/commit/8c446da34998f6350911e07fbfd7932412c83185 Co-authored-by: Mohamed Akram <mohd.akram@outlook.com>
| | * vim-patch:9.1.0573: ex: no implicit print for single addresseszeertzjq2024-07-14
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ex: no implicit print for single addresses Solution: explicitly print even during single addresses, as requested by POSIX (Mohamed Akram) See the POSIX behaviour here: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_03 Section 6b closes: vim/vim#15230 https://github.com/vim/vim/commit/c25a7084e9ae1f78c28ddcbe1fa23374cfdf1e03 Co-authored-by: Mohamed Akram <mohd.akram@outlook.com>
| * vim-patch:9.1.0580: :lmap mapping for keypad key not applied when typed in ↵zeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | Select mode (#29693) Problem: An :lmap mapping for a printable keypad key is not applied when typing it in Select mode. Solution: Change keypad key to ASCII after setting vgetc_char. (zeertzjq) closes: vim/vim#15245 https://github.com/vim/vim/commit/90a800274ded86d5d79dbea7ba647cd69b029b4e
| * vim-patch:9.1.0575: Wrong comments in alt_tabpage() (#29692)zeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | Problem: Wrong comments in alt_tabpage() (after v9.1.0572) Solution: Correct the comments (zeertzjq). closes: vim/vim#15235 https://github.com/vim/vim/commit/1a3dd7dc7847a3568fe96192a21e478f46c07929
| * Merge pull request #29691 from zeertzjq/vim-9.1.0577zeertzjq2024-07-14
| |\ | | | | | | vim-patch:8.2.{3716,4065},9.1.{0577,0579}
| | * vim-patch:8.2.3716: Vim9: range without a command is not compiledzeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: range without a command is not compiled. Solution: Add the ISN_EXECRANGE byte code. https://github.com/vim/vim/commit/e4eed8c6db693a9183b776032570ce2f89dcffb6 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:9.1.0579: Ex command is still executed after giving E1247zeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Ex command is still executed after giving E1247. Solution: Indicate the error properly and set cmd to NULL. (zeertzjq) closes: vim/vim#15241 https://github.com/vim/vim/commit/d1b5ea984d41102d253ecdd9a76124cd4c58b97d
| | * vim-patch:8.2.4065: computation overflow with large cound for :yankzeertzjq2024-07-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Computation overflow with large cound for :yank. Solution: Avoid an overflow. https://github.com/vim/vim/commit/3cf21b305104e91a28e4ce3a473672b2e88a9469 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * test(old): enable Test_address_line_overflow()zeertzjq2024-07-14
| | | | | | | | | | | | | | | Nvim doesn't use atol() in getdigits() and doesn't need to check for size of long.
| | * vim-patch:9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vimzeertzjq2024-07-14
| |/ | | | | | | | | | | | | | | | | | | | | Problem: Unnecessary checks for v:sizeoflong in test_put.vim. They are no longer necessary as patch 8.2.3661 has changed the count to be within 32-bit integer limit. Solution: Remove the checks (zeertzjq). closes: vim/vim#15239 https://github.com/vim/vim/commit/69a28f6c0861523b1a9c565b3c882f439ae73ef4
| * Merge pull request #29315 from bfredl/staticinlinebfredl2024-07-13
| |\ | | | | | | refactor(declarations): also generate prototypes for functions in headers
| | * refactor(declarations): also generate prototypes for functions in headersbfredl2024-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, "static inline" functions in headers needed to have their function attributes specified in a completely different way. The prototype had to be duplicated, and REAL_FATTR_ had to be used instead of the public FUNC_ATTR_ names. TODO: need a check that a "header.h.inline.generated.h" file is not forgotten when the first "static inline" function with attributes is added to a header (they would just be silently missing).
| * | Merge pull request #29659 from amitds1997/fix/empty-dict-encodingbfredl2024-07-13
| |\ \ | | |/ | |/| fix(lua)!: do not use typed table for empty dict
| | * fix(lua)!: do not use typed table for empty dictAmit Singh2024-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Empty dictionaries are converted into typed tables of the form `{ [true] = 6}` instead of an empty dictionary representation `{}`. This leads to incorrect table representation, along with failure in JSON encoding of such tables as currently tables with only string and number type keys can be encoded. Solution: The typed table logic has been removed from `nlua_push_Dictionary`. The typed table logic is required only for float value conversions which is already handled in `nlua_push_Float`. So, it is(was) no longer required here. Fixes neovim/neovim#29218
| * | Merge pull request #29632 from echasnovski/filetype-refactorLewis Russell2024-07-13
| |\ \ | | |/ | |/| refactor(filetype): extract some functions, use more cache
| | * refactor(filetype): use Lua patterns without implicit anchoringEvgeni Chasnovski2024-07-12
| | |
| | * refactor(filetype): extract expanding env. vars in separate functionEvgeni Chasnovski2024-07-12
| | |
| | * perf(filetype): cache (more) pattern data during "add" timeEvgeni Chasnovski2024-07-12
| | |
| | * refactor(filetype): unify matching patterns with pos/neg priorityEvgeni Chasnovski2024-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: due to single list of sorted patterns, their matching inside `vim.filetype.match()` was done very similarly but with extra checks to stop processing negative priority patterns before extensions. Solution: create separated sorted lists for patterns with non-negative and negative priorities. This allows to process them in a single extracted function making the main codeflow a bit nicer and more easily expandable.
| * | vim-patch:9.1.0572: cannot specify tab page closing behaviour (#29682)zeertzjq2024-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: cannot specify tab page closing behaviour (Gianluca Pacchiella) Solution: Add the 'tabclose' option (LemonBoy). fixes: vim/vim#5967 closes: vim/vim#15204 https://github.com/vim/vim/commit/5247b0b92e191a046b034171a3b34031e317735f Co-authored-by: LemonBoy <thatlemon@gmail.com>
| * | vim-patch:74703f1: runtime(doc): remove obsolete Ex insert behavior (#29678)zeertzjq2024-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | related: vim/vim#15120 closes: vim/vim#15228 https://github.com/vim/vim/commit/74703f1086e7815f356123736666d9930db8683a Nvim only supports Vim Ex mode, so this is long obsolete in Nvim. Co-authored-by: Mohamed Akram <mohd.akram@outlook.com>
| * | fix(input): handle vim.on_key() properly with ALT and K_SPECIAL (#29677)zeertzjq2024-07-13
| |/
| * vim-patch:57f7d75: runtime(logindefs): update syntax with new keywordsChristian Clason2024-07-12
| | | | | | | | | | | | | | | | | | | | | | * add keywords * enforce octal format for permissions closes: vim/vim#15222 https://github.com/vim/vim/commit/57f7d75591da0ec91068741eefbad295be8f78b4 Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
| * vim-patch:fc533c9: runtime(mojo): include mojo ftplugin and indent scriptChristian Clason2024-07-12
| | | | | | | | | | | | | | | | | | | | | | Taken from excerpts of the Python ftplugin and adapted, indent script simply sources the python indent script. closes: vim/vim#15171 https://github.com/vim/vim/commit/fc533c9f06aff579437f9f2348a21241a72c7967 Co-authored-by: Riley Bruins <ribru17@hotmail.com>
| * vim-patch:7a22cb8: runtime(fstab): Add missing keywords to fstab syntaxChristian Clason2024-07-12
| | | | | | | | | | | | | | | | | | | | Added overlay, tracefs and fixed the "none" keyword in the fstab syntax definition. closes: vim/vim#15217 https://github.com/vim/vim/commit/7a22cb81415060215d28c1601a0b35755449bf87 Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:9.1.0569: fnamemodify() treats ".." and "../" differently (#29673)zeertzjq2024-07-12
| | | | | | | | | | | | | | | | | | Problem: fnamemodify() treats ".." and "../" differently. Solution: Expand ".." properly like how "/.." is treated in 8.2.3388. (zeertzjq) closes: vim/vim#15218 https://github.com/vim/vim/commit/1ee7420460768df67ea4bc73467f2d4f8b1555bd
| * Merge pull request #29669 from zeertzjq/vim-9.1.0568zeertzjq2024-07-12
| |\ | | | | | | vim-patch:partial:9.0.{0323,0418},9.1.0568
| | * vim-patch:9.1.0568: Cannot expand paths from 'cdpath' settingzeertzjq2024-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot expand paths from 'cdpath' setting (Daniel Hahler) Solution: Implement 'cdpath' completion, add the new 'dir_in_path' completion type (LemonBoy) fixes vim/vim#374 closes: vim/vim#15205 https://github.com/vim/vim/commit/a20bf69a3b32024cb7809be87af33bf9dc490a19 Co-authored-by: LemonBoy <thatlemon@gmail.com>
| | * vim-patch:partial:9.0.0418: manually deleting temp test fileszeertzjq2024-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Manually deleting temp test files. Solution: Use the 'D' flag of writefile() and mkdir(). https://github.com/vim/vim/commit/45bbaef0382c5468d9fac511775bd99ea7bf5b84 This only includes test_cd.vim changes. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| | * vim-patch:partial:9.0.0323: using common name in tests leads to flaky testszeertzjq2024-07-12
| |/ | | | | | | | | | | | | | | | | | | | | Problem: Using common name in tests leads to flaky tests. Solution: Rename files and directories to be more specific. https://github.com/vim/vim/commit/3b0d70f4ff436cb144683dafd956e8a3ee485a90 This only includes test_cd.vim changes. Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * Merge pull request #29668 from zeertzjq/vim-9.1.0562zeertzjq2024-07-12
| |\ | | | | | | vim-patch:9.1.{0562,0565,0566,0567}: file search fixes
| | * vim-patch:9.1.0567: Cannot use relative paths as findfile() stop directorieszeertzjq2024-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use relative paths as findfile() stop directories. Solution: Change a relative path to an absolute path. (zeertzjq) related: vim/vim#15200 closes: vim/vim#15202 https://github.com/vim/vim/commit/764526e2799fbed040fc867858ee2eb0677afe98
| | * vim-patch:9.1.0566: Stop dir in findfile() doesn't work properly w/o ↵zeertzjq2024-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | trailing slash Problem: Stop directory in findfile() doesn't work properly without a trailing slash. Solution: Always use fnamencmp(), not fnamecmp(). related: vim/vim#15200 related: vim/vim#15202 https://github.com/vim/vim/commit/e6ab23bd4a41840860ae2904956c4d255a9dd528
| | * vim-patch:9.1.0565: Stop directory doesn't work properly in 'tags'zeertzjq2024-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Stop directory doesn't work properly in 'tags'. (Jesse Pavel) Solution: Also move the stop directory forward by one byte. (zeertzjq) This doesn't support relative stop directories yet, as they are not supported in other places like findfile() either. fixes: vim/vim#15200 related: vim/vim#15202 https://github.com/vim/vim/commit/68819afb2cdd0f44baa080db589e1d8f77099e5f
| | * vim-patch:partial:9.0.0323: using common name in tests leads to flaky testszeertzjq2024-07-12
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using common name in tests leads to flaky tests. Solution: Rename files and directories to be more specific. https://github.com/vim/vim/commit/3b0d70f4ff436cb144683dafd956e8a3ee485a90 This only includes test_findfile.vim changes. vim-patch:9.1.0562: tests: inconsistency in test_findfile.vim Problem: tests: inconsistency in test_findfile.vim, it saves and restores 'shellslash', but doesn't actually set it Solution: Set shellslash explicitly (zeertzjq) closes: vim/vim#15217 https://github.com/vim/vim/commit/e7b98ab96e1f1bd12032c620615a2c69adbf018d Co-authored-by: Bram Moolenaar <Bram@vim.org>