Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi
On Thu, Aug 25, 2011 at 4:58 PM, Florian Klämpfl flor...@freepascal.org wrote: Am 25.08.2011 21:56, schrieb Marcos Douglas: On Fri, Jul 29, 2011 at 5:18 PM, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Marcos Douglas said: 1) manually delete the .ppu's in packages that have this problem ( I ran del /s *.ppu ?and *.o in packages/) 2) delete all old fpmake.exe ?(del /s fpmake.exe in packages/) Ok, thanks, worked! But why this? In some packages in 2.5.1, fpmake is being used on an experimental basis, to root out problems by use in practice. Marco, When the fpmake experimental will be fixed? fpmake is something different than fpcmake. The log below simply shows, that you have no properly installed FPC on your system. Ok, my mistake. There were no errors about my FPC installation. The problem was my script. I wrote some options to compile, like: i386, x64 or CROSS. My idea was not compile everything. So, I could to compile just a i386 option and so the cross-compiling was not called. So, the real problem was in 'make' parameters. My script has a 'clean' parameter, always. So, when I tried to compile a CROSS, the 'clean' kill all utilities that a cross-compiler needs. Well, I hope you have understood. Thanks. Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Can't get error messages or anything with F12
I'm running 2.4.0 and can't get error messages or anything from the F12 Compiler messages key. What am I doing wrong? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] New Dispose and FreeMem and objects
Hi is the following allowed or will it cause problems: type PObj = ^TObj; TObj = object constructor Init; end; var Obj : PObj; begin Obj := new(PObj, Init); FreeMem(Obj); // This is the line I wonder about. end; I compiled this and it doesn't throw any exceptions. Should I only use Dispose(Obj) ? Maybe Dispose can call a destructor and that is the difference between Dispose and FreeMem? Thanks, Andrew Haines ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] New Dispose and FreeMem and objects
On 26 Aug 2011, at 22:39, Andrew Haines wrote: Maybe Dispose can call a destructor and that is the difference between Dispose and FreeMem? The other difference is that dispose() will finalize any reference counted fields, while freemem won't. Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FP IDE - jump to implementation
Hi, Is there a keyboard shortcut for FP IDE (text IDE included with FPC) to jump from the interface section to the implementation section of a method. Like Delphi or Lazarus's Ctrl+Shift+[up|down] -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FP IDE - jump to implementation
On 26 Aug 2011, at 23:56, Graeme Geldenhuys wrote: Is there a keyboard shortcut for FP IDE (text IDE included with FPC) to jump from the interface section to the implementation section of a method. No. As far as I know, it does not have any functionality to parse the structure of the source code in any way (other than for syntax highlighting). Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FP IDE keyboard shortcuts don't work under Linux
Hi, I'm using Linux (ubuntu 8.04.4) with FP IDE (text mode ide). I went through the learn keys dialog and it detected all the keys I pressed. Yet when I'm in a source code unit and press some of the keyboard shortcuts (eg: Ctrl+F7 - add watch), it does nothing. Or when I run it inside the Gnome Terminal, if I press Alt+F3 (close window), it doesn't close the current editor window, instead the Options menu (from the main menu bar) opens up. It seems many of the keyboard shortcuts are not correctly detected under Linux. Is this issue only a problems with FP IDE, or is it a more general FreeVision + Linux issues? -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FP IDE keyboard shortcuts don't work under Linux
Am 27.08.2011 00:03, schrieb Graeme Geldenhuys: Is this issue only a problems with FP IDE, or is it a more general FreeVision + Linux issues? Mostly incomplete/inconsistent terminal implementations. Best bet is xterm or text mode console. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] New Dispose and FreeMem and objects
On 08/26/11 17:14, Jonas Maebe wrote: On 26 Aug 2011, at 22:39, Andrew Haines wrote: Maybe Dispose can call a destructor and that is the difference between Dispose and FreeMem? The other difference is that dispose() will finalize any reference counted fields, while freemem won't. Ok so freemem is okay as long as I am careful about the members of the object. Thanks, Andrew Haines ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FP IDE keyboard shortcuts don't work under Linux
On 27/08/2011, Florian Klämpfl wrote: Mostly incomplete/inconsistent terminal implementations. Best bet is xterm or text mode console. I tried both your suggestions. First switching to the linux console (not using X11). When I try and Alt+F3 to close one of the editor windows, Linux rather switches to the 3rd console. :-( In X11 I opened an xterm window, and ran the FP ide. Pressing Alt+F3 to again try and close an editor window, instead of closing it I get text inserted into the current editor window: 1;33R I also did the learn keys again while I was running FP under xterm, thinking that will help, but no luck. I can use Midnight Commander (a linux console file manager) inside Gnome Terminal or xterm, and all keyboard shortcuts work. So I don't think it's issue of Gnome Terminal not being implemented fully. -- Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] New Dispose and FreeMem and objects
On 27 Aug 2011, at 00:18, Andrew Haines wrote: Ok so freemem is okay as long as I am careful about the members of the object. There may be other problems I'm not thinking of right now. I don't understand why you want to use freemem for objects, since the only difference with dispose is that it will result in crashes or memory corruption under certain circumstances. Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal