RE : [fpc-pascal] DateTimeToFileDate

2011-05-19 Thread Ludo Brands
Delphi FileDate is UTC time based because the windows API FILETIME structure is UTC based. Delphi exposes the FileTimeToLocalFileTime API call to get the local time. The fpc unix implementation uses LocalToEpoch (unixutil.pp) which has the folloxing comments: { Transforms local time (year,month,d

RE : RE : [fpc-pascal] DateTimeToFileDate

2011-05-19 Thread Ludo Brands
The other reason for doing so is that unix stores internally all dates as UTC, including the dates used in the file system. Ludo -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Ludo Brands Envoyé : jeudi 19 ma

[fpc-pascal] Re: RE : Re: URIParser

2011-05-19 Thread Ben
On 18/05/2011 16:56, michael.vancann...@wisa.be wrote: > > Great. > In that case I just declare that URIParser will only work for ftp and http > protocols :-) What about file protocols like the 'text/uri-list' mime type? Such as what X11's XDND uses when you drag and drop from a local applicatio

Re: [fpc-pascal] Re: RE : Re: URIParser

2011-05-19 Thread ik
On Thu, May 19, 2011 at 15:38, Ben wrote: > On 18/05/2011 16:56, michael.vancann...@wisa.be wrote: > > > > Great. > > In that case I just declare that URIParser will only work for ftp and > http > > protocols :-) > > What about file protocols like the 'text/uri-list' mime type? Such as > what X11

Re: [fpc-pascal] Redirecting input to a child process

2011-05-19 Thread Anton Shepelev
Michael Van Canneyt: > The interface of the pipes unit can be changed > with a parameter with a default value, so existing > code continues to work. Yes, but all the platform-specific pipe.inc files and pipes.pp will have to be changed anyway because the CreatePipeHandles will have a di

[fpc-pascal] Re: 64 bit ?

2011-05-19 Thread leledumbo
I'm not an 64-bit user, but if you need target specific optimization, passing -Op and/or -Cf might help. Call fpc -i for possible values. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/64-bit-tp4408519p4410174.html Sent from the Free Pascal - General mailing lis

Re: [fpc-pascal] Redirecting input to a child process

2011-05-19 Thread Anton Shepelev
Sorry, I forgot to say the patch is against verstion 2.4.2. Anton ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] PowerPC Linux and endian modes

2011-05-19 Thread Seth Grover
Greetings! Wikipedia (http://en.wikipedia.org/wiki/PowerPC#Endian_modes) states: "Most PowerPC chips switch endianness via a bit in the MSR (Machine State Register), with a second bit provided to allow the OS to run with a different endianness." So the way I am understanding this is that the PPC

Re: [fpc-pascal] PowerPC Linux and endian modes

2011-05-19 Thread Henry Vermaak
On 19 May 2011 23:39, Seth Grover wrote: > Greetings! > > Wikipedia (http://en.wikipedia.org/wiki/PowerPC#Endian_modes) states: > > "Most PowerPC chips switch endianness via a bit in the MSR (Machine > State Register), with a second bit provided to allow the OS to run > with a different endianness