Re: [Lazarus] Qt WS on Raspberry pi 3

2018-05-02 Thread Mark Morgan Lloyd via Lazarus

On 02/05/18 15:15, Giuliano Colla via Lazarus wrote:

Hi all,
before starting from scratch, and falling in the same pitfalls someone 
else has already learned how to avoid, is there anyone who's already 
successfully managed to use the Qt WS on Rasbian for a Rapberry PI 3?

Thanks in advance for any hint.


When you say "WS" what specifically do you mean? I've run the Qt IDE and 
programs compiled for Qt on Raspbian on occasion, and apart from the 
usual problems of element spacing being slightly adrift etc. have had no 
significant issues that wouldn't be expected on a PC... noting obviously 
the current problems that somebody has with VNC, which I don't think is 
really a Raspbian issue.


Something like two or maybe three years ago I tried to graft KDE onto 
Raspbian and it wasn't entirely successful, but there were other factors 
involved (e.g. a 4K screen which was pushing the graphics capability at 
the time). Most of the time we run a hybrid of the Raspbian kernel and 
Debian apps etc., to a variety of 1080p and 4K screens.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-02 Thread Joe via Lazarus

Am 02.05.2018 um 13:56 schrieb Joe via Lazarus:
The same or a similar problem I see using Lazarus 1.6 under Ubuntu 
16.04 LTS, running X11 VNC Server 0.9.13-1.2build1. 


Under Ubuntu 18.04 LTS with Lazarus 1.8.2+dfsg-3 and FPC 3-04 the AltGr 
keystroke combinations work fine. Same VNC-Server and VNC-Viewer.

--  Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] About a warning of unused parameter.

2018-05-02 Thread Juha Manninen via Lazarus
On Wed, May 2, 2018 at 1:31 PM, Carlos E. R. via Lazarus
 wrote:
> Then I'll wait till that update reaches me :-)

svn up
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Qt WS on Raspberry pi 3

2018-05-02 Thread Giuliano Colla via Lazarus

Hi all,

before starting from scratch, and falling in the same pitfalls someone 
else has already learned how to avoid, is there anyone who's already 
successfully managed to use the Qt WS on Rasbian for a Rapberry PI 3?


Thanks in advance for any hint.

Giuliano


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Michael Ring via Lazarus
I guess you will have to install the german layout as this deadkey stuff 
is layout specific.


Fun fact is that you also cannot enter ^ with the Keyboard overview of 
MacOS, when I switch to US keyboard all is fine for me.


fyi, the '^' key is left of the '1' key on a german keyboard on Macbook Pro


Michael

Am 02.05.18 um 15:24 schrieb Dmitry Boyarintsev via Lazarus:
On Wed, May 2, 2018 at 9:09 AM, Michael Ring via Lazarus 
> 
wrote:


As it is a dead key you first press '^' on the keyboard and then
space. other example:  á is created by first pressing '´' and then 'a'

Do you know, if it's required to have German layout to be installed in 
the system.
IIRC (away from mac right now), "^" is entered by pressing Shift+6 on 
Mac (ansi keyboard with US keys layout) ...and it works.


What I'm thinking is that you're trying to enter the character in SynEdit.
and it might be that Cocoa doesn't report a certain key combinations 
properly.


I presume you didn't have this issue in Carbon, thus it's neither 
SynEdit bug nor macOS specific behavior, but rather LCLCocoa issue.


That's why I need to know keys combination in order to track the 
problem on my end.


thanks,
Dmitry




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Dmitry Boyarintsev via Lazarus
On Wed, May 2, 2018 at 9:09 AM, Michael Ring via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> As it is a dead key you first press '^' on the keyboard and then space.
> other example:  á is created by first pressing '´' and then 'a'
>
Do you know, if it's required to have German layout to be installed in the
system.
IIRC (away from mac right now), "^" is entered by pressing Shift+6 on Mac
(ansi keyboard with US keys layout) ...and it works.

What I'm thinking is that you're trying to enter the character in SynEdit.
and it might be that Cocoa doesn't report a certain key combinations
properly.

I presume you didn't have this issue in Carbon, thus it's neither SynEdit
bug nor macOS specific behavior, but rather LCLCocoa issue.

That's why I need to know keys combination in order to track the problem on
my end.

thanks,
Dmitry
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Changes to fpWeb...

2018-05-02 Thread Marcos Douglas B. Santos via Lazarus
On Wed, May 2, 2018 at 3:21 AM, Michael Van Canneyt via Lazarus
 wrote:
>
>
> On Tue, 1 May 2018, Marcos Douglas B. Santos via Lazarus wrote:
>
>>> but I would appreciate
>>> feedback if you have cases where your datamodules no longer behave as
>>> they
>>> used to (both with LegacyRouting=true or false)
>>>
>>> Some more improvements to fpweb are planned, but they will not be as
>>> invasive as this.
>>
>>
>>
>> Hello Michael,
>>
>> Is there a documentation link to explain all new features?
>> I'm gonna start a new web project and I would like to use them.
>
>
> I will see if I can put something in the wiki.
>
>>
>> What about the design packages for Lazarus?
>> The wizards continue creating Web Module based applications.
>
>
> A good point. I had not thought of this. I will put it on my todo list.

OK, thank you.

Marcos Douglas
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Michael Ring via Lazarus
As it is a dead key you first press '^' on the keyboard and then space. 
other example:  á is created by first pressing '´' and then 'a'


Michael

Am 02.05.18 um 12:12 schrieb Dmitry Boyarintsev via Lazarus:

What’s the keys combination to enter ‘^’?

Thanks,
Dmitry

On Wednesday, May 2, 2018, Michael Ring via Lazarus 
> 
wrote:


I yesterday tried again after a long time to build Lazarus with
Cocoa on my Mac, Lazarus is now perfectly useable for my needs and
as a bonus it seems a little faster than the Carbon version.

Great work!


The only issue I ran in is that I cannot enter '^'  from my german
keyboard and, as a fact, also other charaters composed with
deadkeys (accented keys) like á also do not work.


Any ideas on how to fix that?


Michael



-- 
___

Lazarus mailing list
Lazarus@lists.lazarus-ide.org 
https://lists.lazarus-ide.org/listinfo/lazarus






-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-02 Thread Joe via Lazarus


The same or a similar problem I see using Lazarus 1.6 under Ubuntu 16.04 
LTS, running X11 VNC Server 0.9.13-1.2build1.


I connected from a windows 10 computer with VNCViewer 6.1.0 from RealVNC 
to the Ubuntu machine, opened Lazarus and tried to insert a '[' char 
with AltGr+8 in the Lazarus code editor window. Alternately, no char or 
wrong chars were inserted. The same happened, when I tried to insert 
other AltGr combinations like { and ]. Country and keyboards settings on 
both machines: Germany.


Added a note to case 30544 in the Lazarus Bug Tracker.

-- Joe
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Lazarus still not usable with VNC under Raspbian

2018-05-02 Thread Joe via Lazarus
The same or a similar problem I see using Lazarus 1.6 under Ubuntu 16.04 
LTS, running X11 VNC Server 0.9.13-1.2build1.


I connected from a windows 10 computer with VNCViewer 6.1.0 from RealVNC 
to the Ubuntu machine, opened Lazarus and tried to insert a '[' char 
with AltGr+8 in the Lazarus code editor window. Alternately, no char or 
wrong chars were inserted. The same happened, when I tried to insert 
other AltGr combinations like { and ].


Added a note to case 30544 in the Lazarus Bug Tracker.

-- Joe
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] About a warning of unused parameter.

2018-05-02 Thread Mattias Gaertner via Lazarus
On Wed, 2 May 2018 12:31:15 +0200
"Carlos E. R. via Lazarus"  wrote:

>[...]
> Then I'll wait till that update reaches me :-)
> 
> I do not want to kill the warning for all files, only those I have reviewed.

Same here. That's why I often use the IDE directive.

Mattias
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] About a warning of unused parameter.

2018-05-02 Thread Carlos E. R. via Lazarus
On 2018-05-02 08:04, Mattias Gaertner via Lazarus wrote:
> On Wed, 2 May 2018 02:19:05 +0200 "Carlos E. R. via Lazarus" <> wrote:
> 
>> [...]
>> function TPINGSend.Checksum6(Value: AnsiString): Word;
>> begin
>>   Result := 0;
>> end;
> 
> You can:
> a) add a dummy statement: if Value='' then ;
> b) add an IDE directive: right click on this message in the Lazarus
> Messages window, Hide message by inserting IDE directive
> 
> Mattias> 
>> I see on the contextual menu of the warning that I can silence that
>> warning type on a file (all warnings of that type in that file, not just
>> the ones I know about):
>>
>> {$WARN 5024 off : Parameter "$1" not used}
>>
>> Lazarus writes "on"; tried both. Neither work, the warning still appears.
> 
> It should be "off". I fixed that in trunk.

Then I'll wait till that update reaches me :-)

I do not want to kill the warning for all files, only those I have reviewed.

-- 
Cheers / Saludos,

Carlos E. R.
(from 42.3 x86_64 "Malachite" at Telcontar)



signature.asc
Description: OpenPGP digital signature
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Dmitry Boyarintsev via Lazarus
What’s the keys combination to enter ‘^’?

Thanks,
Dmitry

On Wednesday, May 2, 2018, Michael Ring via Lazarus <
lazarus@lists.lazarus-ide.org> wrote:

> I yesterday tried again after a long time to build Lazarus with Cocoa on
> my Mac, Lazarus is now perfectly useable for my needs and as a bonus it
> seems a little faster than the Carbon version.
>
> Great work!
>
>
> The only issue I ran in is that I cannot enter '^'  from my german
> keyboard and, as a fact, also other charaters composed with deadkeys
> (accented keys) like á also do not work.
>
>
> Any ideas on how to fix that?
>
>
> Michael
>
>
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Cannot enter '^' in Lazarus trunk build macos/cocoa/x86_64

2018-05-02 Thread Michael Ring via Lazarus
I yesterday tried again after a long time to build Lazarus with Cocoa on 
my Mac, Lazarus is now perfectly useable for my needs and as a bonus it 
seems a little faster than the Carbon version.


Great work!


The only issue I ran in is that I cannot enter '^'  from my german 
keyboard and, as a fact, also other charaters composed with deadkeys 
(accented keys) like á also do not work.



Any ideas on how to fix that?


Michael



--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Clipboard method needed to clear cache

2018-05-02 Thread AlexeyT via Lazarus
LCL uses clipboard cache to support all clp formats on all OS, even if 
OS don't support some.


In *CudaLister plugin for Total Commander* [based on CudaText parts], I 
need method to clear this cache. Clipboard.Clear is not ok [i need 
contents of OS clp]. Method needed to solve this issue:


https://github.com/Alexey-T/CudaLister/issues/27 (english text also). I 
will call it before reading Clipboard.AsText.


--
Regards,
Alexey

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Changes to fpWeb...

2018-05-02 Thread Michael Van Canneyt via Lazarus



On Tue, 1 May 2018, Marcos Douglas B. Santos via Lazarus wrote:


but I would appreciate
feedback if you have cases where your datamodules no longer behave as they
used to (both with LegacyRouting=true or false)

Some more improvements to fpweb are planned, but they will not be as
invasive as this.



Hello Michael,

Is there a documentation link to explain all new features?
I'm gonna start a new web project and I would like to use them.


I will see if I can put something in the wiki.



What about the design packages for Lazarus?
The wizards continue creating Web Module based applications.


A good point. 
I had not thought of this. I will put it on my todo list.


Michael.
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] About a warning of unused parameter.

2018-05-02 Thread Mattias Gaertner via Lazarus
On Wed, 2 May 2018 02:19:05 +0200
"Carlos E. R. via Lazarus"  wrote:

>[...]
> function TPINGSend.Checksum6(Value: AnsiString): Word;
> begin
>   Result := 0;
> end;

You can:
a) add a dummy statement: if Value='' then ;
b) add an IDE directive: right click on this message in the Lazarus
Messages window, Hide message by inserting IDE directive

Mattias> 
> I see on the contextual menu of the warning that I can silence that
> warning type on a file (all warnings of that type in that file, not just
> the ones I know about):
> 
> {$WARN 5024 off : Parameter "$1" not used}
> 
> Lazarus writes "on"; tried both. Neither work, the warning still appears.

It should be "off". I fixed that in trunk.

Mattias
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus