wlanapi.h

2020-04-14 Thread Виталий Фадеев via Digitalmars-d-announce
I was writed "wlanapi.h". It is WLAN API windows header. I will be happy to see it in public D distributive. What I must to do for it ? What I must to do for add new file to "C:\D\dmd2\src\druntime\src\core\sys\windows\" ? Where to send it ? // cat import core.sys.windows.windows; enum

Sublime 3 plugin DlangAutoModuleName

2020-06-02 Thread Виталий Фадеев via Digitalmars-d-announce
Plugin will be add "mmodule name;". Module name detected from first "class name" or "interface name" or "struct name". Demo: https://github.com/vitalfadeev/SublimeDlangAutoModuleName

Re: D GUI Framework (responsive grid teaser)

2020-06-22 Thread Виталий Фадеев via Digitalmars-d-announce
On Monday, 22 June 2020 at 16:43:12 UTC, Robert M. Münch wrote: On 2019-05-19 21:01:33 +, Robert M. Münch said: Hi, we are currently build up our new technology stack and for this create a 2D GUI framework. Some now teaser, again might not look like a lot had happend but we move

Re: D GUI Framework (responsive grid teaser)

2020-06-24 Thread Виталий Фадеев via Digitalmars-d-announce
On Tuesday, 23 June 2020 at 17:41:35 UTC, Robert M. Münch wrote: On 2020-06-23 04:29:48 +, Виталий Фадеев said: [...] Not sure if this is a question or some project you do. However, yes on all points for what we do. [...] Yes. [...] Well, beauty lies in the eye of the beholder.

Sublime 3 Color Scheme. A specially for D.

2020-06-14 Thread Виталий Фадеев via Digitalmars-d-announce
Sublime 3 Color Scheme. A specially for D. Dark colors. Main idea is: focus on important words. Demo: https://github.com/vitalfadeev/MainThings

Re: Chimpfella - new library to do benchmarking with ranges (even with templates!)

2020-12-19 Thread Виталий Фадеев via Digitalmars-d-announce
On Saturday, 19 December 2020 at 05:08:56 UTC, Max Haughton wrote: https://code.dlang.org/packages/chimpfella Haven't finished documenting it yet. [...] ... @wrapper function() ... I like it!

Re: Chimpfella - new library to do benchmarking with ranges (even with templates!)

2020-12-19 Thread Виталий Фадеев via Digitalmars-d-announce
On Saturday, 19 December 2020 at 08:30:09 UTC, Виталий Фадеев wrote: On Saturday, 19 December 2020 at 05:08:56 UTC, Max Haughton wrote: https://code.dlang.org/packages/chimpfella Haven't finished documenting it yet. [...] ... @wrapper function() ... I like it! and I want some like this

Re: Article: Why I use the D programming language for scripting

2021-02-01 Thread Виталий Фадеев via Digitalmars-d-announce
On Tuesday, 2 February 2021 at 03:53:43 UTC, Виталий Фадеев wrote: On Sunday, 31 January 2021 at 20:36:43 UTC, aberba wrote: It's finally out! https://opensource.com/article/21/1/d-scripting If the article is about scripting, then the article will contain examples of scripts used in

Re: Article: Why I use the D programming language for scripting

2021-02-01 Thread Виталий Фадеев via Digitalmars-d-announce
On Sunday, 31 January 2021 at 20:36:43 UTC, aberba wrote: It's finally out! https://opensource.com/article/21/1/d-scripting If the article is about scripting, then the article will contain examples of scripts used in business. For example, to delete all dub caches in a directory: Version

Re: Article: Why I use the D programming language for scripting

2021-02-01 Thread Виталий Фадеев via Digitalmars-d-announce
On Tuesday, 2 February 2021 at 04:24:48 UTC, Виталий Фадеев wrote: On Tuesday, 2 February 2021 at 03:53:43 UTC, Виталий Фадеев wrote: On Sunday, 31 January 2021 at 20:36:43 UTC, aberba wrote: It's finally out! https://opensource.com/article/21/1/d-scripting If the article is about

Re: turtle v0.0.6

2021-05-20 Thread Виталий Фадеев via Digitalmars-d-announce
On Wednesday, 19 May 2021 at 16:41:54 UTC, Guillaume Piolat wrote: https://code.dlang.org/packages/turtle "The turtle package provides a friendly, software-rendered, and hi-DPI drawing solution, for when all you want is a Canvas API. It depends on SDL for windowing." [...] dplug:canvas,

Re: From the D Blog -- Interfacing D with C: Strings Part One

2021-05-25 Thread Виталий Фадеев via Digitalmars-d-announce
On Monday, 24 May 2021 at 14:02:14 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/05/24/interfacing-d-with-c-strings-part-one/ Good! toStringz() Technically we can use 'reserve()' for reserve memory. Possible, memory already reserved. s.reserve( s.length + 1 ); Then we

Re: From the D Blog -- Interfacing D with C: Strings Part One

2021-05-25 Thread Виталий Фадеев via Digitalmars-d-announce
On Wednesday, 26 May 2021 at 04:00:17 UTC, Виталий Фадеев wrote: On Monday, 24 May 2021 at 14:02:14 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/05/24/interfacing-d-with-c-strings-part-one/ Test code: https://run.dlang.io/is/xZwwtw Example for using reserve. Test code 2:

Re: From the D Blog -- Interfacing D with C: Strings Part One

2021-05-26 Thread Виталий Фадеев via Digitalmars-d-announce
On Wednesday, 26 May 2021 at 04:27:16 UTC, Виталий Фадеев wrote: On Wednesday, 26 May 2021 at 04:00:17 UTC, Виталий Фадеев wrote: On Monday, 24 May 2021 at 14:02:14 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/05/24/interfacing-d-with-c-strings-part-one/ Test code:

Re: From the D Blog -- Interfacing D with C: Strings Part One

2021-05-26 Thread Виталий Фадеев via Digitalmars-d-announce
On Wednesday, 26 May 2021 at 16:35:36 UTC, Ali Çehreli wrote: On 5/25/21 9:00 PM, Виталий Фадеев wrote: > immutable(char)* toStringz( ref string s ) > { > if ( s.capacity <= s.length ) > s.reserve( s.length + 1 ); > > char* cptr = cast( char* ) s.ptr; //

Re: From the D Blog -- Interfacing D with C: Strings Part One

2021-05-26 Thread Виталий Фадеев via Digitalmars-d-announce
On Thursday, 27 May 2021 at 03:40:02 UTC, Виталий Фадеев wrote: On Wednesday, 26 May 2021 at 16:35:36 UTC, Ali Çehreli wrote: On 5/25/21 9:00 PM, Виталий Фадеев wrote: > immutable(char)* toStringz( ref string s ) > { > if ( s.capacity <= s.length ) > s.reserve(

Re: From the D Blog -- Interfacing D with C: Strings Part One

2021-05-26 Thread Виталий Фадеев via Digitalmars-d-announce
On Thursday, 27 May 2021 at 03:52:32 UTC, Виталий Фадеев wrote: On Thursday, 27 May 2021 at 03:40:02 UTC, Виталий Фадеев wrote: On Wednesday, 26 May 2021 at 16:35:36 UTC, Ali Çehreli wrote: On 5/25/21 9:00 PM, Виталий Фадеев wrote: // cString[ $-1 ] != '\'0'; // cString[ $ ] != '\'0';

Re: dmdtags 1.0.0: an accurate tag generator for D source code

2021-08-27 Thread Виталий Фадеев via Digitalmars-d-announce
On Friday, 27 August 2021 at 21:38:58 UTC, Paul Backus wrote: `dmdtags` is a tags file generator for D source code that uses the DMD compiler frontend for accurate parsing. This release supports 100%-accurate parsing of arbitrary D code (tested on DMD and Phobos sources), as well as the most