Skip to content

Commit b8e8f73

Browse files
committed
* updated version identifiers according to http://dlang.org/version.html
* separate link could fail if configuration name contains spaces * goto definition on import now supports package.d * bugzilla 13759: $(VSINSTALLDIR)\Common7\IDE now added to the default executable paths
1 parent 9c37cac commit b8e8f73

File tree

19 files changed

+80
-43
lines changed

19 files changed

+80
-43
lines changed

CHANGES

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,14 @@ unreleased Version 0.3.40
675675
* moved "Other Compiler" option from main project page to compiler page
676676
* added additional options to the resource compiler tool
677677
* added basic support to compile C/C++ files:
678-
* new tool "C/C++" that is also auto-deteted for usual file extensions
678+
* new tool "C/C++" that is also auto-detected for usual file extensions
679679
* common command line options can be specified on the compiler page of the project
680680
* special command line options can be added per file
681681
* $(CC) expands to the compiler executable of the current D compiler: dmc, cl, gcc or clang
682682
* if "Translate D options" is checked, dmd options for -g, -release, -O are translated to
683683
the respective C/C++ compiler option
684+
* updated version identifiers according to http://dlang.org/version.html
685+
* separate link could fail if configuration name contains spaces
686+
* really updated dparser to a6207d6db5e54c68aa4b9db53b702681242d81d5
687+
* goto definition on import now supports package.d
688+
* bugzilla 13759: $(VSINSTALLDIR)\Common7\IDE now added to the default executable paths

TODO

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Debugger:
129129
- local functions/delegates should have debug info for closure vars ("this" exists)
130130
- GDC: x64: function arguments not shown
131131
- VS2012: autoexp.dat does not work? depends on debug engine => edit and continue
132+
- mago64: modules window does not show 64-bit addresses
132133

133134
GUI-Designer:
134135
-------------
@@ -163,4 +164,6 @@ Unsorted
163164
- dustmite support
164165
- dfix support
165166
- configuration of dependent project not read from configuration manager
166-
- jump to assertion error
167+
- jump to assertion error
168+
+ import std.container: jump to package
169+
- renaming configuration does not change project config

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#define VERSION_MINOR 3
33
#define VERSION_REVISION 40
44
#define VERSION_BETA -beta
5-
#define VERSION_BUILD 2
5+
#define VERSION_BUILD 3

stdext/com.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module stdext.com;
1212
import std.utf;
1313
import std.string;
1414
import core.stdc.string;
15+
import core.stdc.wchar_ : wcslen;
1516

1617
import core.memory;
1718

stdext/ddocmacros.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ unittest
222222

223223
string txt = "$(D d-code)";
224224
string[string] macros = [ "D" : "$0", "LINK" : `<a href="$1">$+</a>` ];
225-
string res = ddocExpand(txt, macros);
225+
string res = ddocExpand(txt, macros, true);
226226
version(LOG) writeln(res);
227227
assert(strip(res) == "d-code");
228228

229-
res = ddocExpand("link = $(LINK 1,2, 3,4)", macros);
229+
res = ddocExpand("link = $(LINK 1,2, 3,4)", macros, true);
230230
version(LOG) writeln(res);
231231
assert(strip(res) == `link = <a href="1">2,3,4</a>`);
232232
}

stdext/string.d

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,16 @@ string unquoteArgument(string arg)
7676
return arg[1..$-1];
7777
}
7878

79-
string replaceCrLf(string s)
79+
string replaceCrLfSemi(string s)
8080
{
8181
return replace(replace(s, "\n", ";"), "\r", "");
8282
}
8383

84+
string replaceSemiCrLf(string s)
85+
{
86+
return replace(s, ";", "\r\n");
87+
}
88+
8489
string insertCr(string s)
8590
{
8691
string ns;

vdc/abothe/Parser

Submodule Parser updated 88 files

vdc/abothe/comserver/VDServer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ void _setupEditorData()
357357

358358
_editorData.ParseCache = new ParseCacheView(_imports.Split('\n'));
359359
_editorData.IsDebug = (_flags & 2) != 0;
360-
_editorData.DebugLevel = (int)(_flags >> 16) & 0xff;
361-
_editorData.VersionNumber = (int)(_flags >> 8) & 0xff;
360+
_editorData.DebugLevel = (_flags >> 16) & 0xff;
361+
_editorData.VersionNumber = (_flags >> 8) & 0xff;
362362
_editorData.GlobalVersionIds = versions.Split('\n');
363363
_editorData.GlobalDebugIds = _debugIds.Split('\n');
364364
CompletionOptions.Instance.ShowUFCSItems = (_flags & 0x2000000) != 0;

vdc/semantic.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,12 @@ class Options
10051005
return doDoc ? 1 : -1;
10061006
case "D_NoBoundsChecks":
10071007
return noBoundsCheck ? 1 : -1;
1008+
case "CRuntime_DigitalMars":
10081009
case "Win32":
10091010
case "X86":
10101011
case "D_InlineAsm_X86":
10111012
return x64 ? -1 : 1;
1013+
case "CRuntime_Microsoft":
10121014
case "Win64":
10131015
case "X86_64":
10141016
case "D_InlineAsm_X86_64":

vdc/versions.d

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static @property int[string] sPredefinedVersions()
2323
[
2424
"DigitalMars" : 0,
2525
"GNU" : 0,
26-
"LDC" : -1,
26+
"LDC" : 0,
2727
"SDC" : -1,
2828
"D_NET" : -1,
2929

@@ -53,30 +53,31 @@ static @property int[string] sPredefinedVersions()
5353
"X86_64" : 0,
5454
"ARM" : -1,
5555
"ARM_Thumb" : -1,
56-
"ARM_Soft" : -1,
56+
"ARM_SoftFloat" : -1,
5757
"ARM_SoftFP" : -1,
58-
"ARM_HardFP" : -1,
59-
"ARM64" : -1,
58+
"ARM_HardFloat" : -1,
59+
"AArch64" : -1,
60+
"Epiphany" : -1,
6061
"PPC" : -1,
61-
"PPC_SoftFP" : -1,
62-
"PPC_HardFP" : -1,
62+
"PPC_SoftFloat" : -1,
63+
"PPC_HardFloat" : -1,
6364
"PPC64" : -1,
6465
"IA64" : -1,
65-
"MIPS" : -1,
6666
"MIPS32" : -1,
6767
"MIPS64" : -1,
6868
"MIPS_O32" : -1,
6969
"MIPS_N32" : -1,
7070
"MIPS_O64" : -1,
7171
"MIPS_N64" : -1,
7272
"MIPS_EABI" : -1,
73-
"MIPS_NoFloat" : -1,
7473
"MIPS_SoftFloat" : -1,
7574
"MIPS_HardFloat" : -1,
75+
"NVPTX" : -1,
76+
"NVPTX64" : -1,
7677
"SPARC" : -1,
7778
"SPARC_V8Plus" : -1,
78-
"SPARC_SoftFP" : -1,
79-
"SPARC_HardFP" : -1,
79+
"SPARC_SoftFloat" : -1,
80+
"SPARC_HardFloat" : -1,
8081
"SPARC64" : -1,
8182
"S390" : -1,
8283
"S390X" : -1,
@@ -85,11 +86,18 @@ static @property int[string] sPredefinedVersions()
8586
"SH" : -1,
8687
"SH64" : -1,
8788
"Alpha" : -1,
88-
"Alpha_SoftFP" : -1,
89-
"Alpha_HardFP" : -1,
89+
"Alpha_SoftFloat" : -1,
90+
"Alpha_HardFloat" : -1,
9091

9192
"LittleEndian" : 1,
9293
"BigEndian" : -1,
94+
95+
"ELFv1" : -1,
96+
"ELFv2" : -1,
97+
98+
"CRuntime_DigitalMars" : 0,
99+
"CRuntime_Microsoft" : 0,
100+
"CRuntime_Glibc" : -1,
93101

94102
"D_Coverage" : 0,
95103
"D_Ddoc" : 0,

0 commit comments

Comments
 (0)