www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - DMD 1.010 release

reply Walter Bright <newshound digitalmars.com> writes:
Bug fixes, some enhancements.

http://www.digitalmars.com/d/changelog.html

http://ftp.digitalmars.com/dmd.1.010.zip
Mar 26 2007
next sibling parent reply "Frank Benoit (keinfarbton)" <benoit tionex.removethispart.de> writes:
Nice

I wish, i could use it. But Bug #1052 is not listed, which makes DMD
completely unusable for me.

I hope for 1.011 :)
Mar 26 2007
next sibling parent reply Walter Bright <newshound digitalmars.com> writes:
Frank Benoit (keinfarbton) wrote:
 I wish, i could use it. But Bug #1052 is not listed, which makes DMD
 completely unusable for me.

I apologize for that, I'll see what I can do.
Mar 26 2007
parent "Frank Benoit (keinfarbton)" <benoit tionex.removethispart.de> writes:
Walter Bright schrieb:
 Frank Benoit (keinfarbton) wrote:
 I wish, i could use it. But Bug #1052 is not listed, which makes DMD
 completely unusable for me.

I apologize for that, I'll see what I can do.

Sorry, it shouldn't sound like a real complain. I am happy about all progress D/DMD is making. I only wanted to mention that bug, hoping to move it up in your priority list :) Thanks for all your work. Frank
Mar 26 2007
prev sibling parent reply Walter Bright <newshound digitalmars.com> writes:
Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.

At least you can get the documentation auf Deutsch now <g>.
Mar 26 2007
next sibling parent reply =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
Walter Bright kirjoitti:
 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.

At least you can get the documentation auf Deutsch now <g>.

The language selector only works on the original page, all translated sites give e.g. Sorry, this URL is invalid http://66.249.93.104/translate_c?hl=en&langpair=en%7Cit&u=http://www.digitalmars.com/d/template.html Please choose from the following: * Go back to the previous page * Back to Language Tools * See original page
Mar 26 2007
parent reply Walter Bright <newshound digitalmars.com> writes:
Jari-Matti Mäkelä wrote:
 Walter Bright kirjoitti:
 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.


The language selector only works on the original page, all translated sites give e.g. Sorry, this URL is invalid http://66.249.93.104/translate_c?hl=en&langpair=en%7Cit&u=http://www.digitalmars.com/d/template.html

I'm not sure how to fix that.
Mar 26 2007
parent reply =?ISO-8859-1?Q?Jari-Matti_M=E4kel=E4?= <jmjmak utu.fi.invalid> writes:
Walter Bright wrote:
 Jari-Matti Mäkelä wrote:
 Walter Bright kirjoitti:
 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.


The language selector only works on the original page, all translated sites give e.g. Sorry, this URL is invalid http://66.249.93.104/translate_c?hl=en&langpair=en%7Cit&u=http://www.digitalmars.com/d/template.html

I'm not sure how to fix that.

Probably it doesn't matter anyone who really needs the translation since they will probably use only one language. Try changing this <form action="http://www.google.com/translate" onsubmit="this.u.value=window.location.href" method="GET"> to <form action="http://www.google.com/translate" onsubmit="this.u.value=http://www.digitalmars.com/d/" method="GET"> I haven't tested it, but it might work since the current one uses javascript to figure out the current URL. OTOH doing this makes all 'Translate' clicks jump to the front page. Concatenating the file name to the hard coded site URL fixes both, but might cause a bit more work. Anyway, I'm not saying you need to do anything. I don't even use this feature.
Mar 26 2007
parent Walter Bright <newshound digitalmars.com> writes:
Jari-Matti Mäkelä wrote:
 Walter Bright wrote:
 Jari-Matti Mäkelä wrote:
 Walter Bright kirjoitti:
 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.


sites give e.g. Sorry, this URL is invalid http://66.249.93.104/translate_c?hl=en&langpair=en%7Cit&u=http://www.digitalmars.com/d/template.html


Probably it doesn't matter anyone who really needs the translation since they will probably use only one language. Try changing this <form action="http://www.google.com/translate" onsubmit="this.u.value=window.location.href" method="GET"> to <form action="http://www.google.com/translate" onsubmit="this.u.value=http://www.digitalmars.com/d/" method="GET">

I tried it, it didn't work. Not a big deal anyway.
 I haven't tested it, but it might work since the current one uses
 javascript to figure out the current URL. OTOH doing this makes all
 'Translate' clicks jump to the front page.
 
 Concatenating the file name to the hard coded site URL fixes both, but
 might cause a bit more work. Anyway, I'm not saying you need to do
 anything. I don't even use this feature.

Mar 26 2007
prev sibling next sibling parent reply Lionello Lunesu <lio lunesu.remove.com> writes:
Walter Bright wrote:
 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.

At least you can get the documentation auf Deutsch now <g>.

"Insetti riparati" = Repaired insects :D and a bit later: "Gli insetti hanno riparato" = The bugs have repaired [the following] Apart from entertainment, there really is no use for the translations. L.
Mar 26 2007
parent Carlos Santander <csantander619 gmail.com> writes:
Lionello Lunesu escribió:
 Walter Bright wrote:
 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.

At least you can get the documentation auf Deutsch now <g>.

"Insetti riparati" = Repaired insects :D and a bit later: "Gli insetti hanno riparato" = The bugs have repaired [the following] Apart from entertainment, there really is no use for the translations. L.

It kinda makes sense in Spanish, but it's not really good, TBH. -- Carlos Santander Bernal
Mar 26 2007
prev sibling parent mike <vertex gmx.at> writes:
Am 26.03.2007, 12:56 Uhr, schrieb Walter Bright  =

<newshound digitalmars.com>:

 Frank Benoit (keinfarbton) wrote:
 which makes DMD completely unusable for me.

At least you can get the documentation auf Deutsch now <g>.

Hehe ... from the translated Array documentation:
 internes [Putzfrau []] x;

Translated back to english that would be:
 internal [CleaningWoman[]] x;

-Mike -- = Erstellt mit Operas revolution=E4rem E-Mail-Modul: http://www.opera.com/= mail/
Mar 26 2007
prev sibling next sibling parent reply Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
Walter Bright wrote:
 Bug fixes, some enhancements.
 
 http://www.digitalmars.com/d/changelog.html
 
 http://ftp.digitalmars.com/dmd.1.010.zip

Looking through the new stdio code: * Why aren't the internal DigitalMars/GCC stdio functions and their aliases private? * These lines: --- if ((c2 == FGETWC(fp)) != -1 || c2 < 0xDC00 && c2 > 0xDFFF) { StdioException("unpaired UTF-16 surrogate"); } c = ((c - 0xD7C0) << 10) + (c2 - 0xDC00); --- (found twice in readln, both in DigitalMars and in GCC/Windows code) look suspicious to me, especially since I don't see any assignments to (or other use of) 'c2'. Is this a reverse "'=' vs '==' in an condition" bug?
Mar 26 2007
parent reply Walter Bright <newshound digitalmars.com> writes:
Frits van Bommel wrote:
 Walter Bright wrote:
 Bug fixes, some enhancements.

 http://www.digitalmars.com/d/changelog.html

 http://ftp.digitalmars.com/dmd.1.010.zip

Looking through the new stdio code: * Why aren't the internal DigitalMars/GCC stdio functions and their aliases private?

Sloth.
 * These lines:
 ---
 if ((c2 == FGETWC(fp)) != -1 ||
     c2 < 0xDC00 && c2 > 0xDFFF)
 {
     StdioException("unpaired UTF-16 surrogate");
 }
 c = ((c - 0xD7C0) << 10) + (c2 - 0xDC00);
 ---
 (found twice in readln, both in DigitalMars and in GCC/Windows code) 
 look suspicious to me, especially since I don't see any assignments to 
 (or other use of) 'c2'. Is this a reverse "'=' vs '==' in an condition" 
 bug?

Cripes, you're right. The '==' should be '='. Good catch!
Mar 26 2007
parent Lionello Lunesu <lio lunesu.remove.com> writes:
Walter Bright wrote:
 Frits van Bommel wrote:
 Walter Bright wrote:
 Bug fixes, some enhancements.

 http://www.digitalmars.com/d/changelog.html

 http://ftp.digitalmars.com/dmd.1.010.zip

Looking through the new stdio code: * Why aren't the internal DigitalMars/GCC stdio functions and their aliases private?

Sloth.
 * These lines:
 ---
 if ((c2 == FGETWC(fp)) != -1 ||
     c2 < 0xDC00 && c2 > 0xDFFF)
 {
     StdioException("unpaired UTF-16 surrogate");
 }
 c = ((c - 0xD7C0) << 10) + (c2 - 0xDC00);
 ---
 (found twice in readln, both in DigitalMars and in GCC/Windows code) 
 look suspicious to me, especially since I don't see any assignments to 
 (or other use of) 'c2'. Is this a reverse "'=' vs '==' in an 
 condition" bug?

Cripes, you're right. The '==' should be '='. Good catch!

This reminds of that discussion concerning comparison of booleans to integers ;) L.
Mar 26 2007
prev sibling next sibling parent Ary Manzana <ary esperanto.org.ar> writes:
Walter Bright escribió:
 Bug fixes, some enhancements.
 
 http://www.digitalmars.com/d/changelog.html
 
 http://ftp.digitalmars.com/dmd.1.010.zip

Nice! A question: how is the factory method supposed to work? The docs says "Create instance of class specified by classname. The class must either have no constructors or have a default constructor.". Can I pass "a.b.Foo" to it? I know I can try it, but that should be documented as well.
Mar 26 2007
prev sibling next sibling parent Tom <tom nospam.com> writes:
Walter Bright escribió:
 Bug fixes, some enhancements.
 
 http://www.digitalmars.com/d/changelog.html
 
 http://ftp.digitalmars.com/dmd.1.010.zip

Thanks again. Tom;
Mar 26 2007
prev sibling next sibling parent reply F <noemail noemail.com> writes:
http://www.digitalmars.com/d/changelog.html is not updated for dmd.1.010.


Walter Bright Wrote:

 Bug fixes, some enhancements.
 
 http://www.digitalmars.com/d/changelog.html
 
 http://ftp.digitalmars.com/dmd.1.010.zip

Mar 26 2007
next sibling parent reply Lionello Lunesu <lio lunesu.remove.com> writes:
F wrote:
 http://www.digitalmars.com/d/changelog.html is not updated for dmd.1.010.
 
 
 Walter Bright Wrote:
 
 Bug fixes, some enhancements.

 http://www.digitalmars.com/d/changelog.html

 http://ftp.digitalmars.com/dmd.1.010.zip


It was updated. You must have a very stubborn browser cache.
Mar 26 2007
parent F <noemail noemail.com> writes:
Lionello Lunesu Wrote:
 It was updated. You must have a very stubborn browser cache.

Indeed. Finally, it works. Thanks.
Mar 27 2007
prev sibling next sibling parent Ary Manzana <ary esperanto.org.ar> writes:
F escribió:
 http://www.digitalmars.com/d/changelog.html is not updated for dmd.1.010.
 
 
 Walter Bright Wrote:
 
 Bug fixes, some enhancements.

 http://www.digitalmars.com/d/changelog.html

 http://ftp.digitalmars.com/dmd.1.010.zip


It is. If you are using Firefox, press ctrl + F5. It seems it stays in the cache and dosen't realize it has changed.
Mar 26 2007
prev sibling parent Walter Bright <newshound digitalmars.com> writes:
F wrote:
 http://www.digitalmars.com/d/changelog.html is not updated for dmd.1.010.

Try refreshing your browser cache.
Mar 26 2007
prev sibling parent torhu <fake address.dude> writes:
Walter Bright wrote:
 Bug fixes, some enhancements.
 
 http://www.digitalmars.com/d/changelog.html
 
 http://ftp.digitalmars.com/dmd.1.010.zip

ClassInfo is gone from the docs (phobos/object.html).
Mar 27 2007