summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-14 21:39:02 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-14 21:39:02 +0100
commit43cb6262141c0a0853680bd8d0433e04db3bf182 (patch)
treea79c7e80c44c99f73a89067b00da83a00622dc4c
parent62dd452d02f4a17f7e9fdfb3656b71bea62e12fe (diff)
patch 8.0.1608: Win32: directx not enabled by defaultv8.0.1608
Problem: Win32: directx not enabled by default. Solution: Change Makefile to enable directx by default. (Ken Takata)
-rw-r--r--runtime/doc/various.txt2
-rw-r--r--src/Make_cyg_ming.mak6
-rw-r--r--src/Make_mvc.mak6
-rw-r--r--src/version.c2
4 files changed, 11 insertions, 5 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 0e1e1ab3e5..4b1c853930 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -352,7 +352,7 @@ N *+dialog_con* Support for |:confirm| with console dialog.
N *+dialog_con_gui* Support for |:confirm| with GUI and console dialog.
N *+diff* |vimdiff| and 'diff'
N *+digraphs* |digraphs| *E196*
-m *+directx* Win32 GUI only: DirectX and |'renderoptions'|
+ *+directx* Win32 GUI only: DirectX and |'renderoptions'|
*+dnd* Support for DnD into the "~ register |quote_~|.
B *+emacs_tags* |emacs-tags| files
N *+eval* expression evaluation |eval.txt|
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index b2a11c1a2f..cefc430b29 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -20,7 +20,7 @@
#
# "make upx" makes *compressed* versions of the 32 bit GUI and console EXEs,
# using the excellent UPX compressor:
-# http://upx.sourceforge.net/
+# https://upx.github.io/
# "make mpress" uses the MPRESS compressor for 32- and 64-bit EXEs:
# http://www.matcode.com/mpress.htm
#
@@ -34,9 +34,9 @@ DEBUG=no
OPTIMIZE=MAXSPEED
# set to yes to make gvim, no for vim
GUI=yes
-# set to yes if you want to use DirectWrite (DirectX)
+# set to no if you do not want to use DirectWrite (DirectX)
# MinGW-w64 is needed, and ARCH should be set to i686 or x86-64.
-DIRECTX=no
+DIRECTX=yes
# FEATURES=[TINY | SMALL | NORMAL | BIG | HUGE]
# Set to TINY to make minimal version (few features).
FEATURES=HUGE
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index 65da331b73..d5159abd9f 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -26,7 +26,7 @@
# GUI interface: GUI=yes (default is no)
#
# GUI with DirectWrite (DirectX): DIRECTX=yes
-# (default is no, requires GUI=yes and MBYTE=yes)
+# (default is yes if GUI=yes, requires GUI=yes and MBYTE=yes)
#
# Color emoji support: COLOR_EMOJI=yes
# (default is yes if DIRECTX=yes, requires WinSDK 8.1 or later.)
@@ -180,6 +180,10 @@
TARGETOS = WINNT
+!ifndef DIRECTX
+DIRECTX = $(GUI)
+!endif
+
# Select one of eight object code directories, depends on GUI, OLE, DEBUG and
# interfaces.
# If you change something else, do "make clean" first!
diff --git a/src/version.c b/src/version.c
index e7e3f493f0..7e12ce75c3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1608,
+/**/
1607,
/**/
1606,