Re: DlangIDE v0.8.0 released

2017-10-05 Thread bitwise via Digitalmars-d-announce

On Tuesday, 3 October 2017 at 11:35:55 UTC, Vadim Lopatin wrote:

On Monday, 2 October 2017 at 16:50:38 UTC, bitwise wrote:
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

[...]


Is C++ integration on the roadmap?

My main project has a platform abstraction layer for graphics, 
and libraries for which no bindings are available, so I use 
Visual D right now, which lets me simply drag all my C++ 
sources right into a D library project. The downside of course 
being that Visual D only works on windows.


So far C++ integration is not planned.
I can include it to some milestone after 1.0


That would be great. Even something without coloring, formatting 
or completion would make me happy - just so I could drag my C++ 
sources into the project and have them built/linked without 
having maintain separate make-files, projects, etc..


   Thanks



Re: DlangIDE v0.8.0 released

2017-10-03 Thread Vadim Lopatin via Digitalmars-d-announce

On Monday, 2 October 2017 at 16:50:38 UTC, bitwise wrote:
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

[...]


Is C++ integration on the roadmap?

My main project has a platform abstraction layer for graphics, 
and libraries for which no bindings are available, so I use 
Visual D right now, which lets me simply drag all my C++ 
sources right into a D library project. The downside of course 
being that Visual D only works on windows.


So far C++ integration is not planned.
I can include it to some milestone after 1.0


Re: DlangIDE v0.8.0 released

2017-10-02 Thread bitwise via Digitalmars-d-announce
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

[...]


Is C++ integration on the roadmap?

My main project has a platform abstraction layer for graphics, 
and libraries for which no bindings are available, so I use 
Visual D right now, which lets me simply drag all my C++ sources 
right into a D library project. The downside of course being that 
Visual D only works on windows.






Re: DlangIDE v0.8.0 released

2017-09-29 Thread bitwise via Digitalmars-d-announce
On Thursday, 28 September 2017 at 11:25:35 UTC, Vadim Lopatin 
wrote:

[...]
Fixed.


Awesome, looks perfect now.

   Thanks!


Re: DlangIDE v0.8.0 released

2017-09-29 Thread aberba via Digitalmars-d-announce
On Friday, 29 September 2017 at 07:18:42 UTC, Martin Tschierschke 
wrote:

On Wednesday, 27 September 2017 at 12:34:33 UTC, Dmitry wrote:
On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni 
wrote:

[...]

The IDE should contain the compiler for convenience

No.


I think that including DMD & Co. into DlangIde is not the right 
approach,
but offering one D-NOW download package including everything 
needed to get started DMD, DUB, IDE etc. seams interesting.

Especially adding a collection of short D examples:
Maybe those from the website homepage + examples D-Lang Tour + 
some of Adams arsd.



So you start one installation and in the end you have a bunch 
of small valuable programs to play around.




Regards mt.


I don't get it. Install dlangide, install DMD (which comes with 
dub). What's the difficulty in this? If you want to debug, asm, 
etc. then you should have enough knowledge such that getting a 
debugger etc. is not a big deal.


Nodejs doesn't have any if that and its core packages are much 
worst than D's (except HTTP). But we use it cus its got packages 
for everything s beginners want to do. code.dlang.org


We wanna get the job done.


Re: DlangIDE v0.8.0 released

2017-09-29 Thread Martin Tschierschke via Digitalmars-d-announce

On Wednesday, 27 September 2017 at 12:34:33 UTC, Dmitry wrote:
On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni 
wrote:

[...]

The IDE should contain the compiler for convenience

No.


I think that including DMD & Co. into DlangIde is not the right 
approach,
but offering one D-NOW download package including everything 
needed to get started DMD, DUB, IDE etc. seams interesting.

Especially adding a collection of short D examples:
Maybe those from the website homepage + examples D-Lang Tour + 
some of Adams arsd.



So you start one installation and in the end you have a bunch of 
small valuable programs to play around.




Regards mt.


Re: DlangIDE v0.8.0 released

2017-09-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Thursday, 28 September 2017 at 11:52:51 UTC, aberba wrote:

Can i use svg icons?


Currently SVG images are not supported.

This feature is planned for one of future releases.

Workaround: you can provide PNG icons for different screen DPI.



Re: DlangIDE v0.8.0 released

2017-09-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Thursday, 28 September 2017 at 11:51:19 UTC, aberba wrote:
Does DLangUI support theming of the scrollbar? Paddings & 
margins?


It does. It's possible to change paddings, margins, look of 
scrollbar buttons and backgrounds.




Re: DlangIDE v0.8.0 released

2017-09-28 Thread aberba via Digitalmars-d-announce
On Thursday, 28 September 2017 at 11:25:35 UTC, Vadim Lopatin 
wrote:
On Thursday, 28 September 2017 at 06:27:03 UTC, Vadim Lopatin 
wrote:

On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
One small thing though - when you use the LCD/BGR style 
fonts, you get a mismatch between the font metrics and bitmap 
size.


Fixed.

Screenshots:

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-dark.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-console-win32.png


Can i use svg icons?


Re: DlangIDE v0.8.0 released

2017-09-28 Thread aberba via Digitalmars-d-announce
On Thursday, 28 September 2017 at 11:25:35 UTC, Vadim Lopatin 
wrote:
On Thursday, 28 September 2017 at 06:27:03 UTC, Vadim Lopatin 
wrote:

On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
One small thing though - when you use the LCD/BGR style 
fonts, you get a mismatch between the font metrics and bitmap 
size.


Fixed.

Screenshots:

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-dark.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-console-win32.png


Does DLangUI support theming of the scrollbar? Paddings & margins?


Re: DlangIDE v0.8.0 released

2017-09-28 Thread Vadim Lopatin via Digitalmars-d-announce
On Thursday, 28 September 2017 at 06:27:03 UTC, Vadim Lopatin 
wrote:

On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
One small thing though - when you use the LCD/BGR style fonts, 
you get a mismatch between the font metrics and bitmap size.


Fixed.

Screenshots:

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-dark.png

http://buggins.github.io/dlangui/screenshots/screenshot-dlangide-console-win32.png



Re: DlangIDE v0.8.0 released

2017-09-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 27 September 2017 at 15:24:29 UTC, bitwise wrote:
One small thing though - when you use the LCD/BGR style fonts, 
you get a mismatch between the font metrics and bitmap size.


So if you're using FT_LOAD_TARGET_LCD, then some of these may 
be true:


glyph.bitmap_left != (glyph.metrics.horiBearingX >> 6);
glyph.bitmap_top != (glyph.metrics.horiBearingY >> 6);
glyph.bitmap.width != (glyph.metrics.width >> 6);
glyph.bitmap.rows != (glyph.metrics.height >> 6);

The result could be a crash, clipping, or misalignment of 
glyphs, depending on the assumptions made by your blitting code.


I asked about this on the FT mailing list, and unfortunately, 
they don't believe that the 1 or 2 pixels of padding added to 
the bitmap to accommodate the LCD rendering belongs in metrics.


The fix is simply using bitmap_left, bitmap_top, bitmap.width, 
bitmap.height, instead of the metrics.


I was looking at the commits and saw that you added kerning, so 
was wondering if you hit this problem.


Thank you for advice.
It looks like I faced this problem when one of fonts was selected 
for UI.

Will fix.
As well, I see wrong monotype fonts character placement not 
aligned properly.






Re: DlangIDE v0.8.0 released

2017-09-27 Thread bitwise via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 13:22:20 UTC, Vadim Lopatin 
wrote:

On Tuesday, 26 September 2017 at 22:35:09 UTC, bitwise wrote:
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

New DlangIDE version is released.


I've only had time to take a quick look, but this IDE seems 
pretty good. I was surprised at how fast it loaded up, and how 
it downloaded the dependencies for the sample project on it's 
own.


The text rendering needs work though. Honestly, I passed this 
editor up the first time I came across it because of the way 
the text looks. It reminds me of Visual Studio 2005. I 
couldn't help but assume the IDE was outdated and probably be 
abandon-ware.


I would definitely change the default font to the platform-IDE 
defaults:


Visual Studio: Consolas
XCode: Menlo Regular

Also, FreeType has made improvements lately, and now does a 
much better job of rendering fonts at small sizes(no so 
blurry). In particular 2.8.1, which just came out, implements 
a patent-free substitute for MS style clear-type 
rendering[1][2].


[1] http://i.imgur.com/nK8Xu.png
[2] 
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_LOAD_TARGET_LCD


The thick bezels and deep 3D shading make it look retro as 
well.


For Windows, added libfreetype 2.8.1 dlls.

Made additional fixes for better font rendering.

Win32 binaries are uploaded to
https://github.com/buggins/dlangide/releases/tag/v0.8.2

To disable freetype, delete libfreetype-6.dll

Consolas/Menlo are already selected if "Default" font is chosen 
for editors.


Hey, thanks!
Looks good.

One small thing though - when you use the LCD/BGR style fonts, 
you get a mismatch between the font metrics and bitmap size.


So if you're using FT_LOAD_TARGET_LCD, then some of these may be 
true:


glyph.bitmap_left != (glyph.metrics.horiBearingX >> 6);
glyph.bitmap_top != (glyph.metrics.horiBearingY >> 6);
glyph.bitmap.width != (glyph.metrics.width >> 6);
glyph.bitmap.rows != (glyph.metrics.height >> 6);

The result could be a crash, clipping, or misalignment of glyphs, 
depending on the assumptions made by your blitting code.


I asked about this on the FT mailing list, and unfortunately, 
they don't believe that the 1 or 2 pixels of padding added to the 
bitmap to accommodate the LCD rendering belongs in metrics.


The fix is simply using bitmap_left, bitmap_top, bitmap.width, 
bitmap.height, instead of the metrics.


I was looking at the commits and saw that you added kerning, so 
was wondering if you hit this problem.





Re: DlangIDE v0.8.0 released

2017-09-27 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni 
wrote:
Code completion isnt working for me on windows, no clue what's 
missing.


Did you try Ctrl+Space?


Re: DlangIDE v0.8.0 released

2017-09-27 Thread Vadim Lopatin via Digitalmars-d-announce

On Tuesday, 26 September 2017 at 22:35:09 UTC, bitwise wrote:
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

New DlangIDE version is released.


I've only had time to take a quick look, but this IDE seems 
pretty good. I was surprised at how fast it loaded up, and how 
it downloaded the dependencies for the sample project on it's 
own.


The text rendering needs work though. Honestly, I passed this 
editor up the first time I came across it because of the way 
the text looks. It reminds me of Visual Studio 2005. I couldn't 
help but assume the IDE was outdated and probably be 
abandon-ware.


I would definitely change the default font to the platform-IDE 
defaults:


Visual Studio: Consolas
XCode: Menlo Regular

Also, FreeType has made improvements lately, and now does a 
much better job of rendering fonts at small sizes(no so 
blurry). In particular 2.8.1, which just came out, implements a 
patent-free substitute for MS style clear-type rendering[1][2].


[1] http://i.imgur.com/nK8Xu.png
[2] 
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_LOAD_TARGET_LCD


The thick bezels and deep 3D shading make it look retro as well.


For Windows, added libfreetype 2.8.1 dlls.

Made additional fixes for better font rendering.

Win32 binaries are uploaded to
https://github.com/buggins/dlangide/releases/tag/v0.8.2

To disable freetype, delete libfreetype-6.dll

Consolas/Menlo are already selected if "Default" font is chosen 
for editors.




Re: DlangIDE v0.8.0 released

2017-09-27 Thread Dmitry via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 08:00:21 UTC, Traktor Toni 
wrote:
The shortcuts should be identical to Visual Studio, anything 
else is a waste of time to learn and configure.
Visual Studio? Why not Vim? Why not Xamarin Studio? Why not IDEA? 
Why not Sublime or tons of other popular configurations? If you 
want Visual Studio, then just use Visual Studio.



The IDE should contain the compiler for convenience

No.


Re: DlangIDE v0.8.0 released

2017-09-27 Thread Traktor Toni via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 07:23:30 UTC, Vadim Lopatin 
wrote:
1. Ctrl+F5 does. You can change shortcuts in 
~/.dlangide/shortcuts.json (on Windows - in 
currentUser/AppData/.dlangide/shortcuts.json
2. Why should IDE include compiler. It's easy to download it 
from official site.
3. Is Code completion/GoToDefinition/Call tips/Doc comments 
enough? If so, it's present. No refactoring support.


The shortcuts should be identical to Visual Studio, anything else 
is a waste of time to learn and configure.
The IDE should contain the compiler for convenience, this way 
dlang.org can point to your download and say "install and press 
run"
Code completion isnt working for me on windows, no clue what's 
missing.


Re: DlangIDE v0.8.0 released

2017-09-27 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 27 September 2017 at 02:37:41 UTC, Traktor Toni 
wrote:
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

New DlangIDE version is released.
Now I'm considering DlangIDE as mostly usable.


well don't. I just tested the windows build.

1. F5 doesnt build+run the application
2. I have to install dmd/D compiler separately
3. no intellisense

This is not usable by any reasonable definition as an IDE.


1. Ctrl+F5 does. You can change shortcuts in 
~/.dlangide/shortcuts.json (on Windows - in 
currentUser/AppData/.dlangide/shortcuts.json
2. Why should IDE include compiler. It's easy to download it from 
official site.
3. Is Code completion/GoToDefinition/Call tips/Doc comments 
enough? If so, it's present. No refactoring support.


Re: DlangIDE v0.8.0 released

2017-09-26 Thread puming via Digitalmars-d-announce
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

New DlangIDE version is released.

Prebuilt win32 binaries are available on 
https://github.com/buggins/dlangide/releases


Milestone 0.8 is reached.
List of 56 issues closed in this milestone: 
https://github.com/buggins/dlangide/milestone/2?closed=1


As well, many DlangUI changes were implemented for some of 
DlangIDE features.


Thank you for everyone who reported issues / sent PRs and 
feature requests.


Now I'm considering DlangIDE as mostly usable.


Thanks for the new release!

Just checked the windows version and it works well.

waiting for the vim mode support 
(https://github.com/buggins/dlangide/issues/86)  to switch it as 
my main IDE.


Re: DlangIDE v0.8.0 released

2017-09-26 Thread Traktor Toni via Digitalmars-d-announce
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

New DlangIDE version is released.
Now I'm considering DlangIDE as mostly usable.


well don't. I just tested the windows build.

1. F5 doesnt build+run the application
2. I have to install dmd/D compiler separately
3. no intellisense

This is not usable by any reasonable definition as an IDE.


Re: DlangIDE v0.8.0 released

2017-09-26 Thread bitwise via Digitalmars-d-announce
On Tuesday, 26 September 2017 at 15:20:54 UTC, Vadim Lopatin 
wrote:

New DlangIDE version is released.


I've only had time to take a quick look, but this IDE seems 
pretty good. I was surprised at how fast it loaded up, and how it 
downloaded the dependencies for the sample project on it's own.


The text rendering needs work though. Honestly, I passed this 
editor up the first time I came across it because of the way the 
text looks. It reminds me of Visual Studio 2005. I couldn't help 
but assume the IDE was outdated and probably be abandon-ware.


I would definitely change the default font to the platform-IDE 
defaults:


Visual Studio: Consolas
XCode: Menlo Regular

Also, FreeType has made improvements lately, and now does a much 
better job of rendering fonts at small sizes(no so blurry). In 
particular 2.8.1, which just came out, implements a patent-free 
substitute for MS style clear-type rendering[1][2].


[1] http://i.imgur.com/nK8Xu.png
[2] 
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_LOAD_TARGET_LCD


The thick bezels and deep 3D shading make it look retro as well.