Hi Ruslan,
fredagen den 29 november 2002 kl 08.50 skrev Ruslan Zasukhin:
> on 11/29/02 8:53 AM, Totte Alm at totte at code66 .DO.T se wrote: > > Hi Totte, > >> Ruslan, this is the story and the reasons as I've understood it. I >> myself LOVE >> the creator/filetype thing, but the world outside MacOS just doesnt >> get it. >> >> (1) We now can access other file systems VERY easy from OSX via SMB & >> NFS, and >> those filesystems dont have resourceforks, so we lose the info, >> leaving OSX >> blind without extensions. > > Probably not OSX blind, but Windows will be blind if it will look on > MAC HDD > and see files without extensions... > Yes, they are always blind ;-), But, OSX will be blind in this case (wich is what Apple want to avoid) (1) You have this nice Image called "Ruslan.jpg" (2) You edit in Photoshop, save it as JPEG file as "Guru-Ruslan". File now has TYPE=JPEG. (3) You move the file to a Linux NFS server. (4) You delete it at your end (5) You copy it back to OSX (6) Now finder dont now what kind of file it is, as it has no extension, and no type.
>> (2) On the net, MIME-types are everything. > > I am not aware with MIME. I need check this. application/jpeg (or application/valentina)
> >> (3) Apple want developers to use data-file resourceforks on our >> Bundled Apps, >> to allow apps to be freely moved on/off SMB/NFS volumes without >> becoming >> trashed. > > This is clear. > > So should I drop support of Creator/Type in VSDK ? Nope, dont drop it!! My databases BOTH have extension AND creator/filetype for single file databases. > > Then how files know icons to show ? > Before icons was inside of parent app, and OS have use them.
Example: The Application Ruslans-greatest-hits.app has the VAL2.icns file in its bundle, and in its plist it says a file with Creator='VAL2' Type='V2db' and/or extension='.vdb' is of this type and have icon VAL2.icns. (Thats why your $HOME/Library/Preferences is full of .plist files.)
// Totte > > Now? Icons must be inside of files itself ? > > -- > Best regards, > Ruslan Zasukhin [ I feel the need...the need for speed ] > ------------------------------------------------------------- > e-mail: ruslan@paradigmasoft.com > web: http://www.paradigmasoft.com > > To subscribe to the Valentina mail list > send a letter to valentina-on at lists .DO.T macserve.net > ------------------------------------------------------------- > >----------------------------------------------------------------------- ---------------------- Bugs don't die - they just go to Redmond to regroup. ©2002 Totte Alm |