[Lazarus] Extract LazFreeType from LazUtils

2013-02-02 Thread Alexander Klenin
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 propose to move LazFreeType to a separate package. -- Alexander S. Kleni

[Lazarus] Project Options dialog

2013-02-02 Thread Howard Page-Clark
This is a suggestion for improving the Project Options UI. The Application (settings) page now sports several platform-specific options. I think it would be better to group these by platform, and have the list of settings identified by platform. Something like: Cross-platform settings ---

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mattias Gaertner
On Sat, 02 Feb 2013 19:00:17 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > On Sat, 02 Feb 2013 15:37:51 + > > Mark Morgan Lloyd wrote: > > > >> [...] > /usr/local/src/inifiles > /usr/local/src/inifiles/trunk > > /usr/local/src/heavywethers > /usr/loca

Re: [Lazarus] LazReport Band.name patch

2013-02-02 Thread Jesus Reyes
--- El sáb 2-feb-13, Giuliano Colla escribió: > De: Giuliano Colla > Asunto: LazReport Band.name patch > A: lazarus@lists.lazarus.freepascal.org > Cc: "Jesus Reyes" > Fecha: sábado, 2 de febrero de 2013, 8:32 > While implementing an application > which uses LazReport, trying to take advantage

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Sat, 02 Feb 2013 15:37:51 + Mark Morgan Lloyd wrote: [...] /usr/local/src/inifiles /usr/local/src/inifiles/trunk /usr/local/src/heavywethers /usr/local/src/heavywethers/trunk /usr/local/src/heavywethers/inifiles -> /usr/local/src/inifiles with the project only

Re: [Lazarus] Split lazarus v0.0.0.1 build 2

2013-02-02 Thread Graeme Geldenhuys
On 2013-02-02 11:52, ik wrote: > Hello, > > I'm happy to announce that my Split Lazarus v0.0.0.1 build 2 is ready. Thanks, this could be very handy for large units or classes - viewing the interface and implementation section at the same time. I'll definitely give it a try. Regards, - Graeme

Re: [Lazarus] IDE window positions

2013-02-02 Thread Juha Manninen
On Sat, Feb 2, 2013 at 4:00 PM, zeljko wrote: > No, but we know root of problems for now. > Gtk2WSForms.pp, line 168, GDK_CONFIGURE. This does not explain why it happens with QT and Windows bindings, too. Reading the bug report, Vincent got the problem on Windows. Anyway, it was not an uninitial

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
> I added a TDesignerMediator.UseRTTIForMethods. > I don't have an example to test it myself. Works flawless. Thanks. Joost. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mattias Gaertner
On Sat, 02 Feb 2013 15:37:51 + Mark Morgan Lloyd wrote: >[...] > >> /usr/local/src/inifiles > >> /usr/local/src/inifiles/trunk > >> > >> /usr/local/src/heavywethers > >> /usr/local/src/heavywethers/trunk > >> /usr/local/src/heavywethers/inifiles -> /usr/local/src/inifiles > >> > >> with the p

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Mattias Gaertner
On Sat, 2 Feb 2013 15:05:51 +0100 Joost van der Sluis wrote: > > Joost van der Sluis wrote: > > > > > Hi all, > > > > > > I'm writing my own method propertyeditor. And I want it to create the > > > source > > for a new method. Only problem is that it should use the RTTI-information > > to

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: symlink? I notice that the IDE doesn't much like this, with extra tabbed panes being opened whenever there's a compilation error and the risk of "file changed on disk" inconsistencies if I don't force a manual save. Symlinked files are a problem. I've never tried that.

Re: [Lazarus] IDE window positions

2013-02-02 Thread Ludo Brands
On 02/02/2013 03:00 PM, zeljko wrote: > No, but we know root of problems for now. > Gtk2WSForms.pp, line 168, GDK_CONFIGURE. I've maded that patch to fix > problems > with composite manager , so maybe something can be extended there (or checked > if X and Y are valid at all). Try to disable that

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mattias Gaertner
On Sat, 02 Feb 2013 15:07:51 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > >>> Set a breakpoint in TCustomFrame.Create and single step to see what is > >>> executed. > >> I'm still trying to look at this, but a side question if I may. Could > >> this be caused by the fact that o

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: Set a breakpoint in TCustomFrame.Create and single step to see what is executed. I'm still trying to look at this, but a side question if I may. Could this be caused by the fact that one of the directories is accessed via a symlink? I notice that the IDE doesn't much li

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
> Wow. That's the worst hack of the IDE. I was glad to get rid of it and > now someone asks for its return. > Are you sure you need them? I can think of two other options: (Maybe there are more, let me know if you can think of any...) 1: Adapt the codetools in such a way that when dealing with a

[Lazarus] LazReport Band.name patch

2013-02-02 Thread Giuliano Colla
While implementing an application which uses LazReport, trying to take advantage of OnBeginBand I discovered that Band.Name is never set and is left as an empty string. This can be annoying if you have more than one Band of the same type, so that Band.Typ is not enough to tell the right band. He

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mattias Gaertner
On Sat, 02 Feb 2013 14:14:46 + Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: > > Mark Morgan Lloyd hat am 31. Januar 2013 > > um > > 11:38 geschrieben: > >> Mattias Gaertner wrote: > >>> On Thu, 31 Jan 2013 10:00:31 + > >>> Mark Morgan Lloyd wrote: > >>> > [...] > > It sh

Re: [Lazarus] Buttons in frames

2013-02-02 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: Mark Morgan Lloyd hat am 31. Januar 2013 um 11:38 geschrieben: Mattias Gaertner wrote: On Thu, 31 Jan 2013 10:00:31 + Mark Morgan Lloyd wrote: [...] It should work. Can you create a small example to demonstrate the problem? I can't duplicate it with a newly-cr

Re: [Lazarus] IDE window positions

2013-02-02 Thread Mark Morgan Lloyd
zeljko wrote: On Saturday 02 of February 2013 11:00:22 Mark Morgan Lloyd wrote: zeljko wrote: Might be worth checking whether this is specific to GTK, i.e. Qt is unaffected. I notice that when running a Lazarus+GTK program (including the IDE itself) on Debian+KDE (which I believe is comparable

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
> Joost van der Sluis wrote: > > > Hi all, > > > > I'm writing my own method propertyeditor. And I want it to create the > > source > for a new method. Only problem is that it should use the RTTI-information to > obtain the method's parameters. > > > > Now if I look at TMainIDE.OnPropHookCre

Re: [Lazarus] IDE window positions

2013-02-02 Thread zeljko
On Saturday 02 of February 2013 13:20:05 Ludo Brands wrote: > On 02/02/2013 12:36 PM, zeljko wrote: > > hm...do you use compositing manager ? If yes, can you disable it and then > > make an trial to see if positions are ok ? > > KWin with the XRender compositing backend. Default for kubuntu. When

Re: [Lazarus] Creating methods using rtti-info

2013-02-02 Thread Mattias Gaertner
On Sat, 2 Feb 2013 12:33:52 +0100 Joost van der Sluis wrote: > Hi all, > > I'm writing my own method propertyeditor. And I want it to create the source > for a new method. Only problem is that it should use the RTTI-information to > obtain the method's parameters. > > Now if I look at TMainID

Re: [Lazarus] IDE window positions

2013-02-02 Thread Hans-Peter Diettrich
Ludo Brands schrieb: Tired of re-positioning IDE windows after lazarus start-up I have defined custom positions for the main IDE windows. Now, when I start up the computer and start lazarus, the windows are all messed up. I close lazarus, restart lazarus and some of the windows are in the correct

Re: [Lazarus] IDE window positions

2013-02-02 Thread Ludo Brands
On 02/02/2013 12:36 PM, zeljko wrote: > > hm...do you use compositing manager ? If yes, can you disable it and then > make > an trial to see if positions are ok ? KWin with the XRender compositing backend. Default for kubuntu. When disabling desktop effects the problem is gone. The problem see

[Lazarus] Split lazarus v0.0.0.1 build 2

2013-02-02 Thread ik
Hello, I'm happy to announce that my Split Lazarus v0.0.0.1 build 2 is ready. It's at this time very basic, and lack of real support of real editing the same context. I would be happy for tests etc, to let me know what they think, and how to make the idea better. Please note: * I add two menu ite

Re: [Lazarus] IDE window positions

2013-02-02 Thread zeljko
On Saturday 02 of February 2013 10:45:31 Ludo Brands wrote: > On 02/02/2013 10:14 AM, Juha Manninen wrote: > > Sounds like this bug: > > http://bugs.freepascal.org/view.php?id=14906 > > > > although you apparently hit the bug much more often than others. > > For example I see it only once in few

Re: [Lazarus] IDE window positions

2013-02-02 Thread zeljko
On Saturday 02 of February 2013 10:47:45 Graeme Geldenhuys wrote: > On 2013-02-02 09:25, zeljko wrote: > > Actually, pager minimizes windows when you switch desktops , thats how > > virtual desktops works on X11. > > No, not always true as far as I know. Maybe it is dependent on the > window manag

[Lazarus] Creating methods using rtti-info

2013-02-02 Thread Joost van der Sluis
Hi all, I'm writing my own method propertyeditor. And I want it to create the source for a new method. Only problem is that it should use the RTTI-information to obtain the method's parameters. Now if I look at TMainIDE.OnPropHookCreateMethod, it does exactly what I want except that CodeToolBo

Re: [Lazarus] IDE window positions

2013-02-02 Thread zeljko
On Saturday 02 of February 2013 11:00:22 Mark Morgan Lloyd wrote: > zeljko wrote: > >> Might be worth checking whether this is specific to GTK, i.e. Qt is > >> unaffected. I notice that when running a Lazarus+GTK program (including > >> the IDE itself) on Debian+KDE (which I believe is comparable w

Re: [Lazarus] IDE window positions

2013-02-02 Thread Ludo Brands
On 02/02/2013 10:14 AM, Juha Manninen wrote: > I am thinking what can cause the randomness. There are no asynchronous > messages, no threading, no complex widgetset interaction when setting > the window positions. > It is done in Lazarus code. Values are read from a config file and > windows and gi

Re: [Lazarus] IDE window positions

2013-02-02 Thread Mark Morgan Lloyd
zeljko wrote: Might be worth checking whether this is specific to GTK, i.e. Qt is unaffected. I notice that when running a Lazarus+GTK program (including the IDE itself) on Debian+KDE (which I believe is comparable with Kubuntu) some windows sporadically minimise themselves when desktops are swi

Re: [Lazarus] IDE window positions

2013-02-02 Thread Graeme Geldenhuys
On 2013-02-02 09:25, zeljko wrote: > > Actually, pager minimizes windows when you switch desktops , thats how > virtual > desktops works on X11. No, not always true as far as I know. Maybe it is dependent on the window manager or virtual desktop applet. eg: Take the FVWM2 window manager. You ca

Re: [Lazarus] IDE window positions

2013-02-02 Thread Ludo Brands
On 02/02/2013 10:14 AM, Juha Manninen wrote: > Sounds like this bug: > http://bugs.freepascal.org/view.php?id=14906 > > although you apparently hit the bug much more often than others. > For example I see it only once in few months yet I start Lazarus often. > It means that you are the only pers

Re: [Lazarus] IDE window positions

2013-02-02 Thread Graeme Geldenhuys
On 2013-02-02 07:52, Ludo Brands wrote: > be the reason for some of the complaints of some people about window > positions not always being restored correctly (Graeme?). [ I like how my name gets brought into this. ;-) ] I've always used "Custom Position" for the main windows I am interested in

Re: [Lazarus] IDE window positions

2013-02-02 Thread Graeme Geldenhuys
On 2013-02-02 09:11, Mark Morgan Lloyd wrote: > the IDE itself) on Debian+KDE (which I believe is comparable with > Kubuntu) some windows sporadically minimise themselves when desktops are > switched. I've seen this too, but not for a very long time. Regards, - Graeme - -- fpGUI Toolkit - a

Re: [Lazarus] IDE window positions

2013-02-02 Thread zeljko
On Saturday 02 of February 2013 10:11:33 Mark Morgan Lloyd wrote: > Ludo Brands wrote: > > Hi all, > > > > kubuntu 12.04 64 bit. lazarus 1.0.4 and 1.1 39930. > > > > Tired of re-positioning IDE windows after lazarus start-up I have > > defined custom positions for the main IDE windows. Now, when

Re: [Lazarus] IDE window positions

2013-02-02 Thread Juha Manninen
On Sat, Feb 2, 2013 at 11:11 AM, Mark Morgan Lloyd wrote: > Might be worth checking whether this is specific to GTK, i.e. Qt is > unaffected. It happens with QT, too. What about the other widgetsets, Windows and OS/X? I don't know > I notice that when running a Lazarus+GTK program (including t

Re: [Lazarus] IDE window positions

2013-02-02 Thread Juha Manninen
Sounds like this bug: http://bugs.freepascal.org/view.php?id=14906 although you apparently hit the bug much more often than others. For example I see it only once in few months yet I start Lazarus often. It means that you are the only person who can debug the problem. :) I am thinking what can

Re: [Lazarus] IDE window positions

2013-02-02 Thread Mark Morgan Lloyd
Ludo Brands wrote: Hi all, kubuntu 12.04 64 bit. lazarus 1.0.4 and 1.1 39930. Tired of re-positioning IDE windows after lazarus start-up I have defined custom positions for the main IDE windows. Now, when I start up the computer and start lazarus, the windows are all messed up. I close lazarus,

Re: [Lazarus] IDE window positions

2013-02-02 Thread Ludo Brands
On 02/02/2013 09:23 AM, Mattias Gaertner wrote: > > Yes, please search if it is already reported. > As usual, I started with that but obviously didn't find anything. A wider search brings up this very old one although there is nothing about custom positions, http://bugs.freepascal.org/view.php?

Re: [Lazarus] IDE window positions

2013-02-02 Thread Mattias Gaertner
On Sat, 02 Feb 2013 08:52:17 +0100 Ludo Brands wrote: > Hi all, > > kubuntu 12.04 64 bit. lazarus 1.0.4 and 1.1 39930. > > Tired of re-positioning IDE windows after lazarus start-up I have > defined custom positions for the main IDE windows. Now, when I start up > the computer and start lazarus