Re: [Lazarus] Maybe a bug: click on TImage behind another control with SetShape

2014-11-22 Thread Fabio Luis Girardi
Here is it: http://bugs.freepascal.org/view.php?id=20381 2014-11-21 22:24 GMT-02:00 Fabio Luis Girardi fluisgira...@gmail.com: I found this bug on bug tracker. I followed your idea and send a patch that solves this. I'll try another approach tomorrow. Thank you very much! Em 21/11/2014

Re: [Lazarus] Maybe a bug: click on TImage behind another control with SetShape

2014-11-22 Thread Frederic Da Vitoria
I may be wrong, but this seems different from the problem you are describing: in the bugtracker issue, the click triggers the Form handler instead of being sent to a Control. In your problem, from your description, I thought the click triggered the polyline control while you would have wanted it

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 03:14:39 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: On Fri, Nov 21, 2014 at 10:33 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 21 Nov 2014 23:51:13 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: (...) Without the AVs you can see

[Lazarus] Need suggestion about html text in Hint window

2014-11-22 Thread FreeMan
Hello, How to show html text in TPopupNotifier component or THintwindow? Thank you. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Martin Frb
Why do you want to pass the record instead of the pointer? The pointer is valid during the entire call (inside Append). Append does not store the pointer, but a copy of the data. So this is save. Passing the pointer saves the need to pass the entire record by value (or in other word, to make

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 11:27:30 + Martin Frb laza...@mfriebe.de wrote: Why do you want to pass the record instead of the pointer? [...] The param could be const/constref instead of pointer. The patch passes the parameter as const. But as the argument is already pointer, why? Someone may be

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Martin Frb
On 22/11/2014 01:33, Mattias Gaertner wrote: On Fri, 21 Nov 2014 23:51:13 +0100 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 21 Nov 2014 16:31:26 +0100 Reimar Grabowski reimg...@web.de wrote: [...] Create new project - run - stop - AV. The Assembler window initialized only if it

Re: [Lazarus] Need suggestion about html text in Hint window

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 12:47:56 +0200 FreeMan freema...@delphiturkiye.com wrote: Hello, How to show html text in TPopupNotifier component or THintwindow? Create a THinWindow and insert a html control. Mattias -- ___ Lazarus mailing list

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread C Western
I have been switching back and forth between gdb and the new one - both have some issues. The one I noticed most recently with the new one is with a multi threaded application - a break set in the thread seem to cause the debugger to become lost. Is the debugger set up to cope in this

[Lazarus] Compilation of .../test/testresult-db/importtestresults.lpi

2014-11-22 Thread Mehmet Erol Sanliturk
Compilation of .../test/testresult-db/importtestresults.lpi is giving Error: Error while linking Error reason is as follows : /usr/bin/ld: warning: link.res contains output sections; did you forget -T? /usr/bin/ld: cannot find -lmysqlclient Error: Error while linking ERROR: failed

Re: [Lazarus] Maybe a bug: click on TImage behind another control with SetShape

2014-11-22 Thread Fabio Luis Girardi
I think that we aren't talking about the same thing. I think that a transparent control must retain clicks to another controls if it is uppermost and in front of these controls. I think that this is correct. Polyline is a different control. The area of line is the area of the control, other area

Re: [Lazarus] Maybe a bug: click on TImage behind another control with SetShape

2014-11-22 Thread Fabio Luis Girardi
The problem is the concept of transparent. 2014-11-22 10:40 GMT-02:00 Fabio Luis Girardi fluisgira...@gmail.com: I think that we aren't talking about the same thing. I think that a transparent control must retain clicks to another controls if it is uppermost and in front of these controls. I

Re: [Lazarus] Compilation of .../test/testresult-db/importtestresults.lpi

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 04:27:40 -0800 Mehmet Erol Sanliturk m.e.sanlit...@gmail.com wrote: [...] .../test/testresult-db/importtestresults.lpi [...] /usr/bin/ld: cannot find -lmysqlclient Error: Error while linking [...] Looks like by design to me. If you want to test the db stuff you have to

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Jürgen Hestermann
Am 2014-11-20 um 17:21 schrieb Mattias Gaertner: The development version of FPC 2.7.1 has extended Strings and many RTL functions now work for codepages other than the system codepage. 2. The new mode: The LCL, FCL and RTL treat all String as UTF-8 encoded. ... When accessing the WinAPI

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 14:37:00 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2014-11-20 um 17:21 schrieb Mattias Gaertner: The development version of FPC 2.7.1 has extended Strings and many RTL functions now work for codepages other than the system codepage. 2. The new

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Jürgen Hestermann
Am 2014-11-22 um 15:06 schrieb Mattias Gaertner: procedure TForm1.FormCreate(Sender: TObject); var s: string; // String = AnsiString because of $H+ begin s:=GetCommandLineW; // GetCommandLineW returns a UTF-16 PWideChar // the compiler adds code to convert this to the // default

Re: [Lazarus] TFMTBCDField problem

2014-11-22 Thread Chris Rempas
i just hope i did it correctly thanks for all the help :) On Friday, November 21, 2014 11:05 AM, Joost van der Sluis jo...@cnoc.nl wrote: On 11/18/2014 06:02 PM, Chris Rempas wrote: I guess i was wrong, the best solution is the first one, atr least in my tests can someone help me

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 16:18:09 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2014-11-22 um 15:06 schrieb Mattias Gaertner: procedure TForm1.FormCreate(Sender: TObject); var s: string; // String = AnsiString because of $H+ begin s:=GetCommandLineW; //

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Michael Van Canneyt
On Sat, 22 Nov 2014, Mattias Gaertner wrote: On Sat, 22 Nov 2014 16:18:09 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2014-11-22 um 15:06 schrieb Mattias Gaertner: procedure TForm1.FormCreate(Sender: TObject); var s: string; // String = AnsiString because of $H+ begin

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Marc Weustink
I've seen this for try...finally blocks when I implemented the initial debugger. It was to do with line info generated for these bloks Marc Original Message From:Mattias Gaertner nc-gaert...@netcologne.de Sent:Fri, 21 Nov 2014 16:23:54 +0100

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: // GetCommandLineW returns a UTF-16 PWideChar // the compiler adds code to convert this to the // default system codepage (CP_ACP = CP_UTF8) // the resulting string has StringCodePage CP_ACP // and is encoded in UTF-8. Does this mean that Lazarus (new mode)

Re: [Lazarus] OI Checkboxes

2014-11-22 Thread Juha Manninen
On Fri, Nov 21, 2014 at 4:31 PM, FreeMan freema...@delphiturkiye.com wrote: Thank you, uncommenting resolve my problem. Without those lines indeed Lazarus built with QT crashes when Color combobox list is opened. Why does it happen? I returned the code in r46966. Juha --

[Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-22 Thread waldo kitty
fpc trunk r29110 lazarus trunk r46966 vista 32-bit i just updated fpc trunk and lazarus trunk... fpc compiled ok... lazarus fails with lresources.pp(3089,67) Error: Identifier not found RT_RCDATA *** * TASK: build

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-22 Thread Joost van der Sluis
On 11/22/2014 08:30 PM, waldo kitty wrote: fpc trunk r29110 lazarus trunk r46966 vista 32-bit i just updated fpc trunk and lazarus trunk... fpc compiled ok... lazarus fails with lresources.pp(3089,67) Error: Identifier not found RT_RCDATA Add the windows-unit to the uses section of

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-22 Thread Bart
On 11/22/14, Joost van der Sluis jo...@cnoc.nl wrote: Add the windows-unit to the uses section of lresources as a quick fix. And what to do on non-windows systems? Maybe better copy the RT_RCDATA definition and ifdef it for 2.7.1? As a side note: FPResource := FindResource(HInstance,

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 17:18:35 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: // GetCommandLineW returns a UTF-16 PWideChar // the compiler adds code to convert this to the // default system codepage (CP_ACP = CP_UTF8) // the resulting string has

Re: [Lazarus] UTF8 RTL for Windows

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 17:38:33 +0100 (CET) Michael Van Canneyt mich...@freepascal.org wrote: [...] Yes, with the UTF8 RTL. The default RTL uses system codepage. Careful, there is no such thing as the UTF8 RTL. There is now a Unicode and CodePage-aware RTL. Well, yes, you are right of

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-22 Thread Mattias Gaertner
On Sat, 22 Nov 2014 23:27:30 +0100 Bart bartjun...@gmail.com wrote: On 11/22/14, Joost van der Sluis jo...@cnoc.nl wrote: Add the windows-unit to the uses section of lresources as a quick fix. Done. And what to do on non-windows systems? That compiles unchanged. Mattias --

Re: [Lazarus] lresources.pp(3089, 67) Error: Identifier not found RT_RCDATA

2014-11-22 Thread waldo kitty
On 11/22/2014 4:27 PM, Joost van der Sluis wrote: On 11/22/2014 08:30 PM, waldo kitty wrote: fpc trunk r29110 lazarus trunk r46966 vista 32-bit i just updated fpc trunk and lazarus trunk... fpc compiled ok... lazarus fails with lresources.pp(3089,67) Error: Identifier not found RT_RCDATA