Skip to content

Commit 3da6ec3

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents b9c7efd + 6cdf6bd commit 3da6ec3

107 files changed

Lines changed: 3590 additions & 632 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/actions/build_vim_on_linux/action.yml‎

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,6 @@ runs:
7777
sudo bash ci/remove_snap.sh
7878
echo '::endgroup::'
7979
80-
- name: Enable debug packages
81-
shell: bash
82-
run: |
83-
echo '::group::Enable debug packages'
84-
# Some of the ASAN suppressions are in libraries linked with dlopen
85-
# and symbolization of them requires these debug packages.
86-
sudo apt install ubuntu-dbgsym-keyring
87-
sudo cp ci/ddebs.list /etc/apt/sources.list.d/ddebs.list
88-
sudo cp ci/pinned-pkgs /etc/apt/preferences.d/pinned-pkgs
89-
echo '::endgroup::'
90-
9180
- name: Install packages
9281
shell: bash
9382
run: |
@@ -119,20 +108,6 @@ runs:
119108
locales-all \
120109
software-properties-common \
121110
)
122-
if ${{ contains(fromJSON(inputs.extra), 'asan') }} && ${{ contains(inputs.architecture, 'native') }}; then
123-
PKGS+=( \
124-
libepoxy0-dbgsym:${{ inputs.architecture }} \
125-
libxdamage1-dbgsym:${{ inputs.architecture }} \
126-
libxcb1-dbgsym:${{ inputs.architecture }} \
127-
libgtk-3-bin-dbgsym:${{ inputs.architecture }} \
128-
libgtk-3-0t64-dbgsym:${{ inputs.architecture }} \
129-
libgtk-4-bin-dbgsym:${{ inputs.architecture }} \
130-
libgtk-4-0t64-dbgsym:${{ inputs.architecture }} \
131-
libglib2.0-0t64-dbgsym:${{ inputs.architecture }} \
132-
libglib2.0-bin-dbgsym:${{ inputs.architecture }} \
133-
libglib2.0-dev-bin-dbgsym:${{ inputs.architecture }} \
134-
)
135-
fi
136111
if ${{ inputs.features == 'huge' }}; then
137112
LUA_VER=${{ inputs.lua_ver || '5.4' }}
138113
PKGS+=( \

‎.github/workflows/vim_unused/ci-windows.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ jobs:
9999
else
100100
choco install python2 --no-progress
101101
fi
102+
if [ ! -x "/c/Python27/python.exe" ]; then
103+
echo "::error::python2 was not installed at C:\\Python27\\python.exe (Chocolatey repository may have returned 504; try re-running the job)"
104+
exit 1
105+
fi
102106
fi
103107
python3_dir=$(cat "/proc/$cygreg/HKEY_LOCAL_MACHINE/SOFTWARE/Python/PythonCore/${PYTHON3_VER_DOT}$pyreg/InstallPath/@")
104108
echo "PYTHON3_DIR=$python3_dir" >> $GITHUB_ENV

‎.github/workflows/vim_unused/codeql-analysis.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
# Initializes the CodeQL tools for scanning.
5050
- name: Initialize CodeQL
51-
uses: github/codeql-action/init@v4.39.3
51+
uses: github/codeql-action/init@v4.39.4
5252
with:
5353
languages: ${{ matrix.language }}
5454
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -59,7 +59,7 @@ jobs:
5959
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6060
# If this step fails, then you should remove it and run the build manually (see below)
6161
- name: Autobuild
62-
uses: github/codeql-action/autobuild@v4.39.3
62+
uses: github/codeql-action/autobuild@v4.39.4
6363

6464
# ℹ️ Command-line programs to run using the OS shell.
6565
# 📚 https://git.io/JvXDl
@@ -73,4 +73,4 @@ jobs:
7373
# make release
7474

7575
- name: Perform CodeQL Analysis
76-
uses: github/codeql-action/analyze@v4.39.3
76+
uses: github/codeql-action/analyze@v4.39.4

‎AGENTS.md‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ See `runtime/doc/develop.txt` for the high level design goals.
3232
make proto
3333

3434
# Run a single test file:
35-
cd src/testdir && make test_name.res
35+
cd src/testdir && make test_name
3636

37-
Output is in testdir/messages and testdir/test.log
37+
Output is in testdir/messages and testdir/test.log. Don't use
38+
`make test_name.res`: it does not re-run the test while the `.res` file
39+
from an earlier passing run is newer than the test file and the Vim
40+
binary (e.g. after changing `TEST_FILTER` or a runtime file), and it
41+
appends to old output.
3842

3943
Builds on Windows depend on the Environment, see `src/INSTALLpc.txt`
4044
for Cygwin/MSYS and MSVC ways to build Vim
@@ -57,7 +61,7 @@ types, script reloading or error paths should be checked for memory errors
5761
`valgrind -q`), leaks are not reported in detail:
5862

5963
cd src/testdir
60-
make test_name.res VALGRIND="valgrind --tool=memcheck \
64+
make test_name VALGRIND="valgrind --tool=memcheck \
6165
--leak-check=full --errors-for-leak-kinds=definite \
6266
--num-callers=45 --log-file=valgrind.test_name"
6367

@@ -234,7 +238,8 @@ Further rules, not spelled out here, live in `runtime/doc/develop.txt`:
234238

235239
## Test conventions
236240

237-
- Tests are in `src/testdir/test_*.vim`.
241+
- Tests are in `src/testdir/test_*.vim`. See `src/testdir/AGENTS.md` for
242+
detailed conventions for writing them.
238243
- Reproducible tests beat "it doesn't crash" tests. If a patch fixes
239244
a rendering bug, add a screendump test. If it fixes incorrect output,
240245
assert the output.
@@ -274,6 +279,10 @@ Further rules, not spelled out here, live in `runtime/doc/develop.txt`:
274279
update in the same patch.
275280
- When editing an existing help file, bump the `Last change:` header
276281
at the top.
282+
- After adding, renaming or removing a `*tag*` in a help file, regenerate
283+
`runtime/doc/tags` with `make vimtags` (or `make tags` without a built
284+
Vim) from `runtime/doc`; do not edit `tags` by hand. CI fails when
285+
`tags` differs from the generated file.
277286

278287
### Help file style
279288

‎Filelist‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ SRC_ALL = \
2727
.editorconfig \
2828
CODE_OF_CONDUCT.md \
2929
ci/config.mk*.sed \
30-
ci/ddebs.list \
3130
ci/gen_testset.py \
3231
ci/if_feat_check.vim \
3332
ci/if_ver*.vim \
34-
ci/pinned-pkgs \
3533
ci/remove_snap.sh \
3634
ci/setup-weston.sh \
3735
ci/setup-xvfb.sh \
@@ -205,6 +203,8 @@ SRC_ALL = \
205203
src/xxd/xxd.c \
206204
src/testdir/*.in \
207205
src/testdir/*.py \
206+
src/testdir/AGENTS.md \
207+
src/testdir/AGENTS_AREAS.md \
208208
src/testdir/Make_all.mak \
209209
src/testdir/README.txt \
210210
src/testdir/commondumps.vim \

‎ci/ddebs.list‎

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎ci/pinned-pkgs‎

Lines changed: 0 additions & 69 deletions
This file was deleted.

‎runtime/doc/builtin.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.2. Last change: 2026 Nov 23
1+
*builtin.txt* For Vim version 9.2. Last change: 2026 Nov 28
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2811,8 +2811,8 @@ executable({expr}) *executable()*
28112811
can be disabled by setting the
28122812
`$NoDefaultCurrentDirectoryInExePath` environment variable.
28132813
This variable is always set by Vim when executing external
2814-
commands (e.g., via |:!|, |:make|, or |system()|) for security
2815-
reasons.
2814+
commands (e.g., via |:!|, |:make|, |system()|, |job_start()|
2815+
or |term_start()|) for security reasons.
28162816

28172817
The result is a Number:
28182818
1 exists

‎runtime/doc/options.txt‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.2. Last change: 2026 Nov 21
1+
*options.txt* For Vim version 9.2. Last change: 2026 Nov 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -10687,12 +10687,13 @@ A jump table for the options with a short description can be found at |Q_op|.
1068710687
line. If both "noinsert" and "noselect" are present,
1068810688
"noselect" takes precedence.
1068910689
If only one match exists, it is completed fully, unless "noselect" or
10690-
"noinsert" is specified.
10690+
"noinsert" is specified without "longest".
1069110691

1069210692
Some useful combinations of colon-separated values:
1069310693
"longest:full" Start with the longest common string and show
1069410694
'wildmenu' (if enabled). Does not cycle
10695-
through full matches.
10695+
through full matches, "longest:noselect"
10696+
and "longest:noinsert" work the same.
1069610697
"list:full" List all matches and complete first match.
1069710698
"list:longest" List all matches and complete till the longest
1069810699
common prefix.

‎runtime/doc/tags‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4754,6 +4754,7 @@ E1437 eval.txt /*E1437*
47544754
E1438 vim9.txt /*E1438*
47554755
E1439 vim9.txt /*E1439*
47564756
E144 various.txt /*E144*
4757+
E1440 vim9class.txt /*E1440*
47574758
E145 starting.txt /*E145*
47584759
E146 change.txt /*E146*
47594760
E147 repeat.txt /*E147*

0 commit comments

Comments
 (0)