Changeset 2209

Show
Ignore:
Timestamp:
12/06/10 18:12:22 (1 year ago)
Author:
walter
Message:

update documentation

Files:

Legend:

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

    r2190 r2209  
    55$(UPCOMING 
    66    $(LI 64 bit support for Linux) 
     7    $(LI Shared libraries for Linux) 
    78) 
    89 
     
    1314    $(LI std.base64: Replaced. Boost License, Performance improvement, Range support. Function signature changed from 'encode' to 'Base64.encode') 
    1415    $(LI std.math: D implementation of pow. Almost all std.math functions are now @safe pure nothrow. 
    15     tgamma, lgamma, erf, erfc have been moved to std.mathspecial) 
     16        tgamma, lgamma, erf, erfc have been moved to std.mathspecial) 
    1617    $(LI std.exception: Added pure and nothrow to assumeUnique) 
    1718    $(LI std.utf: Removed UtfError class and toUTF* shortcut functions for validation. Added pure, nothrow, @safe and @trusted attributes. count function supports dchar) 
     
    2324    $(LI $(BUGZILLA 690): ABI not fully documented) 
    2425    $(LI $(BUGZILLA 1351): Discrepancies in the language specification) 
     26    $(LI $(BUGZILLA 1466): Spec claims maximal munch technique always works: not for "1..3") 
    2527    $(LI $(BUGZILLA 2080): ICE(mangle.c) alias corrupts type inference of static variables) 
     28    $(LI $(BUGZILLA 2206): unnamed template mixin of class inside function or class has incorrect classinfo and mangleof) 
    2629    $(LI $(BUGZILLA 2385): spec says all structs are returned via hidden pointer on linux, but it uses registers) 
     30    $(LI $(BUGZILLA 2392): Parsing ambiguity between function pointer declaration and function call) 
     31    $(LI $(BUGZILLA 2406): Declarator2 definition error) 
     32    $(LI $(BUGZILLA 2556): Property classinfo needs better documentation (RTTI, typeof, typeid, runtime type information)) 
     33    $(LI $(BUGZILLA 2616): Undocumented behaviour: part-explicit, part-implicit instantiations of function templates are accepted) 
    2734    $(LI $(BUGZILLA 2651): class body declaration grammar incorrect) 
    2835    $(LI $(BUGZILLA 2652): DeclDef grammar is wrong) 
     36    $(LI $(BUGZILLA 2734): Ambiguity in tokenizing: _._ as a float literal) 
    2937    $(LI $(BUGZILLA 2751): const/invariant/immutable static arrays: const(T)[N] and const(T[N]) are the same, but DMD treats them as different) 
     38    $(LI $(BUGZILLA 2954): [tdpl] Appalling bug in associative arrays (D2 only)) 
     39    $(LI $(BUGZILLA 2994): Incomplete "Predefined Versions" documentation) 
    3040    $(LI $(BUGZILLA 3020): No description is given why function may not be nothrow) 
     41    $(LI $(BUGZILLA 3112): Specification on what operations call the GC is missing) 
     42    $(LI $(BUGZILLA 3276): Recursion broken by alias template parameter) 
     43    $(LI $(BUGZILLA 3554): Ddoc generates invalid output for documentation comments with non paired parantheses) 
    3144    $(LI $(BUGZILLA 3864): Dyn array allocations can be allowed in nothrow functions) 
     45    $(LI $(BUGZILLA 4059): Incorrect C++ name mangling) 
     46    $(LI $(BUGZILLA 4217): Function overloads are not distinguished when instantiating templates) 
    3247    $(LI $(BUGZILLA 4254): ICE(mtype.c): function with const inout parameter) 
    3348    $(LI $(BUGZILLA 4297): Nothrow functions cannot use constant dynamic array) 
    3449    $(LI $(BUGZILLA 4384): Cyclic dependency check for modules is broken) 
    3550    $(LI $(BUGZILLA 4434): ICE(mtype.c, 887) alias with const, shared, or immutable) 
     51    $(LI $(BUGZILLA 4445): roundTo!ubyte(255.0) throws) 
     52    $(LI $(BUGZILLA 4529): Segfault(typinf.c) involving typeid(typeof(functionName))) 
     53    $(LI $(BUGZILLA 4638): Regression: new writeln does not recognize "wstring toString") 
     54    $(LI $(BUGZILLA 4728): Segfault(toctype.c) by protected/private constructor in an other module) 
    3655    $(LI $(BUGZILLA 4781): Segfault(mtype.c) with forward referenced typeof and .init) 
    37     $(LI $(BUGZILLA 4445): roundTo!ubyte(255.0) throws) 
    38     $(LI $(BUGZILLA 4638): Regression: new writeln does not recognize "wstring toString") 
     56    $(LI $(BUGZILLA 4864): ICE(statement.c) Crash on invalid 'if statement' body inside mixin) 
     57    $(LI $(BUGZILLA 4915): auto return type escapes function purity) 
     58    $(LI $(BUGZILLA 5020): Forward implicit bool conversions to alias this) 
    3959    $(LI $(BUGZILLA 5053): Better error message for cyclic dependencies.) 
    4060    $(LI $(BUGZILLA 5054): Splitter example doesn't work) 
     61    $(LI $(BUGZILLA 5094): No implicit conversion with "alias property this") 
     62    $(LI $(BUGZILLA 5107): Const-shared classes/structs not typed as shared) 
     63    $(LI $(BUGZILLA 5110): Excess attribute propagation of structs and classes) 
     64    $(LI $(BUGZILLA 5117): [CTFE] Member function call with rather complex this: side effects ignored) 
    4165    $(LI $(BUGZILLA 5120): ICE(mtype.c) void associative arrays) 
    4266    $(LI $(BUGZILLA 5131): Segfault(expression.c) opAssign and associative arrays (AA) are broken for types != this) 
    4367    $(LI $(BUGZILLA 5133): dmd fails to build rdmd (problem with startsWith)) 
     68    $(LI $(BUGZILLA 5145): Regression(2.050, 1.065) override error with forward ref of superclass) 
     69    $(LI $(BUGZILLA 5148): Incorrect C++ mangling of multiple const char* parameters) 
    4470    $(LI $(BUGZILLA 5154): Class Range does not work in writeln) 
     71    $(LI $(BUGZILLA 5159): Segfault(interpret.c): calling a static function pointer variable in CTFE) 
    4572    $(LI $(BUGZILLA 5163): meaningless error message with front() applied to void[].) 
     73    $(LI $(BUGZILLA 5164): Error without line number using "is (T...)") 
     74    $(LI $(BUGZILLA 5180): ICE(arrayop.c) in-place array operation on incompatible types) 
     75    $(LI $(BUGZILLA 5182): ICE(expression.c): calling unittest from a function) 
     76    $(LI $(BUGZILLA 5191): Combination of pure and nothrow result in a function that does nothing) 
     77    $(LI $(BUGZILLA 5194): ddoc does not show modifiers on constructors such as pure or nothrow) 
     78    $(LI $(BUGZILLA 5195): Forward references ignore const) 
     79    $(LI $(BUGZILLA 5214): Compiler crash with array of empty {}) 
     80    $(LI $(BUGZILLA 5218): Can't implicitly convert from "abc"w to wchar[3]) 
    4681    $(LI $(BUGZILLA 5220): Make std.conv.ConvError an Exception instead of an Error; $(RED deprecated ConvError and ConvOverflowError) with ConvException and ConvOverflowException. Note that any code depending on the fact that these exceptions were Error gets broken.) 
     82    $(LI $(BUGZILLA 5230): Regression(2.041, 1.057) ICE(tocsym.c) overriding a method that has an out contract) 
    4783    $(LI $(BUGZILLA 5247): std.utf.stride() should not return 0xFF) 
     84    $(LI $(BUGZILLA 5275): x86_64 related hidden function parameter mishandled) 
    4885    ) 
    4986) 
     
    25352572    DSTRESS = dstress $0 
    25362573    BUGSFIXED = <div id="bugsfixed"><h4>Bugs Fixed</h4> $(UL $0 )</div> 
    2537     UPCOMING = <div id="upcoming"><h4>Under Construction</h4> $(UL $0 )</div> 
     2574    UPCOMING = <div id="upcoming"><h4>Under Construction</h4> $(OL $0 )</div> 
    25382575    WHATSNEW = <div id="whatsnew"><h4>New/Changed Features</h4> $(UL $0 )</div> 
    25392576    NEWPHOBOS = <div id="whatsnew"><h4>New/Changed Phobos</h4> $(UL $0 )</div> 
  • trunk/docsrc/ddoc.dd

    r2040 r2209  
    620620LINK =  &lt;a href="&#36;0"&gt;&#36;0&lt;/a&gt; 
    621621LINK2 = &lt;a href="&#36;1"&gt;&#36;+&lt;/a&gt; 
     622LPAREN= $(LPAREN) 
     623RPAREN= $(RPAREN) 
    622624 
    623625RED =   &lt;font color=red&gt;&#36;0&lt;/font&gt; 
  • trunk/docsrc/declaration.dd

    r2163 r2209  
    257257-------------------- 
    258258 
    259 $(P  
    260 C-style array declarations may be used as an alternative: 
     259$(P 
     260$(V1 C-style array, function pointer and pointer to array declarations are possible as an alternative:) 
     261$(V2 C-style array, function pointer and pointer to array declarations are deprecated:) 
    261262) 
    262263 
     
    264265int x[3];      // x is an array of 3 ints 
    265266int x[3][5];       // x is an array of 3 arrays of 5 ints 
    266 -------------------- 
    267  
    268 $(P  
    269 C-style function pointer and pointer to array declarations are deprecated: 
    270 ) 
    271  
    272 -------------------- 
    273267int (*x[5])[3];    // x is an array of 5 pointers to arrays of 3 ints 
    274268int (*x)(char);    // x is a pointer to a function taking a char argument