Re: dmd 2.057 release

2012-01-02 Thread Caligo
Considering the rate at which bugs are being discovered and fixed, would it be possible to shorten the release cycle, say, every 2-3 weeks instead of 1-2 months?

Re: dmd and C++11

2012-01-02 Thread Mail Mantis
2012/1/2 Adam D. Ruppe destructiona...@gmail.com On Monday, 2 January 2012 at 01:14:43 UTC, Mail Mantis wrote: If I undestood you correctly... Potentially, yes, But, from syntactical point of view, is there any [...]

Re: Better distinguishing reference and value in the syntax?

2012-01-02 Thread Alex Rønne Petersen
On 02-01-2012 06:25, Gou Lingfeng wrote: D's definitions of is and == have so much redundency. That might indicate some flaw. If references and values (for classes and arrays) could be clearly distinguished in the syntax, the is operator is not necessary at all. Of course it is. 'is' is

Re: dmd and C++11

2012-01-02 Thread Alex Rønne Petersen
On 02-01-2012 01:15, Sean Cavanaugh wrote: On 12/29/2011 10:16 AM, Trass3r wrote: On Thursday, 29 December 2011 at 16:00:47 UTC, Vladimir Panteleev wrote: On Thursday, 29 December 2011 at 15:58:55 UTC, Trass3r wrote: What's the stance on using C++11 features in the dmd source code in the

std.math.abs(int.min) == int.min?

2012-01-02 Thread Jens Mueller
Hi, in 2's complement the value T.min is special because its inverse is itself. I'm using std.math.abs which computes the inverse using the unary operator -. That's why it holds assert(std.math.abs(int.min) == int.min) Which is on one hand a bit strange because I'd expect the absolute of a

Discussion on D at archlinux.org

2012-01-02 Thread Andrei Alexandrescu
https://bbs.archlinux.org/viewtopic.php?pid=1034979 Andrei

Re: Database developer's gentle view on D.

2012-01-02 Thread bls
On 01/01/2012 10:49 AM, Adam D. Ruppe wrote: On Sunday, 1 January 2012 at 04:28:45 UTC, bls wrote: WEB Development is for sure doable in D, reusable Frameworks are nevertheless AFAIK not available. What kind of features did you have in mind for this? Hi Adam, first of all: A happy and

Re: Database developer's gentle view on D.

2012-01-02 Thread bls
On 01/01/2012 07:02 AM, Steve Teale wrote: On Sat, 31 Dec 2011 20:28:43 -0800, bls wrote: Not yet available. In case that Steve Teale (and he did a dammed good Job, as well as Piotr) will add std.database this will not change the situation significantly. 'Cause std.database will contain

Re: Database developer's gentle view on D.

2012-01-02 Thread bls
On 01/01/2012 12:22 AM, Jimmy Cao wrote: GUI library for Windows. Pretty easy to use. ... and should be named Forms4D I definitely like this library. Pretty straight OOP, Each DOTNET Forms developer will immediately feel at home. New liberal license. Just cool!

Re: Happy New Year in 2012....

2012-01-02 Thread bls
On 12/31/2011 09:34 PM, Andrei Alexandrescu wrote: to the entire D community! Andrei And from France. A successful new year to all of you. Bjoern

dmd testsuite naming scheme

2012-01-02 Thread Trass3r
Is there any pattern in the testsuite organization? There are loads of test[0-9]+. files etc. And folders are only used to group compilable/runnable... I honestly wouldn't know where to add or search for a test case.

Names of C functions exported from a dll

2012-01-02 Thread Martin Drasar
Hi everybody, I wanted to ask if there is any specific reason why the name of the first C function exported from a dll starts with underscore and any subsequesnt name does not. Regards, Martin Disclaimer: I have already posted this as a subquestion in one D-Learn thread, but it did not get

Re: Discussion on D at archlinux.org

2012-01-02 Thread bls
On 01/02/2012 08:15 AM, Andrei Alexandrescu wrote: https://bbs.archlinux.org/viewtopic.php?pid=1034979 Andrei C will reign supreme forever. Feedback : - Oh cool, a talking dinosaur :) Thanks man.

Re: Names of C functions exported from a dll

2012-01-02 Thread Martin Nowak
On Mon, 02 Jan 2012 14:06:36 +0100, Martin Drasar dra...@ics.muni.cz wrote: Hi everybody, I wanted to ask if there is any specific reason why the name of the first C function exported from a dll starts with underscore and any subsequesnt name does not. Regards, Martin Disclaimer: I

Re: Names of C functions exported from a dll

2012-01-02 Thread Rainer Schuetze
I think this is a linker bug: http://d.puremagic.com/issues/show_bug.cgi?id=3956 A workaround is to list the names in the linker definition file. On 02.01.2012 14:06, Martin Drasar wrote: Hi everybody, I wanted to ask if there is any specific reason why the name of the first C function

Ideas for runtime loading of shared libraries.

2012-01-02 Thread Martin Nowak
I think that I'll defer the support for runtime loading of shared library (plugins) in favor of getting linked shared library support done now. There are several issues that require more thoughts. - Per-thread initialization of modules is somewhat tricky. Doing it in Runtime.loadLibrary

Re: Ideas for runtime loading of shared libraries.

2012-01-02 Thread Jacob Carlborg
On 2012-01-02 20:20, Martin Nowak wrote: I think that I'll defer the support for runtime loading of shared library (plugins) in favor of getting linked shared library support done now. There are several issues that require more thoughts. - Per-thread initialization of modules is somewhat

Re: Happy New Year in 2012....

2012-01-02 Thread Nick Sabalausky
I'm a day late, but Happy Hangover Day!

Re: The God Language

2012-01-02 Thread Nick Sabalausky
maarten van damme maartenvd1...@gmail.com wrote in message news:mailman.1985.1325157846.24802.digitalmar...@puremagic.com... I think it would be an object oriented language, I'm a believer in the string theory :) I heard on the Science Channel that M-theory was becoming favored over string

Re: The God Language

2012-01-02 Thread Jonathan M Davis
On Thursday, December 29, 2011 12:23:47 maarten van damme wrote: I think it would be an object oriented language, I'm a believer in the string theory :) Well, if you want to discuss string theory... http://xkcd.com/171/ http://xkcd.com/397/ :) - Jonathan M Davis

Re: System programming in D (Was: The God Language)

2012-01-02 Thread Nick Sabalausky
Andrei Alexandrescu seewebsiteforem...@erdani.org wrote in message news:jdilar$k66$1...@digitalmars.com... On 12/29/11 2:29 PM, Walter Bright wrote: On 12/29/2011 11:47 AM, Walter Bright wrote: On 12/29/2011 3:19 AM, Vladimir Panteleev wrote: I'd like to invite you to translate Daniel Vik's C

D Feed Feature request : Message SuperDan ification

2012-01-02 Thread bls
Maybe it's just me but I really miss SuperDan ... respective all his incarnations. SuperDanification is indeed not a piece of cake. I think we could see this as Natural language to DSL translation problem Which could lead us, (being positive this year) to a programming paradigm not yet

Re: Ideas for runtime loading of shared libraries.

2012-01-02 Thread Martin Nowak
On Mon, 02 Jan 2012 20:38:50 +0100, Jacob Carlborg d...@me.com wrote: On 2012-01-02 20:20, Martin Nowak wrote: I think that I'll defer the support for runtime loading of shared library (plugins) in favor of getting linked shared library support done now. There are several issues that require

Re: The God Language

2012-01-02 Thread Simen Kjærås
On Thu, 29 Dec 2011 21:08:29 +0100, FeepingCreature default_357-l...@yahoo.de wrote: On 12/29/11 19:27, Walter Bright wrote: On 12/29/2011 2:15 AM, Caligo wrote: If there is a God (I'm not saying there isn't, and I'm not saying there is), what language would he choose to create the

Re: Names of C functions exported from a dll

2012-01-02 Thread Martin Drašar
Dne 2.1.2012 19:52, Martin Nowak napsal(a): Do you mean exported by dmd? AFAIK on Windows cdecl function names are prefixed with an underscore. Yes, dmd v2.057 This code: import std.c.windows.windows; import core.sys.windows.dll; export extern (C) void fn1() {} export extern (C) void fn2()

Re: Names of C functions exported from a dll

2012-01-02 Thread Martin Drašar
Dne 2.1.2012 20:02, Rainer Schuetze napsal(a): I think this is a linker bug: http://d.puremagic.com/issues/show_bug.cgi?id=3956 A workaround is to list the names in the linker definition file. Hi, thanks for the answer. It really looks like that bug... Am I the only one who regularly has

Re: System programming in D (Was: The God Language)

2012-01-02 Thread Nick Sabalausky
Timon Gehr timon.g...@gmx.ch wrote in message news:jdlbpq$2b7e$1...@digitalmars.com... What the template 'X' currently achieves is an improvement in syntax: string generated = foo!\~x~\(\~bar(y)~\); Ewww, who in the world uses double-quote strings for code containing quotes? That's not a

Re: System programming in D (Was: The God Language)

2012-01-02 Thread Timon Gehr
On 01/02/2012 11:07 PM, Nick Sabalausky wrote: Timon Gehrtimon.g...@gmx.ch wrote in message news:jdlbpq$2b7e$1...@digitalmars.com... What the template 'X' currently achieves is an improvement in syntax: string generated = foo!\~x~\(\~bar(y)~\); Ewww, who in the world uses double-quote

Re: The God Language

2012-01-02 Thread Timon Gehr
On 01/02/2012 09:00 PM, Nick Sabalausky wrote: maarten van dammemaartenvd1...@gmail.com wrote in message news:mailman.1985.1325157846.24802.digitalmar...@puremagic.com... I think it would be an object oriented language, I'm a believer in the string theory :) I heard on the Science Channel

Re: The God Language

2012-01-02 Thread Caligo
On Mon, Jan 2, 2012 at 4:29 PM, Timon Gehr timon.g...@gmx.ch wrote: On 01/02/2012 09:00 PM, Nick Sabalausky wrote: maarten van dammemaartenvd1...@gmail.com** wrote in message news:mailman.1985.1325157846.**24802.digitalmars-d@puremagic.**com... I think it would be an object oriented

Vim syntax file for the D programming language

2012-01-02 Thread Andrei Alexandrescu
Just found this: http://pastebin.com/XPHS845M Andrei

Re: Vim syntax file for the D programming language

2012-01-02 Thread Andrej Mitrovic
Just found this: https://github.com/he-the-great/d.vim

Re: Database developer's gentle view on D.

2012-01-02 Thread Walter Bright
On 1/1/2012 7:02 AM, Steve Teale wrote: Even being retired does not mean there's nothing else to do but D library components. Steve, Happy New Year! Now get back to work! g

Re: dmd testsuite naming scheme

2012-01-02 Thread Walter Bright
On 1/2/2012 9:58 AM, Trass3r wrote: Is there any pattern in the testsuite organization? No. There are loads of test[0-9]+. files etc. And folders are only used to group compilable/runnable... I honestly wouldn't know where to add or search for a test case. It doesn't really matter where

Re: Happy New Year in 2012....

2012-01-02 Thread Walter Bright
On 12/31/2011 9:34 PM, Andrei Alexandrescu wrote: to the entire D community! New Zealand Tanzania Japan Russia France U.S. D is taking over zee vorld!!! Mua-hah-ha-ha!

Re: Happy New Year in 2012....

2012-01-02 Thread Walter Bright
On 1/1/2012 8:02 AM, Don wrote: Just one or two more merged pull requests would have pushed Walter below 50%. Awesome. KIRK: I’m losing command. I’m losing the Enterprise. The ship is sailing on and on. I’m alone. Alone. Alone. I’m losing command.

Re: Happy New Year in 2012....

2012-01-02 Thread Brad Roberts
On Sun, 1 Jan 2012, Don wrote: On 01.01.2012 09:40, Caligo wrote: Top 10 Authors: Walter Bright1440 (50.07%) Don Clugston541 (18.81%) Brad Roberts402 (13.98%) k-hara221 (7.68%) Daniel Murphy70 (2.43%) dawg63 (2.19%) KennyTM~29 (1.01%) Shahid19 (0.66%) David Nadlinger19

Incompatible libphobos2.a?

2012-01-02 Thread Andre Tampubolon
I just built both 32 64 bit DMD. The 32 bit works fine, but the 64 bit not. I always get this: /usr/bin/ld: skipping incompatible /home/anta40/Digital-Mars/dmd-dev/lib64/libphobos2.a when searching for -lphobos2 Every time I build 64 bit phobos, I always make sure that it is the 64 bit dmd that

Re: D1 D2 discrepancy

2012-01-02 Thread Jesse Phillips
On Sat, 24 Dec 2011 01:45:56 +0100, Łukasz Wrzosek wrote: writefln should be replaced with writeln and it works on d2 too. D1 does not have a writeln function: http://digitalmars.com/d/1.0/phobos/std_stdio.html

Re: Cannot find libphobos2.a ?

2012-01-02 Thread Jesse Phillips
On Tue, 27 Dec 2011 21:29:26 +0700, Andre Tampubolon wrote: I just successfully built dmd, druntime, and phobos from the git tree. Later I tried using this command to build a simple D program, and failed: ~/Digital-Mars/dmd/src/dmd -I~/Digital-Mars/druntime/import -I~/DigitalMars/phobos

Re: SCons support for D

2012-01-02 Thread Danni Coy
Premake has good support for cross compilation - Which makes it possible to use it to build executables for game consoles for instance. CMake can't really do this (with some ugly hacks you can get close). On the other hand Premake doesn't handle installation on a Linux/BSD system really at all -

Re: Better distinguishing reference and value in the syntax?

2012-01-02 Thread Gou Lingfeng
On Mon, 2012-01-02 at 13:18 +0100, Alex Rønne Petersen wrote: On 02-01-2012 06:25, Gou Lingfeng wrote: D's definitions of is and == have so much redundency. That might indicate some flaw. If references and values (for classes and arrays) could be clearly distinguished in the syntax, the is

Re: Better distinguishing reference and value in the syntax?

2012-01-02 Thread Timon Gehr
On 01/03/2012 06:10 AM, Gou Lingfeng wrote: On Mon, 2012-01-02 at 13:18 +0100, Alex Rønne Petersen wrote: On 02-01-2012 06:25, Gou Lingfeng wrote: D's definitions of is and == have so much redundency. That might indicate some flaw. If references and values (for classes and arrays) could be

Re: Better distinguishing reference and value in the syntax?

2012-01-02 Thread Chad J
On 01/03/2012 12:10 AM, Gou Lingfeng wrote: On Mon, 2012-01-02 at 13:18 +0100, Alex Rønne Petersen wrote: On 02-01-2012 06:25, Gou Lingfeng wrote: D's definitions of is and == have so much redundency. That might indicate some flaw. If references and values (for classes and arrays) could be

Re: Better distinguishing reference and value in the syntax?

2012-01-02 Thread Gou Lingfeng
On Tue, 2012-01-03 at 06:43 +0100, Timon Gehr wrote: On 01/03/2012 06:10 AM, Gou Lingfeng wrote: On Mon, 2012-01-02 at 13:18 +0100, Alex Rønne Petersen wrote: On 02-01-2012 06:25, Gou Lingfeng wrote: D's definitions of is and == have so much redundency. That might indicate some flaw. If

Re: The God Language

2012-01-02 Thread J Arrizza
and I'm pretty sure there is no garbage collector included in gods language :p Are you sure? There is good evidence he strongly prefers gc's. Consider almost all insects; consider dung beetles specifically. Consider super novas, gravity and accretion disks. Consider Disney and the Circle of

Re: Ideas for runtime loading of shared libraries.

2012-01-02 Thread Jacob Carlborg
On 2012-01-02 21:57, Martin Nowak wrote: Then also unload all this when the library is unloaded. It seems that libraries can't be unloaded deterministically, because GC finalization still references them. Could you elaborate this, I guess I'm not really familiar with the GC finalization.

Re: Ideas for runtime loading of shared libraries.

2012-01-02 Thread Jacob Carlborg
On 2012-01-02 21:57, Martin Nowak wrote: On Mon, 02 Jan 2012 20:38:50 +0100, Jacob Carlborg d...@me.com wrote: On 2012-01-02 20:20, Martin Nowak wrote: I think that I'll defer the support for runtime loading of shared library (plugins) in favor of getting linked shared library support done

Re: SCons support for D

2012-01-02 Thread Gour
On Tue, 3 Jan 2012 14:37:36 +1000 Danni Coy danni@gmail.com wrote: Premake has good support for cross compilation - Which makes it possible to use it to build executables for game consoles for instance. CMake can't really do this (with some ugly hacks you can On the other hand Premake

Re: The God Language

2012-01-02 Thread Gour
On Mon, 02 Jan 2012 23:29:17 +0100 Timon Gehr timon.g...@gmx.ch wrote: God cannot be omnipotent. If he was, he could invent a task he cannot solve. Wrong. He is not static, but dynamic, so He can invent a task he cannot solve, but in the next moment he can solve it. ;) Sincerely, Gour --

Re: The God Language

2012-01-02 Thread Timon Gehr
On 01/03/2012 08:26 AM, Gour wrote: On Mon, 02 Jan 2012 23:29:17 +0100 Timon Gehrtimon.g...@gmx.ch wrote: God cannot be omnipotent. If he was, he could invent a task he cannot solve. Wrong. He is not static, but dynamic, so He can invent a task he cannot solve, but in the next moment he can

Re: The God Language

2012-01-02 Thread Gour
On Tue, 03 Jan 2012 08:31:33 +0100 Timon Gehr timon.g...@gmx.ch wrote: I meant he can invent a task he will never be able to solve. ;) Nah...those are just side-effects, iow. noise. :-D Sincerely, Gour -- But those who, out of envy, disregard these teachings and do not follow them are to

Nightly builds

2012-01-02 Thread simendsjo
Is it possible for the autotester to allow downloading the latest build that passed testing?

rvalue references template ?

2012-01-02 Thread Joshua Reusch
Is it possible to create a template turning any value into a lvalue? This would be helpful if a function expects a reference but you dont need the result of the change: ///decode(S)(in S str, ref size_t index); auto c = std.utf.decode(some_string, lval!0);

Re: rvalue references template ?

2012-01-02 Thread Timon Gehr
On 01/02/2012 03:02 PM, Joshua Reusch wrote: Is it possible to create a template turning any value into a lvalue? This would be helpful if a function expects a reference but you dont need the result of the change: ///decode(S)(in S str, ref size_t index); auto c = std.utf.decode(some_string,

Re: rvalue references template ?

2012-01-02 Thread Simen Kjærås
On Mon, 02 Jan 2012 15:02:30 +0100, Joshua Reusch yos...@arkandos.de wrote: Is it possible to create a template turning any value into a lvalue? This would be helpful if a function expects a reference but you dont need the result of the change: ///decode(S)(in S str, ref size_t index);

Re: rvalue references template ?

2012-01-02 Thread Joshua Reusch
Am 02.01.2012 22:13, schrieb Simen Kjærås: On Mon, 02 Jan 2012 15:02:30 +0100, Joshua Reusch yos...@arkandos.de wrote: Is it possible to create a template turning any value into a lvalue? This would be helpful if a function expects a reference but you dont need the result of the change:

Array of array

2012-01-02 Thread RenatoL
auto r = new int[][5]; this is ok auto r = new int[][]; this is not ok Error: new can only create structs, dynamic arrays or class objects , not int[][]'s why?

Re: Array of array

2012-01-02 Thread Timon Gehr
On 01/02/2012 11:04 PM, RenatoL wrote: auto r = new int[][5]; this is ok auto r = new int[][]; this is not ok Error: new can only create structs, dynamic arrays or class objects , not int[][]'s why? What would you expect the code to do? What you are trying to achieve is similar to: class

Re: Array of array

2012-01-02 Thread RenatoL
Just curious... the answer of the compiler it's a bit unclear to me... T[] is a dynamic array of type T. T[][] is a dynamic array of T[]. But this doesn't work. Why?

Re: Array of array

2012-01-02 Thread Timon Gehr
On 01/02/2012 11:21 PM, RenatoL wrote: Just curious... the answer of the compiler it's a bit unclear to me... T[] is a dynamic array of type T. T[][] is a dynamic array of T[]. But this doesn't work. Why? It does work. Why do you think it does not? T[] a; // ok T[][] b;

Hole of new? (Re: Array of array)

2012-01-02 Thread Mafi
Am 02.01.2012 23:33, schrieb Timon Gehr: On 01/02/2012 11:21 PM, RenatoL wrote: Just curious... the answer of the compiler it's a bit unclear to me... T[] is a dynamic array of type T. T[][] is a dynamic array of T[]. But this doesn't work. Why? It does work. Why do you think it does not?

Re: Array of array

2012-01-02 Thread RenatoL
I have: auto r = new int[][]; Error: new can only create structs, dynamic arrays or class objects , not int[][]'s while auto r = new int[][3]; is ok.

Re: Array of array

2012-01-02 Thread Timon Gehr
On 01/03/2012 12:03 AM, RenatoL wrote: I have: auto r = new int[][]; Error: new can only create structs, dynamic arrays or class objects , not int[][]'s while auto r = new int[][3]; is ok. new int[][3] is an alternate form of new int[][](3); new int[][3] allocates an int[][] with 3

Re: Hole of new? (Re: Array of array)

2012-01-02 Thread Timon Gehr
On 01/03/2012 12:02 AM, Mafi wrote: Am 02.01.2012 23:33, schrieb Timon Gehr: On 01/02/2012 11:21 PM, RenatoL wrote: Just curious... the answer of the compiler it's a bit unclear to me... T[] is a dynamic array of type T. T[][] is a dynamic array of T[]. But this doesn't work. Why? It does

Re: Array of array

2012-01-02 Thread Matej Nanut
On 3 January 2012 00:27, Timon Gehr timon.g...@gmx.ch wrote: On 01/03/2012 12:03 AM, RenatoL wrote: I have: auto r = new int[][]; Error: new can only create structs, dynamic arrays or class objects , not int[][]'s while auto r = new int[][3]; is ok. new int[][3] is an alternate

Re: Array of array

2012-01-02 Thread Manfred Nowak
RenatoL wrote: Error: new can only create structs, dynamic arrays or class objects, not int[][]'s There is an error in the error message: new can only create _static_ arrays. -manfred

Re: Array of array

2012-01-02 Thread Jonathan M Davis
On Monday, January 02, 2012 23:49:36 Manfred Nowak wrote: RenatoL wrote: Error: new can only create structs, dynamic arrays or class objects, not int[][]'s There is an error in the error message: new can only create _static_ arrays. Um no. new is used for creating _dynamic_ arrays, not

Re: Array of array

2012-01-02 Thread Timon Gehr
On 01/03/2012 12:46 AM, Matej Nanut wrote: On 3 January 2012 00:27, Timon Gehr timon.g...@gmx.ch mailto:timon.g...@gmx.ch wrote: On 01/03/2012 12:03 AM, RenatoL wrote: I have: auto r = new int[][]; Error: new can only create structs, dynamic arrays or class

Re: Mixing D and C - Windows

2012-01-02 Thread DNewbie
Thank you both. I've created a D DLL [http://dlang.org/dll.html], then I've loaded it from a C program [compiled with dmc]. However, I'd want to be able to call it from a C program compiled with MSVC, and I got a link error - unresolved external symbol [link testdll.obj /implib:mydll.lib

Re: Array of array

2012-01-02 Thread Manfred Nowak
Jonathan M Davis wrote: new is used for creating _dynamic_ arrays, not static arrays. Correct, my fault. I meant something like statically initialized dynamic, because `new' currently needs an `uint' number to allocate some space for the elements of the outermost array. The posting shows,

Re: Mixing D and C - Windows

2012-01-02 Thread Mike Parker
On 1/3/2012 10:02 AM, DNewbie wrote: Thank you both. I've created a D DLL [http://dlang.org/dll.html], then I've loaded it from a C program [compiled with dmc]. However, I'd want to be able to call it from a C program compiled with MSVC, and I got a link error - unresolved external symbol

Re: Mixing D and C - Windows

2012-01-02 Thread Andrej Mitrovic
Maybe I'm wrong, but IIRC objconv won't work on import libs. But there are other ways to do it: http://support.microsoft.com/kb/131313

Re: Mixing D and C - Windows

2012-01-02 Thread DNewbie
Resolved. Thanks everyone. On Tue, Jan 3, 2012, at 04:49 AM, Andrej Mitrovic wrote: Maybe I'm wrong, but IIRC objconv won't work on import libs. But there are other ways to do it: http://support.microsoft.com/kb/131313 -- D

[Issue 7106] DMD Segmentation faults!

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7106 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 7120] Scope Delegates + Delegate Literals

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7120 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch --- Comment #1

[Issue 7174] Cannot use property function call as static if condition

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7174 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid

[Issue 7196] Unfair function address overload resolution

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7196 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid

[Issue 4976] Can't use auto on const member functions.

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4976 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 7196] Unfair function address overload resolution

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7196 Stewart Gordon s...@iname.com changed: What|Removed |Added CC||s...@iname.com ---

[Issue 7196] Unfair function address overload resolution

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7196 --- Comment #3 from Kenji Hara k.hara...@gmail.com 2012-01-02 03:19:13 PST --- (In reply to comment #2) This is strange - issue 52 is marked as fixed, so why does it still EVER pick the wrong instance? This problem is only when the caller of

[Issue 7073] Parsing of class-returning varargs function inside module ctor fails

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7073 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||patch, rejects-valid

[Issue 4349] Deprecate automatic case fallthrough

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4349 bearophile_h...@eml.cc changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7198] New: Delegate literals with nameless arguments fail to infer a type

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7198 Summary: Delegate literals with nameless arguments fail to infer a type Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords:

[Issue 7198] Delegate literals with nameless arguments fail to infer a type

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7198 --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-01-02 05:35:59 PST --- I guess the trouble is that the delegate argument Widget is interpreted as a parameter name, not the type. Using int instead of Widget compiles. Yes, you're right.

[Issue 7198] Delegate literals with nameless arguments fail to infer a type

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7198 Jacob Carlborg d...@me.com changed: What|Removed |Added CC||d...@me.com --- Comment

[Issue 7199] New: std.string.indexof cannot be compiled with -inline

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7199 Summary: std.string.indexof cannot be compiled with -inline Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid

[Issue 7198] Delegate literals with nameless arguments fail to infer a type

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7198 --- Comment #6 from Rainer Schuetze r.sagita...@gmx.de 2012-01-02 07:44:36 PST --- Ok, I understand. There are already a number of situation where the decision Type/Variable is deferred to the semantic phase. Would it be possible to do the

[Issue 7198] Delegate literals with nameless arguments fail to infer a type

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7198 --- Comment #7 from Jacob Carlborg d...@me.com 2012-01-02 09:09:00 PST --- (In reply to comment #5) (In reply to comment #4) (In reply to comment #3) (I don't actually know why we have unnamed parameters at all; most modern languages

[Issue 7200] New: Array append causes Access Violation with symbolic debug info

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7200 Summary: Array append causes Access Violation with symbolic debug info Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords:

[Issue 7201] New: Lambda template assignment to variable

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7201 Summary: Lambda template assignment to variable Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 7202] New: Hole in type system still present for delegates

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7202 Summary: Hole in type system still present for delegates Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Keywords: accepts-invalid Severity:

[Issue 7196] Unfair function address overload resolution

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7196 --- Comment #4 from timon.g...@gmx.ch 2012-01-02 11:47:18 PST --- (In reply to comment #3) (In reply to comment #2) This is strange - issue 52 is marked as fixed, so why does it still EVER pick the wrong instance? This problem is

[Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems.

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5813 --- Comment #15 from Rob Jacques sandf...@jhu.edu 2012-01-02 12:02:40 PST --- Vladimir, the code in https://github.com/CyberShadow/ae/blob/master/utils/appender.d seems to be under the MPL, which isn't Phobos compatible. What license is the

[Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems.

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5813 --- Comment #16 from Vladimir Panteleev thecybersha...@gmail.com 2012-01-02 12:10:18 PST --- (In reply to comment #15) Vladimir, the code in https://github.com/CyberShadow/ae/blob/master/utils/appender.d seems to be under the MPL, which

[Issue 7203] New: Method pointer types differ depending on context

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7203 Summary: Method pointer types differ depending on context Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 7204] New: [CTFE] Assertion failure when attempting to access function pointer of delegate

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7204 Summary: [CTFE] Assertion failure when attempting to access function pointer of delegate Product: D Version: D2 Platform: Other OS/Version: All Status: NEW

[Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems.

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5813 --- Comment #17 from Rob Jacques sandf...@jhu.edu 2012-01-02 13:16:19 PST --- That said, I did write a faster chained appender for your benchmarks; however I did this by initializing the appender with a page of memory, which definitely

[Issue 5813] [patch] std.array.Appender has severe performance and memory leak problems.

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5813 --- Comment #18 from Vladimir Panteleev thecybersha...@gmail.com 2012-01-02 13:32:01 PST --- (In reply to comment #17) For part 1 (fastest possible 'chained' appender): Simply construct specifying a large number of elements. i.e. auto app

[Issue 7205] New: Function attribute inference fails in case of mutual dependencies

2012-01-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7205 Summary: Function attribute inference fails in case of mutual dependencies Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity:

  1   2   >