Re: [Lazarus] Decision required WRT dragging

2012-03-30 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: 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

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

2012-03-30 Thread Juha Manninen
On Fri, Mar 30, 2012 at 5:51 AM, cobines cobi...@gmail.com wrote: I posted patches: http://bugs.freepascal.org/view.php?id=21601 http://bugs.freepascal.org/view.php?id=21602 I applied them, thanks. Juha -- ___ Lazarus mailing list

Re: [Lazarus] wiki on a new server

2012-03-30 Thread Graeme Geldenhuys
On 26 March 2012 17:45, Vincent Snijders vincent.snijders@g* wrote: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap I will look into that. I'm not sure if you are having difficulty with this (maybe you just haven't had the time

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

2012-03-30 Thread Juha Manninen
On Fri, Mar 30, 2012 at 4:48 AM, cobines cobi...@gmail.com wrote: I posted a patch for the excessive Begin/EndUpdate. http://bugs.freepascal.org/view.php?id=21600 I applied this one, too. It looks good although I didn't measure how much time it saves during build. From my tests disabling

Re: [Lazarus] wiki on a new server

2012-03-30 Thread Vincent Snijders
Op 30 maart 2012 09:57 heeft Graeme Geldenhuys graemeg.li...@gmail.com het volgende geschreven: On 26 March 2012 17:45, Vincent Snijders vincent.snijders@g* wrote: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap I will look into

[Lazarus] Start build with parameters from IDE

2012-03-30 Thread Kjow
Hi all, I need to start from IDE the build project (F9 key) with a parameter (e.g. .\project1.exe test1)... how to do this? Thank you, Kjow -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Start build with parameters from IDE

2012-03-30 Thread Mattias Gaertner
On Fri, 30 Mar 2012 10:23:41 +0200 Kjow antispamm...@gmail.com wrote: Hi all, I need to start from IDE the build project (F9 key) with a parameter (e.g. .\project1.exe test1)... how to do this? Do you mean Run / Run Parameters? Mattias -- ___

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

2012-03-30 Thread Mattias Gaertner
On Fri, 30 Mar 2012 11:13:36 +0300 Juha Manninen juha.mannine...@gmail.com wrote: On Fri, Mar 30, 2012 at 4:48 AM, cobines cobi...@gmail.com wrote: I posted a patch for the excessive Begin/EndUpdate. http://bugs.freepascal.org/view.php?id=21600 I applied this one, too. It looks good

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Michael Schnell
A not initialized (running wild) pointer can behave like this. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2012-03-30 Thread cobines
OK, thank you. -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Martin Schreiber
Am 30.03.2012 02:06, schrieb 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

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

2012-03-30 Thread cobines
2012/3/30 Mattias Gaertner nc-gaert...@netcologne.de: I removed the indicator icon. Almost all messages have nowadays a quickfix. OK. Thanks. With these few changes today now CPU stays mostly at 0-1% during build even with a big messages window open. But on Win32 it still flickers when

[Lazarus] SQLQuery crashes in Android

2012-03-30 Thread Felipe Monteiro de Carvalho
Hello, Simply putting a TSQLQuery in a Android form crashes. I searched the lcl and sqldb directories but I couldn't find any place which says Unknown property Any ideas where the exception could be or how to fix it? It is probably a ARM issue, because using LCL-CustomDrawn-Win32 in x86 works

Re: [Lazarus] SQLQuery crashes in Android

2012-03-30 Thread michael . vancanneyt
On Fri, 30 Mar 2012, Felipe Monteiro de Carvalho wrote: Hello, Simply putting a TSQLQuery in a Android form crashes. I searched the lcl and sqldb directories but I couldn't find any place which says Unknown property Any ideas where the exception could be or how to fix it? It means the

Re: [Lazarus] SQLQuery crashes in Android

2012-03-30 Thread Sven Barth
On 30.03.2012 11:54, Felipe Monteiro de Carvalho wrote: Hello, Simply putting a TSQLQuery in a Android form crashes. I searched the lcl and sqldb directories but I couldn't find any place which says Unknown property Any ideas where the exception could be or how to fix it? The message

Re: [Lazarus] SQLQuery crashes in Android

2012-03-30 Thread Felipe Monteiro de Carvalho
Ok, I found the issue. FPC 2.6.0 (or whatever I utilized to build my IDE, don't remember anymore) has: TSQLQuery = Class(TCustomSQLQuery) public property SchemaType; Published property MaxIndexesCount; // TDataset stuff property FieldDefs; But in my branch this property is

Re: [Lazarus] lazbuild build IDE profiles

2012-03-30 Thread Mattias Gaertner
On Thu, 29 Mar 2012 17:31:05 -0400 waldo kitty wkitt...@windstream.net wrote: On 3/29/2012 17:13, Mattias Gaertner wrote: [...] Compiling package SynEdit 1.0 completed CreateBuildLazarusOptions exe locked NewTargetFilename=lazarus.new.exe [TExternalToolList.Run]

Re: [Lazarus] SQLQuery crashes in Android

2012-03-30 Thread Felipe Monteiro de Carvalho
Ok, so I published the property in my branch and uploaded a new build to sourceforge: http://sourceforge.net/projects/p-tools/files/Free%20Pascal%20for%20ARM/Windows/ And issue fixed. thanks =) -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing

[Lazarus] Aggpas

2012-03-30 Thread Mattias Gaertner
On Thu, 22 Mar 2012 15:10:21 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 22 March 2012 15:03, Marcos Douglas wrote: WOW!!! clap-clap-clap! :-) I wish I could take all the credit, but I can't. Milano did some excellent work with AggPas. I then incorporated it into fpGUI

[Lazarus] Is there a function that returns UTC time in FPC or Lazarus?

2012-03-30 Thread Frank Church
When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of timezone? -- Frank Church === http://devblog.brahmancreations.com

[Lazarus] TStringList.Destroy generate SIGSEGV with Zeos 6.6.6

2012-03-30 Thread Daniel Simoes de Ameida
Hi All, On recent FPC 2.6.1 I notice a strange behavior with TStringList.Destroy TStringList.Destroy, calls method TStringList.Clear, but the problem is that TStringList.Clear call methods Changing and Changed This affect Zeos 6.6.6, I presume is because Zeos try to read Params from the

Re: [Lazarus] TStringList.Destroy generate SIGSEGV with Zeos 6.6.6

2012-03-30 Thread Vincent Snijders
Op 30 maart 2012 16:37 heeft Daniel Simoes de Ameida dopidan...@yahoo.com.br het volgende geschreven: Hi All, On recent FPC 2.6.1 I notice a strange behavior with TStringList.Destroy TStringList.Destroy, calls method TStringList.Clear, but the problem is that TStringList.Clear call methods

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Daniel Simoes de Ameida
Bingo... Is the HeapTrace.. I just removed HeapTrace Unit from Linking and the problem has gone... Thanks Martin   []s Daniel Conheça o Projeto ACBr - Automaçao Comercial Brasil DJSystem a Loja Patrocinadora do ACBr De: Martin Schreiber mse00...@gmail.com

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread José Mejuto
Hello Lazarus-List, Friday, March 30, 2012, 5:11:07 PM, you wrote: DSdA Bingo... DSdA Is the HeapTrace.. I just removed HeapTrace Unit from DSdA Linking and the problem has gone... Removing heaptrace hide the error not fix the bug. The heaptrace is showing you a bug that otherwise you will not

[Lazarus] Custom login forms and modal results

2012-03-30 Thread Mark Morgan Lloyd
If a custom login form (e.g. specifying a host and port for telnet) is displayed, and the OK/Cancel buttons have modal results, what is the procedure that set the form visible supposed to do pending getting the form's modalResult? Once the form is set invisible, does it have to clear

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Martin
On 30/03/2012 16:11, Daniel Simoes de Ameida wrote: Bingo... Is the HeapTrace.. I just removed HeapTrace Unit from Linking and the problem has gone... No it has not gone. It is only hidden. That means you lowered the likelihood of it happening. The code still accesses an object that does

Re: [Lazarus] Custom login forms and modal results

2012-03-30 Thread Mattias Gaertner
On Fri, 30 Mar 2012 15:33:08 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: If a custom login form (e.g. specifying a host and port for telnet) is displayed, and the OK/Cancel buttons have modal results, what is the procedure that set the form visible supposed to do pending

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

2012-03-30 Thread Mattias Gaertner
On Thu, 29 Mar 2012 14:03:18 -0300 William Oliveira Ferreira bdexterholl...@gmail.com wrote: 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

Re: [Lazarus] Is there a function that returns UTC time in FPC or Lazarus?

2012-03-30 Thread Reinier Olislagers
On 30-3-2012 16:05, Frank Church wrote: When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of timezone? Frank, You could search the fpc

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Daniel Simoes de Ameida
Martin, Even doesn't changing the Owner, the problem still.. O forgot to mention the content of ChangeOwner function  procedure ChangeOwner(AComponente, NewOwner: TComponent);  begin     AComponente.Owner.RemoveComponent(AComponente);     NewOwner.InsertComponent(AComponente);  end; I suppose

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread Martin
On 30/03/2012 20:54, Daniel Simoes de Ameida wrote: Martin, Even doesn't changing the Owner, the problem still.. O forgot to mention the content of ChangeOwner function procedure ChangeOwner(AComponente, NewOwner: TComponent); begin AComponente.Owner.RemoveComponent(AComponente);

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

2012-03-30 Thread brian
Well, I've done a bunch of testing with some virtual machines, plus a bunch of web searches looking for other threads on this error, and it seems to be plain that it's a multi-way incompatibility. If you are running Linux Mint Debian Edition (LMDE) V12 on an AMD 64-bit CPU (and it doesn't

Re: [Lazarus] Is there a function that returns UTC time in FPC or Lazarus?

2012-03-30 Thread João Marcelo Vaz
2012/3/30 Reinier Olislagers reinierolislag...@gmail.com On 30-3-2012 16:05, Frank Church wrote: When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a UnixTime or

Re: [Lazarus] SIGSEGV with Debug only

2012-03-30 Thread waldo kitty
On 3/30/2012 04:28, Martin Schreiber wrote: Am 30.03.2012 02:06, schrieb Daniel Simoes de Ameida: I'm using Debug Info as Auto (-g) and Display Line numbers (-gl), Heaptrace Unit is also active (-gh)in Debug mode ... Any hints ? Heaptrace fills freed memory with garbage. CurAnchorSide

Re: [Lazarus] lazbuild build IDE profiles

2012-03-30 Thread waldo kitty
On 3/30/2012 06:16, Mattias Gaertner wrote: On Thu, 29 Mar 2012 17:31:05 -0400 waldo kittywkitt...@windstream.net wrote: attached is my idemake.cfg and miscellaneousoptions.xml... i also see why i'm seeing two -dDEBUG and -dVERBOSE... they are listed twice in the idemake.cfg but not in the

Re: [Lazarus] Is there a function that returns UTC time in FPC or Lazarus?

2012-03-30 Thread waldo kitty
On 3/30/2012 10:05, Frank Church wrote: When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of timezone? where are you reading from? the RTC