Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
ab0e591
bump version, tweak configurations
rainers Dec 25, 2018
1b66ed4
tweak doc for development deployment
rainers Dec 25, 2018
7467b2d
bugzilla 18889: do not forward tooltip to debugger if hovering compil…
rainers Dec 26, 2018
597a53d
prepare for VS2019
rainers Jan 6, 2019
5c18850
more VS2019, fallback to msbuild from VS2019 only if VS2017 not insta…
rainers Jan 6, 2019
27976bd
vstemplate: add reference to VSSDK.TemplateWizardInterface
rainers Jan 27, 2019
58da177
dbuild: restore old references for appveyor
rainers Jan 27, 2019
4d13fbe
detect VCToolsInstallDir in VS2019 Preview 2
rainers Jan 27, 2019
a0e7d4b
dte_idl.bat: try %WindowsSdkDir%\bin\%WindowsSdkVersion%\x86\iviewers…
rainers Dec 8, 2018
ad9fa06
remove temporary file pkgcmd.cto, build it to intermediate dir
rainers Dec 8, 2018
4cef93b
compile and run/debug: fix getting settings from vcxproj
rainers Jan 19, 2019
14ed08c
save all files with compile (and run/debug/disassemble)
rainers Jan 19, 2019
297034f
add betterC, dip and transisition options, remove -nofloat and -property
rainers Jan 27, 2019
e6789b3
fix building against VS SDK 16.0
rainers Feb 2, 2019
de66ce1
fix deprecation warning regarding "intpromote"
rainers Mar 2, 2019
96a18b4
tweak default colors, especially for dark mode
rainers Mar 3, 2019
84f7203
vcxproj: add transition options
rainers Mar 3, 2019
335aee0
enable precise GC with dmd 2.085
rainers Mar 3, 2019
744d62b
adapt new language options to dmd 2.085, add cpu-architecture and mix…
rainers Mar 12, 2019
3e68e5f
fix Issue 19690 - Installer fails to register MSBuild extensions for …
rainers Mar 13, 2019
2beaace
msbuild: map MSBuild version "current" to "16.0" for the general page…
rainers Mar 16, 2019
fe1f9f1
allow building installer for VS2019
rainers Mar 16, 2019
d12fc6b
dparser: fix stringof property for template instances
rainers Mar 16, 2019
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
27 changes: 27 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -1071,3 +1071,30 @@ Version history
- fix missing line numbers for new versions of mspdb (e.g. 14.16.27012/VS 15.9)
* mago: variables captured from stack of outer function not displayed in locals

unreleased 0.49.0
* installation
- prepare for VS2019: detect installation, build against VS 2019 SDK, Win SDK 10.0.17763.0
* build system
- now parallel compilation supported by VC projects (thanks to Igor Cesi)
- bugzilla 19558: now saves all files with single file compile (and run/debug/disassemble)
- add support for recently added command line options -mixin
- new "Language" configuration page for -betterC, -dipNN and -transition=/-preview=/-revert= options
- visualdproj: remove support for D1 and ancient/removed options -nofloat and -property
- visualdproj: replaced -noboundscheck option with -boundscheck=...
- bugzilla 19558: save all files with compile and run/debug/disassemble
- fix reading options from vcxproj with compile and run/debug/disassemble
- bugzilla 19726: VC project using LDC now adds C runtime to linker dependencies
- bugzilla 19690: installer fails to register MSBuild extensions for Visual Studio Build Tools
* dparser
- catch up with recent language changes:
- contract expressions
- traits can appear everywhere a type can be declared
- allow @UDA for enumerator values
- parse __vector and __parameters in IsExpression, evaluate __vector
- fix parsing character literals with surrogate pairs
- fix tooltips showing storage classes as type constructors
* debugger
- bugzilla 18889: do not forward tooltip to debugger if hovering compile time identifier (type/enum)
* editor
- tweaked default colors to better work with dark mode (restart VS and Visual D twice after switch
between light and dark modes)
44 changes: 32 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@
# update the following variables to match the installation
# paths on your system or pass on the command line to nmake

NSIS = $(PROGRAMFILES)\NSIS
# nmake doesn't like $(ProgramFiles(x86)), so run this with x86 nmake
PROGRAMFILESX86 = c:\Program Files (x86)

NSIS = $(PROGRAMFILESX86)\NSIS
MSBUILD = msbuild
MSBUILD15 = "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild"
MSBUILD15 = "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild"
!IF !EXIST($(MSBUILD15))
MSBUILD15 = "c:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\msbuild"
!ENDIF
CONFIG = Release COFF32

##############################################################
Expand Down Expand Up @@ -61,8 +67,8 @@ dparser_test:

fake_dparser:
if not exist bin\Release\DParserCOMServer\nul md bin\Release\DParserCOMServer
if exist "$(PROGRAMFILES)\VisualD\dparser\dparser\DParserCOMServer.exe" copy "$(PROGRAMFILES)\VisualD\dparser\dparser\DParserCOMServer.exe" bin\Release\DParserCOMServer
if exist "$(PROGRAMFILES)\VisualD\dparser\dparser\D_Parser.dll" copy "$(PROGRAMFILES)\VisualD\dparser\dparser\D_Parser.dll" bin\Release\DParserCOMServer
if exist "$(PROGRAMFILESX86)\VisualD\dparser\dparser\DParserCOMServer.exe" copy "$(PROGRAMFILESX86)\VisualD\dparser\dparser\DParserCOMServer.exe" bin\Release\DParserCOMServer
if exist "$(PROGRAMFILESX86)\VisualD\dparser\dparser\D_Parser.dll" copy "$(PROGRAMFILESX86)\VisualD\dparser\dparser\D_Parser.dll" bin\Release\DParserCOMServer
if not exist bin\Release\DParserCOMServer\DParserCOMServer.exe echo dummy >bin\Release\DParserCOMServer\DParserCOMServer.exe
if not exist bin\Release\DParserCOMServer\D_Parser.dll echo dummy >bin\Release\DParserCOMServer\D_Parser.dll

Expand All @@ -78,7 +84,7 @@ dbuild12:

fake_dbuild12:
if not exist msbuild\dbuild\obj\release\nul md msbuild\dbuild\obj\release
if exist "$(PROGRAMFILES)\VisualD\msbuild\dbuild.12.0.dll" copy "$(PROGRAMFILES)\VisualD\msbuild\dbuild.12.0.dll" msbuild\dbuild\obj\release
if exist "$(PROGRAMFILESX86)\VisualD\msbuild\dbuild.12.0.dll" copy "$(PROGRAMFILESX86)\VisualD\msbuild\dbuild.12.0.dll" msbuild\dbuild\obj\release
if not exist msbuild\dbuild\obj\release\dbuild.12.0.dll echo dummy >msbuild\dbuild\obj\release\dbuild.12.0.dll

dbuild14:
Expand All @@ -87,26 +93,35 @@ dbuild14:

fake_dbuild14:
if not exist msbuild\dbuild\obj\release-v14\nul md msbuild\dbuild\obj\release-v14
if exist "$(PROGRAMFILES)\VisualD\msbuild\dbuild.14.0.dll" copy "$(PROGRAMFILES)\VisualD\msbuild\dbuild.14.0.dll" msbuild\dbuild\obj\release-v14
if exist "$(PROGRAMFILESX86)\VisualD\msbuild\dbuild.14.0.dll" copy "$(PROGRAMFILESX86)\VisualD\msbuild\dbuild.14.0.dll" msbuild\dbuild\obj\release-v14
if not exist msbuild\dbuild\obj\release-v14\dbuild.14.0.dll echo dummy >msbuild\dbuild\obj\release-v14\dbuild.14.0.dll

dbuild15:
cd msbuild\dbuild && devenv /Build "Release-v15|AnyCPU" /Project "dbuild" dbuild.sln

fake_dbuild15:
if not exist msbuild\dbuild\obj\release-v15\nul md msbuild\dbuild\obj\release-v15
if exist "$(PROGRAMFILES)\VisualD\msbuild\dbuild.15.0.dll" copy "$(PROGRAMFILES)\VisualD\msbuild\dbuild.15.0.dll" msbuild\dbuild\obj\release-v15
if exist "$(PROGRAMFILESX86)\VisualD\msbuild\dbuild.15.0.dll" copy "$(PROGRAMFILESX86)\VisualD\msbuild\dbuild.15.0.dll" msbuild\dbuild\obj\release-v15
if not exist msbuild\dbuild\obj\release-v15\dbuild.15.0.dll echo dummy >msbuild\dbuild\obj\release-v15\dbuild.15.0.dll

dbuild16:
cd msbuild\dbuild && devenv /Build "Release-v16|AnyCPU" /Project "dbuild" dbuild.sln


mago:
cd ..\..\mago && devenv /Build "Release|Win32" /Project "MagoNatDE" magodbg_2010.sln
cd ..\..\mago && devenv /Build "Release|x64" /Project "MagoRemote" magodbg_2010.sln
cd ..\..\mago && devenv /Build "Release StaticDE|Win32" /Project "MagoNatCC" magodbg_2010.sln

mago_vs15:
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v140 /target:DebugEngine\MagoNatDE MagoDbg_2010.sln
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=x64;PlatformToolset=v140 /target:DebugEngine\MagoRemote MagoDbg_2010.sln
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=Win32;PlatformToolset=v140" /target:Expression\MagoNatCC MagoDbg_2010.sln
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v141 /target:DebugEngine\MagoNatDE MagoDbg_2010.sln
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=x64;PlatformToolset=v141 /target:DebugEngine\MagoRemote MagoDbg_2010.sln
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=Win32;PlatformToolset=v141" /target:Expression\MagoNatCC MagoDbg_2010.sln

mago_vs16:
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v142 /target:DebugEngine\MagoNatDE MagoDbg_2010.sln
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=x64;PlatformToolset=v142 /target:DebugEngine\MagoRemote MagoDbg_2010.sln
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=Win32;PlatformToolset=v142" /target:Expression\MagoNatCC MagoDbg_2010.sln

cv2pdb:
cd ..\..\cv2pdb\trunk && devenv /Project "cv2pdb" /Build "Release|Win32" src\cv2pdb_vs12.sln
Expand All @@ -118,6 +133,11 @@ cv2pdb_vs15:
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v141 src\dviewhelper\dviewhelper.vcxproj
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v141 src\dumplines.vcxproj

cv2pdb_vs16:
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v142 src\cv2pdb.vcxproj
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v142 src\dviewhelper\dviewhelper.vcxproj
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v142 src\dumplines.vcxproj

dcxxfilt: $(DCXXFILT_EXE)
$(DCXXFILT_EXE): tools\dcxxfilt.d
# no space after Release, it will be part of environment variable
Expand All @@ -126,7 +146,7 @@ $(DCXXFILT_EXE): tools\dcxxfilt.d
##################################
# create installer

install_release_modules: install_modules dparser dparser_test cv2pdb mago dbuild12 dbuild14 dbuild15
install_release_modules: install_modules dparser dparser_test cv2pdb_vs16 mago_vs16 dbuild12 dbuild14 dbuild15

install_vs: install_release_modules install_only

Expand All @@ -138,4 +158,4 @@ install_modules: prerequisites visuald_vs vdserver vdextension visualdwizard dcx

install_only:
if not exist ..\downloads\nul md ..\downloads
cd nsis && "$(NSIS)\makensis" /V1 "/DCONFIG=$(CONFIG)" visuald.nsi
cd nsis && "$(NSIS)\makensis" /V1 "/DCONFIG=$(CONFIG)" $(NSIS_ARGS) visuald.nsi
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<img src="/doc/images/vd_logo.png?format=raw" width="72">
Visual D
============================================================
<img src="/doc/images/vd_logo.png?format=raw" width="72"> Visual D
==================================================================

This is the README file for Visual D, a
Visual Studio package providing both project management and language services
Expand Down
8 changes: 4 additions & 4 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define VERSION_MAJOR 0
#define VERSION_MINOR 48
#define VERSION_REVISION 1
#define VERSION_BETA
#define VERSION_BUILD 0
#define VERSION_MINOR 49
#define VERSION_REVISION 0
#define VERSION_BETA -beta
#define VERSION_BUILD 1
Loading