aboutsummaryrefslogtreecommitdiff
path: root/scripts/vim-patch.sh
Commit message (Collapse)AuthorAge
* feat!: remove hardcopyLewis Russell2023-01-03
| | | Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* vim-patch:8.1.2001: some source files are too big (#21231)zeertzjq2022-11-29
| | | | | | | Problem: Some source files are too big. Solution: Move buffer and window related functions to evalbuffer.c and evalwindow.c. (Yegappan Lakshmanan, closes vim/vim#4898) https://github.com/vim/vim/commit/261f346f8154c0ec7094a4a211c653c74e9f7c2e
* build(vim-patch.sh): checkout files with path for uncrustify (#20863)zeertzjq2022-10-30
|
* build(vim-patch.sh): handle added/removed files properlyzeertzjq2022-10-27
|
* build: preprocess vim patches with uncrustify #20786dundargoc2022-10-24
| | | | | | | | | | | | | | | | This will enable a larger amount of chunks being automatically included due to fewer formatting differences between the vim and neovim files. The strategy is straightforward, if a bit tedious: - Get a list of all changed files. - Checkout parent commit. Copy all relevant files to a temporary location. - Checkout patch commit. Copy all relevant files to a temporary location. - Format .c and .h files with uncrustify. - Generate a diff from from these files. Closes https://github.com/neovim/neovim/issues/6226
* feat(vim-patch): mention original author #20772Maxime Brunet2022-10-23
|
* vim-patch: bump VIM_VERSION from 8.0 => 8.1 #20762Justin M. Keyes2022-10-21
| | | | There are 6 remaining 8.0.x patches, tracked in: https://github.com/neovim/neovim/issues/5431
* feat(runtime)!: remove filetype.vim (#20428)Christian Clason2022-10-17
| | | | | | Made obsolete by now graduated `filetype.lua` (enabled by default). Note that changes or additions to the filetype detection still need to be made through a PR to vim/vim as we port the _logic_ as well as tests.
* feat(cscope)!: removeLewis Russell2022-10-13
|
* refactor: move code dealing with script files to runtime.c (#19734)zeertzjq2022-08-12
| | | | | | | vim-patch:8.1.1927: code for dealing with script files is spread out Problem: Code for dealing with script files is spread out. Solution: Move the code to scriptfile.c. (Yegappan Lakshmanan, closes vim/vim#4861) https://github.com/vim/vim/commit/307c5a5bb77c3728dfab06c30e9f786309c63f74
* vim-patch:8.1.1684: profiling functionality is spread outzeertzjq2022-08-12
| | | | | | | | | Problem: Profiling functionality is spread out. Solution: Put profiling functionality in profiling.c. (Yegappan Lakshmanan, closes vim/vim#4666) https://github.com/vim/vim/commit/fa55cfc69d2b14761e2a8bd85bc1e0d82df770aa Move proftime_T to types.h for now to avoid recursive #include.
* refactor: move f_getbufvar() and f_setbufvar() to eval/vars.czeertzjq2022-07-22
| | | | Vim moved them there in patch 8.1.1943.
* vim-patch:8.1.1933: the eval.c file is too big (#19462)zeertzjq2022-07-22
| | | | | | | | Problem: The eval.c file is too big. Solution: Move code related to variables to evalvars.c. (Yegappan Lakshmanan, closes vim/vim#4868) https://github.com/vim/vim/commit/0522ba0359c96a8c2a4fc8fca0d3b58e49dda759 Name the new file eval/vars.c instead.
* refactor: move some mapping-related code to a separate file (#19061)zeertzjq2022-06-23
| | | | | | | | | | | | | | | | | | | This marks the following Vim patches as ported: vim-patch:8.1.1785: map functionality mixed with character input Problem: Map functionality mixed with character input. Solution: Move the map functionality to a separate file. (Yegappan Lakshmanan, closes vim/vim#4740) Graduate the +localmap feature. https://github.com/vim/vim/commit/b66bab381c8ba71fd6e92327d1d34c6f8a65f2a7 vim-patch:8.2.3643: header for source file is outdated Problem: Header for source file is outdated. Solution: Make the header more accurate. (closes vim/vim#9186) https://github.com/vim/vim/commit/a3f83feb63eae5464a620ae793c002eb45f7a838 Also cherry-pick a change for <unique> mappings from patch 8.2.0807. Rename map_clear_mode() to do_mapclear().
* fix(vim-patch.sh)Justin M. Keyes2022-05-28
| | | | | | | | | | | | | | | | | | | In scripts/vim-patch.sh line 335: printf ' ^-- SC2183 (warning): This format string has 4 variables, but is passed 3 arguments. In scripts/vim-patch.sh line 597: list_missing_vimpatches 1 "$@" | while read -r vim_commit; do ^--------^ SC2030 (info): Modification of vim_commit is local (to subshell caused by pipeline) In scripts/vim-patch.sh line 626: done < <(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id --name-only -r "${vim_commit}" -- . ':!src/version.c') ^-----------^ SC2031 (info): vim_commit was modified in a subshell. That change might be lost. For more information: https://www.shellcheck.net/wiki/SC2183 -- This format string has 4 variable... https://www.shellcheck.net/wiki/SC2030 -- Modification of vim_commit is loc... https://www.shellcheck.net/wiki/SC2031 -- vim_commit was modified in a subs...
* docs: add missing termdebug docs from Vim runtime updateszeertzjq2022-05-26
| | | | | | | | https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892 https://github.com/vim/vim/commit/4466ad6baa22485abb1147aca3340cced4778a66 https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404 Rename terminal.txt to nvim_terminal_emulator.txt in vim-patch.sh.
* refactor: rename keymap.{c,h} to keycodes.{c,h} (#18535)zeertzjq2022-05-12
| | | | | | | | Most code in keymap.h is for keycode definitions, while most code in keymap.c is for the parsing and conversion of keycodes. The name "keymap" may also make people think these two files are for mappings, while in fact keycodes are used even when no mappings are involved, so "keycodes" should be a better file name than "keymap".
* fix(vim-patch.sh): fix N/A files patterns (#18073)zeertzjq2022-04-11
|
* vim-patch:8.1.1693: syntax coloring and highlighting is in one big file (#17721)Lewis Russell2022-03-18
| | | | | | | | | | | Problem: Syntax coloring and highlighting is in one big file. Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan, closes vim/vim#4674) https://github.com/vim/vim/commit/f9cc9f209ede9f15959e4c2351e970477c139614 Name the new file highlight_group.c instead. Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* feat(vim-patch.sh): support additional args for -szeertzjq2022-03-05
| | | | This allows creating a draft vim-patch PR.
* chore(vim-patch.sh): use piping instead of here string for `while read`zeertzjq2022-02-08
| | | | | | | Using a here string can cause an error if there are no missing patches: `./scripts/vim-patch.sh: line 580: runtime_commits: bad array subscript` Using piping doesn't cause the error.
* ci: fix shellcheck errors introduced in version 0.8.0Dundar Göc2022-01-03
| | | | | | | Solved following shellcheck warnings: SC2030 SC2295 SC2015
* fix(vim-patch.sh): run nvim with -u NONE -n #16179Sean Dewar2021-10-30
| | | | | | | | | | Problem: Because of -u NORC, vim-patch.sh would hang on my machine due to one of my plugins (start package) waiting for prompt input. Solution: - Use -u NONE instead to disable all plugins. - Also use -n to disable swapfiles. These changes only apply to the --headless nvim instances used to process things.
* feat(vim-patch.sh): better detection of remote name #15846zeertzjq2021-10-02
|
* chore(vim-patch): add doc/vim9.txt to unwanted filesChristian Clason2021-09-10
|
* chore(vim-patch.sh): replace hub with gh (#15162)zeertzjq2021-08-03
|
* lint (#14941)dundargoc2021-07-01
| | | | | Fix SC2155 error, found by shellcheck v0.7.2. https://github.com/koalaman/shellcheck/wiki/SC2155
* fix: Remove [RFC] from PR subject in vim-patch.sh (#14917)Daniel Steinberg2021-06-28
| | | | | As of PR #10383, CONTRIBUTING.md says '[RFC] is assumed by default'. As of PR #11656, CONTRIBUTING.md says '**do not** put "RFC" in the PR title'.
* vim-patch.sh -m: Ignore changes to version.cJames McCoy2021-05-19
| | | | [skip ci]
* fix(vim-patch.sh -m): Show all commits touching a file, not just the firstJames McCoy2021-05-19
| | | | [skip ci]
* vim-patch.sh: remove unsupported files (#13570)Jan Edmund Lazo2021-02-03
| | | Add files listed in https://github.com/neovim/neovim/wiki/Merging-patches-from-upstream-Vim#na-not-applicable-patches.
* fixup! rename: user_funcs -> userfuncJan Edmund Lazo2020-11-01
|
* fixup! eval.c: factor out eval/funcs.c #11828Jan Edmund Lazo2020-11-01
|
* fixup! refactor: move session functions to ex_session.cJan Edmund Lazo2020-11-01
|
* Fix shellcheck error SC2155Jan Edmund Lazo2020-10-15
| | | | Close https://github.com/neovim/neovim/pull/11765
* scripts/vim-patch.sh: include --shortstat with -mDaniel Hahler2020-10-15
|
* vim-patch.sh: Fix PR subject with multiple patchesJames McCoy2020-09-04
|
* vim-patch.sh: fix bash version-check message #12398Poh Zi How2020-05-31
|
* Merge pull request #11764 from blueyed/vim-patch-usageJames McCoy2020-05-15
|\
| * docDaniel Hahler2020-01-26
| |
| * set -u before returnDaniel Hahler2020-01-26
| | | | | | | | Follow up to a4d21f059.
| * scripts/vim-patch.sh: add -m to usageDaniel Hahler2020-01-26
| | | | | | | | Ref: https://github.com/neovim/neovim/pull/11514#issuecomment-569476828
* | Merge pull request #12081 from xylix/bash-version-checkJames McCoy2020-04-21
|\ \
| * | Apply suggestions from code reviewKerkko Pelttari2020-04-07
| | | | | | | | | | | | | | | | | | Improve error message for unsupported bash version, use double square bracket operator Co-Authored-By: Daniel Hahler <github@thequod.de>
| * | Check for bash version in vim-patch.shKerkko Pelttari2020-04-06
| |/
* / vim-patch.sh: Fix creation of commit list for PR reviewJames McCoy2020-03-31
|/ | | | [ci skip]
* terminal: absolute CWD in term:// URI #11289Chris LaRose2020-01-26
| | | | | | | | | This makes it possible to restore the working directory of :terminal buffers when reading those buffers from a session file. Fixes #11288 Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* fixup! fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514Jan Edmund Lazo2020-01-19
|
* vim-patch.sh: fix for bash 4.3 or older #11700Jan Edmund Lazo2020-01-11
|
* fixup! vim-patch.sh: list related missing Vim patches [ci skip] #11514Jan Edmund Lazo2019-12-29
|