Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-05 Thread Marco van de Voort
On Sun, Feb 03, 2013 at 11:40:16PM +0100, Mattias Gaertner wrote: Maybe the gmake clean does not work under FreeBSD? Are there any custom rules regarding this file, or SED use? Makefile operation under FreeBSD is older than fpcmake generated makefiles. [clean] # clear all

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: I know, but as I've said above there's a list of units stored in the .lpi as well. How does one clear this? This list gives the IDE the clues what files are important and what not. So, you should not clear it, you should clean it up and add all missing project units.

Re: [Lazarus] Compiling IDE issues using FreeBSD 9.1 FPC 2.6.0

2013-02-05 Thread Mattias Gaertner
On Tue, 5 Feb 2013 09:35:04 +0100 Marco van de Voort mar...@stack.nl wrote: On Sun, Feb 03, 2013 at 11:40:16PM +0100, Mattias Gaertner wrote: Maybe the gmake clean does not work under FreeBSD? Are there any custom rules regarding this file, or SED use? Makefile operation

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mattias Gaertner
On Tue, 05 Feb 2013 09:12:35 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: I know, but as I've said above there's a list of units stored in the .lpi as well. How does one clear this? This list gives the IDE the clues what files are important

Re: [Lazarus] How to control components order on the palette?

2013-02-05 Thread Mattias Gaertner
On Tue, 5 Feb 2013 02:55:10 +1100 Alexander Klenin kle...@gmail.com wrote: As far as I understand, conponents are now listed in the order of registration, which depends on the (alphabetical?) order of packages. Packages are sorted only topologically and by dependency lists, not

Re: [Lazarus] How to control components order on the palette?

2013-02-05 Thread Juha Manninen
On Tue, Feb 5, 2013 at 12:43 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Maybe we can add some mechanism to let packages define some priorities for their components. The registration order is now the mechanism, isn't it? The GUI will be important for users' custom changes. Juha --

Re: [Lazarus] How to control components order on the palette?

2013-02-05 Thread Mattias Gaertner
On Tue, 5 Feb 2013 13:10:11 +0200 Juha Manninen juha.mannine...@gmail.com wrote: On Tue, Feb 5, 2013 at 12:43 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Maybe we can add some mechanism to let packages define some priorities for their components. The registration order is now

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Tue, 05 Feb 2013 09:12:35 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: I know, but as I've said above there's a list of units stored in the .lpi as well. How does one clear this? This list gives the IDE the clues what

[Lazarus] Where is TlrCodeReport in Laz 1.0.6 for Win7 64 bit?

2013-02-05 Thread Julio Jiménez
Look at source code: lazarus/components/lazreport/source/addons/lrcodereport/sample/ You need PowerPDF and LazreportPdfExport to run the sample. -- Julio Jiménez Borreguero -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mattias Gaertner
On Tue, 05 Feb 2013 11:25:27 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: On Tue, 05 Feb 2013 09:12:35 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: I know, but as I've said above there's a list of

[Lazarus] Suggest in Path Editor, select dir

2013-02-05 Thread Zaher Dirkey
Hi, Suggest, in Path Editor, when select to browse a directory, it start from the path in the edit at left or if empty start from project path. If it acceptable i will add it to the bug tracker. Best Regards Zaher Dirkey -- ___ Lazarus mailing list

Re: [Lazarus] Suggest in Path Editor, select dir

2013-02-05 Thread Mattias Gaertner
On Tue, 5 Feb 2013 13:42:21 +0200 Zaher Dirkey parm...@gmail.com wrote: Hi, Suggest, in Path Editor, when select to browse a directory, it start from the path in the edit at left or if empty start from project path. left? Do you mean the first or the project/package directory? If it

Re: [Lazarus] Suggest in Path Editor, select dir

2013-02-05 Thread Zaher Dirkey
On Tue, Feb 5, 2013 at 1:55 PM, Mattias Gaertner nc-gaert...@netcologne.dewrote: left? Do you mean the first or the project/package directory? In Project Options-Paths-Path Editor (any one) There is an Edit with small Button to browse and select a directory, when pressing it it start from my

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Tue, 05 Feb 2013 11:25:27 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: On Tue, 05 Feb 2013 09:12:35 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: I know, but as I've said above

Re: [Lazarus] Suggest in Path Editor, select dir

2013-02-05 Thread Zaher Dirkey
On Tue, Feb 5, 2013 at 2:17 PM, Zaher Dirkey parm...@gmail.com wrote: Such minor things are normally not assigned to anyone and tend to be forgotten. Maybe you can create a patch? Ok i will take a look 1 - The idea if i typed a path by my self then start browsing to select directory by its

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mattias Gaertner
On Tue, 05 Feb 2013 13:23:25 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: [...] OK. The only thing I was noting was that in a case where the editor has two files open one of those has one entry (Unit1 above) while the other has two (Unit12, Unit13 above). No. Every unit in

Re: [Lazarus] Suggest in Path Editor, select dir

2013-02-05 Thread Mattias Gaertner
On Tue, 5 Feb 2013 15:26:15 +0200 Zaher Dirkey parm...@gmail.com wrote: On Tue, Feb 5, 2013 at 2:17 PM, Zaher Dirkey parm...@gmail.com wrote: Such minor things are normally not assigned to anyone and tend to be forgotten. Maybe you can create a patch? Ok i will take a look 1 -

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Tue, 05 Feb 2013 13:23:25 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: [...] OK. The only thing I was noting was that in a case where the editor has two files open one of those has one entry (Unit1 above) while the other has two (Unit12, Unit13

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mattias Gaertner
On Tue, 05 Feb 2013 13:40:44 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: On Tue, 05 Feb 2013 13:23:25 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: [...] OK. The only thing I was noting was that in a case where the editor has

Re: [Lazarus] Clearing a project

2013-02-05 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Tue, 05 Feb 2013 13:40:44 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: On Tue, 05 Feb 2013 13:23:25 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: [...] OK. The only thing I was noting was that in a case

[Lazarus] Extract the color data and alpha from a PNG image

2013-02-05 Thread silvioprog
Hello friends, I'm trying to extract the color data and alpha from a PNG image. In PHP it is very easy to implement, but in FPC I don't know how to do it. I tried to do it via chunk.data, ZData etc., but, without success. Attached two files to test it. To test the PHP code run this command in

[Lazarus] Code Completion Templates

2013-02-05 Thread Donald Ziesig
Hi All! Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? Specifically I would like to replace the SetParam code that expands to: if(AValue=fParam) then exit; fParam=AValue; with Update(fParam,AValue); // Keeps track of modifications to the

Re: [Lazarus] Code Completion Templates

2013-02-05 Thread Mattias Gaertner
Donald Ziesig don...@ziesig.org hat am 5. Februar 2013 um 23:16 geschrieben: Hi All! Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? Specifically I would like to replace the SetParam code that expands to: if(AValue=fParam) then exit;

Re: [Lazarus] Code Completion Templates

2013-02-05 Thread Sven Barth
On 05.02.2013 18:30, Mattias Gaertner wrote: Donald Ziesig don...@ziesig.org hat am 5. Februar 2013 um 23:16 geschrieben: Hi All! Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? Specifically I would like to replace the SetParam code that expands to:

Re: [Lazarus] Code Completion Templates

2013-02-05 Thread Martin
On 05/02/2013 19:42, Sven Barth wrote: On 05.02.2013 18:30, Mattias Gaertner wrote: Donald Ziesig don...@ziesig.org hat am 5. Februar 2013 um 23:16 geschrieben: Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? ... It's hard coded. See

Re: [Lazarus] Extract the color data and alpha from a PNG image

2013-02-05 Thread José Mejuto
El 05/02/2013 15:36, silvioprog escribió: Hello friends, I'm trying to extract the color data and alpha from a PNG image. In PHP it is very easy to implement, but in FPC I don't know how to do it. I tried to do it via chunk.data, ZData etc., but, without success. The question is what

Re: [Lazarus] Extract the color data and alpha from a PNG image

2013-02-05 Thread silvioprog
2013/2/5 José Mejuto joshy...@gmail.com El 05/02/2013 15:36, silvioprog escribió: Hello friends, I'm trying to extract the color data and alpha from a PNG image. In PHP it is very easy to implement, but in FPC I don't know how to do it. I tried to do it via chunk.data, ZData etc., but,