[lazarus] Dialogs have disappeared from last svn's

2008-01-09 Thread Giuliano Colla

Since a few updates a lot of dialogs fails to show on IDE.

Project and compiler options (both old style and new style), Package 
dialogs, Tools-Configure build Lazarus, Environment and Editor options 
Debugger Options, Code Templates, fail to open.

CodeTools Options and Codetools define work properly.

The window list however lists some dialog windows as existing, even if 
they don't show.


Last svn revision known to work was 13626.

Platform is Linux, widgetset gtk1, fpc 2.0.4 and 2.2.0 (no difference).

Giuliano

--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] [patch] FPCunit Console Test Runner

2008-01-09 Thread Graeme Geldenhuys
Hi,

I attached a patch which makes 'FormatParam' a property of TTestRunner
instead of a variable defined in the implementation section.

This changes allows users to create descendant TTestRunner classes and
override the values of FormatParam, StyleSheet, ShowProcess etc... Or
give them preferred default values, if nothing was specified from the
command line.


PS:
 Shouldn't we move ConsoleTestRunner to FPC instead of having it
defined in Lazarus?


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
Index: components/fpcunit/console/consoletestrunner.pas
===
--- components/fpcunit/console/consoletestrunner.pas	(revision 13293)
+++ components/fpcunit/console/consoletestrunner.pas	(working copy)
@@ -43,15 +43,17 @@
 
   TTestRunner = class(TCustomApplication)
   private
- FShowProgress: boolean;
- FFileName: string;
- FStyleSheet: string;
- FLongOpts: TStrings;
+FShowProgress: boolean;
+FFileName: string;
+FStyleSheet: string;
+FLongOpts: TStrings;
+FFormatParam: TFormat;
   protected
 property FileName: string read FFileName write FFileName;
 property LongOpts: TStrings read FLongOpts write FLongOpts;
 property ShowProgress: boolean read FShowProgress write FShowProgress;
 property StyleSheet: string read FStyleSheet write FStyleSheet;
+property FormatParam: TFormat read FFormatParam write FFormatParam;
 procedure DoRun; override;
 procedure doTestRun(aTest: TTest); virtual;
 function GetShortOpts: string; virtual;
@@ -129,8 +131,6 @@
   // do nothing
 end;
 
-var
-  FormatParam: TFormat;
 {$IFDEF VER2_0}
 procedure TTestRunner.doTestRun(aTest: TTest);
 var


Re: [lazarus] [patch] FPCunit Console Test Runner

2008-01-09 Thread Vincent Snijders

Graeme Geldenhuys schreef:

Hi,

PS:
 Shouldn't we move ConsoleTestRunner to FPC instead of having it
defined in Lazarus?


Yes, go ahead. Move it.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] porn on lazarus wiki

2008-01-09 Thread willem

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.

But the Lazarus Core Developers are not distured by this Fact !!!

Regards Wim

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] porn on lazarus wiki

2008-01-09 Thread Vincent Snijders

willem schreef:

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.


I assume you removed it? Or don't you have an account on the wiki.



But the Lazarus Core Developers are not distured by this Fact !!!



As far as I know, they are ignorant of the fact.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] porn on lazarus wiki

2008-01-09 Thread Vincent Snijders

A.J. Venter schreef:

willem wrote:

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.

But the Lazarus Core Developers are not distured by this Fact !!!

We are busy evaluating each and every link very, very carefully and 
studiously. Once we have completed our study, we will remove whatever we 
deem insufficiently entertaining.



Just kidding.


I just checked: 
http://wiki.lazarus.freepascal.org/Special:Search?search=porngo=Go

No porn. ;-)

Please provide the links to the wiki pages, so that they can be cleaned.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] porn on lazarus wiki

2008-01-09 Thread Swen Heinig



willem schrieb:

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.


Do you have examples for that? In the moment I can't see any porn link.

Regards,
Swen


But the Lazarus Core Developers are not distured by this Fact !!!

Regards Wim

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives




_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] [patch] FPCunit Console Test Runner

2008-01-09 Thread Vincent Snijders

Graeme Geldenhuys schreef:

Hi,

I attached a patch which makes 'FormatParam' a property of TTestRunner
instead of a variable defined in the implementation section.

This changes allows users to create descendant TTestRunner classes and
override the values of FormatParam, StyleSheet, ShowProcess etc... Or
give them preferred default values, if nothing was specified from the
command line.


Thanks. Applied.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] porn on lazarus wiki

2008-01-09 Thread A.J. Venter

willem wrote:

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.

But the Lazarus Core Developers are not distured by this Fact !!!

We are busy evaluating each and every link very, very carefully and 
studiously. Once we have completed our study, we will remove whatever we 
deem insufficiently entertaining.



Just kidding.
I'm guessing we are talking spammers here - perhaps
1) you could send a link so we can clean it up (I'll be happy to help, I 
use the wiki almost daily and have several page-edits there but I 
haven't come across the spam yet)

2) Somebody could see about some spam-prevention technology for the wiki  ?

AJ


--
Any sufficiently advanced technology is indistinguishable from magic - 
Clarke's law
Any technology that is distinguishable from magic is insufficiently 
advanced -Gehm's corollary
Any technologist that is distinguishable from a magician is 
insufficiently advanced - My corollary

The worlds worst webcomic: http://silentcoder.co.za/scartoonz
The worlds best cybercafe manager: http://outkafe.outkastsolutions.co.za

begin:vcard
fn:AJ Venter
n:Venter;AJ
org:Global Pact Trading Pty. Ltd.;OutKast Solutions
email;internet:[EMAIL PROTECTED]
title:Director of Product Development
tel;work:+27 21 554 5059
tel;fax:+27 11 252 9197
tel;cell:+27 83 455 9978
url:http://www.outkastsolutions.co.za
version:2.1
end:vcard



Re: [lazarus] porn on lazarus wiki

2008-01-09 Thread Lee Jenkins

willem wrote:

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.

But the Lazarus Core Developers are not distured by this Fact !!!

Regards Wim



This one sure got some people fired up to investigate ;)

--
Warm Regards,

Lee

If I don't see you around here, I'll see you around, hear?

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Dialogs have disappeared from last svn's

2008-01-09 Thread Marc Weustink

Giuliano Colla wrote:

Since a few updates a lot of dialogs fails to show on IDE.

Project and compiler options (both old style and new style), Package 
dialogs, Tools-Configure build Lazarus, Environment and Editor options 
Debugger Options, Code Templates, fail to open.

CodeTools Options and Codetools define work properly.

The window list however lists some dialog windows as existing, even if 
they don't show.


Last svn revision known to work was 13626.

Platform is Linux, widgetset gtk1, fpc 2.0.4 and 2.2.0 (no difference).


Whoops... I forgot to checkin a realy important part of my changes in 
r13663.

This is comitted in r13691

Marc

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] porn on lazarus wiki

2008-01-09 Thread willem

Lee Jenkins wrote:

willem wrote:

Well I am a newbie of Lazarus.

So i did use the Lazarus Wiki many times.
But I did notice that Porn sites did also discoved the Wiki of Lazarus.

But the Lazarus Core Developers are not distured by this Fact !!!

Regards Wim



This one sure got some people fired up to investigate ;)


Next time a make a screen shot of it :-)

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Dialogs have disappeared from last svn's

2008-01-09 Thread Giuliano Colla

Marc Weustink ha scritto:


Whoops... I forgot to checkin a realy important part of my changes in 
r13663.


Happens even in best families! :-)


This is comitted in r13691



Thanks,

Giuliano

--
Giuliano Colla

Whenever people agree with me, I always feel I must be wrong (O. Wilde)

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] PlotPanel component exits with SIGSEGV exception

2008-01-09 Thread Marien van Westen
Hi all,

I have used my PlotPanel component for a long time with Lazarus and Delphi.
Recently I discovered that in the latest version (0.9.24) the TryPlotPanel
program will compile without problems, but on starting execution it fails
with an External SIGSEGV error.
I tried to make a backtrace with gdb, but that doesn't give me any clue
about what happened.

Does any user of PlotPanel know what went wrong or what was changed in
Lazarus version 0.9.24 compared with 0.9.22 that might cause this error?

Thanks,
Marien


Re: [lazarus] For Webmaster of http://www.lazarus.freepascal.org

2008-01-09 Thread Vincent Snijders

Liyuan Garcia Caballero schreef:

Have 3 News items waiting to be published


I have published three news items.

Michael, can some kind of notification be added, so I know when there 
are pending news items.


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Building Lazarus Failed

2008-01-09 Thread Antonio Sanguigni
Hi all,

I'm try to compile Lazarus under Xubuntu 7.10 and I got an error I never
saw:

Linking ../lazarus
/usr/bin/ld: cannot find -lm
lazarus.pp(114,1) Error: Error while linking
lazarus.pp(114,1) Fatal: There were 1 errors compiling module, stopping

-lm ? What kind of library I'm missing ?

Thanks.
Antonio
-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


Re: [lazarus] Building Lazarus Failed

2008-01-09 Thread Mattias Gaertner
On Wed, 9 Jan 2008 23:19:25 +0100
Antonio Sanguigni [EMAIL PROTECTED] wrote:

 Hi all,
 
 I'm try to compile Lazarus under Xubuntu 7.10 and I got an error I
 never saw:
 
 Linking ../lazarus
 /usr/bin/ld: cannot find -lm
 lazarus.pp(114,1) Error: Error while linking
 lazarus.pp(114,1) Fatal: There were 1 errors compiling module,
 stopping
 
 -lm ? What kind of library I'm missing ?

libc6-dev


Did you try
sudo apt-get install libgtk2.0-dev libgdk-pixbuf-dev libgtk1.2-dev
?

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] For Webmaster of http://www.lazarus.freepascal.org

2008-01-09 Thread Liyuan Garcia Caballero

Have 3 News items waiting to be published
begin:vcard
fn:Liyuan Garcia Caballero
n:Garcia Caballero;Liyuan
org:Desoft;Nodo
adr:;;;Ciego de Avila;;;Cuba
email;internet:[EMAIL PROTECTED]
title:Administrador de red
tel;work:53-033-266200 ext 105
x-mozilla-html:TRUE
url:http://www.cav.desoft.cu
version:2.1
end:vcard



Re: [lazarus] Building Lazarus Failed

2008-01-09 Thread Antonio Sanguigni

 libc6-dev


 Did you try
 sudo apt-get install libgtk2.0-dev libgdk-pixbuf-dev libgtk1.2-dev
 ?


Not sure for the first one, I'm sure for the last two libraries. Now it
works.

Thanks.

-- 
Antonio Sanguigni alias slapshot
--
GioveLUG (Linux User Group) - http://www.giovelug.org
Edupup (Educational distro) - http://www.edupup.org


Re: [lazarus] For Webmaster of http://www.lazarus.freepascal.org

2008-01-09 Thread Michael A. Hess
On Wed, 9 Jan 2008, Vincent Snijders wrote:

 Liyuan Garcia Caballero schreef:
  Have 3 News items waiting to be published

 I have published three news items.

 Michael, can some kind of notification be added, so I know when there
 are pending news items.

Oops, my bad.

Actually I do get an email notification when something is submitted for
publication. However, I had to turn off the email server the other day due
to something being done to that server. I forgot to turn it back on so I
didn't get the notices.

-- 
 Programming my first best destiny! 

Michael A. Hess  Miracle Concepts, Inc.
[EMAIL PROTECTED]   http://www.miraclec.com
Phone: 570-388-2211  Fax: 570-388-6101

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] CPU usage and desktop window Z-order in WinXP

2008-01-09 Thread Jalal
First, thanks for all the efforts put into Lazarus and FPC. I am a long-time 
Delphi user that began using Lazarus to write a command line application for 
Linux. Bit by bit I am figuring out the multitude of differences from Delphi. I 
have not tried compiling a Linux binary yet.

Development environment: Lazarus 0.9.24 on WinXP pro SP2

I am encountering some strange behaviour, two of which are:

1. When editing source code Lazarus CPU usage frequently goes to 100%. I have 
tried to pinpoint the trigger but not sure yet. Seems more likely in a source 
file with conditional directives ala {$IFDEF FPC} etc. Usually saving the 
editor file will bring CPU usage back to normal. Sometimes if the window is 
maximized CPU usage does not go back to normal until the window is restored 
down. This is not a show-stopper, and I would hardly notice it except for my 
CPU fan keeps accelerating to full speed while I work in Lazarus!

2. Lazarus seems to do strange things with the Z-order of application windows 
on my desktop. I often flip between windows using Alt-TAB, but Lazarus seems to 
throw the Z-order into an unpredictable shuffle. Again, not a show-stopper, but 
I have never seen one application mess with the Z-order of other applications 
this way!

Any advice, apart from Live with it or fix it yourself?

Thanks!


Re: [lazarus] Building Lazarus Failed

2008-01-09 Thread Andrew Haines
Antonio Sanguigni wrote:
 Hi all,
 
 I'm try to compile Lazarus under Xubuntu 7.10 and I got an error I never
 saw:
 
 Linking ../lazarus
 /usr/bin/ld: cannot find -lm
 lazarus.pp(114,1) Error: Error while linking
 lazarus.pp(114,1) Fatal: There were 1 errors compiling module, stopping
 
 -lm ? What kind of library I'm missing ?

m is the math library. so it's looking for libm.so. It's possible it's
named libmath.so. Either way it's looking for libm.so.

Regards,

Andrew

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] google android contest

2008-01-09 Thread willem

I want to participate in the google android contest.

I want to argue to google that the lazarus object pascal platform is a 
better choice  than Java.


I use the gentoo benchmark as a means make a case of it see 
http://shootout.alioth.debian.org/gp4/


In this benchmark game :-)  you can find interesting things in the 
regex-dna benchmark.

In this benchmark Java has as ranking of 4 and free pascal a ranking of 6.
the cputime of Java is 3.26 seconds, Free Pascal takes 4.37 seconds.
But the the memory usage of Java is 50.736 Kb, Free Pascal 11.436 Kb. So 
Free Pascal is much more memory efficient.


But of you look further on this benchmark then you see a very 
interesting alternative program ::  Free Pascal #3 !

this Free Pascal  Program uses 1.10 seconds and uses 19.604 Kb of memory.

So in this benchmark you can see that Free Pascal is much better  than  
Java.

But this Free Pascal #3  is more  complex  than the original program.

Optimization is a complex process. To reduce this complexity  we have to 
reverse enginer both  programs.

The steps I want  to  follow is :
Document the program with Fpdoc. and my goal is to produce UML  
documentation.
The Ecliopse Ide has plugins  to accomplish  this  goal , for  example  
there  is a hypermodel  plugin.

In UML you can document Software Programs very well.
And the complex optimization process becomes much clearer

Regards Wim


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] MouseMove problem in WinCE

2008-01-09 Thread Paul Michell
On Sunday 06 January 2008 08:37:59 Felipe Monteiro de Carvalho wrote:
 On Jan 4, 2008 2:40 PM, Paul Michell [EMAIL PROTECTED] wrote:
  Would you like me to submit a separate bug report still?

 Yes. It's similar, but not equal to the already reported problems.
 After you report it, I would mark it as related to the other mentioned
 reports.

  I would like to try, but I am under time-constraints at the moment. I am
  working on my first commercial FPC/Lazarus project

 Cool, is that a wince project or a desktop project which you are
 testing to see if it can also work on wince?

It's a Tablet PC GIS data capture application (Win32) which I am hoping I will 
be able to compile for PDA's as well. I used to write this sort of 
application in Delphi, but I have decided to migrate to FPC/Lazarus as I feel 
it is heading in the right direction whilst Delphi is turning into Pascal for 
DotNet!

I was hoping to use TCanvas as a means of producing a truly portable code 
base, but I have had to fall back on Win API code for the mapping, which 
obviously means I would have to maintain separate sources to support 
Linux/Mac targets. On the bright side, I simply couldn't do this in Delphi 
anyway!

Thanks for looking at this,

Paul

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] fpdoc documentation problem

2008-01-09 Thread willem

I call fpdoc with fpdoc --package=regexdna --input=regexdna.pas

This is the example of the fpdoc documentation.

And should be created a directory regdna which contains the  Documentation.
But that does not occur .

regards Wim

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives