Re: [fpc-pascal] FPC Zip library

2008-02-07 Thread Graeme Geldenhuys
On 07/02/2008, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: > > 2 - It doesn't allow to give a stream of data to be compressed into a > zip file. My data is on memory, saving it and re-reading is a waste. > This one is easy to fix without knowledge of zip format, and I started > building

Re: [fpc-pascal] FPC Zip library

2008-02-07 Thread Felipe Monteiro de Carvalho
> If you could add these as feature requests on the bugtracker, then > I won't forget about them... Done, thanks a lot. I've made good progress creating OOXML files from code by the way. If you zip the files manually it works good. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] FPC Zip library

2008-02-07 Thread Michael Van Canneyt
On Thu, 7 Feb 2008, Felipe Monteiro de Carvalho wrote: > On Jan 28, 2008 10:07 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > Doesn't the zipper unit that comes standard with FPC suit your needs ? > > As far as I know, there is no special treatment needed for directories, > > just add th

Re: [fpc-pascal] FPC Zip library

2008-02-07 Thread Felipe Monteiro de Carvalho
On Jan 28, 2008 10:07 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > Doesn't the zipper unit that comes standard with FPC suit your needs ? > As far as I know, there is no special treatment needed for directories, > just add the file with a name like subdir/filename.ext ? Well, I tryed it, b

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Jonas Maebe
On 07 Feb 2008, at 13:16, Matt Emson wrote: Jonas Maebe wrote: At this time, the compiler cannot supporting systems which lack certain architectural features (e.g., several internal transformations introduce address/pointer expressions in code which does not contain any pointers whatsoe

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Matt Emson
Jonas Maebe wrote: On 07 Feb 2008, at 12:46, Matt Emson wrote: I have always followed the belief that, whilst FPC does what it does very well, sometimes simplification isn't a bad thing. Portability across platforms - with caveats, obviously, would be a nice addition. At this time, the comp

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Jonas Maebe
On 07 Feb 2008, at 12:46, Matt Emson wrote: I have always followed the belief that, whilst FPC does what it does very well, sometimes simplification isn't a bad thing. Portability across platforms - with caveats, obviously, would be a nice addition. At this time, the compiler cannot supp

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Matt Emson
Jonas Maebe wrote: Whether or not it's a virtual machine, and whether or not an assembler is available is not that important. What usually matters most is whether you can map all FPC concepts (or at least the ones you want to support) on the target (virtual or not) architecture. Well, no, there

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Marco Alvarado
Thanks for your replies. I'll do an Object Pascal specialiced translator and take advantage of the open-source and SDK's compilers for those virtual machines. I'll make it as compatible with FPC's RTL and the LCL as possible. -Marco 2008/2/7, Jonas Maebe <[EMAIL PROTECTED]>: > > On 07 Feb 2008, a

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Jonas Maebe
On 07 Feb 2008, at 10:55, Matt Emson wrote: Jonas Maebe wrote: On 06 Feb 2008, at 22:48, Marco Alvarado wrote: I'd love to create compilers for those virtual platforms. Java will be hard, because it doesn't support plain pointers. I don't known ActionScript. Anyway, you're welcome to tr

Re: [fpc-pascal] static class methods

2008-02-07 Thread Jonas Maebe
On 07 Feb 2008, at 10:56, Peter Vreman wrote: Disabling self is not possible. It is required and also used in our RTL: class function TObject.InstanceSize : SizeInt; begin InstanceSize:=pSizeInt(pointer(self)+vmtInstanceSize)^; end; Instance size is a regular c

Re: [fpc-pascal] static class methods

2008-02-07 Thread Peter Vreman
> > On 06 Feb 2008, at 23:19, Jonathan Benedicto wrote: > >>> From RAD Studio 2007's Help file on Methods >> (ms-help://borland.bds5/devcommon/methods_xml.html): >> >> Like class methods, class static methods can be accessed without an >> object reference. Unlike ordinary class methods, class stati

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Matt Emson
Jonas Maebe wrote: On 06 Feb 2008, at 22:48, Marco Alvarado wrote: I'd love to create compilers for those virtual platforms. Java will be hard, because it doesn't support plain pointers. I don't known ActionScript. Anyway, you're welcome to try :) Flash is a virtual machine. Flash 9 is

Re: [fpc-pascal] static class methods

2008-02-07 Thread Jonas Maebe
On 06 Feb 2008, at 23:19, Jonathan Benedicto wrote: From RAD Studio 2007's Help file on Methods (ms-help://borland.bds5/devcommon/methods_xml.html): Like class methods, class static methods can be accessed without an object reference. Unlike ordinary class methods, class static methods ha

Re: [fpc-pascal] FPC for virtual machines?

2008-02-07 Thread Jonas Maebe
On 06 Feb 2008, at 22:48, Marco Alvarado wrote: Are there FPC versions for these virtual machines? Java Flash 8 (actionscript 2) Flash 9 (actionscript 3) If the answer is no, The answer is no. I'd love to create compilers for those virtual platforms. Java will be hard, because it doesn'

[fpc-pascal] Strange behaviour about class properties

2008-02-07 Thread Adrian Maier
Hello, I have the following class : FDK_record = class private TABLE: FDK_table; procedure SET_COLUMN( field_index: integer; field_value: string ); function GET_COLUMN( field_index: integer ): string ; procedure SET_COLUMN ( field_name: strin