Re: Getters/setters generator

2017-01-16 Thread Eugene Wissner via Digitalmars-d-announce

On Tuesday, 17 January 2017 at 07:06:05 UTC, Stefan Koch wrote:
On Tuesday, 17 January 2017 at 06:26:35 UTC, Eugene Wissner 
wrote:
On Friday, 9 December 2016 at 18:53:55 UTC, Andrei 
Alexandrescu wrote:


Love it, and was toying with similar ideas too. One good 
extension is to add a predicate to the setter, which guards 
the assignment. -- Andrei


What kind of predicate do you mean? Can you give an example 
please?


setValue(uint _under24)
{
assert(_under24 < 24);
under24 = _under24;
}


Ah, well thanks. I don't think it makes much sense since it would 
be easier to write a complete setter if the user needs extra 
checks. Accessors are there only for the generation of the 
standard methods, that just get or set some object property.


Re: version identifier hygiene

2017-01-16 Thread Jacob Carlborg via Digitalmars-d-learn

On 2017-01-16 21:04, Ali Çehreli wrote:

It is plausible to compile and link the sources of multiple packages on
the same command line at the same. (I'm not sure whether this is
required for e.g. LLVM's link-time optimization (LTO) but I think it
helps the compiler as well.)

The trouble is, the version identifiers used by one package may look
strange on the command line and even contradict with another package's:

dmd -version=use-fibers a/a.d b/b.d

use-fibers? Who is using fibers? Does it have any effect on the other
package as well?

So, I think it's a good idea to name-mangle version identifiers with
prefixed package names (a-use-fibers instead of use-fibers):

dmd -version=a-use-fibers a/a.d b/b.d

What do you think?

Is there a way of managing this from the outside? I couldn't do this for
a package by introducing a new file that "translates" to what it
understands:

version (a-use-fibers) {
version=use-fibers;
}

I tried putting it in a module and importing by all sources of package
'a' but version did not have affect on the modules that imported it.


Yeah, I think it only applies to the module it's set in.


String mixins would probably work but it already feels too intrusive to
"fix" third party packages like that.


I don't think it's possible to fix from the outside. I would rather see 
that the library is adopted for that. Or even better using some kind of 
config file. With Dub it's possible to generate something like a config 
file with preGenerateCommands. That config file could look something like:


module liba.config;

version (liba_use_fibers)
enum useFibers = true;
else
enum useFibers = false;

Then the library would use "static if" instead of "version" to pick the 
correct implementation.


Or if the user of the library could supply the config file from the 
beginning then no version statements are needed. Not sure if that's 
possible though.


--
/Jacob Carlborg


Re: Getters/setters generator

2017-01-16 Thread Stefan Koch via Digitalmars-d-announce

On Tuesday, 17 January 2017 at 06:26:35 UTC, Eugene Wissner wrote:
On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu 
wrote:


Love it, and was toying with similar ideas too. One good 
extension is to add a predicate to the setter, which guards 
the assignment. -- Andrei


What kind of predicate do you mean? Can you give an example 
please?


setValue(uint _under24)
{
assert(_under24 < 24);
under24 = _under24;
}


Re: CTFE Status

2017-01-16 Thread Stefan Koch via Digitalmars-d

On Monday, 16 January 2017 at 16:31:25 UTC, Stefan Koch wrote:

On Thursday, 5 January 2017 at 06:04:00 UTC, Stefan Koch wrote:

On Monday, 2 January 2017 at 18:40:44 UTC, Stefan Koch wrote:

So guys.

basic function-calls are supported.

Hell YEAH!


Disabled for now. Since it pushes some buffers/caches to their 
limit. A more flexible solution is needed.
However the good news is that the ABI seems to work better 
than expected.

Now it's time to deal with this-pointers and method calls.

After remaining issues with nested switches have to be fixed.


Basic Function call support reenabled.
Phobos unittests pass.


Just found a bug with recursive functions, which is now fixed.
So time for some perf:
-- t.d
 uint rfn(uint n)
 {
   if (n > 2) return n + rfn(n-1) + rfn(n-2);
   return 1;
 }

pragma(msg, rfn(30));
--

uplink@uplink-pc:~/d/dmd$ time src/dmd t.d -c
4674396u

real0m0.396s
user0m0.392s
sys 0m0.000s
uplink@uplink-pc:~/d/dmd$ time dmd t.d -c
4674396u

real0m1.993s
user0m1.872s
sys 0m0.120s



Re: Getters/setters generator

2017-01-16 Thread Eugene Wissner via Digitalmars-d-announce
On Friday, 9 December 2016 at 18:53:55 UTC, Andrei Alexandrescu 
wrote:


Love it, and was toying with similar ideas too. One good 
extension is to add a predicate to the setter, which guards the 
assignment. -- Andrei


What kind of predicate do you mean? Can you give an example 
please?


Re: parent class get the subclass object

2017-01-16 Thread Brian via Digitalmars-d

On Monday, 16 January 2017 at 16:47:09 UTC, Nemanja Boric wrote:

On Monday, 16 January 2017 at 16:31:41 UTC, Brian wrote:

[...]


You're missing a cast, since `this` is a reference to a 
superclass.


import std.stdio : writeln;

abstract class Base(T)
{
this()
{
_this = cast(T)(this);
assert(_this);
}

void hello()
{
_this.world();
}

private
{
T _this;
}
}


class Sub : Base!Sub
{
void world()
{
writeln("Hello world");
}
}

void main()
{
Sub sub = new Sub;
sub.hello();
}


Yes, it's possible, thank you!


Re: parent class get the subclass object

2017-01-16 Thread Brian via Digitalmars-d

On Monday, 16 January 2017 at 19:31:50 UTC, Mike Parker wrote:

On Monday, 16 January 2017 at 16:31:41 UTC, Brian wrote:


No, you don't understand I want to express meaning.

other programing language is allow this.

Your code more like the old C++.

If a high-level programing language or need haevy like C++ 
impl code, It's very regret.


Can like rust / swift / php / java / C# ?


Perhaps template this parameters [1]:

```
class Base {
void hello(this C)() {
(cast(C)this).world();
}
}

class Sub:Base {
void world() { writeln("Hello world"); }
}

void main() {
auto sub = new Sub;
sub.hello();
}
```

[1] http://dlang.org/spec/template.html#TemplateThisParameter


Thanks, I think this is the best way!


Re: Getters/setters generator

2017-01-16 Thread Eugene Wissner via Digitalmars-d-announce

On Friday, 9 December 2016 at 10:27:05 UTC, Eugene Wissner wrote:

Hello,

we've just open sourced a small module ("accessors") that helps 
to generate getters and setters automatically:

https://github.com/funkwerk/accessors
http://code.dlang.org/packages/accessors

It takes advantage of the UDAs and mixins. A simple example 
would be:


import accessors;

class WithAccessors
{
@Read @Write
private int num_;

mixin(GenerateFieldAccessors);
}

It would generate 2 methods "num": one to set num_ and one to 
get its value. Of cause you can generate only @Read without 
@Write and vice versa. There are some more features, you can 
find the full documentation in the README.
"GenerateFieldAccessors" mixin should be added into each 
class/struct that wants to use auto generated accessors.



We just released the next version of the accessors: v1.1.0

- One problem with inheritance was fixed.
- And the generated accessors are always properties know.


Re: parent class get the subclass object

2017-01-16 Thread Dsby via Digitalmars-d

On Monday, 16 January 2017 at 19:31:50 UTC, Mike Parker wrote:

On Monday, 16 January 2017 at 16:31:41 UTC, Brian wrote:


No, you don't understand I want to express meaning.

other programing language is allow this.

Your code more like the old C++.

If a high-level programing language or need haevy like C++ 
impl code, It's very regret.


Can like rust / swift / php / java / C# ?


Perhaps template this parameters [1]:

```
class Base {
void hello(this C)() {
(cast(C)this).world();
}
}

class Sub:Base {
void world() { writeln("Hello world"); }
}

void main() {
auto sub = new Sub;
sub.hello();
}
```

[1] http://dlang.org/spec/template.html#TemplateThisParameter


That  Great!


feature request: `dmd -v=json` to avoid custom parsing of -v

2017-01-16 Thread Timothee Cour via Digitalmars-d
Would it make sense to have `dmd -v=json` to avoid custom parsing of -v ?
benefit:
* avoid having to maintain parsers for -v output (eg used in rdmd)
* current parser not forward/backward compatible with different dmd
releases (eg each time something is added, it can break the parser, eg
2.073 introduced `predefs   DigitalMars Posix OSX ..`
* useable in tooling
* avoid corner cases (eg escaping spaces etc)


Re: Chain a range of ranges?

2017-01-16 Thread Brad Anderson via Digitalmars-d-learn

On Tuesday, 17 January 2017 at 03:21:39 UTC, Yuxuan Shui wrote:
The built in chain seems to only be able to chain a fixed 
number of ranges, is there a way to chain a range/array of 
ranges?


See std.algorithm.iteration.joiner


Chain a range of ranges?

2017-01-16 Thread Yuxuan Shui via Digitalmars-d-learn
The built in chain seems to only be able to chain a fixed number 
of ranges, is there a way to chain a range/array of ranges?


[Issue 17103] New: doc: -mv== not mentioned in release notes; + vague doc

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17103

  Issue ID: 17103
   Summary: doc: -mv== not mentioned in
release notes; + vague doc
   Product: D
   Version: D2
  Hardware: x86
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: timothee.co...@gmail.com

* http://dlang.org/changelog/2.073.0.html doesn't it, and can't find it either
in a clone of dlang.org:

dlang.org $ git grep -n 'as source file for'
empty


* Also, the doc is rather vague. Could we at least show a link in the help?

dmd --help
-mv==  use  as source file for
 See  http://dlang.org/changelog/2.073.0.html#dmd-mv

(file currently inexisting)

Also https://wiki.dlang.org/DIP13 is out of date (eg: -I instead of -mv)

--


[Issue 17102] New: std.write.file generates a segmentation fault when the file name is a string with a default value

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17102

  Issue ID: 17102
   Summary: std.write.file generates a segmentation fault when the
file name is a string with a default value
   Product: D
   Version: D2
  Hardware: x86
OS: Mac OS X
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: donte5...@comcast.net

The following program generates a segmentation fault with rdmd or compiling
with dmd and running the resulting executable. The data is a valid string and
the file name is a string that is left at the default value.

#!/usr/local/bin/rdmd

import std.stdio;
import std.file;


void main (string[] args) {

  string the_text = "File with bad name";// some data to write
  string file_name;  // set to default string value
  std.file.write(file_name, the_text);

}

% dmd --version
DMD64 D Compiler v2.072.2
Copyright (c) 1999-2016 by Digital Mars written by Walter Bright
%

OSX 10.11.5 (15F34)

--


[Issue 17101] -Dd should be upgraded to new style -Dd= (ditto -Df)

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17101

Timothee Cour  changed:

   What|Removed |Added

 CC||timothee.co...@gmail.com
 OS|Mac OS X|All

--


[Issue 17101] New: -Dd should be upgraded to new style -Dd= (ditto -Df)

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17101

  Issue ID: 17101
   Summary: -Dd should be upgraded to new style
-Dd= (ditto -Df)
   Product: D
   Version: D2
  Hardware: x86
OS: Mac OS X
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: timothee.co...@gmail.com

-Dd should be upgraded to new style -Dd= (ditto -Df)

all other flags were already upgraded, these stick out.

--


[Issue 17100] manpages and http://dlang.org/dmd-osx.html doc out of date; could that be autogenerated?

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17100

Timothee Cour  changed:

   What|Removed |Added

Summary|http://dlang.org/dmd-osx.ht |manpages and
   |ml doc out of date; could   |http://dlang.org/dmd-osx.ht
   |that be autogenerated?  |ml doc out of date; could
   ||that be autogenerated?

--


[Issue 17100] http://dlang.org/dmd-osx.html doc out of date; could that be autogenerated?

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17100

Timothee Cour  changed:

   What|Removed |Added

 CC||timothee.co...@gmail.com

--- Comment #1 from Timothee Cour  ---
likewise with man pages, even latest ones from 2.073 (man/man1/dmd.1):
-offilename

instead of 
-of=

--


[Issue 17100] New: http://dlang.org/dmd-osx.html doc out of date; could that be autogenerated?

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17100

  Issue ID: 17100
   Summary: http://dlang.org/dmd-osx.html doc out of date; could
that be autogenerated?
   Product: D
   Version: D2
  Hardware: x86
OS: Mac OS X
Status: NEW
  Severity: minor
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: timothee.co...@gmail.com

http://dlang.org/dmd-osx.html doc out of date; could that be autogenerated to
avoid maintance issues?
Eg: currently doesn't contain
`-verrors=spec`
-offilename instead of the new -of=
etc

--


[Issue 12125] Win64 phobos has hard references to LIBCMT

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12125

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/60cd8d2aa70e1c9cfd7c58fa42bce7345fd00b77
Merge pull request #4891 from rainers/nodefaultlib

--


[Issue 1761] TypeInfo.toString for function types always indicates no-parameter function

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1761

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

https://github.com/dlang/druntime/commit/ff4adf65b16cefc4caa831e9a6983970d831396e
fix issue 1761

https://github.com/dlang/druntime/commit/fc2acbd2043da296887ac540770806e07cab54dd
Merge pull request #1692 from somzzz/issue_1761

--


[Issue 16147] Provide shiny 404 error pages

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16147

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dlang.org

https://github.com/dlang/dlang.org/commit/dc537e52e541fc69b3e1c6ebc92c67943f4e2ec7
fix Issue 16147 - Provide shiny 404 error pages

https://github.com/dlang/dlang.org/commit/6989d12fc4ee006ac7efbb1951363ae0ec40d787
Merge pull request #1512 from CyberShadow/pull-20161108-012203

--


[Issue 16747] [Reg 2.072] Cannot have stack allocated classes in @safe code

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16747

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

https://github.com/dlang/dmd/commit/a07034f2fe3a50622fedc810cf0ac775bbbfe1d3
fix Issue 16747 - Cannot have stack allocated classes in @safe code

https://github.com/dlang/dmd/commit/6936a2eca064847160b352ab7f4ab3251acd0d75
Merge pull request #6279 from WalterBright/fix16747

https://github.com/dlang/dmd/commit/01170277958c8e1ee67ead8fb112305f0ef220c5
Merge pull request #6279 from WalterBright/fix16747

--


[Issue 16588] uniq's BidirectionalRange behavior is inconsistent with its InputRange behavior

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16588

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

https://github.com/dlang/phobos/commit/a502b2a254a814aaf68927d07d59baa8ba87dd8f
Fix issue 16588 - uniqs BidirectionalRange behavior is inconsistent with its
InputRange behavior

https://github.com/dlang/phobos/commit/428217b31789a0b36fcf776467b077a5f165ef6c
Merge pull request #4961 from edi33416/uniq_consistency

--


[Issue 14294] partialSort should also accept two ranges

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14294

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

https://github.com/dlang/phobos/commit/0d0ca991a9cffa40444022b39c51a0a6df0a49c9
Issue 14294 - partialSort should also accept two ranges

https://github.com/dlang/phobos/commit/a4d92bcff4b27c529f2286bb1b15cd8206828af9
Merge pull request #4947 from RazvanN7/Issue_14294

--


[Issue 13429] icmp (and friends) should be @nogc

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13429

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

https://github.com/dlang/phobos/commit/40787cee7f3ab4a3c747d47124e614d7b30cbbf1
Issue 13429: make sicmp and icmp @nogc nothrow

https://github.com/dlang/phobos/commit/5c770fba084a5e7addfaf65ab6deb36584ee2fd7
Merge pull request #4933 from sprinkle131313/master

--


[Issue 4125] std.numeric.gcd can use a binary GCD

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4125

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

https://github.com/dlang/phobos/commit/6b4c2585fe5d25488a2df6a7b9b7c49031c63253
Fix Issue 4125 - std.numeric.gcd can use a binary GCD

https://github.com/dlang/phobos/commit/19445fc71e8aabdbd42f0ad8a571a57601a5ff39
Merge pull request #4940 from Darredevil/issue-4125

--


[Issue 11118] undefined identifier in template structs functions

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8

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

https://github.com/dlang/dmd/commit/ba6fddd46d0ba3bac410905feba62c4b6933c751
Fix issue #8 - Correct lookup for template parameters.

https://github.com/dlang/dmd/commit/f64b42f3832e3e49e338918cbb55cf1f32a82331
Merge pull request #6345 from LemonBoy/b8

--


[Issue 16967] No switch case fallthrough warnings in in/out contracts

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16967

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

https://github.com/dlang/dmd/commit/b15db024d8667919581df7b7a0ab3eca806054f1
Fix issue #16967 - Show fallthrough warnings for in/out bodies.

https://github.com/dlang/dmd/commit/cb7f8fe350d82487fa4e7e3ff1daf2da78d1d373
Merge pull request #6344 from LemonBoy/b16967

--


[Issue 16948] broken links in std.stdio due to inccorrect use of WEB macro

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16948

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

https://github.com/dlang/phobos/commit/c8a123f4d0f2cc9b611545f5c3055cfcc31fcb05
fix issue 16948 - broken links in std.stdio due to inccorrect use of WEB macro

https://github.com/dlang/phobos/commit/68cf6e8d1e6d8a1b43bff65fcbaef324bd158497
Merge pull request #4931 from aG0aep6G/16948

--


[Issue 16651] atomicOp!"-="(ulong, uint) = wrong result/codegen

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16651

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

https://github.com/dlang/druntime/commit/44f45280b7fe308731611801385f8c6226214682
fix issue 16651 - atomicOp!"-="(ulong, uint) = wrong result/codegen

https://github.com/dlang/druntime/commit/422c8f7b0f0e6598910737981074e0c45a4eb1b9
Merge pull request #1690 from aG0aep6G/16651

--


[Issue 16958] replace -mavx switch with -mcpu=id

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16958

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

https://github.com/dlang/dmd/commit/a967ec85c8ff5f8a9aa3a7bafc174d3c13c6d4fd
fix Issue 16958 - replace -mavx switch with -mcpu=id

https://github.com/dlang/dmd/commit/6da3eeabf1ee1f2ad7477e3e6e836584edefc048
Merge pull request #6306 from WalterBright/mcpu

--


[Issue 16146] postblit is not called on struct creation with "{field:value}" syntax

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16146

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

https://github.com/dlang/dmd/commit/5b2fb91bae4df298a82bc94565198827671664ef
Fix issue 16146 - Postblit the values in struct literals.

https://github.com/dlang/dmd/commit/d7e22deca67ca114ea37b0c7e9fa2e0d6adb9069
Merge pull request #6271 from LemonBoy/structfill

--


[Issue 16607] [REG2.072b1] forward reference error for nested struct

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16607

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

https://github.com/dlang/dmd/commit/b295ff509a52cd332d975014279ed891e11f465d
fix Issue 16607 - forward reference error for nested struct

https://github.com/dlang/dmd/commit/9dfa50e8fccd9b888a52300abb99eb3d669fb869
Merge pull request #6214 from MartinNowak/fix16607

--


[Issue 16381] Wrapping a float4 array leads to segfault.

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16381

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

https://github.com/dlang/dmd/commit/1429da40f6bd24c702eb4a5c0685faa0addfcb39
fix Issue 16381 - Wrapping a float4 array leads to segfault

https://github.com/dlang/dmd/commit/2210757dfdcf637022cec835dbbc6cbb5deca73d
Merge pull request #6268 from WalterBright/fix16381

--


[Issue 16116] Infinite loop on (somewhat complex) simd math

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16116

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

https://github.com/dlang/dmd/commit/089cea83dd054f78db9e0145c4bef6d298f165a3
fix Issue 16116 - Infinite loop on (somewhat complex) simd math

https://github.com/dlang/dmd/commit/df96ac9695393ccf8139cc7ca5db48edce5cf81d
Merge pull request #6269 from WalterBright/fix16116

--


Re: Initializing floating point types with explicit mantisa and exponent

2017-01-16 Thread Nicholas Wilson via Digitalmars-d-learn

On Tuesday, 17 January 2017 at 00:08:24 UTC, Nordlöw wrote:
How do I best initialize a D double to an exact mantissa and 
exponent representation?


I'm specifically interested in

2^^i for all i in [min_exp, max_exp]


See

std.bitmanip : FloatRep , DoubleRep;


[Issue 16977] bad debug info for function default arguments

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16977

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/d2b804b4fbff6187d31a5c854b096d21ab09edc9
Merge pull request #6327 from rainers/noloc_defaultarg

--


[Issue 16514] std.socket methods are const, and thus cannot be overriden for SSLSocket, for example

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16514

--- Comment #15 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/448ddbe2e88d66feb0df3f679bc282840ac4bb26
std.socket: Add test for issue 16514

--


[Issue 5236] [patch] std.format.formattedRead/unformatValue does not support the raw reading of integer types

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5236

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

https://github.com/dlang/phobos/commit/6d13f6685556d633ed0801cd638bc5d96fa69a71
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/ddc63be000232977e4ba4c8a3e3e7b0066eb85ad
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/3ab55e96e1691b1fa72e3695fcf71f7e393f62b1
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/58374ac540420f2d9af3a5f5def4dbc8374043cf
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/f5bece91ab50edbee200368016908bbac8924e0d
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/bacddb87ff2fa9db635562f0bf17c2ed10d3ab5d
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/17d13e20666d388aba04357d98f7ed092b58bccb
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/26f4aec45c75e0b6831a1d77614bbca25b5c4068
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/73406665c11c102d4c52e1f12ef9caa1c9ce50ff
Issue 5236 - [patch] std.format.formattedRead/unformatValue does not support
the raw reading of integer types

https://github.com/dlang/phobos/commit/99398975d45e520c645f5ca8c1681b7dd93150c9
Merge pull request #4912 from RazvanN7/bootcamp_fixes

--


[Issue 768] A switch to print predefined version identifiers

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=768

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

https://github.com/dlang/dmd/commit/e0392f9a2307e1be147f6e855fe7320dac4f2115
Fix Issue 768 - A switch to print predefined version identifiers

https://github.com/dlang/dmd/commit/269e57650c6ac4afb43f6c1ed6f2b67c1c66a86b
Merge pull request #6294 from Darredevil/issue-768

--


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

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

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

https://github.com/dlang/phobos/commit/8b29f206ae8828cf5656881b16e725850c91b728
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange

https://github.com/dlang/phobos/commit/d6519853e1c603169d15c30a1f32aa7c557d6a9d
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange

https://github.com/dlang/phobos/commit/818d51200754ace7c766c6692a27d95c8e4eafc7
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange

https://github.com/dlang/phobos/commit/752b2ca210f8e6f1b7d1c3887f23c1e5a382a85d
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange

https://github.com/dlang/phobos/commit/e4b82503b8517d533271469797b4a3773ae38527
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange

https://github.com/dlang/phobos/commit/98a7c44aafb7e0547fb4b6845e0724597bc81b81
Merge pull request #4907 from RazvanN7/Issue_8828

--


[Issue 13927] optimizer hangs in optelem with SIMD initialization

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13927

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

https://github.com/dlang/dmd/commit/4da63f8641c7e54462162685e8d88ff3323d2d83
fix Issue 13927 - optimizer hangs in optelem with SIMD initialization

https://github.com/dlang/dmd/commit/3d34c5f9a5f02e822b5fe963125898ecd512e6c6
Merge pull request #6275 from WalterBright/fix13927

https://github.com/dlang/dmd/commit/c3a32002dc70792130d70bdf58dc7a3ab5915ef6
Merge pull request #6275 from WalterBright/fix13927

--


[Issue 10447] Refused increment of double2 with a immutable(double2)

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10447

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

https://github.com/dlang/dmd/commit/e625e20cda267c67b2cafb554604193c19e53dd7
fix Issue 10447 - Refused increment of double2 with a immutable(double2)

https://github.com/dlang/dmd/commit/f3d9bf686c36a3928cd0c5c7c6ae2635844cee9e
Merge pull request #6272 from WalterBright/fix10447

--


[Issue 6400] opDispatch with WithStatement

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6400

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

https://github.com/dlang/dmd/commit/2c8008781a23f807be89dfaf858814a1308c9f43
Fix issue 6400 - Better interaction between with() and opDispatch

https://github.com/dlang/dmd/commit/c49fb860d507f75556cfb2108986a8b901d15920
Merge pull request #6439 from LemonBoy/b6400

--


[Issue 16854] Inline assembler has VMOVLHPS and VMOVHLPS swapped

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16854

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

https://github.com/dlang/dmd/commit/95c9e17d9dfc28dc5a09b0d152882f196b1de537
fix Issue 16854 - Inline assembler has VMOVLHPS and VMOVHLPS swapped

https://github.com/dlang/dmd/commit/f42867c5f9f601fc5d67e9c0156bfb5a49a9f019
Merge pull request #6291 from WalterBright/fix16854

--


[Issue 12430] non compile-time __simd opcode causes ICE

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12430

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

https://github.com/dlang/dmd/commit/d146d789d3482bebf361ae18055729fc2f0677c5
fix Issue 12430 - non compile-time __simd opcode causes ICE

https://github.com/dlang/dmd/commit/4d6692f8cf6ba5cf74d137a12de88b937280a7ad
Merge pull request #6273 from WalterBright/fix12430

--


[Issue 16504] [REG 2.072a]`dup` can't use storage class `scope` for its parameter in general

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16504

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/ce6aef38adbf7f652db67bc7287a97e45c173b8f
Revert "Merge pull request #1637 from WalterBright/scope-dup"

https://github.com/dlang/druntime/commit/2f3f7c80d9843f4c2de05fdd2e15af71f185cf62
add unittest example for Issue 16504

--


[Issue 16798] Extend -Ipath switch to -Imodule=path so path heirarchy doesn't have to match package heirarchy

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16798

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

https://github.com/dlang/dmd/commit/1e77dfac5e4e8564fa8eef4f3184f41b0cd31768
fix Issue 16798 - Extend -Ipath switch to -Imodule=path so path heirarchy
doesn't have to match package heirarchy

https://github.com/dlang/dmd/commit/72b20335f9dd47fc88d6a6c92ef312f0b5f81392
Merge pull request #6286 from WalterBright/fix16798

--


[Issue 16679] prefetch on old pentium d results in an illegal instruction

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16679

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

https://github.com/dlang/dmd/commit/a5bffa8b35bb519ca7a5cd41fee86f541a1c2e76
fix Issue 16679 - prefetch on old pentium d results in an illegal instruction

https://github.com/dlang/dmd/commit/f5a73f36360fc5b2b2e93f2dd17082c4fed2b0bc
Merge pull request #6266 from WalterBright/fix16679

--


[Issue 14238] DIP25: escape checks can be circumvented with delegate

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14238

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

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--


[Issue 922] export keyword causes undefined references on linux

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=922

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

https://github.com/dlang/dmd/commit/fdde441cfd341ad573b3dc9b11e994ed55adfe68
Fix issue 922 - Don't mangle exported symbol names on linux.

https://github.com/dlang/dmd/commit/0152061d082bc6ea86fd27df734a3d1d81e825d9
Merge pull request #6250 from LemonBoy/manglelin

--


[Issue 16346] Enum used as a constructor evaluates to the underlying type, not to the enum type.

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16346

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

https://github.com/dlang/dmd/commit/82f8a0aa9e5237eaa60ad2df77b83f8b14003115
Fix issue 16346 - Use the correct type when constructing an enum

https://github.com/dlang/dmd/commit/560798618a16e17a6482c9f98f2ec74b1561973b
Merge pull request #6431 from LemonBoy/b16346

--


[Issue 16653] ParameterDefaultValueTuple fails to compile when function has lazy param

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16653

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

https://github.com/dlang/phobos/commit/48398dbd0f42d258461332b619939e550be430de
fix issue 16653

https://github.com/dlang/phobos/commit/64ed49be5ab973a7d260b014dd39170a16ae37b1
Merge pull request #4977 from somzzz/issue_16653

https://github.com/dlang/phobos/commit/5febcef46617f15738e77e5e732ab9e37aa82649
better workaround for issue 16653, fix ketmar comment

https://github.com/dlang/phobos/commit/33b73851297ab2dd881f931ccf3de7849d838c1b
Merge pull request #5020 from adamdruppe/issue_16653

--


[Issue 16488] [spec][optimization] broadcast scalar to simd vector

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16488

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

https://github.com/dlang/dmd/commit/b75ef84208f1cb25878c7977588ceed1fa4e8682
fix Issue 16488 - [spec][optimization] broadcast scalar to simd vector

https://github.com/dlang/dmd/commit/59d32f408605f29c30968fc605a9a1737b20dc8f
Merge pull request #6248 from WalterBright/fix16488

--


[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17073

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

https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21
Fix issue 17073 - Do not ignore the explicit initializers

https://github.com/dlang/dmd/commit/ac7efd9fdff63645e6c9b0278a8307dd07e3bfc1
Merge pull request #6427 from LemonBoy/b17073

--


[Issue 16590] Wrong di generation for ref methods

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16590

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

https://github.com/dlang/dmd/commit/e7b284d15e477483e4367206d52945af18a770c0
Fix Issue 16590 - Wrong di generation for ref methods

https://github.com/dlang/dmd/commit/a33059019b532cc1b457f8ce0335e1ebe7dddfbc
Merge pull request #6423 from RazvanN7/Issue_16590

--


[Issue 11961] Can't select CRT to link against

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11961

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

https://github.com/dlang/dmd/commit/19b02322007c88a79648cc46f5732f50d42c77fd
fix issue 11961: allow selecting the MS C runtime to link against

https://github.com/dlang/dmd/commit/2c11a0241b88be6eb5416812188c2ca6df196916
Merge pull request #6244 from rainers/select_mscrtlib

--


[Issue 16626] [Reg 2.073] extreme CTFE memory usage with compile time regex

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16626

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

https://github.com/dlang/phobos/commit/07090ae2fdaddd1c40b8c149f32733e908094ac3
disable kickstart in ctfe to workaround Issue 16626

https://github.com/dlang/phobos/commit/9cbc862544a9a4afa14bb526ec4aff7792a71e49
Merge pull request #4995 from MartinNowak/fix16626

--


[Issue 16654] hashOf returns different hashes for the same string value

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16654

--- Comment #7 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/5c187e05ff87404ebf4884cfc548324c2c3ed0fc
Revert object.hashOf changes from "use array interface to hashOf()"

fixes issues 16654 & 16764.

--


[Issue 16245] the message emitted when a const function mutates members is misleading

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16245

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

https://github.com/dlang/dmd/commit/141c88bcfaa1c5b79ac4d5c6dd7b278d11b5de84
fix issue 16245 - the message emitted when a const function mutates members is
misleading

https://github.com/dlang/dmd/commit/ff98747bf365c03da1a7742fa9d432e6d8efb6c4
Merge pull request #6441 from BBasile/issue-16245

--


[Issue 17086] DMD segfault with multiple template matches and invalid code

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17086

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

https://github.com/dlang/dmd/commit/90914abd5cec32199a5e81acf7d405366d8018df
Fix issue 17086: DMD segfault with multiple template matches and invalid code

https://github.com/dlang/dmd/commit/13556d6dd5d877dea19059fd42c5bc2332875751
Merge pull request #6438 from mathias-lang-sociomantic/segv

--


[Issue 16193] opApply() doesn't heap allocate closure

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16193

--- Comment #16 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/aac715ff2597d256b5ffe8ecb397316abf32fb2e
Revert "fix Issue 16193 - opApply() doesn't heap allocate closure"

--


[Issue 16959] bringToFront fails on char arrays

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16959

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

https://github.com/dlang/phobos/commit/82c30a688260ce13aefee0a12369742ce252ab07
Issue 16959 - Added doc entry about Unicode behaviour + 1 public unittest

https://github.com/dlang/phobos/commit/83b25ec626af5c25436afcc7e9f463f762ee5a4a
Merge pull request #4970 from RazvanN7/Issue_16959

--


[Issue 4851] Three suggestions for std.random

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4851

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

https://github.com/dlang/phobos/commit/783d15bfa0e55d753999e7cc38236763c6b95092
enhancement issue 4851: add choice function to std.random

https://github.com/dlang/phobos/commit/adb71a6c6b8e51680ce2337eb93c28fa7ea9a3fd
enhancement issue 4851: use assert in choice function

https://github.com/dlang/phobos/commit/6bc3a4f343ab653e85d11966a4b559da59c8
Merge pull request #4897 from edi33416/implement_choice

--


[Issue 13474] Discard excess precision for float and double (x87)

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13474

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

https://github.com/dlang/dmd/commit/6db2246e97c790e0988f024ccb25d0fb090d609a
fix Issue 13474 - Discard excess precision for float and double (x87)

https://github.com/dlang/dmd/commit/b9d6be259e2e54c66d8361675b65f717dd5e3fc4
Merge pull request #6247 from WalterBright/fix13474

--


[Issue 16974] [REG2.068] Equal associative arrays with associative array keys are considered unequal

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16974

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/5cc28431b92d6849ef7758d200f714f5aee996f3
Fix Issue 16974 - Equal associative arrays with associative array keys are
considered unequal

https://github.com/dlang/druntime/commit/d57fdb116ebb9dc1a7c0f1983c253db58dbbc22b
Merge pull request #1715 from denis-sh/fix-Issue-16974

--


[Issue 16513] Speed up TemplateInstance.findExistingInstance hash

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16513

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

https://github.com/dlang/dmd/commit/d41992ee9c9ce96c0dc0df97b5a63ff7f8be077f
use non-associative op to combine hashes

https://github.com/dlang/dmd/commit/b69e2edc9564850573f046a4206bbea9ff61e23b
Merge pull request #6418 from MartinNowak/fix16513

--


[Issue 17081] Bodies in extern cpp functions in D files are not linked

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17081

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/e3e8b23401dd1a323f1f4567cef7612f74984bf9
Merge pull request #1736 from Darredevil/issue-17081

--


[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17072

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

   What|Removed |Added

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

--


[Issue 16663] [REG 2.072] std.unit.toUpper rejects an alias this to a string

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16663

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

https://github.com/dlang/phobos/commit/8f8979ebe15adf6ef82c3f43b81388a61be99700
Revert "Merge pull request #4790 from JackStouffer/uni-private"

https://github.com/dlang/phobos/commit/2f27e58b0e498aeecfdbce5178ad0bb700ab779c
Add regression test for issue 16663

https://github.com/dlang/phobos/commit/de688d978d3319e87adbe549538c7f0b0aa7743d
Merge pull request #4901 from Dicebot/revert-regressions2

--


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

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

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/00ce4ed3a114b42f9dd30015b20c4b795fd61360
Merge pull request #4865 from 9il/tohash

--


[Issue 13017] opEquals for null std.typecons.Nullable

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13017

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

https://github.com/dlang/phobos/commit/5dc7aa24217bb7751200eb5b2e869c2c5feab557
Fix issue #13017: opEquals for null std.typecons.Nullable

https://github.com/dlang/phobos/commit/d94442c8e758cef0bb3d2a163d464a68049556de
Merge pull request #5032 from jmdavis/issue_13017

--


[Issue 16135] missing std.format import in std.algorithm.comparison

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16135

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

https://github.com/dlang/phobos/commit/d1b59d3f2e4879c1379e2e42080f4cd0155717e4
Fix Issue 16135 - missing std.format import in std.algorithm.comparison

https://github.com/dlang/phobos/commit/7904edd50449bb0a7bba9d62a3106030d560c7ce
Merge pull request #5006 from wilzbach/fix-16135

--


[Issue 16382] Passing as a CT parameter seg faults dmd

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16382

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

https://github.com/dlang/dmd/commit/fe278833a56768799bfa067ef357c1719fb2e17a
Fix issue 16382 - Prevent a segfault when interpreting 

https://github.com/dlang/dmd/commit/c1d138cc3860ecf8cbe06090cc321f4d5502b6ee
Merge pull request #6430 from LemonBoy/b16382

--


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

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

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

https://github.com/dlang/phobos/commit/e0ca51f9f01cc2a089907b09f9e0ed3dd15df643
fix issue 8799

https://github.com/dlang/phobos/commit/c77869f22e61919a9f3d617d7d5d2254641aa7e4
Merge pull request #4882 from somzzz/issue_8799

--


[Issue 16978] [REG2.072.0] pragma(lib) is broken with rdmd

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16978

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/a9aba0067cc9604588b71877eb390df106f8abe7
Fix Issue 16978 - [REG2.072.0] pragma(lib) is broken with rdmd

https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf
Merge pull request #207 from CyberShadow/issue-16962

--


[Issue 16355] __xpostblit incorrectly generated for a struct with a zero-length static array

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16355

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

https://github.com/dlang/dmd/commit/75ea4a884328d194e9f98631e3295a293c57a787
Fix issue 16355 - Don't emit a __xpostblit when it's not needed.

https://github.com/dlang/dmd/commit/538a895157acdbbfc5869791f9504f7e86b4fdd0
Merge pull request #6400 from LemonBoy/b16355

--


[Issue 17059] [REG 2.072.2] incorrect circular reference with `is(Klass : Interface)`

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17059

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

https://github.com/dlang/dmd/commit/c4ac1abed6e6aa95b1312d777f77fb634e2dac07
fix Issue 17059 - incorrect circular reference with `is(Klass : Interface)`

https://github.com/dlang/dmd/commit/45c886fab62ed8a99ab054d3d5e9c2e6a38e429e
Merge pull request #6412 from MartinNowak/fix17059

--


[Issue 16624] std.path.setExtension ddoc comment is strangely formated

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16624

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

https://github.com/dlang/phobos/commit/9d1fc0750bec03cf1e9cc1fdbbefa8828ae0d418
[TRIVIAL, DDOC] fix issue 16624 - setExtension ddoc comment is strangely
formated

https://github.com/dlang/phobos/commit/bf2550fbc51c3080fd9e730140d1061048053ebc
Merge pull request #4886 from BBasile/issue16624

--


[Issue 16970] Fix deprecations and warnings when compiling Phobos

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16970

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

https://github.com/dlang/phobos/commit/3d98191ce9fee0d2bf2b2c4982242afe413e37bd
Fix issue 16970 - Fix deprecations and warnings when compiling Phobos

https://github.com/dlang/phobos/commit/032d04df03d3570dd9df882375b012d48813238f
Merge pull request #4956 from edi33416/fix_deprecations

--


[Issue 6716] Linking a C program with D library causes DEH errors

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6716

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

https://github.com/dlang/dmd/commit/d312f43000dd63989d84e92a992c6ab0a4bbfb97
fix issue 6716: Linking a C program with D library causes DEH errors

https://github.com/dlang/dmd/commit/5ab12bfc54ea4069f288f84f664098b8e562fe04
add test for issue 6716

https://github.com/dlang/dmd/commit/d057ce717be09106019b54b8c740673960725a13
Merge pull request #6245 from rainers/ehsections_rt_init

fix issue 6716: Linking a C program with D library causes DEH errors

--


[Issue 16764] `hashOf` is misleading, error-prone, and useless

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16764

--- Comment #7 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/5c187e05ff87404ebf4884cfc548324c2c3ed0fc
Revert object.hashOf changes from "use array interface to hashOf()"

--


[Issue 16211] [REG 2.058] Cyclic dependencies broken again

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16211

--- Comment #9 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/5ad304a4323a80e581a5e8da61b9bd81205c9438
fixup for issue 16211 - Add deprecate feature for cycle detection as the

--


[Issue 16996] std.algorithm.remove with SwapStrategy.unstable removes more entries

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16996

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

https://github.com/dlang/phobos/commit/424aec1159f045948f896e921dded5b8ef5f00fa
Fix Issue 16996 - std.algorithm.remove with SwapStrategy.unstable removes more
entries

https://github.com/dlang/phobos/commit/3c0b47ab513034fb29abbf849873c87e81264813
Merge pull request #4979 from WalterWaldron/fix16996

--


[Issue 16797] Zero clock resolution lead to division by zero

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16797

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/3a29ac5293dfa5e85790480b838eaa45f59c14a8
fix issue 16797 - Zero clock resolution lead to division by zero

https://github.com/dlang/druntime/commit/09d570f47cd1c727298e4b0fe1ad668f1dd28e4e
Merge pull request #1702 from joakim-brannstrom/fix16797

--


[Issue 17074] extern(C++, keyword) crashes compiler

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17074

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

https://github.com/dlang/dmd/commit/e4516073a3e0d5d92499fc6e1a5b184eb4e87f31
Fix Issue 17074: extern(C++, keyword) crashes compiler

https://github.com/dlang/dmd/commit/b35ec9c94a14d226dcbb5758eedd8e7d2cc4cb53
Merge pull request #6415 from ibuclaw/issue17074

--


[Issue 15282] Import osmodel.mak from dmd to detect OS and MODEL

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15282

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/6220f0a31d0934c0a8d87ff7650e209e29400e14
Merge pull request #179 from sohgo/import-osmodel.mak

--


[Issue 14296] RDMD fails at building a lib when the source is in a subdir

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14296

--- Comment #12 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/e245e29d8bebe4d3965dbee40216135df513bccf
Fix Issue 14296 - RDMD fails at building a lib when the source is in a subdir

https://github.com/dlang/tools/commit/bfbcd086bad634066ba142964823f1689e879aaf
Merge pull request #207 from CyberShadow/issue-16962

--


[Issue 17076] [scope] compiling identity function template with -dip1000 causes error

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17076

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/e11a1cd13ce6450bb3b2ec91da267e2b7547fe24
Merge pull request #6420 from WalterBright/ret-ptrs

--


[Issue 9378] std.internal.digest.sha_SSE3 breaks if compiled with PIC

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9378

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

https://github.com/dlang/phobos/commit/12c56c935c6bd0130fcb545264293cc0e500799f
partly fix Issue 9378 - SHA1 asm not PIC compatible

https://github.com/dlang/phobos/commit/d85b5e0a120f35ec800566cf6c64acb5c2a4563c
Merge pull request #4994 from MartinNowak/fix9378

--


[Issue 16743] Intrinsic recognition sometimes fails if a software implementation is available

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16743

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/7f90cdce59cd44172327fd7ddb6ce3f9eac6
fix Issue 16743 - Intrinsic recognition sometimes fails if a software
implementation is available

https://github.com/dlang/druntime/commit/dc622e5e2e5485d6f12433500dcffcda5b45c930
Merge pull request #1695 from WalterBright/fix16743

--


[Issue 16980] [REG2.072.0] wrong interface called

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16980

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

https://github.com/dlang/dmd/commit/bbd22804313fa37fe2848b7f3bc45f83f4ea8db8
fix Issue 16980 - wrong interface called

https://github.com/dlang/dmd/commit/6b294ff205772ef2ca0dfc3df90dc0b16c2a2772
Merge pull request #6383 from MartinNowak/fix16980

--


[Issue 15576] extern(C++, namespace) wrong mangling of variables (Windows)

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15576

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

https://github.com/dlang/dmd/commit/b725551c35874fdce085a1475f6bd0db398e0f64
Fix issue 15576 - Skip over the parent expression when parent is NSpace.

https://github.com/dlang/dmd/commit/dcb58fc97636d9fbe1ee3405be1152c966f456dd
Merge pull request #6232 from LemonBoy/cppmangle

--


[Issue 5995] string append negative integer causes segfault

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995

--- Comment #22 from github-bugzi...@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/316e6d2607b4b22794ef75a331ad27d970717cda
fix issue 5995

https://github.com/dlang/druntime/commit/6dbbadbac4a0567ba49f0e616fccc8c597fec771
Merge pull request #1696 from somzzz/issue_5995

--


[Issue 16352] dead-lock in std.allocator.free_list unittest

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16352

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

https://github.com/dlang/phobos/commit/5caa66ef31e40725c5548d40ead7dbefd19a0d79
Fix issue 16352 - dead-lock in std.allocator.free_list unittest

https://github.com/dlang/phobos/commit/05e9cba20e2455cb94b5d70a0d6e873bf45cec14
Merge pull request #4988 from WalterWaldron/fix16352

https://github.com/dlang/phobos/commit/f7e14e905b9d668ac788024f3c03c600adf0d84f
Fix issue 16352 - dead-lock in std.allocator.free_list unittest

--


[Issue 17072] [REG 2.073.0-b1] missing symbols with -inline

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17072

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

https://github.com/dlang/dmd/commit/575e6d130d10410e3845a9df1ee2f7e13e84cd9a
fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline

https://github.com/dlang/dmd/commit/661be50c59cc83a9376776598ff63fb84b08bb55
Merge pull request #6452 from WalterBright/fix17072

fix Issue 17072 - [REG 2.073.0-b1] missing symbols with -inline

--


[Issue 16255] std.algorithm.iteration.each on opApply doesn't support ref

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16255

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

https://github.com/dlang/phobos/commit/f903de7bc6a507e787323d633679872c5c8e618c
Fix issue 16255 - std.algorithm.iteration.each on opApply doesn't support ref

https://github.com/dlang/phobos/commit/515b6a4ea2d9485a01efbf212357b623980bfa82
Merge pull request #4991 from wilzbach/fix-issue-16255-each-opApply

--


[Issue 8087] Improve clarity of std.algorithm documentation

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8087

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

https://github.com/dlang/phobos/commit/946a46774c58681036e12932858d0bb58f887448
Fix Issue 8087 - Improve clarity of std.algorithm documentation

https://github.com/dlang/phobos/commit/fd518eb310a9494cccf28c54892542b052c49669
Merge pull request #4883 from Darredevil/issue-8087

--


[Issue 16634] std.math exposes yl2x and yl2xp1 publicly

2017-01-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16634

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

https://github.com/dlang/phobos/commit/f10dd947cdbaeb67ef02063e734f8b842ec1bb23
fix issue 16634

https://github.com/dlang/phobos/commit/6acf4a289dce4da8e396b3c1b457747d3a5a916c
Merge pull request #4975 from somzzz/issue_16634

--


  1   2   3   >