What is the best minimal runtime for d?

2016-03-19 Thread Taylor Hillegeist via Digitalmars-d-learn
I've been playing around with d with a KL25Z eval board. However it is not easy, It's not easy to know what features are and are not usable. when will i get a linker error to some __eabi_something_not_in_the_runtime. So, question is, does there exist a minimal runtime that will work with

Re: Jai - interesting programming language

2016-03-19 Thread Ola Fosheim Grostad via Digitalmars-d
On Sunday, 20 March 2016 at 01:18:43 UTC, Guillaume Piolat wrote: "Language features like garbage collection and templated data streams and dynamic string classes may help the programmer write code faster, but they don't help the programmer write faster code." I agree on gc and strings, but

[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1737bea648d961dbc1a03dc0eb2babe2d66c322f fix Issue 15729 - broken

[Issue 15815] [REG2.071-devel] deprecation for aliased template instance not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15815 Kenji Hara changed: What|Removed |Added Keywords||diagnostic, pull

[Issue 15455] [REG v2.065] Compiler segfault for simple nested structure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15455 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15455] [REG v2.065] Compiler segfault for simple nested structure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15455 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/414e10b3e3f5ecfa58b5be24c5e490a43281510f fix Issue 15455 - [REG

Re: State of interfacing with c++

2016-03-19 Thread Johan Engelen via Digitalmars-d
On Friday, 18 March 2016 at 13:45:18 UTC, Jonas Drewsen wrote: For a hack week at work I am thinking about creating a module in D that can be used with our existing application which is written in C++. Can anyone shed some light on the current status of interfacing with C++? In particular:

[Issue 15815] [Reg 2.071-devel] deprecation for aliased template instance not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15815 --- Comment #1 from Kenji Hara --- (In reply to Martin Nowak from comment #0) > Introduced by https://github.com/D-Programming-Language/dmd/pull/5302, but > it seems like this already didn't work before for e.g. variable

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 17/03/16 05:54, Vadim Lopatin wrote: Currently DlangUI uses libSDL2 as a backend for OSX. Most wanted feature for OSX is not a look & feel, but support of native OSX menu. (Same for Gnome and other DEs with common menu bar) How is native OS X menu not look & feel? -- /Jacob Carlborg

Re: Whitch can replace std::bind/boost::bind ?

2016-03-19 Thread Ali Çehreli via Digitalmars-d-learn
On 03/18/2016 09:14 AM, Dsby wrote: On Friday, 18 March 2016 at 11:09:37 UTC, Atila Neves wrote: On Friday, 18 March 2016 at 10:50:34 UTC, Dsby wrote: foreach (i ; 0..4) { auto th = new Thread(delegate(){listRun(i);});//this is erro _thread[i]= th; th.start(); } void listRun(int

Re: Whitch can replace std::bind/boost::bind ?

2016-03-19 Thread Atila Neves via Digitalmars-d-learn
On Friday, 18 March 2016 at 10:50:34 UTC, Dsby wrote: foreach (i ; 0..4) { auto th = new Thread(delegate(){listRun(i);});//this is erro _thread[i]= th; th.start(); } void listRun(int i) { writeln("i = ", i); // the value is not(0,1,2,3), it all is 2. } I want

Re: Gdmd compiling error

2016-03-19 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Wednesday, 16 March 2016 at 12:17:42 UTC, Orkhan wrote: On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote: I don't know where from shpuld I get help. Thanks. Is the xcomm library available somewhere, maybe if we had a link to the original documentation we could help.

d-vulkan, automatically generated D bindings for Vulkan

2016-03-19 Thread Alex Parrill via Digitalmars-d-announce
https://github.com/ColonelThirtyTwo/dvulkan I know there are a few other bindings for Vulkan around, but I didn't see one that generated the bindings from the XML spec, so I made d-vulkan. The included vkdgen.py script leverages the spec parser included in the Vulkan-Docs repo to generate D

Re: the most D-ish GUI library

2016-03-19 Thread Saša Janiška via Digitalmars-d
Vadim Lopatin writes: > Most wanted feature for OSX is not a look & feel, but support of native OSX > menu. That's really strange for me, but, otoh, I'm aware that "De gustibus non est disputandum" :-) > Not sure if it's easy to use OSX system theme resources in

[Issue 15457] Symbol Undefined __lseeki64

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15457 Walter Bright changed: What|Removed |Added CC|

Re: RFC: Units of measurement for D (Phobos?)

2016-03-19 Thread David Nadlinger via Digitalmars-d
On Wednesday, 16 March 2016 at 17:12:42 UTC, ZombineDev wrote: Sometimes a more gradual approach may be useful: […] How would this be any more than an informational annotation? If anything, you could build a custom lint tool to propagate and verify the unit annotations, but I don't quite

[Issue 15513] Memory Corruption with thread local objects

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15513 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15513] Memory Corruption with thread local objects

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15513 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/09419a101116c0439bc16b5e898fe45fd1b553bd fix regression

Re: Idea: std.build instead of dub and make-like tools

2016-03-19 Thread Atila Neves via Digitalmars-d
On Wednesday, 16 March 2016 at 18:36:48 UTC, Mark Isaacson wrote: From experience, it turns out that having a restricted language to specify your builds/dependencies is a very good thing. Yes, and it's called a DSL. You really don't really want a turning complete language for this; it just

Re: Females in the community.

2016-03-19 Thread Jonathan M Davis via Digitalmars-d
On Thursday, 17 March 2016 at 16:55:29 UTC, Jack Stouffer wrote: That's a lot of stereotypes of both men and women, especially male coders. I don't appreciate the implication that women would be better than me at communicating because I'm a guy. And I'm sure women don't appreciate being called

[Issue 15783] Junk is written into environment variable after assigning null to it

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15783 e10s changed: What|Removed |Added CC|

Re: Class member always has the same address

2016-03-19 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 19 March 2016 at 20:24:15 UTC, szymski wrote: class A { B b = new B(); } This is *default* initialization, not per instance initialization. The compiler will create one instance of B and it will become the default initializer of b in *every* instance of A. You can

Re: Obtaining argument names in (variadic) functions

2016-03-19 Thread data pulverizer via Digitalmars-d-learn
On Wednesday, 16 March 2016 at 21:05:43 UTC, JR wrote: On Wednesday, 16 March 2016 at 20:43:09 UTC, jkpl wrote: I try to anticipate the reason why you want this. [...] I use something *kinda* sort of similar in my toy project to print all fields of a struct, for debugging purposes when stuff

[Issue 4431] Template favors alias parameter for struct

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4431 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED

Re: Implementing virtual dispatch in D

2016-03-19 Thread rikki cattermole via Digitalmars-d-learn
Read the ABI page again, its fairly sufficient about this stuff. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

[Issue 15803] std.file should support sub-second file time precision on POSIX

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15803 Vladimir Panteleev changed: What|Removed |Added Keywords||pull ---

Re: Why is this not a warning?

2016-03-19 Thread tsbockman via Digitalmars-d
On Wednesday, 16 March 2016 at 16:40:49 UTC, Shachar Shemesh wrote: ... People who are marginally familiar with integer promotion will not be surprised to know that the program prints "256". What is surprising to me is that this produced neither error nor warning. The comparable program in

Re: GSOC 16 - Flatbuffer support or Protocol Buffer Support for D Language.

2016-03-19 Thread Dragos Carp via Digitalmars-d
On Saturday, 19 March 2016 at 06:18:06 UTC, Rajat Kumar wrote: Hello. I am Rajat Kumar, a junior year university student from India. I have working experiences in languages like C,C++ and Python. I am really really interested in working in D language. I want to work in the project -

Destructor order

2016-03-19 Thread Temtaime via Digitalmars-d-learn
Hi ! I wonder if i can rely on this code : http://dpaste.dzfl.pl/745cc5b1cdfb There's two questions: 1) Is dtors always called in reverse order ? 2) Is all the dtors always called when i call destroy ? Thanks for a reply !

Implementing virtual dispatch in D

2016-03-19 Thread maik klein via Digitalmars-d-learn
So this is mostly curiosity and not completely related to D but I would like to know how a vtable is actually implemented. All the explanations that I have seen so far are a bit vague and it would be nice to actually see some code. I tried to implement the following myself interface

Re: size_t index=-1;

2016-03-19 Thread Steven Schveighoffer via Digitalmars-d-learn
On 3/16/16 2:40 PM, Laeeth Isharc wrote: should it be a compiler warning to assign a negative literal to an unsigned without a cast ? Why? They implicitly convert. int x = -1; uint y = x; I don't see a difference between this and your code. And we can't change this behavior of the second

Re: Jai - interesting programming language

2016-03-19 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 19 March 2016 at 01:22:19 UTC, Piotr Szturmaj wrote: https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md Looks like it has some features that D has too, for instance CTFE and default value initialization that can be disabled. Not that it's a superior language, but I

Re: Is C++ trying to be like D?

2016-03-19 Thread Walter Bright via Digitalmars-d
On 3/19/2016 6:46 AM, Anonymouse wrote: A much more common take on it is "why use D at all now that C++ is getting similar features", ignoring convenience. https://youtu.be/1pQNLPqn1fA?t=148 Would one rather have a Ferrari Daytona replica made from a Corvette, or a Ferrari Daytona?

Re: d-vulkan, automatically generated D bindings for Vulkan

2016-03-19 Thread Nicholas Wilson via Digitalmars-d-announce
On Sunday, 20 March 2016 at 00:52:48 UTC, Alex Parrill wrote: If I import a xcb_connection_t from some bindings, it ties d-vulkan to those bindings, which I'd rather not do. really? It would be a 1 line change. Or alternatively tell the user to import their own bindings.

[Issue 15662] Cannot move struct with defined opAssign due to @disabled post-blit

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15662 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu --- Comment #10

[Issue 15455] [REG v2.065] Compiler segfault for simple nested structure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15455 Walter Bright changed: What|Removed |Added Keywords||C++

Re: d-vulkan, automatically generated D bindings for Vulkan

2016-03-19 Thread Alex Parrill via Digitalmars-d-announce
On Sunday, 20 March 2016 at 00:03:16 UTC, Nicholas Wilson wrote: On Saturday, 19 March 2016 at 19:37:38 UTC, Alex Parrill wrote: On Saturday, 19 March 2016 at 12:57:18 UTC, Nicholas Wilson wrote: On Saturday, 19 March 2016 at 01:12:08 UTC, Alex Parrill wrote: Should be doable using

Re: Females in the community.

2016-03-19 Thread Timon Gehr via Digitalmars-d
On 17.03.2016 23:36, maarten van damme via Digitalmars-d wrote: > This very sexist and you are clearly either very young or a closet misogynist Great, so you answer a poorly thought out attempt to encourage women to join this community by bashing on younger people? No. That statement does

Re: Gdmd compiling error

2016-03-19 Thread Orkhan via Digitalmars-d-learn
On Tuesday, 15 March 2016 at 18:26:48 UTC, Ali Çehreli wrote: On 03/15/2016 02:45 AM, Orkhan wrote: > output of the gdc is : > > root@ubuntu:/home/alikoza/Downloads/i686-pc-linux-gnu# gdc > gdc: fatal error: no input files > compilation terminated. That makes sense. It should produce an

Re: build problem with 2.0.70

2016-03-19 Thread Saša Janiška via Digitalmars-d-dwt
Jacob Carlborg writes: > But the easiest is to pass the full path of the libraries directly to > DMD. It will to the right thing. That helped. Thanks. I was able to build several snippets, but still have to decide how much I like DWT code. ;) Sincerely, Gour -- Just try to

[Issue 15815] New: [Reg 2.071-devel] deprecation for aliased template instance not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15815 Issue ID: 15815 Summary: [Reg 2.071-devel] deprecation for aliased template instance not shown Product: D Version: D2 Hardware: All OS: All Status:

Re: Mention of D in recent Wired article about Dropbox leaving AWS

2016-03-19 Thread blake7 via Digitalmars-d
On Saturday, 19 March 2016 at 19:14:58 UTC, Dicebot wrote: This is actually very good news. It means there are at least some big companies that do measure technical impact of used programming languages instead of going with the trend :) And that they are not scared to change the decision if

Re: Jai - interesting programming language

2016-03-19 Thread Timon Gehr via Digitalmars-d
On 19.03.2016 09:38, Basile B. wrote: identifier : type = initializer; // straight declaration identifier : type; // no init identifier := initializer; // infered type However later in the function declaration: "sum := (x: float, y: float, z: float) -> float { return x + y + z; };" I

Re: Females in the community.

2016-03-19 Thread Ola Fosheim Grostad via Digitalmars-d
On Thursday, 17 March 2016 at 23:00:51 UTC, Walter Bright wrote: As discussed in an earlier thread, I refuse to have a "Code of Conduct" for the forums or the D conferences. As long as you moderate it just means that the "code of conduct" is your own personal views. I.e. People have to second

Re: d-vulkan, automatically generated D bindings for Vulkan

2016-03-19 Thread Nicholas Wilson via Digitalmars-d-announce
On Saturday, 19 March 2016 at 19:37:38 UTC, Alex Parrill wrote: On Saturday, 19 March 2016 at 12:57:18 UTC, Nicholas Wilson wrote: On Saturday, 19 March 2016 at 01:12:08 UTC, Alex Parrill wrote: Should be doable using appropriate version blocks. The problem is that I'd have to define my own

Re: Compile fails, don't know why

2016-03-19 Thread Mathias Lang via Digitalmars-d
On Friday, 18 March 2016 at 10:38:00 UTC, Nafees wrote: On Friday, 18 March 2016 at 10:25:06 UTC, Mathias Lang wrote: On Friday, 18 March 2016 at 10:11:50 UTC, Nafees wrote: On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote: I tried to create a separate module for storing classes in,

Re: RFC: Units of measurement for D (Phobos?)

2016-03-19 Thread Nordlöw via Digitalmars-d
On Thursday, 17 March 2016 at 12:51:28 UTC, Nordlöw wrote: I believe `isConvertableTo` is a more Phobos-compliant naming, right? Correction: Should be named `isConvertibleTo`. BTW: We already have https://dlang.org/phobos/std_traits.html#isImplicitlyConvertible Why don't we already have

Re: the most D-ish GUI library

2016-03-19 Thread Jacob Carlborg via Digitalmars-d
On 18/03/16 19:48, tensor wrote: Jacob, thanks for your great work in porting DWT. Thanks :) Is your automatic tool, when finished, generic enough to port Java packages other than SWT? I'll write the tool with the goal of porting SWT. If any processing is required that is specific for

Re: State of interfacing with c++

2016-03-19 Thread jmh530 via Digitalmars-d
On Friday, 18 March 2016 at 14:26:31 UTC, ZombineDev wrote: The important thing to remember is that the Druntime must be initialized (see http://wiki.dlang.org/Runtime_internals and http://dlang.org/phobos/core_runtime.html#.rt_init for more info), before you call D functions that use the

Re: updating DWT

2016-03-19 Thread Saša Janiška via Digitalmars-d-dwt
Jacob Carlborg writes: > Unfortunately no. It takes quite some time to write a tool that > converts Java to D. I see...otoh, I can't be of much help since I never touched Java. Sincerely, Gour -- Even the intelligent are bewildered in determining what is action and what is

Re: Females in the community.

2016-03-19 Thread John Carter via Digitalmars-d
On Thursday, 17 March 2016 at 21:42:55 UTC, Lass Safin wrote: And the thing which you've linked to, that (absolutely horrendous) outreachy thing, Relax. If you don't like that example, grab another. Pyladies whatever. Not the point. The point is make people know they're welcome and they

[Issue 15782] [Reg 2.071-devel] Alias no longer strips qualifiers from user defined types

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15782 Martin Nowak changed: What|Removed |Added Summary|[Reg 2.071-devel] something |[Reg 2.071-devel] Alias no

Re: Idea: std.build instead of dub and make-like tools

2016-03-19 Thread Dicebot via Digitalmars-d
On 03/17/2016 06:42 PM, Piotrek wrote: > On Thursday, 17 March 2016 at 15:49:07 UTC, Dicebot wrote: >> On 03/17/2016 07:15 AM, Piotrek wrote: >>> As for dub I don't think it is unrelated. Why std.build couldn't be >>> dependency manager? >> >> For same reason you don't want to distribute any other

Re: the most D-ish GUI library

2016-03-19 Thread tensor via Digitalmars-d
On Tuesday, 15 March 2016 at 08:37:13 UTC, Jaocb Carlborg wrote: On Monday, 14 March 2016 at 20:26:51 UTC, Saša Janiška wrote: Well, OS X and Windows are 'nice to have'. DWT already works on Windows where it uses native drawing operations. So, DWT works on Mac OS, but it's not native as

Re: Destructor order

2016-03-19 Thread Andrea Fontana via Digitalmars-d-learn
On Friday, 18 March 2016 at 14:53:20 UTC, Steven Schveighoffer wrote: On 3/18/16 7:44 AM, Nicholas Wilson wrote: On Friday, 18 March 2016 at 10:20:40 UTC, Temtaime wrote: Hi ! I wonder if i can rely on this code : http://dpaste.dzfl.pl/745cc5b1cdfb There's two questions: 1) Is dtors always

[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729 Martin Nowak changed: What|Removed |Added Keywords||pull --- Comment #4 from

Re: size_t index=-1;

2016-03-19 Thread Mathias Lang via Digitalmars-d-learn
On Wednesday, 16 March 2016 at 21:49:05 UTC, Steven Schveighoffer wrote: No, please don't. Assigning a signed value to an unsigned (and vice versa) is very useful, and there is no good reason to break this. -Steve I'm not talking about removing it completely. The implicit conversion should

Defer in D

2016-03-19 Thread Xinok via Digitalmars-d
I stumbled upon an example demonstrating defer in Go which I thought was interesting. Defer is similar to scope in D except they're called at end of function rather than end of scope; you can queue multiple defer calls by writing them inside of a loop. This implies that it internally builds a

Re: How do I extend an enum?

2016-03-19 Thread Basile B. via Digitalmars-d-learn
On Saturday, 19 March 2016 at 17:40:27 UTC, Lass Safin wrote: Why: enum Base { A, B, } enum Derived : Base { C, // Gives error, says it can't implicitly convert expression to Base. D = 1, // Same error E = cast(Base)294, // Finally works. Can only be cast(Derived)

Re: the most D-ish GUI library

2016-03-19 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 16 March 2016 at 19:51:37 UTC, Saša Janiška wrote: When you say 'modern' do you consider lack of some 'modern' widget or just general look (although I read that it improved in 8.6 or so)? Sometimes the widgets don't look 100% native. You can take a look at the example if you

Re: State of interfacing with c++

2016-03-19 Thread ZombineDev via Digitalmars-d
On Friday, 18 March 2016 at 15:29:55 UTC, jmh530 wrote: On Friday, 18 March 2016 at 14:26:31 UTC, ZombineDev wrote: The important thing to remember is that the Druntime must be initialized (see http://wiki.dlang.org/Runtime_internals and http://dlang.org/phobos/core_runtime.html#.rt_init for

Re: Females in the community.

2016-03-19 Thread lobo via Digitalmars-d
On Thursday, 17 March 2016 at 16:17:46 UTC, Karabuta wrote: Are there any female programmers using D? :) Moreover, the socia Media representation of D sucks. I think we need a female, at least someone soft and mortal who actually understand how to communicate and build a community. Coders

Re: Females in the community.

2016-03-19 Thread DennisQuaid via Digitalmars-d
If you're looking for girl try matchfinder.com or something like that. Here's about "Compilers/Programming Language" so most people here are bearded guys.

Re: Why is this not a warning?

2016-03-19 Thread jmh530 via Digitalmars-d
On Thursday, 17 March 2016 at 09:13:34 UTC, tsbockman wrote: You could use the `DebugInt` wrapper. It aliases to `SafeInt` in debug and unittest mode, to find problems (many, including the specific one in this thread, are detected at compile time). Then, in release mode, it aliases to the

Re: the most D-ish GUI library

2016-03-19 Thread Saša Janiška via Digitalmars-d
Gary Willoughby writes: > Tkd is truly cross-platform (Linux, Mac and Windows), very simple to > understand and 'just works' with very little effort but it's not very > modern. When you say 'modern' do you consider lack of some 'modern' widget or just general look (although I

[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729 Martin Nowak changed: What|Removed |Added Summary|[REG(master)] broken|[REG(master)] broken debug

Re: "default" keyword as function attribute

2016-03-19 Thread tsbockman via Digitalmars-d
On Saturday, 19 March 2016 at 18:39:54 UTC, Jakob Ovrum wrote: As for the `default` approach, if we designed it to work with explicit attributes, like so: --- @safe: void foo(); void bar(T)(T t) default @nogc; // Infer pure, nothrow and @safe but require @nogc --- Then `default` wouldn't have

Re: "default" keyword as function attribute

2016-03-19 Thread tsbockman via Digitalmars-d
On Saturday, 19 March 2016 at 15:09:00 UTC, Jakob Ovrum wrote: Maybe an alternative would be to simply ignore explicit attributes on templated functions, or at least ignore attributes on them applied with `attr:` or `attr { … }`. This could be a problem for `@trusted`. Please, no. Bulk

New example IRC Client for DlangUI

2016-03-19 Thread Vadim Lopatin via Digitalmars-d-announce
Hello, I've added new example for DlangUI - IRC Client. It's located in dlangui/examples/ircclient and available as dlangui:ircclient package. For this application, AsyncSocket implementation is added to DlangUI. Best regards, Vadim

Re: Females in the community.

2016-03-19 Thread Lass Safin via Digitalmars-d
On Thursday, 17 March 2016 at 20:03:08 UTC, John Carter wrote: It is very clear from the 'net that some communities welcome woman, and some actively hate them, some ignore them. I personally would feel reluctant to get involved in anything where there was a high probability of vitriolic

Re: running D on AWS lambda

2016-03-19 Thread earthfront via Digitalmars-d-announce
On Sunday, 13 March 2016 at 21:22:11 UTC, Laeeth Isharc wrote: http://awslambda-d.readthedocs.org/ http://code.dlang.org/packages/awslambda_d https://github.com/kaleidicpublic/awslambda_d This is great! Thanks so much.

Re: immutable array in constructor

2016-03-19 Thread Jeff Thompson via Digitalmars-d-learn
On Thursday, 17 March 2016 at 11:27:01 UTC, Rene Zwanenburg wrote: On Thursday, 17 March 2016 at 10:11:43 UTC, Jeff Thompson wrote: This is a simplified example from a larger class I have where I need an immutable constructor. This is because I need to construct an object an pass it to other

Re: Idea: std.build instead of dub and make-like tools

2016-03-19 Thread H. S. Teoh via Digitalmars-d
On Thu, Mar 17, 2016 at 05:25:32AM +, Piotrek via Digitalmars-d wrote: > On Wednesday, 16 March 2016 at 18:36:48 UTC, Mark Isaacson wrote: > >From experience, it turns out that having a restricted language to > >specify your builds/dependencies is a very good thing. You really > >don't really

Re: Females in the community.

2016-03-19 Thread qznc via Digitalmars-d
On Thursday, 17 March 2016 at 16:17:46 UTC, Karabuta wrote: Are there any female programmers using D? :) Moreover, the socia Media representation of D sucks. I think we need a female, at least someone soft and mortal who actually understand how to communicate and build a community. Coders

Re: Destructor order

2016-03-19 Thread Nicholas Wilson via Digitalmars-d-learn
On Friday, 18 March 2016 at 10:20:40 UTC, Temtaime wrote: Hi ! I wonder if i can rely on this code : http://dpaste.dzfl.pl/745cc5b1cdfb There's two questions: 1) Is dtors always called in reverse order ? yes 2) Is all the dtors always called when i call destroy ? yes. destroy calls __dtor()

Re: Need help with delegates and vibed

2016-03-19 Thread Alex Parrill via Digitalmars-d-learn
On Saturday, 19 March 2016 at 19:53:01 UTC, Suliman wrote: Thanks! I am understand a little bit better, but not all. ``` shared static this() { auto settings = new HTTPServerSettings; settings.port = 8080; listenHTTP(settings, ); } void handleRequest(HTTPServerRequest

[Issue 15452] Document typo of a new predefined version identifier 'CRuntime_DigitalMars'

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15452 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/baac1728082ab98683667c3cca5a7da9a88e2a48 Issue 15452 -

[Issue 15344] m32mscoff switch missing from documentation.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15344 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/a53e464d841a48ee927b09f0abed46375a3f4e8b add missing

[Issue 15453] Check for a wrong predefined version identifier CRuntime_Digitalmars

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15453 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f3d5e80026fad96c386efec1888020c4c3905fc3 Issue 15453 - Check for a

[Issue 15610] extern(C++) multiple inheritance - calling with wrong 'this' ptr

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15610 --- Comment #9 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f46f2197f458b4f242484b486302a383e70ceac4 fix Issue 15610 -

[Issue 15535] Emit error on "goto default" in final switch

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15535 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3e245ec352f97705e7fe383f9b6a350c14d29148 fix Issue 15535 - Disallow

[Issue 14895] ICE on array operation when its result is concatenated

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14895 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/67392afd2bb489e48a8234d96077f4579e05b511 fix Issue 14895 - ICE on

[Issue 15586] std.utf.toUTF8() segfaults when fed an invalid dchar

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15586 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/2b09b8b59cc94ff23f52f3d18212c727d3e89d7b Fix Phobos issue

[Issue 15376] The time zone name conversions should not be compiled into Phobos

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15376 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/635cecee557bf5e82b2f614dd19e41383505c3f7 Fix for issue# 15376.

[Issue 15545] csv Reader line feed '\r' failure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15545 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/82d6dbf8175055e1851bd6601dc20d0f5649e2f7 fix issue 15545, csv

Re: Females in the community.

2016-03-19 Thread deadalnix via Digitalmars-d
On Saturday, 19 March 2016 at 13:14:14 UTC, Karabuta wrote: Yeah, you are totally right. I though that it was clear that the statement contained "metaphors". Howerver, people had there own "words they wanted to spit out" :) I will try not to use metaphors in coders forum next time :) No,

[Issue 15696] The website logo overlaps the Learn tab when using Microsoft Edge

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15696 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/ddd446a3640cf6476c8aba787e994c63ac8daa9d make logo width

[Issue 15578] Should have access to namespace private symbols from same module

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15578 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/92e637e5f3b148c923aeeed3b401d6e628e0cf4e fix Issue 15578 - Should

[Issue 15579] extern(C++) interfaces/multiple-inheritance

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15579 --- Comment #12 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/316f2e900dc16ce1351a305c58bad287b2855ad5 fix Issue 15579 -

[Issue 12748] ICE: Using typeof(S.init[0]) in type name specialization.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12748 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0a1b380861b21e8218f8d0185e96e5b6a8f33228 fix Issue 12748 - ICE:

[Issue 314] [module] Static, renamed, and selective imports are always public

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=314 --- Comment #56 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/03ec7f38bd29d1c6eb851e4516b74370345e9e49 Don't use top-level

[Issue 15276] Allow specification of shell for spawnShell/executeShell/pipeShell

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15276 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/963f7e4170fd02aa07c95562f2554807a8fe9178 Issue 15276: Allow

[Issue 15471] Show example of associative array initialization in documentation

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15471 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/6eed593864fc4530539851d7e44138c42f04a7e6 Merge pull

[Issue 15561] std.typecons.Proxy gets NaN comparisons wrong

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15561 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/563879ae6ffa40e2ed847235a6d95d214e274693 Fix Issue 15561

[Issue 12829] Wrong error line number for closure allocation in @nogc function

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12829 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a457c8b627123fdb5e6ccf2b130e4d54c1329a56 fix Issue 12829 - Wrong

[Issue 15353] std.experimental.allocator cannot free memory in its destructor if the GC is an ancestor

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15353 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/1113bf1476ca66bac8a25bea4598daf6fb4bd598 fix Issue 15353 -

[Issue 15543] [ndslice] assumeSameStructure has useless flag

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15543 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/fe6353028f4ff260aa775c72276759e5c5552673 [one line review]

[Issue 12954] deprecated doesn't work with concatenated strings or anything else but a string literal

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12954 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org https://github.com/D-Programming-Language/dlang.org/commit/ffdb17cde12300f4755ecbd516e7ab6e577c628a Merge pull

[Issue 15628] Exceptions in fibers never caught with /SAFESEH

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15628 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to stable at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/44285e90d946f677273e9d8365af7862c2ff1c9b Merge pull request

  1   2   3   4   >