Skip to content

Commit ac2ffe9

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 47f76cb + 43cb626 commit ac2ffe9

10 files changed

Lines changed: 27 additions & 13 deletions

File tree

runtime/doc/starting.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,11 +510,12 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
510510
{not in Vi}
511511

512512
*--clean*
513-
--clean Equal to "-u DEFAULTS -i NONE":
513+
--clean Equal to "-u DEFAULTS -U NONE -i NONE":
514514
- initializations from files and environment variables is
515515
skipped
516516
- the |defaults.vim| script is loaded, which implies
517517
'nocompatible': use Vim defaults
518+
- no |gvimrc| script is loaded
518519
- no viminfo file is read or written
519520
- the home directory is excluded from 'runtimepath'
520521
*-x*

runtime/doc/various.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ N *+dialog_con* Support for |:confirm| with console dialog.
352352
N *+dialog_con_gui* Support for |:confirm| with GUI and console dialog.
353353
N *+diff* |vimdiff| and 'diff'
354354
N *+digraphs* |digraphs| *E196*
355-
m *+directx* Win32 GUI only: DirectX and |'renderoptions'|
355+
*+directx* Win32 GUI only: DirectX and |'renderoptions'|
356356
*+dnd* Support for DnD into the "~ register |quote_~|.
357357
B *+emacs_tags* |emacs-tags| files
358358
N *+eval* expression evaluation |eval.txt|

src/Make_cyg_ming.mak

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#
2121
# "make upx" makes *compressed* versions of the 32 bit GUI and console EXEs,
2222
# using the excellent UPX compressor:
23-
# http://upx.sourceforge.net/
23+
# https://upx.github.io/
2424
# "make mpress" uses the MPRESS compressor for 32- and 64-bit EXEs:
2525
# http://www.matcode.com/mpress.htm
2626
#
@@ -34,9 +34,9 @@ DEBUG=no
3434
OPTIMIZE=MAXSPEED
3535
# set to yes to make gvim, no for vim
3636
GUI=yes
37-
# set to yes if you want to use DirectWrite (DirectX)
37+
# set to no if you do not want to use DirectWrite (DirectX)
3838
# MinGW-w64 is needed, and ARCH should be set to i686 or x86-64.
39-
DIRECTX=no
39+
DIRECTX=yes
4040
# FEATURES=[TINY | SMALL | NORMAL | BIG | HUGE]
4141
# Set to TINY to make minimal version (few features).
4242
FEATURES=HUGE

src/Make_mvc.mak

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# GUI interface: GUI=yes (default is no)
2727
#
2828
# GUI with DirectWrite (DirectX): DIRECTX=yes
29-
# (default is no, requires GUI=yes and MBYTE=yes)
29+
# (default is yes if GUI=yes, requires GUI=yes and MBYTE=yes)
3030
#
3131
# Color emoji support: COLOR_EMOJI=yes
3232
# (default is yes if DIRECTX=yes, requires WinSDK 8.1 or later.)
@@ -180,6 +180,10 @@
180180

181181
TARGETOS = WINNT
182182

183+
!ifndef DIRECTX
184+
DIRECTX = $(GUI)
185+
!endif
186+
183187
# Select one of eight object code directories, depends on GUI, OLE, DEBUG and
184188
# interfaces.
185189
# If you change something else, do "make clean" first!

src/main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,6 +1959,9 @@ command_line_scan(mparm_T *parmp)
19591959
else if (STRNICMP(argv[0] + argv_idx, "clean", 5) == 0)
19601960
{
19611961
parmp->use_vimrc = (char_u *)"DEFAULTS";
1962+
#ifdef FEAT_GUI
1963+
use_gvimrc = (char_u *)"NONE";
1964+
#endif
19621965
parmp->clean = TRUE;
19631966
set_option_value((char_u *)"vif", 0L, (char_u *)"NONE", 0);
19641967
}

src/po/Make_cyg.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ all: $(MOFILES)
128128

129129
first_time:
130130
$(XGETTEXT) --default-domain=$(LANGUAGE) \
131-
--add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
131+
--add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
132132

133133
$(LANGUAGES):
134134
$(XGETTEXT) --default-domain=$(PACKAGE) \
135-
--add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
135+
--add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
136136
$(MV) $(PACKAGE).po $(PACKAGE).pot
137137
$(CP) $@.po $@.po.orig
138138
$(MV) $@.po $@.po.old

src/po/Make_ming.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ all: $(MOFILES)
137137

138138
first_time:
139139
$(XGETTEXT) --default-domain=$(LANGUAGE) \
140-
--add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
140+
--add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
141141

142142
$(LANGUAGES):
143143
$(XGETTEXT) --default-domain=$(PACKAGE) \
144-
--add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
144+
--add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 $(wildcard ../*.c) ../if_perl.xs ../GvimExt/gvimext.cpp $(wildcard ../globals.h) ../if_py_both.h
145145
$(MV) $(PACKAGE).po $(PACKAGE).pot
146146
$(CP) $@.po $@.po.orig
147147
$(MV) $@.po $@.po.old

src/po/Make_mvc.mak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ files:
122122
first_time: files
123123
set OLD_PO_FILE_INPUT=yes
124124
set OLD_PO_FILE_OUTPUT=yes
125-
$(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --files-from=.\files
125+
$(XGETTEXT) --default-domain=$(LANGUAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files
126126

127127
$(LANGUAGES): files
128128
set OLD_PO_FILE_INPUT=yes
129129
set OLD_PO_FILE_OUTPUT=yes
130-
$(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --files-from=.\files
130+
$(XGETTEXT) --default-domain=$(PACKAGE) --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --files-from=.\files
131131
$(MV) $(PACKAGE).po $(PACKAGE).pot
132132
$(CP) $@.po $@.po.orig
133133
$(MV) $@.po $@.po.old

src/po/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ checkclean:
283283

284284
$(PACKAGE).pot: ../*.c ../if_perl.xs ../GvimExt/gvimext.cpp ../globals.h ../if_py_both.h
285285
cd ..; $(XGETTEXT) --default-domain=$(PACKAGE) \
286-
--add-comments --keyword=_ --keyword=N_ \
286+
--add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 \
287287
*.c if_perl.xs GvimExt/gvimext.cpp globals.h if_py_both.h
288288
mv -f ../$(PACKAGE).po $(PACKAGE).pot
289289

src/version.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,12 @@ static char *(features[]) =
781781

782782
static int included_patches[] =
783783
{ /* Add new patch number below this line */
784+
/**/
785+
1608,
786+
/**/
787+
1607,
788+
/**/
789+
1606,
784790
/**/
785791
1605,
786792
/**/

0 commit comments

Comments
 (0)