Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread silvioprog
On Mon, Jan 25, 2016 at 8:54 AM, Jy V wrote: > On Mon, Jan 25, 2016 at 4:59 AM, silvioprog wrote: > >> >> Yes, it can be easily implemented in TP comps. ASA nghttp2 get a pascal >> header, BTW with a ng header in hands, you can use this one with any

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread silvioprog
Oops, On Mon, Jan 25, 2016 at 11:56 AM, silvioprog wrote: [...] > Just an example, the Embarcadero Delphi provides support for BJSON > I meant: "... provides support for BSON ..." .. so I don't see a problem > "... I don't have problem ..." Sorry. ^^' -- Silvio

Re: [Lazarus] How to change Class Completion for Setter methods

2016-01-25 Thread Graeme Geldenhuys
On 2016-01-25 15:19, Sven Barth wrote: > You are not the first who wants this ;) > http://bugs.freepascal.org/view.php?id=15922 :-) Thanks. Wow, that report is almost 6 years old and still not resolved. Regards, - Graeme - My public PGP key: http://tinyurl.com/graeme-pgp --

Re: [Lazarus] How to change Class Completion for Setter methods

2016-01-25 Thread Sven Barth
Am 25.01.2016 12:16 schrieb "Graeme Geldenhuys" < mailingli...@geldenhuys.co.uk>: > > Hi, > > When I do class completion in Lazarus for a property with a setter > method I get code as follows: > > > procedure TFPCustomMemo.SetAlignment(AValue: TAlignment); > begin > if FAlignment = AValue then

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 09:40 schreef Koenraad Lelong: First : I'm using pascalio, on a Pi2 model B. Just modified bcm2708.pas : GPIO_BASE = (BCM2708_PERI_BASE + $003F); // GPIO controller and mem_fd := FpOpen('/dev/gpiomem', O_RDWR OR O_SYNC); Now I can run my app as user 'pi'. Thanks.

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread Michael Van Canneyt
On Mon, 25 Jan 2016, silvioprog wrote: Many units in Free Pascal and Delphi uses C libraries... when aren't using a C library (an API system call, an third party library call, etc.), are using assembly, ie, mostly time Pascal is used as a high-level language to consume some low-level code

Re: [Lazarus] Package editor in Lazarus 1.6

2016-01-25 Thread Michael Van Canneyt
On Mon, 25 Jan 2016, Juha Manninen wrote: Forgot to write earlier... The package editor has been improved in RC2. See this + its related issues : http://bugs.freepascal.org/view.php?id=28097 The changes were partly inspired by ideas from Michael Van Canneyt and others. See this mail thread

[Lazarus] Bug 28281

2016-01-25 Thread Michael Van Canneyt
Hi, Any news on bug 29281 ? http://bugs.freepascal.org/view.php?id=28281 I can add the following extra info: if compilation fails, it quite often never detects this and fails to show the compiler error. I need to do a recompile, "abort" the previous build, and then it sometimes shows the

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Marc Santhoff
On Mo, 2016-01-25 at 08:33 +0100, Bo Berglund wrote: > On Mon, 25 Jan 2016 00:18:50 +0100, Marc Santhoff > wrote: > > >> For me it is like this: > >> pi@rpi2-jessie2:~/dev $ cat /etc/group | grep gpio > >> gpio:x:997:pi > > > >Thje last one wrong, should have been > > > >$ ls

[Lazarus] Package editor in Lazarus 1.6

2016-01-25 Thread Juha Manninen
Forgot to write earlier... The package editor has been improved in RC2. See this + its related issues : http://bugs.freepascal.org/view.php?id=28097 The changes were partly inspired by ideas from Michael Van Canneyt and others. See this mail thread :

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread Dmitry Boyarintsev
On Mon, Jan 25, 2016 at 3:08 PM, Michael Van Canneyt wrote: > On Mon, 25 Jan 2016, silvioprog wrote: > >> >> Many units in Free Pascal and Delphi uses C libraries... when aren't using >> a C library (an API system call, an third party library call, etc.), are >> using

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread silvioprog
On Mon, Jan 25, 2016 at 5:08 PM, Michael Van Canneyt wrote: > On Mon, 25 Jan 2016, silvioprog wrote: >> >> Many units in Free Pascal and Delphi uses C libraries... when aren't using >> a C library (an API system call, an third party library call, etc.), are >> using

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread Dmitry Boyarintsev
On Mon, Jan 25, 2016 at 5:02 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > With though it might be outdated ... > correction: * Even though it might be outdated ... thanks, Dmitry -- ___ Lazarus mailing list

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread silvioprog
On Mon, Jan 25, 2016 at 7:02 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Mon, Jan 25, 2016 at 3:08 PM, Michael Van Canneyt < > mich...@freepascal.org> wrote: > >> On Mon, 25 Jan 2016, silvioprog wrote: >> >>> >>> Many units in Free Pascal and Delphi uses C libraries... when

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 00:18 schreef Marc Santhoff: On Mo, 2016-01-25 at 00:11 +0100, Bo Berglund wrote: On Sun, 24 Jan 2016 21:42:06 +0100, Marc Santhoff wrote: My results : root@raspberrypi:/home/pi# grep gpio /etc/group gpio:x:997:pi root@raspberrypi:/home/pi# ls -lL

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 09:00 schreef Koenraad Lelong: Op 25-01-16 om 00:18 schreef Marc Santhoff: I'm going to try that patch of Bo. I'll report back. First : I'm using pascalio, on a Pi2 model B. Just modified bcm2708.pas : GPIO_BASE = (BCM2708_PERI_BASE + $003F); // GPIO controller and

Re: [Lazarus] Raspberry Pi Debug Digital I/O

2016-01-25 Thread Koenraad Lelong
Op 25-01-16 om 09:40 schreef Koenraad Lelong: According to Bo's post (http://lists.lazarus.freepascal.org/pipermail/lazarus/2015-October/094438.html) GPIO_BASE depends on where the app runs. I'm going to look for a way to detect which device the application runs on so I can automatically switch

Re: [Lazarus] technical knobs components

2016-01-25 Thread Graeme Geldenhuys
On 2016-01-24 14:38, Marc Santhoff wrote: > Yes, found it while browsing, and TDigitLed there, too: > > http://breakoutbox.de/pascal/pascal.html I've also created a 8x5 LED Matrix widget for fpGUI Toolkit, which can be easily ported to LCL. It supports custom colours and scrolling.

[Lazarus] How to change Class Completion for Setter methods

2016-01-25 Thread Graeme Geldenhuys
Hi, When I do class completion in Lazarus for a property with a setter method I get code as follows: procedure TFPCustomMemo.SetAlignment(AValue: TAlignment); begin if FAlignment = AValue then Exit; FAlignment := AValue; end; How, if at all, do I change that code formatting to his:

[Lazarus] Unexpected error from intfgraphics.pas when running GPIO test program

2016-01-25 Thread Bo Berglund
I have created a new Lazarus environment on a Raspberry Pi2B by starting from a new Raspbian Jessie image and installing FPC 3.0.0 and Lazarus 1.6RC2 from svn sources. I also installed Indy 10.6.2 into the IDE. All of that worked fine. Today I opened an old gpio test project, which worked fine in

Re: [Lazarus] Unexpected error from intfgraphics.pas when running GPIO test program

2016-01-25 Thread Bo Berglund
On Mon, 25 Jan 2016 12:26:03 +0100, Bo Berglund wrote: > >gpiotest >Bitmap with unknown compression (21060) >Press OK to ignore and risk data corruption >Press Cancel to kill the program > [Cancel] [OK]

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread Jy V
On Mon, Jan 25, 2016 at 4:59 AM, silvioprog wrote: > > Yes, it can be easily implemented in TP comps. ASA nghttp2 get a pascal > header, BTW with a ng header in hands, you can use this one with any pascal > code. :-) > Instead of relying on external libraries such as

[Lazarus] Fosdem'16

2016-01-25 Thread Jy V
Is there any FreePascal/Lazarus programmers/users heading to Fosdem this year ? if so, it would be nice we try to meetup at Delirium Friday evening or during the event on ULB site, in order to expose the current projects we are each other working on, Jyv. --