Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Marco van de Voort
On Thu, Jul 22, 2010 at 08:01:10PM -0300, Julio C. Taborda wrote: I didn't find a starting compiler for windows, but for linux, darwin and freebsd you can get ppcxxx from ftp://ftp.freepascal.org/pub/fpc/dist/2.4.0/bootstrap/ I added win32. -- ___

[Lazarus] Carbon Nested Windows

2010-07-23 Thread J. Stelkens
Hi, i'm working on a bigger lazarus project running as a plugin and have the task to modify the carbon interface so that one can create a TForm within a given parent window comming from the host. The TForm.CreateParented function seems to be not functional yet for carbon interface. And it

Re: [Lazarus] Carbon Nested Windows

2010-07-23 Thread Paul Ishenin
23.07.2010 15:26, J. Stelkens wrote: i'm working on a bigger lazarus project running as a plugin and have the task to modify the carbon interface so that one can create a TForm within a given parent window comming from the host. The TForm.CreateParented function seems to be not functional

Re: [Lazarus] Build Number

2010-07-23 Thread Kjow
2010/7/23 Paul Ishenin webpi...@mail.ru:  23.07.2010 6:12, Mattias Gaertner wrote: Is it possible to use inside the application the build number? Since Lazarus has an auto-increment of the build number, I would to include a label with the revision in the gui of my app... :) No. Unless you

Re: [Lazarus] Build Number

2010-07-23 Thread Paul Ishenin
23.07.2010 15:50, Kjow wrote: When I do Build all the build number of my developed application will increase (e.g. 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - etc ), and if I want to include this info in the GUI of the same application I need to modify everytime by hand this value. So it would be very nice

Re: [Lazarus] Build Number

2010-07-23 Thread Mattias Gaertner
On Fri, 23 Jul 2010 15:59:00 +0800 Paul Ishenin i...@kmiac.ru wrote: 23.07.2010 15:50, Kjow wrote: When I do Build all the build number of my developed application will increase (e.g. 0.0.0.1 - 0.0.0.2 - 0.0.0.3 - etc ), and if I want to include this info in the GUI of the same

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Sven Barth
Hi! Am 22.07.2010 23:49, schrieb waldo kitty: in other words, from a w2k box, if i grab the sources for i386-win and the sources for i386-linux and the sources for i386-OS2 and run the full compilation process, will i truly end up with the compilers for linux and OS2 such that cross compiling

Re: [Lazarus] Build Number

2010-07-23 Thread Paul Ishenin
23.07.2010 16:05, Mattias Gaertner wrote: Maybe it should be added somewhere in the documentation? including the requirements. I wish to add it somewhere to fpc but don't know the right place. Btw, is it possible to add a unit to the documentation? Best regards, Paul Ishenin. --

Re: [Lazarus] Carbon Nested Windows

2010-07-23 Thread J. Stelkens
No, I'm working on the current released version 0.9.28.2. And the plug only gots the parents windows real carbon WindowRef... At 09:42 23.07.2010, you wrote: 23.07.2010 15:26, J. Stelkens wrote: i'm working on a bigger lazarus project running as a plugin and have the task to modify the

Re: [Lazarus] Build Number

2010-07-23 Thread Paul Ishenin
23.07.2010 16:12, Kjow wrote: Thank you, but my Lazarus (r26732M) can't find vinfo unit. vinfo unit was attached with the mail. Other question: Is this procedure multiplatform compatible? ( = Does it work on Linux?) Yes. Best regards, Paul Ishenin. --

Re: [Lazarus] Build Number

2010-07-23 Thread Sven Barth
Hi! Am 23.07.2010 00:58, schrieb waldo kitty: on the surface, this would seem to be similar to the C style preprocessor stuff that takes macros like __DATE__ and __TIME__ and converts them to the current date and time and writes them into the object code... i did something like this for TP6/BP6

Re: [Lazarus] Build Number

2010-07-23 Thread Mattias Gaertner
On Fri, 23 Jul 2010 16:12:28 +0800 Paul Ishenin i...@kmiac.ru wrote: 23.07.2010 16:05, Mattias Gaertner wrote: Maybe it should be added somewhere in the documentation? including the requirements. I wish to add it somewhere to fpc but don't know the right place. Btw, is it possible to

Re: [Lazarus] Build Number

2010-07-23 Thread Kjow
2010/7/23 Paul Ishenin i...@kmiac.ru: 23.07.2010 16:12, Kjow wrote: Thank you, but my Lazarus (r26732M) can't find vinfo unit. vinfo unit was attached with the mail. Other question: Is this procedure multiplatform compatible? ( =  Does it work on Linux?) Yes. Best regards, Paul

Re: [Lazarus] Build Number

2010-07-23 Thread waldo kitty
On 7/23/2010 04:12, Kjow wrote: 2010/7/23 Paul Ishenini...@kmiac.ru: This constanst is stored as a resource of your application. You can read it by accessing this resource. I attached a small utility unit which helps with the version info extraction. Here is a small example of how to use it

Re: [Lazarus] Build Number

2010-07-23 Thread waldo kitty
On 7/23/2010 04:17, Sven Barth wrote: Hi! Am 23.07.2010 00:58, schrieb waldo kitty: on the surface, this would seem to be similar to the C style preprocessor stuff that takes macros like __DATE__ and __TIME__ and converts them to the current date and time and writes them into the object

Re: [Lazarus] Build Number

2010-07-23 Thread Kjow
2010/7/23 waldo kitty wkitt...@windstream.net: On 7/23/2010 04:12, Kjow wrote: 2010/7/23 Paul Ishenini...@kmiac.ru: This constanst is stored as a resource of your application. You can read it by accessing this resource. I attached a small utility unit which helps with the version info

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Michael Schnell
IMHO, Lazarus should hold a list of all public declarations done in the RTL and the LCL and when pressing F1 with the cursor on some name, it should show the appropriate help, even if is not found in any unit mentioned in the uses clause - such as it works today. (providing a selection list

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Žilvinas Ledas
On 2010-07-23 14:08, Michael Schnell wrote: IMHO, Lazarus should hold a list of all public declarations done in the RTL and the LCL and when pressing F1 with the cursor on some name, it should show the appropriate help, even if is not found in any unit mentioned in the uses clause - such

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: IMHO, Lazarus should hold a list of all public declarations done in the RTL and the LCL and when pressing F1 with the cursor on some name, it should show the appropriate help, even if is not found in any unit mentioned in the uses clause -

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Henry Vermaak
On 23/07/10 13:01, Reimar Grabowski wrote: On Thu, 22 Jul 2010 23:05:51 -0400 waldo kittywkitt...@windstream.net wrote: yes, i understand what you are saying however, remember that the point i'm coming from is from that of the average joe coder who has no need of understanding all the deep

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Bernd
2010/7/23 Mattias Gaertner nc-gaert...@netcologne.de: The fpdoc files for the LCL are in docs/xml/lcl. Ok, I found them, they are there indeed, I wrongly concluded that they are not there because it didn't find documentation for classes that it should have found (seems to be a bug resulting from

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Martin
On 23/07/2010 13:34, Bernd wrote: Its not only the fpdoc thing or how to generate documentation, this is only of secondary interest to me now. At the moment I am just trying to understand the code of the source editor, the autocompletion and the hints but I cannot find anything that will help

Re: [Lazarus] Methods and stacks

2010-07-23 Thread Michael Schnell
On 07/23/2010 12:51 PM, Mark Morgan Lloyd wrote: Can somebody please confirm that there's no mechanism by which a method can switch to a private stack. Threads -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Methods and stacks

2010-07-23 Thread Mattias Gaertner
On Fri, 23 Jul 2010 10:51:05 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Can somebody please confirm that there's no mechanism by which a method can switch to a private stack. I've hacked together a very simple round-robin scheduler that I'm using to service serial

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Michael Schnell
On 07/23/2010 01:14 PM, Mattias Gärtner wrote: Zitat von Michael Schnell mschn...@lumino.de: IMHO, Lazarus should hold a list of all public declarations done in the RTL and the LCL and when pressing F1 with the cursor on some name, it should show the appropriate help, even if is not found

Re: [Lazarus] Methods and stacks

2010-07-23 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: Frankly I think I'm at the limit of what can be done without threads, which I've used plenty of times before but I thought I'd explore alternatives. There are several units helping with thread pools. http://wiki.lazarus.freepascal.org/Manager_Worker_Threads_System

Re: [Lazarus] LazIntfImage and OSX

2010-07-23 Thread dmitry boyarintsev
2010/7/5 Wolfram Söns wolf...@soens.de: I cant see any rule in results like this here: Pixel (0,215): 65,43,20 (Mac), 88,57,21 (Windows) Pixel (1,215): 53,38,26 (Mac), 73,50,31 (Windows) Pixel (2,215): 50,38,21 (Mac), 69,50,21 (Windows) and so on. Please test 26791 Lazarus revision. thanks,

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 7:14 PM, waldo kitty wkitt...@windstream.net wrote: On 7/22/2010 14:55, Marcos Douglas wrote: On Thu, Jul 22, 2010 at 3:42 PM, Reimar Grabowskireimg...@web.de  wrote: On Thu, 22 Jul 2010 15:27:14 -0300 Marcos Douglasm...@delfire.net  wrote: Not so fast... here there

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Mattias Gaertner
On Fri, 23 Jul 2010 15:27:50 +0200 Michael Schnell mschn...@lumino.de wrote: On 07/23/2010 01:14 PM, Mattias Gärtner wrote: Zitat von Michael Schnell mschn...@lumino.de: IMHO, Lazarus should hold a list of all public declarations done in the RTL and the LCL and when pressing F1 with

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Marcos Douglas
On Thu, Jul 22, 2010 at 8:01 PM, Julio C. Taborda julio_tabo...@yahoo.com.ar wrote:   Best is to install stable FPC and then compile the SVN version with it. After that replace the stable with your newly created version. So, is it mandatory to install one version of FPC (to get

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Marcos Douglas
On Fri, Jul 23, 2010 at 4:13 AM, Marco van de Voort mar...@stack.nl wrote: On Thu, Jul 22, 2010 at 08:01:10PM -0300, Julio C. Taborda wrote: I didn't find a starting compiler for windows, but for linux, darwin and freebsd you can get ppcxxx from

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Michael Schnell
On 07/23/2010 04:01 PM, Mattias Gaertner wrote: There is already a tool to see all public declaration: View CodeBrowser. It does not only list all public declarations of RTL and LCL, but all FPC packages, your project and all used packages. Depending on your platform there are about 200

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Marcos Douglas
On Fri, Jul 23, 2010 at 12:05 AM, waldo kitty wkitt...@windstream.net wrote: On 7/22/2010 22:01, Reimar Grabowski wrote: On Thu, 22 Jul 2010 19:02:13 -0400 waldo kittywkitt...@windstream.net  wrote: Then you know what you are doing is that a requirement? especially when one simply wants to

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Juha Manninen
Marcos Douglas wrote torstai, 22. heinäkuuta 2010 20:09:54: BTW, At the moment we have two wiki pages about installing. Juha has started to clean up / update the 'Getting_Lazarus' page and put each target onto a page of its own, which IMO is better than putting every thing onto one page.

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread waldo kitty
On 7/23/2010 10:34, Juha Manninen wrote: As a result the page became very long and the relevant information was very difficult to find. Other wiki pages have the same problem. now you know one of my main reasons for not liking wiki pages at all... here's another... if a wiki is supposed to

Re: [Lazarus] Identifier Completion - Unit not found

2010-07-23 Thread Guionardo Furlan
On 22/07/2010 09:34, Mattias Gaertner wrote: On Thu, 22 Jul 2010 09:01:07 -0300 Guionardo Furlanguiona...@gmail.com wrote: Buenas staff (this message was send to Editor section of the forum, but nobody answered yet, sou I hope you can help me) I am organizing my package of utilities, for

Re: [Lazarus] Identifier Completion - Unit not found

2010-07-23 Thread Mattias Gaertner
On Fri, 23 Jul 2010 14:30:20 -0300 Guionardo Furlan guiona...@gmail.com wrote: [...] Thanks for the useful info, Mattias I've done the settings and updated the lazarus with the last version today + fpc 2.4.3. Everything is ok now, inclusive other issues on packages and units (of the

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Bernd
2010/7/23 Martin laza...@mfriebe.de: On a first glance, if the source is to complicated to explain tiself, the you need comments. But actually, then you need to clean up your source, so it becames readable again. Of course readable, is defined on the readers ability, and that varies = It

[Lazarus] comments in source [Re: show declaration hints has more power in it than is really used]

2010-07-23 Thread Martin
On 23/07/2010 18:53, Bernd wrote: 2010/7/23 Martinlaza...@mfriebe.de: but then for the more experienced reader any comment explaining the obvious to him just is in the way of the big picture. No. This is simply not true. Comments in the code are not for yourself, because then you

Re: [Lazarus] does anyone remember polyglot?

2010-07-23 Thread Marc Weustink
waldo kitty wrote: On 7/22/2010 19:21, Marc Weustink wrote: waldo kitty wrote: does anyone remember polyglot? here's the sources to the 10th anniversary edition that i've had stashed away for quite some time ;) somehow i don't think it can be fitted into a lazarus GUI format too easily...

Re: [Lazarus] does anyone remember polyglot?

2010-07-23 Thread waldo kitty
On 7/23/2010 14:35, Marc Weustink wrote: waldo kitty wrote: wonder what the differences are that -Mtp must be used? Comment nesting: Compiling polyglot.txt polyglot.txt(47,8) Warning: Comment level 2 found polyglot.txt(49,75) Warning: Comment level 2 found polyglot.txt(76,1) Warning: Comment

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread waldo kitty
On 7/23/2010 13:53, Bernd wrote: Comments are for *other* people who might later read your code and don't yet know how it works. +1 plus they are also very helpful to you when you come back some time later and don't remember what's going on or why ;) comments are *always* helpful! There

Re: [Lazarus] Identifier Completion - Unit not found

2010-07-23 Thread Guionardo Furlan
On 23/07/2010 14:38, Mattias Gaertner wrote: On Fri, 23 Jul 2010 14:30:20 -0300 Guionardo Furlanguiona...@gmail.com wrote: [...] Thanks for the useful info, Mattias I've done the settings and updated the lazarus with the last version today + fpc 2.4.3. Everything is ok now, inclusive

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-23 Thread Andreas Schneider
On Fri, 23 Jul 2010 13:14:54 -0400, waldo kitty wkitt...@windstream.net wrote: On 7/23/2010 10:34, Juha Manninen wrote: As a result the page became very long and the relevant information was very difficult to find. Other wiki pages have the same problem. now you know one of my main

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Bernd
2010/7/23 Mattias Gaertner nc-gaert...@netcologne.de: You can see the html output of fpdoc when pressing F1 on an identifier. It will pop up an error message that there is no help available although I have created fpdoc help entries and the fpdoc editor shows the entry when i am on this

Re: [Lazarus] Identifier Completion - Unit not found

2010-07-23 Thread Mattias Gaertner
On Fri, 23 Jul 2010 17:08:36 -0300 Guionardo Furlan guiona...@gmail.com wrote: [...] I've got an old bug on Lazarus IDE that when any 3rd's component (zeos, etc) is dropped into a form, I can change properties, compile, all ok. But, if I go coding, using the code completion or identifier

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Bernd
2010/7/23 Bernd prof7...@googlemail.com: You can install lhelp for an offline help viewer. Trying this now. This will give me a nice chm viewer if i additionally download the chm files for LCL, FCL and RTL (the scripts in docs/html fail with some file not found messages) but it still won't

[Lazarus] Test

2010-07-23 Thread Juha Manninen
new gmail IMAP connection. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Identifier Completion - Unit not found

2010-07-23 Thread Guionardo Furlan
On 23/07/2010 19:14, Mattias Gaertner wrote: On Fri, 23 Jul 2010 17:08:36 -0300 Guionardo Furlanguiona...@gmail.com wrote: [...] I've got an old bug on Lazarus IDE that when any 3rd's component (zeos, etc) is dropped into a form, I can change properties, compile, all ok. But, if I go coding,