[Lazarus] Font errors in console output on OSX

2015-06-15 Thread Graeme Geldenhuys

Hi,

When I run a fleshly compiled program of mine from the OSX Terminal, I 
get a lot of font error lines like the following:


===
graemes-mbp:puntenboek graemeg$ ./puntenboek
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with 
result -8905
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with 
result -8905
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with 
result -8905
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with 
result -8905

...snip a lot...
===



Is this normal (something that can be ignored), or is there something 
wrong in the application, or in LCL-Carbon?


Regards,
 Graeme


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


Re: [Lazarus] IDE under OSX causes TDefaultComponentEditor error

2015-06-15 Thread Graeme Geldenhuys
On 2015-05-29 13:28, Dmitry Boyarintsev wrote:
 You probably need to Tools-Rescan FPC Source Directory?

Rather late than never... I forgot to reply. Your suggestion has worked
and event handlers can now be created in Lazarus again. Cheers.

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] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Balazs Szekely
Hi,  Cannot reproduce(OSX 10.8.2, Lazarus trunk SVN: 1.5): 
https://youtu.be/zNT-dHOzalM
    

regards,Balázs

  From: Graeme Geldenhuys mailingli...@geldenhuys.co.uk
 To: lazarus@lists.lazarus.freepascal.org 
 Sent: Monday, June 15, 2015 3:25 PM
 Subject: [Lazarus] QuestionDlg block mouse and keyboard input under OSX
   
#yiv7948260297 .yiv7948260297sw_message 
P{margin:0px;padding:0px;}#yiv7948260297 .yiv7948260297sw_message 
{FONT-SIZE:12pt;FONT-FAMILY:Tahoma, Arial, Helvetica, 
sans-serif;background:white;}#yiv7948260297 .yiv7948260297sw_message 
blockquote{margin-left:5px;padding-left:5px;border-left:2px solid 
#144fae;color:#144fae;}#yiv7948260297 .yiv7948260297sw_message blockquote 
blockquote{border-left:2px solid #006312;color:#006312;}#yiv7948260297 
.yiv7948260297sw_message blockquote blockquote blockquote{border-left:2px solid 
#8e5656;color:#8e5656;}#yiv7948260297 .yiv7948260297sw_message blockquote 
blockquote blockquote blockquote{border-left:2px solid #888;color:#888;}Hi,

Attached is a very simple test project. It uses a QuestionDlg() in the form's 
OnShow (eg: to ask a user if they want online or offline access for the 
application). It was purposely added there to ask a question before the main 
form is shown. This LCL application works perfectly under Windows, Linux and 
FreeBSD. But it blocks mouse and keyboard input under OSX - so the user can't 
actually answer the question and get into the application! The only thing I can 
do is click the red x button in the dialog title area, but that is no real 
solution.

Is this a know issue under OSX? Anybody have a work-around?

ps:
Regarding the attached archive. I added the extra extension .removeme to 
overcome stupid spam/virus checks. Please remove the extra extension and unpack 
as normal.

Regards,
  Graeme

 
--
___
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] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 14:17, Dmitry Boyarintsev wrote:
 Please bug report. I'll take a look tonight.

Thanks.

  http://mantis.freepascal.org/view.php?id=28304


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] Font errors in console output on OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 14:52, Graeme Geldenhuys wrote:
  Carbon is deprecated, no actual interest in fixing the issue.
 Is the issue with Carbon or with LCL-Carbon?

Or is LCL-Qt a better option under OSX?

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] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 8:25 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:


 Is this a know issue under OSX? Anybody have a work-around?

 Please bug report. I'll take a look tonight.

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


Re: [Lazarus] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 14:13, Dmitry Boyarintsev wrote:
 It's better to report them, so the issue is not forgotten.

Ok, reported as follows:

  http://mantis.freepascal.org/view.php?id=28305

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] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:01 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 Are these considered bugs - if so I'll report them in Mantis. Or is it
 expected from the developer to find there own workable shortcuts on each
 platform, or disable standard shortcuts from the OS's desktop environment?


It's better to report them, so the issue is not forgotten.
These shortcuts were introduced at the time of 10.4 when it was not
overlapping with standard OSX environment.
Any new OSX shortcut introduced (in very next version of OSX) is
potentially causing a problem with Lazarus.

Overlapping within IDE shortcuts are introduced by the similar issue.
Each short-cut needs to be revised when adding to OSX, and since it's very
easy to match the existing one.

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


[Lazarus] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread Graeme Geldenhuys
Hi,

  Find Procedure Definition [Ctrl+Shift+Up]
  Find Prodecure Method [Ctrl+Shift+Down]

They conflict with standard OSX desktop shortcuts. The desktop shorcuts
take preference.

  Source Notebook commands/toggle breakpoint [Ctrl+P]
  Formatting/unknown editor command [Ctrl+P]

They conflict with each other.

This is all after a standard install on an OSX 10.9 system that never
had Lazarus before. I am using lazarus v1.4 release as downloaded from
SourceForge.

Are these considered bugs - if so I'll report them in Mantis. Or is it
expected from the developer to find there own workable shortcuts on each
platform, or disable standard shortcuts from the OS's desktop environment?


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] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 14:24, Dmitry Boyarintsev wrote:
 So what you can do. In the terminal do the following:
 cd project1.app/Contents/MacOS
 ./project1

Ah. Thank you very much for that info. It is working now. I'll try and
close/cancel the bug report. I'm very new to development under OSX - I
guess it shows. ;-)

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] Font errors in console output on OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 14:15, Dmitry Boyarintsev wrote:
 Carbon is deprecated, no actual interest in fixing the issue.

Is the issue with Carbon or with LCL-Carbon?

So am I supposed to use LCL-Cocoa instead? I thought the LCL-Cocoa
widgetset is still in heavy development stage and not ready for
production/commercial application usage.

My installed Lazarus IDE is built with LCL-carbon, and Carbon was the
default widgetset for a new LCL project.

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


[Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Graeme Geldenhuys

Hi,

Attached is a very simple test project. It uses a QuestionDlg() in the 
form's OnShow (eg: to ask a user if they want online or offline access 
for the application). It was purposely added there to ask a question 
before the main form is shown. This LCL application works perfectly 
under Windows, Linux and FreeBSD. But it blocks mouse and keyboard 
input under OSX - so the user can't actually answer the question and 
get into the application! The only thing I can do is click the red x 
button in the dialog title area, but that is no real solution.


Is this a know issue under OSX? Anybody have a work-around?

ps:
Regarding the attached archive. I added the extra extension 
.removeme to overcome stupid spam/virus checks. Please remove the 
extra extension and unpack as normal.


Regards,
 Graeme




lcl_questiondlg.tgz.RemoveMe
Description: Binary data
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Docked Form

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-14 00:07, Juha Manninen wrote:
 The PageControl may be easy to implement and would allow selecting the
 source editor / form designer with mouse, and also give visual hint

How is that going to look under OSX where tabs are very different (read
as butt ugly and rubbish) compared to other platforms?

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


[Lazarus] F1 for help doesn't work under OSX latest v1.4 release

2015-06-15 Thread Graeme Geldenhuys
Hi,

I have Lazarus v1.4 installed (downloaded release from SourceForge). I
place the edit cursor on QuestionDlg() in my source code and press F1. I
get the LHelp, but it has RTL (Runtime Library) highlighted after
LHelp opens.

Manually browsing LCL section of help doesn't have Dialogs unit listed
anywhere in the Contents treeview. I tried Routines by Unit, Classes
and Objects by Unit and Alphabetical Routines List. Nothing.

Index tab and typing QuestionDlg doesn't show anything either.

Search tab and typing QuestionDlg doesn't show anything.

Yet if I mouse over QuestionDlg() in the source code I see plenty of
help in the tooltip.

Now if I use DocView (and lcl.inf generated back in 2011) and I search
for QuestionDlg I instantly see the relevant help from the Dialogs unit.

I assume it is safe to say this a bug? If so, what do I file it under?
LHelp, IDE, Documentation, CHM?


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] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 13:58, Balazs Szekely wrote:
 Cannot reproduce(OSX 10.8.2, Lazarus trunk SVN: 1.5)

Thanks for trying. Here is my video showing the problem.

   http://youtu.be/Z_2KkQrpiXY

The odd characters that appear in the console window around 24seconds is
me trying to use the arrow keys or TAB and ENTER key to click a button.

My last resort was to click the red x button.

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] Font errors in console output on OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 6:55 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:


 Is this normal (something that can be ignored), or is there something
 wrong in the application, or in LCL-Carbon?

 Ignore it. Though you can create a bug report about it.

Carbon is deprecated, no actual interest in fixing the issue.
Btw, ATSU APIs has been deprecated since OSX 10.5, and there's no good
replacement API for it.

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


Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:17 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 Thanks for trying. Here is my video showing the problem.

 No, sir, this is not an issue! Please don't bug report.
That's OSX feature.

You're trying to launch GUI application not from a bundle. OSX considers
the application as command-line utility and passes all user input to the
console, rather than GUI.

OSX is using bundles to organize GUI application files. Bundles are shown
as a single file in the file system (for non-advanced users), but instead
this is a directory with a very strict structure and some extra files in it
(including the executable file).

So what you can do. In the terminal do the following:
cd project1.app/Contents/MacOS
./project1


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


Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:52 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 On 2015-06-15 14:15, Dmitry Boyarintsev wrote:
  Carbon is deprecated, no actual interest in fixing the issue.

 Is the issue with Carbon or with LCL-Carbon?


It's LCL-Carbon issue.

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


Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread zeljko

On 06/15/2015 03:56 PM, Graeme Geldenhuys wrote:

On 2015-06-15 14:52, Graeme Geldenhuys wrote:

Carbon is deprecated, no actual interest in fixing the issue.

Is the issue with Carbon or with LCL-Carbon?


Or is LCL-Qt a better option under OSX?


I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database 
related) appshaven't spotted problems. Be aware of 64bit QtLCL (Qt 
Cocoa 64bit) because of Qt bugs with modal windows.


zeljko


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


Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread zeljko

On 06/15/2015 05:04 PM, Graeme Geldenhuys wrote:

On 2015-06-15 15:44, zeljko wrote:

I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database
related) appshaven't spotted problems.


Good to know, thanks. For now I'll stick to LCL-Carbon, seeing that
Lazarus IDE uses it too, and it is still the default for OSX. If I find
too many problems, I'll start investigating the alternatives.


I'm using QtLCL lazarus build on mac (less bugs than with LCLCarbon and 
much more stuff implemented).




Out of interest, does LCL-Qt run on Linux, FreeBSD, Windows and OSX
equally well? That might be an option too, to overcome the many LCL
inconsistencies between platforms.


Don't know for FreeBSD (but probably works, just rebuild libQt4Pas on 
freebsd), but as I already spotted, my commercial apps running on all of 
them w/o problems (eg. ERP app, POS systems etc...), of course using 
QtLCL on all targets.


zeljko


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


Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 15:44, zeljko wrote:
 I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database 
 related) appshaven't spotted problems.

Good to know, thanks. For now I'll stick to LCL-Carbon, seeing that
Lazarus IDE uses it too, and it is still the default for OSX. If I find
too many problems, I'll start investigating the alternatives.

Out of interest, does LCL-Qt run on Linux, FreeBSD, Windows and OSX
equally well? That might be an option too, to overcome the many LCL
inconsistencies between platforms.

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] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread FreeMan

I'm using MacOSXApple scheme.  QT64 fpc  lazarus svn
has a much problem for shortcut. I reported and wrote in mail list. 
Example: while designing on form, can NOT move component via ctrl + 
arrow(s)  I found by coincidence cmd + ctrl + arrow(s) work.


another bug: http://bugs.freepascal.org/view.php?id=27782

for IDE main menu shortcuts, when click to other form of lazarus, source 
editor, object inspecter etc. you can see on osx taskbar, IDe main menu 
hide, and shortcuts not work.



Or is LCL-Qt a better option under OSX?

Regards,
   - Graeme -

not much different.


On 15.06.2015 16:01, Graeme Geldenhuys wrote:

Hi,

   Find Procedure Definition [Ctrl+Shift+Up]
   Find Prodecure Method [Ctrl+Shift+Down]

They conflict with standard OSX desktop shortcuts. The desktop shorcuts
take preference.

   Source Notebook commands/toggle breakpoint [Ctrl+P]
   Formatting/unknown editor command [Ctrl+P]

They conflict with each other.

This is all after a standard install on an OSX 10.9 system that never
had Lazarus before. I am using lazarus v1.4 release as downloaded from
SourceForge.

Are these considered bugs - if so I'll report them in Mantis. Or is it
expected from the developer to find there own workable shortcuts on each
platform, or disable standard shortcuts from the OS's desktop environment?


Regards,
   - Graeme -




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


Re: [Lazarus] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread FreeMan
Sorry, I forget my solution. What I need much importent short cuts, I 
added alternative shortcut form Tools - IDE options - Key Mappings. 
And don't forget grab key not working in normally in qt, Haveto add 
manually.(via checkboxs) and have to find not used combinations.


On 15.06.2015 17:25, FreeMan wrote:

I'm using MacOSXApple scheme.  QT64 fpc  lazarus svn
has a much problem for shortcut. I reported and wrote in mail list. 
Example: while designing on form, can NOT move component via ctrl + 
arrow(s)  I found by coincidence cmd + ctrl + arrow(s) work.


another bug: http://bugs.freepascal.org/view.php?id=27782

for IDE main menu shortcuts, when click to other form of lazarus, 
source editor, object inspecter etc. you can see on osx taskbar, IDe 
main menu hide, and shortcuts not work. 



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


Re: [Lazarus] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 15:33, FreeMan wrote:
 Sorry, I forget my solution. What I need much importent short cuts, I 
 added alternative shortcut form Tools - IDE options - Key Mappings. 

My solution... I wanted to keep my Lazarus shortcuts on my MacBook as
close as possible to my FreeBSD and Linux systems. So I disabled many of
the OSX shortcuts in System Preferences - Keyboard - Shortcuts.
Hopefully those are only disabled in my profile, otherwise I'll hear it
pretty soon from the wife. :)

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] Font errors in console output on OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:56 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 Or is LCL-Qt a better option under OSX?

 You can (should) definitely try LCL-Qt.
LCL-Cocoa is the best option, but it will require lots of patience and bug
reporting.

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


Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 15:20, Dmitry Boyarintsev wrote:
 The next big thing for a new OSX developer is to get debugger working:

Up to now, I've been debugging (on OSX) with tiOPF logging units. I've
actually just finished following all those instructions (homebrew, code
signing etc). Everything seems to have gone smoothly (I got all the same
output as the wiki) and I can now run applications via Lazarus IDE.

Unfortunately breakpoints don't seem to work at all. :-/ I'll try for a
little while longer, otherwise I'll switch back to tiOPF's logging units.

Double unfortunately, using Lazarus's Debug Output window is totally
useless too, because starting my application generates what seem like
100-200k lines (probably exaggerated a bit) of output. The other problem
is as soon as I scroll that window contents it all renders corrupted
text (multiple lines seems painted over each other).

So far developing for OSX is a real pain. It makes Linux or FreeBSD look
like a walk in the park.

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] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:35 AM, Graeme Geldenhuys 
mailingli...@geldenhuys.co.uk wrote:

 Ah. Thank you very much for that info. It is working now. I'll try and
 close/cancel the bug report. I'm very new to development under OSX - I
 guess it shows. ;-)

 The next big thing for a new OSX developer is to get debugger working:

http://wiki.freepascal.org/GDB_on_OS_X_Mavericks_and_Xcode_5

Lots of forum threads about the issue as well.

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


Re: [Lazarus] I have some custom components, can I convert Delphi - Lazarus?

2015-06-15 Thread Graeme Geldenhuys
On 2015-06-15 07:21, Bo Berglund wrote:
 I have now read a good many wiki
 and other pages and it seems like I will have problems getting started
 because of the following component related issues:

It seems a lot of that wiki text is out of date too. ;-)  So it is good
you rather ask here or in the Lazarus Forums.

 Sentinel Superpro software protection dongle. It is mostly my own code
 but it uses pas and an obj file supplied from Safenet. If Lazarus does
 not work with this obj file then I would be dead in the water...

Leledumbo already answered that.

If you could consider alternatives, then you could take a look at the
FPC port of Turbo Power's OnGuard. I've been using this for years in a
commercial environment creating trial versions, leased software etc. My
port is available on Github [https://github.com/graemeg/onguard], but I
believe another port is floating around somewhere too.

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


[Lazarus] I have some custom components, can I convert Delphi - Lazarus?

2015-06-15 Thread Bo Berglund
I am investigating if I will have any chance to switch to Lazarus/FPC
from Delphi with our code projects. I have now read a good many wiki
and other pages and it seems like I will have problems getting started
because of the following component related issues:

1) We have created a number of non-visual components that are dropped
on the forms to supply various kinds of functionality. Some of these
are handlers for language dependent texts, software protection
dongles, communications interfaces like RS232 serial components,
logging functions etc.
Seems like non-visual components are not handled by Lazarus according
to wiki texts I have read.

2) We also created children of a few VCL components to enhance their
use, like the TListView which Delphi defaults to states we never use.
So we made a TEasyListView child where we add some properties and set
the defaults of others differently. THis is used in a large number of
forms...

3) We created a custom component package, which we always install into
any new Delphi installation before we go to load the projects. It
seems like component packages do not exist in Lazarus...

4) We use several open source component packages as well:
- Indy 10
- Asynch Pro
- GLScene (an older version 0.8.x is needed)
How can we handle this? Especially the GLScene one would be a killer
if not possible to use in Lazarus at level 0.8.x. When GLScene went
from 0.8 to 1.0 they removed a very important property of the viewer,
which I never could repair. So I had to stick with 0.8.2.

5) We use some VCL features which according to wiki pages I have read
are not supported in Lazarus, like TSplitter (used in many forms).
(http://wiki.freepascal.org/Lazarus_For_Delphi_Users)

6) An important non-visual component on almost all of our applications
is a handler I wrote a long time ago (about 2000) for the Safenet
Sentinel Superpro software protection dongle. It is mostly my own code
but it uses pas and an obj file supplied from Safenet. If Lazarus does
not work with this obj file then I would be dead in the water...
How can I find out?


-- 
Bo Berglund
Developer in Sweden


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


Re: [Lazarus] I have some custom components, can I convert Delphi - Lazarus?

2015-06-15 Thread leledumbo
 Seems like non-visual components are not handled by Lazarus according to
wiki texts I have read. 

Then how we can use T[mention a dbms here]? Dialogs? Action list? Logger?
Indy? etc. All of them are non-visual.

 How can we handle this?

Indy 10 - already supported
TurboPower Async Pro - feel free to port
GLScene - they're moving forward, so are we. If you need to stick with old
version that no longer works, I'm afraid you're alone to make the package
work with current Lazarus version.

 We use some VCL features which according to wiki pages I have read are not
 supported in Lazarus, like TSplitter

It was, but for a long time both TSplitter and TPairSplitter have been
existed until now. Both seem to work fine although I prefer TPairSplitter
(I've ported a Delphi project which uses TSplitter).

 How can I find out? 

Free Pascal deals with COFF object files. If those object files from your
vendor are not in this format, then you can't use it. Ensure what the object
files format is first, then consult back here. You can try linking the
object files, if the linker refuses, then you know the conclusion.



--
View this message in context: 
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-I-have-some-custom-components-can-I-convert-Delphi-Lazarus-tp4042624p4042625.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.

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