diff -uNr dmd-0.163/dmd/html/d/arrays.html dmd-0.164/dmd/html/d/arrays.html --- dmd-0.163/dmd/html/d/arrays.html 2006-07-13 00:33:00.000000000 +0200 +++ dmd-0.164/dmd/html/d/arrays.html 2006-08-09 15:40:40.000000000 +0200 @@ -32,7 +32,7 @@ -
int[4] foo; int[] bar = foo; @@ -456,6 +457,7 @@ bar[] bar[0 .. 4] bar[0 .. length] +bar[0 .. $] bar[0 .. bar.length] p[0 .. length] // 'length' is not defined, since p is not an array diff -uNr dmd-0.163/dmd/html/d/changelog.html dmd-0.164/dmd/html/d/changelog.html --- dmd-0.163/dmd/html/d/changelog.html 2006-07-18 01:39:22.000000000 +0200 +++ dmd-0.164/dmd/html/d/changelog.html 2006-08-11 12:40:10.000000000 +0200 @@ -32,7 +32,7 @@ -+Last update Tue Jul 18 01:39:20 2006 +@@ -183,6 +183,8 @@Last update Fri Aug 11 12:40:08 2006+
- What's new for D 0.164
+- What's new for D 0.163
- What's new for D 0.162
@@ -243,6 +245,43 @@
++ What's New for + D 0.164 +
+ + +Aug 11, 2006 + +New/Changed Features
+ ++ +
- Added DDOC_COMMENT macro to Ddoc.
+Bugs Fixed
+ ++ +
- Added a couple needed publics to std.thread per Dave Fladebo
+- Fixed D.bugs/7923
+- Fixed D.bugs/7928
+- Fixed D.bugs/8028
+- Fixed dstress mangleof_16_A
+- Fixed dstress bug_cgcod_1667_A
+- Fixed dstress bug_type_308_B
+- Fixed Bugzilla 256 (revised documentation to reflect intended behavior)
+- Fixed Bugzilla 262 (added suggested documentation)
+- Fixed Bugzilla 264 (made static import with bind list illegal)
+- Fixed Bugzilla 269
+- Fixed Bugzilla 270
+- Fixed Bugzilla 272
+- Fixed Bugzilla 273
+- Fixed Bugzilla 274
+- Fixed Bugzilla 276
+- Fixed Bugzilla 278
+- Fixed Bugzilla 279
+
+What's New for D 0.163 @@ -263,26 +302,16 @@
Bugs Fixed
@@ -305,48 +334,28 @@
- Added documentation per Stewart Gordon's suggestion D/21572
. -- Fixed Bugzilla 232 -
-- Fixed Bugzilla 236 -
-- Fixed Bugzilla 239 -
-- Fixed Bugzilla 240 -
-- Fixed Bugzilla 241 -
-- Fixed Bugzilla 246 -
-- Fixed Bugzilla 247 -
-- Fixed Bugzilla 248 -
-- Fixed Bugzilla 249 -
-- Fixed Bugzilla 250 -
+- Fixed Bugzilla 232
+- Fixed Bugzilla 236
+- Fixed Bugzilla 239
+- Fixed Bugzilla 240
+- Fixed Bugzilla 241
+- Fixed Bugzilla 246
+- Fixed Bugzilla 247
+- Fixed Bugzilla 248
+- Fixed Bugzilla 249
+- Fixed Bugzilla 250
- Private module members now inaccessible from other modules.
- Fixed D.bugs/7620
- Fixed D.bugs/7627
- Fixed D.bugs/7630
-- Fixed Bugzilla 125 -
-- Fixed Bugzilla 135 -
-- Fixed Bugzilla 138 -
-- Fixed Bugzilla 145 -
-- Fixed Bugzilla 147 -
-- Fixed Bugzilla 154 -
-- Fixed Bugzilla 155 -
-- Fixed Bugzilla 167 -
-- Fixed Bugzilla 172 -
-- Fixed Bugzilla 179 - (first example is an error now diagnosed, +
- Fixed Bugzilla 125
+- Fixed Bugzilla 135
+- Fixed Bugzilla 138
+- Fixed Bugzilla 145
+- Fixed Bugzilla 147
+- Fixed Bugzilla 154
+- Fixed Bugzilla 155
+- Fixed Bugzilla 167
+- Fixed Bugzilla 172
+- Fixed Bugzilla 179 (first example is an error now diagnosed, following two now work correctly)
-- Fixed Bugzilla 180 -
-- Fixed Bugzilla 181 - (changed documentation)
-- Fixed Bugzilla 184 -
-- Fixed Bugzilla 185 -
-- Fixed Bugzilla 193 -
-- Fixed Bugzilla 197 -
-- Fixed Bugzilla 200 - (changed spec to allow ';' as empty statement +
- Fixed Bugzilla 180
+- Fixed Bugzilla 181 (changed documentation)
+- Fixed Bugzilla 184
+- Fixed Bugzilla 185
+- Fixed Bugzilla 193
+- Fixed Bugzilla 197
+- Fixed Bugzilla 200 (changed spec to allow ';' as empty statement for labelled statement)
-- Fixed Bugzilla 205 -
-- Fixed Bugzilla 210 -
-- Fixed Bugzilla 225 -
+- Fixed Bugzilla 205
+- Fixed Bugzilla 210
+- Fixed Bugzilla 225
@@ -375,60 +384,33 @@- Fixed D.bugs/7399
- Folded in D.bugs/7509
- Fixed D.bugs/7518
-- Fixed Bugzilla 14 - (fixed documentation to explain error)
-- Fixed Bugzilla 29 -
-- Fixed Bugzilla 34 -
-- Fixed Bugzilla 36 - (better error message)
-- Fixed Bugzilla 47 -
-- Fixed Bugzilla 51 - according to Bruno's analysis
-- Fixed Bugzilla 57 - in 0.151
-- Fixed Bugzilla 59 -
-- Fixed Bugzilla 74 -
-- Fixed Bugzilla 75 -
-- Fixed Bugzilla 76 -
-- Fixed Bugzilla 85 - (now issues error message)
-- Fixed Bugzilla 96 - (fixed documentation)
-- Fixed Bugzilla 103 -
-- Fixed Bugzilla 106 -
-- Fixed Bugzilla 113 - (thanks to Artem Rebrov)
-- Fixed Bugzilla 116 - (use offsetof rather than offset)
-- Fixed Bugzilla 119 -
-- Fixed Bugzilla 120 -
-- Fixed Bugzilla 123 -
-- Fixed Bugzilla 128 -
-- Fixed Bugzilla 130 -
-- Fixed Bugzilla 134 - (again)
-- Fixed Bugzilla 159 - (better error message)
-- Fixed Bugzilla 160 -
-- Fixed Bugzilla 192 -
-- Fixed Bugzilla 202 -
+- Fixed Bugzilla 14 (fixed documentation to explain error)
+- Fixed Bugzilla 29
+- Fixed Bugzilla 34
+- Fixed Bugzilla 36 (better error message)
+- Fixed Bugzilla 47
+- Fixed Bugzilla 51 according to Bruno's analysis
+- Fixed Bugzilla 57 in 0.151
+- Fixed Bugzilla 59
+- Fixed Bugzilla 74
+- Fixed Bugzilla 75
+- Fixed Bugzilla 76
+- Fixed Bugzilla 85 (now issues error message)
+- Fixed Bugzilla 96 (fixed documentation)
+- Fixed Bugzilla 103
+- Fixed Bugzilla 106
+- Fixed Bugzilla 113 (thanks to Artem Rebrov)
+- Fixed Bugzilla 116 (use offsetof rather than offset)
+- Fixed Bugzilla 119
+- Fixed Bugzilla 120
+- Fixed Bugzilla 123
+- Fixed Bugzilla 128
+- Fixed Bugzilla 130
+- Fixed Bugzilla 134 (again)
+- Fixed Bugzilla 159 (better error message)
+- Fixed Bugzilla 160
+- Fixed Bugzilla 192
+- Fixed Bugzilla 202
@@ -466,23 +448,15 @@Bugs Fixed
-
- Fixed Bugzilla 50 -, but the o must appear as +
@@ -503,8 +477,7 @@
- Fixed Bugzilla 50, but the o must appear as o.new Inner
-- Fixed Bugzilla 139 -
-- Fixed Bugzilla 148 -
-- Fixed Bugzilla 149 -
-- Fixed Bugzilla 156 -
-- Fixed Bugzilla 158 -
-- Fixed Bugzilla 168 -
-- Fixed Bugzilla 173 -
+- Fixed Bugzilla 139
+- Fixed Bugzilla 148
+- Fixed Bugzilla 149
+- Fixed Bugzilla 156
+- Fixed Bugzilla 158
+- Fixed Bugzilla 168
+- Fixed Bugzilla 173
- Incorporated Artem Rebrov's fix D.bugs/7345
- Line number debug info now generated for inline asm.
Bugs Fixed
-
- Fixed Bugzilla 134 - (again!)
+@@ -526,55 +499,33 @@ to address D.bugs/7148.
- Fixed Bugzilla 134 (again!)
- Fixed D.bugs/7325
- dmd now lists -gc switch to address D.bugs/7187.
-- For Bugzilla 77 -, dmd now stops after first +
- For Bugzilla 77, dmd now stops after first static assert error, and before template expansions after errors.
Bugs Fixed
--
- Fixed Bugzilla 44 -
-- Fixed Bugzilla 54 -
-- Fixed Bugzilla 65 -, including dstress interface_23_D.d
-- Fixed Bugzilla 79 -
-- Fixed Bugzilla 83 -
-- Fixed Bugzilla 89 -
-- Fixed Bugzilla 97 -
-- Fixed Bugzilla 108 -
-- Fixed Bugzilla 110 -
-- Fixed Bugzilla 115 -
-- Fixed Bugzilla 118 -
-- Fixed Bugzilla 121 -
-- Fixed Bugzilla 126 -
-- Fixed Bugzilla 127 -
-- Fixed Bugzilla 132 -
-- Fixed Bugzilla 133 -
-- Fixed Bugzilla 134 -
-- Fixed Bugzilla 141 -
-- Fixed Bugzilla 142 -
-- Fixed Bugzilla 151 -
-- Fixed Bugzilla 153 -
+
- Fixed Bugzilla 44
+- Fixed Bugzilla 54
+- Fixed Bugzilla 65, including dstress interface_23_D.d
+- Fixed Bugzilla 79
+- Fixed Bugzilla 83
+- Fixed Bugzilla 89
+- Fixed Bugzilla 97
+- Fixed Bugzilla 108
+- Fixed Bugzilla 110
+- Fixed Bugzilla 115
+- Fixed Bugzilla 118
+- Fixed Bugzilla 121
+- Fixed Bugzilla 126
+- Fixed Bugzilla 127
+- Fixed Bugzilla 132
+- Fixed Bugzilla 133
+- Fixed Bugzilla 134
+- Fixed Bugzilla 141
+- Fixed Bugzilla 142
+- Fixed Bugzilla 151
+- Fixed Bugzilla 153
- Fixed D.bugs/7147
- Fixed D.bugs/7191
- Fixed D.bugs/7204
@@ -620,8 +571,7 @@Bugs Fixed
-
- Fixed Bugzilla 117 -
+
- Fixed Bugzilla 117
@@ -670,22 +620,14 @@
- Fixed D.bugs/7029
- Fixed D.bugs/7043
-- Fixed Bugzilla 10 -
-- Fixed Bugzilla 13 -
-- Fixed Bugzilla 15 -
-- Fixed Bugzilla 23 -
-- Fixed Bugzilla 30 -
-- Fixed Bugzilla 33 -
-- Fixed Bugzilla 35 -
-- Fixed Bugzilla 105 -
+- Fixed Bugzilla 10
+- Fixed Bugzilla 13
+- Fixed Bugzilla 15
+- Fixed Bugzilla 23
+- Fixed Bugzilla 30
+- Fixed Bugzilla 33
+- Fixed Bugzilla 35
+- Fixed Bugzilla 105
@@ -738,22 +680,14 @@Bugs Fixed
- Removed floating point dependency from std.date.
-- Fixed Bugzilla 45 -
-- Fixed Bugzilla 84 -
-- Fixed Bugzilla 86 -
-- Fixed Bugzilla 87 -
-- Fixed Bugzilla 90 -
-- Fixed Bugzilla 92 -
-- Fixed Bugzilla 94 -
-- Fixed Bugzilla 95 -
+- Fixed Bugzilla 45
+- Fixed Bugzilla 84
+- Fixed Bugzilla 86
+- Fixed Bugzilla 87
+- Fixed Bugzilla 90
+- Fixed Bugzilla 92
+- Fixed Bugzilla 94
+- Fixed Bugzilla 95
@@ -797,28 +731,17 @@- Fixed D.bugs/6823
- Fixed D.bugs/6838 (now diagnoses an error at compile time)
-- Fixed Bugzilla 55 -
-- Fixed Bugzilla 56 -
-- Fixed Bugzilla 57 -
-- Fixed Bugzilla 58 -
-- Cannot reproduce Bugzilla 60 -
-- Fixed Bugzilla 61 -
-- Fixed Bugzilla 62 -
-- Fixed Bugzilla 65 -
-- Fixed Bugzilla 66 -
-- Fixed Bugzilla 67 -
-- Fixed Bugzilla 73 -
+- Fixed Bugzilla 55
+- Fixed Bugzilla 56
+- Fixed Bugzilla 57
+- Fixed Bugzilla 58
+- Cannot reproduce Bugzilla 60
+- Fixed Bugzilla 61
+- Fixed Bugzilla 62
+- Fixed Bugzilla 65
+- Fixed Bugzilla 66
+- Fixed Bugzilla 67
+- Fixed Bugzilla 73
@@ -848,20 +771,13 @@- Fixed D.bugs/6425
- Fixed D.bugs/6533
- Fixed D.bugs/6547
-- Fixed Bugzilla 5 -
-- Fixed Bugzilla 17 -
-- Fixed Bugzilla 19 -
-- Fixed Bugzilla 20 -
-- Fixed Bugzilla 25 -
-- Fixed Bugzilla 26 -
-- Fixed Bugzilla 27 -
+- Fixed Bugzilla 5
+- Fixed Bugzilla 17
+- Fixed Bugzilla 19
+- Fixed Bugzilla 20
+- Fixed Bugzilla 25
+- Fixed Bugzilla 26
+- Fixed Bugzilla 27
diff -uNr dmd-0.163/dmd/html/d/class.html dmd-0.164/dmd/html/d/class.html --- dmd-0.163/dmd/html/d/class.html 2006-06-06 16:38:20.000000000 +0200 +++ dmd-0.164/dmd/html/d/class.html 2006-07-25 01:13:42.000000000 +0200 @@ -32,7 +32,7 @@Last update Tue Jun 6 16:38:19 2006 +@@ -155,7 +155,6 @@ : SuperClass : SuperClass InterfaceClasses : InterfaceClass - : InterfaceClass InterfaceClasses SuperClass: Identifier diff -uNr dmd-0.163/dmd/html/d/ddoc.html dmd-0.164/dmd/html/d/ddoc.html --- dmd-0.163/dmd/html/d/ddoc.html 2006-07-01 00:48:40.000000000 +0200 +++ dmd-0.164/dmd/html/d/ddoc.html 2006-08-01 12:28:28.000000000 +0200 @@ -31,7 +31,7 @@ -Last update Tue Jul 25 01:13:42 2006Last update Sat Jul 1 00:48:39 2006 +@@ -526,7 +526,7 @@Last update Tue Aug 1 12:28:27 2006Embedded Comments
The documentation comments can themselves be commented using - the <!-- comment text --> syntax. These comments do not + the $(DDOC_COMMENT comment text) syntax. These comments do not nest.
@@ -704,6 +704,7 @@ $(BODY) </body></html> +DDOC_COMMENT = <!-- $0 --> DDOC_DECL = $(DT $(BIG $0)) DDOC_DECL_DD = $(DD $0) DDOC_DITTO = $(BR)$0 @@ -811,6 +812,10 @@ </body></html>
DDOC_COMMENT is used to insert comments into the output + file. +
+Highlighting of D code is performed by the following macros:
diff -uNr dmd-0.163/dmd/html/d/declaration.html dmd-0.164/dmd/html/d/declaration.html --- dmd-0.163/dmd/html/d/declaration.html 2006-07-01 00:48:40.000000000 +0200 +++ dmd-0.164/dmd/html/d/declaration.html 2006-08-07 00:16:58.000000000 +0200 @@ -32,7 +32,7 @@ -printf is not typesafe. It's old fashioned. It's not object-oriented. - It's not usable with user-defined types. printf is guilty as - charged. But it's just so darned useful. Nothing beats it for banging out - a quick dump of a value when debugging. -
- -Note: printf is actually not really - part of D anyway, but since D provides easy access to C's runtime library, - D gets it when needed. +
printf is not part of D, it is part of C's standard + runtime library which is accessible from D. + D's standard runtime library has std.stdio.writefln, + which is as powerful as printf but much easier to use.
@@ -316,9 +311,10 @@The front end for D is open source, and the source comes with the compiler. - There is a SourceForge - project underway to create a Gnu implementation of - D from this. + The runtime library is completely open sourc. + David Friedman has integrated the + D frontend with GCC + to create gdc, a completely open source implementation of D.
which will behave as expected. Remember, though, that printf's %.*s will print until the length is reached or a 0 is encountered, so D strings with embedded 0's will only print up to the first 0. +
+ +Of course, the easier solution is just use std.stdio.writefln + which works correctly with D strings. +
T* end = &foo[length]; +T* pend = &foo[length]; for (T* p = &foo[0]; p < pend; ++p)
or: -T* end = &foo[length]; +-T* pend = &foo[length]; T* p = &foo[0]; if (p < pend) { do { ... - } while (++p < end); + } while (++p < pend); }diff -uNr dmd-0.163/dmd/html/d/garbage.html dmd-0.164/dmd/html/d/garbage.html --- dmd-0.163/dmd/html/d/garbage.html 2006-07-01 00:48:40.000000000 +0200 +++ dmd-0.164/dmd/html/d/garbage.html 2006-08-11 12:50:22.000000000 +0200 @@ -32,7 +32,7 @@ -Last update Sat Jul 1 00:48:38 2006 +@@ -344,7 +344,7 @@ q = p - 1; // error: undefined behaviorLast update Fri Aug 11 12:50:21 2006
align (1) struct Foo diff -uNr dmd-0.163/dmd/html/d/module.html dmd-0.164/dmd/html/d/module.html --- dmd-0.163/dmd/html/d/module.html 2006-07-18 01:38:20.000000000 +0200 +++ dmd-0.164/dmd/html/d/module.html 2006-08-01 12:25:00.000000000 +0200 @@ -32,7 +32,7 @@ -+Last update Tue Jul 18 01:38:19 2006 +@@ -410,6 +410,7 @@ }Last update Tue Aug 1 12:24:59 2006
static cannot be used with selective imports.
Integer values cannot be implicitly converted to another + type that cannot represent the integer bit pattern after integral + promotion. For example:
+ +ubyte u1 = cast(byte)-1; // error, -1 cannot be represented in a ubyte +ushort u2 = cast(short)-1; // error, -1 cannot be represented in a ushort +uint u3 = cast(int)-1; // ok, -1 can be represented in a uint +ulong u4 = cast(ulong)-1; // ok, -1 can be represented in a ulong ++ Floating point types cannot be implicitly converted to integral types.