[Lazarus] Beagle Bone

2013-06-17 Thread Michael Schnell
Hi ARM experts, Did anybody yet use Lazarus to do a project to be run on a BeagleBone ( http://beagleboard.org/Products/BeagleBone%20Black ) ? Either native, or cross ? I would like to do this. The project I have in mind does not need to have a GUI (nor any Android binding). Regarding

[Lazarus] SIGSEGV on lclrescache.pas

2013-06-17 Thread Dave Coventry
I have a unit in which I'm parsing a large text file. I have around 50 (or more!) IF statements as below: if Pos(' Center Point',OdReadstrings.Strings[i])0 then val+=',PT='+getParam(PChar(OdReadstrings.Strings[i])) else if Pos(' Custom Scale',OdReadstrings.Strings[i])0 then

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Michael Van Canneyt
On Mon, 17 Jun 2013, Michael Schnell wrote: Hi ARM experts, Did anybody yet use Lazarus to do a project to be run on a BeagleBone ( http://beagleboard.org/Products/BeagleBone%20Black ) ? Either native, or cross ? I would like to do this. The project I have in mind does not need to have a

Re: [Lazarus] SIGSEGV on lclrescache.pas

2013-06-17 Thread Dave Coventry
Appologies! Sent to the wrong list, dammit :blush: On 17 June 2013 12:17, Dave Coventry dgcoven...@gmail.com wrote: I have a unit in which I'm parsing a large text file. I have around 50 (or more!) IF statements as below: if Pos(' Center Point',OdReadstrings.Strings[i])0 then

Re: [Lazarus] SIGSEGV on lclrescache.pas

2013-06-17 Thread Mattias Gaertner
On Mon, 17 Jun 2013 12:17:58 +0200 Dave Coventry dgcoven...@gmail.com wrote: I have a unit in which I'm parsing a large text file. I have around 50 (or more!) IF statements as below: if Pos(' Center Point',OdReadstrings.Strings[i])0 then

Re: [Lazarus] SIGSEGV on lclrescache.pas

2013-06-17 Thread Dave Coventry
Ooops. No, it was the right list. The Postgres User's list is also called General, so I thought I'd confused the two. More embarrassment On 17 June 2013 12:35, Dave Coventry dgcoven...@gmail.com wrote: Appologies! Sent to the wrong list, dammit :blush: On 17 June 2013 12:17, Dave

Re: [Lazarus] Real Font Size

2013-06-17 Thread Mattias Gaertner
On Mon, 17 Jun 2013 07:49:59 +0200 zeljko zel...@holobit.net wrote: On 06/16/2013 05:03 PM, Vojtěch Čihák wrote: Hello, is there a cross-platform way how to obtain real font size ? Currently all components has default size 0. But in real numbers it is usually 9 ~ 12 - depends on system

Re: [Lazarus] SIGSEGV on lclrescache.pas

2013-06-17 Thread Dave Coventry
Thanks for the reply, Mattias. On 17 June 2013 12:35, Mattias Gaertner nc-gaert...@netcologne.de wrote: I see no relationship to your code. Probably it is a side effect of a destroyed heap. Why do you think that the the above Ifs causes lclrescache to crash? I can't either, but if I

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Michael Schnell
On 06/17/2013 12:33 PM, Michael Van Canneyt wrote: Well, lazarus runs without problems on a Raspberry Pi. What do you mean by runs on. As a native IDE with it's own local GUI ? That would be very slow (vs cross compiling) but supposedly usable. The next issues of Blaise Pascal will feature

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Marc Santhoff
Am Montag, den 17.06.2013, 12:33 +0200 schrieb Michael Van Canneyt: On Mon, 17 Jun 2013, Michael Schnell wrote: Hi ARM experts, Did anybody yet use Lazarus to do a project to be run on a BeagleBone ( http://beagleboard.org/Products/BeagleBone%20Black ) ? Either native, or cross ?

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Michael Van Canneyt
On Mon, 17 Jun 2013, Michael Schnell wrote: On 06/17/2013 12:33 PM, Michael Van Canneyt wrote: Well, lazarus runs without problems on a Raspberry Pi. What do you mean by runs on. As a native IDE with it's own local GUI ? That would be very slow (vs cross compiling) but supposedly usable.

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Michael Van Canneyt
On Mon, 17 Jun 2013, Marc Santhoff wrote: Am Montag, den 17.06.2013, 12:33 +0200 schrieb Michael Van Canneyt: On Mon, 17 Jun 2013, Michael Schnell wrote: Hi ARM experts, Did anybody yet use Lazarus to do a project to be run on a BeagleBone (

Re: [Lazarus] Real Font Size

2013-06-17 Thread Vojtěch Čihák
Thanks, I tried:   uses ... LCLIntf, LCLType;    var aLogFont: TLogFont; begin     LCLIntf.GetObject(Label1.Font.Reference.Handle, sizeof(TLogFont), @aLogFont);     WriteLn(aLogFont.lfHeight);      but it doesn't work (returns -1 on Qt and 0 on GTK). lfFaceName works well, returns correctly

Re: [Lazarus] Real Font Size

2013-06-17 Thread zeljko
On 06/17/2013 01:04 PM, Vojtěch Čihák wrote: Thanks, I tried: uses ... LCLIntf, LCLType; var aLogFont: TLogFont; begin LCLIntf.GetObject(Label1.Font.Reference.Handle, sizeof(TLogFont), @aLogFont); WriteLn(aLogFont.lfHeight); but it doesn't work (returns -1 on Qt and 0 on GTK).

Re: [Lazarus] Real Font Size

2013-06-17 Thread zeljko
On 06/17/2013 01:04 PM, Vojtěch Čihák wrote: Thanks, I tried: uses ... LCLIntf, LCLType; var aLogFont: TLogFont; begin LCLIntf.GetObject(Label1.Font.Reference.Handle, sizeof(TLogFont), @aLogFont); WriteLn(aLogFont.lfHeight); but it doesn't work (returns -1 on Qt and 0 on GTK).

Re: [Lazarus] 3rd party controls

2013-06-17 Thread zeljko
On 06/17/2013 02:09 PM, Timothy Groves wrote: Is there an online resource of 3rd-party controls for Lazarus? Google has let me down... lazarus-ccr ? http://sourceforge.net/projects/lazarus-ccr/files/?source=navbar -- ___ Lazarus mailing list

Re: [Lazarus] Real Font Size

2013-06-17 Thread Vojtěch Čihák
Thanks, I tested and closed. __ Od: zeljko zel...@holobit.net Komu: Vojtěch Čihák vojtech.ci...@atlas.cz Datum: 17.06.2013 13:35 Předmět: Re: [Lazarus] Real Font Size Qt is fixed and issue is resolved :) z. --

Re: [Lazarus] 3rd party controls

2013-06-17 Thread Marcos Douglas
2013/6/17 Timothy Groves the.tail.kin...@gmail.com: Is there an online resource of 3rd-party controls for Lazarus? Google has let me down... http://sourceforge.net/projects/lazarus-ccr/files/ Marcos Douglas -- ___ Lazarus mailing list

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Paul Breneman
Michael Schnell wrote: Hi ARM experts, Did anybody yet use Lazarus to do a project to be run on a BeagleBone ( http://beagleboard.org/Products/BeagleBone%20Black ) ? Either native, or cross ? I would like to do this. The project I have in mind does not need to have a GUI (nor any Android

Re: [Lazarus] 3rd party controls

2013-06-17 Thread Reinier Olislagers
On 17-6-2013 14:17, zeljko wrote: On 06/17/2013 02:09 PM, Timothy Groves wrote: Is there an online resource of 3rd-party controls for Lazarus? Google has let me down... lazarus-ccr ? http://sourceforge.net/projects/lazarus-ccr/files/?source=navbar Yes, and third-party components

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Michael Schnell
On 06/17/2013 02:33 PM, Paul Breneman wrote: If you want to test something I've tested the arm-linux native stuff here on the RPi so it should work on the BB: http://www.turbocontrol.com/easyfpgui.htm Thanks for this link. I understand that EasyfpGUI-fpc-2.6.2.arm-linux-050413.zip

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Lukasz Sokol
On 17/06/2013 14:12, Michael Schnell wrote: On 06/17/2013 02:33 PM, Paul Breneman wrote: If you want to test something I've tested the arm-linux native stuff here on the RPi so it should work on the BB: http://www.turbocontrol.com/easyfpgui.htm Thanks for this link. I understand

Re: [Lazarus] Beagle Bone [edit]

2013-06-17 Thread Lukasz Sokol
On 17/06/2013 14:12, Michael Schnell wrote: On 06/17/2013 02:33 PM, Paul Breneman wrote: If you want to test something I've tested the arm-linux native stuff here on the RPi so it should work on the BB: http://www.turbocontrol.com/easyfpgui.htm Thanks for this link. I understand

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Paul Breneman
Michael Schnell wrote: On 06/17/2013 02:33 PM, Paul Breneman wrote: If you want to test something I've tested the arm-linux native stuff here on the RPi so it should work on the BB: http://www.turbocontrol.com/easyfpgui.htm Thanks for this link. I understand that

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Mattias Gaertner
On Sat, 15 Jun 2013 13:46:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: What's the easiest way to implement something like xterm or konsole, that has minimal escape decoding for e.g. cursor control but under normal circumstances buffers output lines in scrollable form?

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Martin
On 17/06/2013 17:13, Mattias Gaertner wrote: On Sat, 15 Jun 2013 13:46:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: What's the easiest way to implement something like xterm or konsole, that has minimal escape decoding for e.g. cursor control but under normal circumstances

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Marc Santhoff
Am Montag, den 17.06.2013, 19:02 +0100 schrieb Martin: On 17/06/2013 17:13, Mattias Gaertner wrote: On Sat, 15 Jun 2013 13:46:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: What's the easiest way to implement something like xterm or konsole, that has minimal escape

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Den Jean
On Monday, June 17, 2013 11:16:19 AM Michael Schnell wrote: Did anybody yet use Lazarus to do a project to be run on a BeagleBone ( http://beagleboard.org/Products/BeagleBone%20Black ) ? Here is a demo of a LCL/Qt program running on the BeagleBone ( = predecessor of BeagleBone Black).

Re: [Lazarus] Beagle Bone

2013-06-17 Thread Marc Santhoff
Am Montag, den 17.06.2013, 21:05 +0200 schrieb Den Jean: On Monday, June 17, 2013 11:16:19 AM Michael Schnell wrote: Did anybody yet use Lazarus to do a project to be run on a BeagleBone ( http://beagleboard.org/Products/BeagleBone%20Black ) ? Here is a demo of a LCL/Qt program running on

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Mark Morgan Lloyd
Martin wrote: On 17/06/2013 17:13, Mattias Gaertner wrote: On Sat, 15 Jun 2013 13:46:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: What's the easiest way to implement something like xterm or konsole, that has minimal escape decoding for e.g. cursor control but under normal

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Martin
On 17/06/2013 22:23, Mark Morgan Lloyd wrote: I don't claim to have anything like the expertise to do all of the work (I've never tackled a component in either Delphi or Lazarus), but it might be worthwhile kicking ideas around. Almost everything I do ends up having at least one terminal

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Martin
On 17/06/2013 23:30, Martin wrote: From memory: I would (if I had time) start a new component, not inheriting, but starting on a copy of SynEdit Or even throwing out most of it, except Keeping - the textbuffer (keep bidi-view, but get rid of folding and trim space [those are wrappers around

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: On Sat, 15 Jun 2013 13:46:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: What's the easiest way to implement something like xterm or konsole, that has minimal escape decoding for e.g. cursor control but under normal circumstances buffers output