[Issue 19091] __traits(compiles) and error in templated structs leads to missing symbol

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19091 --- Comment #1 from FeepingCreature --- Note that __traits(compiles) evaluates to true?! --

Re: Copy Constructor DIP

2018-07-17 Thread aliak00 via Digitalmars-d
On Tuesday, 17 July 2018 at 07:27:32 UTC, Jacob Carlborg wrote: On Tuesday, 17 July 2018 at 00:04:12 UTC, Andrei Alexandrescu wrote: Then "negative" :o). In brief @implicit follows the same implementation as @safe and @nogc/ Why? This is a breaking change. Why not go with an approach that

std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Seb via Digitalmars-d
So we managed to revive the rcstring project and it's already a PR for Phobos: https://github.com/dlang/phobos/pull/6631 (still WIP though) The current approach in short: - uses the new @nogc, @safe and nothrow Array from the collections library (check Eduardo's DConf18 talk) - uses

Re: Is it feasible to slowly rewrite a C++ codebase in D?

2018-07-17 Thread bachmeier via Digitalmars-d-learn
On Tuesday, 17 July 2018 at 06:57:37 UTC, drug wrote: I just build it using dub then do something like that(from memory): `d++ some_c_header.h --include-path path/to/other/c/header/files --keep-d-files` and it generates d file for the corresponding c header. Although dpp is intended to be

[Issue 15206] [REG2.077] ICE on optimized build, tym = x1d Internal error: backend\cgxmm.c 547

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15206 Stingertough changed: What|Removed |Added CC||wolfsp...@gmail.com --

Re: DIP 1014--Hooking D's struct move semantics--Final Review

2018-07-17 Thread aliak00 via Digitalmars-d
On Thursday, 12 July 2018 at 10:24:40 UTC, Shachar Shemesh wrote: On 29/06/18 15:35, aliak wrote: On Wednesday, 27 June 2018 at 07:24:05 UTC, Mike Parker wrote: On Wednesday, 27 June 2018 at 07:13:14 UTC, Mike Parker wrote: Thanks in advance for your participation. For those of you using

Re: Check whether a range is empty

2018-07-17 Thread Gary Willoughby via Digitalmars-d-learn
On Friday, 13 July 2018 at 18:37:35 UTC, vino.B wrote: Hi All, How do i check whether a range is empty. eg. (!PFResutl.toRange).empty. I tired the below, but it is no printing Empty if the range is empty it just prints blank line. if (!(!PFResutl.toRange).empty) { writeln("Empty"); }

Re: Check whether a range is empty

2018-07-17 Thread Alex via Digitalmars-d-learn
On Tuesday, 17 July 2018 at 13:59:45 UTC, Gary Willoughby wrote: I thought every range at the lowest level has an `empty` property. So, in this case, it would be: if (PFResutl.toRange.empty) { writeln("Empty"); } Yeah, but it seems, that PFResutl is a range of ranges, and the OP has the

Shopping on Amazon on Prime Day (and beyond)? Support the D language!

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d
Amazon has a nonprofit arm: https://smile.amazon.com Go there and choose The D Language Foundation as your charity of choice, then shop normally through smile.amazon.com. A fraction of your expenditure will go to the Foundation. Thanks, Andrei

Shopping on Amazon on Prime Day (and beyond)? Support the D language!

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d-announce
Amazon has a nonprofit arm: https://smile.amazon.com Go there and choose The D Language Foundation as your charity of choice, then shop normally through smile.amazon.com. A fraction of your expenditure will go to the Foundation. Thanks, Andrei

Re: Copy Constructor DIP

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d
On 7/16/18 8:57 PM, docandrew wrote: I think in this case, a more obscure name like @copyctor is more descriptive. On the contrary, it is redundant and uninformative. It applies to exactly a constructor that copies, so it adds no information. "@implicit" describes precisely what the

Re: Copy Constructor DIP

2018-07-17 Thread aliak00 via Digitalmars-d
On Tuesday, 17 July 2018 at 14:41:06 UTC, ag0aep6g wrote: On 07/17/2018 03:03 PM, aliak00 wrote: [...] In a UDA `@implicit`, `implicit` is just a normal symbol. So the normal lookup rules apply. In particular, you can shadow an imported `implicit` with a local one: [...] Ah, gotcha!

[Issue 19091] New: __traits(compiles) and error in templated structs leads to missing symbol

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19091 Issue ID: 19091 Summary: __traits(compiles) and error in templated structs leads to missing symbol Product: D Version: D2 Hardware: x86_64 OS: Linux

Re: Copy Constructor DIP

2018-07-17 Thread aliak00 via Digitalmars-d
On Saturday, 14 July 2018 at 00:57:14 UTC, Andrei Alexandrescu wrote: [...] chucklesomely profligate and ridiculously baroque. Andrei Hahaha this sentence... amazing! :D I was going to propose auto this(ref A other) {} but nevermind :p Cheers, - Ali

Re: CJK problem when using console outputs

2018-07-17 Thread zhani via Digitalmars-d-learn
On Monday, 16 July 2018 at 18:16:45 UTC, ag0aep6g wrote: On 07/16/2018 11:30 AM, zhani wrote: [...] Try this: import std.stdio: writeln; import std.exception: enforce; import core.sys.windows.windows: CP_UTF8, SetConsoleOutputCP; void main() { SetConsoleOutputCP(CP_UTF8).enforce;

[Issue 19082] Cannot inline "...Slides.numberOfFullFrames", "...Slides.gap"

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19082 Seb changed: What|Removed |Added Severity|enhancement |major --

Re: Copy Constructor DIP

2018-07-17 Thread aliak00 via Digitalmars-d
On Tuesday, 17 July 2018 at 04:04:33 UTC, Manu wrote: On Mon., 16 Jul. 2018, 6:00 pm docandrew via Digitalmars-d, < digitalmars-d@puremagic.com> wrote: On Saturday, 14 July 2018 at 10:53:17 UTC, Andrei Alexandrescu wrote: > On 7/14/18 5:03 AM, Luís Marques wrote: >> If there is "no other

[Issue 19055] [404 Not Found] std.digest.digest

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19055 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/841ca3433340b4129dda9bb879720f3c810e93f1 Issue 19055 - [404 Not Found] std.digest.digest

[Issue 19082] Cannot inline "...Slides.numberOfFullFrames", "...Slides.gap"

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19082 --- Comment #6 from Seb --- Oh I see. This should fix it: https://github.com/dlang/phobos/pull/6636 --

Re: Anyone can contact Dmitry Olshansky?

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d
Thanks, Dave, for the good points. All: please refrain from commenting on the mental disposition of community members publicly. Thanks, Andrei

Re: Copy Constructor DIP

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d
On 7/17/18 12:04 AM, Manu wrote: But that's the point, and the key advantage of the name ;) [:nod:]

Re: Copy Constructor DIP

2018-07-17 Thread Luís Marques via Digitalmars-d
On Saturday, 14 July 2018 at 10:53:17 UTC, Andrei Alexandrescu wrote: I think it's better to choose a more general attribute name with reduced initial applicability. Then application of said attribute can be extended to other functions with ease. In contrast, an obscure attribute name is sure

Re: Copy Constructor DIP

2018-07-17 Thread ag0aep6g via Digitalmars-d
On 07/17/2018 03:03 PM, aliak00 wrote: Can you explain a bit more here? How does having implicit as a compiler recognized UDA avoid breaking changes as opposed to it being implemented like @nogc/@safe (how are those implemented differently anyway?) In a UDA `@implicit`, `implicit` is just a

Re: names not demangled in nm --demangle=dlang

2018-07-17 Thread Seb via Digitalmars-d-learn
On Tuesday, 17 July 2018 at 15:39:39 UTC, Zheng (Vic) Luo wrote: Hi, I built a simple program with dmd a.d and tried to observe symbols with nm --demangle=dlang ./a. However, I can observe that only part of the symbols (e.g., std.stdio.File.size()) are demangled, while others remain in their

Re: Is it feasible to slowly rewrite a C++ codebase in D?

2018-07-17 Thread bachmeier via Digitalmars-d-learn
On Tuesday, 17 July 2018 at 15:55:03 UTC, bachmeier wrote: On Tuesday, 17 July 2018 at 06:57:37 UTC, drug wrote: [...] I'm going to create an issue on Github. This is the output I get: [...] I solved that problem but now I have others. dpp is a good thing on paper but maybe not yet in

Re: DMD, Vibe.d, and Dub

2018-07-17 Thread Russel Winder via Digitalmars-d
I then tried with ldc2, which on Debian Sid in 1.8.0 :-( |> dub build --compiler=ldc2 Performing "debug" build using ldc2 for x86_64. taggedalgebraic 0.10.11: building configuration "library"... eventcore 0.8.35: building configuration "epoll"... stdx-allocator 2.77.2: building configuration

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, July 17, 2018 15:21:30 Seb via Digitalmars-d wrote: > So we managed to revive the rcstring project and it's already a > PR for Phobos: > > https://github.com/dlang/phobos/pull/6631 (still WIP though) > > The current approach in short: > > - uses the new @nogc, @safe and nothrow Array

[Fwd: [accu-general] Code Critique 112]

2018-07-17 Thread Russel Winder via Digitalmars-d
Hi, Hopefully, people are preparing their submissions for this CVu Code Critique. I am writing one as we speak, but as I know absolutely SFA about Vibe.d I am sure it will be as crap as the code below. ACCU members would I suspect like to have some constructive material on using D for Web

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread jmh530 via Digitalmars-d
On Tuesday, 17 July 2018 at 15:21:30 UTC, Seb wrote: So we managed to revive the rcstring project and it's already a PR for Phobos: [snip] I'm glad this is getting worked on. It feels like something that D has been working towards for a while. Unfortunately, I haven't (yet) watched the

Re: DMD, Vibe.d, and Dub

2018-07-17 Thread Russel Winder via Digitalmars-d
On Tue, 2018-07-17 at 18:49 +, kinke via Digitalmars-d wrote: > On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote: > > This would seem to imply that you can't use Vibe.d 0.8.4 with > > DMD 2.081.0. > > I think that regression was the main reason for early 2.081.1. Ah, OK. I'll

Re: Anyone can contact Dmitry Olshansky?

2018-07-17 Thread Mr.Bingo via Digitalmars-d
On Tuesday, 17 July 2018 at 09:08:03 UTC, Dave Jones wrote: On Monday, 16 July 2018 at 16:20:24 UTC, Mr.Bingo wrote: On Tuesday, 3 July 2018 at 07:31:46 UTC, Nick Sabalausky (Abscissa) wrote: On 07/01/2018 05:34 AM, ag0aep6g wrote: On 07/01/2018 08:00 AM, Ali Çehreli wrote: Apparent from

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, July 17, 2018 17:28:19 Seb via Digitalmars-d wrote: > On Tuesday, 17 July 2018 at 16:58:37 UTC, Jonathan M Davis wrote: > > On Tuesday, July 17, 2018 15:21:30 Seb via Digitalmars-d wrote: > >> [...] > > > > If it's not a range by default, why would you expect _anything_ > > which

opCmp / opEquals do not actually support partial orders

2018-07-17 Thread H. S. Teoh via Digitalmars-d
As we know, when opCmp is defined for a user type, then opEquals must also be defined in order for == to work, even though in theory the compiler could translate x==y into x.opCmp(y)==0. In the past, it was argued that this was so that partial orders could be made to work, i.e., it could be the

Re: Hunt framework 1.2.0 released

2018-07-17 Thread Brian via Digitalmars-d-announce
On Tuesday, 17 July 2018 at 11:10:07 UTC, Suliman wrote: On Tuesday, 17 July 2018 at 09:27:26 UTC, Brian wrote: Hello, hunt framework fix bugs version release. Major updates: 1. Add simplify functions 2. You can use createUrl() to create link url from module.controller.action 3. support

Re: DMD, Vibe.d, and Dub

2018-07-17 Thread kinke via Digitalmars-d
On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote: This would seem to imply that you can't use Vibe.d 0.8.4 with DMD 2.081.0. I think that regression was the main reason for early 2.081.1.

DMD, Vibe.d, and Dub

2018-07-17 Thread Russel Winder via Digitalmars-d
Hi, I set up the CVu Code Critique 112 code in a cannical D project with a minimal dub.sdl file. name "server" description "A sample server using vibe.d for CVu Code Critique 112" dependency "vibe-d" version="*" I am on Debian Sid with Dub and DMD from d-apt (so Dub 1.1.0.0 and DMD 2.081.0) and

Re: Copy Constructor DIP

2018-07-17 Thread aliak via Digitalmars-d
On Friday, 13 July 2018 at 12:31:41 UTC, Atila Neves wrote: On Friday, 13 July 2018 at 03:01:25 UTC, Manu wrote: On Thu, 12 Jul 2018 at 19:15, Andrei Alexandrescu via Digitalmars-d wrote: On 7/12/18 6:34 PM, Manu wrote: > On Thu, 12 Jul 2018 at 06:50, Andrei Alexandrescu via > Digitalmars-d

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Seb via Digitalmars-d
On Tuesday, 17 July 2018 at 16:58:37 UTC, Jonathan M Davis wrote: On Tuesday, July 17, 2018 15:21:30 Seb via Digitalmars-d wrote: [...] If it's not a range by default, why would you expect _anything_ which operates on ranges to work with rcstring directly? IMHO, if it's not a range, then

Re: Symmetry Autumn of Code

2018-07-17 Thread Ecstatic Coder via Digitalmars-d-announce
On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote: Thanks to the sponsorship of Symmetry Investments, the D Language Foundation is happy to announce the Symmetry Autumn of Code! We're looking for three university students to hack on D this autumn, from September - January. We're

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Jacob Carlborg via Digitalmars-d
On 2018-07-17 17:21, Seb wrote: - _no_ range by default (it needs an explicit `.by!{d,w,}char`) (as in no auto-decoding by default) What do you think about this approach? Do you have a better idea? I vote for .by!char to be the default. -- /Jacob Carlborg

Re: Anyone can contact Dmitry Olshansky?

2018-07-17 Thread Dave Jones via Digitalmars-d
On Tuesday, 17 July 2018 at 17:47:57 UTC, Mr.Bingo wrote: On Tuesday, 17 July 2018 at 09:08:03 UTC, Dave Jones wrote: On Monday, 16 July 2018 at 16:20:24 UTC, Mr.Bingo wrote: On Tuesday, 3 July 2018 at 07:31:46 UTC, Nick Sabalausky I see we have the resident genius on hand. Yes, anything

Re: Error: only one main allowed. Previously found main at *

2018-07-17 Thread Joe smith via Digitalmars-d
I have also faced this same issue. But I couldn't recover from it. One of my friends suggests me to contact https://applesupportnumber.net/apple-customer-support/ for help. AS he said I contact them and they solved my issue. You should also try them.

Re: Is it feasible to slowly rewrite a C++ codebase in D?

2018-07-17 Thread jmh530 via Digitalmars-d-learn
On Tuesday, 17 July 2018 at 16:39:48 UTC, bachmeier wrote: On Tuesday, 17 July 2018 at 15:55:03 UTC, bachmeier wrote: On Tuesday, 17 July 2018 at 06:57:37 UTC, drug wrote: [...] I'm going to create an issue on Github. This is the output I get: [...] I solved that problem but now I have

Re: opCmp / opEquals do not actually support partial orders

2018-07-17 Thread John Colvin via Digitalmars-d
On Tuesday, 17 July 2018 at 18:21:26 UTC, H. S. Teoh wrote: As we know, when opCmp is defined for a user type, then opEquals must also be defined in order for == to work, even though in theory the compiler could translate x==y into x.opCmp(y)==0. In the past, it was argued that this was so

Re: Symmetry Autumn of Code

2018-07-17 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 17 July 2018 at 17:36:12 UTC, Ecstatic Coder wrote: I'd suggest adding the following to SAOC 2018 project proposals : [snip] Things on my wishlist: Improved REPL support (esp Windows) Jupyter kernel for D (someone might be working on this) Very smooth integration between

Re: DMD, Vibe.d, and Dub

2018-07-17 Thread kinke via Digitalmars-d
On Tuesday, 17 July 2018 at 19:39:32 UTC, Russel Winder wrote: It seems that the LDC 1.11 branch in the GitHub repository has the DMD 2.081.0 problem. If you're referring to branch merge-2.081, that one doesn't exist anymore. master/beta2 are based on 2.081.1+ and should thus be fixed.

Re: DMD, Vibe.d, and Dub

2018-07-17 Thread Russel Winder via Digitalmars-d
On Tue, 2018-07-17 at 20:23 +0100, Russel Winder wrote: > On Tue, 2018-07-17 at 18:49 +, kinke via Digitalmars-d wrote: > > On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote: > > > This would seem to imply that you can't use Vibe.d 0.8.4 with > > > DMD 2.081.0. > > > > I think

Re: DMD, Vibe.d, and Dub

2018-07-17 Thread Radu via Digitalmars-d
On Tuesday, 17 July 2018 at 18:55:07 UTC, Russel Winder wrote: [...] Missing openssl libs? Try installing openssl-dev package.

Re: LDC 1.11.0 beta2

2018-07-17 Thread Joakim via Digitalmars-d-announce
On Wednesday, 18 July 2018 at 01:35:11 UTC, Ali wrote: On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote: Glad to announce the second beta for LDC 1.11. * Prebuilt packages now using LLVM 6.0.1 and including additional cross-compilation targets (MIPS, MSP430, RISC-V and WebAssembly). *

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Jon Degenhardt via Digitalmars-d
On Tuesday, 17 July 2018 at 15:21:30 UTC, Seb wrote: So we managed to revive the rcstring project and it's already a PR for Phobos: https://github.com/dlang/phobos/pull/6631 (still WIP though) The current approach in short: - uses the new @nogc, @safe and nothrow Array from the collections

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread rikki cattermole via Digitalmars-d
On 18/07/2018 5:41 AM, Jacob Carlborg wrote: On 2018-07-17 17:21, Seb wrote: - _no_ range by default (it needs an explicit `.by!{d,w,}char`) (as in no auto-decoding by default) What do you think about this approach? Do you have a better idea? I vote for .by!char to be the default. I'm

Re: Symmetry Autumn of Code

2018-07-17 Thread rikki cattermole via Digitalmars-d-announce
On 18/07/2018 5:36 AM, Ecstatic Coder wrote: On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote: Thanks to the sponsorship of Symmetry Investments, the D Language Foundation is happy to announce the Symmetry Autumn of Code! We're looking for three university students to hack on D

Re: LDC 1.11.0 beta2

2018-07-17 Thread Ali via Digitalmars-d-announce
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote: Glad to announce the second beta for LDC 1.11. * Prebuilt packages now using LLVM 6.0.1 and including additional cross-compilation targets (MIPS, MSP430, RISC-V and WebAssembly). * Rudimentary support for compiling & linking directly to

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Andrei Alexandrescu via Digitalmars-d
On 7/17/18 12:58 PM, Jonathan M Davis wrote: If it's not a range by default, why would you expect_anything_ which operates on ranges to work with rcstring directly? Many functions do not care about the range aspect, but do care about the string aspect. Consider e.g. chdir.

Re: LDC 1.11.0 beta2

2018-07-17 Thread Dennis via Digitalmars-d-announce
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote: * Rudimentary support for compiling & linking directly to WebAssembly. See the dedicated Wiki page [1] for how to get started. This is really awesome! I tried the examples, is there any other documentation about it currently? I tried

Re: Copy Constructor DIP

2018-07-17 Thread Manu via Digitalmars-d
On Tue, 17 Jul 2018 at 10:20, aliak via Digitalmars-d wrote: > > On Friday, 13 July 2018 at 12:31:41 UTC, Atila Neves wrote: > > On Friday, 13 July 2018 at 03:01:25 UTC, Manu wrote: > >> On Thu, 12 Jul 2018 at 19:15, Andrei Alexandrescu via > >> Digitalmars-d wrote: > >>> > >>> On 7/12/18 6:34

Re: DIP 1014--Hooking D's struct move semantics--Final Review

2018-07-17 Thread Shachar Shemesh via Digitalmars-d
On 17/07/18 16:29, aliak00 wrote: A postblit on a class issues a compiler error. And an identity opAssign on a class also issues a compiler error. So I'm not sure how this would be different. And the page In https://dlang.org/spec/operatoroverloading.html also explicitly mentions

HMAC and toHexString

2018-07-17 Thread Nicholas Wilson via Digitalmars-d-learn
... string key = "blahblahblah"; auto mac = hmac!SHA256(key.representation); string s = ...,t=...u=...,v=...; foreach(w;AliasSeq!(s,t,u,v)) mac.put(w.representation); ubyte[32] s = mac.finish; string sig = toHexString!(LetterCase.lower)(s); writeln(sig); // From what I understand

Re: std.experimental.collections.rcstring and its integration in Phobos

2018-07-17 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, July 17, 2018 22:45:33 Andrei Alexandrescu via Digitalmars-d wrote: > On 7/17/18 12:58 PM, Jonathan M Davis wrote: > > If it's not a range by default, why would you expect_anything_ which > > operates on ranges to work with rcstring directly? > > Many functions do not care about the

[Issue 19089] Compiler crash for using struct

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19089 ag0aep6g changed: What|Removed |Added Keywords||ice CC|

Re: Funding code-d

2018-07-17 Thread Ecstatic Coder via Digitalmars-d-announce
On Saturday, 14 July 2018 at 16:19:29 UTC, Joakim wrote: On Friday, 13 July 2018 at 14:20:19 UTC, Mike Parker wrote: As promised in my tweet of June 30 (and to the handful of people who emailed me), the cloud of mystery surrounding the use of the money raised for code-d and its supporting

Re: Anyone can contact Dmitry Olshansky?

2018-07-17 Thread Dave Jones via Digitalmars-d
On Monday, 16 July 2018 at 16:20:24 UTC, Mr.Bingo wrote: On Tuesday, 3 July 2018 at 07:31:46 UTC, Nick Sabalausky (Abscissa) wrote: On 07/01/2018 05:34 AM, ag0aep6g wrote: On 07/01/2018 08:00 AM, Ali Çehreli wrote: Apparent from uncharacteristic messages from Dmitry's account to multiple

[Issue 13926] Find all references

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13926 Rainer Schuetze changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #1 from

Re: Implicit conversion of struct with methods to immutable in pure function fails

2018-07-17 Thread Simen Kjærås via Digitalmars-d-learn
On Monday, 16 July 2018 at 13:13:53 UTC, Timoses wrote: On Monday, 16 July 2018 at 12:00:57 UTC, Simen Kjærås wrote: On Monday, 16 July 2018 at 11:43:03 UTC, Timoses wrote: Why does this fail? It doesn't. Not using DMD 2.081.1 under Windows, at least. I tried adding a bitfield since you

Re: Is it feasible to slowly rewrite a C++ codebase in D?

2018-07-17 Thread drug via Digitalmars-d-learn
16.07.2018 17:32, bachmeier пишет: On Friday, 13 July 2018 at 19:53:45 UTC, Laeeth Isharc wrote: On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez Hermoso wrote: What are your ideas? If you would like to expose C function and type declarations to D, you could take a look at DPP,

Re: Copy Constructor DIP

2018-07-17 Thread Jacob Carlborg via Digitalmars-d
On Tuesday, 17 July 2018 at 00:04:12 UTC, Andrei Alexandrescu wrote: Then "negative" :o). In brief @implicit follows the same implementation as @safe and @nogc/ Why? This is a breaking change. Why not go with an approach that does not cause any breaking changes, which is just as easy to do?

Re: std.experimental.allocator and const etc.

2018-07-17 Thread Steven Schveighoffer via Digitalmars-d
On 7/15/18 9:06 AM, John Colvin wrote: Currently the API's don't support const(void)[], e.g. import std.experimental.allocator : makeArray, theAllocator, dispose; import std.experimental.allocator.mallocator : Mallocator; void main() {     const a = theAllocator.makeArray!ubyte(100);    

Re: Check whether a range is empty

2018-07-17 Thread Steven Schveighoffer via Digitalmars-d-learn
On 7/15/18 8:56 AM, vino.B wrote: On Sunday, 15 July 2018 at 12:18:27 UTC, Steven Schveighoffer wrote: On 7/15/18 7:45 AM, vino.B wrote: [...] I still don't know why you are using chain here as it equates to the identity function in this instance:

[Issue 19082] Cannot inline "...Slides.numberOfFullFrames", "...Slides.gap"

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19082 --- Comment #5 from Mitu --- (In reply to Seb from comment #4) > I'm sorry, but I can't reproduce this: > > https://run.dlang.io/is/W8BEnJ > https://run.dlang.io/is/mHxy3W > > Have you tried DustMite? You seem to have forgotten that dub release

[Issue 19055] [404 Not Found] std.digest.digest

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19055 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/0f867b7e39175a5a6a3d8cdb50ed3ad9f46c9227 Fix Issue 19055 - [404 Not Found]

[Issue 19055] [404 Not Found] std.digest.digest

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19055 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15119] LDC version of installer

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15119 Seb changed: What|Removed |Added CC||greeen...@gmail.com --- Comment #3 from Seb --- The

[Issue 19055] [404 Not Found] std.digest.digest

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19055 --- Comment #2 from Nicholas Wilson --- As in on https://dlang.org/phobos/index.html The "Library overview" panel thing on the left hand side expand "std" go to digest digest. Alternately look for the link that points to

[Issue 19055] [404 Not Found] std.digest.digest

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19055 --- Comment #3 from Seb --- I see. Sorry I was looking at the Ddox version. This is then required: https://github.com/dlang/phobos/pull/6635 https://github.com/dlang/dlang.org/pull/2421 --

[Issue 18720] Segfault in src/gc/impl/conservative/gc.d:1990

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18720 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18991] Invalid code in std.iteration.each

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18991 Seb changed: What|Removed |Added CC||greeen...@gmail.com --- Comment #1 from Seb --- DMD

[Issue 19081] Can't declare enum with UDA at statement level

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19081 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/89639f2876a72015ef4ade085293deb55c2f459f Fix issue 19081 - defining enum with UDA at statements level

[Issue 19081] Can't declare enum with UDA at statement level

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19081 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

names not demangled in nm --demangle=dlang

2018-07-17 Thread Zheng Luo (Vic) via Digitalmars-d-learn
Hi, I built a simple program with dmd a.d and tried to observe symbols with nm --demangle=dlang ./a. However, I can observe that only part of the symbols (e.g., std.stdio.File.size()) are demangled, while others remain in their original name (e.g., _D3std5stdio4File8opAssignMFNfSQBdQBcQzZv).

[Issue 19055] [404 Not Found] std.digest.digest

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19055 Seb changed: What|Removed |Added CC||greeen...@gmail.com --- Comment #1 from Seb ---

[Issue 17268] Build dub with dmd version that included in the release

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17268 Seb changed: What|Removed |Added CC||greeen...@gmail.com --- Comment #2 from Seb ---

Re: Funding code-d

2018-07-17 Thread Ecstatic Coder via Digitalmars-d-announce
On Friday, 13 July 2018 at 15:05:05 UTC, Michael wrote: On Friday, 13 July 2018 at 14:20:19 UTC, Mike Parker wrote: As promised in my tweet of June 30 (and to the handful of people who emailed me), the cloud of mystery surrounding the use of the money raised for code-d and its supporting tools

Hunt framework 1.2.0 released

2018-07-17 Thread Brian via Digitalmars-d-announce
Hello, hunt framework fix bugs version release. Major updates: 1. Add simplify functions 2. You can use createUrl() to create link url from module.controller.action 3. support date() / url() function for template engine 4. fix multi-domain use other port 5. use portgresql / mysql / sqlite on

[Issue 18791] No VERSION file in DMD .zip distribution

2018-07-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18791 Seb changed: What|Removed |Added CC||greeen...@gmail.com --