View mode: basic / threaded / horizontal-split · Log in · Help
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On 2012-12-11 00:47, Walter Bright wrote:

> We've debated this feature at length in various threads. It's under
> heavy use by some people. It does not break any existing code. I don't
> see any unresolved issue that should delay its incorporation.

We don't want to have a half working feature, regardless if it breaks 
any other code or not.

-- 
/Jacob Carlborg
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
11.12.2012 3:01, Walter Bright пишет:
> On 12/10/2012 8:28 AM, Denis Shelomovskij wrote:
>> This was the result of DustMite-ing my sources:
>> http://d.puremagic.com/issues/show_bug.cgi?id=6296
>>
>> Currently the bug state is a bit confusing. It is a regression (but I
>> didn't
>> mark it that way, only write in description, sorry) but is resolved as a
>> duplicate of a non-regression unfixed bug 4269. It was a small war
>> between
>> "regression" and "normal" state of 4269 and now it is marked as "normal".
>
>
> It isn't a regression, and the test cases you reported work in D1 and D2.
>

How can I suppress DMD "abnormal program termination" pop-up when 
launched with "dmd ... 2>&1"?

DustMite's code:
https://github.com/CyberShadow/DustMite/wiki/Suppressing-DMD-crashes
fails in this call: "FindWindowExA(h, null, "Button", "OK");"

-- 
Денис В. Шеломовский
Denis V. Shelomovskij
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On 12/11/2012 12:08 AM, Denis Shelomovskij wrote:
> How can I suppress DMD "abnormal program termination" pop-up when launched with
> "dmd ... 2>&1"?
>
> DustMite's code:
> https://github.com/CyberShadow/DustMite/wiki/Suppressing-DMD-crashes
> fails in this call: "FindWindowExA(h, null, "Button", "OK");"
>

dmd never calls FindWindowExA.
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
11.12.2012 12:25, Walter Bright пишет:
> On 12/11/2012 12:08 AM, Denis Shelomovskij wrote:
>> How can I suppress DMD "abnormal program termination" pop-up when
>> launched with
>> "dmd ... 2>&1"?
>>
>> DustMite's code:
>> https://github.com/CyberShadow/DustMite/wiki/Suppressing-DMD-crashes
>> fails in this call: "FindWindowExA(h, null, "Button", "OK");"
>>
>
> dmd never calls FindWindowExA.

I didn't write that dmd calls FindWindowExA!

-- 
Денис В. Шеломовский
Denis V. Shelomovskij
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On 2012-12-10 23:15, Walter Bright wrote:

> The syntax will be:
>
>     @(attributes)
>
> and:
>
>     @identifier
>
> although the latter isn't implemented yet.

Pull 1395.

struct Foo1 {}
@Foo int x1;

struct Foo2 (string bar) {}
@Foo!"asd" int x2;
@Foo!("asd") int x22;

struct Foo3 (string bar) { int a; }
@Foo!"asd"(3) int x3;
@Foo!("asd")(3) int x32;

https://github.com/D-Programming-Language/dmd/pull/1365

-- 
/Jacob Carlborg
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On 2012-12-11 00:19, Max Samukha wrote:

> Probably it should. Single parametrized attributes (in the form of
> templates or CTFE constructors) are very likely to occur as often (if
> not more often) as parameterless (as they do in C#, for example).

I've just made a pull request, see:

http://forum.dlang.org/thread/ka3amp$12j$1@digitalmars.com?page=6#post-ka6t8a:241khj:241:40digitalmars.com

-- 
/Jacob Carlborg
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
Am 11.12.2012 09:25, schrieb Walter Bright:
> On 12/11/2012 12:08 AM, Denis Shelomovskij wrote:
>> How can I suppress DMD "abnormal program termination" pop-up when launched with
>> "dmd ... 2>&1"?
>>
>> DustMite's code:
>> https://github.com/CyberShadow/DustMite/wiki/Suppressing-DMD-crashes
>> fails in this call: "FindWindowExA(h, null, "Button", "OK");"
>>
>
> dmd never calls FindWindowExA.
>

this "tools" just tries to find and close the maybe popping up "access 
violation" window when compiling with dmd
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On Tuesday, 11 December 2012 at 09:10:30 UTC, Jacob Carlborg 
wrote:
> On 2012-12-11 00:19, Max Samukha wrote:
>
>> Probably it should. Single parametrized attributes (in the 
>> form of
>> templates or CTFE constructors) are very likely to occur as 
>> often (if
>> not more often) as parameterless (as they do in C#, for 
>> example).
>
> I've just made a pull request, see:
>
> http://forum.dlang.org/thread/ka3amp$12j$1@digitalmars.com?page=6#post-ka6t8a:241khj:241:40digitalmars.com

Great! I'll try it out later.
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On 10 December 2012 00:33, Walter Bright <newshound2@digitalmars.com> wrote:
> It's time to do a release; to that end we should be working on tidying up
> the regressions.
>
> This will be the last official D1 release.

I foresee that this release will be the biggest pain in the ass to
merge downstream into GDC. I wonder if David on LDC's side shares the
same concern...


-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
December 11, 2012
Re: Moving towards D2 2.061 (and D1 1.076)
On 12/11/2012 5:37 AM, Iain Buclaw wrote:
> I foresee that this release will be the biggest pain in the ass to
> merge downstream into GDC. I wonder if David on LDC's side shares the
> same concern...

Why?
2 3 4 5 6 7 8 9 10
Top | Discussion index | About this forum | D home