Skip to content

Commit 1f9f2fb

Browse files
authored
Merge pull request #74 from rainers/master
Version 0.44.2
2 parents dea4849 + 97a7fa8 commit 1f9f2fb

File tree

16 files changed

+152
-86
lines changed

16 files changed

+152
-86
lines changed

CHANGES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,3 +856,11 @@ Version history
856856
2017-03-13 Version 0.44.1
857857

858858
* bugzilla 17252: Fixed bad character inserted into the executable search path default
859+
860+
2017-02-04 Version 0.44.2
861+
862+
* fixed building private phobos with recent dmd
863+
* fixed freeze during semantic analysis
864+
* bugzilla 17254: close and reopen completion box if results added
865+
* fix link to build log: replace spaces with %20
866+
* added VC project integration for VS2017

Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ dbuild14:
160160
dbuild15:
161161
cd msbuild\dbuild && devenv /Build "Release-v15|AnyCPU" /Project "dbuild" dbuild.sln
162162

163+
fake_dbuild15:
164+
if not exist msbuild\dbuild\obj\release-v15\nul md msbuild\dbuild\obj\release-v15
165+
if not exist msbuild\dbuild\obj\release-v15\dbuild.15.0.dll echo dummy >msbuild\dbuild\obj\release-v15\dbuild.15.0.dll
166+
163167
mago:
164168
cd ..\..\mago && devenv /Build "Release|Win32" /Project "MagoNatDE" magodbg_2010.sln
165169
cd ..\..\mago && devenv /Build "Release|x64" /Project "MagoRemote" magodbg_2010.sln
@@ -183,8 +187,12 @@ install: all cpp2d_exe idl2d_exe
183187
cd nsis && "$(NSIS)\makensis" /V1 visuald.nsi
184188
"$(ZIP)" -j ..\downloads\visuald_pdb.zip bin\release\visuald.pdb bin\release\vdserver.pdb
185189

186-
install_vs: prerequisites visuald_vs vdserver cv2pdb dparser vdextension mago dcxxfilt \
187-
dbuild12 dbuild14 install_only
190+
install_vs: install_modules dbuild15 install_only
191+
192+
install_vs_fake_dbuild15: install_modules fake_dbuild15 install_only
193+
194+
install_modules: prerequisites visuald_vs vdserver cv2pdb dparser vdextension mago dcxxfilt \
195+
dbuild12 dbuild14
188196

189197
install_only:
190198
if not exist ..\downloads\nul md ..\downloads

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define VERSION_MAJOR 0
22
#define VERSION_MINOR 44
3-
#define VERSION_REVISION 1
3+
#define VERSION_REVISION 2
44
#define VERSION_BETA
55
#define VERSION_BUILD 0

appveyor.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ environment:
1717
matrix:
1818
- os: Visual Studio 2015
1919
VS: 14
20+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2021
- os: Visual Studio 2013
2122
VS: 12
23+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2224

2325
#matrix:
2426
# allow_failures:
@@ -73,7 +75,8 @@ install:
7375
- reg add "HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\ToolsOptionsPages\Projects\Visual D Settings" /v optlinkDeps /t REG_DWORD /d 0 /reg:32 /f
7476
# Set environment variables
7577
- set PATH=c:\projects\dm\bin;%PATH%
76-
- call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
78+
- if not "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
79+
- if "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
7780
# Print environment info
7881
- set
7982
- msbuild /version
@@ -113,11 +116,14 @@ build_script:
113116
7z x binutils-2.25.tar > $null
114117
- 'if "%VS%"=="12" echo #define snprintf _snprintf >binutils-2.25\config.h'
115118
- 'if "%VS%"=="14" echo // empty >binutils-2.25\config.h'
119+
- 'if "%VS%"=="15" echo // empty >binutils-2.25\config.h'
116120
- set BINUTILS=c:\projects\binutils-2.25
117121
- set DMDINSTALLDIR=c:\projects\dmd2
118122
# build installer
119123
- cd visuald
120-
- nmake install_vs
124+
# debug dbuild15
125+
- if "%VS%"=="15" nmake dbuild15
126+
- if not "%VS%"=="15" nmake install_vs_fake_dbuild15
121127

122128
after_build:
123129
# publish as artifact

doc/StartPage.dd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ $(H2 News)
5454
$(P $(LINK2 VersionHistory.html, Full version history and complete details...)
5555
)
5656

57+
2017-04-02 Version 0.44.1,0.44.2
58+
$(UL
59+
$(LI added VC project integration for VS2017)
60+
$(LI fixed building private phobos with recent dmd)
61+
$(LI fixed freeze during semantic analysis)
62+
$(LI Fixed bad character inserted into the executable search path default)
63+
)
64+
5765
2017-03-12 Version 0.44
5866
$(UL
5967
$(LI $(VDLINK vcxproject, integration) with msbuild and Visual C/C++ projects)

doc/VersionHistory.dd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
Ddoc
22

3+
$(H2 2017-04-02 Version 0.44.2)
4+
$(UL
5+
$(LI fixed building private phobos with recent dmd)
6+
$(LI fixed freeze during semantic analysis)
7+
$(LI bugzilla 17254: close and reopen completion box if results added)
8+
$(LI fix link to build log: replace spaces with %20)
9+
$(LI added VC project integration for VS2017)
10+
)
11+
312
$(H2 2017-03-12 Version 0.44.1)
413
$(UL
514
$(LI bugzilla 17252: Fixed bad character inserted into the executable search path default)

doc/visuald.ddoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 0.44.1
1+
VERSION = 0.44.2
22
ROOT_DIR = http://www.dlang.org/
33
ROOT = http://www.dlang.org
44
BODYCLASS = visuald

msbuild/dbuild/CompileD.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ private void ConstructCommandTLog(ITaskItem[] upToDateSources, DependencyFilter
369369
if (upToDateSources != null)
370370
{
371371
string cmdLine = GenerateCommandLineCommands(VCToolTask.CommandLineFormat.ForTracking
372-
#if TOOLS_V14
372+
#if TOOLS_V14 || TOOLS_V15
373373
, EscapeFormat.Default
374374
#endif
375375
);
@@ -389,12 +389,12 @@ private void ConstructCommandTLog(ITaskItem[] upToDateSources, DependencyFilter
389389
string CommandLine;
390390

391391
protected override string GenerateCommandLineCommands(VCToolTask.CommandLineFormat format
392-
#if TOOLS_V14
392+
#if TOOLS_V14 || TOOLS_V15
393393
, VCToolTask.EscapeFormat escapeFormat
394394
#endif
395395
) {
396396
string str = base.GenerateResponseFileCommands(format
397-
#if TOOLS_V14
397+
#if TOOLS_V14 || TOOLS_V15
398398
, escapeFormat
399399
#endif
400400
);

msbuild/dbuild/dbuild.csproj

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -169,41 +169,41 @@
169169
</ItemGroup>
170170
<ItemGroup Condition=" '$(Configuration)' == 'Release-v15' or '$(Configuration)' == 'Debug-v15' ">
171171
<Reference Include="Microsoft.Build">
172-
<HintPath>$(VS2017Path)MSBuild\15.0\Bin\Microsoft.Build.dll</HintPath>
172+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.dll</HintPath>
173173
</Reference>
174174
<Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
175175
<SpecificVersion>False</SpecificVersion>
176176
<EmbedInteropTypes>True</EmbedInteropTypes>
177-
<HintPath>$(VS2017Path)Common7\IDE\PrivateAssemblies\envdte.dll</HintPath>
177+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PrivateAssemblies\envdte.dll</HintPath>
178178
</Reference>
179-
<Reference Include="Microsoft.Build.CPPTasks.Common, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
179+
<Reference Include="Microsoft.Build.CPPTasks.Common, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
180180
<SpecificVersion>False</SpecificVersion>
181-
<HintPath>$(VS2017Path)Common7\IDE\VC\VCTargets\Microsoft.Build.CPPTasks.Common.dll</HintPath>
181+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Build.CPPTasks.Common.dll</HintPath>
182182
</Reference>
183183
<Reference Include="Microsoft.Build.Framework">
184-
<HintPath>$(VS2017Path)MSBuild\15.0\Bin\Microsoft.Build.Framework.dll</HintPath>
184+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Framework.dll</HintPath>
185185
</Reference>
186-
<Reference Include="Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
186+
<Reference Include="Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
187187
<SpecificVersion>False</SpecificVersion>
188-
<HintPath>$(VS2017Path)MSBuild\15.0\Bin\Microsoft.Build.Tasks.Core.dll</HintPath>
188+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Tasks.Core.dll</HintPath>
189189
</Reference>
190-
<Reference Include="Microsoft.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
190+
<Reference Include="Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
191191
<SpecificVersion>False</SpecificVersion>
192-
<HintPath>$(VS2017Path)MSBuild\15.0\Bin\Microsoft.Build.Utilities.Core.dll</HintPath>
192+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Utilities.Core.dll</HintPath>
193193
</Reference>
194-
<Reference Include="Microsoft.VisualStudio.Project.VisualC.VCProjectEngine, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
194+
<Reference Include="Microsoft.VisualStudio.Project.VisualC.VCProjectEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
195195
<SpecificVersion>False</SpecificVersion>
196-
<HintPath>$(VS2017Path)Common7\IDE\CommonExtensions\Microsoft\VC\Project\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath>
196+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\VC\Project\Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.dll</HintPath>
197197
</Reference>
198-
<Reference Include="Microsoft.VisualStudio.VCProject, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
198+
<Reference Include="Microsoft.VisualStudio.VCProject, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
199199
<SpecificVersion>False</SpecificVersion>
200200
<EmbedInteropTypes>True</EmbedInteropTypes>
201-
<HintPath>$(VS2017Path)Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProject.dll</HintPath>
201+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProject.dll</HintPath>
202202
</Reference>
203-
<Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
203+
<Reference Include="Microsoft.VisualStudio.VCProjectEngine, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
204204
<SpecificVersion>False</SpecificVersion>
205205
<EmbedInteropTypes>True</EmbedInteropTypes>
206-
<HintPath>$(VS2017Path)Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
206+
<HintPath>c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
207207
</Reference>
208208
</ItemGroup>
209209
<ItemGroup>

msbuild/dcompile.targets

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,22 @@
172172

173173
<Target Name="DCompilePatchLinkInput" Condition="'@(DCompile)' != ''">
174174

175+
<!--<Message Text="DCompilePatchLinkInput: PlatformToolsetVersion = $(PlatformToolsetVersion)" Importance="high" /> -->
176+
175177
<ItemGroup Condition="'$(DCompiler)' == 'DMD'">
176178
<Link>
177179
<AdditionalLibraryDirectories Condition="'$(Platform)' == 'Win32'">$(DMDInstallDir)\windows\lib32mscoff;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
178180
<AdditionalLibraryDirectories Condition="'$(Platform)' == 'x64'">$(DMDInstallDir)\windows\lib64;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
179181
<AdditionalDependencies Condition="'$(PlatformToolsetVersion)' == '140'">legacy_stdio_definitions.lib;%(Link.AdditionalDependencies)</AdditionalDependencies>
182+
<AdditionalDependencies Condition="'$(PlatformToolsetVersion)' == '141'">legacy_stdio_definitions.lib;%(Link.AdditionalDependencies)</AdditionalDependencies>
180183
</Link>
181184
</ItemGroup>
182185
<ItemGroup Condition="'$(DCompiler)' == 'LDC'">
183186
<Link>
184187
<AdditionalLibraryDirectories Condition="'$(Platform)' == 'Win32'">$(LDCInstallDir)\lib32;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
185188
<AdditionalLibraryDirectories Condition="'$(Platform)' == 'x64'">$(LDCInstallDir)\lib;%(Link.AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
186189
<AdditionalDependencies Condition="'$(PlatformToolsetVersion)' == '140'">legacy_stdio_definitions.lib;%(Link.AdditionalDependencies)</AdditionalDependencies>
190+
<AdditionalDependencies Condition="'$(PlatformToolsetVersion)' == '141'">legacy_stdio_definitions.lib;%(Link.AdditionalDependencies)</AdditionalDependencies>
187191
</Link>
188192
</ItemGroup>
189193

0 commit comments

Comments
 (0)