February 20, 2008
Walter Bright schrieb:
> A whole lotta library improvements.
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.027.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.011.zip
>
> I had planned on doing struct destructors for this update, but they are not done yet.

btw. whats the nothrow keyword gonna be for ?


~Extrawurst
February 20, 2008
Walter Bright wrote:
> Bill Baxter wrote:
>> The font is pretty darned small over here too.  Also WinXP/FF2.  I wouldn't say unreadable, but the 1.0 changelog is definitely easier on the eyes.
> 
> That's good feedback. You can try tweaking the style.css, and let me know what makes it look better.
> 
>> I thought a web developer was helping you to make the D site more modern.  Is this the result of that?  Or is that yet to come?
> 
> That kinda fizzled out.

Why not use the same style sheet for D 1 and 2 or do you want them to look different?
February 20, 2008
Extrawurst wrote:
> Walter Bright schrieb:
>> A whole lotta library improvements.
>>
>> http://www.digitalmars.com/d/1.0/changelog.html
>> http://ftp.digitalmars.com/dmd.1.027.zip
>>
>> http://www.digitalmars.com/d/2.0/changelog.html
>> http://ftp.digitalmars.com/dmd.2.011.zip
>>
>> I had planned on doing struct destructors for this update, but they are not done yet.
> 
> btw. whats the nothrow keyword gonna be for ?
> 
> 
> ~Extrawurst

Indicating that a function/method won't throw an exception?
February 20, 2008
Jacob Carlborg schrieb:
> Extrawurst wrote:
>> Walter Bright schrieb:
>>> A whole lotta library improvements.
>>>
>>> http://www.digitalmars.com/d/1.0/changelog.html
>>> http://ftp.digitalmars.com/dmd.1.027.zip
>>>
>>> http://www.digitalmars.com/d/2.0/changelog.html
>>> http://ftp.digitalmars.com/dmd.2.011.zip
>>>
>>> I had planned on doing struct destructors for this update, but they are not done yet.
>>
>> btw. whats the nothrow keyword gonna be for ?
>>
>>
>> ~Extrawurst
>
> Indicating that a function/method won't throw an exception?

yeah but what happend to the express-such-things-via-documention policy to keep syntax simple ?
February 20, 2008
Bill Baxter wrote:
> torhu wrote:
>> Walter Bright wrote:
>>> A whole lotta library improvements.
>>
>> I had to copy and paste the 2.0 changelog into my editor to be able to even read it.  Would it be possible to get a readable font face and size? There is no shame in just using black text on a white background either. Please?
>>
>> I use FF 2 on winxp, so I don't think I have a weird setup.  19 inch CRT, 1152x864. That's pretty mainstream, and the 1.0 docs look just fine on my screen.
> 
> The font is pretty darned small over here too.  Also WinXP/FF2.  I wouldn't say unreadable, but the 1.0 changelog is definitely easier on the eyes.
> 
> I thought a web developer was helping you to make the D site more modern.  Is this the result of that?  Or is that yet to come?
> 
> --bb

It's the same in osx/ff3beta and osx/safari
February 20, 2008
Extrawurst wrote:
> Jacob Carlborg schrieb:
>> Extrawurst wrote:
>>> Walter Bright schrieb:
>>>> A whole lotta library improvements.
>>>>
>>>> http://www.digitalmars.com/d/1.0/changelog.html
>>>> http://ftp.digitalmars.com/dmd.1.027.zip
>>>>
>>>> http://www.digitalmars.com/d/2.0/changelog.html
>>>> http://ftp.digitalmars.com/dmd.2.011.zip
>>>>
>>>> I had planned on doing struct destructors for this update, but they are not done yet.
>>>
>>> btw. whats the nothrow keyword gonna be for ?
>>>
>>>
>>> ~Extrawurst
>>
>> Indicating that a function/method won't throw an exception?
> 
> yeah but what happend to the express-such-things-via-documention policy to keep syntax simple ?

The compiler can probably do some optimization if it knows that
February 20, 2008
Walter Bright schrieb:
> Extrawurst wrote:
>> Wow what a huge changelist for the std lib, awesome !
>>
>> But i wonder about one thing:
>>
>> [CODE]
>>
>> class Foo {
>>   int foo() {
>>       synchronized(this){
>>           return 8;
>>       }
>>   }
>> }
>>
>> [/CODE]
>>
>> why does 2.011 in contrast to the previous 2.010 warn me with "warning - main.d(3): function main.Foo.foo no return at end of function" ? why is this a probem suddenly ? i have plenty of this warnings spit out in my project now ;(
>
> Because I reimplemented the flow analysis, and it looks like there's a bug in it :-(

i made an entry in bugzilla
February 20, 2008
Extrawurst wrote:
> i made an entry in bugzilla

Thank you.
February 20, 2008
Jacob Carlborg wrote:
> Why not use the same style sheet for D 1 and 2 or do you want them to look different?

I think it's a good idea that they look a bit different.
February 20, 2008
Jacob Carlborg wrote:
> The compiler can probably do some optimization if it knows that

Exactly. This will become more important later.