Re: [Lazarus] Package management questions

2010-05-17 Thread Helmut Hartl
Am 15.05.10 18:14, schrieb Mattias Gaertner: On Fri, 14 May 2010 17:25:46 +0200 Mattias Gaertner wrote: On Fri, 14 May 2010 16:39:06 +0200 Helmut Hartl wrote: [...] [...] Nice would be when lazarus drops my known packages simply on project open from the other branch dir, and uses

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gaertner
On Mon, 17 May 2010 06:41:48 +0200 cobines wrote: > It's reported in Mantis. > > http://bugs.freepascal.org/view.php?id=16389 > http://bugs.freepascal.org/view.php?id=15699 > > The solution is to copy the needed .lfm files manually to the units > directory, where FPC can find them. That is a w

Re: [Lazarus] Package management questions

2010-05-17 Thread Mattias Gaertner
On Mon, 17 May 2010 09:49:42 +0200 Helmut Hartl wrote: > Am 15.05.10 18:14, schrieb Mattias Gaertner: > > On Fri, 14 May 2010 17:25:46 +0200 > > Mattias Gaertner wrote: > > > > > >> On Fri, 14 May 2010 16:39:06 +0200 > >> Helmut Hartl wrote: > >> > >> [...] > >> > >>> [...] > >>> Nice

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Michael Van Canneyt
On Mon, 17 May 2010, Mattias Gaertner wrote: On Mon, 17 May 2010 06:41:48 +0200 cobines wrote: It's reported in Mantis. http://bugs.freepascal.org/view.php?id=16389 http://bugs.freepascal.org/view.php?id=15699 The solution is to copy the needed .lfm files manually to the units directory,

Re: [Lazarus] StretchDraw and antialiasing in 0.9.28

2010-05-17 Thread Michael Schnell
On 05/13/2010 09:36 AM, Graeme Geldenhuys wrote: > Lanczos is already implemented in the extinterpolation.pp unit. > Classis named TLanczosInterpolation (line 69). Together with several others. GREAT !! -Michael -- ___ Lazarus mailing list Lazarus@list

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gaertner
On Mon, 17 May 2010 11:14:31 +0200 (CEST) Michael Van Canneyt wrote: > > > On Mon, 17 May 2010, Mattias Gaertner wrote: > > > On Mon, 17 May 2010 06:41:48 +0200 > > cobines wrote: > > > >> It's reported in Mantis. > >> > >> http://bugs.freepascal.org/view.php?id=16389 > >> http://bugs.freepas

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Michael Van Canneyt
On Mon, 17 May 2010, Mattias Gaertner wrote: On Mon, 17 May 2010 11:14:31 +0200 (CEST) Michael Van Canneyt wrote: On Mon, 17 May 2010, Mattias Gaertner wrote: On Mon, 17 May 2010 06:41:48 +0200 cobines wrote: It's reported in Mantis. http://bugs.freepascal.org/view.php?id=16389 http

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gaertner
On Mon, 17 May 2010 11:48:36 +0200 (CEST) Michael Van Canneyt wrote: > > > On Mon, 17 May 2010, Mattias Gaertner wrote: > > > On Mon, 17 May 2010 11:14:31 +0200 (CEST) > > Michael Van Canneyt wrote: > > > >> > >> > >> On Mon, 17 May 2010, Mattias Gaertner wrote: > >> > >>> On Mon, 17 May 2010

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Brad Campbell
Mattias Gaertner wrote: On Mon, 17 May 2010 06:41:48 +0200 cobines wrote: It's reported in Mantis. http://bugs.freepascal.org/view.php?id=16389 http://bugs.freepascal.org/view.php?id=15699 The solution is to copy the needed .lfm files manually to the units directory, where FPC can find them.

Re: [Lazarus] Suggestion: Remove GTK1 support from IDE and LCL.

2010-05-17 Thread Gustavo Enrique Jimenez
2010/5/15 Krisztián Nagy : > "Does anyone use a Linux distribution that is no longer supported by it's > maker? > If so why?" > There was a discussion in the thread about the usage of old releases, see it > there. > I personally know people who use for example old ubuntu because their > hardware is

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell : [...] The build falls over on the first lfm file with a relative path. [...] [29.463] Compiling resource ../units/powerpc-darwin/lazarus.or [29.463] Calling resource compiler "/opt/cross/bin/fpcres" with "-o ../units/powerpc-darwin/lazarus.or -a powerpc -of mach-o -v

Re: [Lazarus] Code navigation

2010-05-17 Thread Joost van der Sluis
On Mon, 2010-05-03 at 20:30 +0200, Mattias Gaertner wrote: > On Sun, 02 May 2010 12:20:49 +0200 > Marc Weustink wrote: > > > Hans-Peter Diettrich wrote: > > > Leonardo M. Ramé schrieb: > > >> Hi, does anyone knows if the editor has those arrows (light blue if i > > >> remember correctly) that has

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread patspiper
On 05/17/2010 03:55 PM, Mattias Gärtner wrote: The paths are correct. Just to make sure: The file units/powerpc-darwin/keymapshortcutdlg.lfm does not exist, right? The lfm file is copied by the compiler when it compiles the keymapshortcutdlg.ppu. Maybe the ppu file was already there, but the

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Brad Campbell
Mattias Gärtner wrote: The paths are correct. Just to make sure: The file units/powerpc-darwin/keymapshortcutdlg.lfm does not exist, right? Right The lfm file is copied by the compiler when it compiles the keymapshortcutdlg.ppu. Maybe the ppu file was already there, but the lfm was missing

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Brad Campbell
Mattias Gärtner wrote: The lfm file is copied by the compiler when it compiles the keymapshortcutdlg.ppu. Maybe the ppu file was already there, but the lfm was missing? Can you check what happens when you delete keymapshortcutdlg.ppu and then compile? Does it copy the lfm to units/powerpc-dar

Re: [Lazarus] TSQLQuery and creating a new record

2010-05-17 Thread Joost van der Sluis
On Sun, 2010-05-16 at 15:46 -0500, Albert Zuurbier wrote: > Over the past few days I have tried creating and editing new records > with the TSQLQuery component. I succeeded, but with quite a > workaround. > > As stated in bug report 0016076 (not authored by me) TSQLQuery gives > errors if you try

[Lazarus] striggrid colmoving

2010-05-17 Thread Andrea Mauri
dear all, (Lazarus 0.9.29 r25476 FPC 2.4.0 i386-win32-win32/win64) I found a problem in colmoving that there isn't in previous svn versions. If I put a stringgrid on a form and I enable the colmoving option and in Form create I put: procedure TForm1.FormCreate(Sender: TObject); begin StringGr

Re: [Lazarus] Lazarus make me create better apps

2010-05-17 Thread Razvan Adrian Bogdan
On Thu, May 13, 2010 at 2:41 PM, Marco van de Voort wrote: > > If you can deal with Delphi, and can be substituted by PHP programmers, you > are doing something wrong. What is wrong about web programming in Delphi/FPC ? Of course it can be substituted, PHP is older and many people know it already

[Lazarus] stringgrid copytoclipboard

2010-05-17 Thread Andrea Mauri
Lazarus 0.9.29 r25476 FPC 2.4.0 i386-win32-win32/win64 If I put a TStringGrid on a form and then in Form Click event I put:ù procedure TForm1.FormClick(Sender: TObject); begin StringGrid1.CopyToClipboard(False); end; I properly get the stringgrid in the clipboard if the stringgrid is filled

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell : Mattias Gärtner wrote: The paths are correct. Just to make sure: The file units/powerpc-darwin/keymapshortcutdlg.lfm does not exist, right? [...] Can you check what happens when you delete keymapshortcutdlg.ppu and then compile? Does it copy the lfm to units/po

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell : Mattias Gärtner wrote: The lfm file is copied by the compiler when it compiles the keymapshortcutdlg.ppu. Maybe the ppu file was already there, but the lfm was missing? Can you check what happens when you delete keymapshortcutdlg.ppu and then compile? Does it copy

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Brad Campbell
Mattias Gärtner wrote: Ok, the bug for this one is in my tools. I have an rsync script that updates my lazarus tree from a pristine svn checkout, and that was removing all the .lfm files from the unit paths, but leaving all the object code. (Of course this used to work prior to the change to $

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell : Mattias Gärtner wrote: Ok, the bug for this one is in my tools. I have an rsync script that updates my lazarus tree from a pristine svn checkout, and that was removing all the .lfm files from the unit paths, but leaving all the object code. (Of course this used t

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Brad Campbell
Mattias Gärtner wrote: There is no directory TreeView in the lazarus sources. I guess you added it. And I guess, you have a misconfigured package there, which adds a source path to the IDE. A package should only inherit compiled unit paths. Please check the package there. See for example a new

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread patspiper
On 05/17/2010 07:19 PM, Mattias Gärtner wrote: AFAIK: No. It knows where they are. But it does not check the resource files. It only checks the ppu and the date of the pascal sources (unit + include files). This is more than was Delphi does, but maybe it could also check the resources. You cou

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von patspiper : On 05/17/2010 07:19 PM, Mattias Gärtner wrote: AFAIK: No. It knows where they are. But it does not check the resource files. It only checks the ppu and the date of the pascal sources (unit + include files). This is more than was Delphi does, but maybe it could also ch

Re: [Lazarus] TSQLQuery and creating a new record

2010-05-17 Thread Albert Zuurbier
> would like to discuss (and hopefully learn) about other things I > found. It always amazes me how people can have huge problems with the most simple things. It probably means that there has to be something wrong, somewhere. (Documentation?) Are you familiar with datasets in Delp

[Lazarus] More Live Code Templates

2010-05-17 Thread Lee Jenkins
For the GPL, LGPL and MLGPL copyright notices at the top of source files with $Param() fields for Year, Author and Author Contact parts. Copied form Edit > Insert Text > General menu command. -- Warm Regards, Lee [lgpl | Inserts LGPL Copyright Notice] $(AttributesStart) EnableMakros=true

Re: [Lazarus] Lazarus make me create better apps

2010-05-17 Thread Myles Wakeham
Razvan wrote: >On Thu, May 13, 2010 at 2:41 PM, Marco van de Voort wrote: > > > > If you can deal with Delphi, and can be substituted by PHP programmers, you > > are doing something wrong. > >What is wrong about web programming in Delphi/FPC ? >Of course it can be substituted, PHP is older an

Re: [Lazarus] Lazarus make me create better apps

2010-05-17 Thread Bee Jay
On 18 Mei 2010, at 01:42, Myles Wakeham wrote: > Agreed. PHP is a 'staple' in web development, and is benefited by a large > number of mature frameworks supporting multiple design patterns, IDEs in > large deployments (ie. Eclipse, Netbeans, etc.) and a huge community. Well... with pascal you

[Lazarus] Lazarus fails to compile: Error: Identifier not found "TIComponentInterface"

2010-05-17 Thread Kjow
Hi all, Lazarus fails to compile GLSceneDesignTime: Error: Identifier not found "TIComponentInterface" With Lazarus-0.9.29-25309-fpc-2.4.1-20100511-win32 - everything is fine. I reported the bug: http://mantis.freepascal.org/view.php?id=16503 Thanks! Kjow --

Re: [Lazarus] Lazarus make me create better apps

2010-05-17 Thread Lee Jenkins
Bee Jay wrote: On 18 Mei 2010, at 01:42, Myles Wakeham wrote: Agreed. PHP is a 'staple' in web development, and is benefited by a large number of mature frameworks supporting multiple design patterns, IDEs in large deployments (ie. Eclipse, Netbeans, etc.) and a huge community. Well... with

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Brad Campbell
Mattias Gärtner wrote: No, no. You have probably just some wrong source paths (too many) which created duplicate ppu files. Ok, I'm pretty sure there is a bug here. Steps to reproduce. rm ~/.lazarus cp -a lazarus.clean lazarus.a cd lazarus.a make lazarus do this so lazarus will create an ~/.la

Re: [Lazarus] Lazarus make me create better apps

2010-05-17 Thread Bee Jay
On 18 Mei 2010, at 03:12, Lee Jenkins wrote: > I think the traditional barrier has been the deployment issue which probably > made pascal based web application or servers more common to > workgroup/intranet applications. Yes, though binary CGI support is also very common. > The problem I thin