digitalmars.D - DMD 0.107 release
- Walter (1/1) Nov 29 2004 http://www.digitalmars.com/d/changelog.html
- Ant (19/21) Nov 29 2004 The thrill is gonne!
- Walter (3/5) Nov 29 2004 Maybe I should just call it 1.0 and ship it!
- Kris (13/13) Nov 29 2004 Please don't do that yet; I just sent you a problem with dmd-107. It bre...
- Ant (4/19) Nov 29 2004 yeah...
-
Stewart Gordon
(9/11)
Nov 30 2004
- Ant (6/13) Nov 30 2004 Can't you do better then that?
- Stewart Gordon (7/15) Nov 30 2004 I don't see what you mean. Please be specific.
- J C Calvarese (9/26) Dec 01 2004 I think Ant is remembering it wrong.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (7/14) Dec 02 2004 Also, Thomas Kühne is doing an excellent job by keeping an
- Helmut Leitner (4/22) Dec 02 2004 If unittests were applied as advertized, then any error would result
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (14/48) Dec 02 2004 Dstress is such a unittest, for the compiler itself...
- Ant (14/16) Nov 29 2004 I got this message from the compiler (which I can ignore obviously)
- Simon Buchan (41/41) Nov 29 2004 For lazy people with Newsreaders:
-
Stewart Gordon
(9/11)
Nov 30 2004
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (4/16) Nov 30 2004 Guess I will have to wait for next GDC for Darwin.
- Ben Hinkle (4/10) Nov 30 2004 cool. I'll start using that instead. It always felt funny to cast.
- Walter (6/16) Nov 30 2004 That double lookup problem was pointed out here a while back, but I coul...
- =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= (11/19) Nov 30 2004 The documentation needs to be updated to reflect this:
- Walter (4/7) Nov 30 2004 Good catch, thanks.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (4/7) Nov 30 2004 That's OK, you can't do 'em in Java either...
- Stewart Gordon (72/74) Dec 01 2004 OK, so one of my previous minimal testcases now complies. However,
-
Carlos Santander B.
(14/14)
Dec 01 2004
"Simon Buchan"
escribió en el mensaje - James Dunne (10/11) Nov 30 2004 I've heard complaints of this before: compilation taking upwards of 2 mi...
http://www.digitalmars.com/d/changelog.html
Nov 29 2004
On Mon, 29 Nov 2004 18:06:18 -0800, Walter wrote:http://www.digitalmars.com/d/changelog.htmlThe thrill is gonne! No, not the thrill for D, the thrill for the next release of DMD. We (I) no longer wait for the next release of DMD. I don't expect amasing new features, or even the fixes I've been waiting for months (for which I couldn't produce code examples). This is to be expected as DMD is reaching 1.0. Can it be the reason the trafic is slower here? I bet it is. There is nothing new to see here. I see this as a good sign. It means DMD is getting there! Now if I was responsable for D and DMD I would release it without: (each one insert your own - I'm working on leds) I'm going to download DMD 0.107 now just to help finding problems, not because I expect any improvement, I'm actually afraid things might break... Thanks for D, Walter. Ant
Nov 29 2004
"Ant" <duitoolkit yahoo.ca> wrote in message news:pan.2004.11.30.04.04.24.396981 yahoo.ca...Now if I was responsable for D and DMD I would release it without: (each one insert your own - I'm working on leds)Maybe I should just call it 1.0 and ship it!
Nov 29 2004
Please don't do that yet; I just sent you a problem with dmd-107. It breaks all the ICU bindings ... "Walter" <newshound digitalmars.com> wrote in message news:coh201$2vv3$1 digitaldaemon.com... | | "Ant" <duitoolkit yahoo.ca> wrote in message | news:pan.2004.11.30.04.04.24.396981 yahoo.ca... | > Now if I was responsable for D and DMD I would release it without: | > (each one insert your own - I'm working on leds) | | Maybe I should just call it 1.0 and ship it! | |
Nov 29 2004
On Mon, 29 Nov 2004 22:27:54 -0800, Kris wrote:Please don't do that yet; I just sent you a problem with dmd-107. It breaks all the ICU bindings ...yeah... but the strategy must be lined up! Ant"Walter" <newshound digitalmars.com> wrote in message news:coh201$2vv3$1 digitaldaemon.com... | | "Ant" <duitoolkit yahoo.ca> wrote in message | news:pan.2004.11.30.04.04.24.396981 yahoo.ca... | > Now if I was responsable for D and DMD I would release it without: | > (each one insert your own - I'm working on leds) | | Maybe I should just call it 1.0 and ship it! | |
Nov 29 2004
Kris wrote:Please don't do that yet; I just sent you a problem with dmd-107. It breaks all the ICU bindings ...<snip top of upside-down reply> I think Walter was joking. For those who haven't seen it already, we have a list of reasons we're far from ready for 1.0: http://www.wikiservice.at/wiki4d/wiki.cgi?PendingPeeves Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Nov 30 2004
In article <cohhg4$o36$1 digitaldaemon.com>, Stewart Gordon says...Kris wrote:Can't you do better then that? The quality of it is very low. 1 - Walter expressly said he didn't want bug lists 2 - points to all sorts of less then relevant discussions AntPlease don't do that yet; I just sent you a problem with dmd-107. It breaks all the ICU bindings ...<snip top of upside-down reply> I think Walter was joking. For those who haven't seen it already, we have a list of reasons we're far from ready for 1.0: http://www.wikiservice.at/wiki4d/wiki.cgi?PendingPeeves
Nov 30 2004
Ant wrote: <snip>I don't see what you mean. Please be specific. Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.http://www.wikiservice.at/wiki4d/wiki.cgi?PendingPeevesCan't you do better then that? The quality of it is very low. 1 - Walter expressly said he didn't want bug lists 2 - points to all sorts of less then relevant discussions
Nov 30 2004
Stewart Gordon wrote:Ant wrote: <snip>I think Ant is remembering it wrong. Walter has said that's he's not going to have an official list of bugs: "I published a carefully documented bug list once in the past. It was a disaster." (http://www.digitalmars.com/drn-bin/wwwnews?D/23404) I don't think he minds it if we keep unofficial bug lists.I don't see what you mean. Please be specific.http://www.wikiservice.at/wiki4d/wiki.cgi?PendingPeevesCan't you do better then that? The quality of it is very low. 1 - Walter expressly said he didn't want bug lists 2 - points to all sorts of less then relevant discussionsStewart.-- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Dec 01 2004
J C Calvarese wrote:I think Ant is remembering it wrong. Walter has said that's he's not going to have an official list of bugs: "I published a carefully documented bug list once in the past. It was a disaster." (http://www.digitalmars.com/drn-bin/wwwnews?D/23404) I don't think he minds it if we keep unofficial bug lists.Also, Thomas Kühne is doing an excellent job by keeping an *automated* bug list in the form of the Dstress test suite: http://svn.kuehne.cn/dstress/www/dstress.html That makes it easy to test that old bugs hasn't "resurfaced", as they have a tendancy to do if not properly pesticided... --anders
Dec 02 2004
Anders F Björklund wrote:J C Calvarese wrote:If unittests were applied as advertized, then any error would result in one ore more unittests written, that would effectively hinder the errors to return.I think Ant is remembering it wrong. Walter has said that's he's not going to have an official list of bugs: "I published a carefully documented bug list once in the past. It was a disaster." (http://www.digitalmars.com/drn-bin/wwwnews?D/23404) I don't think he minds it if we keep unofficial bug lists.Also, Thomas Kühne is doing an excellent job by keeping an *automated* bug list in the form of the Dstress test suite: http://svn.kuehne.cn/dstress/www/dstress.html That makes it easy to test that old bugs hasn't "resurfaced", as they have a tendancy to do if not properly pesticided...
Dec 02 2004
Helmut Leitner wrote:Dstress is such a unittest, for the compiler itself... (Thomas has added all kinds of conformance tests, as well as various bugs reported on the D forums) All the tests are available at: http://svn.kuehne.cn/dstress/ The built-in unittest{} is also useful for testing code, as of DMD 0.108 the following seems to have such tests:That makes it easy to test that old bugs hasn't "resurfaced", as they have a tendancy to do if not properly pesticided...If unittests were applied as advertized, then any error would result in one ore more unittests written, that would effectively hinder the errors to return.phobos/internal/adi.d phobos/internal/arraycast.d phobos/internal/gc/gcbits.d phobos/internal/qsort.d phobos/internal/switch.d phobos/std/base64.d phobos/std/c/linux/linux.d phobos/std/conv.d phobos/std/ctype.d phobos/std/dateparse.d phobos/std/format.d phobos/std/math.d phobos/std/math2.d phobos/std/md5.d phobos/std/outbuffer.d phobos/std/path.d phobos/std/perf.d phobos/std/random.d phobos/std/recls.d phobos/std/regexp.d phobos/std/socket.d phobos/std/stream.d phobos/std/string.d phobos/std/thread.d phobos/std/uri.d phobos/std/utf.d phobos/std/windows/registry.d phobos/std/zlib.dAt least, that is what running a quick "grep" told me :-) I am not sure if either of the testsuites is run before releases, think that Walter has some kind of internal test program for DMD ? GDC has a "make unittest", but I've not been able to make that run, and it doesn't seem to like the GCC "make check-d" either ? --anders
Dec 02 2004
On Mon, 29 Nov 2004 18:06:18 -0800, Walter wrote:http://www.digitalmars.com/d/changelog.htmlI got this message from the compiler (which I can ignore obviously) "Creating default this(){} for class NB" NB is a nested class. --------- also found (thanks to 107): - duplicated char[] switchcase - passing -1 to uint param - using inExpression as bit all my projects seem to run correctly with 107. (15 min tests...) for DUI users: all the erros found were in leds, so no problems with the released DUI and dool. Ant
Nov 29 2004
For lazy people with Newsreaders: New/Changed Features - Improved speed of writef(). - Improved single thread performance of gc allocation per davejf's suggestions. - InExpressions now, instead of returning a bit, return a pointer to the associative array element if the key is present, null if it is not. This obviates - the need for many double lookups. - .offset property is now deprecated, use .offsetof instead. This makes for better compatibility with C and fewer conflicts with offset as a field name. - Added .ptr property to arrays, which is handier and more typesafe than casting an array to a pointer. - Added Ben Hinkle's changes to std.stream: adds EndianStream for BOM and endian support. removes the two public imports std.string and std.file from end of file adds read/write for ifloat, idouble, cfloat, cdouble and dchar to interfaces InputStream and OutputStream and add implementations to Stream and EndianStream - Added std.c.stddef for definition of C wchar_t. Bugs Fixed - Fixed internal error e2ir 814 - Fixed protection of implicit constructor. - Fixed deprecated attribute overriding static. - Tightened up detection of constants being implicitly converted to a type that cannot hold it. - Now detects duplicate case strings in switch statements. - Added support for switch(dchar[]) statements. - Fixed bug reading source files without B.O.M. - Fixed initialization of anonymous structs in classes. - Anonymous structs/unions can now only be a member of an aggregate. - Assert expressions are no longer evaluated for side effects even if asserts are turned off. It is not legal to depend on the side effect of an assert. - Fixed _init vs __init prefix for TypeInfo classes. - Adjusted arithmetic conversion rules to match C99. Get it at: ftp://ftp.digitalmars.com/dmd.107.zip -- "Unhappy Microsoft customers have a funny way of becoming Linux, Salesforce.com and Oracle customers." - www.microsoft-watch.com: "The Year in Review: Microsoft Opens Up"
Nov 29 2004
Simon Buchan wrote:For lazy people with Newsreaders:<snip>- Added std.c.stddef for definition of C wchar_t.<snip> For lazy people who like to c&p C declarations without having to change them? Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Nov 30 2004
Stewart Gordon wrote:Or for people who like to write portable code...- Added std.c.stddef for definition of C wchar_t.For lazy people who like to c&p C declarations without having to change them?version (Win32) { alias wchar wchar_t; } else version (linux) { alias dchar wchar_t; }Guess I will have to wait for next GDC for Darwin. --anders
Nov 30 2004
Simon Buchan wrote:- InExpressions now, instead of returning a bit, return a pointer to the associative array element if the key is present, null if it is not. This obviates - the need for many double lookups.nice!- Added .ptr property to arrays, which is handier and more typesafe than casting an array to a pointer.cool. I'll start using that instead. It always felt funny to cast.Get it at: ftp://ftp.digitalmars.com/dmd.107.zipnow dmd.108.zip?
Nov 30 2004
"Ben Hinkle" <bhinkle4 juno.com> wrote in message news:cohso3$18hc$1 digitaldaemon.com...Simon Buchan wrote:That double lookup problem was pointed out here a while back, but I couldn't think of a decent solution. Finally, I had a brainwave <g>.- InExpressions now, instead of returning a bit, return a pointer to the associative array element if the key is present, null if it is not. This obviates - the need for many double lookups.nice!Yes, I think so too.- Added .ptr property to arrays, which is handier and more typesafe than casting an array to a pointer.cool. I'll start using that instead. It always felt funny to cast.Fixes Kris' build break.Get it at: ftp://ftp.digitalmars.com/dmd.107.zipnow dmd.108.zip?
Nov 30 2004
Simon Buchan wrote:- InExpressions now, instead of returning a bit, return a pointer to the associative array element if the key is present, null if it is not. This obviates - the need for many double lookups.The documentation needs to be updated to reflect this: (http://www.digitalmars.com/d/arrays.html#associative)The InExpression yields a boolean result indicating if a key is in an associative array or not: if ("hello" in b) ...The InExpression yields a pointer to the associative array element if the key is present, or null if the key is not in the associative array. if (("hello" in b) != null) ... Assuming you want to pretend that there actually is a boolean type. Not that D cares about the difference between the two, but anyway. --anders PS. Still no way to perform a static init of an associative array ?
Nov 30 2004
"Anders F Björklund" <afb algonet.se> wrote in message news:cohvm9$1e76$1 digitaldaemon.com...The documentation needs to be updated to reflect this: (http://www.digitalmars.com/d/arrays.html#associative)Good catch, thanks.PS. Still no way to perform a static init of an associative array ?That's a 2.0 feature!
Nov 30 2004
Walter wrote:That's OK, you can't do 'em in Java either... (static initalizer code works in the meantime) --andersPS. Still no way to perform a static init of an associative array ?That's a 2.0 feature!
Nov 30 2004
Simon Buchan wrote: <snip>- Fixed initialization of anonymous structs in classes. - Anonymous structs/unions can now only be a member of an aggregate.OK, so one of my previous minimal testcases now complies. However, somehow the fixes seem to have managed to exclude the uses to which SDWF puts the constructs. 1. Initialisation still screws up when a union is involved. ---------- class Qwert { union { struct { int yuiop = 13; } int asdfg; } } ---------- D:\My Documents\Programming\D\Tests\bugs\broken108_init.d(1): class broken108_init.Qwert 2duplicate union initialization for yuiop ---------- 2. Giving one of the struct/union members an access attribute renders it invisible. If the initialiser is removed from the above example, it compiles and runs OK. But if I do this: ---------- import std.stdio; class Qwert { union { struct { int yuiop; } public int asdfg; } } void main() { Qwert hjkl = new Qwert; writefln(hjkl.yuiop); writefln(hjkl.asdfg); } ---------- D:\My Documents\Programming\D\Tests\bugs\broken108_anon.d(16): no property 'asdfg' for type 'Qwert' ---------- The same error occurs if I replace the class definition with any of the following: ---------- class Qwert { union { struct { int yuiop; public int asdfg; } protected int zxcvb; } } ---------- class Qwert { struct { int yuiop; public int asdfg; } } ---------- class Qwert { union { int yuiop; public int asdfg; } } ---------- Stewart. -- My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Dec 01 2004
"Simon Buchan" <currently no.where> escribió en el mensaje news:opsh9jq4ufjccy7t simon.homenet... | For lazy people with Newsreaders: | | New/Changed Features | - Added Ben Hinkle's changes to std.stream: | adds EndianStream for BOM and endian support. | removes the two public imports std.string and std.file from end of file | adds read/write for ifloat, idouble, cfloat, cdouble and dchar to | interfaces InputStream and OutputStream and add implementations to Stream | and EndianStream Thanks for that, Ben! ----------------------- Carlos Santander Bernal
Dec 01 2004
In article <cogmka$2frg$1 digitaldaemon.com>, Walter says...http://www.digitalmars.com/d/changelog.htmlI've heard complaints of this before: compilation taking upwards of 2 minutes under certain circumstances. I just ran into this problem myself with 0.107 under Linux. I have no idea what could be causing this, but I am willing to share my code if someone wants to check it out. The program is perfect syntax and semantics, nothing wrong with it; it just won't compile! It worked fine (read compiled blazingly fast) before I made a few changes and I've been trying to figure out what those changes were that did it in. Regards, James Dunne
Nov 30 2004