Changeset 1396

Show
Ignore:
Timestamp:
12/30/09 05:23:05 (2 years ago)
Author:
walter
Message:

update docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/docsrc/abi.dd

    r1328 r1396  
    369369    $(I Const) 
    370370    $(I Immutable) 
     371    $(I Wild) 
    371372    $(I TypeArray) 
    372373$(V2      $(I TypeNewArray) 
     
    415416    $(B y) $(I Type) 
    416417 
     418$(I Wild): 
     419    $(B Ng) $(I Type) 
     420 
    417421$(I TypeArray): 
    418422    $(B A) $(I Type) 
     
    464468$(I FuncAttrProperty): 
    465469    $(B Nd) 
    466 ) 
    467470 
    468471$(I FuncAttrTrusted): 
    469472    $(B Ne) 
    470 ) 
    471473 
    472474$(I FuncAttrSafe): 
  • trunk/docsrc/changelog.dd

    r1395 r1396  
    5353) 
    5454 
    55 $(VERSION 038, Dec 11, 2009, =================================================, 
     55$(VERSION 038, Dec 30, 2009, =================================================, 
    5656 
    5757    $(WHATSNEW 
     
    6767    $(LI $(CPPBUGZILLA 45): Internal error: cgcod 1594) 
    6868    $(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) 
    6975    $(LI $(BUGZILLA 2816): Sudden-death static assert is not very useful) 
    7076    $(LI $(BUGZILLA 3443): Thread.thread_needLock() should be nothrow) 
     
    7278    $(LI $(BUGZILLA 3458): int fsync(int) commented out in core.sys.posix.unistd) 
    7379    $(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) 
    7481    $(LI $(BUGZILLA 3584): DeclDef rule is missing entries) 
    7582    $(LI $(BUGZILLA 3585): Duplicate clauses in EqualExpression and RelExpression rules) 
     
    8592    $(LI $(BUGZILLA 3596): Need alias for using std.algorithm.remove) 
    8693    $(LI $(BUGZILLA 3601): Debug and Release builds of DMD produce different object files) 
     94    $(LI $(BUGZILLA 3611): Enum forward referencing regression) 
    8795    $(LI $(BUGZILLA 3612): ExpressionList is undefined) 
    8896    $(LI $(BUGZILLA 3617): CTFE: wrong code for if(x) where x is int or smaller) 
  • trunk/docsrc/code_coverage.dd

    r659 r1396  
    88The D language has 
    99many features to aid in the creation of test suites, such as 
    10 $(LINK2 class.html#unittest, unit tests) and 
     10$(LINK2 unittest.html#unittest, unit tests) and 
    1111$(LINK2 dbc.html, contract programming). 
    1212But there's the issue of how thoroughly the test suite tests 
  • trunk/docsrc/comparison.dd

    r989 r1396  
    309309    $(TR 
    310310    $(TD Unit testing) 
    311     $(YES1 class.html#unittest) 
     311    $(YES1 unittest.html#unittest) 
    312312    ) 
    313313 
  • trunk/docsrc/freebsd.ddoc

    r1065 r1396  
    88OBJEXT=o 
    99LIBEXT=a 
     10DMDDIR=dmd2 
    1011FOO= 
  • trunk/docsrc/function.dd

    r1389 r1396  
    15521552    ) 
    15531553 
    1554     $(LI function parameters may not be variadic, 
     1554    $(LI function parameters may not be C-style variadic, 
    15551555    or $(B lazy)) 
    15561556 
  • trunk/docsrc/glossary.dd

    r1257 r1396  
    198198    $(LINK2 http://en.wikipedia.org/wiki/Thread-Specific_Storage, Wikipedia).) 
    199199 
    200     $(DT $(ACRONYM UB, Undefined Behavior)) 
     200    $(DT $(LNAME2 undefined_behavior, $(ACRONYM UB, Undefined Behavior))) 
    201201    $(DD Undefined behavior happens when an illegal code construct is 
    202202    executed. Undefined behavior can include random, erratic results, 
    203203    crashes, faulting, etc. 
     204    A buffer overflow is an example of undefined behavior. 
    204205    ) 
    205206 
  • trunk/docsrc/lex.dd

    r1327 r1396  
    776776    Decimal integers are a sequence of decimal digits. 
    777777<p> 
    778     Binary integers are a sequence of binary digits preceded 
     778    $(LNAME2 binary-literals, Binary integers) are a sequence of binary digits preceded 
    779779    by a '0b'. 
    780780<p> 
  • trunk/docsrc/linux.ddoc

    r932 r1396  
    77OBJEXT=o 
    88LIBEXT=a 
     9DMDDIR=dmd2 
    910FOO= 
  • trunk/docsrc/osx.ddoc

    r917 r1396  
    77OBJEXT=o 
    88LIBEXT=a 
     9DMDDIR=dmd2 
    910FOO= 
  • trunk/docsrc/overview.dd

    r932 r1396  
    566566    ) 
    567567 
     568$(V1 
    568569    $(SECTION4 Real Typedefs, 
    569570 
     
    586587----------------------- 
    587588    ) 
     589) 
    588590 
    589591    $(SECTION4 Documentation, 
  • trunk/docsrc/type.dd

    r989 r1396  
    151151    $(UL  
    152152    $(LI alias) 
    153     $(LI typedef) 
    154153    $(LI enum) 
    155154    $(LI struct) 
    156155    $(LI union) 
    157156    $(LI class) 
     157    $(V1 $(LI typedef)) 
    158158    ) 
    159159) 
     
    168168--- 
    169169 
     170$(V1 
    170171    $(P The $(I base type) of a typedef is the type it is formed from:) 
    171172 
     
    173174typedef T U;        // T is the $(I base type) of U 
    174175--- 
     176) 
    175177) 
    176178 
     
    190192    ) 
    191193 
    192     $(P A typedef or enum can be implicitly converted to its base 
     194    $(P A $(V1 typedef or) enum can be implicitly converted to its base 
    193195    type, but going the other way requires an explicit 
    194196    conversion. 
     
    198200 
    199201------------------- 
    200 typedef int myint; 
     202$(V1 typedef int myint; 
    201203int i; 
    202204myint m; 
     
    205207m = cast(myint)i;   // OK 
    206208m = 3;                  // OK 
    207  
     209
    208210enum Foo { E } 
    209211Foo f; 
     
    261263    ) 
    262264 
    263     $(P If a typedef or enum has as a base type one of the types 
     265    $(P If a $(V1 typedef or) enum has as a base type one of the types 
    264266    in the left column, it is converted to the type in the right 
    265267    column. 
     
    304306    ) 
    305307 
    306     $(P If one or both of the operand types is a typedef or enum after 
     308    $(P If one or both of the operand types is an enum $(V1 or typedef) after 
    307309    undergoing the above conversions, the result type is:) 
    308310 
     
    310312    $(LI If the operands are the same type, the result will be the 
    311313    that type.) 
    312     $(LI If one operand is a typedef or enum and the other is the base type 
    313     of that typedef or enum, the result is the base type.) 
    314     $(LI If the two operands are different typedefs or enums but of the same 
     314    $(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 
    315317    base type, then the result is that base type.) 
    316318    ) 
  • trunk/docsrc/windows.ddoc

    r724 r1396  
    55OBJEXT=obj 
    66LIBEXT=lib 
     7DMDDIR=\dmd2 
    78FOO=