Re: [Lazarus] Mac retina pain

2015-05-29 Thread Graeme Geldenhuys
On 2015-02-05 23:13, Mattias Gaertner wrote:
 The trick is to close the program, then remove the
 following two lines from projectname.app/Contents/Info.plist:

Arg! It would have saved me so much time, if only I read the whole
message thread before trying all kinds of things. :) At least in the end
I found the same work-around as you.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread Graeme Geldenhuys
On 2015-02-06 08:14, Felipe Monteiro de Carvalho wrote:
 That's it, I already hate Tim Cook. Someone should resurrect Jobs.

I second that motion! :)  After all the frustrations we are having with
our Macbook Pro + Retina display, my wife refuses to upgrade her 2011
iMac! I don't blame her at all. OSX is getting worse and worse with
every release.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread Graeme Geldenhuys
On 2015-02-05 22:17, Mattias Gaertner wrote:
 Maybe a button can be added: 'I can live with that, shut up' to not
 ask every start.

Was that ever added post-v1.4? That nag screen is rather annoying at
every start.

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread Dmitry Boyarintsev
On Fri, May 29, 2015 at 11:17 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 eg: in Lazarus on OSX I
 pressed F12 to see the form designer, but OSX grabbed the shortcut and
 rather showed be the useless desktop widgets (clock, calendar etc)
 screen.

That's defaults hate. (an application is bad because its defaults are not
matching a users's preference)
OSX shortcuts can be configured. As well as Lazarus shortcuts can be
remapped to be more Nix/Win like.

Just spend some time to configure your environment!

thanks,
Dmitry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread FreeMan

On 29.05.2015 18:17, Graeme Geldenhuys wrote:
Their hardware build quality is brilliant on all there products. It's 
not just about the resolution though. Yes I absolutely love the 
crispness of hi-res displays, but I'm a creature of habit (aka old 
school), and just can't get the damn hang of OSX keyboard shortcuts, 
or their physical keyboard layout (no PgUp/PgDn, Home, End etc). Ok, 
ok, I do have a thing for keyboards too (I own a ton of them) - after 
all, the keyboard is my main input method for a computer. eg: in 
Lazarus on OSX I pressed F12 to see the form designer, but OSX grabbed 
the shortcut and rather showed be the useless desktop widgets (clock, 
calendar etc) screen. This is why I don't use Desktop Environments 
even under FreeBSD or Linux. Instead I use old school (again) Window 
Managers like JWM, so that nothing steels my keyboard shortcuts. ;-) 
Regards, - Graeme - 
I'm still not used to keyboards shortcuts, for example: I found new, 
move component via keyboard on form while designing, normally use ctrl 
and arrow keys, in qt osx have to use  cmd + ctrl arrows keys, cmd key 
and ctrl key mixed. For reseloution I'm using 21 monitor via hdmi cable 
:) and bluetooth keyboard and magic path.
I missed my desktop, kubuntu. 15.04 plasma 5 stable shared. I downloaded 
afew min. ago. Maybe this wekeend I'll re up my desktop.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread Graeme Geldenhuys
On 2015-05-29 16:02, Michael Van Canneyt wrote:
 Most software was simply not designed to run on such high resolutions.
 It will take some time for the programs to adapt.

Their hardware build quality is brilliant on all there products. It's
not just about the resolution though. Yes I absolutely love the
crispness of hi-res displays, but I'm a creature of habit (aka old
school), and just can't get the damn hang of OSX keyboard shortcuts, or
their physical keyboard layout (no PgUp/PgDn, Home, End etc). Ok, ok, I
do have a thing for keyboards too (I own a ton of them) - after all, the
keyboard is my main input method for a computer. eg: in Lazarus on OSX I
pressed F12 to see the form designer, but OSX grabbed the shortcut and
rather showed be the useless desktop widgets (clock, calendar etc)
screen. This is why I don't use Desktop Environments even under FreeBSD
or Linux. Instead I use old school (again) Window Managers like JWM, so
that nothing steels my keyboard shortcuts. ;-)

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread Graeme Geldenhuys
On 2015-05-29 16:26, Dmitry Boyarintsev wrote:
 Just spend some time to configure your environment!

I know both OSX and Lazarus allows for shortcut customisation. The
problem is (partly because I'm a Dvorak user), I have customised my
shortcuts in Lazarus IDE and my other tools (all under FreeBSD)
extensively. To try and duplicate that on Linux or OSX will take hours!
I just don't have that time, so I'll just complain and move on. ;-)

Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-05-29 Thread Michael Ring

The _real_ solution is also hidden in this thread:

Felipe found it, perhaps the fix never found it's way in the Lazarus 
Sourcecode:


With this search string: site:lists.apple.com/archives/carbon-dev retina 
Here is the magic! Commands in the terminal: Retinize!
defaults write lazarus.freepascal.ide AppleMagnifiedMode NO 

De-Retinize!
defaults write lazarus.freepascal.ide AppleMagnifiedMode YES 


Looks like that it can be fixed in code too:
http://sdg.mesonet.org/people/brad/XCode3/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset/Contents/Resources/Documents/#documentation/UserExperience/Conceptual/HiDPIOverview/HiDPIConcepts/HiDPIConcepts.html 



by specifying kWindowFrameworkScaledAttribute at window creation time.


Am 29.05.15 um 13:32 schrieb Graeme Geldenhuys:

On 2015-02-05 23:13, Mattias Gaertner wrote:

The trick is to close the program, then remove the
following two lines from projectname.app/Contents/Info.plist:

Arg! It would have saved me so much time, if only I read the whole
message thread before trying all kinds of things. :) At least in the end
I found the same work-around as you.

Regards,
   - Graeme -




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Felipe Monteiro de Carvalho
On Fri, Feb 6, 2015 at 8:41 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
 I tried googling but it didn't bring anything helfup... so far my only
 ways forward are:

Google *is* the master, you just have to use it right =D

With this search string: site:lists.apple.com/archives/carbon-dev retina

Here is the magic! Commands in the terminal:

Retinize!

 defaults write lazarus.freepascal.ide AppleMagnifiedMode NO

De-Retinize!

 defaults write lazarus.freepascal.ide AppleMagnifiedMode YES

Global Retinize! (all Carbon apps)!

 defaults write -g AppleMagnifiedMode NO

So should I implement running defaults write lazarus.freepascal.ide
AppleMagnifiedMode NO into startlazarus ?

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Felipe Monteiro de Carvalho
About the install_name_tool issue and reinstalling the OS:

http://forums.macrumors.com/showthread.php?t=1549618

lol! There is no offline OS reinstall out of the box ... (facepalm).
Even the recovery partition will download the OS. I guess the people
that invented this madness never lived in a country where internet is
slow/expensive like Brazil.

Someone figured out how to create their own USB installer, but it
requires first downloading the 5+GB installer from App Store:
http://www.fixedbyvonnie.com/2014/04/reinstall-mac-os-x-mavericks/

That's it, I already hate Tim Cook. Someone should resurrect Jobs.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Felipe Monteiro de Carvalho
I added kWindowFrameworkScaledAttribute to window creation in 47605,
and in a small test app I can see difference, it really works. I have
no idea why, but it doesn't work for the IDE to me =(

I guess we will need defaults write lazarus.freepascal.ide
AppleMagnifiedMode NO so that it will at least look good from the
second IDE start on (or does the bundle use startlazarus?)

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Graeme Geldenhuys
On 2015-02-05 21:33, Mattias Gaertner wrote:
  1 Lazarus renders really bad, pixelated, and Retinizer couldn't help
  it =( The main Lazarus window starts in a position too in the top of
  the screen and therefore under the menu bar.
 Please create a bug report for the position.
 

I remember reporting this too, so there might be a Mantis issue already
(not 100% sure).


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Felipe Monteiro de Carvalho
The author refuses to say how it works (good that I already found in
Google), but he proposed to add AppleMagnifiedMode = NO into
info.plist. No idea if it will work, I'll try when I'm back from work.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Felipe Monteiro de Carvalho
On Fri, Feb 6, 2015 at 9:33 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
 So should I implement running defaults write lazarus.freepascal.ide
 AppleMagnifiedMode NO into startlazarus ?

Looks like that it can be fixed in code too:

http://sdg.mesonet.org/people/brad/XCode3/Documentation/DocSets/com.apple.adc.documentation.AppleSnowLeopard.CoreReference.docset/Contents/Resources/Documents/#documentation/UserExperience/Conceptual/HiDPIOverview/HiDPIConcepts/HiDPIConcepts.html

by specifying kWindowFrameworkScaledAttribute at window creation time.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread Michael Ring

Done,

http://bugs.freepascal.org/view.php?id=27411

Thank you,

Michael

Am 06.02.15 um 14:00 schrieb FreeMan:

Yes Michael, you right.
Problem in source editor side, alt key not work, I mean not just 
that symbols, all alt key combinations not work. In object 
inspector, I wrote [a,b,c]{} and copy to clipboard and paste in source 
editor.

Did you create bug report? if not I'll create

--



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-06 Thread FreeMan


On 6.02.2015 00:04, Michael Ring wrote:
Antialiasing must be set to on, the fonts are not rendered in perfect 
resolution, but for me this is now good enough. You can also build 
Lazarus with QT-Widgetset, but then you loose []{} keys in Lazarus 
which is sometimes a little frustrating when you need an array ;-)

Yes Michael, you right.
Problem in source editor side, alt key not work, I mean not just that 
symbols, all alt key combinations not work. In object inspector, I 
wrote [a,b,c]{} and copy to clipboard and paste in source editor.

Did you create bug report? if not I'll create

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Felipe Monteiro de Carvalho
On Fri, Feb 6, 2015 at 8:04 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
 So excluding the possibility that Retinizer somehow register within
 Mac OS X itself (and therefore outside my lazarus dir) that this app
 should be rendering beaultifully, it really came down to the bloody
 flag...

Ok, I tested some more and Retinizer can make Lazarus look good / bad
without changing the flag ... so indeed I am lost here =) My theory
does not seam to be true, it looks like it registers with the OS
somehow ... =(

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Felipe Monteiro de Carvalho
My SVN says that after I removed NSHighResolutionCapable, Retinizer
didn't add it back ... wierd. Nothing else is shown changed by svn. I
see no new files ... crazy.

Ok, now I tried, and indeed Retinizer has zero magic in it =)

The solution was merely removing NSHighResolutionCapable ...

So I guess that some Mac OS X versions it will look good only when
NSHighResolutionCapable is ON, and in other ones (like mine) it will
look good only when NSHighResolutionCapable is deleted...

Retinizer clearly knows which ones.

Now I am doing make clean / make bigide to make sure Retinizer didn't
change my executable.

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Felipe Monteiro de Carvalho
On Thu, Feb 5, 2015 at 10:33 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 Please create a bug report for the position.

http://bugs.freepascal.org/view.php?id=27410

Can you reproduce? I can try to fix myself, if you point me to where
in the code the main IDE window is positioned at start...

 Normally the NSHighResolutionCapable in our Info.plist does the trick.
 For some it did not, but then Retinizer off, on did the trick.
 It sounds as if you have already tried that.

Aha! I didn't think of doing off / back on ... that indeed fixes it =)

I sent an e-mail to the author of Retinizer asking what his software
does, let's see if he answers.

 Couldn't they just not remove gdb??? Can't someone just send me the
 file?

 What file? /usr/local/bin/gdb?

No, /usr/bin/install_name_tool because then I could have homebrew
working which will probably be necessary for a lot more stuff in the
future than only gdb ;)

But it needs to be install_name_tool from Yosemite...

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread zeljko

On 02/05/2015 11:04 PM, Michael Ring wrote:

I have done a screencap of Lazarus running on my Retina Mac:

http://temp.michael-ring.org/Retina.jpg

When you display it in Preview in original size and then hit CMD '-'
three times then you see the resolution as I see it on my display.

Antialiasing must be set to on, the fonts are not rendered in perfect
resolution, but for me this is now good enough. You can also build
Lazarus with QT-Widgetset, but then you loose []{} keys in Lazarus which
is sometimes a little frustrating when you need an array ;-)


Pls. open an issue about it.

zeljko


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Felipe Monteiro de Carvalho
I tried googling but it didn't bring anything helfup... so far my only
ways forward are:

1 The author will be nice and tell us what to do (I will try Apple
mailling lists too if there is no answer in a few days)
or
2 Just gotta live with the Retinizer dependency until LCL-Cocoa is
ready for the IDE

-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Mac retina pain

2015-02-05 Thread Felipe Monteiro de Carvalho
Hello,

I've got a retina MacBook since a few days, but already there is quite
a lot of pain:

1 Lazarus renders really bad, pixelated, and Retinizer couldn't help
it =( The main Lazarus window starts in a position too in the top of
the screen and therefore under the menu bar. I couldn't find anything
so far in google which would indicate a solution to the pixelation
problem. I guess Apple went out of their way to screw Carbon apps in
Yosemite? Because a LCL-Cocoa app looks great ... well, I guess
LCL-Cocoa is a each time more pressing priority... but anyway, does
anyone know how to fix the existing Carbon Lazarus in retina? I need
to use the source editor =D

2 this second part will be just a rant, since I doubt anyone will
have a solution. OMG I have this computer since 2 days and already
there is so much pain getting gdb up and running =( homebrew won't
work because of a stupid wrong version of a 200kb install_name_tool
app, and their proposed solution is that I download more than 5GB and
reinstall the entire operating system just to get this *%$ bastard
200kb file fixed =( what is wrong with these people at Apple
Couldn't they just not remove gdb??? Can't someone just send me the
file?

Anyway, I guess I will have to reinstall everything from zero due to
this stupid file. (actually this will be really hard since I'm already
over my internet limit and using my phone's internet ... if the
notebook had a DVD drive and install DVD then I could reinstall from
the DVD, but I didn't think they would remove the DVD drive from their
main notebook) Or maybe just give up debugging in Mac OS X ... long
live WriteLn!!!

thanks,
-- 
Felipe Monteiro de Carvalho

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Dmitry Boyarintsev
On Thu, Feb 5, 2015 at 4:33 PM, Mattias Gaertner nc-gaert...@netcologne.de
wrote:

 On Thu, 5 Feb 2015 21:53:31 +0100
 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote:
 Or maybe just give up debugging in Mac OS X ... long
  live WriteLn!!!

 Go writeln, go!

The most annoying part is that Lazarus keeps bugging me on Start about
you'll have unpleasant experience, while no debugger is selected. Or was
it fixed, just to give the warning on the first start?

thanks,
Dmitry
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Mattias Gaertner
On Thu, 5 Feb 2015 21:53:31 +0100
Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote:

 Hello,
 
 I've got a retina MacBook since a few days, but already there is quite
 a lot of pain:
 
 1 Lazarus renders really bad, pixelated, and Retinizer couldn't help
 it =( The main Lazarus window starts in a position too in the top of
 the screen and therefore under the menu bar.

Please create a bug report for the position.

 I couldn't find anything
 so far in google which would indicate a solution to the pixelation
 problem. I guess Apple went out of their way to screw Carbon apps in
 Yosemite? Because a LCL-Cocoa app looks great ... well, I guess
 LCL-Cocoa is a each time more pressing priority... but anyway, does
 anyone know how to fix the existing Carbon Lazarus in retina? I need
 to use the source editor =D

My Lazarus with carbon is not pixelated on Yosemite, so there must be a
way.
Normally the NSHighResolutionCapable in our Info.plist does the trick.
For some it did not, but then Retinizer off, on did the trick.
It sounds as if you have already tried that.

 
 2 this second part will be just a rant, since I doubt anyone will
 have a solution. OMG I have this computer since 2 days and already
 there is so much pain getting gdb up and running =( homebrew won't
 work because of a stupid wrong version of a 200kb install_name_tool
 app, and their proposed solution is that I download more than 5GB and
 reinstall the entire operating system just to get this *%$ bastard
 200kb file fixed =( what is wrong with these people at Apple
 Couldn't they just not remove gdb??? Can't someone just send me the
 file?

What file? /usr/local/bin/gdb?

Two days ago there was an Apple Update, which made MS Silverlight
untrustworthy. Even the newest version. Apple seems to start wars with
all former partners.

 
 Anyway, I guess I will have to reinstall everything from zero due to
 this stupid file. (actually this will be really hard since I'm already
 over my internet limit and using my phone's internet ... if the
 notebook had a DVD drive and install DVD then I could reinstall from
 the DVD, but I didn't think they would remove the DVD drive from their
 main notebook) Or maybe just give up debugging in Mac OS X ... long
 live WriteLn!!!

Go writeln, go!

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Michael Ring
I envy you ;-)

What version of OSX do you use?

Von meinem iPhone gesendet

 Am 05.02.2015 um 23:25 schrieb Mattias Gaertner nc-gaert...@netcologne.de:
 
 On Thu, 05 Feb 2015 23:04:22 +0100
 Michael Ring m...@michael-ring.org wrote:
 
 I have done a screencap of Lazarus running on my Retina Mac:
 
 http://temp.michael-ring.org/Retina.jpg
 
 That does not look retinized.
 
 It should look like my attached screenshot.
 
 Mattias
 Screen Shot 2015-02-05 at 23.20.57.png
 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Michael Ring

I have done a screencap of Lazarus running on my Retina Mac:

http://temp.michael-ring.org/Retina.jpg

When you display it in Preview in original size and then hit CMD '-' 
three times then you see the resolution as I see it on my display.


Antialiasing must be set to on, the fonts are not rendered in perfect 
resolution, but for me this is now good enough. You can also build 
Lazarus with QT-Widgetset, but then you loose []{} keys in Lazarus which 
is sometimes a little frustrating when you need an array ;-)


I have uploaded the gdb from my machine here:

http://temp.michael-ring.org/gdb (5.1MB)

judging by the dependencys it has it should also wort on your MAC. BUT 
you first need to codesign it.


http://stackoverflow.com/questions/13913818/how-to-get-a-codesigned-gdb-on-osx

It is pretty straightforward to build gdb from source, the following 
libs/tools might be necessary (I have those installed with homebrew), 
but configure will tell you...


libtool pkg-config automake gettext readline gnu-getopt texi2html

Michael


Am 05.02.15 um 21:53 schrieb Felipe Monteiro de Carvalho:

Hello,

I've got a retina MacBook since a few days, but already there is quite
a lot of pain:

1 Lazarus renders really bad, pixelated, and Retinizer couldn't help
it =( The main Lazarus window starts in a position too in the top of
the screen and therefore under the menu bar. I couldn't find anything
so far in google which would indicate a solution to the pixelation
problem. I guess Apple went out of their way to screw Carbon apps in
Yosemite? Because a LCL-Cocoa app looks great ... well, I guess
LCL-Cocoa is a each time more pressing priority... but anyway, does
anyone know how to fix the existing Carbon Lazarus in retina? I need
to use the source editor =D

2 this second part will be just a rant, since I doubt anyone will
have a solution. OMG I have this computer since 2 days and already
there is so much pain getting gdb up and running =( homebrew won't
work because of a stupid wrong version of a 200kb install_name_tool
app, and their proposed solution is that I download more than 5GB and
reinstall the entire operating system just to get this *%$ bastard
200kb file fixed =( what is wrong with these people at Apple
Couldn't they just not remove gdb??? Can't someone just send me the
file?

Anyway, I guess I will have to reinstall everything from zero due to
this stupid file. (actually this will be really hard since I'm already
over my internet limit and using my phone's internet ... if the
notebook had a DVD drive and install DVD then I could reinstall from
the DVD, but I didn't think they would remove the DVD drive from their
main notebook) Or maybe just give up debugging in Mac OS X ... long
live WriteLn!!!

thanks,



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Mattias Gaertner
On Thu, 05 Feb 2015 23:04:22 +0100
Michael Ring m...@michael-ring.org wrote:

 I have done a screencap of Lazarus running on my Retina Mac:
 
 http://temp.michael-ring.org/Retina.jpg

That does not look retinized.

It should look like my attached screenshot.
 
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Mattias Gaertner
On Thu, 5 Feb 2015 16:41:34 -0500
Dmitry Boyarintsev skalogryz.li...@gmail.com wrote:

 On Thu, Feb 5, 2015 at 4:33 PM, Mattias Gaertner nc-gaert...@netcologne.de
 wrote:
 
  On Thu, 5 Feb 2015 21:53:31 +0100
  Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote:
  Or maybe just give up debugging in Mac OS X ... long
   live WriteLn!!!
 
  Go writeln, go!
 
 The most annoying part is that Lazarus keeps bugging me on Start about
 you'll have unpleasant experience, while no debugger is selected. Or was
 it fixed, just to give the warning on the first start?

It says:
'Without a proper debugger, debugging will be disappointing'

Maybe a button can be added: 'I can live with that, shut up' to not
ask every start.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Michael Ring

This trick also worked for me, great!!!

This is what Retinizer did to Info.plist, I am rebuilding Lazarus now to 
see if more files are changed by retinizer...



true/true/
   keyNSHighResolutionCapable/key
  true/
/dict/dict
/plist/plist

Michael

In Info.
Am 06.02.15 um 00:13 schrieb Mattias Gaertner:

On Thu, 5 Feb 2015 23:43:48 +0100
Michael Ring m...@michael-ring.org wrote:


I envy you ;-)

What version of OSX do you use?

10.10.
It looked like this on 10.8 too.

I just tried. The trick is to close the program, then remove the
following two lines from projectname.app/Contents/Info.plist:

  keyNSHighResolutionCapable/key
  true/

Then use Retinizer.

We have to find out what Retinizer does.

Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Mac retina pain

2015-02-05 Thread Mattias Gaertner
On Thu, 5 Feb 2015 23:43:48 +0100
Michael Ring m...@michael-ring.org wrote:

 I envy you ;-)
 
 What version of OSX do you use?

10.10.
It looked like this on 10.8 too.

I just tried. The trick is to close the program, then remove the
following two lines from projectname.app/Contents/Info.plist:

 keyNSHighResolutionCapable/key
 true/

Then use Retinizer.

We have to find out what Retinizer does.

Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus