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 Gaertnernc-gaert...@netcologne.de wrote: On Fri, 14 May 2010 16:39:06 +0200 Helmut Hartlhelmut.ha...@firmos.at wrote: [...] [...] Nice would be when lazarus drops my known packages simply on

Re: [Lazarus] Package management questions

2010-05-17 Thread Mattias Gaertner
On Mon, 17 May 2010 09:49:42 +0200 Helmut Hartl helmut.ha...@firmos.at wrote: Am 15.05.10 18:14, schrieb Mattias Gaertner: On Fri, 14 May 2010 17:25:46 +0200 Mattias Gaertnernc-gaert...@netcologne.de wrote: On Fri, 14 May 2010 16:39:06 +0200 Helmut Hartlhelmut.ha...@firmos.at

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 cobi...@gmail.com 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

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 mich...@freepascal.org wrote: On Mon, 17 May 2010, Mattias Gaertner wrote: On Mon, 17 May 2010 06:41:48 +0200 cobines cobi...@gmail.com wrote: It's reported in Mantis. http://bugs.freepascal.org/view.php?id=16389

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

2010-05-17 Thread Gustavo Enrique Jimenez
2010/5/15 Krisztián Nagy nkrisztia...@gmail.com: 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

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: [...] 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

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

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

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 to

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 mar...@stack.nlwrote: 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

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: 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

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: 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

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 b...@wasp.net.au: 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

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

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

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von patspiper patspi...@yahoo.com: 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

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

[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 mar...@stack.nlwrote: 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

[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] 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 here I simply set the ide build

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 think