Re: [Lazarus] Timing of all compiler options on slow machines

2013-09-18 Thread Juha Manninen
The options are now read in a thread which is started when the Other page is opened. It is not perfect still as sometimes the parsed data is not used, but who cares... Please test. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Lazarus 1.1.99 Pre Release

2013-09-18 Thread Mattias Gaertner
The Lazarus team would like to announce that it has started the release preparations for Lazarus 1.2. The release process will consist of several steps which you can find here: http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Roadmap_to_1.2 We would like to invite people to test the

Re: [Lazarus] Mac (or other BigEndian machine) users needed to test new Utf8StringOfChar code

2013-09-18 Thread Mark Morgan Lloyd
Bart wrote: On 9/17/13, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Hans-Peter Diettrich wrote: I've missed part of this thread due to messages dropped at our gateway, but am currently trying to check on SPARC Linux. Here's the comple code for you: Code as posted plus your

Re: [Lazarus] Mac (or other BigEndian machine) users needed to test new Utf8StringOfChar code

2013-09-18 Thread Mark Morgan Lloyd
José Mejuto wrote: I had not fully checked you code, but I think you are coding always the UTF16 as little endian, and in big endian machines the UTF16 should be big endian also. I do not have a big endian machine in order to perform some tests. I generally have 32-bit big-endian systems

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Mattias Gaertner
On Tue, 17 Sep 2013 20:40:00 -0300 Marcos Douglas m...@delfire.net wrote: Hi, I can't compile IDE using FPC 2.7.1 (see attachment error.png, please). The ENV original is: Lazarus 1.1 r42461 FPC 2.6.2 i386-win32-win32/win64 The fpc 2.7.1 has recently started the new unicode RTL. Please

Re: [Lazarus] Mac (or other BigEndian machine) users needed to test new Utf8StringOfChar code

2013-09-18 Thread José Mejuto
El 17/09/2013 17:25, Bart escribió: I thought f performance when calling like Utf8StringOfChare(AnUtf8Char, 32768), This should perform better if Fill(D)Word can be used I think. Hello, Yes, it should, but you can place a check that if less than 64 bytes are used, do not call Fill(D)Word

[Lazarus] Add package

2013-09-18 Thread Antonio Fortuny
Hi All. I run into a Lazarus package install that I've had some months ago but on Win64. This time problem araises into my new Lazarus 1.0.12 in a Linux x86_64 box The package is Indy. The package compilation itself runs OK, no problem. It hes been compiled with -fPIC because it is used in a

Re: [Lazarus] Mac (or other BigEndian machine) users needed to test new Utf8StringOfChar code

2013-09-18 Thread Bart
On 9/18/13, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Bart wrote: On 9/17/13, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Hans-Peter Diettrich wrote: I've missed part of this thread due to messages dropped at our gateway, but am currently trying to check on SPARC

Re: [Lazarus] Tag code on Lazarus Wiki

2013-09-18 Thread William Oliveira Ferreira
Go to line 212 of the page's source /lili*code*AddArray*/code*, codeAddNull/code, codeAddX/code and codeAddY/code functions, codeSetText/code procedure Every function or reserverd word is marked with that tag... 2013/9/17 Bart bartjun...@gmail.com On 9/17/13, William Oliveira Ferreira

Re: [Lazarus] Add package

2013-09-18 Thread Mattias Gaertner
On Wed, 18 Sep 2013 12:09:50 +0200 Antonio Fortuny a.fort...@sitasoftware.lu wrote: Hi All. I run into a Lazarus package install that I've had some months ago but on Win64. This time problem araises into my new Lazarus 1.0.12 in a Linux x86_64 box The package is Indy. The package

Re: [Lazarus] Add package

2013-09-18 Thread Antonio Fortuny
Colved. Recompile indylaz with -Ur option Found trick in http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg18469.html -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Tag code on Lazarus Wiki

2013-09-18 Thread Reinier Olislagers
On 18/09/2013 12:33, William Oliveira Ferreira wrote: Go to line 212 of the page's source /lili*code*AddArray*/code*, codeAddNull/code, codeAddX/code and codeAddY/code functions, codeSetText/code procedure Every function or reserverd word is marked with that tag... I'd suggest you

Re: [Lazarus] Tag code on Lazarus Wiki

2013-09-18 Thread William Oliveira Ferreira
ow, I think I got now, sorry. 2013/9/18 Reinier Olislagers reinierolislag...@gmail.com On 18/09/2013 12:33, William Oliveira Ferreira wrote: Go to line 212 of the page's source /lili*code*AddArray*/code*, codeAddNull/code, codeAddX/code and codeAddY/code functions, codeSetText/code

Re: [Lazarus] Add package

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 11:09, Antonio Fortuny wrote: The package is Indy. On a different subject. What is the latest Indy version that works with FPC? I have 10.5.8 here, is that the latest for FPC? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

Re: [Lazarus] Tag code on Lazarus Wiki

2013-09-18 Thread William Oliveira Ferreira
I tried your tip but not served as was expected because it creates a box for each TAG used in code. If I put each reserved word or function within this tag, each word is in a box with dotted outline. This tag you suggested serves for code blocks, but not when a reserved word is inserted into a

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Mattias Gaertner
On Wed, 18 Sep 2013 12:23:11 -0300 Marcos Douglas m...@delfire.net wrote: [...] It must be a make.exe. You can use the make.exe of fpc 2.6.2. Ok. But why FPC 2.7.1 do not have make.exe? You need 2.6.2 to build 2.7.1 anyway. Mattias -- ___

[Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
Hi, As the subject line says, can Lazarus IDE's debugger attach to a already running process? The running process is a program compiler earlier with Lazarus IDE. I know GDB [via CLI] can do this, but can you do it via the Lazarus IDE, so I have visual debugging? If one can, how do I do it?

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Martin
On 18/09/2013 16:49, Graeme Geldenhuys wrote: Hi, As the subject line says, can Lazarus IDE's debugger attach to a already running process? The running process is a program compiler earlier with Lazarus IDE. I know GDB [via CLI] can do this, but can you do it via the Lazarus IDE, so I have

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Martin
On 18/09/2013 18:11, Graeme Geldenhuys wrote: On 2013-09-18 16:54, Sven Barth wrote: According to http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#IDE_Changes current 1.1 versions support attaching to a running process. Never used it yet though. OK thanks. I found it under the

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Martin Schreiber
On Wednesday 18 September 2013 17:49:23 Graeme Geldenhuys wrote: Hi, As the subject line says, can Lazarus IDE's debugger attach to a already running process? The running process is a program compiler earlier with Lazarus IDE. I know GDB [via CLI] can do this, but can you do it via the

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 16:54, Sven Barth wrote: According to http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#IDE_Changes current 1.1 versions support attaching to a running process. Never used it yet though. OK thanks. I found it under the Run menu but couldn't get it to work. In

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Sven Barth
On 18.09.2013 17:49, Graeme Geldenhuys wrote: Hi, As the subject line says, can Lazarus IDE's debugger attach to a already running process? The running process is a program compiler earlier with Lazarus IDE. I know GDB [via CLI] can do this, but can you do it via the Lazarus IDE, so I have

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Marcos Douglas
On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos Douglas m...@delfire.net wrote: [...] It must be a make.exe. You can use the make.exe of fpc 2.6.2. Ok. But why FPC 2.7.1 do not have make.exe? You need 2.6.2 to

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread patspiper
On 18/09/13 21:14, patspiper wrote: On 18/09/13 21:01, Martin wrote: On 18/09/2013 19:00, patspiper wrote: I tried to attach to an external process (Ubuntu 11.04) and (Ooops) the debugger entered the error state; Attach failed. This happens whether the process is a Lazarus compiled app or

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread patspiper
On 18/09/13 20:32, Martin wrote: On 18/09/2013 18:11, Graeme Geldenhuys wrote: On 2013-09-18 16:54, Sven Barth wrote: According to http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#IDE_Changes current 1.1 versions support attaching to a running process. Never used it yet

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Martin
On 18/09/2013 19:00, patspiper wrote: On 18/09/13 20:32, Martin wrote: On 18/09/2013 18:11, Graeme Geldenhuys wrote: On 2013-09-18 16:54, Sven Barth wrote: According to http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#IDE_Changes current 1.1 versions support attaching to a

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread patspiper
On 18/09/13 21:01, Martin wrote: On 18/09/2013 19:00, patspiper wrote: I tried to attach to an external process (Ubuntu 11.04) and (Ooops) the debugger entered the error state; Attach failed. This happens whether the process is a Lazarus compiled app or other. Lazarus 1.3 r42849 FPC 2.6.3

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 18:46, Martin Schreiber wrote: Instead of using DDD, in MSEide it is 'Target'-'Attach Process'. Excellent, thanks Martin! Will give it a try. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ --

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 18:32, Martin wrote: What went wrong? The whole IDE froze up - I was using it under FreeBSD 9.1 (64-bit) with LCL-GTK2 compiled IDE. I tried as my normal user first, then noticed the security issue of attaching to a process I don't own. I then copied the .lazarus/ directory to the

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 19:00, patspiper wrote: I tried to attach to an external process (Ubuntu 11.04) and (Ooops) the debugger entered the error state; Attach failed. Ah yes, I had that one too - as my normal user. I deduced it was because I didn't own the process I was trying to debug. The IDE froze

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 18:30, Martin wrote: If you use an integer var, you can modify it from the IDE. Do not modify managed types OK, thanks for that tip. Once I get it working, I'll update the CGI Web Programming [http://wiki.freepascal.org/CGI_Web_Programming] wiki page on the alternative way to

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Martin
On 18/09/2013 19:52, Graeme Geldenhuys wrote: On 2013-09-18 18:32, Martin wrote: What went wrong? The whole IDE froze up After orl before you enter the PID/ Can it be that the PID input win was (due to the gck focus/window z order issues) hidden? It is modal, so the rest of the IDE would

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Martin
On 18/09/2013 20:03, Martin wrote: On 18/09/2013 19:52, Graeme Geldenhuys wrote: On 2013-09-18 18:32, Martin wrote: What went wrong? The whole IDE froze up After orl before you enter the PID/ Can it be that the PID input win was (due to the gck focus/window z order issues) hidden? It is

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Mattias Gaertner
On Wed, 18 Sep 2013 13:16:55 -0300 Marcos Douglas m...@delfire.net wrote: On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos Douglas m...@delfire.net wrote: [...] It must be a make.exe. You can use the make.exe

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-18 Thread Marcos Douglas
On Wed, Sep 18, 2013 at 5:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 13:16:55 -0300 Marcos Douglas m...@delfire.net wrote: On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-18 Thread Graeme Geldenhuys
On 2013-09-18 20:03, Martin wrote: After orl before you enter the PID/ Can it be that the PID input win was (due to the gck focus/window z No, I saw the PID input window just fine. The freeze-up occurred after I entered the PID and clicked OK. Regards, - Graeme - -- fpGUI Toolkit - a