January 19, 2015
On Tuesday, 30 December 2014 at 12:59:20 UTC, Vadim Lopatin wrote:
> On Tuesday, 30 December 2014 at 10:37:14 UTC, ketmar via Digitalmars-d-announce wrote:
>> On Tue, 30 Dec 2014 10:28:52 +0000
>>> On Tuesday, 30 December 2014 at 09:37:09 UTC, ketmar via Can you try to copy dlangui/res directory to directory where executable is located?
>> sure, no prob.
>>
>> yes, after i coped dlangui res/ dir to the directory where example1
>> binary resides, everything is working as it should.
>
> BTW, new release of DUB will include my pull request to support directories as items in copyFiles - resources will be copied automatically.
>
>> (actually, i copied it to "dlangui/examples/example1/bin", where dub
>> creates symlink to the real binary)
>
>> p.s. there is small glitch with checked checkboxes though: image is not transparent.
>
> Probably, it's issue of dlib png imported, but i'm not 100% sure.
>
>> p.p.s. can i turn that $#&#%^%@#@ font antialiasing off? ;-)
> I can implement such setting for you :)
> Does it really look ugly with font antialiasing?
>
> P.S: I've turned on JPEG support - from ~master of dlib.

Font antialiasing and hinting options settings are implemented.
Currently can be set from code, e.g. in beginning of UIAppMain (see example1 main.d):
    // you can override default hinting mode here (Normal, AutoHint, Disabled)
    FontManager.instance.hintingMode = HintingMode.Normal;
    // you can override antialiasing setting here (0 means antialiasing always on, some big value = always off)
    // fonts with size less than specified value will not be antialiased
    FontManager.instance.minAnitialiasedFontSize = 0; // 0 means always antialiased

January 19, 2015
On Mon, 19 Jan 2015 10:24:46 +0000
Vadim Lopatin via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> wrote:

> On Tuesday, 30 December 2014 at 12:59:20 UTC, Vadim Lopatin wrote:
> > On Tuesday, 30 December 2014 at 10:37:14 UTC, ketmar via Digitalmars-d-announce wrote:
> >> On Tue, 30 Dec 2014 10:28:52 +0000
> >>> On Tuesday, 30 December 2014 at 09:37:09 UTC, ketmar via Can you try to copy dlangui/res directory to directory where executable is located?
> >> sure, no prob.
> >>
> >> yes, after i coped dlangui res/ dir to the directory where
> >> example1
> >> binary resides, everything is working as it should.
> >
> > BTW, new release of DUB will include my pull request to support directories as items in copyFiles - resources will be copied automatically.
> >
> >> (actually, i copied it to "dlangui/examples/example1/bin",
> >> where dub
> >> creates symlink to the real binary)
> >
> >> p.s. there is small glitch with checked checkboxes though: image is not transparent.
> >
> > Probably, it's issue of dlib png imported, but i'm not 100% sure.
> >
> >> p.p.s. can i turn that $#&#%^%@#@ font antialiasing off? ;-)
> > I can implement such setting for you :)
> > Does it really look ugly with font antialiasing?
> >
> > P.S: I've turned on JPEG support - from ~master of dlib.
> 
> Font antialiasing and hinting options settings are implemented.
> Currently can be set from code, e.g. in beginning of UIAppMain
> (see example1 main.d):
>      // you can override default hinting mode here (Normal,
> AutoHint, Disabled)
>      FontManager.instance.hintingMode = HintingMode.Normal;
>      // you can override antialiasing setting here (0 means
> antialiasing always on, some big value = always off)
>      // fonts with size less than specified value will not be
> antialiased
>      FontManager.instance.minAnitialiasedFontSize = 0; // 0 means
> always antialiased
> 
didn't checked it yet, but thank you anyway! ;-)


January 20, 2015
On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote:
> Hello!
>
> DlangUI project is alive and under active development.
>
> https://github.com/buggins/dlangui
>

Project update:

* A lot of bugs fixed
* Look and feel of default theme changed to one similar to Visual Studio 2013
* Project documentation is now generated by ddox: http://buggins.github.io/dlangui/ddox
* Updated screenshots http://buggins.github.io/dlangui/screenshots.html
* Font antialiasing and hinting settings
* New classes for toolbars, dockable UI
* Improvements in editors
* SourceEditor - supports line number display and syntax highlight

DlangIDE project is in progress.

https://github.com/buggins/dlangide

It's D IDE based on DlangUI.

Early alpha stage. Mainly useful as DlangUI demo, and for development of new functionality required for building of apps like IDE.

Can open sample workspace with two projects (dub.json only). Can browse projects and open source files in editor tabs.


First screenshot from http://buggins.github.io/dlangui/screenshots.html


Current activity: syntax highlight implementation
Next step: implement DUB based builder

Best regards,
     Vadim
January 21, 2015
On Tuesday, 20 January 2015 at 10:51:38 UTC, Vadim Lopatin wrote:
> On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote:
>> Hello!
>>
>> DlangUI project is alive and under active development.
>>
>> https://github.com/buggins/dlangui
>>
>
> Project update:
>
> * A lot of bugs fixed
> * Look and feel of default theme changed to one similar to Visual Studio 2013
> * Project documentation is now generated by ddox: http://buggins.github.io/dlangui/ddox
> * Updated screenshots http://buggins.github.io/dlangui/screenshots.html
> * Font antialiasing and hinting settings
> * New classes for toolbars, dockable UI
> * Improvements in editors
> * SourceEditor - supports line number display and syntax highlight
>
> DlangIDE project is in progress.
>
> https://github.com/buggins/dlangide
>
> It's D IDE based on DlangUI.
>
> Early alpha stage. Mainly useful as DlangUI demo, and for development of new functionality required for building of apps like IDE.
>
> Can open sample workspace with two projects (dub.json only). Can browse projects and open source files in editor tabs.
>
>
> First screenshot from http://buggins.github.io/dlangui/screenshots.html
>
>
> Current activity: syntax highlight implementation
> Next step: implement DUB based builder
>
> Best regards,
>      Vadim

DlangIDE status Update:
Syntax highlight for D source is working.
It's just highlight based on token types. No advanced features like code completion, folding, etc.

Best regards,
     Vadim

January 21, 2015
On Wednesday, 21 January 2015 at 14:52:36 UTC, Vadim Lopatin wrote:
>
> DlangIDE status Update:
> Syntax highlight for D source is working.
> It's just highlight based on token types. No advanced features like code completion, folding, etc.
>
> Best regards,
>      Vadim

good work.
January 21, 2015
On Wednesday, 21 January 2015 at 15:49:06 UTC, FrankLike wrote:
> On Wednesday, 21 January 2015 at 14:52:36 UTC, Vadim Lopatin wrote:
>>
>> DlangIDE status Update:
>> Syntax highlight for D source is working.
>> It's just highlight based on token types. No advanced features like code completion, folding, etc.
>>
>> Best regards,
>>     Vadim
>
> good work.

If use dco to build the dlangIDE,config local.ini

----------------local.ini---------------------------
DC=dmd
DCStandardEnvBin=dmd2\windows\bin
SpecialLib=dlanguilib
importPath= -I..\..\dlangui\src
;lflags=console
lflags=win32
;lflags=win64
;dflags=
libs= ..\lib\dlanguilib.lib ..\lib\dlib.lib
;targetType=exe//lib//staticLib//dynamicLib//sourceLib//none
targetType=exe
;targetName=;//    ;'null is auto'
targetName=dlangide.exe
;compileType=;//64//32mscoff
compileType=
;buildMode=debug;//release
buildMode=debug
--------------------end---------------------
and copy dlib.lib with dlanguilib.lib to lib folder,and copy dlib to "dmd2\windows\import",then run 'dco',will get the dlangIDE.exe file only
1206kb,but bu dub, 4518kb.

get dco:
git clone https://github.com/FrankLIKE/dco

Frank
January 21, 2015
And there is the ability to embed resources into .exe?
January 21, 2015
On Wednesday, 21 January 2015 at 17:16:40 UTC, data man wrote:
> And there is the ability to embed resources into .exe?

I'm going to implement it soon - using import("").
Btw, does anyone know if it's possible to list files in import directories in compile time (CTFE) to avoid manual adding of file paths for every resource file?
January 21, 2015
On Wednesday, 21 January 2015 at 16:20:31 UTC, FrankLike wrote:
> On Wednesday, 21 January 2015 at 15:49:06 UTC, FrankLike wrote:
>> On Wednesday, 21 January 2015 at 14:52:36 UTC, Vadim Lopatin wrote:
>>>
>>> DlangIDE status Update:
>>> Syntax highlight for D source is working.
>>> It's just highlight based on token types. No advanced features like code completion, folding, etc.
>>>
>>> Best regards,
>>>    Vadim
>>
>> good work.
>
> If use dco to build the dlangIDE,config local.ini
>
> ----------------local.ini---------------------------
> DC=dmd
> DCStandardEnvBin=dmd2\windows\bin
> SpecialLib=dlanguilib
> importPath= -I..\..\dlangui\src
> ;lflags=console
> lflags=win32
> ;lflags=win64
> ;dflags=
> libs= ..\lib\dlanguilib.lib ..\lib\dlib.lib
> ;targetType=exe//lib//staticLib//dynamicLib//sourceLib//none
> targetType=exe
> ;targetName=;//    ;'null is auto'
> targetName=dlangide.exe
> ;compileType=;//64//32mscoff
> compileType=
> ;buildMode=debug;//release
> buildMode=debug
> --------------------end---------------------
> and copy dlib.lib with dlanguilib.lib to lib folder,and copy dlib to "dmd2\windows\import",then run 'dco',will get the dlangIDE.exe file only
> 1206kb,but bu dub, 4518kb.
>
> get dco:
> git clone https://github.com/FrankLIKE/dco
>
> Frank

Did you try dub build --build=release  ?

January 21, 2015
On Wed, 21 Jan 2015 17:33:05 +0000
Vadim Lopatin via Digitalmars-d-announce
<digitalmars-d-announce@puremagic.com> wrote:

> Btw, does anyone know if it's possible to list files in import directories in compile time (CTFE) to avoid manual adding of file paths for every resource file?
nope, it's impossible. CTFE code can't interoperate with environment.