Skip to content

Commit e67848f

Browse files
authored
Merge pull request #137 from rainers/master
Visual D 1.3.0
2 parents 4dd4836 + a7b129e commit e67848f

File tree

16 files changed

+204
-100
lines changed

16 files changed

+204
-100
lines changed

CHANGES

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,10 +1322,15 @@ Version history
13221322
* installer:
13231323
- full installer now bundled with DMD 2.098.1 and LDC 1.28.1
13241324

1325-
unreleased version 1.3.0
1326-
* dmdserver updated to frontend of DMD 2.099.1-beta
1327-
* full installer now bundled with DMD 2.099.1 and LDC 1.28.1
1328-
* bugzilla 22747: D files in VC projects failed to build, added separate versions of
1325+
2022-06-05 version 1.3.0
1326+
* dmdserver updated to frontend of DMD 2.100.0
1327+
* full installer now bundled with DMD 2.100.0 and LDC 1.29.0
1328+
* bugzilla 22747: D files in VC projects failed to build in VS 2022, added separate versions of
13291329
Microsoft.Build.CPPTasks.Common for 17.0, 17.1 and 17.2.
13301330
* bugzilla 22764: now searches the 32-bit registry hive for install paths of DMD and LDC
1331-
* cv2pdb 0.51: added DWARF support for non-contiguous functions.
1331+
* bugzilla 23069: mago crashing when debugging VARIANT data type in VS 2022
1332+
* bugzilla 23043: project templates missing in VS 2022 until configuration manually updated
1333+
* semantic analysis: without a project loaded, a D file is now analized using the compile options
1334+
of "Compile and Run" with an import path derived from the module declaration.
1335+
* visualdproj: exit code printed for failed commands
1336+
* cv2pdb 0.52: improved DWARF support for non-contiguous functions, bug fixes

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define VERSION_MAJOR 1
22
#define VERSION_MINOR 3
33
#define VERSION_REVISION 0
4-
#define VERSION_BETA -rc
5-
#define VERSION_BUILD 1
4+
#define VERSION_BETA
5+
#define VERSION_BUILD 0

doc/StartPage.dd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ $(H2 News)
8585
$(P $(LINK2 VersionHistory.html, Full version history and complete details...)
8686
)
8787

88+
2022-06-05 Version 1.3.0
89+
$(UL
90+
$(LI dmdserver updated to frontend of DMD 2.100.0)
91+
$(LI fixed support VC-Project integration for VS 2022 17.0 and 17.2)
92+
$(LI full installer now bundled with DMD 2.100.0 and LDC 1.29.0)
93+
)
94+
8895
2022-01-15 Version 1.2.0
8996
$(UL
9097
$(LI added support for VS 2022)
@@ -98,13 +105,6 @@ $(P $(LINK2 VersionHistory.html, Full version history and complete details...)
98105
$(LI full installer now bundled with DMD 2.096.1 and LDC 1.25.1)
99106
)
100107

101-
2021-03-02 Version 1.1.0
102-
$(UL
103-
$(LI semantic engine updated to frontend of DMD 2.095.1)
104-
$(LI experimental: show parameter storage ref/out/lazy at call site)
105-
$(LI integrated dfmt for "Format Document")
106-
)
107-
108108
$(LINK2 VersionHistory.html, more...)
109109

110110
$(H2 Download)

doc/VersionHistory.dd

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

3+
$(H2 2022-06-05 Version 1.3.0)
4+
$(UL
5+
$(LI dmdserver updated to frontend of DMD 2.100.0)
6+
$(LI full installer now bundled with DMD 2.100.0 and LDC 1.29.0)
7+
$(LI bugzilla 22747: D files in VC projects failed to build in VS 2022, added separate versions of
8+
Microsoft.Build.CPPTasks.Common for 17.0, 17.1 and 17.2.)
9+
$(LI bugzilla 22764: now searches the 32-bit registry hive for install paths of DMD and LDC)
10+
$(LI bugzilla 23069: mago crashing when debugging VARIANT data type in VS 2022)
11+
$(LI bugzilla 23043: project templates missing in VS 2022 until configuration manually updated)
12+
$(LI semantic analysis: without a project loaded, a D file is now analized using the compile options)
13+
$(LI of "Compile and Run" with an import path derived from the module declaration.)
14+
$(LI visualdproj: exit code printed for failed commands)
15+
$(LI cv2pdb 0.52: improved DWARF support for non-contiguous functions, bug fixes)
16+
)
17+
318
$(H2 2022-01-15 Version 1.2.0)
419
$(UL
520
$(LI added support for VS 2022)

doc/visuald.ddoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
VERSION = 1.2.0
2-
DMD_VERSION = 2.098.1
3-
LDC_VERSION = 1.28.1
1+
VERSION = 1.3.0
2+
DMD_VERSION = 2.100.0
3+
LDC_VERSION = 1.29.0
44
ROOT_DIR = https://www.dlang.org/
55
ROOT = https://www.dlang.org
66
BODYCLASS = visuald

nsis/visuald.nsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929

3030
; define DMD source path to include dmd installation
3131
; !define DMD
32-
!define DMD_VERSION "2.099.0"
32+
!define DMD_VERSION "2.100.0"
3333
!define DMD_SRC c:\d\dmd-${DMD_VERSION}
3434

3535
; define LDC to include ldc installation
3636
; !define LDC
37-
!define LDC_VERSION "1.28.1"
37+
!define LDC_VERSION "1.29.0"
3838
!define LDC_SRC c:\d\ldc2-${LDC_VERSION}-windows-multilib
3939

4040
; define VS2019 to include VS2019 support
@@ -681,7 +681,7 @@ ${MementoSection} "Install in VS 2022" SecVS2022
681681
${File} ..\nsis\Extensions\ vdlogo.ico
682682
${AddItem} "$1${EXTENSION_DIR}"
683683

684-
GetFullPathName /SHORT $0 $INSTDIR
684+
GetFullPathName $0 $INSTDIR
685685
!insertmacro ReplaceInFile "$1${EXTENSION_DIR}\extension.vsixmanifest" "VDINSTALLPATH" "$0" NoBackup
686686
!insertmacro ReplaceInFile "$1${EXTENSION_DIR}\extension.vsixmanifest" "VSVERSION" "16" NoBackup
687687
!insertmacro ReplaceInFile "$1${EXTENSION_DIR}\extension.vsixmanifest" "VDVERSION" "${VERSION_MAJOR}.${VERSION_MINOR}" NoBackup

stdext/com.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class ComObject : IUnknown
6464
return p;
6565
}
6666

67-
extern (System):
67+
extern (Windows):
6868
override HRESULT QueryInterface(in IID* riid, void** ppv)
6969
{
7070
if (*riid == IID_IUnknown)

vdc/dmdserver/dmd

Submodule dmd updated 958 files

vdc/dmdserver/dmdinit.d

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ void dmdSetupParams(const ref Options opts)
298298
case "-preview=intpromote": global.params.fix16997 = true; break;
299299
case "-preview=dtorfields": global.params.dtorFields = FeatureState.enabled; break;
300300
case "-preview=markdown": global.params.markdown = true; break;
301-
case "-preview=rvaluerefparam": global.params.rvalueRefParam = true; break;
301+
case "-preview=rvaluerefparam": global.params.rvalueRefParam = FeatureState.enabled; break;
302302
case "-preview=nosharedaccess": global.params.noSharedAccess = true; break;
303303
case "-preview=fixAliasThis": global.params.fixAliasThis = true; break;
304304
case "-preview=in": global.params.previewIn = true; break;
@@ -422,6 +422,12 @@ void addDefaultVersionIdentifiers(const ref Param params)
422422
VersionCondition.addPredefinedGlobalIdent("unittest");
423423
if (params.useAssert == CHECKENABLE.on)
424424
VersionCondition.addPredefinedGlobalIdent("assert");
425+
if (params.useIn == CHECKENABLE.on)
426+
VersionCondition.addPredefinedGlobalIdent("D_PreConditions");
427+
if (params.useOut == CHECKENABLE.on)
428+
VersionCondition.addPredefinedGlobalIdent("D_PostConditions");
429+
if (params.useInvariants == CHECKENABLE.on)
430+
VersionCondition.addPredefinedGlobalIdent("D_Invariants");
425431
if (params.useArrayBounds == CHECKENABLE.off)
426432
VersionCondition.addPredefinedGlobalIdent("D_NoBoundsChecks");
427433
if (params.betterC)
@@ -436,6 +442,9 @@ void addDefaultVersionIdentifiers(const ref Param params)
436442
}
437443

438444
VersionCondition.addPredefinedGlobalIdent("D_HardFloat");
445+
446+
if (params.tracegc)
447+
VersionCondition.addPredefinedGlobalIdent("D_ProfileGC");
439448
}
440449

441450
/**
@@ -490,6 +499,7 @@ void addPredefinedGlobalIdentifiers(const ref Target tgt)
490499
case 10: predef("FreeBSD_10"); break;
491500
case 11: predef("FreeBSD_11"); break;
492501
case 12: predef("FreeBSD_12"); break;
502+
case 13: predef("FreeBSD_13"); break;
493503
default: predef("FreeBSD_11"); break;
494504
}
495505
break;

vdc/dmdserver/dmdserver.visualdproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1870,6 +1870,7 @@
18701870
<File path="dmd\src\dmd\link.d" tool="None" />
18711871
<File path="dmd\src\dmd\mars.d" tool="None" />
18721872
<File path="dmd\src\dmd\mtype.d" />
1873+
<File path="dmd\src\dmd\mustuse.d" />
18731874
<File path="dmd\src\dmd\nogc.d" />
18741875
<File path="dmd\src\dmd\nspace.d" />
18751876
<File path="dmd\src\dmd\ob.d" />

0 commit comments

Comments
 (0)