Skip to content

Commit 9aa913f

Browse files
committed
update download and changelog for v2.082.0-beta.2
1 parent c25c166 commit 9aa913f

File tree

2 files changed

+34
-12
lines changed

2 files changed

+34
-12
lines changed

changelog/2.082.0_pre.dd

Lines changed: 33 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Sep 01, 2018, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 27 major changes and 66 fixed Bugzilla issues.
9-
A huge thanks goes to the 47 contributors who made $(VER) possible.)
8+
$(VER) comes with 28 major changes and 68 fixed Bugzilla issues.
9+
A huge thanks goes to the 48 contributors who made $(VER) possible.)
1010

1111
$(BUGSTITLE_TEXT_HEADER Compiler changes,
1212

@@ -20,7 +20,7 @@ $(LI $(RELATIVE_LINK2 error_for_c-style_arrays,Deprecated C-style array declarat
2020
$(LI $(RELATIVE_LINK2 fix19043,Mangling of extern(C++) template on Windows now correctly mangles const non-pointer template parameters.))
2121
$(LI $(RELATIVE_LINK2 objc_offsetof_tupleof,`.offsetof` and `.tupleof` for fields of Objective-C classes have now been disabled))
2222
$(LI $(RELATIVE_LINK2 osx64_long_cppmangling,64-bit OS X: Revert C++ mangling of `long` to pre-2.079 to restore `size_t` interop))
23-
$(LI $(RELATIVE_LINK2 uda-function-arguments,UDAs on function arguments are now supported))
23+
$(LI $(RELATIVE_LINK2 uda-function-parameters,UDAs on function parameters are now supported))
2424

2525
)
2626

@@ -36,6 +36,7 @@ $(LI $(RELATIVE_LINK2 utsname_version,core.sys.posix.utsname.update renamed to v
3636
$(BUGSTITLE_TEXT_HEADER Library changes,
3737

3838
$(LI $(RELATIVE_LINK2 math_float_double_implementations,Single- and double-precision implementations for (a)tan and exp function families))
39+
$(LI $(RELATIVE_LINK2 std-algorithm-iteration-each-early-stopping,`std.algorithm.iteration.each` is now capable of early-stopping))
3940
$(LI $(RELATIVE_LINK2 std-algorithm-iteration-joiner,`std.algorithm.iteration.joiner` can now be used for bidirectional ranges))
4041
$(LI $(RELATIVE_LINK2 std-algorithm-searching-skipOver,`std.algorithm.searching.skipOver` can now handle variadic arguments))
4142
$(LI $(RELATIVE_LINK2 std-array-asStatic,Added `staticArray` to construct a static array from array / input range. Includes a length-inferring compile-time variant.))
@@ -323,21 +324,22 @@ With new/fixed aliases, e.g., $(REF int64_t, core, stdc, stdint),
323324
$(REF uint64_t, core, stdc, stdint) and $(REF cpp_size_t, core, stdc, config), there are
324325
now proper tools for portable C++ interop wrt. integers.
325326
Reverting to the previous C++ mangling on 64-bit OS X (C++ `long`) may save mixed D/C++
326-
code bases from the need of manual adaptations by skipping the 2.079 and 2.080 DMD
327-
versions.
327+
code bases from the need of manual adaptations by skipping the 2.079-2.081 DMD versions.
328328
)
329329
)
330330

331-
$(LI $(LNAME2 uda-function-arguments,UDAs on function arguments are now supported)
332-
$(CHANGELOG_SOURCE_FILE dmd, changelog/uda-function-arguments.dd)
331+
$(LI $(LNAME2 uda-function-parameters,UDAs on function parameters are now supported)
332+
$(CHANGELOG_SOURCE_FILE dmd, changelog/uda-function-parameters.dd)
333333
$(P
334-
User-defined attributes on function arguments behave analogous to existing UDAs:
334+
User-defined attributes on function parameters behave analogous to existing UDAs:
335335
)
336336

337337
---
338-
void test(A)(@(22) A a)
338+
void example(@(22) string param)
339339
{
340-
static assert([__traits(getAttributes, a)] == [22]);
340+
@(11) string var;
341+
static assert([__traits(getAttributes, var)] == [11]);
342+
static assert([__traits(getAttributes, param)] == [22]);
341343
}
342344
---
343345
)
@@ -487,6 +489,23 @@ precision, you'll have to cast the argument(s) explicitly now.
487489
)
488490
)
489491

492+
$(LI $(LNAME2 std-algorithm-iteration-each-early-stopping,`std.algorithm.iteration.each` is now capable of early-stopping)
493+
$(CHANGELOG_SOURCE_FILE phobos, changelog/std-algorithm-iteration-each-early-stopping.dd)
494+
$(P
495+
$(REF each, std,algorithm,iteration) is now capable of exiting early.
496+
When a `No.each` $(REF Flag, std,typecons) is returned from the function that
497+
is called by `each`, the iteration will be aborted early.
498+
Analogously, returning `Yes.each` will continue the iteration.
499+
For example:
500+
)
501+
502+
---
503+
auto arr = [10, 20, 30];
504+
arr.each!((n) { arr ~= n; return (n == 20) ? No.each : Yes.each; }); // aborts after the second iteration
505+
assert(arr == [10, 20, 30, 10, 20]);
506+
---
507+
)
508+
490509
$(LI $(LNAME2 std-algorithm-iteration-joiner,`std.algorithm.iteration.joiner` can now be used for bidirectional ranges)
491510
$(CHANGELOG_SOURCE_FILE phobos, changelog/std-algorithm-iteration-joiner.dd)
492511
$(P
@@ -731,6 +750,7 @@ $(LI $(BUGZILLA 19074): [REG 2.080] SIGSEGV in el_ptr $(LPAREN)s=0x15$(RPAREN) a
731750
$(LI $(BUGZILLA 19076): dmd 2.081 crashed by getVirtualFunctions for a interface extended interface)
732751
$(LI $(BUGZILLA 19140): [REG master] AssertError@dmd/ctfeexpr.d$(LPAREN)229$(RPAREN): Assertion failure)
733752
$(LI $(BUGZILLA 19152): 2.081.1 getOverloads regression compiler bug)
753+
$(LI $(BUGZILLA 19162): [REG: 2.079.0] Public Import Overlapping Names Conflict Resolution)
734754
)
735755
$(BUGSTITLE_BUGZILLA DMD Compiler bugs,
736756

@@ -747,6 +767,7 @@ $(LI $(BUGZILLA 19053): debug should escape @safe)
747767
$(LI $(BUGZILLA 19059): Invalid integer literal 08 and 09 allowed)
748768
$(LI $(BUGZILLA 19107): -de produces compilation error, -dw does not)
749769
$(LI $(BUGZILLA 19112): Associative array opIn with static array key fails with dynamic array)
770+
$(LI $(BUGZILLA 19176): Dmd crashes because of __traits$(LPAREN)getUnitTests$(RPAREN))
750771
)
751772
$(BUGSTITLE_BUGZILLA DMD Compiler enhancements,
752773

@@ -821,7 +842,7 @@ $(LI $(BUGZILLA 10941): object.d not found when following Mac installation instr
821842
$(LI $(BUGZILLA 19100): install.sh signature verification fails, no public key)
822843
)
823844
)
824-
$(D_CONTRIBUTORS_HEADER 47)
845+
$(D_CONTRIBUTORS_HEADER 48)
825846
$(D_CONTRIBUTORS
826847
$(D_CONTRIBUTOR aG0aep6G)
827848
$(D_CONTRIBUTOR Alexibu)
@@ -847,6 +868,7 @@ $(D_CONTRIBUTORS
847868
$(D_CONTRIBUTOR John Colvin)
848869
$(D_CONTRIBUTOR Jonathan M Davis)
849870
$(D_CONTRIBUTOR kinke)
871+
$(D_CONTRIBUTOR look-at-me)
850872
$(D_CONTRIBUTOR Martin Nowak)
851873
$(D_CONTRIBUTOR Mathias Lang)
852874
$(D_CONTRIBUTOR Mathis Beer)

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Macros:
213213
_=BETA=$(COMMENT $0)
214214
BETA=$0
215215
B_DMDV2=2.082.0
216-
B_SUFFIX=beta.1
216+
B_SUFFIX=beta.2
217217

218218
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
219219
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)