[Lazarus] Project additions and overrides

2013-09-15 Thread patspiper
Hi, I am trying to add a new target (eg: abc) for the project options/additions and overrides. Once OK is pressed, re-entering the additions and overrides shows * instead of the specified target! Lazarus 1.3 r42824 FPC 2.6.3 i386-linux-gtk 2 Is it my installation, or shall I open a bug repor

Re: [Lazarus] New version for Lazarus?

2013-09-15 Thread Mattias Gaertner
On Sun, 15 Sep 2013 14:15:04 -0300 Junior wrote: > I was compiling Lazarus and show the message: > > Warning: incorrect version in ide / version.inc: 1.3 > > Was going compile, I better expect more updates. Trunk version was increased to 1.3. You get the warning when you update your svn and th

Re: [Lazarus] New version for Lazarus?

2013-09-15 Thread Martin
On 15/09/2013 18:15, Junior wrote: I was compiling Lazarus and show the message: Warning: incorrect version in ide / version.inc: 1.3 Was going compile, I better expect more updates. This is only an internal version number http://wiki.lazarus.freepascal.org/Version_Numbering So there is no

[Lazarus] New version for Lazarus?

2013-09-15 Thread Junior
I was compiling Lazarus and show the message: Warning: incorrect version in ide / version.inc: 1.3 Was going compile, I better expect more updates. thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepasca

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Marc Santhoff
On So, 2013-09-15 at 15:57 +0100, Martin wrote: > On 15/09/2013 15:20, Marc Santhoff wrote: > > It's not in question how to implement global objects. Some are > > singletons by design and others are not in code but work like they were, > > because the only place the constructor is (allowed to be) c

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Martin
On 15/09/2013 16:24, Martin wrote: On 15/09/2013 16:12, Martin wrote: On 15/09/2013 15:17, Mattias Gaertner wrote: I can add an overlay icon to all the units and uses in cycles if you provide an icon.

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Martin
On 15/09/2013 16:12, Martin wrote: On 15/09/2013 15:17, Mattias Gaertner wrote: I can add an overlay icon to all the units and uses in cycles if you provide an icon. from famfam, recolored, and resized redon

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Martin
On 15/09/2013 15:17, Mattias Gaertner wrote: I can add an overlay icon to all the units and uses in cycles if you provide an icon. from famfam, recolored, and resized <><><><><>-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://li

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Marc Santhoff
On So, 2013-09-15 at 15:54 +0100, Martin wrote: > On 15/09/2013 15:24, Marc Santhoff wrote: > > I can, but then I'd have to choose one of two solutions I don't like: > > having to free the automatically created TApplication object or change > > forms.pp. > > Create a descendant of TComponent, an

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Martin
On 15/09/2013 15:20, Marc Santhoff wrote: It's not in question how to implement global objects. Some are singletons by design and others are not in code but work like they were, because the only place the constructor is (allowed to be) called is the inittialization section. The qeustion is where

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Martin
On 15/09/2013 15:24, Marc Santhoff wrote: I can, but then I'd have to choose one of two solutions I don't like: having to free the automatically created TApplication object or change forms.pp. Create a descendant of TComponent, and have it owned by the application, that should take care of it

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Martin
On 15/09/2013 15:17, Mattias Gaertner wrote: On Sun, 15 Sep 2013 13:54:51 +0100 Martin wrote: Not so much confused, as had my expectation to high. That is finding circles, before compiling, therefore seeing all circles, instead of resolving them one by one. I can add an overlay icon to all th

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Martin
On 15/09/2013 15:17, Mattias Gaertner wrote: On Sun, 15 Sep 2013 13:54:51 +0100 Martin wrote: On 15/09/2013 13:42, Mattias Gaertner wrote: On Tue, 10 Sep 2013 22:05:02 +0100 Martin wrote: On 10/09/2013 21:17, Mattias Gaertner wrote: Hi all, When you now right click on unit in a uses sect

Re: [Lazarus] Install/Uninstall package form: "Do not install" & more

2013-09-15 Thread Reinier Olislagers
On 14/09/2013 16:48, Maxim Ganetsky wrote: > 14.09.2013 12:24, Reinier Olislagers пишет: >> On 14/09/2013 00:19, Maxim Ganetsky wrote: >>> 13.09.2013 11:31, Reinier Olislagers пишет: >> after marking for uninstallation: >> Current state: installed, RunAndDesignTime >> expected: >> Current state: ma

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Marc Santhoff
On Sa, 2013-09-14 at 21:24 -0700, leledumbo wrote: > In short, you can't put it in the .dpr if you want it to be accessible from > all units. Actually, there's not really any magic behind TApplication, you > can still create your own TApplication descendant (preferably in its own > unit) and assign

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Marc Santhoff
On So, 2013-09-15 at 10:36 +0100, Graeme Geldenhuys wrote: > On 2013-09-15 04:22, Marc Santhoff wrote: > > How do you handle this? > > How can I meet the spec and put all global into the .dpr-file? > > > I use the Singleton design pattern for the solution. I often create a > Application Class (no

Re: [Lazarus] Form size locked

2013-09-15 Thread Mattias Gaertner
On Sun, 15 Sep 2013 13:17:42 + Mark Morgan Lloyd wrote: > It appears that a bsDialog form has its actual width and height locked > once it has been displayed by ShowModal. Components inside the form, > e.g. a PageControl with client alignment, see the dimensions that have > been set under

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Mattias Gaertner
On Sun, 15 Sep 2013 13:54:51 +0100 Martin wrote: > On 15/09/2013 13:42, Mattias Gaertner wrote: > > On Tue, 10 Sep 2013 22:05:02 +0100 > > Martin wrote: > > > >> On 10/09/2013 21:17, Mattias Gaertner wrote: > >>> Hi all, > >>> > >>> When you now right click on unit in a uses section to get the p

[Lazarus] Form size locked

2013-09-15 Thread Mark Morgan Lloyd
It appears that a bsDialog form has its actual width and height locked once it has been displayed by ShowModal. Components inside the form, e.g. a PageControl with client alignment, see the dimensions that have been set under program control but the actual form size can be significantly differe

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Martin
On 15/09/2013 13:42, Mattias Gaertner wrote: On Tue, 10 Sep 2013 22:05:02 +0100 Martin wrote: On 10/09/2013 21:17, Mattias Gaertner wrote: Hi all, When you now right click on unit in a uses section to get the popup menu, click on "Find / Find references of used unit" to find all references i

Re: [Lazarus] New feature: Find references of a used unit

2013-09-15 Thread Mattias Gaertner
On Tue, 10 Sep 2013 22:05:02 +0100 Martin wrote: > On 10/09/2013 21:17, Mattias Gaertner wrote: > > Hi all, > > > > When you now right click on unit in a uses section to get the popup > > menu, click on "Find / Find references of used unit" to find all > > references in the current unit to the us

Re: [Lazarus] Possible bug?

2013-09-15 Thread Mattias Gaertner
On Wed, 11 Sep 2013 06:58:16 +0100 Richard Mace wrote: > If you put a TPairSplitter on a form, then in the right sire add a > TNotebook, then add a page, then add a memo that is anchored Top,Left and > Right. When you resize the main form in design, the memo correctly wraps, > but at runtime it d

Re: [Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

2013-09-15 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: This was useful information, thanks. Now only m68k and powerpc are missing. I'll see if I can fill in any gaps. My Mac's not booting (capacitor plague?) and while somebody's given me a couple more as developer machines they've got some proprietary operating system

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Graeme Geldenhuys
On 2013-09-15 10:36, Graeme Geldenhuys wrote: > class (and related unit) directly. This is called Dependency Injection - > yet another software design pattern that removes hard-coded dependencies. I forgot to mention, using Interfaces are also immensely useful in this situation. Also makes it ver

Re: [Lazarus] global items in TApplication

2013-09-15 Thread Graeme Geldenhuys
On 2013-09-15 04:22, Marc Santhoff wrote: > How do you handle this? > How can I meet the spec and put all global into the .dpr-file? I use the Singleton design pattern for the solution. I often create a Application Class (nothing to do with TApplication) that keeps track of such things like globa

Re: [Lazarus] WordWrap in TLabel

2013-09-15 Thread Graeme Geldenhuys
On 2013-09-14 15:08, Jürgen Hestermann wrote: > Too bad that programmers have less and less > of their programs under their control. Hence the reason I have always been pro about fully custom implemented toolkits. The developer then has FULL control over the look, feel and behaviour of the toolkit