Re: Find out druntime/import and phobos folder on Linux

2018-07-15 Thread Seb via Digitalmars-d-learn
On Saturday, 14 July 2018 at 17:19:20 UTC, Andre Pany wrote: Hi, The IntelliJ D Language plugin has support for D-scanner and DCD. Both tools needs to know the paths to druntime/import and Phobos source folder. In IntelliJ you set the path to the folder where dmd binary is located. Based on

setAttributes Issue.

2018-07-15 Thread vino.B via Digitalmars-d-learn
Hi All, Request your help, can some one find what is the issue with the below code, as this is throwing the error "Access is denied". as the below code is supposed to to remove the read-only permission if set. Code: import std.algorithm; import std.array; import std.container.array;

Re: Check whether a range is empty

2018-07-15 Thread vino.B via Digitalmars-d-learn
On Saturday, 14 July 2018 at 17:20:52 UTC, Ali Çehreli wrote: First, please show us code that demonstrates the issue. On 07/14/2018 07:47 AM, vino.B wrote: >The reason it never prints the text "Empty" is that the out of the > "r" is just an empty array. > > OUTPUT: > [] > [] If that's the

rmdirRecurse equivalent Windows API

2018-07-15 Thread vino.B via Digitalmars-d-learn
Hi All, The D function rmdirRecurse on windows works 80% and rest of the time it complains the the "The filename, directory name, or volume label syntax is incorrect." while accessing the file using UNC path, so is there any alternate such as Windows API to remove folder irrespective of

Re: Check whether a range is empty

2018-07-15 Thread Steven Schveighoffer via Digitalmars-d-learn
On 7/15/18 7:45 AM, vino.B wrote: On Saturday, 14 July 2018 at 17:20:52 UTC, Ali Çehreli wrote: First, please show us code that demonstrates the issue. On 07/14/2018 07:47 AM, vino.B wrote: >    The reason it never prints the text "Empty" is that the out of the > "r" is just an empty array. >

Re: setAttributes Issue.

2018-07-15 Thread vino.B via Digitalmars-d-learn
On Sunday, 15 July 2018 at 10:07:49 UTC, vino.B wrote: Hi All, Request your help, can some one find what is the issue with the below code, as this is throwing the error "Access is denied". as the below code is supposed to to remove the read-only permission if set. [...] Hi All, Was

Re: Check whether a range is empty

2018-07-15 Thread vino.B via Digitalmars-d-learn
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:

Re: Find out druntime/import and phobos folder on Linux

2018-07-15 Thread Timoses via Digitalmars-d-learn
On Saturday, 14 July 2018 at 19:04:01 UTC, Andre Pany wrote: On Saturday, 14 July 2018 at 19:00:56 UTC, Anonymouse wrote: On Saturday, 14 July 2018 at 17:19:20 UTC, Andre Pany wrote: Is there a way to find out both paths based on the dmd executable folder? What I found out so far, these

Re: Orange not working?

2018-07-15 Thread Jacob Carlborg via Digitalmars-d-learn
On 2018-07-14 08:48, Timoses wrote: Could perhaps bump it to 2.0.1 ? @Jacob Done. -- /Jacob Carlborg

Re: Find out druntime/import and phobos folder on Linux

2018-07-15 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 15 July 2018 at 09:17:31 UTC, Seb wrote: On Saturday, 14 July 2018 at 17:19:20 UTC, Andre Pany wrote: [...] DMD: https://github.com/dlang/dmd/blob/master/src/dmd/dinifile.d#L40 LDC: https://wiki.dlang.org/Using_LDC, https://github.com/dlang/dmd/blob/master/src/dmd/frontend.d#L97

Re: Is there any tool that will auto publish my changes.

2018-07-15 Thread Venkat via Digitalmars-d-learn
An extension to the question. Is something like auto publish that even possible ? Or the dumb guy from java world don't know what he talkin' 'bout ?