Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 22, 2004 DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Nearly all just bug fixes, with a focus on templates. Remember that long discussion on decoding unicode characters from a UTF-8 array? Well, foreach can do that now! http://www.digitalmars.com/d/changelog.html |
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Nice! One thing you dropped is the "What's new for 0.78" (see http://www.digitalmars.com/d/changelog.html#new078)... Not a big deal. In article <bunvs8$sni$1@digitaldaemon.com>, Walter says... > >Nearly all just bug fixes, with a focus on templates. > >Remember that long discussion on decoding unicode characters from a UTF-8 array? Well, foreach can do that now! > >http://www.digitalmars.com/d/changelog.html > > |
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote:
>Nearly all just bug fixes, with a focus on templates.
>
>Remember that long discussion on decoding unicode characters from a UTF-8
>array? Well, foreach can do that now!
>
>http://www.digitalmars.com/d/changelog.html
>
>
>
>
I that the dig + printf + with statement bug has disappeared ;) (can't find my original report, but it's gone so who cares)
-Anderson
|
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | you're the man Walter :) In article <bunvs8$sni$1@digitaldaemon.com>, Walter says... > >Nearly all just bug fixes, with a focus on templates. > >Remember that long discussion on decoding unicode characters from a UTF-8 array? Well, foreach can do that now! > >http://www.digitalmars.com/d/changelog.html > > |
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Felix | "Felix" <Felix_member@pathlink.com> wrote in message news:buo1c9$11n9$1@digitaldaemon.com... > Nice! > One thing you dropped is the "What's new for 0.78" (see > http://www.digitalmars.com/d/changelog.html#new078)... Not a big deal. Ek, I always botch up something. Fixed. |
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter wrote:
> Remember that long discussion on decoding unicode characters from a UTF-8
> array? Well, foreach can do that now!
Good idea, but what do you do if char array contents come from a C function (for example stdin) and are not encoded in UTF-8?
Did I mention that D needs different types for UTF-8 encoded strings and strings in the local code page (=C strings)? ;)
Hauke
|
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hauke Duden | "Hauke Duden" <H.NS.Duden@gmx.net> wrote in message news:buo98m$1d50$1@digitaldaemon.com... > Walter wrote: > > Remember that long discussion on decoding unicode characters from a UTF-8 > > array? Well, foreach can do that now! > Good idea, but what do you do if char array contents come from a C function (for example stdin) and are not encoded in UTF-8? char[] a; // not in UTF-8 ... foreach (char c; a) ... // will not attempt to decode as UTF-8 foreach (dchar c; a) ... // will attempt to decode as UTF-8 > Did I mention that D needs different types for UTF-8 encoded strings and > strings in the local code page (=C strings)? ;) I understand the problem with multibyte strings in the local code page. There are several other encoding schemes, too. D is pretty settled on native support for UTF. Other encodings will have to be treated much as you'd handle it in C or C++. The reason is that code pages are obsolete, and UTF is the future. I understand that Win9x code pages need to be supported for the time being, and it is supported, just not with any special constructs for it. To do a unique type for code page strings, a typedef or a wrapper class should do the trick. It's not as elegant, but code pages aren't too elegant anyway <g>. I've been working on a document outlining how to handle these issues, but it's just an outline at the moment. |
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | What do you think of adopting Y.T.s Platform SDK translations ? http://hp.vector.co.jp/authors/VA028375/contents/D_windows.h.html Replacing windows.d ? C "Walter" <walter@digitalmars.com> wrote in message news:bunvs8$sni$1@digitaldaemon.com... > Nearly all just bug fixes, with a focus on templates. > > Remember that long discussion on decoding unicode characters from a UTF-8 array? Well, foreach can do that now! > > http://www.digitalmars.com/d/changelog.html > > |
January 22, 2004 Re: DMD 0.79 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | thats 404 mate, by the way when is the next version of DIDE coming out ? In article <bup60m$2qtd$1@digitaldaemon.com>, C says... > >What do you think of adopting Y.T.s Platform SDK translations ? > >http://hp.vector.co.jp/authors/VA028375/contents/D_windows.h.html > >Replacing windows.d ? > >C >"Walter" <walter@digitalmars.com> wrote in message >news:bunvs8$sni$1@digitaldaemon.com... >> Nearly all just bug fixes, with a focus on templates. >> >> Remember that long discussion on decoding unicode characters from a UTF-8 array? Well, foreach can do that now! >> >> http://www.digitalmars.com/d/changelog.html >> >> > > |
January 22, 2004 Re: Win32 SDK (was DMD 0.79 release) | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | C wrote: > What do you think of adopting Y.T.s Platform SDK translations ? > > http://hp.vector.co.jp/authors/VA028375/contents/D_windows.h.html Apparently, the link has changed (the links on my webpage are outdated, too). This is the new address: http://hp.vector.co.jp/authors/VA028375/d/windows.h.html > > Replacing windows.d ? > > C -- Justin http://jcc_7.tripod.com/d/ |
Copyright © 1999-2021 by the D Language Foundation