On Saturday, 24 September 2016 at 02:33:22 UTC, WhatMeWorry wrote:
I see that dub has all the .d import files already placed in
C:\Users\Me\AppData\Roaming\dub\packages\derelict-gl3-1.0.19\derelict-gl3\source\derelict\opengl3
and
C:\Users\Me\AppData\Roaming\dub\packages\derelict-glfw3-3.1.0\d
On 24/09/2016 2:33 PM, WhatMeWorry wrote:
I have D opengl/glfw3 program that I wrote which compiles and runs fine,
but I always felt it was a bit of a Visual Studio hack. So I thought
I'd start anew but this time use dub from the get go. So I did dub
int...etc. And put my existing code into
I have D opengl/glfw3 program that I wrote which compiles and
runs fine, but I always felt it was a bit of a Visual Studio
hack. So I thought I'd start anew but this time use dub from
the get go. So I did dub int...etc. And put my existing code
into the app.d file. But when I try to buil
On Thursday, 22 September 2016 at 09:14:46 UTC, Martin
Tschierschke wrote:
On Thursday, 22 September 2016 at 01:38:12 UTC, Gestalt Theory
wrote:
3. How to serve static files properly?
sendFile(req, res, Path(req.path));
Does the trick inside the handler.
@5. There is a solution, hopefull
On Friday, 23 September 2016 at 15:29:43 UTC, Rene Zwanenburg
wrote:
On Friday, 23 September 2016 at 07:54:15 UTC, John C wrote:
How is it possible that "onTextChanged" isn't accessible but
the private method "changeSize" *is*?
Smells like an oversight. I guess the compiler doesn't see the
de
On Friday, 23 September 2016 at 18:20:24 UTC, Martin Nowak wrote:
Please file a bug report issues.dlang.org, shouldn't be
difficult to fix.
Done: https://issues.dlang.org/show_bug.cgi?id=16531
On Friday, 23 September 2016 at 07:54:15 UTC, John C wrote:
If I try to call the protected method of a superclass from
inside the body of a delegate, the compiler won't allow it.
void layoutTransaction(Control c, void delegate() action) {
// do stuff
action();
// do more stuff
}
class Co
On Friday, 23 September 2016 at 07:54:15 UTC, John C wrote:
How is it possible that "onTextChanged" isn't accessible but
the private method "changeSize" *is*?
Smells like an oversight. I guess the compiler doesn't see the
delegate as a member of a Control subclass, so it can't access
protecte
On Friday, 23 September 2016 at 08:39:44 UTC, llaine wrote:
Okay I tried yesterday, after 4hours of process, I never went
through the end of minification.
At the beginning I enter YES should I enter NO instead?
Hmm that's strange. I don't get any yes or no questions. What is
the exact messag
On Friday, 23 September 2016 at 09:21:56 UTC, Claude wrote:
...
// Maybe you can try using std.variant?
import std.variant;
alias Component = Variant;
class Entity
{
void register (Component v) { components ~= v; }
void unregister (T) () {
foreach (i, c; components) if (c.type
It's more a general meta-programming question than a specific D
stuff.
For an entity-component engine, I am trying to do some run-time
composition: registering a certain type (component) to a
structure (entity).
I would like to know how I can iterate an entity and get the
different type ins
On Thursday, 22 September 2016 at 14:40:10 UTC, Saurabh Das wrote:
On Thursday, 22 September 2016 at 10:44:29 UTC, llaine wrote:
dub dustmite ./dustmite_output/ --compiler-regex="Internal
Error" -b release
Okay I tried yesterday, after 4hours of process, I never went
through the end of minif
If I try to call the protected method of a superclass from inside
the body of a delegate, the compiler won't allow it.
void layoutTransaction(Control c, void delegate() action) {
// do stuff
action();
// do more stuff
}
class Control {
protected void onTextChanged() {}
}
class Label :
13 matches
Mail list logo