Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Juha Manninen
On Sun, Feb 3, 2013 at 2:52 PM, Juha Manninen wrote: > On Sun, Feb 3, 2013 at 2:17 PM, Mattias Gaertner > wrote: >> Why not override InsertControl and RemoveControl? > > Because I didn't realize those methods existed. :) > I will try them next ... Done. Juha --

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 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 > > > > ./components/la

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. > > > > ./compone

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 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 -f Ma

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 fileuti

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 whi

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 15:14:45 + Mark Morgan Lloyd 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 the compiler > complains

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread silvioprog
2013/2/3 Mattias Gaertner > On Sun, 3 Feb 2013 23:42:08 +1100 > Alexander Klenin wrote: > > > On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner > > wrote: > > > On Sun, 3 Feb 2013 14:19:14 +1100 > > > Alexander Klenin wrote: > > > > > >> I have recently applied several patches to LazFreeType.

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 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 /usr/local/src/inifiles

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 13:13:21 + Mark Morgan Lloyd 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 /usr/local/src/inifi

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

Re: [Lazarus] Control Notification bug?

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

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 23:42:08 +1100 Alexander Klenin wrote: > On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner > wrote: > > On Sun, 3 Feb 2013 14:19:14 +1100 > > Alexander Klenin wrote: > > > >> I have recently applied several patches to LazFreeType. > >> Why looking over it, I wonder -- why is

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Alexander Klenin
On Sun, Feb 3, 2013 at 11:42 PM, Alexander Klenin 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 Alexander Klenin
On Sun, Feb 3, 2013 at 10:54 PM, Mattias Gaertner wrote: > On Sun, 3 Feb 2013 14:19:14 +1100 > Alexander Klenin 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 LazU

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 13:58:42 +0200 Juha Manninen 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 using OnIdle handler. N

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 11:37:03 + Mark Morgan Lloyd 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 -Fu/usr/local/src/heavywethers/inifil

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Juha Manninen
On Sun, Feb 3, 2013 at 1:44 PM, Mattias Gaertner wrote: > On Sun, 3 Feb 2013 13:32:09 +0200 > Juha Manninen wrote: > No. The Notification is inherited from TComponent. So, it's about > Owner, not about TControl.Parent. Most controls are owned by the form. Ok. >> I solved the problem by checking

Re: [Lazarus] Extract LazFreeType from LazUtils

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 14:19:14 +1100 Alexander Klenin 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 it. > I pro

Re: [Lazarus] AlignControls

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 13:17:22 +0200 Juha Manninen wrote: > On Fri, Feb 1, 2013 at 1:47 PM, Mattias Gaertner > 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.Co

Re: [Lazarus] Control Notification bug?

2013-02-03 Thread Mattias Gaertner
On Sun, 3 Feb 2013 13:32:09 +0200 Juha Manninen 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 > control with it. > It

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 /usr/local/src/heavywethers/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, CoolB

Re: [Lazarus] AlignControls

2013-02-03 Thread Juha Manninen
On Fri, Feb 1, 2013 at 1:47 PM, Mattias Gaertner 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 my tests. The control c

Re: [Lazarus] Buttons in frames

2013-02-03 Thread Mattias Gaertner
On Sun, 03 Feb 2013 10:42:33 + Mark Morgan Lloyd 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 what the > >> compiler

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 ab

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 i

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. -- _