Re: [fpc-pascal] FPC 2.5.1 (trunk rev 18036): Can't find unit fastcgi used by custfcgi

2011-08-26 Thread Marcos Douglas
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

[fpc-pascal] Can't get error messages or anything with F12

2011-08-26 Thread John Youngquist
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

2011-08-26 Thread Andrew Haines
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

Re: [fpc-pascal] New Dispose and FreeMem and objects

2011-08-26 Thread Jonas Maebe
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.

[fpc-pascal] FP IDE - jump to implementation

2011-08-26 Thread Graeme Geldenhuys
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

Re: [fpc-pascal] FP IDE - jump to implementation

2011-08-26 Thread Jonas Maebe
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

[fpc-pascal] FP IDE keyboard shortcuts don't work under Linux

2011-08-26 Thread Graeme Geldenhuys
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

Re: [fpc-pascal] FP IDE keyboard shortcuts don't work under Linux

2011-08-26 Thread Florian Klämpfl
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. ___

Re: [fpc-pascal] New Dispose and FreeMem and objects

2011-08-26 Thread Andrew Haines
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.

Re: [fpc-pascal] FP IDE keyboard shortcuts don't work under Linux

2011-08-26 Thread Graeme Geldenhuys
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

Re: [fpc-pascal] New Dispose and FreeMem and objects

2011-08-26 Thread Jonas Maebe
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