[Issue 15644] Change object layout ABI to MI style

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15644] Change object layout ABI to MI style

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a54e89ddb515821f31dba19f80a5fbee2843096e
fix Issue 15644 - Switch object layout ABI to MI style

https://github.com/D-Programming-Language/dmd/commit/708f17460373fccc94f337249296f18b38e060ff
Merge pull request #5397 from WalterBright/changeToMiLayout

fix Issue 15644 - Switch object layout ABI to MI style

--


[Issue 15480] std.algorithm.iteration.map not accepting multiple lambdas

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15480

thomas.bock...@gmail.com changed:

   What|Removed |Added

 CC||thomas.bock...@gmail.com

--- Comment #4 from thomas.bock...@gmail.com ---
Fix: https://github.com/D-Programming-Language/phobos/pull/3969

--


[Issue 15618] [REG-master] Class member layout has been changed, ABI needs to be updated?

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15618

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=15644

--


[Issue 15644] Change object layout ABI to MI style

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=15618

--


[Issue 15644] Change object layout ABI to MI style

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

--- Comment #2 from Walter Bright  ---
Spec change:

  https://github.com/D-Programming-Language/dlang.org/pull/1225

--


[Issue 15644] Change object layout ABI to MI style

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

--- Comment #1 from Walter Bright  ---
https://github.com/D-Programming-Language/dmd/pull/5397

--


[Issue 15644] New: Change object layout ABI to MI style

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

  Issue ID: 15644
   Summary: Change object layout ABI to MI style
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: bugzi...@digitalmars.com

The current runtime object layout does:

   base class
   fields
   interfaces

Change it to:

   base classes (note plural)
   fields

Since we have to support the latter anyway in order to interface with C++, this
simplifies the logic compiler.

--


[Issue 13742] undefined reference to __coverage

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13742

Luís Marques  changed:

   What|Removed |Added

 CC||l...@luismarques.eu

--


[Issue 15643] New: install.sh signature verification fails on fresh Ubuntu image

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15643

  Issue ID: 15643
   Summary: install.sh signature verification fails on fresh
Ubuntu image
   Product: D
   Version: D2
  Hardware: x86
OS: Linux
Status: NEW
  Severity: normal
  Priority: P1
 Component: installer
  Assignee: c...@dawg.eu
  Reporter: c...@klickverbot.at

I was just trying to use Martin's new install script (linked from the Git
master download page) to bring up DMD on a brand-new EC2 instance running the
16.04-dev Ubuntu image. Signature verification for the 2.070 xz archive would
fail, even though the script automatically downloaded the relevant keyring.

It probably has something to do with the fact that GnuPG hadn't been used on
the system before (apart from apt-get, not sure if/how that uses GnuPG). After
just running `gpg` on the command line and immediately quitting it again,
"install.sh dmd" completed successfully.

--


[Issue 15642] New: std.utf.encode should return ubyte

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15642

  Issue ID: 15642
   Summary: std.utf.encode should return ubyte
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: schvei...@yahoo.com

std.utf.encode accepts at most a char[4] array, then returns a size_t to let
you know how many elements were filled.

Let's say you have a char[4] in a struct, and you want to store how much was
encoded, would you use another 12 bytes (8 for the size_t, 4 for alignment) to
store the "valid elements" in the struct to hold a number from 1 to 4?

It should be backwards compatible with any code that uses a size_t.

--


[Issue 15641] New: std.typecons.Proxy doesn't work when destructor is not nothrow

2016-02-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15641

  Issue ID: 15641
   Summary: std.typecons.Proxy doesn't work when destructor is not
nothrow
   Product: D
   Version: D2
  Hardware: x86_64
OS: All
Status: NEW
  Severity: regression
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: saurabh@gmail.com

This code:

struct A
{
import std.stdio;
File f;
}

struct B
{
A a;

import std.typecons;
mixin Proxy!a;
}

rdmd proxytest.d:
/Library/D/dmd/src/phobos/std/typecons.d(5055): Error: 'proxytest.A.~this' is
not nothrow
/Library/D/dmd/src/phobos/std/typecons.d(5050): Error: function
'proxytest.B.Proxy!(a).toHash' is nothrow yet may throw
Failed: ["dmd", "-v", "-o-", "proxytest.d", "-I."]


Marc Schütz investigated and found:
It used to work in 2.066.1; bisecting points to this PR:
https://github.com/D-Programming-Language/phobos/pull/3043

When bisecting between 2.066 and 2.067, there are other candidates:
https://github.com/D-Programming-Language/phobos/pull/3042
https://github.com/D-Programming-Language/dmd/pull/4459
https://github.com/D-Programming-Language/druntime/pull/1188

Unlikely:
https://github.com/D-Programming-Language/phobos/pull/3001
https://github.com/D-Programming-Language/phobos/pull/3043
https://github.com/D-Programming-Language/dmd/pull/4452
https://github.com/D-Programming-Language/dmd/pull/4463


Discussion on the forum:
http://forum.dlang.org/post/cmgxsjkrcmqegywsb...@forum.dlang.org

--