Re: [lazarus] Parameter not used ...

2006-02-24 Thread Vincent Snijders
Geno Roupsky wrote: There are very few situations where the sender is nil and still if you expect such a case you can always write something like: Assert((Sender = nil) or (Sender <> nil)); or Assert(True or (Sender=nil)). But it remains ugly, IMHO. I will try to implement an option in the

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Geno Roupsky
There are very few situations where the sender is nil and still if you expect such a case you can always write something like: Assert((Sender = nil) or (Sender <> nil));2006/2/24, Vincent Snijders <[EMAIL PROTECTED]>: Andreas Berger wrote:> Geno Roupsky wrote:>>> a nicer workaroung is this Ass

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Vincent Snijders
Andreas Berger wrote: Geno Roupsky wrote: a nicer workaroung is this Assert(Sender <> nil); Thanks :) this could do the trick. That is, until somebody actually compiles that code with assertions enabled and Sender=nil. ;-) Vincent. _

Re: [lazarus] Program plugin

2006-02-24 Thread L505
> > If you choose for a dll system, I would choose Interfaces (and indeed, > don't pass strings, dyn arrays or classes) > > Marc > I don't have much experience with interfaces and would like to learn more about them. Can you import/export one to and from other languages? i.e. c++/c/etc. _

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Alexsander Rosa
Just to confirm: the Assert workaround with assertions turned off will avoid the hint AND will not generate code, right? If so, this is better than any other workaround! But anyway it would be nicer if FPC could have a flag to ignore this specific hint when the parameter is a specific string ("Sen

Re: [lazarus] Lazarus not longer compileable with FPC 2.0.0 ??

2006-02-24 Thread Christian U.
ok, have installed 2.0.2 - Original Message - From: "Mattias Gaertner" <[EMAIL PROTECTED]> To: Sent: Friday, February 24, 2006 7:34 PM Subject: Re: [lazarus] Lazarus not longer compileable with FPC 2.0.0 ?? On Fri, 24 Feb 2006 18:06:08 +0100 "Christian U." <[EMAIL PROTECTED]> wrote:

Re: [lazarus] Lazarus not longer compileable with FPC 2.0.0 ??

2006-02-24 Thread Mattias Gaertner
On Fri, 24 Feb 2006 18:06:08 +0100 "Christian U." <[EMAIL PROTECTED]> wrote: > I get an error when i try to compile Lazarus SVN with FPC 2.0.0 Use Lazarus 0.9.10 with FPC 2.0.0. Lazarus 0.9.12 needs FPC 2.0.2 Mattias _ To un

Re: [lazarus] Qt4 Progress

2006-02-24 Thread Mattias Gaertner
On Fri, 24 Feb 2006 07:41:19 -0300 Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > Hello, > > I sent a Qt4 patch to [EMAIL PROTECTED] (it was too big to > be sent to the ML, even after bzip2) > > I am posting here just to tell the rest of the comunity what it contains. > > * Implement

Re: [lazarus] German translation taborderdlg and anchoreditor to resourcestring

2006-02-24 Thread Mattias Gaertner
On Thu, 23 Feb 2006 21:15:46 +0100 "Darius Blaszijk" <[EMAIL PROTECTED]> wrote: > Darius Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http:/

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Mattias Gaertner
On Fri, 24 Feb 2006 11:07:11 +0200 "Geno Roupsky" <[EMAIL PROTECTED]> wrote: > a nicer workaroung is this > > Assert(Sender <> nil); > > as this will produce code only if assertion is turned on and this is not > the case with production builds. Good idea. I added this an example for an IDE Qui

[lazarus] Lazarus not longer compileable with FPC 2.0.0 ??

2006-02-24 Thread Christian U.
I get an error when i try to compile Lazarus SVN with FPC 2.0.0 Christian - Original Message - From: "Andreas Berger" <[EMAIL PROTECTED]> To: Sent: Friday, February 24, 2006 12:26 PM Subject: Re: [lazarus] Parameter not used ... Geno Roupsky wrote: a nicer workaroung is this As

Re: [lazarus] cannot find -lgdk-x11-2.0

2006-02-24 Thread Geno Roupsky
installing libgtk2.0-dev and libgdk-pixbuf2 should do the trick Geno Roupsky2006/2/24, Panagiotis Sidiropoulos <[EMAIL PROTECTED]>: > Are you building Lazarus for GTK 2 ?Yes.> IIRC gdk-x11-2.0 comes with the gdk2 packages.I failed to find gdk2 packages neither through Synaptic orpackages.debian.or

Re: [lazarus] VitrualTreeView

2006-02-24 Thread Christian U.
use the actual cvs version please, there all actual "lazarus issues" :) are fixed i will upload an new version to the code and components repositore when i finished the drag&drop support - Original Message - From: "Razvan Adrian Bogdan" <[EMAIL PROTECTED]> To: Sent: Tuesday, Februar

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Andreas Berger
Geno Roupsky wrote: a nicer workaroung is this Assert(Sender <> nil); Thanks :) this could do the trick. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.laza

Re: [lazarus] Patch for msgview.pp

2006-02-24 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, Attached is a patch to color code the $Warning messages as well (as was done for $NOTE and $HINT). (It is a patch against todays nightly build. Sorry in is not against SVN, I still can't seem to connect to SVN) Regards, - Graeme - Thanks. Applied. Vincent.

[lazarus] Qt4 Progress

2006-02-24 Thread Felipe Monteiro de Carvalho
Hello, I sent a Qt4 patch to [EMAIL PROTECTED] (it was too big to be sent to the ML, even after bzip2) I am posting here just to tell the rest of the comunity what it contains. * Implemented TTimer. I think this is 100% implemented. * Implemented TCheckBox * Implemented TRadioButton * Fixe

[lazarus] Patch for msgview.pp

2006-02-24 Thread Graeme Geldenhuys
Hi, Attached is a patch to color code the $Warning messages as well (as was done for $NOTE and $HINT). (It is a patch against todays nightly build. Sorry in is not against SVN, I still can't seem to connect to SVN) Regards, - Graeme - msgview.pp.diff Description: Binary data

RE: [lazarus] cannot find -lgdk-x11-2.0

2006-02-24 Thread Panagiotis Sidiropoulos
> Are you building Lazarus for GTK 2 ? Yes. > IIRC gdk-x11-2.0 comes with the gdk2 packages. I failed to find gdk2 packages neither through Synaptic or packages.debian.org. Please feel free to correct me ine case of using wrong terminoly, my experience on Linux is limited. Any ideas? Panagioti

Re: [lazarus] cannot find -lgdk-x11-2.0

2006-02-24 Thread Marc Weustink
Panagiotis Sidiropoulos wrote: While rebuilding Lazarus, I get error messge: - /usr/bin/ld: cannot find -lgdk-x11-2.0 Are you building Lazarus for GTK 2 ? IIRC gdk-x11-2.0 comes with the gdk2 packages. Marc I tried to update gtk library using Synaptic. It found 32 files to update but on 3

[lazarus] cannot find -lgdk-x11-2.0

2006-02-24 Thread Panagiotis Sidiropoulos
While rebuilding Lazarus, I get error messge: - /usr/bin/ld: cannot find -lgdk-x11-2.0 I tried to update gtk library using Synaptic. It found 32 files to update but on 30th file following messages appeared: http://pkg-kde.alioth.debian.org/kde-3.4.0/./Packages.gz: 404 Not Found http://pkg-kde.alio

Re: [lazarus] Parameter not used ...

2006-02-24 Thread Geno Roupsky
a nicer workaroung is this Assert(Sender <> nil); as this will produce code only if assertion is turned on and this is not the case with production builds. Geno Roupsky2006/2/21, Tony Pelton <[EMAIL PROTECTED]>: On 2/21/06, Andreas Berger <[EMAIL PROTECTED]> wrote:> I know that this question sho

Re: [lazarus] Program plugin

2006-02-24 Thread Philippe.martinole
Hello, > If you choose for a dll system, I would choose Interfaces (and indeed, > don't pass strings, dyn arrays or classes) What you mean with "Interfaces" ? Philippe Message sent using UebiMiau 2.7.8 ___

Re: [lazarus] Program plugin

2006-02-24 Thread Marc Weustink
L505 wrote: Could someone give me an idea? I am writing an application to which I hope to add functionality later. One option would be to simple send out the new exe to all users. However, I would like to implement a plugin system. So a new feature could simply be added and totaly integrated to t