Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -1458,3 +1458,13 @@ Version history
and provides some assistance in installing them
* dbuild: add file imported from C to the dependencies for rebuilding
* dbuild: add option to set C include search path and C #defines

2025-09-26 version 1.5.0-beta1
* installer: added support for VS 2026
* dmdserver:
- now built with upcoming dmd 2.112 with improved GC performance
- don't stop analyzing when a static assert is hit
- add option to display server communication in the output pane
- some optimizations to to reduce communication overhead
* fixed WindowsApp template to build with recent DMD

5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ dbuild17_14:
dbuild17_all: dbuild17_0 dbuild17_1 dbuild17_2 dbuild17_3 dbuild17_4 dbuild17_5 dbuild17_6 dbuild17_7 \
dbuild17_8 dbuild17_9 dbuild17_10 dbuild17_11 dbuild17_12 dbuild17_13 dbuild17_14

dbuild18_0:
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v18_0;Platform=AnyCPU /t:Rebuild

dbuild18_all: dbuild18_0

mago:
cd ..\..\mago && devenv /Build "Release|Win32" /Project "MagoNatDE" magodbg_2010.sln
cd ..\..\mago && devenv /Build "Release|x64" /Project "MagoRemote" magodbg_2010.sln
Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 4
#define VERSION_REVISION 2
#define VERSION_MINOR 5
#define VERSION_REVISION 0
#define VERSION_BETA -beta
#define VERSION_BUILD 1
114 changes: 5 additions & 109 deletions build/build.visualdproj

Large diffs are not rendered by default.

53 changes: 52 additions & 1 deletion msbuild/dbuild/dbuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,28 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<TargetVer>17.14</TargetVer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-v18_0|AnyCPU'">
<OutputPath>bin\Release-v18_0\</OutputPath>
<DefineConstants>TRACE;TOOLS_V17</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<TargetVer>18.0</TargetVer>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-v18_0|AnyCPU'">
<OutputPath>bin\Debug-v18_0\</OutputPath>
<DefineConstants>TRACE;DEBUG;TOOLS_V17</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Optimize>false</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<TargetVer>18.0</TargetVer>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
Expand Down Expand Up @@ -493,7 +515,7 @@
or '$(TargetVer)' == '17.4' or '$(TargetVer)' == '17.5' or '$(TargetVer)' == '17.6'
or '$(TargetVer)' == '17.7' or '$(TargetVer)' == '17.8' or '$(TargetVer)' == '17.9'
or '$(TargetVer)' == '17.10' or '$(TargetVer)' == '17.11' or '$(TargetVer)' == '17.12'
or '$(TargetVer)' == '17.13' or '$(TargetVer)' == '17.14'">v4.7.2</TargetFrameworkVersion>
or '$(TargetVer)' == '17.13' or '$(TargetVer)' == '17.14' or '$(TargetVer)' == '18.0'">v4.7.2</TargetFrameworkVersion>
<GeneratePkgDefFile>false</GeneratePkgDefFile>
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
Expand Down Expand Up @@ -832,6 +854,35 @@
<HintPath>assemblies\v17_14\Microsoft.Build.CPPTasks.Common.dll</HintPath>
</Reference>
</ItemGroup>
<!-- VS2026 -->
<ItemGroup Condition="'$(TargetVer)' == '18.0'">
<Reference Include="Microsoft.Build">
<HintPath>assemblies\v18\Microsoft.Build.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Framework">
<HintPath>assemblies\v18\Microsoft.Build.Framework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Tasks.Core">
<HintPath>assemblies\v18\Microsoft.Build.Tasks.Core.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Build.Utilities.Core">
<HintPath>assemblies\v18\Microsoft.Build.Utilities.Core.dll</HintPath>
</Reference>
<Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<HintPath>assemblies\v18\envdte.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.VCProject">
<HintPath>assemblies\v18\Microsoft.VisualStudio.VCProject.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VisualStudio.VCProjectEngine">
<HintPath>assemblies\v18\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup Condition="'$(TargetVer)' == '18.0'">
<Reference Include="Microsoft.Build.CPPTasks.Common">
<HintPath>assemblies\v18\Microsoft.Build.CPPTasks.Common.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Strings.resx">
<SubType>Designer</SubType>
Expand Down
5 changes: 1 addition & 4 deletions msbuild/dcompile.targets
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,7 @@
<DRuntimeLibs Condition="'$(DCompiler)' == 'DMD' and '$(Platform)' == 'Win32'">phobos32mscoff.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(DCompiler)' == 'DMD' and '$(Platform)' == 'x64'">phobos64.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(DCompiler)' == 'LDC'">phobos2-ldc.lib;druntime-ldc.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(PlatformToolsetVersion)' == '140'">$(DRuntimeLibs);legacy_stdio_definitions.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(PlatformToolsetVersion)' == '141'">$(DRuntimeLibs);legacy_stdio_definitions.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(PlatformToolsetVersion)' == '142'">$(DRuntimeLibs);legacy_stdio_definitions.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(PlatformToolsetVersion)' == '143'">$(DRuntimeLibs);legacy_stdio_definitions.lib</DRuntimeLibs>
<DRuntimeLibs Condition="'$(PlatformToolsetVersion)' &gt;= '140'">$(DRuntimeLibs);legacy_stdio_definitions.lib</DRuntimeLibs>

<!-- LDC does not embed reference to C runtime into object files -->
<_CRuntimeLib>@(DCompile->Metadata('CRuntimeLibrary')->Distinct()->ClearMetadata())</_CRuntimeLib>
Expand Down
4 changes: 2 additions & 2 deletions msbuild/dcompile_defaults.props
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<DBuildVersion Condition="$(MSBuildVersion_Major) != 16 and $(MSBuildVersion_Major) != 17">$(MSBuildVersion_Major).0</DBuildVersion>
<DBuildVersion Condition="$(MSBuildVersion_Major) == 16 and $(MSBuildVersion_Minor) == 0">16.0</DBuildVersion>
<DBuildVersion Condition="$(MSBuildVersion_Major) == 16 and $(MSBuildVersion_Minor) != 0">16.1</DBuildVersion>
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &lt; 14">17.$(MSBuildVersion_Minor)</DBuildVersion>
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &gt;= 14">17.14</DBuildVersion>
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &lt;= 14">17.$(MSBuildVersion_Minor)</DBuildVersion>
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &gt; 14">18.0</DBuildVersion><!-- insider only? -->
</PropertyGroup>

<PropertyGroup Condition="'$(DBuildVersion)' == ''">
Expand Down
14 changes: 7 additions & 7 deletions nsis/Extensions_vs15/extension.vsixmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
<Description xml:space="preserve">Extension to provide support for the D programming language</Description>
</Metadata>
<Installation InstalledByMsi="true" AllUsers="true" SystemComponent="false">
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.VSWinExpress" />
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.IntegratedShell" />
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[12.0,18.0)" Id="Microsoft.VisualStudio.Community" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.VSWinExpress" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.IntegratedShell" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[12.0,19.0)" Id="Microsoft.VisualStudio.Community" />
</Installation>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="visuald.pkgdef" />
Expand Down
77 changes: 77 additions & 0 deletions nsis/basedir.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
[Settings]
NumFields=9

[Field 1]
Type=DirRequest
State=DirRequest
Left=10
Right=240
Top=68
Bottom=80

[Field 2]
Type=Label
Text=Both the reference D-compiler
Left=10
Right=108
Top=6
Bottom=14

[Field 3]
Type=Link
Text=DMD
State=https://dlang.org/download.html
Left=108
Right=125
Top=6
Bottom=14

[Field 4]
Type=Label
Text=and the LLVM-based
Left=125
Right=190
Top=6
Bottom=14

[Field 5]
Type=Link
Text=LDC
State=https://wiki.dlang.org/LDC
Left=193
Right=208
Top=6
Bottom=14

[Field 6]
Type=Label
Text=compiler can be installed and kept uptodate.
Left=10
Right=240
Top=16
Bottom=24

[Field 7]
Type=Label
Text=Please specify the folder for these compiler installations.
Left=10
Right=240
Top=40
Bottom=50

[Field 8]
Type=Label
Text=This setting can be changed from within Visual Studio later on the Tools->Options->Projects->Visual D Settings->Updates page.
Left=10
Right=234
Top=84
Bottom=104

[Field 9]
Type=Label
Text=Compiler base folder
Left=10
Right=191
Top=56
Bottom=64

37 changes: 37 additions & 0 deletions nsis/vcinstall.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[Settings]
NumFields=4

[Field 1]
Type=Groupbox
Text=Select Action
Flags=NOTABSTOP
Left=0
Right=300
Top=36
Bottom=136

[Field 2]
Type=RadioButton
Text=Start the the Visual Studio Installer. Please modify the installation to include the "Desktop developemnt with C++" workload including the Windows SDK.
State=1
Left=20
Right=300
Top=48
Bottom=100

[Field 3]
Type=RadioButton
Text=Do nothing (you can install the VC environment later)
State=0
Left=20
Right=300
Top=100
Bottom=128

[Field 4]
Type=Label
Text=Visual D needs the C++ environment of Visual Studio for msbuild integration, but no VC installation was found on your system.
Left=0
Right=300
Top=0
Bottom=36
Loading
Loading