[fpc-devel] FPC 2.0.4 for classic Mac OS is now also out!

2006-09-21 Thread Olle Raab
Hello! Free Pascal 2.0.4 is now also available for classic Mac OS. http://www.freepascal.org/download.html Regards Olle Raab ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] compiler/utils/samplecfg, FPCWiki

2005-06-05 Thread Olle Raab
05-06-04 08.41, skrev Tom Verhoeff följande: > In the source repository, the current version for > trunk/compiler/utils/samplecfg > has a line > > #-Fu~/fpc/packages/base/*/units/$fpctarget;~/fpc/fcll/units/$fpctarget;~/fpc/r > tl/units/$fpctarget > > Since it is commented out, it does not matte

Re: [fpc-devel] Local procedures as procedural parameter

2005-03-16 Thread Olle Raab
05-03-16 23.08, skrev Peter Vreman följande: > > But the framepointer parameter must then be the last. That will make > macpas local procedures incompatible with the current code where it is > passed as the first parameter. Couldn't the framepointer be last parameter in all modes ? > Things lik

Re: [fpc-devel] Improving Ref Counting

2005-02-27 Thread Olle Raab
05-02-27 19.28, skrev Marco van de Voort följande: >>> Thats a possibility, but then you do not win anything by running it in a >>> thread. It could as well be run when a memory allocation is done, and then >>> as a subroutine. >> >> No, because the background thread get more time slices during i

Re: [fpc-devel] Improving Ref Counting

2005-02-27 Thread Olle Raab
05-02-27 19.16, skrev Uberto Barbini följande: >> Thats a possibility, but then you do not win anything by running it in a >> thread. It could as well be run when a memory allocation is done, and then >> as a subroutine. > > No, because the background thread get more time slices during idle momen

Re: [fpc-devel] Improving Ref Counting

2005-02-27 Thread Olle Raab
05-02-27 14.23, skrev Uberto Barbini följande: >> Afaik the simplest GC's need to have exclusive access to the heap and >> stack, so it cant be run in parallell with ordinary processing. > > What you mean with parallell? I imagine that it's protected into a critical > section. Thats a possibilit

Re: [fpc-devel] Improving Ref Counting

2005-02-27 Thread Olle Raab
05-02-27 13.47, skrev Uberto Barbini följande: >> A GC needs to trace an object's references to see if anything still >> points to it. How else can it decide whether an object is no longer in use? > > Yes, this is right, but it hasn't to decide if reference are valid or invalid. > Moreover also t

Re: [fpc-devel] Improving Ref Counting

2005-02-27 Thread Olle Raab
05-02-27 12.35, skrev Jamie McCracken följande: > Hi, > > Rather than continuing the GC stuff which seems fruitless I thought it > might be better to improve what we have with ref counting (whilst taking > a leaf out of the GC book as well). A more simplictic alternative could be to have objects

Re: [fpc-devel] New commandline switch

2005-02-06 Thread Olle Raab
05-02-06 22.41, skrev Peter Vreman följande: > The compiler has a new commandline switch -Fa[,unit2]. When a > program is compiled the compiler will first load unit1 and unit2 before > the uses line is parsed. This can be used to load units that need to early > initialization like cmem,cthreads,li

Re: [fpc-devel] enumerating environment variables

2004-12-14 Thread Olle Raab
04-12-11 12.00, skrev [EMAIL PROTECTED] följande: >> Is it true that in fpc 2.0 the dos unit will be considered obsolete, and >> people are advised to use for example the sysutils unit? > > It is true. Isn't deprecated a better word ? The Dos unit will still be available, I guess ? Otherwise we

Re: [fpc-devel] FPC_REQUIRES_PROPER_ALIGNMENT

2004-10-16 Thread Olle Raab
04-10-16 19.40, skrev Chess Player följande: > If packed records are such a problem, don't use packed records. We're not > programming for computers with 640kb of RAM. "packed" is sometime used to make the binary representation of the record more predictable, which you might need if you mix fpc

Re: [fpc-devel] FPC_REQUIRES_PROPER_ALIGNMENT

2004-10-16 Thread Olle Raab
04-10-13 16.38, skrev Jonas Maebe följande: > We also don't emulate the 80-bit > extended type on processors which only have a 64-bit double precision > fpu. We also don't emulate endianess. Portability has a lot of > pitfalls. Some time ago Florian did mention to add emulation of 80-bit Extended

Re: [fpc-devel]cursory acquaintance with MacOS RTL

2004-09-30 Thread Olle Raab
04-06-29 09.38, skrev Pavel V. Ozerski följande: > Hello all, > 10 years ago I programmed a little on ThinkPascal therefore could > point to some inconveniences that seem to be reproduced in FPC. > > As is known, common file names are not enough in MacOS to comfortable > file access via shell, th

Re: [fpc-devel]How to get the milliseconds since January 1, 1900

2004-09-06 Thread Olle Raab
04-09-02 20.15, skrev Zhong Wang följande: > Hello, everybody > > In Java and Java script, a date time can be > converted to the milliseconds since January 1, 1900, > and a long integer can be get. Is there a convenient > function in FPC to be compatible with Java and > Javascript? I think it's n

Re: [fpc-devel]Compilation of Apples Universal Interfaces

2004-08-16 Thread Olle Raab
04-08-16 10.31, skrev Dr. Rolf Jansen följande: > I am with you to keep the number of changes to the PInterfaces as small > as possible. However, I would like to make a distinction between buggy > or misleading parts of the PInterfaces and those parts which simply > belong to another flavour (pres

[fpc-devel]CFSTR, some C guru please

2004-08-16 Thread Olle Raab
> In CFStrings.p compared to CFStrings.h the declaration of CFSTR is > simply missing, but many other parts of the UI´s rely on it. So, there > is no other way, the following declaration should be added at line 158: > > function CFSTR(cStr: ConstCStringPtr): CFStringRef; external name > '___CFStri

Re: [fpc-devel]Compilation of Apples Universal Interfaces

2004-08-16 Thread Olle Raab
04-08-16 11.58, skrev Dr. Rolf Jansen följande: > Many thanks for the hint. I will try the following: > > 1. I will make a command line Pascal program which converts CR to LF You might use the tr utility, like this: tr "\r" "\n" | diff ... | tr "\n" "\r" > 2. I will make a shell script which a

[fpc-devel]Objective-C objects

2004-08-16 Thread Olle Raab
04-08-16 00.16, skrev Dr. Rolf Jansen följande: >> I started to learn Cocoa with Objective-C. I prefer Cocoa over Carbon >> but ObjectPascal over Objective-C. Do you think, that the Object models >> of both languages might be compatible to a certain degree. Is it >> possible to call Objective-C me

Re: [fpc-devel]cursory acquaintance with MacOS RTL

2004-07-02 Thread Olle Raab
04-06-29 09.38, skrev Pavel V. Ozerski följande: > Hello all, > 10 years ago I programmed a little on ThinkPascal therefore could > point to some inconveniences that seem to be reproduced in FPC. > > As is known, common file names are not enough in MacOS to comfortable > file access via shell, th

Re: [fpc-devel]Build fails on system without fpcmake on path.

2004-05-17 Thread Olle Raab
04-05-17 11.05, skrev Vincent Snijders följande: > Hi, > > Since a few weeks building a new fpc snapshot with only a release > compiler fails on (win32) systems, when fpcmake is not on the path. > > The old make files used to test whether $(FPCMAKE) is filled, before > making the Package.fpc fil

[fpc-devel]Note on change in unix/dos.pp and beos/dos.pp

2003-12-03 Thread Olle Raab
N, so this makes GetFAttr conformant with FindFirst). Note that in unix/beos files are regarded as hidden if their name starts with a period (.). Note also that no arribute can be set by SetFAttr on unix/beos. Olle Raab ___ fpc-devel maillist

Re: [fpc-devel]Nested function as argument for TList.Sort

2003-12-01 Thread Olle Raab
03-11-30 10.36, skrev Jonas Maebe följande: > > On 30-nov-03, at 02:29, Pedro Lopez-Cabanillas wrote: > >> Of course, if the compiler doesn't support this feature, because the >> internal >> handling of function calls, a compiler error message is better than a >> program >> crash. > > The probl

Re: [fpc-devel]Some idea of joint units

2003-11-25 Thread Olle Raab
03-11-13 13.01, skrev Yakov Sudeikin följande: > Guten morgen, > > The same idea that I sent to borland bug/feature website years ago and want > to share with greatly respected FPC community. > Let's call it "reuse unit", wich can save a lot of time and space for > developers and is really easy t

Re: [fpc-devel]fpc and VirtualPC/Mac OS X

2003-10-23 Thread Olle Raab
03-10-21 11.39, skrev Jonas Maebe följande: > On dinsdag, okt 21, 2003, at 10:56 Europe/Brussels, Dr. Karl-Michael > Schindler wrote: >> Did anybody try to compile fpc using any system (Windows or unix or >> what so ever) under VirtualPC? > > A long time ago, I used the Dos version under Virtual