Re: [Lazarus] GLScene and Lazarus...

2010-10-04 Thread Bo Berglund
On Mon, 4 Oct 2010 07:35:40 +0200, Vincent Snijders vincent.snijd...@gmail.com wrote: Yes, see changes in SVN: http://svn.freepascal.org/cgi-bin/viewvc.cgi/glscene/trunk/?root=fpcproject Not very active, but more recent that July 2007. Unfortunately going to that link results in the

Re: [Lazarus] GLScene and Lazarus...

2010-10-04 Thread Vincent Snijders
Yes, see changes in SVN: http://svn.freepascal.org/cgi-bin/viewvc.cgi/glscene/trunk/?root=fpcproject Not very active, but more recent that July 2007. Unfortunately going to that link results in the following: quote An Exception Has Occurred The root fpcproject is unknown. If you believe

Re: [Lazarus] LazWebData package

2010-10-04 Thread Michael Van Canneyt
On Sun, 3 Oct 2010, Leonardo M. Ramé wrote: Hi, I was trying to play with the new demos from packages/fcl-web/examples and found that them require the package lazwebdata, where can I find it?. It's actually lazwebextra (lazwebdata was the package I used when designing the components before

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Juha Manninen (gmail)
On Monday 04 October 2010 13:43:06 Frank Church wrote: Batch or bash programs are real programs. I'd say use a batch file or some other script, and create a GUI interface to it. This GUI business is rather over done. You could try Pascal Script, thus have your Pascal cat and eat as well

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Juha Manninen (gmail)
On Sunday 03 October 2010 12:25:50 Frank Church wrote: I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at http://devblog.brahmancreations.com/content/build-scripts-for-installing-fr eepascal-and-lazarus-from-source . Any

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Kjow
2010/10/3 Joshua Lim joshua__...@hotmail.com: Hi Frank, do you have something for Win32?  Thanks. Frank Church wrote: I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Frank Church
On 4 October 2010 00:26, Marcos Douglas m...@delfire.net wrote: 2010/10/3 Frank Church vfcli...@gmail.com: [snip] The wiki also has tips on compiling at http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 It is

[Lazarus] How to use $(Save) macro

2010-10-04 Thread Graeme Geldenhuys
Hi, I have an external tool setup that takes $EdFile() as a parameter. How do I use $(Save) so that the IDE saves the current editor file, *before* it calls the external tool? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Juha Manninen (gmail)
On Monday 04 October 2010 12:51:25 Kjow wrote: PS I want to make a real program, instead a batch. Multiplatform (Win+Linux), of course. Make it Win+Linux+Mac. Then make it an open source project and I promise to participate. See my other mail. Regards, Juha --

Re: [Lazarus] Align property confusion

2010-10-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: 2010/10/4 Дмитрий Курашкин : You need following: 1. Drop additional panel (P3) on Form 2. Make its border invisible and Aligh = alLeft 3. Drop P2 on P3 and make P2.Aligh = alBottom 4. Drop P1 on Form and make P1.Aligh = alRight As I know,

Re: [Lazarus] Align property confusion

2010-10-04 Thread Dimitri Smits
- Graeme Geldenhuys graemeg.li...@gmail.com schreef: 2010/10/4 Дмитрий Курашкин : You need following: 1. Drop additional panel (P3) on Form 2. Make its border invisible and Aligh = alLeft 3. Drop P2 on P3 and make P2.Aligh = alBottom 4. Drop P1 on Form and make P1.Aligh = alRight

Re: [Lazarus] Align property confusion

2010-10-04 Thread Graeme Geldenhuys
On 4 October 2010 15:03, Dimitri Smits wrote: I think it rather stems from the Windows world rather than Borland's bright minds. AFAIK it always was: horizontal takes precedence on vertical. So Top/Bottom fills entire width, Left/Right takes the remaining height, Client fill's the rest.

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marcos Douglas
On Mon, Oct 4, 2010 at 12:48 AM, Joshua Lim joshua__...@hotmail.com wrote: [snip] See: http://www.freepascal.org/down-win32.html . You can find a list of mirrors at http://www.freepascal.org/sdown.html. Download FPC as one big file, unzip it and run the install.exe. The download links don't

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Frank Church
On 4 October 2010 11:18, Kjow antispamm...@gmail.com wrote: 2010/10/4 Frank Church vfcli...@gmail.com: If you can make it fully configurable, so that c:\develop can be c:\%installdir%, specify which revision so that the download command will be svn -r %revision%

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Frank Church
2010/10/4 Juha Manninen (gmail) juha.mannine...@gmail.com On Sunday 03 October 2010 12:25:50 Frank Church wrote: I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at

Re: [Lazarus] How to use $(Save) macro

2010-10-04 Thread Graeme Geldenhuys
2010/10/4 Mattias Gärtner : executed before running the tool. The position of the Save/SaveAll macro in the string is irrelevant. For readability: start or end. Thanks Mattias, it works perfectly now. -- Regards,   - Graeme - ___ fpGUI - a

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marcos Douglas
On Mon, Oct 4, 2010 at 9:51 AM, Kjow antispamm...@gmail.com wrote: 2010/10/4 Marcos Douglas m...@delfire.net: I think is good and I have interest... but you saw this link?

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Kjow
2010/10/4 Frank Church vfcli...@gmail.com: If you can make it fully configurable, so that  c:\develop can be c:\%installdir%, specify which revision so that the download command will be svn -r %revision% http://svn.freepascal.org/fpc/trunk fpc_%revision% etc, it will be a lot more useful. I

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Kjow
2010/10/4 Marcos Douglas m...@delfire.net: I think is good and I have interest... but you saw this link? http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 This tutorial uses BAT files and it works too. When I maded

Re: [Lazarus] Align property confusion

2010-10-04 Thread Graeme Geldenhuys
2010/10/4 Дмитрий Курашкин : You need following: 1. Drop additional panel (P3) on Form 2. Make its border invisible and Aligh = alLeft 3. Drop P2 on P3 and make P2.Aligh = alBottom 4. Drop P1 on Form and make P1.Aligh = alRight As I know, it is the only way... Thanks I tried that, but

Re: [Lazarus] How to use $(Save) macro

2010-10-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: Hi, I have an external tool setup that takes $EdFile() as a parameter. How do I use $(Save) so that the IDE saves the current editor file, *before* it calls the external tool? The macros are resolved when filling in the TProcess values, so

Re: [Lazarus] Does Lazarus/FPC have a process launcher for FastCGI?

2010-10-04 Thread Frank Church
On 4 October 2010 12:26, Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 4 Oct 2010, Frank Church wrote: Does Lazarus/FPC have its own process launcher for FastCGI? Why would you need a process launcher ? This is a new area for me. When I check the nginx, this is what I see.

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Kjow
2010/10/4 Juha Manninen (gmail) juha.mannine...@gmail.com: What I (and I guess Kjow) have in mind is an installation program for a person who goes to Lazarus web-page for the first time and wants to try it. He doesn't even need to know that FPC needs to be installed before Lazarus. The

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marcos Douglas
On Mon, Oct 4, 2010 at 7:44 AM, Juha Manninen (gmail) juha.mannine...@gmail.com wrote: One more thing: The multi-platform installer would be completed with a multi-platform-aware web-site, similar with some commercial product download pages. Example:  http://www.teamviewer.com/index.aspx It

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marcos Douglas
On Mon, Oct 4, 2010 at 6:51 AM, Kjow antispamm...@gmail.com wrote: 2010/10/3 Joshua Lim joshua__...@hotmail.com: Hi Frank, do you have something for Win32?  Thanks. Frank Church wrote: I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus

Re: [Lazarus] Align property confusion

2010-10-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: [...] I got a reply from Michael van Canneyt in private. He said as far as he knows it's due to the streaming system used in the VCL. So order of creation is never guaranteed, and can never make assumptions about that. To clarify: The order

Re: [Lazarus] GLScene and Lazarus...

2010-10-04 Thread Vincent Snijders
2010/10/4 Bo Berglund bo.bergl...@gmail.com: When I look at the README on how to install GLScene I have a problem with the following sentences: Finish the installation: * copy lazarus/components/glscene/globallinks/*.lpl to lazarus/packager/globallinks/ * start lazarus * select Configure

[Lazarus] Does Lazarus/FPC have a process launcher for FastCGI?

2010-10-04 Thread Frank Church
Does Lazarus/FPC have its own process launcher for FastCGI? I am going to try the existing scripts for nginx, but it looks like they use their FastCGI scripts to launch the Lazarus exe's as a CGI. /vfclists -- Frank Church === http://devblog.brahmancreations.com --

Re: [Lazarus] Align property confusion

2010-10-04 Thread Michael Van Canneyt
On Mon, 4 Oct 2010, Dimitri Smits wrote: - Graeme Geldenhuys graemeg.li...@gmail.com schreef: 2010/10/4 Дмитрий Курашкин : You need following: 1. Drop additional panel (P3) on Form 2. Make its border invisible and Aligh = alLeft 3. Drop P2 on P3 and make P2.Aligh = alBottom 4.

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Kjow
2010/10/4 Marcos Douglas m...@delfire.net: Well, I am not an expert in BAT files and this was my first contribuition to FreePascal  ;-) but if you have a script with interaction, is much better. I would like to see your script. I'll publish a new mail in the mailing list when done :) If the

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Juha Manninen (gmail)
One more thing: The multi-platform installer would be completed with a multi-platform-aware web-site, similar with some commercial product download pages. Example: http://www.teamviewer.com/index.aspx It recognizes the client's platform somehow using Javascript (I guess) and offers the right

Re: [Lazarus] Serial communication??

2010-10-04 Thread Paulo Costa
On 04/10/2010 07:17, Bo Berglund wrote: Thanks for the suggestion! I have now installed the serial component of the suite on my Ubuntu Lazarus. As indicated there is an event for receiving the incoming data even though that event does not tell how many characters are actually available. So how

Re: [Lazarus] GLScene and Lazarus...

2010-10-04 Thread Kjow
2010/10/3 BosseB bo.bergl...@gmail.com We have a Windows application, which uses GLScene to process and render data from our data acquisition system. Now we are embarking on putting an embedded linux front end system directly on our equipment (hence my numerous other posts here recently).

Re: [Lazarus] Align property confusion

2010-10-04 Thread Дмитрий Курашкин
You need following: 1. Drop additional panel (P3) on Form 2. Make its border invisible and Aligh = alLeft 3. Drop P2 on P3 and make P2.Aligh = alBottom 4. Drop P1 on Form and make P1.Aligh = alRight As I know, it is the only way... 2010/10/4 Graeme Geldenhuys graemeg.li...@gmail.com Hi, I

Re: [Lazarus] Serial communication??

2010-10-04 Thread Bo Berglund
On Fri, 01 Oct 2010 16:10:52 +0100, Paulo Costa p...@fe.up.pt wrote: En/na Bo Berglund ha escrit: So far most of what has been shown builds on Synaser or similar, which are blocking systems Yes, so you put it in a TThread and, when the data is ready, use synchronize to signal the main

Re: [Lazarus] Does Lazarus/FPC have a process launcher for FastCGI?

2010-10-04 Thread Michael Van Canneyt
On Mon, 4 Oct 2010, Frank Church wrote: Does Lazarus/FPC have its own process launcher for FastCGI? Why would you need a process launcher ? I am going to try the existing scripts for nginx, but it looks like they use their FastCGI scripts to launch the Lazarus exe's as a CGI. Can you

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Vincent Snijders
2010/10/4 Marcos Douglas m...@delfire.net: Do you know if exists a component for lazarus that permits to download from svn? If not, I will use external svn like the script. I don't know... I think is better use external SVN program (they are finished and works fine). Like here:

Re: [Lazarus] Does Lazarus/FPC have a process launcher for FastCGI?

2010-10-04 Thread Frank Church
On 4 October 2010 13:04, Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 4 Oct 2010, Frank Church wrote: On 4 October 2010 12:26, Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 4 Oct 2010, Frank Church wrote: Does Lazarus/FPC have its own process launcher for

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marco van de Voort
On Sun, Oct 03, 2010 at 02:30:11PM +0100, Frank Church wrote: On 3 October 2010 13:23, Joshua Lim joshua__...@hotmail.com wrote: Hi Frank, do you have something for Win32? Thanks. I don't have anything for Win32 yet, but it should be easy to convert. You only have to look out for the

Re: [Lazarus] Align property confusion

2010-10-04 Thread Graeme Geldenhuys
2010/10/4 Mattias Gärtner nc-gaert...@netcologne.de: The wiki describes the algorithm with examples: http://wiki.lazarus.freepascal.org/Autosize_/_Layout#Align Very clear help indeed. That's even better help that Borland or Embarcadero could create. Well done! :) The property should

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marco van de Voort
On Mon, Oct 04, 2010 at 02:44:19PM +0300, Juha Manninen (gmail) wrote: P.S. Scripting language term is used loosely for dynamic languages like Perl, Python and Ruby, Dynamic typic and scripting are not related. Scripting usually points towards a more interpretive way of execution. You can

Re: [Lazarus] Does Lazarus/FPC have a process launcher for FastCGI?

2010-10-04 Thread Michael Van Canneyt
On Mon, 4 Oct 2010, Frank Church wrote: Are the examples of webmodule fastcgi's in the demos? No, since they're in no way different from CGIs as far as coding is concerned. Just the application type differs. Instead of choosing 'new cgi application', you must choose 'new fastcgi

[Lazarus] Lazarus Manager

2010-10-04 Thread Kjow
Hi all, This eMail is a Spin-Off of mailing Build scripts for Freepascal and Lazarus compilation from source Here ( http://wiki.lazarus.freepascal.org/Lazarus_Manager ) I started a project to manage Lazarus/FPC installation from svn sources. In the next weeks/month I will port these script to a

Re: [Lazarus] Is it possible to create a loop

2010-10-04 Thread Nikolay Nikolov
On 10/03/2010 09:01 PM, Bizugo wrote: Is possible to create a loop using a code like this one: for var J: integer = X to Y do {...} No, but if you're using Lazarus and want to save typing, you can write: for I := 1 to 10 do and then press Ctrl+Shift+C and it will automatically add I:

Re: [Lazarus] GLScene and Lazarus...

2010-10-04 Thread Bo Berglund
On Mon, 4 Oct 2010 11:36:28 +0200, Kjow antispamm...@gmail.com wrote: I don't know which is the state of GLScene4Lazarus (the page on the lazarus wiki), but the main/official development of GLScene restarted from some month ago to develop GLScene with Lazarus/multiplatform in mind and now there

Re: [Lazarus] Lazarus Manager

2010-10-04 Thread Vincent Snijders
2010/10/4 Kjow antispamm...@gmail.com: PS A future goal will be implementation of cross-compiling from win/linux/i386/x64/arm to win/linux/i386/x64/arm, with the right support is not so hard. I have heard good stories about CodeTyphon:

Re: [Lazarus] Lazarus Manager

2010-10-04 Thread Kjow
2010/10/4 Vincent Snijders vincent.snijd...@gmail.com: I have heard good stories about CodeTyphon: http://www.pilotlogic.com/sitejoom/index.php?option=com_contentview=articleid=96Itemid=148 Maybe you can take a look at it for inspiration. Vincent Thanks! A lot of month ago I installed

Re: [Lazarus] Memory leak in TThread class

2010-10-04 Thread Marcos Douglas
2010/10/4 silvioprog silviop...@gmail.com: Hi folks, I detected a small leak in the TThread class. I made a simple test and I sending in attached (or http://pastebin.com/aWNuHyDQ). To reproduce the leak, just open and close the demo. My environment: Lazarus 0.9.29 r27568 FPC 2.5.1

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Juha Manninen (gmail)
On Monday 04 October 2010 18:14:32 Marco van de Voort wrote: Bash has been called (shell)scripting for 4 decades now. Probably longer than the three above exist combined Yes. However, at least 10 years ago, a Perl program was typically called Perl script, no matter how complicated it was. A C

Re: [Lazarus] Align property confusion

2010-10-04 Thread Hans-Peter Diettrich
Mattias Gärtner schrieb: Borland implemented a limited, but visually easy to understand system. IMO Borland did a few things wrong, but Align was a good idea. I like it, because it keeps things simple :-) Of course adding an optional more flexible layout engine would be an even better

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Juha Manninen (gmail)
On Monday 04 October 2010 15:26:47 Marcos Douglas wrote: You talk about installer to FPC and Lazarus from SVN? The installer to Windows works very well (but I do not use it)... Or you talk about the universal installer multiplataform? But it will use the sources from SVN? It would be a

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Justin Smyth
sent from my Telstra NEXTG™ handset -Original Message- From: Juha Manninen (gmail) juha.mannine...@gmail.com Sent: Tuesday, 5 October 2010 8:02 AM To: Lazarus mailing list lazarus@lists.lazarus.freepascal.org Subject: Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Frank Church
On 4 October 2010 16:08, Marco van de Voort mar...@stack.nl wrote: On Sun, Oct 03, 2010 at 02:30:11PM +0100, Frank Church wrote: On 3 October 2010 13:23, Joshua Lim joshua__...@hotmail.com wrote: Hi Frank, do you have something for Win32? Thanks. I don't have anything for Win32

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Frank Church
On 4 October 2010 14:11, Marcos Douglas m...@delfire.net wrote: On Mon, Oct 4, 2010 at 9:51 AM, Kjow antispamm...@gmail.com wrote: 2010/10/4 Marcos Douglas m...@delfire.net: I think is good and I have interest... but you saw this link?

Re: [Lazarus] Build scripts for Freepascal and Lazarus compilation from source

2010-10-04 Thread Marcos Douglas
On Mon, Oct 4, 2010 at 6:02 PM, Juha Manninen (gmail) juha.mannine...@gmail.com wrote: On Monday 04 October 2010 15:26:47 Marcos Douglas wrote: You talk about installer to FPC and Lazarus from SVN? The installer to Windows works very well (but I do not use it)... Or you talk about the

[Lazarus] Error: Can't call the resource compiler /usr/bin/fpcres, switching to external mode

2010-10-04 Thread Frank Church
I am trying to rebuild the IDE after installing new packages and I get this error message repeatedly. /home/rchurch/.programs/lazarus/0.9.29/lazarus_0929_27548/share/lazarus/ide/lazarus.pp(127,1) Error: Can't call the resource compiler /usr/bin/fpcres, switching to external mode When I got this