Skip to content

Commit

Permalink
Merge pull request #130 from rainers/master
Browse files Browse the repository at this point in the history
Visual D version 1.1.0-beta1
  • Loading branch information
rainers committed Dec 27, 2020
2 parents bcca198 + 77513e8 commit 52c6df7
Show file tree
Hide file tree
Showing 33 changed files with 1,054 additions and 142 deletions.
11 changes: 10 additions & 1 deletion CHANGES
Expand Up @@ -1280,4 +1280,13 @@ Version history
* mago debugger expression evaluator:
- fixed wrong values displayed eventually when switching stack frames
* installer:
- full installer now bundled with DMD 2.091.1 and LDC 1.23.0
- full installer now bundled with DMD 2.093.1 and LDC 1.23.0

unreleased version 1.1.0
* dmdserver:
- updated to DMD 2.095.0-beta.1
- experimental: show parameter storage ref/out/lazy at call site
* editor:
- bugzilla 21239: navigation bar now sorted, symbols starting with "__" moved to the bottom
* installer:
- full installer now bundled with DMD 2.095.0-beta.1 and LDC 1.24.0
8 changes: 4 additions & 4 deletions VERSION
@@ -1,5 +1,5 @@
#define VERSION_MAJOR 1
#define VERSION_MINOR 0
#define VERSION_REVISION 1
#define VERSION_BETA
#define VERSION_BUILD 0
#define VERSION_MINOR 1
#define VERSION_REVISION 0
#define VERSION_BETA -beta
#define VERSION_BUILD 1
2 changes: 2 additions & 0 deletions c2d/idl2d.d
Expand Up @@ -1628,6 +1628,8 @@ version(none) version(vsi)

if(currentModule == "msdbg")
replaceTokenSequence(tokens, "const DWORD S_UNKNOWN = 0x3;", "denum DWORD S_UNKNOWN = 0x3;", true);
if(currentModule == "msdbg167")
replaceTokenSequence(tokens, "__uuidof($data)", "$data.iid", true);
if(currentModule == "activdbg")
replaceTokenSequence(tokens, "const THREAD_STATE", "denum THREAD_STATE", true);

Expand Down
17 changes: 1 addition & 16 deletions c2d/vsi2d.visualdproj
Expand Up @@ -40,7 +40,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -164,7 +163,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -288,7 +286,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -412,7 +409,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -536,7 +532,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -660,7 +655,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -784,7 +778,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -908,7 +901,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1032,7 +1024,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1156,7 +1147,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1280,7 +1270,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1404,7 +1393,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1528,7 +1516,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1652,7 +1639,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1776,7 +1762,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1900,7 +1885,6 @@
<preservePaths>0</preservePaths>
<warnings>0</warnings>
<infowarnings>0</infowarnings>
<checkProperty>0</checkProperty>
<genStackFrame>0</genStackFrame>
<pic>0</pic>
<cov>0</cov>
Expand Down Expand Up @@ -1986,6 +1970,7 @@
</Config>
<Folder name="vsi2d">
<Folder name="stdext">
<File path="..\stdext\array.d" />
<File path="..\stdext\file.d" />
<File path="..\stdext\path.d" />
<File path="..\stdext\string.d" />
Expand Down
32 changes: 8 additions & 24 deletions doc/StartPage.dd
Expand Up @@ -84,6 +84,13 @@ $(H2 News)
$(P $(LINK2 VersionHistory.html, Full version history and complete details...)
)

2020-08-23 Version 1.0.1
$(UL
$(LI dmd based semantic engine: updated to DMD 2.093.1)
$(LI editor: now extra mouse buttons to navigate backward/forward supported)
$(LI installer: full installer now bundled with DMD 2.093.1 and LDC 1.23.0)
)

2020-07-04 Version 1.0.0
$(UL
$(LI DMD based semantic engine: enabled by default, updated to front end version 2.092)
Expand All @@ -92,36 +99,13 @@ $(UL
$(LI goto definition by clicking identifier in tool tip)
)

2020-23-03 Version 0.52.0
2020-03-23 Version 0.52.0
$(UL
$(LI mago: added support for tuples and simpler display of globals)
$(LI DMD based semantic engine: updated to 2.091, improvements to code-completions)
$(LI projects: updated support for all language options)
)

2020-18-01 Version 0.51.0
$(UL
$(LI experimental: semantic server built from DMD frontend)
$(LI VS2017+: Ctrl+Click goto definition added)
$(LI VS2017+: syntax highlighted tool tips)
)

2019-09-03 Version 0.50.1
$(UL
$(LI Fixes some integration issues with VS 2019 16.2)
$(LI mago: improve function call in watch window)
$(LI better version highlighting for files not in project)
)

2019-06-23 Version 0.50.0
$(UL
$(LI Now checks for updates of Visual D, DMD and LDC and assists download and install)
$(LI Setup including DMD and LDC now available)
$(LI mago debugger: better support for dynamic type of classes, show exception messages,
conditional breakpoints)
$(LI highlight references to symbol at caret)
)

$(LINK2 VersionHistory.html, more...)

$(H2 Download)
Expand Down
17 changes: 17 additions & 0 deletions doc/VersionHistory.dd
@@ -1,5 +1,22 @@
Ddoc

$(H2 2020-08-23 Version 1.0.1)
$(UL
$(LI dmd based semantic engine:
$(UL
$(LI updated to DMD 2.093.1)
$(LI fixed showing documentation for template functions)
))
$(LI editor: now extra mouse buttons to navigate backward/forward supported)
$(LI project management:
$(UL
$(LI bugzilla 21024: VS2017/2019 new project: fixed unrelated files listed in New Project Dialog)
$(LI bugzilla 21028: project templates not visible when VS started as standard/restricted user)
))
$(LI mago debugger expression evaluator: fixed wrong values displayed eventually when switching stack frames)
$(LI installer: full installer now bundled with DMD 2.093.1 and LDC 1.23.0)
)

$(H2 2020-07-04 Version 1.0.0)
$(UL
$(LI project management:
Expand Down
6 changes: 3 additions & 3 deletions doc/visuald.ddoc
@@ -1,6 +1,6 @@
VERSION = 1.0.0
DMD_VERSION = 2.092.1
LDC_VERSION = 1.22.0
VERSION = 1.0.1
DMD_VERSION = 2.093.1
LDC_VERSION = 1.23.0
ROOT_DIR = https://www.dlang.org/
ROOT = https://www.dlang.org
BODYCLASS = visuald
Expand Down
7 changes: 1 addition & 6 deletions msbuild/dbuild/dbuild.csproj
Expand Up @@ -106,6 +106,7 @@
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<PlatformTarget>AnyCPU</PlatformTarget>
<TargetVer>12.0</TargetVer>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down Expand Up @@ -161,7 +162,6 @@
<Reference Include="System.Xaml" />
<Reference Include="System.XML" />
</ItemGroup>

<!-- VS2013 -->
<ItemGroup Condition="'$(TargetVer)' == '12.0' and Exists('assemblies\v12\Microsoft.Build.dll')">
<Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down Expand Up @@ -225,7 +225,6 @@
<HintPath>c:\Windows\assembly\GAC\Microsoft.VisualStudio.VCProjectEngine\12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
</Reference>
</ItemGroup>

<!-- VS2015 -->
<ItemGroup Condition="'$(TargetVer)' == '14.0' and Exists('assemblies\v14\Microsoft.Build.dll')">
<Reference Include="envdte, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Expand Down Expand Up @@ -291,7 +290,6 @@
<HintPath>c:\Windows\assembly\GAC\Microsoft.VisualStudio.VCProjectEngine\14.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
</Reference>
</ItemGroup>

<!-- VS2017 -->
<PropertyGroup>
<VS2017Ver Condition="Exists('assemblies\v15')">Local</VS2017Ver>
Expand Down Expand Up @@ -333,7 +331,6 @@
<HintPath Condition="'$(VS2017Ver)' == 'Community'">c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\PublicAssemblies\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
</Reference>
</ItemGroup>

<!-- VS2019 -->
<ItemGroup Condition="'$(TargetVer)' == '16.0' or '$(TargetVer)' == '16.1'">
<Reference Include="Microsoft.Build">
Expand All @@ -358,7 +355,6 @@
<HintPath>assemblies\v16\Microsoft.VisualStudio.VCProjectEngine.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup Condition="'$(TargetVer)' == '16.0'">
<Reference Include="Microsoft.Build.CPPTasks.Common">
<HintPath>assemblies\v16\Microsoft.Build.CPPTasks.Common.dll</HintPath>
Expand All @@ -369,7 +365,6 @@
<HintPath>assemblies\v16_1\Microsoft.Build.CPPTasks.Common.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Include="Strings.resx">
<SubType>Designer</SubType>
Expand Down
4 changes: 2 additions & 2 deletions nsis/visuald.nsi
Expand Up @@ -29,12 +29,12 @@

; define DMD source path to include dmd installation
; !define DMD
!define DMD_VERSION "2.093.1"
!define DMD_VERSION "2.095.0-beta.1"
!define DMD_SRC c:\d\dmd-${DMD_VERSION}

; define LDC to include ldc installation
; !define LDC
!define LDC_VERSION "1.23.0"
!define LDC_VERSION "1.24.0"
!define LDC_SRC c:\d\ldc2-${LDC_VERSION}-windows-multilib

; define VS2019 to include VS2019 support
Expand Down
3 changes: 3 additions & 0 deletions sdk/vsi.visualdproj
Expand Up @@ -2186,6 +2186,8 @@
<File path="vsi\msdbg164.d" />
<File path="vsi\msdbg165.d" />
<File path="vsi\msdbg166.d" />
<File path="vsi\msdbg167.d" />
<File path="vsi\msdbg168.d" />
<File path="vsi\msdbg90.d" />
<File path="vsi\objext.d" />
<File path="vsi\ocdesign.d" />
Expand Down Expand Up @@ -2254,6 +2256,7 @@
<File path="vsi\vsshell164.d" />
<File path="vsi\vsshell165.d" />
<File path="vsi\vsshell166.d" />
<File path="vsi\vsshell167.d" />
<File path="vsi\vsshell2.d" />
<File path="vsi\vsshell80.d" />
<File path="vsi\vsshell90.d" />
Expand Down
1 change: 1 addition & 0 deletions vdc/abothe/comserver/DParserCOMServer.csproj
Expand Up @@ -25,6 +25,7 @@
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
1 change: 1 addition & 0 deletions vdc/abothe/comserver/IVDServer.cs
Expand Up @@ -38,6 +38,7 @@ public interface IVDServer
void GetReferencesResult (out string stringList);
void ConfigureCommentTasks (string tasks);
void GetCommentTasks (string filename, out string tasks);
void GetParameterStorageLocs(string filename, out object locs); // array of triplets of DWORD
}
}

Expand Down
7 changes: 6 additions & 1 deletion vdc/abothe/comserver/VDServer.cs
Expand Up @@ -341,7 +341,12 @@ public void GetReferencesResult(out string stringList)
break;
}
}


public void GetParameterStorageLocs(string filename, out object locs)
{
throw new NotImplementedException();
}

#if false
[EditorBrowsable(EditorBrowsableState.Never)]
[ComRegisterFunction()]
Expand Down
2 changes: 1 addition & 1 deletion vdc/dmdserver/dmd
Submodule dmd updated 912 files

0 comments on commit 52c6df7

Please sign in to comment.