[Lazarus] Patch for MK_ALT

2018-10-26 Thread AlexeyT via Lazarus
revised patch (ignore prev message about "Forms.pp function error"). Needs some testing on Carbon/Cocoa, because MK_ALT const is defined in Mac WS'es. -- Regards, Alexey Index: lcl/interfaces/carbon/carbonproc.pp === ---

[Lazarus] Forms.pp function error?

2018-10-26 Thread AlexeyT via Lazarus
As pointed by Dmitry B, and checked by myself in LCL, MK_ALT must be defined in LCLType.pp as $2000. For ex, this is sample from qtwidgets.pas:   if (ModifierState and MK_SHIFT) <> 0 then     Msg.State := [ssShift];   if (ModifierState and MK_CONTROL) <> 0 then     Msg.State := [ssCtrl] +

Re: [Lazarus] Micro optimization for LazUtils

2018-10-26 Thread Mattias Gaertner via Lazarus
On Fri, 26 Oct 2018 21:21:16 +0300 AlexeyT via Lazarus wrote: > added 2 inline's  + fixed for loop. Thanks. Applied. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Micro optimization for LazUtils

2018-10-26 Thread AlexeyT via Lazarus
added 2 inline's  + fixed for loop. -- Regards, Alexey Index: components/lazutils/fpcadds.pas === --- components/lazutils/fpcadds.pas (revision 59355) +++ components/lazutils/fpcadds.pas (working copy) @@ -25,24 +25,21 @@

Re: [Lazarus] Exception handling in Linux?

2018-10-26 Thread Santiago A. via Lazarus
El 25/10/18 a las 18:46, Bo Berglund via Lazarus escribió: I am working on a port of a Windows Win32 command line program (Delphi 2007) to Linux Ubuntu 18.04 64bit. I am almost done now and my tests show that the basic functionality works as intended. But I am not sure about the exception

Re: [Lazarus] Lazarus tooltips do not work properly in Indy10 on Unix

2018-10-26 Thread Juha Manninen via Lazarus
BTW, what you call a tooltip is actually an identifier completion window. A tooltip is just a hint window for a ToolButton or similar. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Lazarus tooltips do not work properly in Indy10 on Unix

2018-10-26 Thread Juha Manninen via Lazarus
If a syntax is accepted by FPC then it should be accepted also by CodeTools. Please open a bug report with a minimal example code. Do not include units from Indy. Just reduce the problematic line into its simplest form that triggers the bug. Juha --

[Lazarus] Lazarus tooltips do not work properly in Indy10 on Unix

2018-10-26 Thread Bo Berglund via Lazarus
I discovered a strange IDE issue concerning the tooltips in Lazarus when using TIdFTP objects from Indy10. I have made two installations of Lazarus 1.8.4 + FPC 3.0.4, one on Windows7 and one in IUbuntu 18.04. I am working on a project ported from Delphi 2007 which uses Indy10. So in both IDE:s I