Skip to content

Commit 23ca0a5

Browse files
committed
update download and changelog for v2.079.0-beta.2
1 parent 5ad39fd commit 23ca0a5

File tree

2 files changed

+54
-39
lines changed

2 files changed

+54
-39
lines changed

changelog/2.079.0_pre.dd

Lines changed: 53 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ Ddoc
22

33
$(CHANGELOG_NAV_LAST 2.078.3)
44

5-
$(VERSION Feb 18, 2018, =================================================,
5+
$(VERSION Mar 01, 2018, =================================================,
66

77
$(BUGSTITLE_TEXT_HEADER Compiler changes,
88

99
$(LI $(RELATIVE_LINK2 comma-deprecation-error,The deprecation period of using the result of comma expression has ended))
1010
$(LI $(RELATIVE_LINK2 default_after_variadic,Function parameters with default values are now allowed after variadic template parameters))
1111
$(LI $(RELATIVE_LINK2 deprecate_delete,The `delete` keyword has been deprecated.))
1212
$(LI $(RELATIVE_LINK2 deprecation-dylib,The deprecation period of the `-dylib` flag on OSX has ended. Use `-shared`))
13+
$(LI $(RELATIVE_LINK2 dip1008,Experimental `@nogc` Exception throwing with `-dip1008`))
1314
$(LI $(RELATIVE_LINK2 disabled-trait,A compiler trait used to detect if a function is marked with `@disable` has been added.))
1415
$(LI $(RELATIVE_LINK2 fix17630,Fix Issue 17630 - selective imports find symbols in private imports of other modules))
1516
$(LI $(RELATIVE_LINK2 fix17899,Fix issue 17899 - Allow delegates to be initialised at compile time))
@@ -20,9 +21,9 @@ $(LI $(RELATIVE_LINK2 fix8207,D ABI change on Win32 and OSX targets))
2021
$(LI $(RELATIVE_LINK2 hexstrings,HexString literals are deprecated.))
2122
$(LI $(RELATIVE_LINK2 includeimports,Added the -i command line option to automatically include imports))
2223
$(LI $(RELATIVE_LINK2 json_includes,Added `-Xi=<name>` to include more fields in the JSON output))
23-
$(LI $(RELATIVE_LINK2 lambdacomp,Lambda comparison using __traits(isSame, ...)))
24+
$(LI $(RELATIVE_LINK2 lambdacomp,Lambda comparison using `__traits(isSame, ...)`))
25+
$(LI $(RELATIVE_LINK2 lld_mingw,Windows: Visual C++ and the Windows SDK are no longer required to build 64-bit executables))
2426
$(LI $(RELATIVE_LINK2 minimal_runtime,Using D with no/minimal/custom runtime implementation in a pay-as-you-go fashion))
25-
$(LI $(RELATIVE_LINK2 multi_module_selective_imports,Allow multiple selective imports from different modules in a single import statement))
2627
$(LI $(RELATIVE_LINK2 osx-10_9,macOS deployment target was increased to 10.9))
2728
$(LI $(RELATIVE_LINK2 private,Deprecate the use of selectively imported private members))
2829
$(LI $(RELATIVE_LINK2 ptr-safe-end-of-deprecation,`.ptr` on arrays can no longer be used in `@safe` code))
@@ -32,7 +33,7 @@ $(LI $(RELATIVE_LINK2 ptr-safe-end-of-deprecation,`.ptr` on arrays can no longer
3233
$(BUGSTITLE_TEXT_HEADER Runtime changes,
3334

3435
$(LI $(RELATIVE_LINK2 core-memory-__delete,`core.memory.__delete` has been added))
35-
$(LI $(RELATIVE_LINK2 lazy-gc-init,the garbage collector is now lazily initialized on first use))
36+
$(LI $(RELATIVE_LINK2 lazy-gc-init,The garbage collector is now lazily initialized on first use))
3637

3738
)
3839

@@ -113,7 +114,7 @@ $(P
113114
$(H4 Rationale)
114115
$(P The comma operator leads to unintended behavior (see below for a selection)
115116
Moreover it is not commonly used and it blocks the ability to implement tuples
116-
as a language features using commas.
117+
as a language feature using commas.
117118
)
118119

119120
$(P
@@ -122,8 +123,12 @@ $(P
122123
---
123124
writeln( 6, mixin("7,8"), 9 ); // 6, 8, 9
124125

125-
template vec(T...)(T args) { ... }
126-
vec v = (0, 0, 3); // 3, because vec is variadic
126+
struct Vec
127+
{
128+
this(T...)(T args) { ... }
129+
}
130+
// missing type name
131+
Vec v = (0, 0, 3); // Vec(3)
127132

128133
int a = 0;
129134
int b = 2;
@@ -132,10 +137,10 @@ $(P
132137
}
133138

134139
void foo(int x, int y=0) {}
135-
foo((a, b)); // Oops, foo is called with x=b
140+
foo((a, b)); // Oops, foo(b) is called
136141

137142
synchronized (lockA, lockB) {}
138-
// isn't currently implemented, but still compiles due to the comma operator
143+
// multiple expressions aren't currently implemented, but it compiles due to the comma operator
139144
---
140145
$(P
141146
)
@@ -204,6 +209,23 @@ $(CONSOLE dmd -shared awesome_d_library.d)
204209
)
205210
)
206211

212+
$(LI $(LNAME2 dip1008,Experimental `@nogc` Exception throwing with `-dip1008`)
213+
$(P
214+
[DIP1008](https://github.com/dlang/DIPs/blob/master/DIPs/DIP1008.md) has been merged and it can be previewed under the experimental `-dip1008` flag:
215+
)
216+
217+
---
218+
void main() @nogc
219+
{
220+
throw new Exception("I'm @nogc now");
221+
}
222+
---
223+
224+
$(P
225+
$(CONSOLE rdmd -dip1008 app.d)
226+
)
227+
)
228+
207229
$(LI $(LNAME2 disabled-trait,A compiler trait used to detect if a function is marked with `@disable` has been added.)
208230
$(P
209231
Prior to this release is was impossible to filter out `@disable` functions without
@@ -414,7 +436,7 @@ The option -i by itself is equivalent to:
414436
)
415437

416438
$(P
417-
$(CONSOLE dmd -i=-std,-core,-etc,-object)
439+
$(CONSOLE dmd -i=-std -i=-core -i=-etc -i=-object)
418440
)
419441
)
420442

@@ -480,10 +502,10 @@ $(RED This is an experimental command-line flag and will be stabilized in the ne
480502
)
481503
)
482504

483-
$(LI $(LNAME2 lambdacomp,Lambda comparison using __traits(isSame, ...))
505+
$(LI $(LNAME2 lambdacomp,Lambda comparison using `__traits(isSame, ...)`)
484506
$(P
485507
It is now possible to compare two lambda functions, under certain
486-
constraints, using __traits(isSame, lamda1, lambda2). In order to
508+
constraints, using `__traits(isSame, lamda1, lambda2)`. In order to
487509
correctly compare two lambdas, the following conditions must be
488510
satisfied:
489511
)
@@ -505,12 +527,22 @@ These limitations might be lifted in the next release version.
505527
)
506528

507529
$(P
508-
Whenver a lambda is considered uncomparable, the __traits(isSame, ...) expression
530+
Whenever a lambda is considered uncomparable, the `__traits(isSame, ...)` expression
509531
in which it's used will return false, no matter what other lambda is used in
510532
the comparison.
511533
)
512534
)
513535

536+
$(LI $(LNAME2 lld_mingw,Windows: Visual C++ and the Windows SDK are no longer required to build 64-bit executables)
537+
$(P
538+
The Windows installer now adds platform libraries built from the MinGW definitions and
539+
a wrapper library for the VC2010 shared C runtime. When building COFF object files with
540+
`-m64` or `-m32mscoff` and no Visual Studio installation is detected or
541+
no platform libraries are found these will be used as replacements. If the Microsoft linker
542+
is not found, the LLVM linker LLD will be used.
543+
)
544+
)
545+
514546
$(LI $(LNAME2 minimal_runtime,Using D with no/minimal/custom runtime implementation in a pay-as-you-go fashion)
515547
$(P
516548
$(P DMD has been further decoupled from the runtime so it is now easier and more
@@ -641,30 +673,6 @@ runtime implementation code, but they can be implemented in a pay-as-you-go fash
641673
)
642674
)
643675

644-
$(LI $(LNAME2 multi_module_selective_imports,Allow multiple selective imports from different modules in a single import statement)
645-
$(P
646-
It is now possible to add imports from a different module after a selective
647-
import list, when those import are also selective or when the imported module
648-
has a qualified name.
649-
)
650-
651-
-------
652-
import pkg.mod1 : sym1, mod2 : sym2;
653-
import pkg.mod1 : sym1, sym2, pkg.mod2;
654-
-------
655-
656-
$(P
657-
Unqualified modules or renamed imports following a selective import will be
658-
parsed as part of the selective import list, not as separate modules.
659-
)
660-
661-
-------
662-
import pkg.mod1 : sym1, mod2; // selectively imports mod2 from pkg.mod1
663-
import pkg.mod1 : sym1, name=mod2; // selectively imports mod2 as name from pkg.mod1
664-
import pkg.mod1 : sym1, name=pkg1.mod1; // parsing renamed selective imports fails due to qualfier
665-
-------
666-
)
667-
668676
$(LI $(LNAME2 osx-10_9,macOS deployment target was increased to 10.9)
669677
$(P
670678
The compiler has been updated to use 10.9 and link with `libc++` on OSX.
@@ -770,7 +778,7 @@ would not be a feasible option.
770778
)
771779
)
772780

773-
$(LI $(LNAME2 lazy-gc-init,the garbage collector is now lazily initialized on first use)
781+
$(LI $(LNAME2 lazy-gc-init,The garbage collector is now lazily initialized on first use)
774782
$(P
775783
The runtime now lazily initializes the GC on first use, thus allowing applications that do not use the GC to skip its initialization.
776784
)
@@ -1392,6 +1400,7 @@ $(LI $(BUGZILLA 18093): [Reg 2.071] MSCOFF: dmd crashes when overriding a C++ me
13921400
$(LI $(BUGZILLA 18097): [REG2.077] Unittest function is undefined identifier)
13931401
$(LI $(BUGZILLA 18322): void fun$(LPAREN)string file=__FILE_FULL_PATH__$(RPAREN)$(LPAREN)$(RPAREN) returns relative path $(LPAREN)pointing to nowhere$(RPAREN))
13941402
$(LI $(BUGZILLA 18430): isSame is wrong for non global lambdas)
1403+
$(LI $(BUGZILLA 18469): [REG 2.079-b1] Segfault when trying to get type of __dtor.opCall)
13951404
)
13961405
$(BUGSTITLE_BUGZILLA DMD Compiler bugs,
13971406

@@ -1449,6 +1458,7 @@ $(LI $(BUGZILLA 18316): std.net.curl.SMTP.mailTo fails to compile)
14491458
)
14501459
$(BUGSTITLE_BUGZILLA Phobos bugs,
14511460

1461+
$(LI $(BUGZILLA 7054): format$(LPAREN)$(RPAREN) aligns using code units instead of graphemes)
14521462
$(LI $(BUGZILLA 10879): std.variant Variant/Algebraic: Can't store static arrays > 32$(LPAREN)/16$(RPAREN) bytes)
14531463
$(LI $(BUGZILLA 15157): std.experimental.allocator.building_blocks docs)
14541464
$(LI $(BUGZILLA 15391): Problems loading libcurl.so and running datetime unittest on NixOS package build)
@@ -1511,6 +1521,7 @@ $(LI $(BUGZILLA 14475): man page is outdated)
15111521
$(LI $(BUGZILLA 16490): Usage of attributes in inline asm blocks is not documented)
15121522
$(LI $(BUGZILLA 18306): No compliation errors shown when running modified examples)
15131523
$(LI $(BUGZILLA 18319): std.exception: enforce example does not compile)
1524+
$(LI $(BUGZILLA 18341): Documentation for std.array.split is confusing/incorrect)
15141525
$(LI $(BUGZILLA 18355): [Areas of D usage])
15151526
)
15161527
$(BUGSTITLE_BUGZILLA dlang.org enhancements,
@@ -1521,6 +1532,10 @@ $(LI $(BUGZILLA 18337): https://dlang.org/spec/operatoroverloading.html missing
15211532
$(LI $(BUGZILLA 18379): [404 Not Found] Foundation Donate page not found)
15221533
$(LI $(BUGZILLA 18383): Front page blog section is only partially filled.)
15231534
)
1535+
$(BUGSTITLE_BUGZILLA Installer bugs,
1536+
1537+
$(LI $(BUGZILLA 15131): curl.lib is not available in 32 bit mscoff format)
1538+
)
15241539
)
15251540
$(D_CONTRIBUTORS_HEADER 77)
15261541
$(D_CONTRIBUTORS

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Macros:
207207
_=BETA=$(COMMENT $0)
208208
BETA=$0
209209
B_DMDV2=2.079.0
210-
B_SUFFIX=beta.1
210+
B_SUFFIX=beta.2
211211

212212
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
213213
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)