Re: DConf 2017 now open for registration

2017-01-19 Thread Jacob Carlborg via Digitalmars-d-announce

On 2017-01-19 21:53, Walter Bright wrote:

$250 for Early Bird tickets!

http://dconf.org/2017/registration.html


Awesome :). BTW, there's a page missing [1].

[1] http://dconf.org/2017/thankyou.html

--
/Jacob Carlborg


Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Jacob Carlborg via Digitalmars-d-announce

On 2017-01-19 14:57, Jacob Carlborg wrote:


The changelog is missing an entry to the new default Ddoc theme. I'll
see if I can add that. Do we want an image, HTML page or something to show?



https://github.com/dlang/dlang.org/pull/1558

--
/Jacob Carlborg


Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Suliman via Digitalmars-d-announce
On Thursday, 19 January 2017 at 19:22:07 UTC, Rainer Schuetze 
wrote:



On 19.01.2017 08:32, Suliman wrote:

http://dlang.org/changelog/2.073.0.html#mscrtlib-option
How can I set this flag in dub.json? I tried:
"dflags": [ "-mscrt=msvcrt" ]
but got error:
Error: unrecognized switch '-mscrt=msvcrt'


Ouch, the switch is actually called -mscrtlib. We need to fix 
the documentation...


Thanks! Now it's compile.

What version of cruntime (I tried: libcmtd, msvcrt msvcrtd) I 
should use to prevent depending my project on `msvcr120.dll`. Now 
when I try run vibed-based project on another PC it's give me 
error about absent `msvcr120.dll`.


DConf 2017 now open for registration

2017-01-19 Thread Walter Bright via Digitalmars-d-announce

$250 for Early Bird tickets!

http://dconf.org/2017/registration.html


Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Rainer Schuetze via Digitalmars-d-announce



On 19.01.2017 20:22, Rainer Schuetze wrote:



On 19.01.2017 08:32, Suliman wrote:

http://dlang.org/changelog/2.073.0.html#mscrtlib-option
How can I set this flag in dub.json? I tried:
"dflags": [ "-mscrt=msvcrt" ]
but got error:
Error: unrecognized switch '-mscrt=msvcrt'


Ouch, the switch is actually called -mscrtlib. We need to fix the
documentation...


https://github.com/dlang/dmd/pull/6471
https://github.com/dlang/dlang.org/pull/1557


Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Rainer Schuetze via Digitalmars-d-announce



On 19.01.2017 08:32, Suliman wrote:

http://dlang.org/changelog/2.073.0.html#mscrtlib-option
How can I set this flag in dub.json? I tried:
"dflags": [ "-mscrt=msvcrt" ]
but got error:
Error: unrecognized switch '-mscrt=msvcrt'


Ouch, the switch is actually called -mscrtlib. We need to fix the 
documentation...


Re: Android LDC in a Container

2017-01-19 Thread Andre Pany via Digitalmars-d-announce

On Sunday, 15 January 2017 at 17:40:01 UTC, Andre Pany wrote:

Hi,

on Dockerhub I published a repository which makes it really 
easy to develop Android
applications using LDC and Joakims work. The repository 
contains Android 1.1.0 beta from
https://github.com/joakim-noah/android/releases and also the 
NDK from google.


By using this command, you will have a shell containing all you 
need to compile

the source files:
docker run --rm -it -v c:/D/projects:/projects 
andre2007/ldc-android sh


This command will also mount C:\D\projects from your host OS to 
the container path /projects. On linux / mac you will have to 
adapt the mount  source path.


You need the Google Android SDK on your host system installed 
to build the APK and test the application.


More information on building the demo applications you can find 
here:

https://wiki.dlang.org/Build_LDC_for_Android

A Wiki update will follow with detailed information.

Kind regards
André


Hi,

I added a WIKI page with all information you need to create your 
first Android application using LDC in a Docker container. 
Although the page describes the process on a windows system, it 
also work on Linux and Mac just by adapting the directory paths.


https://wiki.dlang.org/Build_Android_Apps_using_LDC_in_a_Container

Kind regards
André


Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Jacob Carlborg via Digitalmars-d-announce

On 2017-01-19 16:21, Martin Nowak wrote:


It seems sufficiently different to not worry about a Win only switch,
it's used for selecting different flavours of MS libcrt (threaded,
debug...).
IMO we should try to depart with hard-coding linker flags into the
compiler.


Fair enough.

--
/Jacob Carlborg


Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Martin Nowak via Digitalmars-d-announce
On Thursday, 19 January 2017 at 07:43:29 UTC, Jacob Carlborg 
wrote:
About the new -mscrt=libname flag. Could we have a more generic 
name of the flag that would fit for other platforms to specify 
the C library, i.e. Musl instead of GNU? Or is this something 
different?


It seems sufficiently different to not worry about a Win only 
switch, it's used for selecting different flavours of MS libcrt 
(threaded, debug...).
IMO we should try to depart with hard-coding linker flags into 
the compiler.

We had some ideas to make the config file more flexible.
https://issues.dlang.org/show_bug.cgi?id=7044#c16
https://issues.dlang.org/show_bug.cgi?id=7044#c30



Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread Jacob Carlborg via Digitalmars-d-announce

On 2017-01-18 14:48, Martin Nowak wrote:

First release candidate for 2.073.0.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.073.0.html


The changelog is missing an entry to the new default Ddoc theme. I'll 
see if I can add that. Do we want an image, HTML page or something to show?


--
/Jacob Carlborg


Re: Vision document for H1 2017

2017-01-19 Thread qznc via Digitalmars-d-announce
On Wednesday, 4 January 2017 at 19:22:33 UTC, Andrei Alexandrescu 
wrote:
We release a brief Vision document summarizing the main goals 
we plan to pursue in the coming six months. This half we are 
focusing on three things: safety, lifetime management, and 
static introspection.


https://wiki.dlang.org/Vision/2017H1



I guess the 2017H1 document is quite final now. Why not turn that 
into a blog post? It could be official (by the leaders) or 
informal (interview with Andrei).


Re: Getters/setters generator

2017-01-19 Thread Mark via Digitalmars-d-announce
On Wednesday, 18 January 2017 at 21:57:42 UTC, Andrei 
Alexandrescu wrote:

On 1/18/17 5:29 PM, Mark wrote:
I see. Is there a way to call invariant() of a class/struct 
directly?
That would obviate the need for a particular predicate (copy 
the class
state, run the setter, check if invariants are satisfied and 
restore

previous state if they aren't).


It seems painfully obvious the right way is a guarded 
assignment and anything else would be a more or less painful 
workaround. -- Andrei


I agree. I'm just a bit unsettled by the slight code duplication 
that would ensue.


Re: Plugin for 1C:Enterprise in dmd

2017-01-19 Thread MGW via Digitalmars-d-announce
On Wednesday, 18 January 2017 at 23:33:15 UTC, Dmitry Olshansky 
wrote:

On 1/18/17 1:00 PM, MGW wrote:


Sourse files
https://github.com/MGWL/QtE5/tree/master/examples/1C_vk



Re: Release Candidate 2.073.0-rc1

2017-01-19 Thread xtreak via Digitalmars-d-announce

On Wednesday, 18 January 2017 at 13:48:06 UTC, Martin Nowak wrote:

First release candidate for 2.073.0.

http://dlang.org/download.html#dmd_beta 
http://dlang.org/changelog/2.073.0.html


Comes with a couple of more fixes: 
https://github.com/dlang/dmd/compare/v2.073.0-b2...v2.073.0-rc1 
https://github.com/dlang/druntime/compare/v2.073.0-b2...v2.073.0-rc1 https://github.com/dlang/phobos/compare/v2.073.0-b2...v2.073.0-rc1 https://github.com/dlang/dub/compare/v1.2.0-beta.2...v1.2.0-rc.1


Please report any bugs at https://issues.dlang.org

-Martin


Thanks a lot for the RC. I think the text "to be released Jan 18, 
2017" can be removed since its slightly confusing.