Re: [Lazarus] SIGSEGV with Debug only

2012-03-31 Thread Martin Schreiber
Am 31.03.2012 03:57, schrieb 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

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

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 2:56, João Marcelo Vaz wrote: 2012/3/30 Reinier Olislagers reinierolislag...@gmail.com mailto:reinierolislag...@gmail.com On 30-3-2012 16:05, Frank Church wrote: Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of

[Lazarus] Strange message Can not initialize interface sqlite in Android

2012-03-31 Thread Felipe Monteiro de Carvalho
Hello, In a project using sqlite in Android the following happens at startup: D/dalvikvm(31719): GC_CONCURRENT freed 6K, 52% free 2617K/5379K, external 4687K/5853K, paused 7ms+3ms I/lclapp  (31719): TApplication.HandleException Can not initialize interface sqlite from library libsqlite3.so

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

2012-03-31 Thread zeljko
On Friday 30 of March 2012 16:37:09 Daniel Simoes de Ameida wrote: 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

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

2012-03-31 Thread Felipe Monteiro de Carvalho
In the package lazutils there is: unit lazutf8sysutils; function NowUTC: TDateTime; function GetTickCount64: QWord; -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] RE : SIGSEGV with Debug only

2012-03-31 Thread Ludo Brands
ewww :( in my ancient mind, it would be better to fill with null for possible checks but then again ;) :P Actually it is $F0. The purpose is that $F0F0F0F0 as pointer should throw a SIGSEGV. Another heaptrace signature is $DEADBEEF. If you see this address in a pointer of your data

Re: [Lazarus] Strange message Can not initialize interface sqlite in Android

2012-03-31 Thread Vincent Snijders
Op 31 maart 2012 08:45 heeft Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com het volgende geschreven: Hello, In a project using sqlite in Android the following happens at startup: D/dalvikvm(31719): GC_CONCURRENT freed 6K, 52% free 2617K/5379K, external 4687K/5853K, paused

[Lazarus] @Mattias: dblib was Reminder: lovely new components for palette read for commit

2012-03-31 Thread Reinier Olislagers
On 29-3-2012 15:00, Reinier Olislagers wrote: 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 Mattias,

Re: [Lazarus] @Mattias: dblib was Reminder: lovely new components for palette read for commit

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 10:58:57 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: On 29-3-2012 15:00, Reinier Olislagers wrote: 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

Re: [Lazarus] @Mattias: dblib was Reminder: lovely new components for palette read for commit

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 11:17, Mattias Gaertner wrote: AFAIK there is no example yet for this stuff, so it would be helpful. Only x-platform examples are put into Lazarus sources. Do you have a x-platform example? It is x-platform. The underlying fpc mssqlconn connector just requires FreeTDS (i.e.

Re: [Lazarus] Strange message Can not initialize interface sqlite in Android

2012-03-31 Thread Felipe Monteiro de Carvalho
Ok, thanks, so it is from rtl/inc/dynlibs.pas and LoadLibrary from rtl/unix/dynlibs.inc: function TryInitializeLibraryInternal(var Handler: TLibHandler; const LibraryName: String; const User: Pointer; const NoSymbolErrors: Boolean): Integer; . Result :=

Re: [Lazarus] @Mattias: dblib was Reminder: lovely new components for palette read for commit

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 11:36:31 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: On 31-3-2012 11:17, Mattias Gaertner wrote: AFAIK there is no example yet for this stuff, so it would be helpful. Only x-platform examples are put into Lazarus sources. Do you have a x-platform

Re: [Lazarus] Aggpas

2012-03-31 Thread Graeme Geldenhuys
On Friday, 30 March 2012, Mattias Gaertner wrote: On Thu, 22 Mar 2012 15:10:21 +0200 Graeme Geldenhuys graemeg.li...@gmail.com javascript:; wrote: Graeme, do you have some patches for Aggpas 64bit? Yes I do, but the latest code is at work. I sent myself a reminder to generate some patches

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

2012-03-31 Thread Luiz Americo Pereira Camara
On 30/3/2012 11:37, Daniel Simoes de Ameida wrote: 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

Re: [Lazarus] @Mattias: dblib was Reminder: lovely new components for palette read for commit

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 11:48, Mattias Gaertner wrote: On Sat, 31 Mar 2012 11:36:31 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: On 31-3-2012 11:17, Mattias Gaertner wrote: AFAIK there is no example yet for this stuff, so it would be helpful. Only x-platform examples are put into

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

2012-03-31 Thread Mattias Gaertner
On Fri, 30 Mar 2012 17:19:28 -0400 brian br...@meadows.pair.com wrote: 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

Re: [Lazarus] IDE Editor incredibly slow on newer GTK2

2012-03-31 Thread Bernd
I cannot reproduce the extreme slowness anymore, no matter what I do. What I have now is only generally relatively high CPU usage compared to Qt and some stuttering when scrolling, but the extreme lag and sluggishness when simply typing text is gone. I don't know what caused it and I don't know

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

2012-03-31 Thread Frank Church
On 30 March 2012 15:05, Frank Church vfcli...@gmail.com 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

Re: [Lazarus] IDE Editor incredibly slow on newer GTK2

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 13:26:00 +0200 Bernd prof7...@googlemail.com wrote: I cannot reproduce the extreme slowness anymore, no matter what I do. What I have now is only generally relatively high CPU usage compared to Qt and some stuttering when scrolling, but the extreme lag and sluggishness

[Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
I have my own general purpose unit with functions and procedures I often use. There are also some routines that operate on TStringGrid types so I had to add GRIDS to the uses clause in the interface part of this unit. If I now write a very simple Hello World program that uses just one simple

Re: [Lazarus] IDE Editor incredibly slow on newer GTK2

2012-03-31 Thread Martin
On 31/03/2012 12:26, Bernd wrote: I cannot reproduce the extreme slowness anymore, no matter what I do. I fixed an issue, that affected the editor, but on all widgetset. However it did not match you description (dependency on windows size). It only happened if you had a lot of tabs open.

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 13:51:28 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: I have my own general purpose unit with functions and procedures I often use. There are also some routines that operate on TStringGrid types so I had to add GRIDS to the uses clause in the interface part of

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
How should anybody know that this is required in this situation? Why is the INTERFACES unit not required in the unit itself? Grids is part of the platform independent LCLBase. The unit 'interfaces' (i.e. package LCL) provides the implementation. How should I know this? And why do I *not*

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 15:08, Jürgen Hestermann wrote: Hint: When you use Cody to add the grids unit to the uses section, it will automatically add the LCL as dependency. What is Cody? http://wiki.lazarus.freepascal.org/index.php?title=Special%3ASearchsearch=codyfulltext=Search --

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
Reinier Olislagers schrieb: On 31-3-2012 15:08, Jürgen Hestermann wrote: Hint: When you use Cody to add the grids unit to the uses section, it will automatically add the LCL as dependency. What is Cody?

Re: [Lazarus] wiki on a new server

2012-03-31 Thread Vincent Snijders
Op 26 maart 2012 14:25 heeft Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com het volgende geschreven: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap Fixed properly now, Vincent --

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 15:22, Jürgen Hestermann wrote: Reinier Olislagers schrieb: On 31-3-2012 15:08, Jürgen Hestermann wrote: Hint: When you use Cody to add the grids unit to the uses section, it will automatically add the LCL as dependency. What is Cody?

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread David W Noon
On Sat, 31 Mar 2012 15:22:05 +0200, Jürgen Hestermann wrote about Re: [Lazarus] Strange dependency of units: http://www.ztw3.com/forum/forum_entry.php?id=114358 You answer sounds like the Linux part ;-) Is Lazarus on the same way? Hey! I run Gentoo Linux, so there is no step 2 on my machines.

Re: [Lazarus] @Mattias: dblib was Reminder: lovely new components for palette read for commit

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 12:22, Reinier Olislagers wrote: On 31-3-2012 11:48, Mattias Gaertner wrote: Then the example can be added without the dll and icons. Can you write a small README.txt with some hints about the dblib and where to get the dll? Done: http://bugs.freepascal.org/view.php?id=21619

Re: [Lazarus] lazbuild build IDE profiles

2012-03-31 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] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 15:22:05 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Reinier Olislagers schrieb: On 31-3-2012 15:08, Jürgen Hestermann wrote: Hint: When you use Cody to add the grids unit to the uses section, it will automatically add the LCL as dependency.

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
Reinier Olislagers schrieb: Just wanted to encourage you that there often is documentation about concepts... even though it may not always be complete or correct. Of course, if I *wanted* to get information about Cody I know that I could use Google. The question was: Do I *need* to know

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
Mattias Gaertner schrieb: In the past the programs that used only parts of the LCL compiled, but would then later fail at runtime at some strange place. Now you already see at compile time that something is missing. That's definitely better. Of course, you are right: It could be even worse.

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 16:36, Jürgen Hestermann wrote: Reinier Olislagers schrieb: Just wanted to encourage you that there often is documentation about concepts... even though it may not always be complete or correct. Of course, if I *wanted* to get information about Cody I know that I could use

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
Reinier Olislagers schrieb: Of course, if I *wanted* to get information about Cody I know that I could use Google. The question was: Do I *need* to know about it to program with Lazarus? vs On 31-3-2012 15:08, Jürgen Hestermann wrote: What is Cody? Well, my question was a reaction to

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 16:42:53 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Mattias Gaertner schrieb: [...] And the IDE has already some checks for common mistakes. Mistake? Using a self-written unit is a mistake? Not knowing that GRIDS requires INTERFACES is a mistake? ? You

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 17:04:16 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Reinier Olislagers schrieb: Of course, if I *wanted* to get information about Cody I know that I could use Google. The question was: Do I *need* to know about it to program with Lazarus? vs On

Re: [Lazarus] lazbuild build IDE profiles

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 10:05:28 -0400 waldo kitty wkitt...@windstream.net wrote: 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

[Lazarus] Grouped menu entries

2012-03-31 Thread Mark Morgan Lloyd
When a number of menu entries are grouped to behave like radio buttons, is there a simple way of finding which is checked (except looking at each one), or is best practice to set e.g. an enumeration in the event handlers? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions

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

2012-03-31 Thread Daniel Simoes de Ameida
Thanks Zeljko, It works   []s Daniel Conheça o Projeto ACBr - Automaçao Comercial Brasil DJSystem a Loja Patrocinadora do ACBr De: zeljko zel...@holobit.net Para: lazarus@lists.lazarus.freepascal.org Enviadas: Sábado, 31 de Março de 2012 3:47 Assunto: Re:

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 13:51:28 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: I have my own general purpose unit with functions and procedures I often use. There are also some routines that operate on TStringGrid types so I had to add GRIDS to the uses clause in the interface part of

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Jürgen Hestermann
Mattias Gaertner schrieb: You made the mistake to use grids without an implementation (e.g. LCL interfaces). Implementation? What's this again? It's no longer enough to use a unit? Sorry, but it seems that there is a very steep learning curve even for former (Turbo..) Pascal programmers. I

[Lazarus] Enc: LazReport layout problems

2012-03-31 Thread Daniel Simoes de Ameida
Hi All, Is any body else running in troubles with LazReport ? We use LazReport to Print a Brazilian Document for Bank collection. I'm not sure on what revision (I'm investigating), but something has broken the Layout of documents... Please see this image Apparently, LazReport is not

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

2012-03-31 Thread brian
On 03/31/2012 07:18 AM, Mattias Gaertner wrote: On Fri, 30 Mar 2012 17:19:28 -0400 brianbr...@meadows.pair.com wrote: 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

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

2012-03-31 Thread brian
On 03/31/2012 07:18 AM, Mattias Gaertner wrote: I installed Linux Mint Debian Edition 64bit in virtualbox. And Lazarus 0.9.31 does not crash here. Sorry, I missed the version number. Please just confirm for me that you're running on an AMD CPU and I'll try another VM. Brian. --

Re: [Lazarus] wiki on a new server

2012-03-31 Thread Bart
On 3/31/12, Vincent Snijders vincent.snijd...@gmail.com wrote: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap Fixed properly now, I don't see any colors (IIRC we're talking about background colors in the tables here) at all on this

Re: [Lazarus] wiki on a new server

2012-03-31 Thread Martin
On 31/03/2012 18:59, Bart wrote: On 3/31/12, Vincent Snijdersvincent.snijd...@gmail.com wrote: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap Fixed properly now, I don't see any colors (IIRC we're talking about background colors

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 19:41:02 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Mattias Gaertner schrieb: The hint was about a tool that reduces the burden of knowing to which package a unit belongs, search paths and dependencies. Why is this at all necessary? I don't get it of

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 19:41:05 +0200 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Mattias Gaertner schrieb: You made the mistake to use grids without an implementation (e.g. LCL interfaces). Implementation? What's this again? It's no longer enough to use a unit? Sorry, but it seems

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

2012-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2012 13:45:53 -0400 brian br...@meadows.pair.com wrote: On 03/31/2012 07:18 AM, Mattias Gaertner wrote: On Fri, 30 Mar 2012 17:19:28 -0400 brianbr...@meadows.pair.com wrote: Well, I've done a bunch of testing with some virtual machines, plus a bunch of web searches

Re: [Lazarus] wiki on a new server

2012-03-31 Thread Vincent Snijders
Op 31 maart 2012 20:17 heeft Martin laza...@mfriebe.de het volgende geschreven: On 31/03/2012 18:59, Bart wrote: On 3/31/12, Vincent Snijdersvincent.snijd...@gmail.com  wrote: Also our old CSS values disappeared, for example: class=working http://wiki.lazarus.freepascal.org/Roadmap Fixed

Re: [Lazarus] Strange dependency of units

2012-03-31 Thread Žilvinas Ledas
Hello, On 2012-03-31 20:41, Jürgen Hestermann wrote: Mattias Gaertner schrieb: You made the mistake to use grids without an implementation (e.g. LCL interfaces). Implementation? What's this again? It's no longer enough to use a unit? Sorry, but it seems that there is a very steep learning

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

2012-03-31 Thread brian
On 03/31/2012 02:50 PM, Mattias Gaertner wrote: I downloaded the ISO, then did an upgrade, then installed the package lazarus and subversion to get the development packages, then uninstalled lazarus, keeping the rest, then installed fpc 2.6.0 from zip, then downloaded fpc svn trunk, compiled,

Re: [Lazarus] lazbuild build IDE profiles

2012-03-31 Thread Bernd
2012/3/15 Mattias Gaertner nc-gaert...@netcologne.de: To compile the IDE with its standard profile use lazbuild --build-ide= There is a bug somewhere, it will respect all my compile options but ignore the widgetset and always build with GTK2. On this PC I have always used GTK2 and only

Re: [Lazarus] lazbuild build IDE profiles

2012-03-31 Thread waldo kitty
On 3/31/2012 13:01, Mattias Gaertner wrote: On Sat, 31 Mar 2012 10:05:28 -0400 waldo kittywkitt...@windstream.net wrote: 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