Re: [Lazarus] Can't find lazreport when building lazarus ...

2012-03-29 Thread Mattias Gaertner
On Wed, 28 Mar 2012 22:43:49 -0300 William Oliveira Ferreira bdexterholl...@gmail.com wrote: i know that it's an old thread but i never understand wher i must set paths to build lazarus on linux. I've installed debian wheezy and performed a fresh install of the IDE and it runs fine, no

Re: [Lazarus] IDE Messages window uses much CPU when building a project on Win32

2012-03-29 Thread Alexander Klenin
On Thu, Mar 29, 2012 at 16:30, cobines cobi...@gmail.com wrote: 2012/3/28 Alexander Klenin kle...@gmail.com: The flicker bothers me as well, Win7, trunk. Does it also affect CPU usage? Not sure -- one core is maxed out, but whether it is by compiler (as it should be) or by IDE -- I did not

Re: [Lazarus] Android build without ant

2012-03-29 Thread Sven Barth
Am 27.03.2012 10:42, schrieb Felipe Monteiro de Carvalho: The next issues: 1 How to add more files to the apk. aapt tool seams to have no way for me to specify where the file will be inside the package and here it simply strips all of the paths, not even keeping the relative dir =/

[Lazarus] RE : RE : Debugger hanging

2012-03-29 Thread Ludo Brands
It is reproducible. Let me know what I can do to get more info to debug his. try rev 36404 Problem fixed. In case of a nested procedure you mentioned earlier, wouldn't the stack depth displayed in the Call Stack window be a reasonable ceiling for the stack walk? No need to walk back

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 28.03.12 23:23, Hans-Peter Diettrich wrote: Currently dragging is broken in the LCL, see Mantis #18525. Currently any attempt to undock a docked window makes at least a Windows application hang, in an unusable state, until a *different* application is activated by the

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 29.03.2012 6:14, Paul Ishenin wrote: 28.03.12 23:23, Hans-Peter Diettrich wrote: Currently dragging is broken in the LCL, see Mantis #18525. Currently any attempt to undock a docked window makes at least a Windows application hang, in an unusable state, until a

Re: [Lazarus] FPC Lazarus installation including cross compiling from source

2012-03-29 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: 2012/3/28 Mattias Gaertner nc-gaertnma@...: Here it takes only a few minutes. +1 I see no visible difference in speed between my native host system, and the VM sessions I run. I have a lot of VM sessions for our product testing and building, and yes, I do FPC

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Paul Ishenin
29.03.2012 15:26, Hans-Peter Diettrich wrote: 2) The example is too simple, it also works with a different DockManager. Try again with a reasonable example, where the misbehaviour can be observed, e.g. with the IDE. I believe you that IDE docking may behave wrong but why you put the

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Paul Ishenin
29.03.2012 14:52, Hans-Peter Diettrich wrote: The current situation, and your arguments, read to the user like: We know that there exist bugs, and we know how to eliminate fatal consequences, but we prefer to leave our code in unusable state. This is how you see it. Read it so: We know that

Re: [Lazarus] Lazarus crashing reproducibly on startup (64-bit Linux)

2012-03-29 Thread brian
For anyone still interested in this thread, sorry it's taking me so long to post again but I'm on a satellite internet connection, I only have unrestricted downloads between 0200 and 0700, and so it takes me quite a while to set up virtual machines and do the updates. While I've had one

Re: [Lazarus] RE : RE : Debugger hanging

2012-03-29 Thread Martin
On 29/03/2012 08:35, Ludo Brands wrote: It is reproducible. Let me know what I can do to get more info to debug his. try rev 36404 Problem fixed. In case of a nested procedure you mentioned earlier, wouldn't the stack depth displayed in the Call Stack window be a reasonable ceiling for the

Re: [Lazarus] FPC Lazarus installation including cross compiling from source

2012-03-29 Thread Graeme Geldenhuys
On 29 March 2012 10:13, Hans-Peter Diettrich DrDiettrich1@... wrote: IMO the most critical point is the memory configuration. VMs tend to use I think so too. I never starve my host OS from memory. I have 4GB installed in my system. My host OS (Ubuntu 10.04) uses on average 45% of that for

Re: [Lazarus] FPC Lazarus installation including cross compiling from source

2012-03-29 Thread Kjow
2012/3/29 Graeme Geldenhuys graemeg.li...@gmail.com: Obviously it is also vital to install the VirtualBox Guest Additions to improve guest OS performance. This makes a huge difference too. 3D video drivers are very bad on virtual OS, so is not possible to develop for 3D graphics on VirtualBox,

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 29.03.2012 15:26, Hans-Peter Diettrich wrote: 2) The example is too simple, it also works with a different DockManager. Try again with a reasonable example, where the misbehaviour can be observed, e.g. with the IDE. I believe you that IDE docking may behave wrong but

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 29.03.2012 14:52, Hans-Peter Diettrich wrote: The current situation, and your arguments, read to the user like: We know that there exist bugs, and we know how to eliminate fatal consequences, but we prefer to leave our code in unusable state. This is how you see it.

Re: [Lazarus] Can't find lazreport when building lazarus ...

2012-03-29 Thread William Oliveira Ferreira
You don't set paths to build Lazarus. In fact, if you add paths then there is high chance that you get strange messages like the above. Have you tried to build Lazarus clean (see Tools / configure build lazarus)? Mattias To make the process more clear, i removed all lazarus' directorys on

[Lazarus] Reminder: lovely new components for palette read for commit

2012-03-29 Thread Reinier Olislagers
Already run on Windows; it's meanwhile been tested and approved by Ludo Brands on Linux. Anybody willing to apply it (optionally with less ugly icons) - or assign it to himself? http://bugs.freepascal.org/view.php?id=21578 Don't know/remember if Michael Van Canneyt is committer for LCL; in

Re: [Lazarus] FPC Lazarus installation including cross compiling from source

2012-03-29 Thread Sven Barth
Am 29.03.2012 14:37, schrieb Hans-Peter Diettrich: Kjow schrieb: 2012/3/29 Graeme Geldenhuys graemeg.li...@gmail.com: Obviously it is also vital to install the VirtualBox Guest Additions to improve guest OS performance. This makes a huge difference too. 3D video drivers are very bad on

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Paul Ishenin
29.03.12 20:30, Hans-Peter Diettrich wrote: Some bugs cannot be fixed in code. E.g. when a form or control is docked in code, what should happen to its DragKind? When the DragManager requires a properly initialized DragKind, in order to start the proper operation, should the property of the

Re: [Lazarus] FPC Lazarus installation including cross compiling from source

2012-03-29 Thread Kjow
2012/3/29 Hans-Peter Diettrich drdiettri...@aol.com: Right, but why should somebody want to *develop* such applications for a different platform, instead for the platform of his physical machine? Herefore, and for other time-critical applications, a dual boot of the target OS is the better

[Lazarus] Master-detail problem

2012-03-29 Thread Koenraad Lelong
Hi, I made a application using a master-detail construction. I want to have the detail table follow a master-field, and I want to specify another condition for the detail. This seems not to work. I get an error stating the master-table does not contain a field with the name of my manual

Re: [Lazarus] Master-detail problem

2012-03-29 Thread Michael Van Canneyt
On Thu, 29 Mar 2012, Koenraad Lelong wrote: Hi, I made a application using a master-detail construction. I want to have the detail table follow a master-field, and I want to specify another condition for the detail. This seems not to work. I get an error stating the master-table does not

Re: [Lazarus] Can't find lazreport when building lazarus ...

2012-03-29 Thread William Oliveira Ferreira
i did those commands but it still on the same... `/usr/lib/lazarus/0.9.31/ide/lazarus.pp(1,1) Fatal: Can't find unit lazreport used by Lazarus` 2012/3/29 Mattias Gaertner nc-gaert...@netcologne.de On Thu, 29 Mar 2012 09:19:17 -0300 William Oliveira Ferreira bdexterholl...@gmail.com wrote:

Re: [Lazarus] Can't find lazreport when building lazarus ...

2012-03-29 Thread William Oliveira Ferreira
i run lazarus with* # startlazarus log.txt* and anexed the output... http://www.wolivieraferreira.com.br/downloads/log.zip -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Can't find lazreport when building lazarus ...

2012-03-29 Thread waldo kitty
On 3/29/2012 13:25, William Oliveira Ferreira wrote: i run lazarus with/# startlazarus log.txt/ and anexed the output... http://www.wolivieraferreira.com.br/downloads/log.zip i'm unable to find an IP for that host... 03/29/12 14:00:21 dns http://www.wolivieraferreira.com.br No data of

Re: [Lazarus] Can't find lazreport when building lazarus ...

2012-03-29 Thread William Oliveira Ferreira
SORRY, mistake on typing... http://www.woliveiraferreira.com.br/downloads/log.zip 2012/3/29 waldo kitty wkitt...@windstream.net On 3/29/2012 13:25, William Oliveira Ferreira wrote: i run lazarus with/# startlazarus log.txt/ and anexed the output...

Re: [Lazarus] FPC Lazarus installation including cross compiling from source

2012-03-29 Thread Hans-Peter Diettrich
Sven Barth schrieb: Am 29.03.2012 14:37, schrieb Hans-Peter Diettrich: Kjow schrieb: 2012/3/29 Graeme Geldenhuys graemeg.li...@gmail.com: Obviously it is also vital to install the VirtualBox Guest Additions to improve guest OS performance. This makes a huge difference too. 3D video drivers

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 29.03.12 20:30, Hans-Peter Diettrich wrote: Some bugs cannot be fixed in code. E.g. when a form or control is docked in code, what should happen to its DragKind? When the DragManager requires a properly initialized DragKind, in order to start the proper operation, should

Re: [Lazarus] lazbuild build IDE profiles

2012-03-29 Thread Mattias Gaertner
On Thu, 29 Mar 2012 13:48:08 -0400 waldo kitty wkitt...@windstream.net wrote: On 3/29/2012 02:49, Mattias Gaertner wrote: [...] The ppu is missing. Not the source. right... ok... i'm still learning and thought that it would build the missing ppu if it could not find it but did find the

[Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-29 Thread cobines
Hello. In the TreeView there are many calls to TreeView.Invalidate but TTreeNodes.SetUpdateState and TTreeStrings.SetUpdateState call TreeView.Refresh instead. Refresh calls TWidgetSet.UpdateWindow which on Win32 and GTK2 causes repaint of the control via synchronous WM_PAINT. QT4 seems to only

Re: [Lazarus] lazbuild build IDE profiles

2012-03-29 Thread waldo kitty
On 3/29/2012 17:13, Mattias Gaertner wrote: On Thu, 29 Mar 2012 13:48:08 -0400 waldo kittywkitt...@windstream.net wrote: On 3/29/2012 02:49, Mattias Gaertner wrote: [...] The ppu is missing. Not the source. right... ok... i'm still learning and thought that it would build the missing ppu

Re: [Lazarus] IDE Messages window uses much CPU when building a project on Win32

2012-03-29 Thread cobines
The output filter that processes compiler output often issues empty BeginUpdate/EndUpdate sequences without actually making any updates. It also updates very often, usually 15 times per second, so it constantly switches in and out of update mode and that causes the whole treeview to be repainted

Re: [Lazarus] Decision required WRT dragging

2012-03-29 Thread Paul Ishenin
30.03.12 5:24, Hans-Peter Diettrich wrote: So what should happen in such a case, where the developer didn't observe the rules? Should it be considered a fatal bug, and raise an exception? It is a normal situation when something is docked and have DragKind dkDock even I have no chance do

Re: [Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-29 Thread Juha Manninen
On Fri, Mar 30, 2012 at 12:25 AM, cobines cobi...@gmail.com wrote: In the TreeView there are many calls to TreeView.Invalidate but TTreeNodes.SetUpdateState and TTreeStrings.SetUpdateState call TreeView.Refresh instead. Refresh calls TWidgetSet.UpdateWindow which on Win32 and GTK2 causes

[Lazarus] SIGSEGV with Debug only

2012-03-29 Thread Daniel Simoes de Ameida
Hi All I have a strange issue... I'm currently using Lazarus 0.9.31 (update from SVN) with FPC 2.6.0 When I compile my application with debug information, I always get a SIGSEGV when closing one of my forms,on line 4805 of control.inc This Image shows the error. However, when compiling

Re: [Lazarus] IDE Messages window uses much CPU when building a project on Win32

2012-03-29 Thread cobines
I posted a patch for the excessive Begin/EndUpdate. http://bugs.freepascal.org/view.php?id=21600 From my tests disabling displaying progress has almost no impact on CPU usage, so I'm not doing anything with it. However I found that the quick fix icons that are updated from timer or OnIdle while

Re: [Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-29 Thread cobines
I posted patches: http://bugs.freepascal.org/view.php?id=21601 http://bugs.freepascal.org/view.php?id=21602 -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus