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 ev

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

2005-01-02 Thread Michael Van Canneyt
On Sat, 1 Jan 2005, DrDiettrich wrote: > [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

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

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 t

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, ty

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 constru

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 > > F

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' s

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

2004-12-30 Thread Michael . VanCanneyt
On Thu, 30 Dec 2004, DrDiettrich wrote: I split up my answers to your mail, because the topics are a bit different. > Now you should have gotten the big picture of my intended activities. > Many more questions will arise when I proceed with my work. I already > decided to replace my own "stdc"

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 interest

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 arc