Re: TDPL in Russian

2010-11-15 Thread Adrian Matoga
It's the same with recent Polish translations, with one exception I've found so far. It was Andrei's Modern C++ design translated by Grzegorz Jakacki with in-depth understanding of the original book, perfect sense of what should be translated and what shouldn't, correct, natural and itelligible

Utah Valley University teaches D (using TDPL)

2010-11-15 Thread Andrei Alexandrescu
http://uvu.freshsources.com/page9/page7/files/Syllabus4450.html Andrei

Re: Utah Valley University teaches D (using TDPL)

2010-11-15 Thread David Gileadi
On 11/15/10 2:00 PM, Andrei Alexandrescu wrote: http://uvu.freshsources.com/page9/page7/files/Syllabus4450.html Andrei I had a class from Chuck; he introduced me to D. He's an excellent teacher.

Re: Utah Valley University teaches D (using TDPL)

2010-11-15 Thread Simen kjaeraas
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: [Good Stuff™] Awesome! -- Simen

Another SQLite3 wrapper

2010-11-15 Thread Alexey Khmara
Hello! I tried to find any module to work with SQLite3 in D2, and failed. I found either just bindings to old SQLite versions or D1 modules with craft-SQL-on-the-fly interface, all abandoned. So I want to add just another D2 SQLite3 bindings and OO-wrapper and uploaded to GitHub:

Re: Utah Valley University teaches D (using TDPL)

2010-11-15 Thread bearophile
Andrei: http://uvu.freshsources.com/page9/page7/files/Syllabus4450.html This is good. Despite its bugs/unfinished parts D2 is a good language to teach certain kinds of lower level programming (and some OOP too). This is the page of the resources of the course:

Re: Another SQLite3 wrapper

2010-11-15 Thread Jesse Phillips
While it might be better to update existing projects, here are some answers. Alexey Khmara Wrote: I want there to call appropriate overloaded function for each item of args tuple, but I was not able to do this without mixin - compiler gives syntax errors when I try to write something like

Re: Another SQLite3 wrapper

2010-11-15 Thread Alexey Khmara
2010/11/16 Jesse Phillips jessekphillip...@gmail.com: While it might be better to update existing projects, here are some answers. Alexey Khmara Wrote: I want there to call appropriate overloaded function for each item of args tuple, but I was not able to do this without mixin - compiler

Re: Another SQLite3 wrapper

2010-11-15 Thread Russel Winder
Alexey, On Tue, 2010-11-16 at 01:14 +, Alexey Khmara wrote: Hello! I tried to find any module to work with SQLite3 in D2, and failed. I found either just bindings to old SQLite versions or D1 modules with craft-SQL-on-the-fly interface, all abandoned. So I want to add just another D2

Re: Compiler optimization breaks multi-threaded code

2010-11-15 Thread Kagamin
Sean Kelly Wrote: shared uint cnt; void atomicInc ( ) { uint o; while ( !cas( cnt, o, o + 1 ) ) o = cnt; } is compiled with dmd -O to something like: shared uint cnt; void atomicInc ( ) { while ( !cas( cnt, cnt, cnt + 1 ) ) { } } What a mess. DMD isn't supposed to optimize

What to do when the linker fails

2010-11-15 Thread Benjamin Thaut
At the current state of my object optlink fails with EID=0042785B What options do I have to work around this issue? Go back to older dmd / optlink versions? Keep coding and hope it fixes itself? Search for cyclic references and remove them? -- Kind Regards Benjamin Thaut

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread spir
On Sun, 14 Nov 2010 16:25:56 -0800 Jonathan M Davis jmdavisp...@gmx.com wrote: On Sunday 14 November 2010 11:29:55 spir wrote: I don't understand in which case you need to reuse the same name in a subclass for a _different_ field -- whether the field is public or private does not seem

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread Stanislav Blinov
Daniel Gibson wrote: Stanislav Blinov schrieb: spir wrote: Hello, I think the compiler should complain when sub-classes hold fields with the same name as super-classes. After all, names (in addition to types) are used to identify. Intentionally reusing the same name would not only be bad

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread Jonathan M Davis
On Monday 15 November 2010 02:29:55 Stanislav Blinov wrote: Daniel Gibson wrote: Disallowing public fields is too restrictive IMHO. Maybe. I just always view public fields as encapsulation breakers. And silent invariant breakers. And maintenance cripplers :) Personally, it's the kind of

Re: What to do when the linker fails

2010-11-15 Thread Kagamin
Benjamin Thaut Wrote: At the current state of my object optlink fails with EID=0042785B What options do I have to work around this issue? Go back to older dmd / optlink versions? Keep coding and hope it fixes itself? Search for cyclic references and remove them? dmd has a -lib option to

Re: What to do when the linker fails

2010-11-15 Thread Benjamin Thaut
Am 15.11.2010 12:33, schrieb Kagamin: Benjamin Thaut Wrote: At the current state of my object optlink fails with EID=0042785B What options do I have to work around this issue? Go back to older dmd / optlink versions? Keep coding and hope it fixes itself? Search for cyclic references and

Re: What to do when the linker fails

2010-11-15 Thread Kagamin
Benjamin Thaut Wrote: How does that help if the linker crashes? It can stop crashes.

Re: linker wrapper

2010-11-15 Thread Kagamin
bearophile Wrote: Probably we'll see more people asking for that kind of help. Not all D newbies come from languages that use a linker. Today a significant and growing percentage of newbie D programmers come from Java, C#, JavaScript, Python, etc. java and c# do use a linker (I suppose

Re: The D Scripting Language

2010-11-15 Thread Per Ångström
On 2010-11-07 22:29, Tomek Sowiński wrote: This wraps up a thread from a few days ago. Pascal featured my D examples on his Scriptometer site. http://rigaux.org/language-study/scripting-language/ D comes 17th out of 28, so it's so-so for scripting. I'm wondering whether the issue of D's

std.regexp vs std.regex [Re: RegExp.find() now crippled]

2010-11-15 Thread KennyTM~
On Nov 15, 10 14:58, Steve Teale wrote: Some time ago in phobos2, the following: RegExp wsr = RegExp((\\s+)); int p = wsr.find(thingie att1=\whatever\); writefln(%s|%s|%s %d,wsr.pre(), wsr.match(1), wsr.post(), p); would print: thingie| |att1=whatever 7 Now it prints thingie|

Re: The D Scripting Language

2010-11-15 Thread spir
On Mon, 15 Nov 2010 13:15:50 +0100 Per Ångström d-n...@autark.se wrote: On 2010-11-07 22:29, Tomek Sowiński wrote: This wraps up a thread from a few days ago. Pascal featured my D examples on his Scriptometer site. http://rigaux.org/language-study/scripting-language/ D comes 17th out

Re: linker wrapper

2010-11-15 Thread bearophile
Kagamin: java and c# do use a linker (I suppose you just didn't use them). It's builtin, but still suffers from the same problems as traditional linkers. I generally try to talk only about the things I know something about, but I don't know enough about linkers yet, I am sorry. Bye,

Re: The D Scripting Language

2010-11-15 Thread bearophile
spir: I *want* my language of choice to let me write clear code -- During the design stages of Python3 I've even asked to remove those dirty boolean shortcuts of Python2 :-) Bye, bearophile

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread Manfred_Nowak
Jonathan M Davis wrote: Having public fields shadow each other is problematic. Detecting a problem requires having a model. What does your model look like? -manfred

Re: RFC, ensureHeaped

2010-11-15 Thread Steven Schveighoffer
On Sat, 13 Nov 2010 16:09:32 -0500, spir denis.s...@gmail.com wrote: On Sat, 13 Nov 2010 13:19:25 -0500 bearophile bearophileh...@lycos.com wrote: Steven Schveighoffer: Then you just wasted time duping that argument. Instead of a defensive dup, what if we had a function ensureHeaped

Re: One year of Go

2010-11-15 Thread Steven Schveighoffer
On Fri, 12 Nov 2010 18:26:53 -0500, div0 d...@sourceforge.net wrote: On 12/11/2010 21:42, Nick Sabalausky wrote: uriel_followerwasteyourt...@reddit.com wrote in message People who find generics worthwhile *don't use Go*. So of course the remaining Go users aren't going to miss them.

Re: RFC, ensureHeaped

2010-11-15 Thread Steven Schveighoffer
On Fri, 12 Nov 2010 20:33:37 -0500, Jonathan M Davis jmdavisp...@gmx.com wrote: On Friday, November 12, 2010 17:25:31 bearophile wrote: Jonathan M Davis: I'm not quite sure how that will work with scope going away though. This scope will not go away. What's the difference between this

TDPL bug or phobos bug?

2010-11-15 Thread flyinghearts
Page 8, in the example: import std.stdio, std.string; void main() { uint[string] dictionary; foreach (line; stdin.byLine()) { // Break sentence into words // Add each word in the sentence to the vocabulary foreach (word; splitter(strip(line))) { if (word in dictionary)

Re: std.regexp vs std.regex [Re: RegExp.find() now crippled]

2010-11-15 Thread Steve Teale
KennyTM~ Wrote: On Nov 15, 10 14:58, Steve Teale wrote: Some time ago in phobos2, the following: RegExp wsr = RegExp((\\s+)); int p = wsr.find(thingie att1=\whatever\); writefln(%s|%s|%s %d,wsr.pre(), wsr.match(1), wsr.post(), p); would print: thingie|

Re: The D Scripting Language

2010-11-15 Thread Per Ångström
On 2010-11-15 14:27, spir wrote: On Mon, 15 Nov 2010 13:15:50 +0100 Per Ångströmd-n...@autark.se wrote: string func(string s) { /++ // A handy feature of many scripting languages, but not in D // (in D, the type of the or-expression is bool): // The type of the

Re: std.regexp vs std.regex [Re: RegExp.find() now crippled]

2010-11-15 Thread Jesse Phillips
Steve Teale Wrote: I guess std.regexp is still there because not all of us necessarily want to iterate a range to simply find out the position of the first whitespace in a string. I'm pretty sure it is still there for the same reason many are, trying to figure out when it should be

Re: The D Scripting Language

2010-11-15 Thread Simen kjaeraas
Per Ångström d-n...@autark.se wrote: /++ Simulates type-returning or-expression +/ template or(T) { T _(T a, lazy T b) {T tmp = a; return tmp ? tmp : b;} } You should probably use a function template[1] or at least an eponymous template here: // function template: auto or( T )( T a,

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread Jonathan M Davis
On Monday, November 15, 2010 06:00:33 Manfred_Nowak wrote: Jonathan M Davis wrote: Having public fields shadow each other is problematic. Detecting a problem requires having a model. What does your model look like? You're going to have to be more specific in your question than that. It's

Re: RFC, ensureHeaped

2010-11-15 Thread Jonathan M Davis
On Monday, November 15, 2010 07:28:33 Steven Schveighoffer wrote: On Fri, 12 Nov 2010 20:33:37 -0500, Jonathan M Davis jmdavisp...@gmx.com wrote: On Friday, November 12, 2010 17:25:31 bearophile wrote: Jonathan M Davis: I'm not quite sure how that will work with scope going away though.

Re: RFC, ensureHeaped

2010-11-15 Thread Steven Schveighoffer
On Mon, 15 Nov 2010 13:36:42 -0500, Jonathan M Davis jmdavisp...@gmx.com wrote: On Monday, November 15, 2010 07:28:33 Steven Schveighoffer wrote: On Fri, 12 Nov 2010 20:33:37 -0500, Jonathan M Davis jmdavisp...@gmx.com wrote: On Friday, November 12, 2010 17:25:31 bearophile wrote:

Re: The D Scripting Language

2010-11-15 Thread Per Ångström
On 2010-11-15 18:40, Simen kjaeraas wrote: Per Ångström d-n...@autark.se wrote: /++ Simulates type-returning or-expression +/ template or(T) { T _(T a, lazy T b) {T tmp = a; return tmp ? tmp : b;} } You should probably use a function template[1] or at least an eponymous template here: //

Re: RFC, ensureHeaped

2010-11-15 Thread Jonathan M Davis
On Monday, November 15, 2010 10:45:06 Steven Schveighoffer wrote: Forgot completely about scope(failure|success|exit)... LOL. Whereas that's almost the only reason that I use the scope keyword - though the fact that it doesn't actually give you the exception means that I don't end up using

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread spir
On Mon, 15 Nov 2010 09:45:26 -0800 Jonathan M Davis jmdavisp...@gmx.com wrote: On Monday, November 15, 2010 06:00:33 Manfred_Nowak wrote: Jonathan M Davis wrote: Having public fields shadow each other is problematic. Detecting a problem requires having a model. What does your model

Type-safe channels (Re: One year of Go)

2010-11-15 Thread Graham Fawcett
On Fri, 12 Nov 2010 18:15:15 -0500, Sean Kelly wrote: To be honest, I haven't spent much time with Go because my cursory exposure to the language hasn't shown it to solve the problems I care about better than the languages I currently use. I think Go is in the right ballpark with channels

Re: TDPL bug or phobos bug?

2010-11-15 Thread Andrei Alexandrescu
On 11/15/10 7:31 AM, flyinghearts wrote: Page 8, in the example: import std.stdio, std.string; void main() { uint[string] dictionary; foreach (line; stdin.byLine()) { // Break sentence into words // Add each word in the sentence to the vocabulary foreach (word;

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread Jonathan M Davis
On Monday 15 November 2010 11:44:11 spir wrote: On Mon, 15 Nov 2010 09:45:26 -0800 Jonathan M Davis jmdavisp...@gmx.com wrote: On Monday, November 15, 2010 06:00:33 Manfred_Nowak wrote: Jonathan M Davis wrote: Having public fields shadow each other is problematic. Detecting a

Re: std.regexp vs std.regex [Re: RegExp.find() now crippled]

2010-11-15 Thread Andrei Alexandrescu
On 11/15/10 7:55 AM, Steve Teale wrote: KennyTM~ Wrote: On Nov 15, 10 14:58, Steve Teale wrote: Some time ago in phobos2, the following: RegExp wsr = RegExp((\\s+)); int p = wsr.find(thingie att1=\whatever\); writefln(%s|%s|%s %d,wsr.pre(), wsr.match(1), wsr.post(), p);

Re: std.regexp vs std.regex [Re: RegExp.find() now crippled]

2010-11-15 Thread Lutger Blijdestijn
Steve Teale wrote: KennyTM~ Wrote: On Nov 15, 10 14:58, Steve Teale wrote: Some time ago in phobos2, the following: RegExp wsr = RegExp((\\s+)); int p = wsr.find(thingie att1=\whatever\); writefln(%s|%s|%s %d,wsr.pre(), wsr.match(1), wsr.post(), p); would print:

Re: RFC, ensureHeaped

2010-11-15 Thread bearophile
Steven Schveighoffer: To have the language continually working against that goal is going to great for inexperienced programmers but hell for people trying to squeeze performance out of it. The experienced programmers may write scope int[] a..., and have no heap allocations. All the other

Re: The D Scripting Language

2010-11-15 Thread Daniel Murphy
Per Ångström d-n...@autark.se wrote in message news:ibr8bs$22m...@digitalmars.com... return s || default; I think allowing the second expression in the ternary operator to be omitted would be a better fit for D, and provide the same function. ie. auto x = a ? a : b; auto x = a ? : b; I

DDMD not update£¬why£¿

2010-11-15 Thread DOLIVE
Why do not you update it? GDC has been updated to dmd2.049 .

Re: forbid field name conflict in class hierarchy

2010-11-15 Thread Manfred_Nowak
Jonathan M Davis wrote: It becomes easy to end up in a situation where you're not using the one that you think that you're using Which means that the model one is thinking in, is inconsistent with the model used in fact. The OP used a model in which a name becomes invisible by redefinition

CTFE of yl2x() and other intrinsics

2010-11-15 Thread Lars T. Kyllingstad
I thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is this a bug that should be reported? -Lars

explore current scope, or other hack

2010-11-15 Thread spir
Hello, Is there a way to explore the current scope, meaning the set of currently defined symbols? (Equivalent of python's vars(), locals(), globals().) I have 2 use cases for this: 1. name objects automatically I need some objects to know their name (as field on themselves). the only solution

Re: CTFE of yl2x() and other intrinsics

2010-11-15 Thread div0
On 15/11/2010 12:12, div0 wrote: On 15/11/2010 11:00, Lars T. Kyllingstad wrote: I thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is this a bug that should be reported? -Lars Looks

Re: CTFE of yl2x() and other intrinsics

2010-11-15 Thread Lars T. Kyllingstad
On Mon, 15 Nov 2010 13:03:03 +, div0 wrote: On 15/11/2010 12:12, div0 wrote: On 15/11/2010 11:00, Lars T. Kyllingstad wrote: I thought that the compiler could evaluate all intrinsics at compile time, but this doesn't seem to be the case for std.math.yl2x(). Is my assumption wrong, or is

effect of a label on following block

2010-11-15 Thread Nick Voronin
Hello. Consider this code void main() { l: { int v; } v = 5; // ok, v is defined } As I understand from D's grammar this behaviour is not a bug as LabeledStatement: Identifier : NoScopeStatement and NoScopeStatement in turn takes BlockStatement without creating new scope.

Re: segfault

2010-11-15 Thread Steven Schveighoffer
On Sat, 13 Nov 2010 15:57:50 -0500, spir denis.s...@gmail.com wrote: On Fri, 12 Nov 2010 08:03:26 -0500 Steven Schveighoffer schvei...@yahoo.com wrote: Essentially, if you change your line above to: this.patterns = patterns.dup; Works, but I don't understand why: isn't the duplicate also

Re: Is there a way to forward-declare interfaces to avoid module interdependencies?

2010-11-15 Thread Steven Schveighoffer
On Sun, 14 Nov 2010 05:28:29 -0500, Per Ångström d-n...@autark.se wrote: On 2010-11-11 17:21, Steven Schveighoffer wrote: First, you can't forward-declare classes in one file that are defined in another file, instead of importing. The reason is because in D, the module is the namespace that

Re: effect of a label on following block

2010-11-15 Thread Ellery Newcomer
My gut feeling is that the if statement's behavior is wrong and the while statement's is correct, but it could go either way. No need for a rationale for what can be adequately explained as a compiler bug (this is a downside of dmd - it trains you to think like this) It is curious, though, as

Re: effect of a label on following block

2010-11-15 Thread Ellery Newcomer
poking around a little more and I really don't know what's going on. fun piece of trivia though: while loops get rewritten to for loops, so for(;;) l1 { int v; } v = 4; exhibits the same behavior as the while loop. do loops seem to do the same thing as the if statement On 11/15/2010 10:34

Re: effect of a label on following block

2010-11-15 Thread bearophile
Ellery Newcomer: No need for a rationale for what can be adequately explained as a compiler bug (this is a downside of dmd - it trains you to think like this) Or: Any sufficiently incomprehensible behaviour is indistinguishable from a DMD compiler bug :-) Bye, bearophile

Re: explore current scope, or other hack

2010-11-15 Thread bearophile
spir: 1. name objects automatically I need some objects to know their name (as field on themselves). the only solution I can else imagine is for the user write: x = ...; x.name = x; What if you have two or more references to the same object? Regarding your generic question,

==, is

2010-11-15 Thread Ellery Newcomer
quick question: are the following rewrites always valid: e1 != e2 - !(e1 == e2) e1 !is e2- !(e1 is e2) e1 !in e2- !(e1 in e2) ?

Re: ==, is

2010-11-15 Thread Steven Schveighoffer
On Mon, 15 Nov 2010 14:06:34 -0500, Ellery Newcomer ellery-newco...@utulsa.edu wrote: quick question: are the following rewrites always valid: e1 != e2 - !(e1 == e2) e1 !is e2- !(e1 is e2) e1 !in e2- !(e1 in e2) I believe this is in fact what the compiler does

Re: effect of a label on following block

2010-11-15 Thread div0
On 15/11/2010 16:45, Ellery Newcomer wrote: poking around a little more and I really don't know what's going on. fun piece of trivia though: while loops get rewritten to for loops, so for(;;) l1 { int v; } v = 4; exhibits the same behavior as the while loop. do loops seem to do the same

Re: ==, is

2010-11-15 Thread Ellery Newcomer
parser definitely does it for !in, but it doesn't for the other ones, and I didn't want to go digging all over the place for it. Also, spec says yes for !in, but is silent for the other ones On 11/15/2010 01:08 PM, Steven Schveighoffer wrote: On Mon, 15 Nov 2010 14:06:34 -0500, Ellery

Re: ==, is

2010-11-15 Thread Steven Schveighoffer
On Mon, 15 Nov 2010 14:36:33 -0500, Ellery Newcomer ellery-newco...@utulsa.edu wrote: parser definitely does it for !in, but it doesn't for the other ones, and I didn't want to go digging all over the place for it. Also, spec says yes for !in, but is silent for the other ones

Re: explore current scope, or other hack

2010-11-15 Thread spir
On Mon, 15 Nov 2010 12:44:24 -0500 bearophile bearophileh...@lycos.com wrote: spir: 1. name objects automatically I need some objects to know their name (as field on themselves). the only solution I can else imagine is for the user write: x = ...; x.name = x; What if you

Re: explore current scope, or other hack

2010-11-15 Thread Simen kjaeraas
spir denis.s...@gmail.com wrote: On Mon, 15 Nov 2010 12:44:24 -0500 bearophile bearophileh...@lycos.com wrote: spir: 1. name objects automatically I need some objects to know their name (as field on themselves). the only solution I can else imagine is for the user write: x = ...;

Re: ==, is

2010-11-15 Thread Ellery Newcomer
a while ago, I assumed that e1 += e2 gets rewritten as e1 = e1 + e2 Yeah. It doesn't. It doesn't even behave the same wrt erroneously typed arguments On 11/15/2010 02:35 PM, Jonathan M Davis wrote: As far as is, it doesn't explicitly say that rewriting is done, but, it does spell out that

Re: ==, is

2010-11-15 Thread Jonathan M Davis
On Monday 15 November 2010 12:40:43 Ellery Newcomer wrote: a while ago, I assumed that e1 += e2 gets rewritten as e1 = e1 + e2 Yeah. It doesn't. It doesn't even behave the same wrt erroneously typed arguments Well, that would potentially be two different set of operator overloads

Re: ==, is

2010-11-15 Thread Steven Schveighoffer
On Mon, 15 Nov 2010 15:40:43 -0500, Ellery Newcomer ellery-newco...@utulsa.edu wrote: a while ago, I assumed that e1 += e2 gets rewritten as e1 = e1 + e2 Yeah. It doesn't. It doesn't even behave the same wrt erroneously typed arguments I understand the care taken, but the spec gives

[Issue 4781] Segfault(mtype.c) with forward referenced typeof and .init

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4781 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2080] ICE(mangle.c) alias corrupts type inference of static variables

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2080 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3493] Segfault(cast.c) Forward reference with type inference, D1 only.

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3493 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 3293] ICE(expression.c) recursive alias template parameters

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3293 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4615] dmdscript no longer compiles

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4615 Don clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 4484] Warning for unreachable code in scope statements is too confusing

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4484 Jonathan M Davis jmdavisp...@gmx.com changed: What|Removed |Added Keywords||rejects-valid

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #83 from bearophile_h...@eml.cc 2010-11-15 04:43:23 PST --- (In reply to comment #82) Anyway, unfortunately DMD development model still sucks, it sucks much less than... let's say 2 years ago, but... Walter is willing to slowly

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #84 from Leandro Lucarella llu...@gmail.com 2010-11-15 04:47:48 PST --- (In reply to comment #83) (In reply to comment #82) Anyway, unfortunately DMD development model still sucks, it sucks much less than... let's say 2

[Issue 3749] cannot evaluate yl2x (log) and exp functions at compile time

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3749 --- Comment #8 from simon s.d.hamm...@googlemail.com 2010-11-15 05:27:01 PST --- Created an attachment (id=811) PATCH against rev 755 add support for yl2x, yl2xp1 Implements yl2x, yl2xp1 as builtins for DMC, VisualStudio. Needs implementation

[Issue 5205] D runtime duplication in zip

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5205 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC|

[Issue 5208] Inconsistency between src and import druntime files.

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5208 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #85 from bearophile_h...@eml.cc 2010-11-15 09:33:56 PST --- (In reply to comment #84) I (and others) already suggested him how to improve things, Keep suggesting those things. Sometimes you have to say something five times to

[Issue 3463] Integrate Precise Heap Scanning Into the GC

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3463 --- Comment #86 from Leandro Lucarella llu...@gmail.com 2010-11-15 09:44:18 PST --- (In reply to comment #85) (In reply to comment #84) I (and others) already suggested him how to improve things, Keep suggesting those things. Sometimes

[Issue 5093] improve error for importing std.c.windows.windows

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5093 --- Comment #3 from simon s.d.hamm...@googlemail.com 2010-11-15 11:03:49 PST --- Created an attachment (id=812) PATCH against rev 755: implement a module import backtrace for static assert Implements a module import back-trace for static

[Issue 5090] ICE(todt.c) struct literal initializing zero length array

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5090 simon s.d.hamm...@googlemail.com changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 5090] ICE(todt.c) struct literal initializing zero length array

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5090 --- Comment #3 from Iain Buclaw ibuc...@ubuntu.com 2010-11-15 12:11:09 PST --- Just under the duplicate union error is where to look iirc. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving

[Issue 4837] ICE(constfold.c) CTFE with =

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4837 simon s.d.hamm...@googlemail.com changed: What|Removed |Added Status|NEW |ASSIGNED

[Issue 4837] ICE(constfold.c) CTFE with =

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4837 --- Comment #2 from Don clugd...@yahoo.com.au 2010-11-15 12:39:53 PST --- (In reply to comment #1) Created an attachment (id=814) [details] PATCH against rev 755: remove superfluous asserts fixed, no idea why asserts where placed in there.

Re: [Issue 5093] improve error for importing std.c.windows.windows

2010-11-15 Thread Don
d-bugm...@puremagic.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=5093 --- Comment #3 from simon s.d.hamm...@googlemail.com 2010-11-15 11:03:49 PST --- Created an attachment (id=812) PATCH against rev 755: implement a module import backtrace for static assert Implements a module

Re: [Issue 5093] improve error for importing std.c.windows.windows

2010-11-15 Thread Don
Jonathan M Davis wrote: On Monday 15 November 2010 12:49:05 Don wrote: d-bugm...@puremagic.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=5093 --- Comment #3 from simon s.d.hamm...@googlemail.com 2010-11-15 11:03:49 PST --- Created an attachment (id=812) PATCH against rev 755:

[Issue 5212] Safer typesafe variadics

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5212 --- Comment #5 from bearophile_h...@eml.cc 2010-11-15 14:11:15 PST --- Extra note: It's a problem of perception: typesafe variadic arguments don't look like normal function arguments that you know are usually on the stack, they look like

[Issue 2809] Wrong constant folding for unsigned shift

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2809 simon s.d.hamm...@googlemail.com changed: What|Removed |Added CC|

[Issue 2809] Wrong constant folding for unsigned shift

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2809 --- Comment #4 from Don clugd...@yahoo.com.au 2010-11-15 15:06:34 PST --- (In reply to comment #3) Mr Bs test case is wrong: static assert((cast(short)-1 1) == int.max); should be: static assert((cast(short)-1 1) == short.max); Not

[Issue 5218] Can't implicitly convert from abcw to wchar[3]

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5218 Don clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #1 from

Re: [Issue 5093] improve error for importing std.c.windows.windows

2010-11-15 Thread Jonathan M Davis
On Monday, November 15, 2010 13:59:10 Don wrote: Jonathan M Davis wrote: On Monday 15 November 2010 12:49:05 Don wrote: d-bugm...@puremagic.com wrote: http://d.puremagic.com/issues/show_bug.cgi?id=5093 --- Comment #3 from simon s.d.hamm...@googlemail.com 2010-11-15 11:03:49 PST

[Issue 5220] Make std.conv.ConvError an Exception instead of an Error

2010-11-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5220 --- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2010-11-15 21:07:45 PST --- As noted by dsimcha on Phobos list, ConvError should be left as a deprecated alias to ConvException for a few releases to mitigate code breakage. --