[Issue 16619] New: Visual D: link dependency file does not exist - always prompted to rebuild

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16619

  Issue ID: 16619
   Summary: Visual D: link dependency file does not exist - always
prompted to rebuild
   Product: D
   Version: D2
  Hardware: x86_64
OS: Windows
Status: NEW
  Severity: minor
  Priority: P1
 Component: visuald
  Assignee: nob...@puremagic.com
  Reporter: ben.stembri...@gmail.com

Regardless of whether files have changed im always forced to rebuild.

example output:
Building Win32\Debug\ConsoleApp1.exe...
Win32\Debug\ConsoleApp1.exe not up to date: link dependency file
b:\ConsoleApp1\Win32\Debug\ConsoleApp1.lnkdep does not exist

Notice that the link file is named .lnkdep and it does not exist in the project
directory. But there is a .dep file in the folder. Could the tool be looking
for the wrong extension?

It seems this issue was reported before and was listed as fixed in
v0.3.40-beta1:
http://forum.dlang.org/post/iegvtqgnnacnknzlz...@forum.dlang.org



I had originally started with 0.3.43 and also tried 0.3.44.
This is win7 64bit with VS 2005, Im not sure if its because of the old version
of VS but everything else seems to work ok.

--


[Issue 5901] std.random.normal(), std.random.fastNormal()

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5901

greenify  changed:

   What|Removed |Added

 CC||greeen...@gmail.com
   Assignee|nob...@puremagic.com|greeen...@gmail.com

--


[Issue 16484] regression(2.064) Overloaded empty funcs trigger AssertError: "Called `get' on null Nullable"

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16484

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/daf387f065d4914cc868deb584ee8b6fb53774a5
add comment in reponse to Issue 16484

https://github.com/dlang/dmd/commit/bee58a21d15dc3bfc5c4e1c2d1691f85b51bdf90
Merge pull request #6194 from WalterBright/fix16484

add comment in response to Issue 16484

--


[Issue 16484] regression(2.064) Overloaded empty funcs trigger AssertError: "Called `get' on null Nullable"

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16484

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu

--- Comment #6 from Martin Nowak  ---
I think we still have a few weird orderings for the new function vs. template
overloads, and also within the existing template overloads.
Part of those are simply caused by the way the current ordering is implemented.

Discussing this is quite tricky and doesn't make sense for single examples.

If someone would want to spend the effort on a DIP to come up w/ a sound and
simpler partial ordering, that is implementable in a backward compatible way,
it would probably be a welcome effort.

Don't think it's an urgent topic though.

--


[Issue 16617] New: toHash can not be a template method

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16617

  Issue ID: 16617
   Summary: toHash can not be a template method
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: ilyayaroshe...@gmail.com

Making toHash method a template can significantly reduce template bloat for
ndslices.
In the same time language DMD FE does not allow to do it because, for example,
the following toHash declaration is not recognised as toHash method:

struct S
{
   uint s;
   size_t toHash()() { return s; } // does not work :-(
}

--


[Issue 16609] std.experimental.ndslice.slice issues warnings when building Phobos

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16609

Илья Ярошенко  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ilyayaroshe...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #2 from Илья Ярошенко  ---


*** This issue has been marked as a duplicate of issue 16419 ***

--


[Issue 16616] Advanced const propagation for structs

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16616

--- Comment #1 from Илья Ярошенко  ---
Fixing this issue will allow also significantly reduce template bloat for
generic code.

--


[Issue 16419] issue with ndslice.slice toHash

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16419

Илья Ярошенко  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #3 from Илья Ярошенко  ---
*** Issue 16609 has been marked as a duplicate of this issue. ***

--


[Issue 16419] issue with ndslice.slice toHash

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16419

Илья Ярошенко  changed:

   What|Removed |Added

   Hardware|x86 |All

--


[Issue 16609] std.experimental.ndslice.slice issues warnings when building Phobos

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16609

--- Comment #1 from Walter Bright  ---
https://github.com/dlang/phobos/blame/master/std/experimental/ndslice/slice.d#L1926

--


[Issue 15862] Functions that return types with mutable indirections should be weakly pure, not strongly pure

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15862

ZombineDev  changed:

   What|Removed |Added

 CC||petar.p.ki...@gmail.com

--


[Issue 16582] [REG2.072.0-b1] ParamterDefaultValueTuple fails to compile for scope paramters

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16582

--- Comment #3 from Sönke Ludwig  ---
But still a regression in 2.072.0, even if #5972 gets merged for 2.073.0.

--


[Issue 16616] New: Advanced const propagation for structs

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16616

  Issue ID: 16616
   Summary: Advanced const propagation for structs
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: ilyayaroshe...@gmail.com

Extern precompiled Mir GLAS requires additional API changes.
The reduced example:

```d
struct S(T)
{
  size_t len;
  T ptr;
}

auto foo(S!(const(double)*) sl)
{
}

S!(double*) a;
const S!(double*) b;

foo(a); // fails
foo(b); // fails

```

--


[Issue 8728] Allow optional message for @disable

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8728

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #6 from Andrei Alexandrescu  ---
Ehm, I conflated @disable with @deprecated.

--


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

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

Martin Krejcirik  changed:

   What|Removed |Added

Summary|std.typecons.Proxy doesn't  |[REG2.067]
   |work when destructor is not |std.typecons.Proxy doesn't
   |nothrow |work when destructor is not
   ||nothrow

--


[Issue 8728] Allow optional message for @disable

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8728

John Colvin  changed:

   What|Removed |Added

 CC||john.loughran.colvin@gmail.
   ||com

--- Comment #5 from John Colvin  ---
Yay? Was there a pull request that implemented this?

--


[Issue 16582] [REG2.072.0-b1] ParamterDefaultValueTuple fails to compile for scope paramters

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16582

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #2 from Walter Bright  ---
And apparently fixed by https://github.com/dlang/dmd/pull/5972

--


[Issue 8507] (Regression 2.060) rdmd hangs and mutex failures

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8507

Andrei Alexandrescu  changed:

   What|Removed |Added

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

--- Comment #5 from Andrei Alexandrescu  ---
Thanks. I'll close this, feel free to reopen with new evidence.

--


[Issue 8166] retro() of splitter() too

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8166

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 16249] std.signals: disconnect() is unsafe during emit()

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16249

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/92eb63547953af2e6514a0fa6c9e109f70643b1b
fix issue 16249 - std.signals: disconnect() is unsafe during emit()

https://github.com/dlang/phobos/commit/910681ccc97df490871075c6dee6d8ae5db2d298
Merge pull request #4574 from nmtigor/issue_16249

fix issue 16249 - std.signals: disconnect() is unsafe during emit()

--


[Issue 16249] std.signals: disconnect() is unsafe during emit()

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16249

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

   What|Removed |Added

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

--


[Issue 8622] Allow labeled breaks to work on *any* block

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8622

--- Comment #6 from Nick Treleaven  ---
An alternate syntax which supports `break` without a label is to extend switch:

switch {
  auto x = foo();
  if (x == bar) break;
  auto y = x.baz();
  if (!y) break;
  y.writeln;
}

Here the switch condition defaults to true, and `default:` is implied.

--


[Issue 16614] [META] Each artifact in the standard library should have a meaningful example

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16614

greenify  changed:

   What|Removed |Added

 CC||greeen...@gmail.com

--- Comment #1 from greenify  ---
Something that is related to this and also very useful is increasing the code
coverage. With the new CodeCov tool (or by directly running the tests locally),
it's as easy as picking a module, looking up the uncovered lines and adding
tests for those. As a reward one might even find hidden bugs ;-)

--


[Issue 16618] Segmentation fault: 11

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16618

Ketmar Dark  changed:

   What|Removed |Added

 CC||ket...@ketmar.no-ip.org

--


[Issue 16616] Advanced const propagation for structs

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16616

Илья Ярошенко  changed:

   What|Removed |Added

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

--- Comment #2 from Илья Ярошенко  ---
A workaround was found https://github.com/dlang/phobos/pull/4869

--


[Issue 16618] Segmentation fault: 11

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16618

ag0ae...@gmail.com changed:

   What|Removed |Added

   Keywords||ice
 CC||ag0ae...@gmail.com
   Severity|regression  |normal

--- Comment #2 from ag0ae...@gmail.com ---
(In reply to changlon from comment #1)

Reduced/simplified further:


class Bufferz
{
alias owner this;
Buffer owner() { return Buffer.init; }
}

struct Buffer
{
alias range this;
Bufferz range() { return Bufferz.init; }
void slice() { error; }
}


You marked this as a regression, but you didn't specify which previous version
of dmd doesn't have the problem. For a bug to be a regression, the code must
have worked at some point. Downgrading to "normal".

--


[Issue 13051] Cannot use function literal inside struct initializer

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13051

Ralph Alexander Bariz  changed:

   What|Removed |Added

 CC||ralph.ba...@gmail.com

--- Comment #1 from Ralph Alexander Bariz  ---
Confirming this issue using
--
DMD64 D Compiler v2.071.2
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
--
on Linux x86_64

--


[Issue 16618] Segmentation fault: 11

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16618

--- Comment #1 from changlon  ---
for v2.072.0-b2

```sh
struct embed(T) {
T embed_instance ;
@property payload() {
return embed_instance ;
}
}
class Bufferz {
alias owner this ;
Buffer* _owner ;
auto owner() {
return _owner ;
}

}

struct Buffer {
alias range this ;
embed!Bufferz _range ;
auto range() {
return _range.payload ;
}
ref slice() {
Slice;
}
pragma(inline)
{
}

}
```

--


[Issue 16618] New: Segmentation fault: 11

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16618

  Issue ID: 16618
   Summary: Segmentation fault: 11
   Product: D
   Version: D2
  Hardware: x86
OS: All
Status: NEW
  Severity: regression
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: chang...@gmail.com

```d
struct embed(T) {

alias payload this;
@property payload() inout {
embed_instance ;
}
}
class Bufferz {
}

struct Buffer {
embed!Bufferz _range ;
pragma(inline)
{
}

}

```

--


[Issue 16582] [REG2.072.0-b1] ParamterDefaultValueTuple fails to compile for scope paramters

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16582

Martin Nowak  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #4 from Martin Nowak  ---
Somewhat hacky workaround for ParameterDefaults.
https://github.com/dlang/phobos/pull/4864

If more problems w/ the scope checks pop up, we might have to back-off that
error.

--


[Issue 8507] (Regression 2.060) rdmd hangs and mutex failures

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8507

--- Comment #4 from Martin Krejcirik  ---
Works for me on Windows (dmd 2.070.1)

--


[Issue 8209] Installer installs D into /usr/bin, would prefer /usr/local/bin, on Mac OS X

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8209

--- Comment #3 from Andrei Alexandrescu  ---
nice, thanks for updating the database

--


[Issue 16539] std.getopt should invoke callbacks in the order given on the command line

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16539

--- Comment #1 from Jon Degenhardt  ---
A similar example, but using an array shared by multiple command line options.
The arrays values are populated in the order specified lexically in the code.
It would be better if they were populated in the order specified at run-time on
the command line.

= fillorder.d =

void main(string [] args)
{
import std.getopt;
import std.stdio;

string[] cmdvals;
try {
auto r = getopt(
args,
"b|bb", "VAL   Append VAL to cmdvals", ,
"a|aa", "VAL   Append VAL to cmdvals", ,
"c|cc", "VAL   Append VAL to cmdvals", ,
);

if (r.helpWanted) {
defaultGetoptPrinter(
"std.getopt array fill order test. Use options multiple times
in different orders.",
r.options);
return;
}
} catch (Exception exc) {
stderr.writeln("Error processing command line arguments: ", exc.msg);
return;
}

writeln("cmdvals array: ", cmdvals);
}

==

$ dmd fillorder.d
$ ./fillorder -a 1 -b 2 -c 3 -a 4 -b 5 -c 6
cmdvals array: ["2", "5", "1", "4", "3", "6"]

--


[Issue 8656] Different naming of member base/next in TypeInfo_Const in object_.d and object.di

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8656

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8573] A simpler Phobos function that returns the index of the mix or max item

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8573

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8528] std.stream.File believes /dev/stdin to be seekable

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8528

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |WONTFIX

--


[Issue 8811] [snn] sscanf %n bug

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8811

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #3 from Andrei Alexandrescu  ---
Wait, the bug is reported on Windows, not Posix. Reopening...

--


[Issue 8523] [CTFE] compile time parsing of hex floats

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8523

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8540] std.net.curl.SMTP doesn't escape leading dots

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8540

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8757] Require parenthesization of ternary operator when compounded

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8757

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |WONTFIX

--- Comment #11 from Andrei Alexandrescu  ---
This should be a DIP if there's interest.

--


[Issue 8600] "writeln" one parameter garbled

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8600

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8816] It should be illegal for enums to declare members named init, max, or min

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8816

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--- Comment #3 from Andrei Alexandrescu  ---
Should be a nice thing for a bootcamper to work on.

--


[Issue 8829] std.algorithm.find fails to take advantage of SortedRange

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8829

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8799] Give example of Tuple mapped to a function

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8799

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com
 Blocks||16614

--


[Issue 8811] [snn] sscanf %n bug

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8811

Andrei Alexandrescu  changed:

   What|Removed |Added

 Resolution|INVALID |FIXED

--- Comment #2 from Andrei Alexandrescu  ---
Ah, my bad, it's sscanf not scanf. Tried it just now with dpaste, works.

--


[Issue 8789] mangling of const member function

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8789

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8622] Allow labeled breaks to work on *any* block

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8622

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #5 from Andrei Alexandrescu  ---
Please formulate this as a DIP if there's interest.

--


[Issue 8811] [snn] sscanf %n bug

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8811

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |INVALID

--- Comment #1 from Andrei Alexandrescu  ---
The call sscanf("a".z, "a%n".z, ); is invalid.

--


[Issue 16614] [META] Each artifact in the standard library should have a meaningful example

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16614

Andrei Alexandrescu  changed:

   What|Removed |Added

 Depends on||8799

--


[Issue 8728] Allow optional message for @disable

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8728

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |FIXED

--- Comment #4 from Andrei Alexandrescu  ---
Yay

--


[Issue 8680] SpanMode.breadth is incorrectly named and implementation fails in Linux

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8680

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 16582] [REG2.072.0-b1] ParamterDefaultValueTuple fails to compile for scope paramters

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16582

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu

--- Comment #1 from Martin Nowak  ---
Introduced by https://github.com/dlang/dmd/pull/5903.

--


[Issue 8209] Installer installs D into /usr/bin, would prefer /usr/local/bin, on Mac OS X

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8209

Jacob Carlborg  changed:

   What|Removed |Added

 Resolution|WONTFIX |FIXED

--- Comment #2 from Jacob Carlborg  ---
This was actually fixed in this commit:
https://github.com/dlang/installer/commit/b88e264bb385ba1f540f58dae9bde0c623bd4aef

--


[Issue 8411] core.time: No easy way to check if Duration is empty

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8411

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 15538] wrong code with switch

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15538

--- Comment #5 from Johannes Loher  ---
In the reduced example, the bug also appears when running in gdb.

--


[Issue 8260] * used three or more times on an array inside std.format.formattedRead and not guarded by template constraint

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8260

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8472] Replace walkLength() with an improved count()

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8472

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8263] wrong offset in IMAGE_DEBUG_DIRECTORY

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8263

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8279] Potential small improvement for std.conv.parse arguments

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8279

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8224] Problem with std.functional.unaryFun

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8224

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8471] std.stdio.readf should be @trusted

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8471

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp

--


[Issue 8424] Compile time conversions of double/floats to strings

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8424

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8273] FreeBSD core.sys.posix.unistd enums severely lacking

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8273

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8507] (Regression 2.060) rdmd hangs and mutex failures

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8507

Andrei Alexandrescu  changed:

   What|Removed |Added

 CC||and...@erdani.com

--- Comment #3 from Andrei Alexandrescu  ---
I've measured MT stat a while ago (i.e. when I introduced it) and at least on
Linux it helps. Can this bug be reproduced reliably on Windows?

--


[Issue 8304] writeln of empty Nullables too

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8304

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 16418] dip25 wrong escaping reference to this

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16418

--- Comment #5 from John Colvin  ---
What about the inconsistency between the two different cases?

--


[Issue 8405] Create overload for joiner which is random access for random access ranges

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8405

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8465] std.file cannot set file attributes

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8465

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8209] Installer installs D into /usr/bin, would prefer /usr/local/bin, on Mac OS X

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8209

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |WONTFIX

--


[Issue 8218] shared library segmentation fault when missing un-needed import

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8218

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8247] Inconsistent behaviour of randomSample depending on whether a random number generator is specified

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8247

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 8223] "auto break" switch proposal

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8223

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |WONTFIX

--- Comment #1 from Andrei Alexandrescu  ---
Thanks. You may want to formulate this as a DIP and see if it gets traction.

--


[Issue 8155] Deprecate std.range.lockstep

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8155

Andrei Alexandrescu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||and...@erdani.com
 Resolution|--- |WONTFIX

--


[Issue 8107] Float literals are not specified as they are implemented

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8107

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 7128] Cartesian product of ranges

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7128

--- Comment #26 from Andrei Alexandrescu  ---
@greenify thanks, I'v bootcamped it so it gets looked at again :o).

--


[Issue 6788] std.range.pairwise

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6788

--- Comment #12 from greenify  ---
@andralex: I think there is also a decision-blocked PR pending in the Phobos
queue:

https://github.com/dlang/phobos/pull/4027

--


[Issue 7128] Cartesian product of ranges

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7128

--- Comment #25 from greenify  ---
@andralex: as there was no positive decision on the PR it's now part of Mir
(http://docs.mir.dlang.io/latest/mir_combinatorics.html) with a couple of other
goodies (more functions, allocator support). 

So there is no need to use this as bootcamp task as this is already done and
reviewed and it was only blocked by your "No" a couple of months ago. If you
want to have it in Phobos, I am happy to reopen the regarding PR again ;-)

--


[Issue 16615] New: std.process is missing functionality for child processes

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16615

  Issue ID: 16615
   Summary: std.process is missing functionality for child
processes
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: an...@s-e-a-p.de

std.process has no functionality to get the Pids of child processes. This is
for example an issue if you want to use function kill to kill a process tree. 

Of course you can use system specific functionality to retrieve the processIDs
of the child processes, but then again you have the issue there is no function
to convert a processID to a Pid, as kill expects a pid.

I would be if a function is included in std.process to kill a pid and which
also kills all child processes.
In addition a function would be nice, which returns the direct child pid of a
given pid.

See also forum post
https://forum.dlang.org/thread/phsyxzkxspzheuenu...@forum.dlang.org

--


[Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7446

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 6409] std.array.empty for associative arrays too

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6409

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 6515] Support for a basic BinaryHeap operation

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6515

Andrei Alexandrescu  changed:

   What|Removed |Added

   Keywords||bootcamp
 CC||and...@erdani.com

--


[Issue 1001] print stack trace (in debug mode) when program die

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1001

--- Comment #82 from Brad Roberts  ---
I think what's left here is for someone, probably Lucia, to survey the current
state of all the platforms and file a few smaller bug reports that cover what
doesn't work well.  One of them is probably a "cleanup the actual output to be
consistent across platforms".  This specific bug report has likely outlived
it's usefulness.

--


[Issue 15862] allocating storage in pure functions should not result in caching return values of them

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15862

Andrei Alexandrescu  changed:

   What|Removed |Added

 CC||and...@erdani.com

--- Comment #8 from Andrei Alexandrescu  ---
Hm, I liked the previous title better because "allocating storage" is not
defined at language level (could come from malloc, specialized allocators etc)
whereas "mutable indirections" are part of the language.

--


[Issue 14576] [ddemangle] core.demangle unable to handle ambiguity in symbols

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14576
Issue 14576 depends on issue 6045, which changed state.

Issue 6045 Summary: Unable to demangle symbols
https://issues.dlang.org/show_bug.cgi?id=6045

   What|Removed |Added

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

--


[Issue 16563] [REG 2.072.0-b1] Wrong struct size/alignment in local struct

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16563

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/07bbf2d0ef547339dee5e886a1a924691c3eb8b8
fix Issue 16563 - wrong alignment in function

- function local declarations don't have the setScope pass b/c there are
  no forward references, therefor AlignDeclaration must not rely on
  setScope being called
- pass Scope to getAlignment instead, either the normal semantic2 one or
  the one from Scope.alignment

https://github.com/dlang/dmd/commit/bf1c25d74964ab3d32d91ecd37f00b99919e5bee
Merge pull request #6196 from MartinNowak/fix16563

fix Issue 16563 - wrong alignment in function

--


[Issue 7084] Missing writeln Unicode normalization

2016-10-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7084

--- Comment #4 from hst...@quickfur.ath.cx ---
@andralex: Are you sure this bug qualifies for 'bootcamp'? Unicode
normalization is highly-nontrivial, and requires significant effort to support
correctly, and will probably involve multiple modules (at least std.uni and
std.stdio, perhaps also std.utf). Plus, deciding which normalization scheme(s)
to default to is a decision that can only be made with more experience with the
language and community.

--