On Wednesday, 1 March 2017 at 23:44:47 UTC, XavierAP wrote:
Still I want to be able to be able to work and debug from
Visual Studio.
The way I did on Windows:
1) get dlangui via dub
2) go to its folder in AppData\roaming\dub\packages and edit
dub.json:
* find "minimal" configuration
* add
On Wednesday, 1 March 2017 at 23:44:47 UTC, XavierAP wrote:
On Wednesday, 1 March 2017 at 20:00:32 UTC, thedeemon wrote:
For this I found out how to clone the dependencies, sorry about
that... (Only from the command line... Anyone recommends better
free Windows Git gui clients than GitHub Desk
On Tuesday, 28 February 2017 at 21:21:30 UTC, Adam D. Ruppe wrote:
On Tuesday, 28 February 2017 at 20:27:25 UTC, Alexey H wrote:
[...]
It doesn't actually generate one, it just returns a tagged
union (a kind of dynamic type).
[...]
Superb, Adam, thank you! I need to check out inspector.
On Thursday, 2 March 2017 at 02:27:03 UTC, Jordan Wilson wrote:
Ah yes, I think you explain the difference between
wrapper/binding in one of the Derelict docs.
I'm currently working through a ebook on Game Dev with
SFML...the examples are all C++.
I don't have any trouble translating it to
On Wednesday, 1 March 2017 at 23:44:47 UTC, XavierAP wrote:
For this I found out how to clone the dependencies, sorry about
that... (Only from the command line... Anyone recommends better
free Windows Git gui clients than GitHub Desktop?)
TortoiseGIT maybe?
On Thursday, 2 March 2017 at 01:02:39 UTC, Mike Parker wrote:
On Wednesday, 1 March 2017 at 16:12:06 UTC, bauss wrote:
There is a better binding.
dsfml.
You can find it here: http://dsfml.com/
DSFML technically is not a binding (even though it says such on
the web site). It's a wrapper th
On Wednesday, 1 March 2017 at 22:15:59 UTC, Iain Buclaw wrote:
On Wednesday, 1 March 2017 at 19:09:24 UTC, Johan Engelen wrote:
On Wednesday, 1 March 2017 at 18:34:16 UTC, Iain Buclaw wrote:
Simple test case would be:
struct vec_struct {
bool b2;
struct {
bool b;
int8
On Wednesday, 1 March 2017 at 22:15:59 UTC, Iain Buclaw wrote:
On Wednesday, 1 March 2017 at 19:09:24 UTC, Johan Engelen wrote:
On Wednesday, 1 March 2017 at 18:34:16 UTC, Iain Buclaw wrote:
Simple test case would be:
struct vec_struct {
bool b2;
struct {
bool b;
int8
On Wednesday, 1 March 2017 at 16:12:06 UTC, bauss wrote:
There is a better binding.
dsfml.
You can find it here: http://dsfml.com/
DSFML technically is not a binding (even though it says such on
the web site). It's a wrapper that D-ifies the SFML API. The SFML
functions are not callable d
On Wednesday, 1 March 2017 at 20:00:32 UTC, thedeemon wrote:
If you're building your app with VisualD (as opposed to
invoking dub externally), make sure you've set up import paths
in project settings properly.
Thanks. With dub everything works straight forward. I just call
it blindly since it
On Wednesday, 1 March 2017 at 19:09:24 UTC, Johan Engelen wrote:
On Wednesday, 1 March 2017 at 18:34:16 UTC, Iain Buclaw wrote:
Simple test case would be:
struct vec_struct {
bool b2;
struct {
bool b;
int8 field;
}
}
static assert(vec_struct.b.offsetof == 32);
stat
On Friday, 24 February 2017 at 22:44:55 UTC, XavierAP wrote:
Hi I've looked at wiki.dlang.org/IDEs, and I see that Visual D
is linked from dlang.org/download.html. Still I was looking for
personal opinions and experiences beyond hard specs, I wonder
if one of the IDEs is already dominant at lea
On Wednesday, 1 March 2017 at 17:37:02 UTC, XavierAP wrote:
I'm trying now DlangUI on Visual D. I'm getting different
errors from missing Derelict library dependencies...
If you're building your app with VisualD (as opposed to invoking
dub externally), make sure you've set up import paths in p
On 02/28/2017 07:16 PM, Anton Pastukhov wrote:
On Tuesday, 28 February 2017 at 17:16:43 UTC, Daniel Kozák wrote:
V Tue, 28 Feb 2017 15:15:00 +
Anton Pastukhov via Digitalmars-d-learn
napsáno:
I can't see the logic in AA foreach order. Consider this code:
...
Output:
three
two
one
four
I
On Wednesday, 1 March 2017 at 18:34:16 UTC, Iain Buclaw wrote:
Simple test case would be:
struct vec_struct {
bool b2;
struct {
bool b;
int8 field;
}
}
static assert(vec_struct.b.offsetof == 32);
static assert(vec_struct.field.offsetof == 64);
With explicit align(
How should one use libharu d binding in unicode mode. Consider
this basic example.
import std.stdio;
import harud;
import harud.c;
void main()
{
void errorCallback(uint error_number, uint detail_number)
{
writefln("err %x, %s, (num %x)"
, error_number
, get
On Wednesday, 1 March 2017 at 06:04:32 UTC, Cecil Ward wrote:
struct vec_struct {
alias field this;
bool b;
int8 field;
}
In this code when you look at the generated x64 code output by
GDC it seems to be doing a nice job, because it has got the
offset right for the 256-bit YMM
On Wednesday, 1 March 2017 at 16:06:20 UTC, Colin wrote:
When running a small D program through rdmd, it seems the file
needs a .d extension to work.
It looks like the file extension is enforced:
https://dlang.org/dmd-windows.html#switches
Looks like a feature rather than a bug... At the comma
On Tuesday, 28 February 2017 at 06:16:08 UTC, thedeemon wrote:
For me Visual-D served well for years, and for GUI on Windows
I've used DFL successfully (quite nice lib, very WinForms-like,
with a visual editor) and now mostly use DLangUI (on both
Windows and Linux).
I'm trying now DlangUI on
On Wednesday, March 01, 2017 17:02:37 Dukc via Digitalmars-d-learn wrote:
> On Wednesday, 1 March 2017 at 16:43:41 UTC, Jonathan M Davis
>
> wrote:
> > Assert is for program invariants. If the condition is true,
> > your program is outright broken.
>
> Error: He meant that if the condition is FALSE
On Wednesday, 1 March 2017 at 09:19:53 UTC, Christian Köstlin
wrote:
On 01/03/2017 00:09, Joseph Rushton Wakeling wrote:
if (!__ctfe) assert(false);
... might be the best option. That shouldn't be compiled out
even in -release builds.
thats a nice idea! is this happening because of assert(fal
On Wednesday, 1 March 2017 at 16:43:41 UTC, Jonathan M Davis
wrote:
Assert is for program invariants. If the condition is true,
your program is outright broken.
Error: He meant that if the condition is FALSE, the program is
faulty.
On Tuesday, February 28, 2017 09:16:47 sarn via Digitalmars-d-learn wrote:
> On Tuesday, 28 February 2017 at 07:41:36 UTC, Christian Köstlin
>
> wrote:
> > As I understand the only difference between assert and enforce
> > is, that
> > assert is not compiled into releases?
> >
> > Thanks!
> > Chris
On Tuesday, 28 February 2017 at 20:08:25 UTC, Jordan Wilson wrote:
Hello,
Been trying to learn the Simple Fast Multimedia Library (SFML)
using the Derelict bindings, and noticed some functionality is
offered by both SFML and the std library (for example, sfClock
and sfMutex).
Is there a gen
When running a small D program through rdmd, it seems the file
needs a .d extension to work.
```
$ ./testscript2
Error: module testscript2 is in file './testscript2.d' which
cannot be read
$ cat testscript2
#!/usr/bin/env rdmd
void main(string[] args){
import std.stdio;
writeln(args
On Tuesday, 28 February 2017 at 18:16:45 UTC, Anton Pastukhov
wrote:
On Tuesday, 28 February 2017 at 17:16:43 UTC, Daniel Kozák
wrote:
V Tue, 28 Feb 2017 15:15:00 +
Anton Pastukhov via Digitalmars-d-learn
napsáno:
I can't see the logic in AA foreach order. Consider this code:
...
Output:
On 01/03/2017 00:09, Joseph Rushton Wakeling wrote:
> On Tuesday, 28 February 2017 at 00:22:28 UTC, sarn wrote:
>>> If you ever have doubts, you can always use something like this to
>>> check:
>>>
>>> assert (__ctfe);
>>
>> Sorry, "enforce" would more appropriate if you're really checking.
>
> if
27 matches
Mail list logo