Changeset 1396
- Timestamp:
- 12/30/09 05:23:05 (2 years ago)
- Files:
-
- trunk/docsrc/abi.dd (modified) (3 diffs)
- trunk/docsrc/changelog.dd (modified) (4 diffs)
- trunk/docsrc/code_coverage.dd (modified) (1 diff)
- trunk/docsrc/comparison.dd (modified) (1 diff)
- trunk/docsrc/freebsd.ddoc (modified) (1 diff)
- trunk/docsrc/function.dd (modified) (1 diff)
- trunk/docsrc/glossary.dd (modified) (1 diff)
- trunk/docsrc/lex.dd (modified) (1 diff)
- trunk/docsrc/linux.ddoc (modified) (1 diff)
- trunk/docsrc/osx.ddoc (modified) (1 diff)
- trunk/docsrc/overview.dd (modified) (2 diffs)
- trunk/docsrc/type.dd (modified) (9 diffs)
- trunk/docsrc/windows.ddoc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docsrc/abi.dd
r1328 r1396 369 369 $(I Const) 370 370 $(I Immutable) 371 $(I Wild) 371 372 $(I TypeArray) 372 373 $(V2 $(I TypeNewArray) … … 415 416 $(B y) $(I Type) 416 417 418 $(I Wild): 419 $(B Ng) $(I Type) 420 417 421 $(I TypeArray): 418 422 $(B A) $(I Type) … … 464 468 $(I FuncAttrProperty): 465 469 $(B Nd) 466 )467 470 468 471 $(I FuncAttrTrusted): 469 472 $(B Ne) 470 )471 473 472 474 $(I FuncAttrSafe): trunk/docsrc/changelog.dd
r1395 r1396 53 53 ) 54 54 55 $(VERSION 038, Dec 11, 2009, =================================================,55 $(VERSION 038, Dec 30, 2009, =================================================, 56 56 57 57 $(WHATSNEW … … 67 67 $(LI $(CPPBUGZILLA 45): Internal error: cgcod 1594) 68 68 $(LI $(CPPBUGZILLA 46): Constant folding with long doubles) 69 $(LI $(BUGZILLA 282): Bizarre circular import nested name invisibility issue) 70 $(LI $(BUGZILLA 390): Cannot forward reference enum nested in struct) 71 $(LI $(BUGZILLA 400): forward reference error; no propety X for type Y (struct within struct)) 72 $(LI $(BUGZILLA 1160): enums can not be forward referenced) 73 $(LI $(BUGZILLA 1564): Forward reference error for enum in circular import) 74 $(LI $(BUGZILLA 2029): Typesafe variadic functions don't work in CTFE) 69 75 $(LI $(BUGZILLA 2816): Sudden-death static assert is not very useful) 70 76 $(LI $(BUGZILLA 3443): Thread.thread_needLock() should be nothrow) … … 72 78 $(LI $(BUGZILLA 3458): int fsync(int) commented out in core.sys.posix.unistd) 73 79 $(LI $(BUGZILLA 3476): C-style initializer for structs must be disallowed for structs with a constructor) 80 $(LI $(BUGZILLA 3575): CTFE: member structs not initialized correctly) 74 81 $(LI $(BUGZILLA 3584): DeclDef rule is missing entries) 75 82 $(LI $(BUGZILLA 3585): Duplicate clauses in EqualExpression and RelExpression rules) … … 85 92 $(LI $(BUGZILLA 3596): Need alias for using std.algorithm.remove) 86 93 $(LI $(BUGZILLA 3601): Debug and Release builds of DMD produce different object files) 94 $(LI $(BUGZILLA 3611): Enum forward referencing regression) 87 95 $(LI $(BUGZILLA 3612): ExpressionList is undefined) 88 96 $(LI $(BUGZILLA 3617): CTFE: wrong code for if(x) where x is int or smaller) trunk/docsrc/code_coverage.dd
r659 r1396 8 8 The D language has 9 9 many features to aid in the creation of test suites, such as 10 $(LINK2 class.html#unittest, unit tests) and10 $(LINK2 unittest.html#unittest, unit tests) and 11 11 $(LINK2 dbc.html, contract programming). 12 12 But there's the issue of how thoroughly the test suite tests trunk/docsrc/comparison.dd
r989 r1396 309 309 $(TR 310 310 $(TD Unit testing) 311 $(YES1 class.html#unittest)311 $(YES1 unittest.html#unittest) 312 312 ) 313 313 trunk/docsrc/freebsd.ddoc
r1065 r1396 8 8 OBJEXT=o 9 9 LIBEXT=a 10 DMDDIR=dmd2 10 11 FOO= trunk/docsrc/function.dd
r1389 r1396 1552 1552 ) 1553 1553 1554 $(LI function parameters may not be variadic,1554 $(LI function parameters may not be C-style variadic, 1555 1555 or $(B lazy)) 1556 1556 trunk/docsrc/glossary.dd
r1257 r1396 198 198 $(LINK2 http://en.wikipedia.org/wiki/Thread-Specific_Storage, Wikipedia).) 199 199 200 $(DT $( ACRONYM UB, Undefined Behavior))200 $(DT $(LNAME2 undefined_behavior, $(ACRONYM UB, Undefined Behavior))) 201 201 $(DD Undefined behavior happens when an illegal code construct is 202 202 executed. Undefined behavior can include random, erratic results, 203 203 crashes, faulting, etc. 204 A buffer overflow is an example of undefined behavior. 204 205 ) 205 206 trunk/docsrc/lex.dd
r1327 r1396 776 776 Decimal integers are a sequence of decimal digits. 777 777 <p> 778 Binary integersare a sequence of binary digits preceded778 $(LNAME2 binary-literals, Binary integers) are a sequence of binary digits preceded 779 779 by a '0b'. 780 780 <p> trunk/docsrc/linux.ddoc
r932 r1396 7 7 OBJEXT=o 8 8 LIBEXT=a 9 DMDDIR=dmd2 9 10 FOO= trunk/docsrc/osx.ddoc
r917 r1396 7 7 OBJEXT=o 8 8 LIBEXT=a 9 DMDDIR=dmd2 9 10 FOO= trunk/docsrc/overview.dd
r932 r1396 566 566 ) 567 567 568 $(V1 568 569 $(SECTION4 Real Typedefs, 569 570 … … 586 587 ----------------------- 587 588 ) 589 ) 588 590 589 591 $(SECTION4 Documentation, trunk/docsrc/type.dd
r989 r1396 151 151 $(UL 152 152 $(LI alias) 153 $(LI typedef)154 153 $(LI enum) 155 154 $(LI struct) 156 155 $(LI union) 157 156 $(LI class) 157 $(V1 $(LI typedef)) 158 158 ) 159 159 ) … … 168 168 --- 169 169 170 $(V1 170 171 $(P The $(I base type) of a typedef is the type it is formed from:) 171 172 … … 173 174 typedef T U; // T is the $(I base type) of U 174 175 --- 176 ) 175 177 ) 176 178 … … 190 192 ) 191 193 192 $(P A typedef orenum can be implicitly converted to its base194 $(P A $(V1 typedef or) enum can be implicitly converted to its base 193 195 type, but going the other way requires an explicit 194 196 conversion. … … 198 200 199 201 ------------------- 200 typedef int myint;202 $(V1 typedef int myint; 201 203 int i; 202 204 myint m; … … 205 207 m = cast(myint)i; // OK 206 208 m = 3; // OK 207 209 ) 208 210 enum Foo { E } 209 211 Foo f; … … 261 263 ) 262 264 263 $(P If a typedef orenum has as a base type one of the types265 $(P If a $(V1 typedef or) enum has as a base type one of the types 264 266 in the left column, it is converted to the type in the right 265 267 column. … … 304 306 ) 305 307 306 $(P If one or both of the operand types is a typedef or enumafter308 $(P If one or both of the operand types is an enum $(V1 or typedef) after 307 309 undergoing the above conversions, the result type is:) 308 310 … … 310 312 $(LI If the operands are the same type, the result will be the 311 313 that type.) 312 $(LI If one operand is a typedef or enumand the other is the base type313 of that typedef orenum, the result is the base type.)314 $(LI If the two operands are different typedefs orenums but of the same314 $(LI If one operand is an enum $(V1 or typedef) and the other is the base type 315 of that $(V1 typedef or) enum, the result is the base type.) 316 $(LI If the two operands are different $(V1 typedefs or) enums but of the same 315 317 base type, then the result is that base type.) 316 318 ) trunk/docsrc/windows.ddoc
r724 r1396 5 5 OBJEXT=obj 6 6 LIBEXT=lib 7 DMDDIR=\dmd2 7 8 FOO=
