Re: DlangUI

2015-01-28 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 28 January 2015 at 10:13:12 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 10:01:44 UTC, John Colvin 
wrote:
On Wednesday, 28 January 2015 at 04:11:20 UTC, Vadim Lopatin 
wrote:

On Tuesday, 27 January 2015 at 19:37:44 UTC, Gan wrote:

On Saturday, 14 June 2014 at 19:40:58 UTC, Jim Hewes wrote:
Very nice, thanks. I'm looking forward to trying it out 
when I can find the time. I'm not a big fan of 
bindings/wrappers.


Jim


This is looks fantastic. I tried the demo but I get an error:
SDL_GL_CreateContext failed: Failed creating OpenGL context

Running Mac OS 10.10.2 on 2011 Macbook Pro


Never tried it on mac.
I believe, if OpenGL context cannot be created, DlangUI SDL 
backend should switch to bare SDL (sw renderer).

I would rather expect that app crashes on missing fonts.
Linux (and mac) font paths are hardcoded. Where are .ttf 
files located on macos? Fast and dirty fix is possible - add 
paths for a few mac fonts.

Could you please share startup logs?

As well, you can try to build w/o OpenGL - clone repository 
and remove USE_OPENGL version from dub.json


All the projects in examples/ crash on OS X in functions 
relating to text AFAICS.


Font locations on OS X: http://support.apple.com/en-gb/HT201722


Could you please share file list of /Library/Fonts/ and 
/System/Library/Fonts/ ?


ls /Library/Fonts/ /System/Library/Fonts/
/Library/Fonts/:
Al Nile.ttc  Hannotate.ttc
STIXSizFourSymBol.otf
Al Tarikh.ttcHanzipen.ttc 
STIXSizFourSymReg.otf
AlBayan.ttc  HeadlineA.ttf
STIXSizOneSymBol.otf
AmericanTypewriter.ttc   Herculanum.ttf   
STIXSizOneSymReg.otf
Andale Mono.ttf  Hiragino Sans GB W3.otf  
STIXSizThreeSymBol.otf
Apple Chancery.ttf   Hiragino Sans GB W6.otf  
STIXSizThreeSymReg.otf
AppleGothic.ttf  Hoefler Text Ornaments.ttf   
STIXSizTwoSymBol.otf
AppleMyungjo.ttf Hoefler Text.ttc 
STIXSizTwoSymReg.otf
AppleSDGothicNeo-ExtraBold.otf   ITFDevanagari.ttc
STIXVar.otf
AppleSDGothicNeo-Heavy.otf   Impact.ttf   
STIXVarBol.otf
AppleSDGothicNeo-Light.otf   InaiMathi.ttf
Sana.ttc
AppleSDGothicNeo-Medium.otf  Iowan Old Style.ttc  
Sathu.ttf
AppleSDGothicNeo-SemiBold.otfKailasa.ttf  
Savoye LET.ttc
AppleSDGothicNeo-Thin.otfKaiti.ttc
Seravek.ttc
AppleSDGothicNeo-UltraLight.otf  Kannada MN.ttc   
Shree714.ttc
Arial Black.ttf  Kannada Sangam MN.ttc
SignPainter.otf
Arial Bold Italic.ttfKefa.ttc 
Silom.ttf
Arial Bold.ttf   Khmer MN.ttc 
Sinhala MN.ttc
Arial Italic.ttf Khmer Sangam MN.ttf  
Sinhala Sangam MN.ttc
Arial Narrow Bold Italic.ttf Kokonor.ttf  
Skia.ttf
Arial Narrow Bold.ttfKrungthep.ttf
SnellRoundhand.ttc
Arial Narrow Italic.ttf  KufiStandardGK.ttc   
Songti.ttc
Arial Narrow.ttf Lantinghei.ttc   
SukhumvitSet.ttc
Arial Rounded Bold.ttf   Lao MN.ttc   
SuperClarendon.ttc
Arial Unicode.ttfLao Sangam MN.ttf
Tahoma Bold.ttf
Arial.ttfLibian.ttc   
Tahoma.ttf
Athelas.ttc  Luminari.ttf 
Tamil MN.ttc
Ayuthaya.ttf Malayalam MN.ttc 
Tamil Sangam MN.ttc
Baghdad.ttc  Malayalam Sangam MN.ttc  
Telugu MN.ttc
Bangla MN.ttcMarion.ttc   
Telugu Sangam MN.ttc
Bangla Sangam MN.ttc Microsoft Sans Serif.ttf 
Times New Roman Bold Italic.ttf
Baoli.ttcMishafi Gold.ttf 
Times New Roman Bold.ttf
Baskerville.ttc  Mishafi.ttf  
Times New Roman Italic.ttf
Beirut.ttc   MshtakanBold.ttf 
Times New Roman.ttf
BigCaslon.ttfMshtakanBoldOblique.ttf  
Trattatello.ttf
Bodoni 72 OS.ttc MshtakanOblique.ttf  
Trebuchet MS Bold Italic.ttf
Bodoni 72 Smallcaps Book.ttf MshtakanRegular.ttf  
Trebuchet MS Bold.ttf
Bodoni 72.ttcMuna.ttc 
Trebuchet MS Italic.ttf
Bodoni Ornaments.ttf Myanmar MN.ttc 

Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 10:31:31 UTC, John Colvin wrote:

$ ls -1 /Library/Fonts/ /System/Library/Fonts/
/Library/Fonts/:
Al Nile.ttc

...

Thank you!

Submitted fix with some mac font paths hardcoded.
v0.4.22
Could you please try it?

BTW, could you try on mac https://github.com/buggins/dlangide.git 
as well?

It's dlangui-based D language IDE I'm currently working on.


Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 13:37:34 UTC, John Colvin wrote:
On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin 
wrote:
BTW, could you try on mac 
https://github.com/buggins/dlangide.git as well?

It's dlangui-based D language IDE I'm currently working on.


That works OK.

The text is all horrible looking. This is probably due to (lack 
of) scaling support for high-res screens (retina).


Is graphics scaled too? If so, it's due to scaling.
Otherwise possible it's due to bad implementation of subpixel 
antialiasing (aka ClearType).

I've submitted fix to disable subpixel antialiasing.

The main menu's open ok, but a second click to close them does 
nothing. Clicking elsewhere does close them though.


Not using the native OS X menu system leads to a rather grating 
experience. You'll get a similar story from Ubuntu Unity users.

It's known problem.

But it requires some work to update system menu.
I don't have mac to do it anyway.
Probably, someone will implement it later.



Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 06:44:16 UTC, Dylan Allbee wrote:
Was pleasantly surprised to see that it worked without having 
to manually muck with any dependencies. Resource usage is 
minimal, interface feels smooth (though obviously ugly, but 
that isn't the point).

Look  feel can be customized with themes.
Current default theme is near to lookfeel of MS Visual Studio 
2013.

I hope by changes of theme you can make UI not so ugly.

I can't wait until I have some extra free time to build 
something with this and hopefully contribute. Great work!

It will be great if someone started to use it and contribute.
So far, there is no much feedback from users.

P.S. I noticed that it *almost* builds with gdc, but fails on 
freetype. Have you been attempting to target gdc at all for 
those performance gains?

It looks like derelict-ft issue.
I've submitted issue #3 to derelict-ft on GitHub.
gdc doesn't support @nogc attribute



Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 13:18:11 UTC, John Colvin wrote:
On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 10:31:31 UTC, John Colvin 
wrote:

$ ls -1 /Library/Fonts/ /System/Library/Fonts/
/Library/Fonts/:
Al Nile.ttc

...

Thank you!

Submitted fix with some mac font paths hardcoded.
v0.4.22
Could you please try it?

BTW, could you try on mac 
https://github.com/buggins/dlangide.git as well?

It's dlangui-based D language IDE I'm currently working on.


tetris and helloworld now work. example1 fails to build:
src/example1.d(69): Error: undefined identifier setTimer
src/example1.d(75): Error: undefined identifier cancelTimer


Checked on latest version from git - example1 works for me.
Did you try to pull recent changes from git?


Re: DlangUI

2015-01-28 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin 
wrote:
BTW, could you try on mac 
https://github.com/buggins/dlangide.git as well?

It's dlangui-based D language IDE I'm currently working on.


That works OK.

The text is all horrible looking. This is probably due to (lack 
of) scaling support for high-res screens (retina).


The main menu's open ok, but a second click to close them does 
nothing. Clicking elsewhere does close them though.


Not using the native OS X menu system leads to a rather grating 
experience. You'll get a similar story from Ubuntu Unity users.


Re: DlangUI

2015-01-28 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 28 January 2015 at 13:30:59 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 13:18:11 UTC, John Colvin 
wrote:
On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 10:31:31 UTC, John Colvin 
wrote:

$ ls -1 /Library/Fonts/ /System/Library/Fonts/
/Library/Fonts/:
Al Nile.ttc

...

Thank you!

Submitted fix with some mac font paths hardcoded.
v0.4.22
Could you please try it?

BTW, could you try on mac 
https://github.com/buggins/dlangide.git as well?

It's dlangui-based D language IDE I'm currently working on.


tetris and helloworld now work. example1 fails to build:
src/example1.d(69): Error: undefined identifier setTimer
src/example1.d(75): Error: undefined identifier cancelTimer


Checked on latest version from git - example1 works for me.
Did you try to pull recent changes from git?


All working for me now.

A few points:
As I mentioned about dlangide, the font scaling is nasty.
The Window menu name overflows and is clipped.
Are the draggable dividers in the Buttons tab supposed to be able 
to move? They don't seem to do anything.


Re: NEW asm.dlang.org site

2015-01-28 Thread ZombineDev via Digitalmars-d-announce

On Tuesday, 27 January 2015 at 13:05:08 UTC, Iain Buclaw wrote:

...


Thank you for the informative reply.


Re: DlangUI

2015-01-28 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 28 January 2015 at 04:11:20 UTC, Vadim Lopatin 
wrote:

On Tuesday, 27 January 2015 at 19:37:44 UTC, Gan wrote:

On Saturday, 14 June 2014 at 19:40:58 UTC, Jim Hewes wrote:
Very nice, thanks. I'm looking forward to trying it out when 
I can find the time. I'm not a big fan of bindings/wrappers.


Jim


This is looks fantastic. I tried the demo but I get an error:
SDL_GL_CreateContext failed: Failed creating OpenGL context

Running Mac OS 10.10.2 on 2011 Macbook Pro


Never tried it on mac.
I believe, if OpenGL context cannot be created, DlangUI SDL 
backend should switch to bare SDL (sw renderer).

I would rather expect that app crashes on missing fonts.
Linux (and mac) font paths are hardcoded. Where are .ttf files 
located on macos? Fast and dirty fix is possible - add paths 
for a few mac fonts.

Could you please share startup logs?

As well, you can try to build w/o OpenGL - clone repository and 
remove USE_OPENGL version from dub.json


All the projects in examples/ crash on OS X in functions relating 
to text AFAICS.


Font locations on OS X: http://support.apple.com/en-gb/HT201722


Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 10:01:44 UTC, John Colvin wrote:
On Wednesday, 28 January 2015 at 04:11:20 UTC, Vadim Lopatin 
wrote:

On Tuesday, 27 January 2015 at 19:37:44 UTC, Gan wrote:

On Saturday, 14 June 2014 at 19:40:58 UTC, Jim Hewes wrote:
Very nice, thanks. I'm looking forward to trying it out when 
I can find the time. I'm not a big fan of bindings/wrappers.


Jim


This is looks fantastic. I tried the demo but I get an error:
SDL_GL_CreateContext failed: Failed creating OpenGL context

Running Mac OS 10.10.2 on 2011 Macbook Pro


Never tried it on mac.
I believe, if OpenGL context cannot be created, DlangUI SDL 
backend should switch to bare SDL (sw renderer).

I would rather expect that app crashes on missing fonts.
Linux (and mac) font paths are hardcoded. Where are .ttf files 
located on macos? Fast and dirty fix is possible - add paths 
for a few mac fonts.

Could you please share startup logs?

As well, you can try to build w/o OpenGL - clone repository 
and remove USE_OPENGL version from dub.json


All the projects in examples/ crash on OS X in functions 
relating to text AFAICS.


Font locations on OS X: http://support.apple.com/en-gb/HT201722


Could you please share file list of /Library/Fonts/ and 
/System/Library/Fonts/ ?


What are good/standard Sans Serif and Monotype fonts on Macs?


Re: DlangUI

2015-01-28 Thread ketmar via Digitalmars-d-announce
On Wed, 28 Jan 2015 06:44:15 +, Dylan Allbee wrote:

 Was pleasantly surprised to see that it worked without having to
 manually muck with any dependencies. Resource usage is minimal,
 interface feels smooth (though obviously ugly, but that isn't the
 point).
 
 I can't wait until I have some extra free time to build something with
 this and hopefully contribute. Great work!
 
 P.S. I noticed that it *almost* builds with gdc, but fails on freetype.
 Have you been attempting to target gdc at all for those performance
 gains?

as gdc will soon get official 2.066 upgrade, i believe that DlangUI will 
be buildable with gdc.

signature.asc
Description: PGP signature


Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 08:04:05 UTC, ketmar wrote:
as gdc will soon get official 2.066 upgrade, i believe that 
DlangUI will

be buildable with gdc.


At least it builds with ldc2



Re: DlangUI

2015-01-28 Thread John Colvin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 10:28:09 UTC, John Colvin wrote:
On Wednesday, 28 January 2015 at 10:13:12 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 10:01:44 UTC, John Colvin 
wrote:
On Wednesday, 28 January 2015 at 04:11:20 UTC, Vadim Lopatin 
wrote:

On Tuesday, 27 January 2015 at 19:37:44 UTC, Gan wrote:

On Saturday, 14 June 2014 at 19:40:58 UTC, Jim Hewes wrote:
Very nice, thanks. I'm looking forward to trying it out 
when I can find the time. I'm not a big fan of 
bindings/wrappers.


Jim


This is looks fantastic. I tried the demo but I get an 
error:

SDL_GL_CreateContext failed: Failed creating OpenGL context

Running Mac OS 10.10.2 on 2011 Macbook Pro


Never tried it on mac.
I believe, if OpenGL context cannot be created, DlangUI SDL 
backend should switch to bare SDL (sw renderer).

I would rather expect that app crashes on missing fonts.
Linux (and mac) font paths are hardcoded. Where are .ttf 
files located on macos? Fast and dirty fix is possible - add 
paths for a few mac fonts.

Could you please share startup logs?

As well, you can try to build w/o OpenGL - clone repository 
and remove USE_OPENGL version from dub.json


All the projects in examples/ crash on OS X in functions 
relating to text AFAICS.


Font locations on OS X: 
http://support.apple.com/en-gb/HT201722


Could you please share file list of /Library/Fonts/ and 
/System/Library/Fonts/ ?


Apologies for the previous mess, this is what I have on 10.10:

$ ls -1 /Library/Fonts/ /System/Library/Fonts/
/Library/Fonts/:
Al Nile.ttc
Al Tarikh.ttc
AlBayan.ttc
AmericanTypewriter.ttc
Andale Mono.ttf
Apple Chancery.ttf
AppleGothic.ttf
AppleMyungjo.ttf
AppleSDGothicNeo-ExtraBold.otf
AppleSDGothicNeo-Heavy.otf
AppleSDGothicNeo-Light.otf
AppleSDGothicNeo-Medium.otf
AppleSDGothicNeo-SemiBold.otf
AppleSDGothicNeo-Thin.otf
AppleSDGothicNeo-UltraLight.otf
Arial Black.ttf
Arial Bold Italic.ttf
Arial Bold.ttf
Arial Italic.ttf
Arial Narrow Bold Italic.ttf
Arial Narrow Bold.ttf
Arial Narrow Italic.ttf
Arial Narrow.ttf
Arial Rounded Bold.ttf
Arial Unicode.ttf
Arial.ttf
Athelas.ttc
Ayuthaya.ttf
Baghdad.ttc
Bangla MN.ttc
Bangla Sangam MN.ttc
Baoli.ttc
Baskerville.ttc
Beirut.ttc
BigCaslon.ttf
Bodoni 72 OS.ttc
Bodoni 72 Smallcaps Book.ttf
Bodoni 72.ttc
Bodoni Ornaments.ttf
Bradley Hand Bold.ttf
Brush Script.ttf
Chalkboard.ttc
ChalkboardSE.ttc
Chalkduster.ttf
Charter.ttc
Cochin.ttc
Comic Sans MS Bold.ttf
Comic Sans MS.ttf
Copperplate.ttc
Corsiva.ttc
Courier New Bold Italic.ttf
Courier New Bold.ttf
Courier New Italic.ttf
Courier New.ttf
DIN Alternate Bold.ttf
DIN Condensed Bold.ttf
Damascus.ttc
DecoTypeNaskh.ttc
Devanagari Sangam MN.ttc
DevanagariMT.ttc
Didot.ttc
Diwan Kufi.ttc
Diwan Thuluth.ttf
EuphemiaCAS.ttc
Farah.ttc
Farisi.ttf
Futura.ttc
Georgia Bold Italic.ttf
Georgia Bold.ttf
Georgia Italic.ttf
Georgia.ttf
GillSans.ttc
Gujarati Sangam MN.ttc
GujaratiMT.ttf
GujaratiMTBold.ttf
Gungseouche.ttf
Gurmukhi MN.ttc
Gurmukhi Sangam MN.ttc
Gurmukhi.ttf
Hannotate.ttc
Hanzipen.ttc
HeadlineA.ttf
Herculanum.ttf
Hiragino Sans GB W3.otf
Hiragino Sans GB W6.otf
Hoefler Text Ornaments.ttf
Hoefler Text.ttc
ITFDevanagari.ttc
Impact.ttf
InaiMathi.ttf
Iowan Old Style.ttc
Kailasa.ttf
Kaiti.ttc
Kannada MN.ttc
Kannada Sangam MN.ttc
Kefa.ttc
Khmer MN.ttc
Khmer Sangam MN.ttf
Kokonor.ttf
Krungthep.ttf
KufiStandardGK.ttc
Lantinghei.ttc
Lao MN.ttc
Lao Sangam MN.ttf
Libian.ttc
Luminari.ttf
Malayalam MN.ttc
Malayalam Sangam MN.ttc
Marion.ttc
Microsoft Sans Serif.ttf
Mishafi Gold.ttf
Mishafi.ttf
MshtakanBold.ttf
MshtakanBoldOblique.ttf
MshtakanOblique.ttf
MshtakanRegular.ttf
Muna.ttc
Myanmar MN.ttc
Myanmar Sangam MN.ttf
NISC18030.ttf
Nadeem.ttc
NanumGothic.ttc
NanumMyeongjo.ttc
NanumScript.ttc
NewPeninimMT.ttc
Oriya MN.ttc
Oriya Sangam MN.ttc
Osaka.ttf
OsakaMono.ttf
PCmyoungjo.ttf
PTMono.ttc
PTSans.ttc
PTSerif.ttc
PTSerifCaption.ttc
Papyrus.ttc
Phosphate.ttc
Pilgiche.ttf
PlantagenetCherokee.ttf
Raanana.ttc
STIXGeneral.otf
STIXGeneralBol.otf
STIXGeneralBolIta.otf
STIXGeneralItalic.otf
STIXIntDBol.otf
STIXIntDReg.otf
STIXIntSmBol.otf
STIXIntSmReg.otf
STIXIntUpBol.otf
STIXIntUpDBol.otf
STIXIntUpDReg.otf
STIXIntUpReg.otf
STIXIntUpSmBol.otf
STIXIntUpSmReg.otf
STIXNonUni.otf
STIXNonUniBol.otf
STIXNonUniBolIta.otf
STIXNonUniIta.otf
STIXSizFiveSymReg.otf
STIXSizFourSymBol.otf
STIXSizFourSymReg.otf
STIXSizOneSymBol.otf
STIXSizOneSymReg.otf
STIXSizThreeSymBol.otf
STIXSizThreeSymReg.otf
STIXSizTwoSymBol.otf
STIXSizTwoSymReg.otf
STIXVar.otf
STIXVarBol.otf
Sana.ttc
Sathu.ttf
Savoye LET.ttc
Seravek.ttc
Shree714.ttc
SignPainter.otf
Silom.ttf
Sinhala MN.ttc
Sinhala Sangam MN.ttc
Skia.ttf
SnellRoundhand.ttc
Songti.ttc
SukhumvitSet.ttc
SuperClarendon.ttc
Tahoma Bold.ttf
Tahoma.ttf
Tamil MN.ttc
Tamil Sangam MN.ttc
Telugu MN.ttc
Telugu Sangam MN.ttc
Times New Roman Bold Italic.ttf
Times New Roman Bold.ttf
Times New Roman Italic.ttf
Times New Roman.ttf
Trattatello.ttf
Trebuchet MS Bold Italic.ttf
Trebuchet MS Bold.ttf
Trebuchet MS Italic.ttf
Trebuchet MS.ttf
Verdana Bold 

painlessjson released, looking for improvement advice

2015-01-28 Thread Pierre Krafft via Digitalmars-d-announce

Hi,
DUB lacked a package for going between D objects and JSON.
painlessjson is a library just released on DUB looking to be the 
easy solution for converting D data to and from JSON.


painlessjson uses templates and traits to generate code that 
converts to and from std.json.


The goals of painlessjson are:
- Easy to use and set up
- Highly configurable with sensible defaults
- Keep the library code simple by not reinventing what others 
provide for us

- Support as many D types as possible

Current features are:
- Convert to and from std.json, structs and classes with default 
constructor, arrays, associative arrays, and any type 
implementing _toJSON + _fromJSON.

- Includes @property functions
- Ignore a field using @SerializeIgnore
- Rename a field using @SerializedName(Name) or 
@SerializedToName('To') @SerializedFromName('From')


This project gained momentum just recently so there are several 
things to improve. We want input and help to make this as great 
as possible.
The features that are being designed right now are quite tricky 
to get right so any help would be greatly appreciated.


The project is on github: 
https://github.com/BlackEdder/painlessjson

And on DUB: http://code.dlang.org/packages/painlessjson

Our current issues are:
- How do we support subclasses? 
https://github.com/BlackEdder/painlessjson/issues/8
- How should constructors be handled? Don't forget alias this and 
preferably find the best constructor to use without relying on 
annotations. https://github.com/BlackEdder/painlessjson/issues/12


Re: painlessjson released, looking for improvement advice

2015-01-28 Thread rlonstein via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 21:54:06 UTC, Pierre Krafft
wrote:

Hi,
DUB lacked a package for going between D objects and JSON.
painlessjson is a library just released on DUB looking to be 
the easy solution for converting D data to and from JSON.


painlessjson uses templates and traits to generate code that 
converts to and from std.json.


The goals of painlessjson are:
- Easy to use and set up
- Highly configurable with sensible defaults
- Keep the library code simple by not reinventing what others 
provide for us

- Support as many D types as possible


Not quite the same, but I've been using dson
(https://github.com/w0rp/dson).

Have you looked it over?


Re: DlangUI

2015-01-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Wednesday, 28 January 2015 at 13:53:00 UTC, John Colvin wrote:
On Wednesday, 28 January 2015 at 13:30:59 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 13:18:11 UTC, John Colvin 
wrote:
On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin 
wrote:
On Wednesday, 28 January 2015 at 10:31:31 UTC, John Colvin 
wrote:

$ ls -1 /Library/Fonts/ /System/Library/Fonts/
/Library/Fonts/:
Al Nile.ttc

...

Thank you!

Submitted fix with some mac font paths hardcoded.
v0.4.22
Could you please try it?

BTW, could you try on mac 
https://github.com/buggins/dlangide.git as well?

It's dlangui-based D language IDE I'm currently working on.


tetris and helloworld now work. example1 fails to build:
src/example1.d(69): Error: undefined identifier setTimer
src/example1.d(75): Error: undefined identifier cancelTimer


Checked on latest version from git - example1 works for me.
Did you try to pull recent changes from git?


All working for me now.

A few points:
As I mentioned about dlangide, the font scaling is nasty.
The Window menu name overflows and is clipped.
Are the draggable dividers in the Buttons tab supposed to be 
able to move? They don't seem to do anything.


Resizers in example1 are just for testing of mouse cursor change 
- not fully implemented.

You can see working resizers in dlangide so far.


Re: DlangUI

2015-01-28 Thread ketmar via Digitalmars-d-announce
On Wed, 28 Jan 2015 09:18:54 +, Vadim Lopatin wrote:

 P.S. I noticed that it *almost* builds with gdc, but fails on freetype.
 Have you been attempting to target gdc at all for those performance
 gains?
 It looks like derelict-ft issue.
 I've submitted issue #3 to derelict-ft on GitHub.
 gdc doesn't support @nogc attribute

it already does, it's just not publicly released yet, as Johannes wants 
to fix some ARM-related bugs and Iain wants to prepare some proper 
release statements. gdc is 2.066.1 now, with some features backported 
from 2.067. so i don't think that there is any sense in supporting 2.065 
branch.

signature.asc
Description: PGP signature


Re: This Week in D, Issue 3

2015-01-28 Thread via Digitalmars-d-announce
Did the link disappear from the rust forum? I'm having trouble 
finding anything but three topics there. Also lots of images are 
missing.


Re: This Week in D, Issue 3

2015-01-28 Thread via Digitalmars-d-announce
On Wednesday, 28 January 2015 at 18:17:39 UTC, Casper Færgemand 
wrote:
Did the link disappear from the rust forum? I'm having trouble 
finding anything but three topics there. Also lots of images 
are missing.


Yes, they have renamed it to internals.rust-lang.org

Probably so that discuss.rust-lang.org will be reserved for end 
users now that Rusties are pimping themselves for 1.0.0 release!


Will be interesting to see how it falls out. Go has really 
enjoyed accelerated growth in the eco system after going stable. 
I wonder if the same will happen for Rust.


(Go even have iOS and Android support now... Geez. Searching for 
http on github yields Go hits that is at 25% of Java. People 
seem to pick it up fast, it is easy to learn.)