Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Graeme Geldenhuys
On 23/05/2011 17:10, Alexander Klenin wrote: But it is absent on Windows, so no better than Arial as a cross-platform font It's free, so deploy it with your application, or use Arial under Windows and Liberation under Linux/*BSD etc. As the wiki site says, they are metric compatible so look

Re: [Lazarus] Class operators

2011-05-24 Thread Graeme Geldenhuys
On 24/05/2011 02:02, Jose Luis wrote: What does this mean ?, it was a SpeedButton that triggered the action, but I received a TAction object. The SpeedButton triggered the action (eg; acButton.Execute), the Action then triggered the event handler. Possible? Does the SpeedButton in question

[Lazarus] Build Mode: Packages vs Project

2011-05-24 Thread Graeme Geldenhuys
Hi, My one project uses 5 packages. If I want to create a release version, must I set the Project + the 5 packages all to release build profile and then recompile each one? Or is it sufficient to only change the Project's build mode to release? [leaving the 5 package's compiler settings as-is]

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Graeme Geldenhuys
On 23/05/2011 21:55, Mattias Gaertner wrote: I wonder how you found this page. The Wiki says that no page links to this page. Well, at least it appears under the Lazarus category http://wiki.lazarus.freepascal.org/Category:Lazarus But yes, I have never seen that page either. The joys

Re: [Lazarus] fpWeb and static content

2011-05-24 Thread michael . vancanneyt
On Mon, 23 May 2011, Lee Jenkins wrote: What is the typical strategy to server up static content with fpWeb? JS, css files, given that its handler centric. Create a default handler that checks for file extension in the .PathInfo? Yes. or, if you use the embedded server, the URL

Re: [Lazarus] Class operators

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 00:35:19 +0100 Martin laza...@mfriebe.de wrote: [...] (^^PChar(Sender)^+3)^+1 It should give you the real classname Can this be used in the debugger hint, when moving the mouse over 'Sender'? Mattias -- ___ Lazarus mailing

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 08:38:32 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 23/05/2011 17:10, Alexander Klenin wrote: But it is absent on Windows, so no better than Arial as a cross-platform font It's free, so deploy it with your application, or use Arial under Windows and

Re: [Lazarus] Class operators

2011-05-24 Thread Mattias Gaertner
On Mon, 23 May 2011 20:02:42 -0400 Jose Luis jlvo...@fibertel.com.py wrote: On Tue, 2011-05-24 at 00:35 +0100, Martin wrote: On 24/05/2011 00:17, Jose Luis wrote: On Tue, 2011-05-24 at 00:30 +0200, Mattias Gaertner wrote: On Mon, 23 May 2011 18:06:31 -0400 Jose

Re: [Lazarus] Synchronize problem in linux

2011-05-24 Thread Michael Schnell
On 05/23/2011 10:59 PM, Zaher Dirkey wrote: procedure TdbgpGetCurrent.ShowFile; //this function must synced If the only purpose of the function really is showing something, maybe Application.QueuAsyncCall might be a better alternative, as the thread can go on running while the showing is

[Lazarus] Show Compile Dialog - previous focus is lost

2011-05-24 Thread Graeme Geldenhuys
Hi, I'm using latest v0.9.30.x (fixes branch). I have the Show Compile Dialog checkbox enabled, without the auto close function. I have the Source Editor window focused. I press Ctrl+F9 to compile my project. The Compile Dialog shows, and then closes. Now the Main Window of the IDE is focused,

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Graeme Geldenhuys
On 24/05/2011 09:27, Mattias Gaertner wrote: Of course the LCL fails here, because it is not used here, but the freetype unit. I did not mean it as trolling, but rather as an idea for improved cross-platform support. I believe I mentioned this font issue with Lazarus some years ago, when we

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Graeme Geldenhuys
On 24/05/2011 11:45, Graeme Geldenhuys wrote: I did not mean it as trolling, but rather as an idea for improved cross-platform support. I believe I mentioned this font issue with Lazarus some years ago, when we still used LCL in our applications (around v0.9.18 I think). Nothing about this

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Lukasz Sokol
On 24/05/2011 10:49, Graeme Geldenhuys wrote: On 24/05/2011 11:45, Graeme Geldenhuys wrote: I did not mean it as trolling, but rather as an idea for improved cross-platform support. I believe I mentioned this font issue with Lazarus some years ago, when we still used LCL in our applications

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Alexander Klenin
On Tue, May 24, 2011 at 20:45, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 24/05/2011 09:27, Mattias Gaertner wrote: Of course the LCL fails here, because it is not used here, but the freetype unit. I did not mean it as trolling, but rather as an idea for improved cross-platform

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Graeme Geldenhuys
On 24/05/2011 12:20, Alexander Klenin wrote: note that the discussion you responded to was about the failure when trying to NOT use the LCL, so your implication of LCL fails here is misplaced. Well, I was responding to you comment about the Liberation font not being available in Windows.

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/23 Mattias Gaertner nc-gaert...@netcologne.de: I wonder how you found this page. The Wiki says that no page links to this page. Oh :o , but it's there, see: http://imagebin.org/154790. The recommended way is to use the svn versions. See here:

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
    silvioprog silviop...@gmail.com hat am 24. Mai 2011 um 13:07 geschrieben: 2011/5/23 Mattias Gaertner nc-gaert...@netcologne.de: I wonder how you found this page. The Wiki says that no page links to this page. Oh :o , but it's there, see: http://imagebin.org/154790.  Yes, the

Re: [Lazarus] Class operators

2011-05-24 Thread Jose Luis
On Tue, 2011-05-24 at 08:46 +0200, Graeme Geldenhuys wrote: On 24/05/2011 02:02, Jose Luis wrote: What does this mean ?, it was a SpeedButton that triggered the action, but I received a TAction object. The SpeedButton triggered the action (eg; acButton.Execute), the Action then

Re: [Lazarus] Class operators

2011-05-24 Thread Jose Luis
On Tue, 2011-05-24 at 09:45 +0200, Mattias Gaertner wrote: On Mon, 23 May 2011 20:02:42 -0400 Jose Luis jlvo...@fibertel.com.py wrote: On Tue, 2011-05-24 at 00:35 +0100, Martin wrote: On 24/05/2011 00:17, Jose Luis wrote: On Tue, 2011-05-24 at 00:30 +0200, Mattias Gaertner wrote:

Re: [Lazarus] Getting update rect/region in Windows

2011-05-24 Thread Max Vlasov
On Mon, May 23, 2011 at 4:37 PM, Hans-Peter Diettrich drdiettri...@aol.comwrote: Actually I needed access not only to update rect, but to the update region (for example in order to effectively resolve small rectangles in different areas of a big window). In this case I also found a

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de: Yes, the page is still there, but it is outdated, not maintained, abandoned. That's why nothing links to it. Is there still anything useful in it? Maybe it's time to remove it. The page is not outdated, and they works perfectly with stable

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Alexsander Rosa
My suggestion for the release version is: http://sourceforge.net/projects/lazarus/files/ It detects your OS and suggests a direct download: lazarus-0.9.30-i386.deb.tar under Linux lazarus-0.9.30-fpc-2.4.2-win32.exe under WinXP 2011/5/24 Kjow antispamm...@gmail.com 2011/5/24 Mattias Gaertner

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 Alexsander Rosa alexsander.r...@gmail.com: My suggestion for the release version is: http://sourceforge.net/projects/lazarus/files/ It detects your OS and suggests a direct download: lazarus-0.9.30-i386.deb.tar under Linux lazarus-0.9.30-fpc-2.4.2-win32.exe under WinXP With these

Re: [Lazarus] Getting update rect/region in Windows

2011-05-24 Thread Hans-Peter Diettrich
Max Vlasov schrieb: tetris-inspired game and is gnu gpl. I would like to made it compatible with other platforms, but I'm not sure whether I should change region-based logic to something else in this case. I will be glad to hear any advice on this. I don't know about concrete window

[Lazarus] Translator into Ukrainian

2011-05-24 Thread Igor Paliychuk
Hi. I want to update ukrainian localization of Lazarus IDE and it's components. Is there active translator into ukrainian in project atm? If yes than give me his contact please. If not than give me contact of developer, responsible for localizations. Regards. --

Re: [Lazarus] fpWeb and static content

2011-05-24 Thread leledumbo
Maybe this would sound overcomplicated, but I create a special webmodule for this (because I refer it dynamically as well in my templates). -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-fpWeb-and-static-content-tp2977708p2980540.html Sent from the Free

Re: [Lazarus] Show Compile Dialog - previous focus is lost

2011-05-24 Thread Flávio Etrusco
On Tue, May 24, 2011 at 6:36 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Hi, I'm using latest v0.9.30.x (fixes branch). I have the Show Compile Dialog checkbox enabled, without the auto close function. I have the Source Editor window focused. I press Ctrl+F9 to compile my project.

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de: [...] Why? What fails? Maybe the page can be improved. This information is to install the Lazarus via repository, and I need via to install via SVN. Mattias -- Silvio Clécio === Blog -

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Kjow antispamm...@gmail.com: [...] Just two days ago I used the linux scripts on Ubuntu 11.04 x86 and it worked like a charm. How do you configure the script to install FPC-2.5.1? Regards, Kjow -- Silvio Clécio === Blog -

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Alexsander Rosa alexsander.r...@gmail.com: My suggestion for the release version is: http://sourceforge.net/projects/lazarus/files/ It detects your OS and suggests a direct download: lazarus-0.9.30-i386.deb.tar under Linux lazarus-0.9.30-fpc-2.4.2-win32.exe under WinXP I need:

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
I don't need OpenGL, and neither of cross-compile, so, what lines I remove from the script? My script (fail in sudo alien -i -c /home/$NAME/fpc_tools/fpc_setup/fpc-$FPCVER-1.i686.rpm): http://pastebin.com/57jeNpLm Thx. ps. Sorry for my translation. -- Silvio Clécio

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 silvioprog silviop...@gmail.com: How do you configure the script to install FPC-2.5.1? Regards, Kjow I tried with 2.5.1 + 0.9.31 long time ago, so I don't really know if there are problems actually, but if you open the script with an editor you can find all you need. E.g.: From row

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 silvioprog silviop...@gmail.com: I don't need OpenGL, and neither of cross-compile, so, what lines I remove from the script? My script (fail in sudo alien -i -c /home/$NAME/fpc_tools/fpc_setup/fpc-$FPCVER-1.i686.rpm): http://pastebin.com/57jeNpLm Thx. ps. Sorry for my

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Kjow antispamm...@gmail.com: Cross compiling is deeply integrated to the script, it needs too modifies. To do not download GLScene just comment it. I'll make the modification in the script and post here... -- Silvio Clécio === Blog -

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 15:30:25 +0200 Kjow antispamm...@gmail.com wrote: 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de: Yes, the page is still there, but it is outdated, not maintained, abandoned. That's why nothing links to it. Is there still anything useful in it? Maybe it's time to

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 15:09:43 -0300 silvioprog silviop...@gmail.com wrote: 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de: [...] Why? What fails? Maybe the page can be improved. This information is to install the Lazarus via repository, and I need via to install via SVN. Huh? The

Re: [Lazarus] Build Mode: Packages vs Project

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 08:51:52 +0200 Graeme Geldenhuys graemeg.li...@gmail.com wrote: Hi, My one project uses 5 packages. If I want to create a release version, must I set the Project + the 5 packages all to release build profile and then recompile each one? Or is it sufficient to only

[Lazarus] Is Strip Symbols from Executable broken?

2011-05-24 Thread Prado, Renato (R.P.)
Hello all, Lazarus newbie here, Delphi experienced though... I ran some tests and the Strip Symbols from Executable option in the IDE does not seem to have any effect (Win32, 0.9.30), is this option broken in the current release? I know about strip (CLI) and upx, and both work, my question is

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Kjow antispamm...@gmail.com: Cross compiling is deeply integrated to the script, it needs too modifies. To do not download GLScene just comment it. So, without sucess again. See my script here: http://pastebin.com/gD5pKF2g I removed binutils. Link in line 56 not exists. :( --

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread silvioprog
2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de: Huh? The page is about installing via svn. http://wiki.lazarus.freepascal.org/Getting_Lazarus Maybe you confused it with the page about installing from repository: http://wiki.lazarus.freepascal.org/Installing_Lazarus Mattias In

Re: [Lazarus] Translator into Ukrainian

2011-05-24 Thread Maxim Ganetsky
24.05.2011 20:31, Igor Paliychuk пишет: Hi. I want to update ukrainian localization of Lazarus IDE and it's components. Is there active translator into ukrainian in project atm? If Not that I know of, so please go ahead. yes than give me his contact please. If not than give me contact of

[Lazarus] Multithreading example problem

2011-05-24 Thread Prado, Renato (R.P.)
I am facing a strange problem with Lazarus' multithreading examples: take for example the multithreadingexample1, when I run it it halts when I move the mouse over the application's form with a 'External:SIGSEGV'. In the assembler window I can see the execution point at a repnz scas %es:(%edi),%al

Re: [Lazarus] Translator into Ukrainian

2011-05-24 Thread Igor Paliychuk
I have one question, We need to rename ukrainian po files from *ua.po into *uk.po or *uk_UA.po because ua is not a valid language code ( http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes). But in Lazarus Options uk or uk_UA is not defined as Ukrainian(only ua does). So seems

Re: [Lazarus] LCL not in build profiles ?

2011-05-24 Thread Joost van der Sluis
On Mon, 2011-05-23 at 16:05 +0200, michael.vancann...@wisa.be wrote: Hi, Is there a reason why the LCL is no longer part of the items in the build profiles ? I'd like to have a build profile where I tell the IDE to recompile the FCL/LCLBase/LCL packages as part of the build process. As

Re: [Lazarus] fpWeb and static content

2011-05-24 Thread Joost van der Sluis
On Mon, 2011-05-23 at 22:47 -0400, Lee Jenkins wrote: On 5/23/2011 9:29 PM, ABorka wrote: What is the typical strategy to server up static content with fpWeb? JS, css files, given that its handler centric. Create a default handler that checks for file extension in the .PathInfo? --

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Alexsander Rosa
1. apt-get install subversion 2. svn co http://svn.freepascal.org/svn/fpc/trunk fpc Follow instructions from: http://wiki.lazarus.freepascal.org/Getting_Lazarus#Building_and_installing_Free_Pascal_in_UNIXe 3. svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus Compile with make clean all

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Kjow
2011/5/24 silvioprog silviop...@gmail.com: 2011/5/24 Kjow antispamm...@gmail.com: So, without sucess again. See my script here: http://pastebin.com/gD5pKF2g I removed binutils. Link in line 56 not exists. :( If you don't see at lines 16,17,18 like this: #swap -- swap # of the two rows

Re: [Lazarus] Is Strip Symbols from Executable broken?

2011-05-24 Thread Joost van der Sluis
On Tue, 2011-05-24 at 15:23 -0400, Prado, Renato (R.P.) wrote: I ran some tests and the Strip Symbols from Executable option in the IDE does not seem to have any effect (Win32, 0.9.30), is this option broken in the current release? I'm not sure if I remember correctly, but when you specify

Re: [Lazarus] Translator into Ukrainian

2011-05-24 Thread Maxim Ganetsky
25.05.2011 0:02, Igor Paliychuk пишет: I have one question, We need to rename ukrainian po files from *ua.po into *uk.po or *uk_UA.po because ua is not a valid language code (http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes). But in Lazarus Options uk or uk_UA is not

Re: [Lazarus] Translator into Ukrainian

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 23:02:33 +0300 Igor Paliychuk mansoni...@gmail.com wrote: I have one question, We need to rename ukrainian po files from *ua.po into *uk.po or *uk_UA.po because ua is not a valid language code ( http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes). But

Re: [Lazarus] Translator into Ukrainian

2011-05-24 Thread Maxim Ganetsky
25.05.2011 0:44, Mattias Gaertner пишет: On Tue, 24 May 2011 23:02:33 +0300 Igor Paliychukmansoni...@gmail.com wrote: I have one question, We need to rename ukrainian po files from *ua.po into *uk.po or *uk_UA.po because ua is not a valid language code (

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 16:46:37 -0300 silvioprog silviop...@gmail.com wrote: 2011/5/24 Mattias Gaertner nc-gaert...@netcologne.de: Huh? The page is about installing via svn. http://wiki.lazarus.freepascal.org/Getting_Lazarus Maybe you confused it with the page about installing from

Re: [Lazarus] fpWeb and static content

2011-05-24 Thread Lee Jenkins
On 5/24/2011 4:21 PM, Joost van der Sluis wrote: On Mon, 2011-05-23 at 22:47 -0400, Lee Jenkins wrote: On 5/23/2011 9:29 PM, ABorka wrote: What is the typical strategy to server up static content with fpWeb? JS, css files, given that its handler centric. Create a default handler that checks

Re: [Lazarus] Is Strip Symbols from Executable broken?

2011-05-24 Thread zeljko
On Tuesday 24 of May 2011 22:29:07 Joost van der Sluis wrote: On Tue, 2011-05-24 at 15:23 -0400, Prado, Renato (R.P.) wrote: I ran some tests and the Strip Symbols from Executable option in the IDE does not seem to have any effect (Win32, 0.9.30), is this option broken in the current