Re: [fpc-pascal] How to use FCGI?

2009-07-15 Thread Joost van der Sluis
Op maandag 13-07-2009 om 11:07 uur [tijdzone +0200], schreef Artur Stuczyński: > OK, thanks, got it working. > > Please correct me, if I am wrong, but this approach makes developing and > debugging harder, because it is httpd which spawns the application, so to > effectively kill the app and rep

[fpc-pascal] DateTimeToUnix bug ?

2009-07-15 Thread Koenraad Lelong
Hi, I have a linux application where I use DatetimeToUnix. I think it contains a bug. Every minute I put a sample in an rrddb (rrdtool). When I dump the rrddb, the time of the samples is 2 hours in the future. Those 2 hours happen to be the time-zone difference, between UTC and CEST. Anyone ca

Re: [fpc-pascal] DateTimeToUnix bug ?

2009-07-15 Thread Jonas Maebe
On 15 Jul 2009, at 11:06, Koenraad Lelong wrote: I have a linux application where I use DatetimeToUnix. I think it contains a bug. Every minute I put a sample in an rrddb (rrdtool). When I dump the rrddb, the time of the samples is 2 hours in the future. Those 2 hours happen to be the time

Re: [fpc-pascal] DateTimeToUnix bug ?

2009-07-15 Thread Koenraad Lelong
Jonas Maebe schreef: On 15 Jul 2009, at 11:06, Koenraad Lelong wrote: I have a linux application where I use DatetimeToUnix. I think it contains a bug. Every minute I put a sample in an rrddb (rrdtool). When I dump the rrddb, the time of the samples is 2 hours in the future. Those 2 hours ha

[fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Jürgen Hestermann
I am not sure whether there exists a separate mailing list just for Lazarus so I am posting this here: I have seen a small discussion on http://www.mail-archive.com/laza...@miraclec.com/msg20274.html about where Lazarus stores its configuration settings. I wanted to mention that I have a prob

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Gabor Boros
Hi, I don't know the answer for your question but I know a separate Lazarus mailing list exist. http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus Gabor Jürgen Hestermann írta: I am not sure whether there exists a separate mailing list just for Lazarus so I am posting this here:

[fpc-pascal] Persistent blocks in Lazarus

2009-07-15 Thread Jürgen Hestermann
A question: Do persistent blocks exist the Lazarus editor? I didn't find any such option. I am bit astonished about that because all Pascal forefathers like Turbo Pascal, Virtual Pascal and Delphi had it. If it does not exist, is it planned to add? I miss this mode very much. It allowed a way

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Zaher Dirkey
use c:\lazarus\Lazarus.exe --pcp=x:\lazarus\config -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Jürgen Hestermann
> Zaher Dirkey schrieb: use c:\lazarus\Lazarus.exe --pcp=x:\lazarus\config Thanks for the solution! Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. ___

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-15 Thread Martin Friebe
First of all, Lazarus has it's own mailing list, where you will be more likely to receive answers... Jürgen Hestermann wrote: A question: Do persistent blocks exist the Lazarus editor? Not at current. If it does not exist, is it planned to add? Maybe some day. There is no concrete plan that

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Jürgen Hestermann ha escrit: > Zaher Dirkey schrieb: use c:\lazarus\Lazarus.exe --pcp=x:\lazarus\config Thanks for the solution! Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roamin

[fpc-pascal] Re: DateTime bug

2009-07-15 Thread Richard Jasmin
Its off by about 8 hrs on unix and the date, um...I get a single digit from the CMOS or whereever for the year.I have to fudge the numbers a little. Confirmed. Time zone differences are NOT taken into account with FPC for some reason.Instead you get a standard date/time. It took me a little while

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Jürgen Hestermann
Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. Luca Olivetti schrieb: http://bugs.freepascal.org/view.php?id=13908 Interesting that noone mentioned the impact on roamed p

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Jürgen Hestermann schreef: Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. Luca Olivetti schrieb: http://bugs.freepascal.org/view.php?id=13908 Interesting that noone ment

Re: [fpc-pascal] Persistent blocks in Lazarus

2009-07-15 Thread Jürgen Hestermann
> Martin Friebe schrieb: Out of curiosity (because I never used this feature in any editor), what would you use it for? I used it since Turbo Pascal 5 and found it in all other Pascal IDE's (even in the text mode IDE of Free Pascal!). And it seems others would like it too (see http://www.l

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Jürgen Hestermann schreef: Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. Luca Olivetti schrieb: http://bugs.freepascal.org/view.php?id=

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Luca Olivetti schreef: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. My lazarus config directory is 254K under windows and 196K under linux. I guess your lazarus directory is either writable or you didn't install components. Otherwise you have a l

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Luca Olivetti schreef: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. My lazarus config directory is 254K under windows and 196K under linux. I guess your lazarus directory is either writable or you didn't install

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Luca Olivetti schreef: En/na Vincent Snijders ha escrit: Luca Olivetti schreef: I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. My lazarus config directory is 254K under windows and 196K under linux. I guess your lazarus directory is either writabl

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Florian Klaempfl
Vincent Snijders schrieb: > Jürgen Hestermann schreef: Still I am wondering why the directory "Local Settings" is used and not "Application Data" as all other applications do. Then it would be saved with roaming profiles too. >>> Luca Olivetti schrieb: >>> http://bugs.freepascal.org/

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders schrieb: Jürgen Hestermann schreef: definitely a drawback because you lose all your settings then! I am not sure having a 100 MB lazarus *roaming* profile by default would be a good idea. I've a roaming profile of several GB at work. If you don't ch

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Yes, my lazarus directory is writable. The configuration directory doesn't seem to me a suitable place for the executable. That's why under windows you have both CSIDL_APPDATA and CSIDL_LOCAL_APPDATA. Correct. And that is why if you have only one config dir,

[fpc-pascal] Strange syntax in raising exceptions

2009-07-15 Thread Graeme Geldenhuys
Hi, While porting DUnit2 to Free Pascal I came across the following code. I have never seen syntax like that, yet it is accepted by FPC and Delphi compilers. Is this documented in FPC docs? What does the '... at ' do? Unfortunately I don't have any docs (fpc, delphi or kylix) available here o

Re: [fpc-pascal] Lazarus settings and roaming profiles in Windows

2009-07-15 Thread Vincent Snijders
Luca Olivetti schreef: Well, I don't see why we can have only one config dir: windows offers two (notwithstanding the fact that the whole roaming profile implementation is moronic) I see why: not yet implemented. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Strange syntax in raising exceptions

2009-07-15 Thread Paul Ishenin
Graeme Geldenhuys wrote: Hi, While porting DUnit2 to Free Pascal I came across the following code. I have never seen syntax like that, yet it is accepted by FPC and Delphi compilers. Is this documented in FPC docs? What does the '... at ' do? Unfortunately I don't have any docs (fpc, delp

Re: [fpc-pascal] Strange syntax in raising exceptions

2009-07-15 Thread Graeme Geldenhuys
Paul Ishenin wrote: will be useless. Who wants to know that it was raised in Warn function? Better to assign a caller address to that exception. For this we have 'at' keyword. Thanks Paul! Your explanation makes perfect sense. Amazingly enough, I have been using exceptions for many years, and