Skip to content

Commit 5cb964b

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents a2960b0 + 1201afb commit 5cb964b

File tree

615 files changed

+20441
-12298
lines changed

Some content is hidden

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

615 files changed

+20441
-12298
lines changed

.github/MAINTAINERS

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ runtime/ftplugin/chatito.vim @ObserverOfTime
136136
runtime/ftplugin/chicken.vim @evhan
137137
runtime/ftplugin/clojure.vim @axvr
138138
runtime/ftplugin/cmakecache.vim @ribru17
139+
runtime/ftplugin/codeowners.vim @jparise
139140
runtime/ftplugin/cook.vim @ribru17
140141
runtime/ftplugin/cs.vim @nickspoons
141142
runtime/ftplugin/csh.vim @dkearns
@@ -187,8 +188,8 @@ runtime/ftplugin/gyp.vim @ObserverOfTime
187188
runtime/ftplugin/haml.vim @tpope
188189
runtime/ftplugin/hare.vim @selenebun
189190
runtime/ftplugin/haredoc.vim @selenebun
190-
runtime/ftplugin/heex.vim @cvincent
191191
runtime/ftplugin/hcl.vim @gpanders
192+
runtime/ftplugin/heex.vim @cvincent
192193
runtime/ftplugin/hgcommit.vim @k-takata
193194
runtime/ftplugin/hlsplaylist.vim @avidseeker
194195
runtime/ftplugin/hog.vim @wtfbbqhax
@@ -205,24 +206,25 @@ runtime/ftplugin/javacc.vim @ribru17
205206
runtime/ftplugin/javascript.vim @dkearns
206207
runtime/ftplugin/javascriptreact.vim @dkearns
207208
runtime/ftplugin/jjdescription.vim @gpanders
209+
runtime/ftplugin/jq.vim @vito-c
208210
runtime/ftplugin/json.vim @dbarnett
209211
runtime/ftplugin/json5.vim @dkearns
210212
runtime/ftplugin/jsonc.vim @izhakjakov
211213
runtime/ftplugin/julia.vim @carlobaldassi
212214
runtime/ftplugin/just.vim @pbnj
213-
runtime/ftplugin/jq.vim @vito-c
214215
runtime/ftplugin/kconfig.vim @chrisbra
215216
runtime/ftplugin/kdl.vim @imsnif @jiangyinzuo
217+
runtime/ftplugin/kerml.vim @daumantas-kavolis-sensmetry
216218
runtime/ftplugin/kivy.vim @ribru17
217219
runtime/ftplugin/kotlin.vim @udalov
220+
runtime/ftplugin/lc.vim @ribru17
218221
runtime/ftplugin/ldapconf.vim @ribru17
219222
runtime/ftplugin/leo.vim @ribru17
220223
runtime/ftplugin/less.vim @genoma
221224
runtime/ftplugin/lex.vim @ribru17
222225
runtime/ftplugin/lf.vim @andis-sprinkis
223226
runtime/ftplugin/liquid.vim @tpope
224227
runtime/ftplugin/lua.vim @dkearns
225-
runtime/ftplugin/lc.vim @ribru17
226228
runtime/ftplugin/lynx.vim @dkearns
227229
runtime/ftplugin/m17ndb.vim @dseomn
228230
runtime/ftplugin/m3build.vim @dkearns
@@ -295,6 +297,7 @@ runtime/ftplugin/sshdconfig.vim @jiangyinzuo
295297
runtime/ftplugin/svelte.vim @igorlfs
296298
runtime/ftplugin/sway.vim @ribru17
297299
runtime/ftplugin/swayconfig.vim @jamespeapen
300+
runtime/ftplugin/sysml.vim @daumantas-kavolis-sensmetry
298301
runtime/ftplugin/systemverilog.vim @Kocha
299302
runtime/ftplugin/swig.vim @jmarrec
300303
runtime/ftplugin/tap.vim @petdance
@@ -456,6 +459,7 @@ runtime/syntax/chatito.vim @ObserverOfTime
456459
runtime/syntax/chicken.vim @evhan
457460
runtime/syntax/chuck.vim @andreacfromtheapp
458461
runtime/syntax/clojure.vim @axvr
462+
runtime/syntax/codeowners.vim @jparise
459463
runtime/syntax/cs.vim @nickspoons
460464
runtime/syntax/csv.vim @habamax
461465
runtime/syntax/cucumber.vim @tpope
@@ -536,16 +540,18 @@ runtime/syntax/just.vim @pbnj
536540
runtime/syntax/jq.vim @vito-c
537541
runtime/syntax/karel.vim @kirillmorozov
538542
runtime/syntax/kconfig.vim @chrisbra
543+
runtime/syntax/kitty.vim @OXY2DEV
539544
runtime/syntax/kivy.vim @prophittcorey
540545
runtime/syntax/kotlin.vim @udalov
541546
runtime/syntax/kdl.vim @imsnif @jiangyinzuo
542547
runtime/syntax/krl.vim @KnoP-01
543548
runtime/syntax/less.vim @genoma
544549
runtime/syntax/lf.vim @andis-sprinkis
545550
runtime/syntax/liquid.vim @tpope
551+
runtime/syntax/log.vim @mao-yining
546552
runtime/syntax/lua.vim @marcuscf
547-
runtime/syntax/lyrics.vim @ObserverOfTime
548553
runtime/syntax/lynx.vim @dkearns
554+
runtime/syntax/lyrics.vim @ObserverOfTime
549555
runtime/syntax/m17ndb.vim @dseomn
550556
runtime/syntax/m3build.vim @dkearns
551557
runtime/syntax/m3quake.vim @dkearns
@@ -581,6 +587,7 @@ runtime/syntax/pbtxt.vim @lakshayg
581587
runtime/syntax/pdf.vim @tpope
582588
runtime/syntax/perl.vim @petdance
583589
runtime/syntax/php.vim @TysonAndre
590+
runtime/syntax/pkl.vim @jclsn
584591
runtime/syntax/plsql.vim @lee-lindley
585592
runtime/syntax/pod.vim @petdance
586593
runtime/syntax/poefilter.vim @ObserverOfTime
@@ -666,7 +673,6 @@ runtime/syntax/zsh.vim @chrisbra
666673
runtime/tutor/tutor1.eo @dpelle
667674
runtime/tutor/tutor1.fr @dpelle
668675
runtime/tutor/tutor1.ru @RestorerZ
669-
runtime/tutor/tutor2.fr @dlejay
670676
src/iscygpty.* @k-takata
671677
src/libvterm/ @leonerd
672678
src/po/ca.po @nfdisco
@@ -683,4 +689,7 @@ src/po/ru.po @RestorerZ
683689
src/po/sr.po @eevan78
684690
src/po/tr.po @bitigchi
685691
src/po/uk.po @sakhnik
692+
src/proto/gen_prototypes.py @h-east
686693
src/xxd/ @jnweiger
694+
695+
# vim:ft=codeowners

.github/labeler.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ if_perl:
4545
- changed-files:
4646
- any-glob-to-any-file:
4747
- 'src/if_perl.xs'
48-
- 'src/if_perlsfio.c'
4948
- 'src/proto/if_perl.pro'
50-
- 'src/proto/if_perlsfio.pro'
5149
- 'runtime/doc/if_perl.txt'
5250

5351
if_python:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ src/objects
1111
src/po/big5corr
1212
src/po/sjiscorr
1313
src/types.vim
14+
src/tmp_make
1415

1516
# We do need src/auto/configure.
1617
src/auto/config.cache

Filelist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ SRC_ALL = \
251251
src/testdir/viewdumps.vim \
252252
src/proto.h \
253253
src/protodef.h \
254+
src/proto/gen_prototypes.py \
254255
src/proto/alloc.pro \
255256
src/proto/arabic.pro \
256257
src/proto/arglist.pro \
@@ -537,6 +538,7 @@ SRC_UNIX = \
537538
src/vimtutor \
538539
src/gvimtutor \
539540
src/wayland.c \
541+
src/wayland.h \
540542
src/which.sh \
541543
src/gen-wayland-protocols.sh \
542544
src/xxd/Makefile \
@@ -549,7 +551,6 @@ SRC_DOS_UNIX = \
549551
src/if_mzsch.c \
550552
src/if_mzsch.h \
551553
src/if_perl.xs \
552-
src/if_perlsfio.c \
553554
src/if_python.c \
554555
src/if_python3.c \
555556
src/if_py_both.h \
@@ -560,7 +561,6 @@ SRC_DOS_UNIX = \
560561
src/proto/if_lua.pro \
561562
src/proto/if_mzsch.pro \
562563
src/proto/if_perl.pro \
563-
src/proto/if_perlsfio.pro \
564564
src/proto/if_python.pro \
565565
src/proto/if_python3.pro \
566566
src/proto/if_ruby.pro \
@@ -638,8 +638,8 @@ SRC_DOS = \
638638
src/tee/tee.c \
639639
src/xxd/Make_ming.mak \
640640
src/xxd/Make_mvc.mak \
641+
nsis/auxiliary.nsh \
641642
nsis/gvim.nsi \
642-
nsis/gvim_version.nsh \
643643
nsis/Makefile \
644644
nsis/Make_mvc.mak \
645645
nsis/README.txt \

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ MINOR = 1
105105
# - Update Vim version number. For a test version in: src/version.h,
106106
# READMEdir/Contents, MAJOR/MINOR above, VIMMAJOR and VIMMINOR in
107107
# src/Makefile, README.txt, README.md, src/README.md, READMEdir/README*.txt,
108-
# runtime/doc/*.txt and make nsis/gvim_version.nsh.
108+
# runtime/doc/*.txt.
109109
# For a minor/major version: src/GvimExt/GvimExt.reg, src/vim.manifest.
110110
# - Compile Vim with GTK, Perl, Python, Python3, TCL, Ruby, Lua, Cscope and
111111
# "huge" features. Add MZscheme if you can make it work.
@@ -410,7 +410,7 @@ amisrc: dist prepare
410410
mv dist/vim$(VERSION)src.tar.gz dist/vim$(VERSION)src.tgz
411411

412412
# MS-DOS sources
413-
dossrc: dist dist/$(COMMENT_SRC) license nsis/gvim_version.nsh
413+
dossrc: dist dist/$(COMMENT_SRC) license
414414
-rm -rf dist/vim$(VERSION)src.zip
415415
-rm -rf dist/vim
416416
mkdir dist/vim
@@ -423,7 +423,6 @@ dossrc: dist dist/$(COMMENT_SRC) license nsis/gvim_version.nsh
423423
$(SRC_DOS_UNIX) \
424424
lang/LICENSE.*.txt \
425425
lang/README.*.txt \
426-
nsis/gvim_version.nsh \
427426
| (cd dist/vim/$(VIMRTDIR); tar xf -)
428427
mv dist/vim/$(VIMRTDIR)/runtime/* dist/vim/$(VIMRTDIR)
429428
rmdir dist/vim/$(VIMRTDIR)/runtime
@@ -432,9 +431,6 @@ dossrc: dist dist/$(COMMENT_SRC) license nsis/gvim_version.nsh
432431
license:
433432
cd nsis && $(MAKE) -f Makefile $@
434433

435-
nsis/gvim_version.nsh: Makefile
436-
cd nsis && $(MAKE) -f Makefile $(@F)
437-
438434
dosrt: dist dist/$(COMMENT_RT) dosrt_files
439435
-rm -rf dist/vim$(VERSION)rt.zip
440436
cd dist && zip -9 -rD -z vim$(VERSION)rt.zip vim <$(COMMENT_RT)

ci/hlgroups.ignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Pmenu
3333
PmenuSbar
3434
PmenuSel
3535
PmenuThumb
36+
PmenuShadow
3637
Question
3738
Scrollbar
3839
Search
@@ -51,6 +52,8 @@ TabLineFill
5152
TabLineSel
5253
Terminal
5354
Title
55+
TitleBar
56+
TitleBarNC
5457
TOhtmlProgress
5558
TOhtml-progress-color
5659
ToolbarButton

nsis/Make_mvc.mak

Lines changed: 3 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,12 @@
11
#
22
# Makefile for MS Windows for create self-installing exe of Vim.
3-
# 2024‐04-05, Restorer, restorer@mail2k.ru
3+
# 2025-10-03, Restorer, restorer@mail2k.ru
44
#
55

66

77
# included common tools
88
!INCLUDE ..\src\auto\nmake\tools.mak
99

10-
# Read MAJOR and MINOR from version.h.
11-
!IFNDEF MAJOR
12-
! IF ![for /F "tokens=3" %G in \
13-
('findstr /RC:"VIM_VERSION_MAJOR[ ^]*[0-9^]" ..\src\version.h') \
14-
do @(echo:MAJOR=%G>> .\_major.tmp)]
15-
! INCLUDE .\_major.tmp
16-
! IF [$(RM) .\_major.tmp]
17-
! ENDIF
18-
! ELSE
19-
MAJOR = 9
20-
! ENDIF
21-
!ENDIF
22-
23-
!IFNDEF MINOR
24-
! IF ![for /F "tokens=3" %G in \
25-
('findstr /RC:"VIM_VERSION_MINOR[ ^]*[0-9^]" ..\src\version.h') \
26-
do @(echo:MINOR=%G>> .\_minor.tmp)]
27-
! INCLUDE .\_minor.tmp
28-
! IF [$(RM) .\_minor.tmp]
29-
! ENDIF
30-
! ELSE
31-
MINOR = 1
32-
! ENDIF
33-
!ENDIF
34-
35-
# Read PATCHLEVEL from version.c
36-
!IFNDEF PATCHLEVEL
37-
! IF ![for /F %G in \
38-
('findstr /NBLC:"static int included_patches" ..\src\version.c \
39-
^| (set /p "_t=" ^& set /a _t+=2 ^)') do \
40-
@$(CMD) $(CMDFLAGS) "for /F "skip=%G delims=, " %H in \
41-
(..\src\version.c) do (echo:PATCHLEVEL=%H> .\_patchlvl.tmp & exit /b)"]
42-
! INCLUDE .\_patchlvl.tmp
43-
! IF [$(RM) .\_patchlvl.tmp]
44-
! ENDIF
45-
! ELSE
46-
PATCHLEVEL = 0
47-
! ENDIF
48-
!ENDIF
49-
50-
!IF $(PATCHLEVEL) < 10
51-
PATCHLEVEL = 000$(PATCHLEVEL)
52-
!ELSEIF $(PATCHLEVEL) < 100
53-
PATCHLEVEL = 00$(PATCHLEVEL)
54-
!ELSEIF $(PATCHLEVEL) < 1000
55-
PATCHLEVEL = 0$(PATCHLEVEL)
56-
!ENDIF
57-
5810
.SUFFIXES :
5911

6012
!IFDEF PROGRAMW6432
@@ -119,23 +71,13 @@ all : makeinst
11971
makeinst : prepare
12072
^"$(MKNSIS)" $(MKNSISFLAGS) gvim.nsi $(XX)
12173

122-
prepare : unzipicons gvim_version.nsh license rename
74+
prepare : unzipicons license rename
12375

12476
unzipicons : icons.zip
12577
@ if exist %|fF\nul $(RD) %|fF
12678
@ $(PS) $(PSFLAGS) \
12779
Add-Type -AssemblyName 'System.IO.Compression.FileSystem'; \
128-
[System.IO.Compression.ZipFile]::ExtractToDirectory(\"$**\", \
129-
\".\")
130-
131-
gvim_version.nsh : Make_mvc.mak
132-
@ 1> $@ echo:^# Generated from Makefile: define the version numbers
133-
@ 1>> $@ echo:^!ifndef __GVIM_VER__NSH__
134-
@ 1>> $@ echo:^!define __GVIM_VER__NSH__
135-
@ 1>> $@ echo:^!define VER_MAJOR $(MAJOR)
136-
@ 1>> $@ echo:^!define VER_MINOR $(MINOR)
137-
@ 1>> $@ echo:^!define PATCHLEVEL $(PATCHLEVEL)
138-
@ 1>> $@ echo:^!endif
80+
[System.IO.Compression.ZipFile]::ExtractToDirectory('$**', '.')
13981

14082
license : ..\lang\LICENSE.*.txt ..\LICENSE
14183
!@ $(PS) $(PSFLAGS) \
@@ -146,7 +88,6 @@ rename :
14688
@ ..\tools\rename.bat "$(SRC)" "$(DST)" 1> nul
14789

14890
clean :
149-
@ if exist .\gvim_version.nsh $(RM) .\gvim_version.nsh
15091
@ if exist ..\lang\LICENSE*.nsis.txt $(RM) ..\lang\LICENSE*.nsis.txt
15192
@ if exist .\icons\nul $(RD) .\icons
15293
@ if exist .\gvim??.exe $(RM) .\gvim??.exe

nsis/Makefile

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Makefile for UNIX-like for create self-installing exe of Vim.
3-
# 15/12/2024, Restorer restorer@mail2k.ru
3+
# 2025-10-03, Restorer, restorer@mail2k.ru
44
#
55

66

@@ -51,35 +51,19 @@ ifdef X
5151
XX := -X"$(X:;=" -X")"
5252
endif
5353

54-
MAJOR != grep -E 'VIM_VERSION_MAJOR\s{2,}' ../src/version.h | \
55-
awk '{ printf "%d",$$3 }'
56-
MINOR != grep -E 'VIM_VERSION_MINOR\s{2,}' ../src/version.h | \
57-
awk '{ printf "%d",$$3 }'
58-
PATCH != awk '/number below this line/,/,/' ../src/version.c | \
59-
awk 'NR == 3 { printf "%04d",$$1 }' | sed -e 's/[ ,]//g'
60-
6154
MKNSISFLAGS := -INPUTCHARSET UTF8 $(MKNSISFLAGS)
6255

6356
all: makeinst
6457

6558
makeinst: prepare
6659
makensis $(MKNSISFLAGS) gvim.nsi $(XX)
6760

68-
prepare: unzipicons gvim_version.nsh license rename
61+
prepare: unzipicons license rename
6962

7063
unzipicons: icons.zip
7164
if test -d `basename $? .zip` ; then rm -rf `basename $? .zip` ; fi
7265
unzip $?
7366

74-
gvim_version.nsh: Makefile
75-
echo "# Generated from Makefile: define the version numbers" > $@
76-
echo "!ifndef __GVIM_VER__NSH__" >> $@
77-
echo "!define __GVIM_VER__NSH__" >> $@
78-
echo "!define VER_MAJOR $(MAJOR)" >> $@
79-
echo "!define VER_MINOR $(MINOR)" >> $@
80-
echo "!define PATCHLEVEL $(PATCH)" >> $@
81-
echo "!endif" >> $@
82-
8367
license: ../lang/LICENSE.*.txt ../LICENSE
8468
for lic in $? ; do \
8569
bn=`basename $$lic .txt` ; \
@@ -91,7 +75,6 @@ rename:
9175
../tools/rename.bat "$(SRC)" "$(DST)"
9276

9377
clean:
94-
if test -f gvim_version.nsh ; then rm -f gvim_version.nsh ; fi
9578
rm -f ../lang/LICENSE*.nsis.txt
9679
if test -d icons ; then rm -rf icons ; fi
9780
if test -f gvim??.exe ; then rm -f gvim??.exe ; fi

nsis/README.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@ Variables and their values available for building the installer (not mandatory):
108108
Example "X=OutFile MyVim.exe;XPMode on"
109109
"MKNSIS=<dir>" — the directory where the "makensis.exe" program is
110110
located.
111+
112+
Note: for icons used in the installer, see the README.txt in the icons.zip

0 commit comments

Comments
 (0)