[Lazarus] Problem with Lazarus menu

2010-10-26 Thread Дмитрий Курашкин
Hi to all! I installed a component which add a menu item to Lazarus main menu ('leakview' from lazarus/components/leakview). This component must add menu item named 'Leak view'. But Lazarus hasn't this menu item after installation. Also all similar components can't add their menu items. What's

[Lazarus] TControl.InvalidatePreferredSize loop detected

2010-10-26 Thread John
Can anyone enlighten me as to the likely cause(es) of a "TControl.InvalidatePreferredSize loop detected" exception, and how one may debug it ? It is occurring in a frame, if that is significant, and it is the frame that is specified in the exception. Looking at

[Lazarus] Compiling a package via make - Makefile.compiled

2010-10-26 Thread Mattias Gaertner
Hi all, When the IDE creates a Makefile for a package it will now create a new file Makefile.compiled, which needs to be added to the version control system. See http://wiki.lazarus.freepascal.org/Lazarus_Packages#Compiling_a_package_via_make Mattias --

Re: [Lazarus] Release schedule and policy

2010-10-26 Thread Alexander Klenin
On Tue, Oct 26, 2010 at 04:01, Florian Klämpfl flor...@freepascal.org wrote: Even worse, tbs tests check only that the compilation succeeds, not caring if it produces correct result. Maybe you should really run a grep -i halt in the tbs dir and think and conclude and stop spreading FUD. My

Re: [Lazarus] TControl.InvalidatePreferredSize loop detected

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 17:17:00 +1100 John jszc...@netspace.net.au wrote: Can anyone enlighten me as to the likely cause(es) of a TControl.InvalidatePreferredSize loop detected exception, and how one may debug it ? It is occurring in a frame, if that is significant, and it is the frame that

Re: [Lazarus] Problem with Lazarus menu

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 10:13:41 +0400 Дмитрий Курашкин dkurash...@gmail.com wrote: Hi to all! I installed a component which add a menu item to Lazarus main menu ('leakview' from lazarus/components/leakview). This component must add menu item named 'Leak view'. Yes, under Tools. But Lazarus

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Mon, 25 Oct 2010 23:51:28 +0200 Bernd prof7...@googlemail.com wrote: 2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * sets of compiler options - called Build modes, Can these also be selected with lazbuild from the command line? Now it can. --build-mode=name Mattias --

Re: [Lazarus] Problem with Lazarus menu

2010-10-26 Thread Дмитрий Курашкин
2010/10/26 Mattias Gaertner nc-gaert...@netcologne.de On Tue, 26 Oct 2010 10:13:41 +0400 Дмитрий Курашкин dkurash...@gmail.com wrote: Hi to all! I installed a component which add a menu item to Lazarus main menu ('leakview' from lazarus/components/leakview). This component must add

[Lazarus] AV on Lazarus startup

2010-10-26 Thread Darius Blaszyk
I get the following AV introduced by rev 27870. Lazarus 0.9.29 r27869M FPC 2.4.0 i386-linux-gtk 2 (beta) Darius (lazarus:3469): GdkPixbuf-CRITICAL **: gdk_pixbuf_new_subpixbuf: assertion `src_x = 0 src_x + width = src_pixbuf-width' failed (lazarus:3469): GdkPixbuf-CRITICAL **:

Re: [Lazarus] Indy with Lazarus, what is the latest state?

2010-10-26 Thread Marco van de Voort
On Mon, Oct 25, 2010 at 11:01:19PM +0200, Thierry B. wrote: Where is the Indy 9 for freepascal/lazarus ? There isn't one. Indy 9 never supported FPC. This is wrong. There is a port that did support Windows. I never bothered with Linux (because the libc using Kylix port was on the way out

Re: [Lazarus] TControl.InvalidatePreferredSize loop detected

2010-10-26 Thread John
On 26/10/2010 6:59 PM, Mattias Gaertner wrote: On Tue, 26 Oct 2010 17:17:00 +1100 Johnjszc...@netspace.net.au wrote: Can anyone enlighten me as to the likely cause(es) of a TControl.InvalidatePreferredSize loop detected exception, and how one may debug it ? It is occurring in a frame, if

Re: [Lazarus] TControl.InvalidatePreferredSize loop detected

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 20:52:13 +1100 John jszc...@netspace.net.au wrote: On 26/10/2010 6:59 PM, Mattias Gaertner wrote: On Tue, 26 Oct 2010 17:17:00 +1100 Johnjszc...@netspace.net.au wrote: Can anyone enlighten me as to the likely cause(es) of a TControl.InvalidatePreferredSize loop

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Felipe Monteiro de Carvalho
I haven't had yet an opportunity to test the build modes, but congratulations and thank you very much =) Now I can say that Lazarus is trully the best IDE =) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list

Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread zeljko
On Tuesday 26 October 2010 11:20, Darius Blaszyk wrote: I get the following AV introduced by rev 27870. Are you sure that 27870 introduced such bug ? As I can see your version is 27869 ?!? Lazarus 0.9.29 r27869M FPC 2.4.0 i386-linux-gtk 2 (beta) zeljko --

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Graeme Geldenhuys
Op 2010-10-26 12:55, Felipe Monteiro de Carvalho het geskryf: Now I can say that Lazarus is trully the best IDE =) ...as long as you don't try and debug your source code with it. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread Darius Blaszyk
I'm sure. I'm now at rev 27869, because that didn't give me the AV. Updating to 27870 gave me the AV which I mentioned. Darius On Tue, 2010-10-26 at 13:04 +0200, zeljko wrote: On Tuesday 26 October 2010 11:20, Darius Blaszyk wrote: I get the following AV introduced by rev 27870. Are you

Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread zeljko
On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote: I'm sure. I'm now at rev 27869, because that didn't give me the AV. Updating to 27870 gave me the AV which I mentioned. Sorry, you're right. Seem that Types.IntersectRect() returns wrong result but, independent test says that it's ok ...

Re: [Lazarus] TListView compatibility Delphi = Lazarus?

2010-10-26 Thread Bernd
2010/10/25 Bo Berglund bo.bergl...@gmail.com: On Mon, 18 Oct 2010 14:32:59 +0200, Bernd Kreuss prof7...@googlemail.com wrote: I had hoped SVN could work on port 80 since it uses http style locators, but apparently it does not work that way. Then all you can do is download the

Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread zeljko
On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote: I'm sure. I'm now at rev 27869, because that didn't give me the AV. Updating to 27870 gave me the AV which I mentioned. Fixed in r 27879 -- ___ Lazarus mailing list

[Lazarus] easydockmgrdsgn package fails to compile

2010-10-26 Thread Vincent Snijders
Hi, I got the errors on the lazarus test suite down to one, only the easydockmgrdsgn package fails to compile. How can this be fixed? Free Pascal Compiler version 2.5.1 [2010/10/18] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Win32 for i386 Compiling easydockmgrdsgn.pas

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread patspiper
On 10/26/2010 02:41 PM, Graeme Geldenhuys wrote: Op 2010-10-26 12:55, Felipe Monteiro de Carvalho het geskryf: Now I can say that Lazarus is trully the best IDE =) ..as long as you don't try and debug your source code with it. ;-) Regards, - Graeme - Even though debugging

Re: [Lazarus] AV on Lazarus startup

2010-10-26 Thread Darius Blaszyk
On Tue, 2010-10-26 at 13:58 +0200, zeljko wrote: On Tuesday 26 October 2010 13:35, Darius Blaszyk wrote: I'm sure. I'm now at rev 27869, because that didn't give me the AV. Updating to 27870 gave me the AV which I mentioned. Fixed in r 27879 Indeed. Thanks for that. Darius --

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Bernd
2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * sets of compiler options - called Build modes, Feature suggestion: from the menu some clever way to quickly select the curently active build mode without opening the options dialog. Or maybe even something with sub menus like run -

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 16:05:22 +0300 patspiper patspi...@yahoo.com wrote: [...] Can a part of the build modes be outside the project options, or have a default starting set? (Such as having a build mode for each required target without adding these to each and every project) I have not tried,

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread Mattias Gaertner
On Tue, 26 Oct 2010 17:14:09 +0200 Bernd prof7...@googlemail.com wrote: 2010/10/24 Mattias Gaertner nc-gaert...@netcologne.de: * sets of compiler options - called Build modes, Feature suggestion: [...] and/or the toolbar button with a dropdown (I think there is something similar in

Re: [Lazarus] Indy with Lazarus, what is the latest state?

2010-10-26 Thread Bo Berglund
On Tue, 26 Oct 2010 15:55:02 +0200, Marco van de Voort mar...@stack.nl wrote: On Tue, Oct 26, 2010 at 02:43:41PM +0200, Vincent Snijders wrote: I am mostly interested in Lazarus for cross-platform use so if it is only possible to use Indy10 with Lazarus/fpc on Windows then I am out of luck

Re: [Lazarus] Build modes, macros and conditionals

2010-10-26 Thread patspiper
On 10/26/2010 06:58 PM, Mattias Gaertner wrote: On Tue, 26 Oct 2010 16:05:22 +0300 patspiperpatspi...@yahoo.com wrote: [...] Can a part of the build modes be outside the project options, or have a default starting set? (Such as having a build mode for each required target without adding

Re: [Lazarus] Indy with Lazarus, what is the latest state?

2010-10-26 Thread Thierry B.
Le 26/10/2010 14:43, Vincent Snijders a écrit : I am mostly interested in Lazarus for cross-platform use so if it is only possible to use Indy10 with Lazarus/fpc on Windows then I am out of luck here... :-( Please read Marco message carefully, I read it as: Indy 9 is for

[Lazarus] compile sqldblaz.lpk for add component palette

2010-10-26 Thread ugaciaka
I want add in palette components component for database: /usr/lib/lazarus/components/sqldb/sqldblaz.lpk but I Wheh compiled this from lazarus: Unable to find the unit of component class TSQLQUERY However I did not understand, you should rebuild lazarus for add a component palette? but if I

Re: [Lazarus] Indy with Lazarus, what is the latest state?

2010-10-26 Thread Sven Barth
On 26.10.2010 17:59, Bo Berglund wrote: BTW: Is there a way to get the Indy10 files in Linux format? There are different line endings in Linux than what is in the Fulgan zip file which is Windows line endings, I believe). I assume that you have to have Linux line endings in order to make it work