Skip to content

Commit 7f1e298

Browse files
authored
Merge pull request #316 from rainers/master
Visual D v1.4.2-beta1
2 parents dc305a5 + 61de634 commit 7f1e298

File tree

21 files changed

+1304
-878
lines changed

21 files changed

+1304
-878
lines changed

CHANGES

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,12 +1439,22 @@ Version history
14391439

14401440
2025-07-03 version 1.4.1-beta4
14411441
* mago:
1442-
- added option to select what type of property functions that can now be implicitly called.
1443-
- fixed calling functions with slices or larger structs
1442+
- added option to select what type of property functions can be implicitly called.
1443+
- fixed calling functions with slices or larger structs as return types
14441444
- improve shortened names in call stack
14451445
- better propagate the raw option modifier (!) to expanded expressions
14461446
- don't fail enumerating child expressions if one fails, show error for this item instead
14471447
* dmdserver: fixed intellisense on TemplateInstance!Argument
14481448

14491449
2025-07-15 version 1.4.1
14501450
* dmdserver: do not display invalid struct size and alignment in tool tip
1451+
1452+
2025-09-03 version 1.4.2-beta1
1453+
* dmdserver: fixed error "module specified twice on command line" for same module name in
1454+
different packages
1455+
* dmdserver: added support for importing C files
1456+
* added command "Reset Language Server" to extension menu
1457+
* issue #313: installer now checks whether VS and the C++ development workloads are installed
1458+
and provides some assistance in installing them
1459+
* dbuild: add file imported from C to the dependencies for rebuilding
1460+
* dbuild: add option to set C include search path and C #defines

VERSION

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

c2d/c2d.visualdproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,9 +1672,9 @@
16721672
<useArrayBounds>0</useArrayBounds>
16731673
<boundscheck>0</boundscheck>
16741674
<useSwitchError>0</useSwitchError>
1675-
<useUnitTests>1</useUnitTests>
1675+
<useUnitTests>0</useUnitTests>
16761676
<useInline>0</useInline>
1677-
<release>0</release>
1677+
<release>1</release>
16781678
<preservePaths>0</preservePaths>
16791679
<warnings>0</warnings>
16801680
<infowarnings>0</infowarnings>

c2d/vsi2d.visualdproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1422,7 +1422,7 @@
14221422
<useSwitchError>0</useSwitchError>
14231423
<useUnitTests>0</useUnitTests>
14241424
<useInline>0</useInline>
1425-
<release>0</release>
1425+
<release>1</release>
14261426
<preservePaths>0</preservePaths>
14271427
<warnings>0</warnings>
14281428
<infowarnings>0</infowarnings>

msbuild/dbuild/CompileD.cs

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ public CompileD()
3737

3838
public bool DoNotLink { get { return opts.DoNotLink; } set { opts.DoNotLink = value; } }
3939
public string CodeGeneration { get { return opts.CodeGeneration; } set { opts.CodeGeneration = value; } }
40-
public string[] ImportPaths { get { return opts.ImportPaths; } set { opts.ImportPaths = value; } }
41-
public string[] StringImportPaths { get { return opts.StringImportPaths; } set { opts.StringImportPaths = value; } }
40+
public string[] ImportPaths { get { return opts.ImportPaths; } set { opts.ImportPaths = value; } }
41+
public string[] ImportCPaths { get { return opts.ImportCPaths; } set { opts.ImportCPaths = value; } }
42+
public string[] StringImportPaths { get { return opts.StringImportPaths; } set { opts.StringImportPaths = value; } }
4243
public string[] VersionIdentifiers { get { return opts.VersionIdentifiers; } set { opts.VersionIdentifiers = value; } }
4344
public string[] DebugIdentifiers { get { return opts.DebugIdentifiers; } set { opts.DebugIdentifiers = value; } }
44-
public string ObjectFileName { get { return opts.ObjectFileName; } set { opts.ObjectFileName = value; } }
45+
public string[] ImportCDefines { get { return opts.ImportCDefines; } set { opts.ImportCDefines = value; } }
46+
public string ObjectFileName { get { return opts.ObjectFileName; } set { opts.ObjectFileName = value; } }
4547
public bool PreserveSourcePath { get { return opts.PreserveSourcePath; } set { opts.PreserveSourcePath = value; } }
4648
public string CRuntimeLibrary { get { return opts.CRuntimeLibrary; } set { opts.CRuntimeLibrary = value; } }
4749
public bool Profile { get { return opts.Profile; } set { opts.Profile = value; } }
@@ -188,12 +190,22 @@ private string TLogPrefix
188190

189191
protected override string[] ReadTLogNames
190192
{
191-
get { return new string[1] { TLogPrefix + ".read.1.tlog" }; }
193+
get {
194+
return new string[2] {
195+
TLogPrefix + ".read.1.tlog",
196+
TLogPrefix + "-cl.read.1.tlog",
197+
};
198+
}
192199
}
193200

194201
protected override string[] WriteTLogNames
195202
{
196-
get { return new string[1] { TLogPrefix + ".write.1.tlog" }; }
203+
get {
204+
return new string[2] {
205+
TLogPrefix + ".write.1.tlog",
206+
TLogPrefix + "-cl.write.1.tlog",
207+
};
208+
}
197209
}
198210

199211
protected override string CommandTLogName

0 commit comments

Comments
 (0)