Re: [Lazarus] Lazarus on Raspberry Pi 3

2017-02-28 Thread Bo Berglund via Lazarus
On Tue, 28 Feb 2017 23:06:33 +, Paulo Costa via Lazarus wrote: >On 28-Feb-17 22:53, Bo Berglund via Lazarus wrote: > >... > >>> I'm using Raspbian version 8.0 >>> Linux raspberrypi 4.4.38-v7+ >> >> What command(s) gives you this information? > >cat

Re: [Lazarus] Lazarus on Raspberry Pi 3

2017-02-28 Thread Paulo Costa via Lazarus
On 28-Feb-17 22:53, Bo Berglund via Lazarus wrote: ... I'm using Raspbian version 8.0 Linux raspberrypi 4.4.38-v7+ What command(s) gives you this information? cat /etc/debian_version "8.0" uname -a "Linux raspberrypi 4.4.38-v7+ ", plus other things. Paulo Costa --

Re: [Lazarus] Lazarus on Raspberry Pi 3

2017-02-28 Thread Bo Berglund via Lazarus
On Tue, 28 Feb 2017 16:34:45 +, Paulo Costa via Lazarus wrote: >I'm using Lazarus on a Raspberry Pi 3. >I have tested a few ways to get it working but the best one seems to be >Bo Berglund's script and starting compiler. (Thanks) > >I had just one problem with

Re: [Lazarus] $IF for Linux and FreeBSD platforms?

2017-02-28 Thread Sven Barth via Lazarus
Am 28.02.2017 20:37 schrieb "Lars via Lazarus" < lazarus@lists.lazarus-ide.org>: > > On 2017-02-16 05:35, Graeme Geldenhuys via Lazarus wrote: >> >> On 2017-02-16 11:18, Ondrej Pokorny via Lazarus wrote: >>> >>> Well, you mixed up DEFINED and DECLARED macros. >> >> > > Sorry newbie question

Re: [Lazarus] $IF for Linux and FreeBSD platforms?

2017-02-28 Thread Graeme Geldenhuys via Lazarus
On 2017-02-28 19:37, Lars via Lazarus wrote: > can someone explain why you would use "$IF defined" instead of $IFDEF... In that case a piece of code applied to both Linux and FreeBSD platforms. I didn't see the need to duplicate the code with IFDEF statements - thus making code management more

Re: [Lazarus] $IF for Linux and FreeBSD platforms?

2017-02-28 Thread Lars via Lazarus
On 2017-02-16 05:35, Graeme Geldenhuys via Lazarus wrote: On 2017-02-16 11:18, Ondrej Pokorny via Lazarus wrote: Well, you mixed up DEFINED and DECLARED macros. Sorry newbie question regarding these $IF directives: can someone explain why you would use "$IF defined" instead of $IFDEF...

Re: [Lazarus] GUI freeze under GTK2

2017-02-28 Thread denisgolovan via Lazarus
28.02.2017, 12:31, "Juha Manninen" : > I tested it and could not see any problems. Everything works as > before. However I don't know how to reproduce the original bug. > The removed line may be needed for old GTK2 versions or for GTK1. > The LCL-GTK2 binding code was

[Lazarus] Lazarus on Raspberry Pi 3

2017-02-28 Thread Paulo Costa via Lazarus
I'm using Lazarus on a Raspberry Pi 3. I have tested a few ways to get it working but the best one seems to be Bo Berglund's script and starting compiler. (Thanks) I had just one problem with it: an error would occur when the new fpc is being installed and I had to change line 150 from make

Re: [Lazarus] Generics diffence between Lazarus and Delphi Berlin

2017-02-28 Thread Sven Barth via Lazarus
Am 28.02.2017 09:37 schrieb "Andreas Frieß via Lazarus" < lazarus@lists.lazarus-ide.org>: > > I have found some interesting working Generics construct. I want to translate this code to Lazarus, but there are Generics often used. > In Delphi Berlin the following ist working, the inner array of

Re: [Lazarus] Animation library

2017-02-28 Thread Mattias Gaertner via Lazarus
On Tue, 28 Feb 2017 13:16:57 +0100 José Mejuto via Lazarus wrote: > El 27/02/2017 a las 23:49, Mattias Gaertner via Lazarus escribió: > > > Instead of Repaint it should use Invalidate. > > Hello, > > Invalidate queues a paint but repaint calls an inmediate

Re: [Lazarus] Animation library

2017-02-28 Thread José Mejuto via Lazarus
El 27/02/2017 a las 23:49, Mattias Gaertner via Lazarus escribió: Instead of Repaint it should use Invalidate. Hello, Invalidate queues a paint but repaint calls an inmediate repaint do not? In other words, in Windows world Invalidate uses PostMessage and Repaint uses SendMessage, or am I

Re: [Lazarus] Animation library

2017-02-28 Thread José Mejuto via Lazarus
El 27/02/2017 a las 22:52, Michael Van Canneyt via Lazarus escribió: published code its value is 1, but it should be 15, but in Windows difference between 15 and 1 is zero, in Linux you can set timers with 1 ms. precision which is terrible overkill). I put it on 30, but as with Graeme, the

[Lazarus] Jedi Code Formatter (JCF) issues

2017-02-28 Thread Graeme Geldenhuys via Lazarus
Hi, Is there an actual JCF (included with Lazarus) maintainer? I've recently been using it quite a bit and noticed a couple of problems. I'll obviously try and fix them myself (free time is very limited, but I'll try my best). The two most important ones for me: * Some code formatting is not