Re: [Lazarus] Auto scrollbar in forms, has the logic changed?

2008-08-29 Thread Luca Olivetti
En/na Mattias Gaertner ha escrit: On Thu, 28 Aug 2008 20:33:44 +0200 (CEST) Luca Olivetti [EMAIL PROTECTED] wrote: With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I corrected the problem by making them a couple of pixels bigger (though that made the

Re: [Lazarus] Auto scrollbar in forms, has the logic changed?

2008-08-29 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Luca Olivetti schreef: With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I corrected the problem by making them a couple of pixels bigger (though that made the contained components slightly off-center), but what was changed to

[Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread Graeme Geldenhuys
Hi Everybody, I have been battling with some code in tiOPF that causes problems when compiled with Delphi 2007, but not with Delphi 7 and FPC. After some head scratching, we found the problem. I use {$IFDEF DEBUG} quite often in my code, to hide things like writeln() statemens. I then have a

Re: [Lazarus] Auto scrollbar in forms, has the logic changed?

2008-08-29 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: En/na Vincent Snijders ha escrit: Luca Olivetti schreef: With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I corrected the problem by making them a couple of pixels bigger (though that made the contained components slightly

Re: [Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: Hi Everybody, I have been battling with some code in tiOPF that causes problems when compiled with Delphi 2007, but not with Delphi 7 and FPC. After some head scratching, we found the problem. I use {$IFDEF DEBUG} quite often in my code, to

[Lazarus] Mantis question

2008-08-29 Thread Graeme Geldenhuys
Hi, I just saw Mantis notice in my inbox - http://bugs.freepascal.org/view.php?id=11933 2008-08-28 18:44 Mattias GaertnerWidgetsetGTK, GTK 2, Win32, WinCE, Carbon, QT, fpGUI = - I've seen this before. The bug report doesn't

Re: [Lazarus] Auto scrollbar in forms, has the logic changed?

2008-08-29 Thread Mattias Gärtner
Zitat von Luca Olivetti [EMAIL PROTECTED]: En/na Mattias Gaertner ha escrit: On Thu, 28 Aug 2008 20:33:44 +0200 (CEST) Luca Olivetti [EMAIL PROTECTED] wrote: With a recent svn (from last week) most of my forms acquired unwanted scrollbars. I corrected the problem by making them a

[Lazarus] Feature Request with code tools

2008-08-29 Thread Reenen Laurie
Hi everyone, I now spent a lot of time customizing my spaces after and before (on Environment - Code Tools Options - Spaces), just the way I like it. Now I want a feature to Select a piece of code, and then Apply the current *code tool options *on the selected code. Because all my old code

Re: [Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Mattias Gärtner wrote: Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: Hi Everybody, I have been battling with some code in tiOPF that causes problems when compiled with Delphi 2007, but not with Delphi 7 and FPC. After some head scratching, we found the

[Lazarus] Seeking to resolve LCL in DLL problems

2008-08-29 Thread Duncan Parsons
Hi Im looking at trying to resolve the issue of forms not working properly in DLLs, and thought canvassing opinions from those more intimately aquainted with the source might be beneficial. I know its not slated to be recolved until post v1.0, but I cant wait that long! What Im currently

Re: [Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread Graeme Geldenhuys
On Fri, Aug 29, 2008 at 9:27 AM, Mattias Gärtner [EMAIL PROTECTED] wrote: Will FPC do the same in Delphi mode? It's nothing todo with the compiler, it's the IDE that injects '-dDebug' when the project is compiled in Debug mode. I would guess (though not tested), that '-dRelease' is injected

Re: [Lazarus] Feature Request with code tools

2008-08-29 Thread Graeme Geldenhuys
2008/8/29 Reenen Laurie [EMAIL PROTECTED]: Hi everyone, I now spent a lot of time customizing my spaces after and before (on Environment - Code Tools Options - Spaces), just the way I like it. I've done the same, but found a easier solution in the end Now I want a feature to Select a

Re: [Lazarus] Feature Request with code tools

2008-08-29 Thread Reenen Laurie
Thanks, that sounds like a great solution! Regards, -Reenen On Fri, Aug 29, 2008 at 10:05 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: 2008/8/29 Reenen Laurie [EMAIL PROTECTED]: Hi everyone, I now spent a lot of time customizing my spaces after and before (on Environment - Code

Re: [Lazarus] Feature Request with code tools

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: 2008/8/29 Reenen Laurie [EMAIL PROTECTED]: Hi everyone, I now spent a lot of time customizing my spaces after and before (on Environment - Code Tools Options - Spaces), just the way I like it. I've done the same, but found a easier

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: Hi, May applications, but mostly installations packages like InstallShield use a Wizard style interface. Start application, click Next, Next, Next, Finish. :-) How do you create such a Wizard interface? * Is in a lot of forms, displayed

Re: [Lazarus] Auto scrollbar in forms, has the logic changed?

2008-08-29 Thread Luca Olivetti
En/na Mattias Gärtner ha escrit: Please create a bug report with an example. http://bugs.freepascal.org/view.php?id=11991 It would help if you could determine the svn revision of the regression. Find binary search you could find out easily. The default of AutoScroll was changed in revision

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Burkhard Carstens
Am Freitag, 29. August 2008 10:29 schrieb Michael Van Canneyt: On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: Hi, May applications, but mostly installations packages like InstallShield use a Wizard style interface. Start application, click Next, Next, Next, Finish. :-) How do you

Re: [Lazarus] Seeking to resolve LCL in DLL problems

2008-08-29 Thread Marco van de Voort
On Fri, Aug 29, 2008 at 08:55:56AM +0100, Duncan Parsons wrote: (please turn off the html stuff) (i)nbsp;nbsp; Library is loaded, either statically or dynamicallybr / (ii)nbsp; DLL has an exported function 'SetHostApplication(HostApp:TApplication):TApplication;' before the host app can use

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Reenen Laurie
On Windows, I use InnoSetup to create those wizards. And I am very happy with it. I have not used Nullsoft or any other compiler creator, but Inno has a very good balance between power and ease. Regards, -Reenen On Fri, Aug 29, 2008 at 10:29 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote:

Re: [Lazarus] Feature Request with code tools

2008-08-29 Thread Graeme Geldenhuys
On Fri, Aug 29, 2008 at 10:30 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote: If the source is available, why don't you recompile it for Linux ? please read the comments in the feature request. http://bugs.freepascal.org/view.php?id=11933 JCF relies on many Jedi Code Library (JCL) features

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Graeme Geldenhuys
On Fri, Aug 29, 2008 at 10:29 AM, Michael Van Canneyt [EMAIL PROTECTED] wrote: Anybody have some hints on this? How to recreate such an GUI interface. At work, we routinely use a TPageControl with all tabs set to invisible. The TTabsheet pages are filled with TFrames (actually, there is always

Re: [Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread mitya boyarintsev
how about, redirecting writeln's somethere in Delphi Debug mode? something like that. I'm not sure if it works initialization {$ifndef fpc}{$ifdef debug} AssignFile(output, 'redirstdout.txt'); Rewrite(output); {$endif}{$endif} finalization {$ifndef fpc}{$ifdef debug} CloseFile(output);

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Graeme Geldenhuys
2008/8/29 Reenen Laurie [EMAIL PROTECTED]: On Windows, I use InnoSetup to create those wizards. And I am very happy with it. I have not used Nullsoft or any other compiler creator, but Inno has a very good balance between power and ease. :-) I don't want to create a Setup, I want to create

Re: [Lazarus] Word of warning when sharing code between Delphi and FPC

2008-08-29 Thread Graeme Geldenhuys
2008/8/29 mitya boyarintsev [EMAIL PROTECTED]: how about, redirecting writeln's somethere in Delphi Debug mode? something like that. I'm not sure if it works After thinking about it for a while it hit me!! The code I'm working with is from the tiOPF project. It already has a solution via

Re: [Lazarus] Feature Request with code tools

2008-08-29 Thread Graeme Geldenhuys
On Fri, Aug 29, 2008 at 11:22 AM, Marco van de Voort [EMAIL PROTECTED] wrote: Start identifying what JCF uses exactly from it, and try to substitute (or wrap) parts of it. Thank is exactly what Paul Ishenin started doing Regards, - Graeme -

Re: [Lazarus] Mantis question

2008-08-29 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, I just saw Mantis notice in my inbox - http://bugs.freepascal.org/view.php?id=11933 2008-08-28 18:44 Mattias GaertnerWidgetsetGTK, GTK 2, Win32, WinCE, Carbon, QT, fpGUI = - I've seen

Re: [Lazarus] How to create a Wizard (InstallShield type) interface

2008-08-29 Thread Michael Van Canneyt
On Fri, 29 Aug 2008, Burkhard Carstens wrote: Am Freitag, 29. August 2008 10:29 schrieb Michael Van Canneyt: On Fri, 29 Aug 2008, Graeme Geldenhuys wrote: Hi, May applications, but mostly installations packages like InstallShield use a Wizard style interface. Start application,

Re: [Lazarus] Revision 16278 can not rebuild the IDE

2008-08-29 Thread Vincent Snijders
Luiz Americo Pereira Camara schreef: Luiz Americo Pereira Camara wrote: Trying to rebuild the IDE leads to an error Fatal: Config file is a directory. One more info that can help. The config files are stored at a path with accented characters: C:\Documents and

Re: [Lazarus] IDE doesn't start after build with lazbuild

2008-08-29 Thread Roland Turcan
29.8.2008 14:04 - Mattias Gärtner [EMAIL PROTECTED] MG Zitat von Roland Turcan [EMAIL PROTECTED]: Hello lazarus project! When I build lazarus from actual SVN or older using by lazbuild, then lazarus doesn't start. MG Open a terminal and start it there: MG cd path/to/lazarus MG

Re: [Lazarus] Revision 16278 can not rebuild the IDE

2008-08-29 Thread Mattias Gärtner
Zitat von Vincent Snijders [EMAIL PROTECTED]: Luiz Americo Pereira Camara schreef: Luiz Americo Pereira Camara wrote: Trying to rebuild the IDE leads to an error Fatal: Config file is a directory. One more info that can help. The config files are stored at a path with accented

[Lazarus] Security issue (symlink attack) in Lazarus filed on Fedora's bugzilla

2008-08-29 Thread Joost van der Sluis
Hi all, As the packager of Lazarus in Fedora, I get notifications if someone files a bug in Fedora's bug-tracker. Now someone added a bug-report with a security issue: https://bugzilla.redhat.com/show_bug.cgi?id=460642 And indeed, if someone add a symlink like 'ln -s /tmp/fpc_patchdir /etc'

Re: [Lazarus] IDE doesn't start after build with lazbuild

2008-08-29 Thread Mattias Gaertner
On Fri, 29 Aug 2008 14:24:41 +0200 Roland Turcan [EMAIL PROTECTED] wrote: 29.8.2008 14:04 - Mattias Gärtner [EMAIL PROTECTED] MG Zitat von Roland Turcan [EMAIL PROTECTED]: Hello lazarus project! When I build lazarus from actual SVN or older using by lazbuild, then lazarus doesn't

Re: [Lazarus] Need some help with UpdateSQL in TSQLQuery and TMySQL50Connection

2008-08-29 Thread Howard Lee Harkness
On Thu, Aug 28, 2008 at 4:37 PM, Joost van der Sluis [EMAIL PROTECTED] wrote: So now I understand what your problem is: actually it's not a problem with applyUpdates, but you want that it's called 'automagically'. I think you'd better place the ApplyUpdates in the after-scroll event, in

Re: [Lazarus] Security issue (symlink attack) in Lazarus filed on Fedora's bugzilla

2008-08-29 Thread Vincent Snijders
Joost van der Sluis schreef: Hi all, As the packager of Lazarus in Fedora, I get notifications if someone files a bug in Fedora's bug-tracker. Now someone added a bug-report with a security issue: https://bugzilla.redhat.com/show_bug.cgi?id=460642 And indeed, if someone add a symlink

Re: [Lazarus] Security issue (symlink attack) in Lazarus filed on Fedora's bugzilla

2008-08-29 Thread ik
You should create a temporary name or check and see where the symlink follows before executing/removing it. So if it does not point for the right direction, you just exit with an error. Ido On Fri, Aug 29, 2008 at 5:53 PM, Vincent Snijders [EMAIL PROTECTED] wrote: Joost van der Sluis schreef:

Re: [Lazarus] Security issue (symlink attack) in Lazarus filed on Fedora's bugzilla

2008-08-29 Thread Martin Friebe
Just some ideas on the topic. IMHO the tmp-dir should have a random, or pseudo-random element to it, and the current script should not (at least not without asking) delete a tmp-dir. A random element (such as the PID ) would solve issues if 2 different users run the script simultaneously (e.g

Re: [Lazarus] Security issue (symlink attack) in Lazarus filed on Fedora's bugzilla

2008-08-29 Thread Joost van der Sluis
Op vrijdag 29-08-2008 om 15:53 uur [tijdzone +0200], schreef Mattias Gaertner: On Fri, 29 Aug 2008 14:55:00 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: Hi all, As the packager of Lazarus in Fedora, I get notifications if someone files a bug in Fedora's bug-tracker. Now

Re: [Lazarus] Security issue (symlink attack) in Lazarus filed on Fedora's bugzilla

2008-08-29 Thread Mattias Gaertner
On Fri, 29 Aug 2008 18:31:42 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: Op vrijdag 29-08-2008 om 15:53 uur [tijdzone +0200], schreef Mattias Gaertner: On Fri, 29 Aug 2008 14:55:00 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: Hi all, As the packager of Lazarus in

Re: [Lazarus] Need some help with UpdateSQL in TSQLQuery and TMySQL50Connection

2008-08-29 Thread Jesus Reyes
--- El jue 28-ago-08, Howard Lee Harkness [EMAIL PROTECTED] escribió: De:: Howard Lee Harkness [EMAIL PROTECTED] Asunto: Re: [Lazarus] Need some help with UpdateSQL in TSQLQuery and TMySQL50Connection A: General mailing list lazarus@lazarus.freepascal.org Fecha: jueves, 28 agosto, 2008,