Re: Bug #2429 [ was DMD 1.037 and 2.020 releases]

2008-12-09 Thread Spacen Jasset
Fawzi Mohamed wrote: On 2008-12-08 19:06:42 +0100, Kagamin [EMAIL PROTECTED] said: torhu Wrote: Tango also opens files for writing with shared reading disabled by default. I'm not sure why, but maybe someone can remember the reason for it. they just forgot? :) consistency with windows

Re: Bug #2429 [ was DMD 1.037 and 2.020 releases]

2008-12-08 Thread torhu
Spacen Jasset wrote: I don't really consider this bug to be fixed in 1.037 and I have added comments explaining why. The bug has been marked as fixed though without any explanation as to why the shading mode (windows) and permissions (linux) are to be left as they are. Tango also opens

Re: Bug #2429 [ was DMD 1.037 and 2.020 releases]

2008-12-08 Thread Denis Koroskin
On Mon, 08 Dec 2008 18:35:32 +0300, torhu [EMAIL PROTECTED] wrote: Spacen Jasset wrote: I don't really consider this bug to be fixed in 1.037 and I have added comments explaining why. The bug has been marked as fixed though without any explanation as to why the shading mode (windows) and

Re: Bug #2429 [ was DMD 1.037 and 2.020 releases]

2008-12-08 Thread Kagamin
torhu Wrote: Tango also opens files for writing with shared reading disabled by default. I'm not sure why, but maybe someone can remember the reason for it. they just forgot? :)

Re: DMD 1.037 and 2.020 releases

2008-12-01 Thread Pablo Ripolles
Walter Bright Wrote: Pablo Ripolles wrote: I've been following the same procedure (mutatis mutandi) with versions 2.020 and 2.019, only the latter worked. Clearly there must be some issue related with the druntime lib which I am missing in the installation procedure. Any idea? I

Re: DMD 1.037 and 2.020 releases

2008-11-30 Thread Pablo Ripolles
I've been following the same procedure (mutatis mutandi) with versions 2.020 and 2.019, only the latter worked. Clearly there must be some issue related with the druntime lib which I am missing in the installation procedure. Any idea? Cheers! Pablo Ripolles Wrote: Hello, did anybody

Re: DMD 1.037 and 2.020 releases

2008-11-30 Thread Walter Bright
Pablo Ripolles wrote: I've been following the same procedure (mutatis mutandi) with versions 2.020 and 2.019, only the latter worked. Clearly there must be some issue related with the druntime lib which I am missing in the installation procedure. Any idea? I don't know what's going wrong

Re: DMD 1.037 and 2.020 releases

2008-11-29 Thread Pablo Ripolles
Hello, did anybody installed DMD 2.021 successfully in GNU/Linux? I get lots of similar errors such as the following, whenever I try to build a plain hello world. /usr/local/lib/phobos/std/c/stdio.d(200): Error: identifier 'va_list' is not defined /usr/local/lib/phobos/std/c/stdio.d(200):

Re: DMD 1.037 and 2.020 releases

2008-11-28 Thread Spacen Jasset
Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip I have put some comments against #2429 which is improved, but not quite right. I get the

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Lars Ivar Igesund
Walter Bright wrote: http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip It is nice that there is now a way to have non-heap-allocating delegates, but it is bad that it is a breaking change (in terms of D1 vs D2). But how does it work? If I have

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Kagamin
bearophile Wrote: - What is module(system) Identifier; syntax? I think, module(safe) was meant, docs mention module(safe). - Added range support to foreach statement. What is this? Good question, because what is called foreach range statement was implemented long ago. - The 'this' parameter

Scope storage class [Was: DMD 1.037 and 2.020 releases]

2008-11-26 Thread bearophile
To test the new scoping features of D 2.021 I have used a small stressing program, coming from this page, originally by Knuth: http://www.rosettacode.org/wiki/Man_or_boy_test More info: http://en.wikipedia.org/wiki/Man_or_boy_test My purpose is to see the D2 compiler being able to compute

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread John C
Kagamin Wrote: - The 'this' parameter to struct member functions is now a reference type, I know this was discussed, but how does this change code? Does this forces to change C code when it is ported to D? How to do such porting? Few examples of situations may be useful. I'm

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Jarrett Billingsley
On Wed, Nov 26, 2008 at 9:20 AM, Jarrett Billingsley [EMAIL PROTECTED] wrote: On Wed, Nov 26, 2008 at 9:06 AM, Kagamin [EMAIL PROTECTED] wrote: - Added range support to foreach statement. What is this? Good question, because what is called foreach range statement was implemented long ago.

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Jarrett Billingsley
2008/11/25 Walter Bright [EMAIL PROTECTED]: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip I want to say thank you for taking the community's requests into

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Jarrett Billingsley
On Wed, Nov 26, 2008 at 9:06 AM, Kagamin [EMAIL PROTECTED] wrote: - Added range support to foreach statement. What is this? Good question, because what is called foreach range statement was implemented long ago. It's the ability to use foreach on the new ranges (see std.range). I'm affraid,

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Walter Bright
Jarrett Billingsley wrote: I can't tell you how happy it makes me to see some of these fixed. We aim to please g.

Re: DMD 1.037 and 2.020 releases

2008-11-26 Thread Lutger
Great release, thank you!

Re: Scope storage class [Was: DMD 1.037 and 2.020 releases]

2008-11-26 Thread Robert Fraser
bearophile wrote: To test the new scoping features of D 2.021 I have used a small stressing program, coming from this page, originally by Knuth: http://www.rosettacode.org/wiki/Man_or_boy_test More info: http://en.wikipedia.org/wiki/Man_or_boy_test My purpose is to see the D2 compiler being

Re: Scope storage class [Was: DMD 1.037 and 2.020 releases]

2008-11-26 Thread Jesse Phillips
On Wed, 26 Nov 2008 12:18:27 -0800, Robert Fraser wrote: bearophile wrote: To test the new scoping features of D 2.021 I have used a small stressing program, coming from this page, originally by Knuth: http://www.rosettacode.org/wiki/Man_or_boy_test More info:

Re: Scope storage class [Was: DMD 1.037 and 2.020 releases]

2008-11-26 Thread Sergey Gromov
Wed, 26 Nov 2008 20:33:35 + (UTC), Jesse Phillips wrote: On Wed, 26 Nov 2008 12:18:27 -0800, Robert Fraser wrote: Try marking all the lazy parameters as scope (lazy creates delegates). From change log: The lazy storage class now implies scope so that lazy arguments won't trigger a

DMD 1.037 and 2.020 releases

2008-11-25 Thread Walter Bright
http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Derek Parnell
On Tue, 25 Nov 2008 14:22:47 -0800, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip It would appear that Bugzilla 313 () is not really

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Robert Fraser
Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip 929 2326 fixed in D1... scope in D2... good times... Thanks Walter, Sean everyone else

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Sean Kelly
== Quote from Robert Fraser ([EMAIL PROTECTED])'s article Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip 929 2326 fixed in D1...

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread bearophile
1.037 compiles my dlibs fine :-) And with no other increase of exe size. Thank you for fixing 929, ASAP I'll remove about 100-150 lines of code from my dlibs :-) Also thank you for 1797, a little problem, but nice to have it fixed. I am sad reading Derek Parnell say that 313 isn't fixed yet.

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Sean Kelly
== Quote from bearophile ([EMAIL PROTECTED])'s article 1.037 compiles my dlibs fine :-) And with no other increase of exe size. Thank you for fixing 929, ASAP I'll remove about 100-150 lines of code from my dlibs :-) Also thank you for 1797, a little problem, but nice to have it fixed. I am

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Bill Baxter
On Wed, Nov 26, 2008 at 7:40 AM, Derek Parnell [EMAIL PROTECTED] wrote: On Tue, 25 Nov 2008 14:22:47 -0800, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Derek Parnell
On Wed, 26 Nov 2008 10:51:49 +0900, Bill Baxter wrote: On Wed, Nov 26, 2008 at 7:40 AM, Derek Parnell [EMAIL PROTECTED] wrote: On Tue, 25 Nov 2008 14:22:47 -0800, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Derek Parnell
On Tue, 25 Nov 2008 14:22:47 -0800, Walter Bright wrote: http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.037.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.021.zip An update to the Bugzilla 313 issue... It appears that

Re: DMD 1.037 and 2.020 releases

2008-11-25 Thread Walter Bright
Lionello Lunesu wrote: The 2.021.zip contains a folder dmd/src/runtime and dmd/src/druntime.. Is one of them obsolete? Which one? runtime is the correct one. Delete the druntime one.