[fpc-devel] Fppkg questions

2011-05-22 Thread Darius Blaszyk
While working on the lazarus GUI I could not find evidence that fppkg is capable of supporting multiple repositories. As far as I can tell the mirrors.xml is always downloaded from the freepascal server and only holds some alternatives to get the packages from. I think it would be a nice

Re: [fpc-devel] Fppkg questions

2011-05-22 Thread Darius Blaszyk
On May 22, 2011, at 6:04 PM, Michael Van Canneyt wrote: On Sun, 22 May 2011, Darius Blaszyk wrote: While working on the lazarus GUI I could not find evidence that fppkg is capable of supporting multiple repositories. As far as I can tell the mirrors.xml is always downloaded from

Re: [fpc-devel] fppkg question

2011-05-14 Thread Darius Blaszyk
On May 14, 2011, at 12:26 PM, Joost van der Sluis wrote: On Fri, 2011-05-13 at 13:18 +0200, Michael Van Canneyt wrote: On Fri, 13 May 2011, Darius Blaszyk wrote: On May 13, 2011, at 1:01 PM, Michael Van Canneyt wrote: On Fri, 13 May 2011, Darius Blaszyk wrote: All this info

Re: [fpc-devel] fppkg question

2011-05-13 Thread Darius Blaszyk
On May 10, 2011, at 9:07 AM, dhkblas...@zeelandnet.nl dhkblas...@zeelandnet.nl wrote: On Tue, 10 May 2011 08:30:28 +0200 (CEST), Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 10 May 2011, Darius Blaszyk wrote: Hi, I've created a trivial front end for fppkg (see lazarus

Re: [fpc-devel] fppkg question

2011-05-13 Thread Darius Blaszyk
On May 13, 2011, at 1:01 PM, Michael Van Canneyt wrote: On Fri, 13 May 2011, Darius Blaszyk wrote: All this info is supposed to be output in XML format from fpmake --manifest. fppkg picks it up and stores it in the repository. If you want to extend it to include a category

[fpc-devel] fppkg question

2011-05-09 Thread Darius Blaszyk
Hi, I've created a trivial front end for fppkg (see lazarus mailing list) but working on this I realized that they are not grouped in any way. Currently with approx. 70 packages this is not a real problem, but if the system will get used more widely it will be impossible to deduct the purpose

Re: [fpc-devel] The future of fpmake

2011-03-31 Thread Darius Blaszyk
On Mar 31, 2011, at 9:22 AM, michael.vancann...@wisa.be wrote: On Thu, 31 Mar 2011, Darius Blaszyk wrote: Imagine you have debug, profiling and testing setup locally b Should be debug, release and testing Nono, I actually meant profiling as different from debug. The difference

[fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
Hi, I'm using fpmake more and more in my projects (large or small) and from time to time I come across some limitations that need to be resolved. In the past I have supplied a number of small patches which were normally applied without problems, but sometimes I was sent back (mostly with good

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
On Mar 30, 2011, at 5:31 PM, michael.vancann...@wisa.be wrote: - managing debug/release builds (also cross-compiling) What is failing in the current system for this ? I was thinking to be able to do something like : fpmake build debug This will add some debug options to the build process.

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
On Mar 30, 2011, at 5:46 PM, michael.vancann...@wisa.be wrote: On Wed, 30 Mar 2011, Florian Klaempfl wrote: Am 30.03.2011 17:31, schrieb michael.vancann...@wisa.be: - execute fpmake from command line (see thread by mattias : run pascal programs as script) for this we would need

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
On Mar 30, 2011, at 9:29 PM, Michael Van Canneyt wrote: - managing debug/release builds (also cross-compiling) What is failing in the current system for this ? I was thinking to be able to do something like : fpmake build debug This will add some debug options to the build process.

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
On Mar 30, 2011, at 9:37 PM, Michael Van Canneyt wrote: I don't think this is needed/wanted. fpmake.pp is intended to be used in tandem with fppkg, and that looks for a fpmake.pp program, not a script. For FPC yes, but for standalone projects this is not the case as you mentioned. Apart

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
On Mar 30, 2011, at 11:46 PM, Michael Van Canneyt wrote: fpmake build debug I would prefer a named option, i.e. fpmake build --profile=debug from the users perspective this is not very friendly. It is more clear what is meant. All other options are also specified with a --option I

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
(not to mention all the possible complications on Windows, probably Mac OS as well) Can you name a potential issue you see by renaming the makefile to some other extension? I thought that FPC does not mind which extension you use, as long as the syntax is correct? It does not mind.

Re: [fpc-devel] The future of fpmake

2011-03-30 Thread Darius Blaszyk
Imagine you have debug, profiling and testing setup locally b Should be debug, release and testing ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] [fpprofiler] bug

2011-01-12 Thread Darius Blaszyk
Resolved in revision 2521. I added your example to the test suite. Darius On Jan 12, 2011, at 7:13 AM, Alex Shishkin wrote: http://bugs.freepascal.org/view.php?id=18471 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Possible bugs in TFreeTypeFont

2011-01-06 Thread Darius Blaszyk
Should I create a bug report for this? Regards, Darius On Dec 16, 2010, at 1:26 AM, Darius Blaszyk wrote: IMHO there is a bug in TFreeTypeFont.SetFlags. The check that determines if the inherited method should be called seems to be wrong. Can someone confirm? Please consider the following

Re: [fpc-devel] tprocess chopping off characters

2011-01-01 Thread Darius Blaszyk
On Jan 2, 2011, at 1:19 AM, Marco van de Voort wrote: Hi, I've been making a small util that loads revisions to merge from a branch (in my cases fixes_2_4), gets the logs, and sort the revisions into sets of a common topic (to filter out objc and other major stuff that is not mergable)

[fpc-devel] Possible bugs in TFreeTypeFont

2010-12-15 Thread Darius Blaszyk
IMHO there is a bug in TFreeTypeFont.SetFlags. The check that determines if the inherited method should be called seems to be wrong. Can someone confirm? Please consider the following patch: @@ -183,7 +183,7 @@ procedure TFreeTypeFont.SetFlags (index:integer; AValue:boolean); begin - if not

[fpc-devel] Location of documentation

2010-12-06 Thread Darius Blaszyk
I did the unthinkable ;) by trying to write some documentation for an FPC package. I searched FPC without success after which I got fpcdocs from SVN, no luck either. I only found some files included in Lazarus (\docs\xml\). What is the plan for the lack of documentation on packages? Should I add

Re: [fpc-devel] Location of documentation

2010-12-06 Thread Darius Blaszyk
On Mon, 2010-12-06 at 20:39 +0100, Michael Van Canneyt wrote: Contributions are more than welcome, as long as they adhere to a strict rule: I don't publish documentation for a unit unless it is complete. Does that mean that partial documented xml files are allowed to be added to SVN, but that

[fpc-devel] New patch for fpmake

2010-12-04 Thread Darius Blaszyk
I created a new patch for fpmake. It will now compile example programs as well. http://bugs.freepascal.org/view.php?id=18151 I also have a question regarding an idea I have for resource files. I already have made a preliminary patch (not published yet) to use rstconv to compile .rst files into

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Darius Blaszyk
On Mon, 2010-11-29 at 18:04 +0100, Joost van der Sluis wrote: On Thu, 2010-11-25 at 18:05 +0100, Darius Blaszyk wrote: I have created a patch for fpmake that hides some of the raw compiler output. The new output looks more like scons and is actually more clear imho. You can however still

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Darius Blaszyk
On Mon, 2010-11-29 at 19:31 +0100, Jonas Maebe wrote: On 29 Nov 2010, at 18:45, Darius Blaszyk wrote: The major problem we will have to solve is localization. Now the code depends on the words Compiling and linking. Is there a way to circumvent this? If you pass -vq to the compiler

Re: [fpc-devel] Less comprehensive progress output for fpmake

2010-11-29 Thread Darius Blaszyk
On Mon, 2010-11-29 at 20:00 +0100, Darius Blaszyk wrote: On Mon, 2010-11-29 at 19:31 +0100, Jonas Maebe wrote: On 29 Nov 2010, at 18:45, Darius Blaszyk wrote: The major problem we will have to solve is localization. Now the code depends on the words Compiling and linking

Re: [fpc-devel] Added new target to fpmake

2010-11-27 Thread Darius Blaszyk
On Thu, 2010-11-25 at 16:01 +0100, dhkblas...@zeelandnet.nl wrote: Hi, Today I was playing with FPDoc and I decided to add creating the documents as a target to fpmake which seems logical to me. I only did a very basic implementation to show tghe principle so someone (Joost / Michael??)

Re: [fpc-devel] Added new target to fpmake

2010-11-27 Thread Darius Blaszyk
I've been thinking about the folder structure for fpdoc xml files. Analog to bin and example files I would like to have the xml files in the default location called fpdoc. The output will be sent to the folder called docs. From where they can be installed. Of course the locations should

Re: [fpc-devel] Added new target to fpmake

2010-11-27 Thread Darius Blaszyk
I've been thinking about the folder structure for fpdoc xml files. Analog to bin and example files I would like to have the xml files in the default location called fpdoc. The output will be sent to the folder called docs. From where they can be installed. Of course the locations should

Re: [fpc-devel] Added new target to fpmake

2010-11-27 Thread Darius Blaszyk
On Sat, 2010-11-27 at 22:17 +0100, Sven Barth wrote: On 27.11.2010 22:10, Darius Blaszyk wrote: Well, fpmake contains the dependencies of the units. Therefor you should be able to place the units in the correct order. So my idea would be to enforce the order by looking at the dependencies

Re: [fpc-devel] Added new target to fpmake

2010-11-27 Thread Darius Blaszyk
You already know from here that 'classes.pp' depends on those units, so you might use those already defined dependencies to automatically add those units to fpdoc as well (I don't know how exactly you can and need to do it, but that's the theory) if you want to generate the

Re: [fpc-devel] Added new target to fpmake

2010-11-26 Thread Darius Blaszyk
- Selection of output format ? - Add to zip ? I created a new patch that implements these options. Can someone please review the patch and comment on it. Are there any other frequently used settings or conditions regarding fpdoc that should be taken in the patch? I'm happy to apply them.

[fpc-devel] fcl-passrc pscanner patch

2010-09-22 Thread Darius Blaszyk
I've posted a patch for pscanner. Could someone please review and comment or apply? http://bugs.freepascal.org/view.php?id=17465 TIA, Darius ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-09-14 Thread Darius Blaszyk
On Sat, 2010-08-28 at 22:51 +0300, Žilvinas Ledas wrote: Tried sample project today. Some a comment and a question: 1) I have a strange error when the same file is modified twice (and afterwards restored twice). One is: I'm looking at this issue atm. As soon as I have a definite solution I

Re: [fpc-devel] [patch] pscanner: differentiate between EOL Tab characters from general Whitespace

2010-09-14 Thread Darius Blaszyk
On Mon, 2010-09-13 at 23:31 +0200, Darius Blaszyk wrote: On Sat, 2010-08-28 at 22:51 +0300, Žilvinas Ledas wrote: Tried sample project today. Some a comment and a question: 1) I have a strange error when the same file is modified twice (and afterwards restored twice). One is: I'm looking

Re: [fpc-devel] Is LNet planned to be included in a fpc release?

2008-12-08 Thread Darius Blaszyk
On Mon, 2008-12-08 at 14:38 +0100, Vincent Snijders wrote: Andrew Haines schreef: ? AFAIK, it is not. I think we should consider adding it to lazarus/components or lazarus/components/lhelp, to support loading html files from internet with http in lhelp. It's strange to not be

Re: [fpc-devel] Problem with func/proc parameters and buttons in Laz

2008-11-26 Thread Darius Blaszyk
Hi Vojtěch, First, I would like to point you that you have to send your Lazarus questions to the Lazarus mailinglist and not to the FPC-devel please. Having that said, 1, I have no text on BitmapButtons in Lazarus in DialogBoxes (except Open/Save file). There are only small icons on it. I

Re: [fpc-devel] Problem with func/proc parameters and buttons in Laz

2008-11-26 Thread Darius Blaszyk
2, When I write procedure or function with parameter String[31] it doesn't work. It writes Forward declaration not solved, however it is. Please provide a minimal example. You probably have some syntax problem. What you would like to do in this case is to declare a custom type: