diff -uNr dmd-0.104/dmd/html/d/changelog.html dmd-0.105/dmd/html/d/changelog.html --- dmd-0.104/dmd/html/d/changelog.html 2004-10-20 09:59:42.000000000 +0200 +++ dmd-0.105/dmd/html/d/changelog.html 2004-10-28 20:33:18.000000000 +0200 @@ -24,6 +24,8 @@ <ul> + <li> What's new for <a href="#new0105">D 0.105</a> + <li> What's new for <a href="#new0104">D 0.104</a> <li> What's new for <a href="#new0103">D 0.103</a> <li> What's new for <a href="#new0102">D 0.102</a> <li> What's new for <a href="#new0101">D 0.101</a> @@ -85,7 +87,54 @@ </ul> <hr><!-- ======================================================= --> -<h3><a name="new0103">What's New for D 0.103</a></h3> +<h3><a name="new0105"> + What's New for + <a HREF="ftp://ftp.digitalmars.com/dmd.105.zip" title="D 0.105">D 0.105</a> +</h3> + +<small><i>Oct 28, 2004</i></small> + +<h4>New/Changed Features</h4> +<ul> + <li> Changed integral literal type determination to match C99 6.4.4.1. +</ul> + +<h4>Bugs Fixed</h4> +<ul> + <li> Incorporated David Friedman's fixes for static initializers. + <li> Incorporated David Friedman's fixes for bit array duping + and array appending. + <li> Incorporated David Friedman's fix for cast of integral constant to bit. + <li> Incorporated Stewart Gordon's fix for switcherr.d and array.d. + <li> Fixed several bugs with dmd command line parsing. + <li> Fixed Assertion failure: 'ei' line 2576 file 'mtype.c' + <li> Fixed Ivan Senji's two compiler crashes. + <li> Fixed Internal error: ..\ztc\cod3.c 736 + <li> Fixed diagnostic on forward referenced templates. + <li> Fixed diagnostic on missing identifiers in foreach declarations. + <li> Fixed bug with mixin constructors. + <li> Internal use of "_invariant" changed to "__invariant" to avoid + conflicts with user code. + <li> Fixed dmc hang on transcoding some utf strings. + <li> Interfaces used as an argument to synchronized statements + are now automatically cast to Object. +</ul> + +<hr><!-- ======================================================= --> +<h3><a name="new0104"> + What's New for + <a HREF="ftp://ftp.digitalmars.com/dmd.104.zip" title="D 0.104">D 0.104</a> +</h3> + +<small><i>Oct 21, 2004</i></small> + +<h4>Bugs Fixed</h4> +<ul> + <li> Fixed linker bug with unknown CV version. +</ul> + +<hr><!-- ======================================================= --> +<h3><a name="new0103">What's New for <a HREF="ftp://ftp.digitalmars.com/dmd.103.zip" title="D 0.103">D 0.103</a></h3> <small><i>Oct 20, 2004</i></small> @@ -105,7 +154,7 @@ </ul> <hr><!-- ======================================================= --> -<h3><a name="new0102">What's New for D 0.102</a></h3> +<h3><a name="new0102">What's New for <a HREF="ftp://ftp.digitalmars.com/dmd.102.zip" title="D 0.102">D 0.102</a></h3> <small><i>Sep 20, 2004</i></small> diff -uNr dmd-0.104/dmd/html/d/lex.html dmd-0.105/dmd/html/d/lex.html --- dmd-0.104/dmd/html/d/lex.html 2004-09-30 08:31:10.000000000 +0200 +++ dmd-0.105/dmd/html/d/lex.html 2004-10-25 16:11:30.000000000 +0200 @@ -10,7 +10,7 @@ [<a href="../advancedsearch.html" title="Search Digital Mars web site" target="_top">Search</a>] [<a href="index.html" title="D Programming Language" target="_top"><font color="red"><b>D</b></font></a>] -<br><small><i>Last update Sep 30, 2004</i></small> +<br><small><i>Last update Oct 25, 2004</i></small> <hr> <h1 align="center"><u>Lexical</u></h1> @@ -533,13 +533,82 @@ Integers can be immediately followed by one 'l' or one 'u' or both. <p> The type of the integer is resolved as follows: -<ol> - <li> If it is decimal it is the last representable of ulong, long, or int. - <li> If it is not decimal, it is the last representable of ulong, long, uint, or int. - <li> If it has the 'u' suffix, it is the last representable of ulong or uint. - <li> If it has the 'l' suffix, it is the last representable of ulong or long. - <li> If it has the 'u' and 'l' suffixes, it is ulong. -</ol> + <p> + + <table border=1 cellspacing=0 cellpadding=5> + <tr> + <th> Decimal Literal + <th> Type + <tr> + <td> 0 .. 2147483647 + <td> int + <tr> + <td> 2147483648 .. 9223372036854775807 + <td> long + <tr> + <th> Decimal Literal, L Suffix + <th> Type + <tr> + <td> 0L .. 9223372036854775807L + <td> long + <tr> + <th> Decimal Literal, U Suffix + <th> Type + <tr> + <td> 0U .. 4294967295U + <td> uint + <tr> + <td> 4294967296U .. 18446744073709551615U + <td> ulong + <tr> + <th> Decimal Literal, UL Suffix + <th> Type + <tr> + <td> 0UL .. 18446744073709551615UL + <td> ulong + + <tr> + <th> Non-Decimal Literal + <th> Type + <tr> + <td> 0x0 .. 0x7FFFFFFF + <td> int + <tr> + <td> 0x80000000 .. 0xFFFFFFFF + <td> uint + <tr> + <td> 0x100000000 .. 0x7FFFFFFFFFFFFFFF + <td> long + <tr> + <td> 0x8000000000000000 .. 0xFFFFFFFFFFFFFFFF + <td> ulong + <tr> + <th> Non-Decimal Literal, L Suffix + <th> Type + <tr> + <td> 0x0L .. 0x7FFFFFFFFFFFFFFFL + <td> long + <tr> + <td> 0x8000000000000000L .. 0xFFFFFFFFFFFFFFFFL + <td> ulong + <tr> + <th> Non-Decimal Literal, U Suffix + <th> Type + <tr> + <td> 0x0U .. 0xFFFFFFFFU + <td> uint + <tr> + <td> 0x100000000UL .. 0xFFFFFFFFFFFFFFFFUL + <td> ulong + <tr> + <th> Non-Decimal Literal, UL Suffix + <th> Type + <tr> + <td> 0x0UL .. 0xFFFFFFFFFFFFFFFFUL + <td> ulong + + </table> + <h3><a name="floatliteral">Floating Literals</a></h3> diff -uNr dmd-0.104/dmd/html/d/statement.html dmd-0.105/dmd/html/d/statement.html --- dmd-0.104/dmd/html/d/statement.html 2004-09-01 11:08:56.000000000 +0200 +++ dmd-0.105/dmd/html/d/statement.html 2004-10-28 20:34:10.000000000 +0200 @@ -834,6 +834,8 @@ synchronized (<i>Expression</i>), where <i>Expression</i> evaluates to an Object reference, allows only one thread at a time to use that Object to execute the <i>Statement</i>. + If <i>Expression</i> is an instance of an <i>Interface</i>, it is + cast to an <i>Object</i>. <p> The synchronization gets released even if <i>Statement</i> terminates diff -uNr dmd-0.104/dmd/html/d/version.html dmd-0.105/dmd/html/d/version.html --- dmd-0.104/dmd/html/d/version.html 2004-09-01 11:11:40.000000000 +0200 +++ dmd-0.105/dmd/html/d/version.html 2004-10-27 21:18:38.000000000 +0200 @@ -16,7 +16,7 @@ <a href="http://www.digitalmars.com/" title="www.digitalmars.com" target="_top">[Home]</a> <a href="../advancedsearch.html" title="Search Digital Mars web site" target="_top">[Search]</a> <a href="index.html" title="D Programming Language" target="_top">[D]</a> -<br><small><i>Last modified Aug 30, 2004.</i></small> +<br><small><i>Last modified Oct 27, 2004.</i></small> <hr> <h1 align="center"><u>Debug, Version, and Static Assert</u></h1> @@ -162,11 +162,11 @@ <p> debug(<i>Integer</i>) statements are compiled in when the debug - level n set by the -debug(n) switch is <= <i>Integer</i>. + level is >= <i>Integer</i>. <p> debug(<i>Identifier</i>) statements are compiled in when the debug - identifier set by the -debug(identifier) matches <i>Identifier</i>. + identifier matches <i>Identifier</i>. <p> If <i>Statement</i> is a block statement, it does not @@ -282,7 +282,7 @@ Various different debug builds can be built with a parameter to debug: <pre> - debug(<i>n</i>) { } // add in debug code if debug level is <= <i>n</i> + debug(<i>Integer</i>) { } // add in debug code if debug level is >= <i>Integer</i> debug(<i>identifier</i>) { } // add in debug code if debug keyword is <i>identifier</i> </pre>