Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread Vincent Snijders
willem schreef: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. How did you make these measurements? So the Lazarus and Free Pascal developers have done an excellent Job ! Vincent

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread Alvise Nicoletti
willem ha scritto: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. So the Lazarus and Free Pascal developers have done an excellent Job ! regards.

Re: [lazarus] MouseMove problem in WinCE

2007-12-28 Thread Alvise Nicoletti
Paul Michell ha scritto: Hello Everyone, I have just updated Lazarus to latest SVN (13497) and my WinCE application dies if I use a mouse move event. The following is a trivial example that displays the same bug. It works for Win32 but not on WinCE: Type Tform1 = Class(Tform) Procedure

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread willem
Vincent Snijders wrote: willem schreef: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. How did you make these measurements? So the Lazarus and Free Pascal developers have done an

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread willem
Alvise Nicoletti wrote: willem ha scritto: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. So the Lazarus and Free Pascal developers have done an excellent Job ! regards.

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread Vincent Snijders
willem schreef: Vincent Snijders wrote: willem schreef: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. How did you make these measurements? So the Lazarus and Free Pascal developers have

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread willem
Vincent Snijders wrote: willem schreef: Vincent Snijders wrote: willem schreef: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. How did you make these measurements? So the Lazarus and

[lazarus] MiGLayout for LCL

2007-12-28 Thread Graeme Geldenhuys
Hi, To prevent duplication in efforts I thought I should ask first. Has anybody implemented or started a implementation of the Java MiGLayout manager? If not, I'm starting it for fpGUI, but am pretty sure most, if not all, of the code would be equally usable in LCL. MiGLayout was designed to

Re: [lazarus] Working with different versions of lazarus

2007-12-28 Thread Mattias Gaertner
On Thu, 27 Dec 2007 21:11:17 +0200 ik [EMAIL PROTECTED] wrote: [...] You are right. It seems under windows TProcess does not handle and ', but simply passes the entire commandline to CreateProcess, so it is up to program to handle and ' correct. According to msdn this is normal under

[lazarus] lazarus crashes when compiled with debug info

2007-12-28 Thread Den Jean
Hi, when compiled with debug info, lazarus does not run (range check errors) compile command make PREFIX=/usr clean all LCL_PLATFORM=gtk2 OPT=-dDEBUG fpc 2.2.0 platform linux svn 13501 console output: $./lazarus TApplication.IconChanged - TODO: convert this message...no implementation in gtk

Re: [lazarus] Free Pascal the best compiler for Android.

2007-12-28 Thread willem
Vincent Snijders wrote: willem schreef: Vincent Snijders wrote: willem schreef: Hello, I just added Language benchmarks to my site. If you take in account restricted memory and speed then Free Pascal is the number ONE on his list. How did you make these measurements? So the Lazarus and

Re: [lazarus] MouseMove problem in WinCE

2007-12-28 Thread Paul Michell
I'm using the mouse events for a field mapping application, so I want to be able to do rubber band type line drawing. On Friday 28 December 2007 08:36:33 Alvise Nicoletti wrote: Can I ask wich is your purpose? Cause probably with wince we should overridden some mouse events due to the

Re: [lazarus] Working with different versions of lazarus

2007-12-28 Thread Marco van de Voort
On Thu, Dec 27, 2007 at 09:11:17PM +0200, ik wrote: You are right. It seems under windows TProcess does not handle and ', but simply passes the entire commandline to CreateProcess, so it is up to program to handle and ' correct. According to msdn this is normal under windows. The

Re: [lazarus] Salvage Kylix apps with Lazarus IDE!

2007-12-28 Thread Vincent Snijders
Giuliano Colla schreef: I must say it aloud: LAZARUS IDE IS GREAT. snip If someone else has similar needs, I'm ready to share what I've done. Great article. I think it would be a good addition to our wiki. Vincent _

Re: [lazarus] MiGLayout for LCL

2007-12-28 Thread Lee Jenkins
Graeme Geldenhuys wrote: Hi, To prevent duplication in efforts I thought I should ask first. Has anybody implemented or started a implementation of the Java MiGLayout manager? If not, I'm starting it for fpGUI, but am pretty sure most, if not all, of the code would be equally usable in LCL.

Re: [lazarus] MiGLayout for LCL

2007-12-28 Thread Graeme Geldenhuys
On 28/12/2007, Lee Jenkins [EMAIL PROTECTED] wrote: That is very cool and usable stuff. I definitely agree! :) Especially for internationalized applications or Hi/Low DPI display support. Lazarus sure could do with something like this. I've started with a Free Pascal implementation and

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Vincent Snijders
Andrey Gusev schreef: It may be explained by a few words ? I don't wish discuss is it useful or harmful, correctly or incorrectly, it important for me, to undestand: for what ? Maybe I don't understand you without an example, but if you have a declaration without implementation, you cannot

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Damien Gerard
On Dec 28, 2007, at 3:15 PM, Vincent Snijders wrote: Andrey Gusev schreef: It may be explained by a few words ? I don't wish discuss is it useful or harmful, correctly or incorrectly, it important for me, to undestand: for what ? Maybe I don't understand you without an example, but if you

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Vincent Snijders
Andrey Gusev schreef: background was http://bugs.freepascal.org/view.php?id=10455, have sample, constructed from real rpoblem. Empty duplicate body of my own procedure was inserted. As i undestand: for all declared unimplemented procedures will be inserted implementations. It right guessed

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Andrey Gusev
* Vincent Snijders [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:15:31 +0100]: Andrey Gusev schreef: It may be explained by a few words ? I don't wish discuss is it useful or harmful, correctly or incorrectly, it important for me, to undestand: for what ? Maybe I don't understand you without an

Re: [lazarus] Google Android

2007-12-28 Thread Bee
pascal to java. That has been done before How are you going to do it? Line-by-line conversion tool or provide the converter as a widget, like for wince? I suggest you to do the last since it'll easier to use. -Bee- has Bee.ography at: http://beeography.wordpress.com

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Andrey Gusev
* Damien Gerard [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:29:02 +0100]: May be it is related to the fact in Delphi empty implementation attached to an event are automatically removed at the compilation How with that in Lazarus, in future ?

[lazarus] I have some questions related to lookupcombobox and net connection.

2007-12-28 Thread José Luis Vassallo
Hey all. First of all, Happy Holidays. 1) I wonder is there is some component such as the DBLookupComboBox in Delphi. The DBComboBox in Lazarus, does not show the complete database and I have to enter the items one by one. 2) In my PC, I have no problems to link the database mysql with my

Re: back from holiday, my project crashes lazarus

2007-12-28 Thread Seth Grover
Okay, I pulled the latest SVN this morning and it still crashes. I've created a bug report and attached my project. http://bugs.freepascal.org/view.php?id=10481 -Thanks, Seth Grover Hmm... according your back trace you have problem with TCustomNotebook descendant. I created new application,

Re: [lazarus] Module viewer Controller

2007-12-28 Thread Marc Santhoff
Am Donnerstag, den 27.12.2007, 18:11 -0300 schrieb Wanderlan Santos dos Anjos: Is there any library for drawing graphs with shapes for nodes and labelled connectors? To be precise: it should be capable of drawing onto one of lazarus'

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Mattias Gaertner
On Fri, 28 Dec 2007 18:27:02 +0300 Andrey Gusev [EMAIL PROTECTED] wrote: * Damien Gerard [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:29:02 +0100]: May be it is related to the fact in Delphi empty implementation attached to an event are automatically removed at the compilation How with

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Alexsander Rosa
Delphi removes empty event handlers when you save, not at compile time. It's a nice feature and it does not remove code you wrote yourself. 2007/12/28, Damien Gerard [EMAIL PROTECTED]: On Dec 28, 2007, at 3:15 PM, Vincent Snijders wrote: Andrey Gusev schreef: It may be explained by a few

Re: [lazarus] Module viewer Controller

2007-12-28 Thread Wanderlan Santos dos Anjos
Hi Marc, I have plans to convert this lib, but not now. ___Please let me know if you decide to convert it___ I will try to help you, despite the little time I have at this moment. I have made an application in Delphi 2006 that uses TMS Diagram Studio ( www.tmssoftware.com) that I would like to

[lazarus] RTTI and Object inspector question

2007-12-28 Thread Giuliano Colla
Assuming that I was so crazy as to attempt to compile Lazarus with a different Component Library, what's the relationship between RTTI, Object inspector and the rest of the devilishly wizardry which makes it tick? IOW if my components miss some properties found in LCL, and have some properties

Re: [lazarus] RTTI and Object inspector question

2007-12-28 Thread Mattias Gaertner
On Fri, 28 Dec 2007 18:50:34 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Assuming that I was so crazy as to attempt to compile Lazarus with a different Component Library, what's the relationship between RTTI, Object inspector and the rest of the devilishly wizardry which makes it tick?

Re: [lazarus] RTTI and Object inspector question

2007-12-28 Thread Giuliano Colla
Mattias Gaertner ha scritto: On Fri, 28 Dec 2007 18:50:34 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Assuming that I was so crazy as to attempt to compile Lazarus with a different Component Library, what's the relationship between RTTI, Object inspector and the rest of the devilishly

Re: [lazarus] RTTI and Object inspector question

2007-12-28 Thread Mattias Gaertner
On Fri, 28 Dec 2007 19:46:29 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Mattias Gaertner ha scritto: On Fri, 28 Dec 2007 18:50:34 +0100 Giuliano Colla [EMAIL PROTECTED] wrote: Assuming that I was so crazy as to attempt to compile Lazarus with a different Component Library,

[lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Lukas Gradl
Sorry, might need a little bit more sleep - but at the moment I'm stuck: I've to convert some files from Delphi to FPC (2.3.1, using Lazarus 0.9.25 only as an editor) In Delphi there is a a class TExample defined in file1.pas. TExample=class protected FValue:longint; end; in file2.pas I

Re: [lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Mattias Gaertner
On Fri, 28 Dec 2007 21:38:47 +0100 Lukas Gradl [EMAIL PROTECTED] wrote: Sorry, might need a little bit more sleep - but at the moment I'm stuck: I've to convert some files from Delphi to FPC (2.3.1, using Lazarus 0.9.25 only as an editor) In Delphi there is a a class TExample defined in

Re: [lazarus] Module viewer Controller

2007-12-28 Thread Marc Santhoff
Am Freitag, den 28.12.2007, 14:16 -0300 schrieb Wanderlan Santos dos Anjos: Hi Marc, I have plans to convert this lib, but not now. ___Please let me know if you decide to convert it___ I will, if so. I will try to help you, despite the little time I have at this moment. For me this

Re: [lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Lukas Gradl
Mattias Gaertner schrieb: On Fri, 28 Dec 2007 21:38:47 +0100 Lukas Gradl [EMAIL PROTECTED] wrote: Sorry, might need a little bit more sleep - but at the moment I'm stuck: I've to convert some files from Delphi to FPC (2.3.1, using Lazarus 0.9.25 only as an editor) In Delphi there is a a

Re: [lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Vincent Snijders
Lukas Gradl schreef: Mattias Gaertner schrieb: On Fri, 28 Dec 2007 21:38:47 +0100 Lukas Gradl [EMAIL PROTECTED] wrote: Sorry, might need a little bit more sleep - but at the moment I'm stuck: I've to convert some files from Delphi to FPC (2.3.1, using Lazarus 0.9.25 only as an editor)

Re: [lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Marius
In Delphi there is a a class TExample defined in file1.pas. TExample=class protected FValue:longint; end; in file2.pas I did: use file1; {...} Example:=TExample.Create; if Example.FValue=0 then begin... {...} When compiling with FPC and $MODE DELPHI I get an Identifier not found error. Any

[lazarus] GTK2 controls didn't display text

2007-12-28 Thread 12 12
I found it is impossible to use any text controls (such as TEdit) with GTK2 if changed some parameters of font. At the same time the same project compiled with GTK displays text. What's the matter? In attached example i just changed the color of Edit1. I use svn 12247 under Mandriva. -- 12 12

[lazarus] GTK2 didn't display non-UTF8 characters

2007-12-28 Thread 12 12
In attached examples Memo1 displays only word OK if project compiled with GTK2, and it displays all strings if project compiled witk GTK. 1.Is it right that the same project works differently depending on widgetset? 2.How can i use GTK2 controls for logging some output which may contain random

Re: [lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Lukas Gradl
You must be wrong because this example will not work in delphi (i tried). The only way you can use this mechanisme when the code of file1 is located in file2. There's a simple trick though: TExampleFriend=class(TExample); end; if TExampleFriend(Example).FValue=0 then begin... Really

Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-28 Thread 12 12
Sorry, i forgot to attach example in my previous message. -- 12 12 aka skywriter gtk_differs_gtk2.tar.gz Description: GNU Zip compressed data

Re: [lazarus] protected-Variables not visible in another file?

2007-12-28 Thread Marius
But I'm shure there's no Class-descendant in file2. Am I right that the handling of protected-statements should be the same in D7 and FPC? Then I'm looking elsewhere for the solution to this mysterious phenomenon... *bg* AFAIK they behave exactly the same. I can only think you are

[lazarus] Help installing package rxnew 1.1.5.98

2007-12-28 Thread Horacio Jamilis
Hi, I am trying to install the rxnew package without success (I already have most availables packages from ccr). But I have a link error when I install this package. If I uninstall it, lazarus links properly. I was unable to understand where the problem is. I was unable to find any reference

Re: [lazarus] Help installing package rxnew 1.1.5.98

2007-12-28 Thread Vincent Snijders
Horacio Jamilis schreef: Hi, I am trying to install the rxnew package without success (I already have most availables packages from ccr). But I have a link error when I install this package. If I uninstall it, lazarus links properly. I was unable to understand where the problem is. I was