Re: [Lazarus] Project Options dialog

2013-02-03 Thread leledumbo
I'd rather have those options appear when the target platform combobox changes -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Project-Options-dialog-tp4029037p4029039.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. --

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: 1. Why should the compiler report a wrong path? That's not quite what I said. You pointed out that the IDE was converting the relative path to an absolute one which is what the compiler sees, the compiler reports an absolute path in any error message, and by the time

Re: [Lazarus] Project Options dialog

2013-02-03 Thread Reinier Olislagers
On 3-2-2013 9:23, leledumbo wrote: I'd rather have those options appear when the target platform combobox changes I would prefer Howard's idea - having all options visible means you can set them for any other platform in one go... But it's all subjective. ... and as far as we're talking

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 10:42:33 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: 1. Why should the compiler report a wrong path? That's not quite what I said. You pointed out that the IDE was converting the relative path to an absolute one which is

Re: [Lazarus] AlignControls

2013-02-03 Thread Juha Manninen
On Fri, Feb 1, 2013 at 1:47 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Well, your AlignControls should move them anyway, so that would be sufficient. Thanks Mattias, I got it working. You can set Child.ControlStyle:=Child.ControlStyle+[csDesignFixedBounds]; This had no effect in

[Lazarus] Control Notification bug?

2013-02-03 Thread Juha Manninen
My new TCoolBar component uses overridden notification: procedure Notification(AComponent: TComponent; Operation: TOperation); override; When Operation is opInsert, it adds a band and associates the new control with it. It works as expected when a control is dropped on a CoolBar. However,

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: [TCompiler.Compile] CmdLine=/usr/local/bin/ppc386-2.6.0 -MObjFPC -Scagi -O1 -g -gl -vewnhi -Se3 -Fi/usr/local/share/lazarus-trunk/ide -Fl/opt/gnome/lib -Fu/usr/local/src/heavywethers/inifiles/trunk .. Compiling HeavyWethers.lpr Compiling

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 13:32:09 +0200 Juha Manninen juha.mannine...@gmail.com wrote: My new TCoolBar component uses overridden notification: procedure Notification(AComponent: TComponent; Operation: TOperation); override; When Operation is opInsert, it adds a band and associates the new

Re: [Lazarus] AlignControls

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 13:17:22 +0200 Juha Manninen juha.mannine...@gmail.com wrote: On Fri, Feb 1, 2013 at 1:47 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Well, your AlignControls should move them anyway, so that would be sufficient. Thanks Mattias, I got it working. You

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 14:19:14 +1100 Alexander Klenin kle...@gmail.com wrote: I have recently applied several patches to LazFreeType. Why looking over it, I wonder -- why is it part of LazUtils as opposed to a separate package? Note that LazUtils is very basic package -- even LCLBase depends on

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Juha Manninen
On Sun, Feb 3, 2013 at 1:44 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 3 Feb 2013 13:32:09 +0200 Juha Manninen juha.mannine...@gmail.com wrote: No. The Notification is inherited from TComponent. So, it's about Owner, not about TControl.Parent. Most controls are owned by the

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 11:37:03 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: [TCompiler.Compile] CmdLine=/usr/local/bin/ppc386-2.6.0 -MObjFPC -Scagi -O1 -g -gl -vewnhi -Se3 -Fi/usr/local/share/lazarus-trunk/ide -Fl/opt/gnome/lib

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 13:58:42 +0200 Juha Manninen juha.mannine...@gmail.com wrote: [...] In fact the control does not have parent or even name when Notification is called. Apparently the control is still under construction. If I set its properties there, it leads to a crash. I solved it by

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Alexander Klenin
On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 3 Feb 2013 14:19:14 +1100 Alexander Klenin kle...@gmail.com wrote: I have recently applied several patches to LazFreeType. Why looking over it, I wonder -- why is it part of LazUtils as opposed to a

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Alexander Klenin
On Sun, Feb 3, 2013 at 11:42 PM, Alexander Klenin kle...@gmail.com wrote: I propose to move LazFreeType to a separate package. What units belong to it? lazfreetype.pas lazfreetypefontcollection.pas ttcache.pas ttcalc.pas ttcalc1.inc ttcalc2.inc ttcalc3.inc ttcalc4.inc ttcmap.pas

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 23:42:08 +1100 Alexander Klenin kle...@gmail.com wrote: On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 3 Feb 2013 14:19:14 +1100 Alexander Klenin kle...@gmail.com wrote: I have recently applied several patches to

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Juha Manninen
On Sun, Feb 3, 2013 at 2:17 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Why not override InsertControl and RemoveControl? Because I didn't realize those methods existed. :) I will try them next ... Juha -- ___ Lazarus mailing list

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: but I now have two tabbed panes in my source editor: DbConfigCode2 and DbConfigCode2(2) with the latter focussed. And that's where you loose me. Why should /usr/local/src/inifiles/trunk/dbconfigcode2.pas be open in the editor? From the project's point of view it is an

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 13:13:21 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: but I now have two tabbed panes in my source editor: DbConfigCode2 and DbConfigCode2(2) with the latter focussed. And that's where you loose me. Why should

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Sun, 03 Feb 2013 13:13:21 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: but I now have two tabbed panes in my source editor: DbConfigCode2 and DbConfigCode2(2) with the latter focussed. And that's where you loose me. Why

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread silvioprog
2013/2/3 Mattias Gaertner nc-gaert...@netcologne.de On Sun, 3 Feb 2013 23:42:08 +1100 Alexander Klenin kle...@gmail.com wrote: On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 3 Feb 2013 14:19:14 +1100 Alexander Klenin kle...@gmail.com wrote:

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 15:14:45 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: [...] SourceEditorManager.SomethingModified Source Editor: /usr/local/src/heavywethers/inifiles/trunk/dbconfigcode2.pas Component=True and the IDE now doesn't open a duplicate tab/pane when

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: Source - Unit Information - General on the new DbConfigCode2(2) tab tells me /usr/local/src/heavywethers/inifiles/trunk/dbconfigcode2.pas [manual transcript] which is what the file should be. ok ... Unit paths refers to /usr/local/src/heavywethers/inifiles/trunk

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-03 Thread Marco van de Voort
On Fri, Feb 01, 2013 at 02:39:00AM +0100, Mattias Gaertner wrote: 'bigide' option, or one of the packages that 'bigide' pulls in has a compile problem under FreeBSD. Please create a bug report with the complete output of the make clean bigide output. And the dates of both fileutil.ppu's.

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-03 Thread Mattias Gaertner
On Thu, 31 Jan 2013 17:33:27 + Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: [...] On 01/31/13 17:25, Graeme Geldenhuys wrote: $ gmake bigide ...snip... Compiling ctunitgroupgraph.pas Assembling ctunitgroupgraph Assembling codetools 117099 lines compiled, 5.6 sec /bin/cp

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-03 Thread Marco van de Voort
On Sun, Feb 03, 2013 at 11:22:10PM +0100, Mattias Gaertner wrote: $ find . -name fileutil.* -print ./components/lazutils/fileutil.inc ./components/lazutils/lib/x86_64-freebsd/fileutil.ppu ./components/lazutils/lib/x86_64-freebsd/fileutil.o This is ok.

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 23:28:45 +0100 Marco van de Voort mar...@stack.nl wrote: On Sun, Feb 03, 2013 at 11:22:10PM +0100, Mattias Gaertner wrote: $ find . -name fileutil.* -print ./components/lazutils/fileutil.inc ./components/lazutils/lib/x86_64-freebsd/fileutil.ppu

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Juha Manninen
On Sun, Feb 3, 2013 at 2:52 PM, Juha Manninen juha.mannine...@gmail.com wrote: On Sun, Feb 3, 2013 at 2:17 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Why not override InsertControl and RemoveControl? Because I didn't realize those methods existed. :) I will try them next ...