Re: [fpc-devel] Interface to compressed files and archives

2005-01-02 Thread Vinzent Hoefler
On Friday 31 December 2004 14:24, [EMAIL PROTECTED] wrote: Normally one never uses a fully qualified identifier. So I'm not normal. ;) I *always* use them. Makes life easier. Only when a possible name conflict exists, which - Should be very rare, and avoided in the first place. IBTD. I even

Re: [fpc-devel] Interface to compressed files and archives

2005-01-01 Thread DrDiettrich
[EMAIL PROTECTED] wrote: E.g.: gzip.xyz, is this based on a gzip unit or a gzip variable or... Does this matter to you ? Normally one never uses a fully qualified identifier. And that can become a problem, when a variable and a unit has the same name. That's why I do not only prefer to

Re: [fpc-devel] Interface to compressed files and archives

2004-12-31 Thread DrDiettrich
Marco van de Voort wrote: Better have a separate way. Otherwise you can't set e.g. a compressionlevel for that stream, _or_ you have to have lots of different constructors. Compressors can require any kind and number of arguments, that must be reflected somewhere, e.g. in the specific

Re: [fpc-devel] Interface to compressed files and archives

2004-12-31 Thread DrDiettrich
[EMAIL PROTECTED] wrote: Naming a unit with 'u' standard does not seem useful to me, but this is a matter of taste. ... All other files are assumed to be units. (projects/packages have distinct extensions anyway) No problem at the directory level, but how to distinguish names of units,

Re: [fpc-devel] Interface to compressed files and archives

2004-12-31 Thread Michael . VanCanneyt
On Fri, 31 Dec 2004, DrDiettrich wrote: [EMAIL PROTECTED] wrote: Naming a unit with 'u' standard does not seem useful to me, but this is a matter of taste. ... All other files are assumed to be units. (projects/packages have distinct extensions anyway) No problem at the directory

Re: [fpc-devel] Interface to compressed files and archives

2004-12-30 Thread Marco van de Voort
I'm new to this list and want to introduce myself and my intended contributions to FreePascal. You are not new to everybody:-) archive files (cpio, tar...). I've already update or implemented some of these modules, now I want to define a common interface and API for compressed and archive

Re: [fpc-devel] Interface to compressed files and archives

2004-12-30 Thread Michael . VanCanneyt
On Thu, 30 Dec 2004, DrDiettrich wrote: Hi there, I'm new to this list and want to introduce myself and my intended contributions to FreePascal. My name is Dr. Hans-Peter Diettrich, and I live in Flensburg (Germany). For brevity I use to sign my messages as DoDi. My main interests are

Re: [fpc-devel] Interface to compressed files and archives

2004-12-30 Thread Marco van de Voort
Just don't use anything conflicting with other prefixes: lib, z, db, im, sys. If we can agree on an implementation for archive handling that can be considered a standard implementation for FPC (i.e. distributed with the FCL), 'fp' can (and should) be used. Naming a unit with 'u'

Re: [fpc-devel] Interface to compressed files and archives

2004-12-30 Thread Michael . VanCanneyt
On Thu, 30 Dec 2004, Marco van de Voort wrote: Just don't use anything conflicting with other prefixes: lib, z, db, im, sys. If we can agree on an implementation for archive handling that can be considered a standard implementation for FPC (i.e. distributed with the FCL), 'fp'