[八卦] 预览 2.032 changelog

hqs7636 2009-09-03
49 $(VERSION 032, July 7, 2009, =================================================,
50
51     $(WHATSNEW
52     $(LI synchronized member functions now implicitly typed as shared.)
53     $(LI std.algorithm: added minPos)
54     $(LI std.format: added raw specifier for reading)
55     $(LI added File.byChunk)
56     $(LI std.algorithm: added more unittests and checks for user-based comparison passed to topN)
57     $(LI std.math: replaced std.c with core.stdc; improved approxEqual to work with ranges, not only numbers or arrays)
58     $(LI std.range: defined Take.popBack whenever sensible; improved iota to accept negative ranges and steps)
59     $(LI Improved exception message for assert(0) in Windows -release builds)
60     $(LI Added support for:
61 ---
62 a[i].var = e2
63 ---
64     and:
65 ---
66 a[] = e
67 ---
68     in CTFE. $(I (thanks, Don!)))
69     $(LI Member functions can now be used in CTFE)
70     $(LI Operator overloading can now be used in CTFE)
71     $(LI Nested functions can now be used in CTFE)
72     $(LI CTFE error messages now explain why the function could not be
73     interpreted at compile time)
74     )
75     $(BUGSFIXED
76     $(LI $(BUGZILLA 601): statement.html - Formatting/markup errors in BNF)
77     $(LI $(BUGZILLA 1461): Local variable as template alias parameter breaks CTFE)
78     $(LI $(BUGZILLA 1605): break in switch with goto breaks in ctfe)
79     $(LI $(BUGZILLA 1948): CTFE fails when mutating a struct in an array)
80     $(LI $(BUGZILLA 1950): CTFE doesn't work correctly for structs passed by ref)
81     $(LI $(BUGZILLA 1969): ICE(cod1.c) using undefined operator with one const operand)
82     $(LI $(BUGZILLA 1972): Foreach range statement breaks CTFE)
83     $(LI $(BUGZILLA 2277): array ops and const arrays incompatible)
84     $(LI $(BUGZILLA 2398): writef("%x") for a pointer is always uppercase)
85     $(LI $(BUGZILLA 2564): CTFE: the index in a tuple foreach is uninitialized (bogus error))
86     $(LI $(BUGZILLA 2569): static arrays in CTFE functions don't compile)
87     $(LI $(BUGZILLA 2575): gdb can not show code)
88     $(LI $(BUGZILLA 2587): std.process.shell doesn't work for win32)
89     $(LI $(BUGZILLA 2604): DW_TAG_module and GDB)
90     $(LI $(BUGZILLA 2882): std.random.MersenneTwisterEngine without no seed)
91     $(LI $(BUGZILLA 2925): Destructor not called)
92     $(LI $(BUGZILLA 2937): postblit not called for foreach arg over array of structs)
93     $(LI $(BUGZILLA 2940): null is null cannot be evaluated at compile time)
94     $(LI $(BUGZILLA 2987): D2 phobos BigInt opMul doesn't work correctly)
95     $(LI $(BUGZILLA 3000): iota should work with floats)
96     $(LI $(BUGZILLA 3058): [CTFE] Cannot return out of foreach range statement)
97     $(LI $(BUGZILLA 3153): win32.mak tries to copy phobos.lib, gcstub.obj to nonexistent folder lib)
98     $(LI $(BUGZILLA 3162): can't fully use compile-time floats as template parameters)
99     $(LI $(BUGZILLA 3165): What kind of integer division does D use?)
100     $(LI $(BUGZILLA 3166): "positive" -> "non-negative" in modulo operator description)
101     $(LI $(BUGZILLA 3169): Segfault(cast.c) dividing ulong by int)
102     $(LI $(BUGZILLA 3170): Forward reference of nested class fails if outer class is not plain)
103     $(LI $(BUGZILLA 3183): Spec of align attribute needs work)
104     $(LI $(BUGZILLA 3185): osx is not a directory (complains cannot read std/c/osx/socket.d))
105     $(LI $(BUGZILLA 3186): corrections for http://www.digitalmars.com/d/2.0/dmd-osx.html)
106     $(LI $(BUGZILLA 3192): asm in a anonymous delegate crash the compiler)
107     $(LI $(BUGZILLA 3196): Segfault(mtype.c) after almost any error involving a delegate literal)
108     $(LI $(BUGZILLA 3205): CTFE: $ cannot be used in lvalues)
109     $(LI $(BUGZILLA 3212): Error message says "mutable"; should say "immutable")
110     $(LI $(BUGZILLA 3229): No return or assert(0) at end of function)
111     $(LI $(BUGZILLA 3236): Postblit called but no matching destructor)
112     $(LI $(BUGZILLA 3240): std.numeric.findRoot only works with real)
113     $(LI $(BUGZILLA 3246): ICE(init.c) using indexed array initializer on local array)
114     $(LI $(BUGZILLA 3255): final switch broken with -w switch)
115     $(LI $(BUGZILLA 3257): Spec is unclear describing string switch case labels)
116     $(LI $(BUGZILLA 3264): -O causes wrong "used before set" error when using enum.)
117     $(LI Fixed bug processing spaces in dmd's directory)
118     $(LI Fixed assert failure on line 4823 in expression.c)
119     $(LI Fixed OSX compile error on samples/d/dhry.d)
120     $(LI std.format: fixed unlisted bug in documentation)
121     $(LI std.random: uniform does not work when passed immutable data)
122     $(LI std.range: fixed unlisted bug in Take.back)
123     $(LI unlisted: made entropy work on const/immutable arrays)
124     )
125 )


前两天a老大提交了一批更新,新东西不多,基本都是bug修复,估计不会再有大变了吧

2.032 估计快出来了
betty_betty2008 2009-09-03
不是已经出来了吗?
ftp.digitalmars.com
oldrev 2009-09-03
枪版,哈哈
hqs7636 2009-09-03
哈哈,俺是6小时前发的,预告真准
dmd 1.047 and 2.032 releases 是两小时前发的
Global site tag (gtag.js) - Google Analytics