bugGNUstep - Bugs: bug #24309, file name, extension, and content...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24309: file name, extension, and content detection system request

Submitted by:  Juan Manuel Borges Caño <juanmabc>
Submitted on:  Fri 19 Sep 2008 01:52:21 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri 19 Sep 2008 01:52:21 PM UTC, original submission:

Hello, I started my first document based app in GNUstep, all ok until I reached the NSTypes of the AppInfo.plist file. It has NSUnixExtensions to select the class document but my app can handle special files without extension, like "GNUmakefile" so I miss an NSUnixNames key in NSTypes.

In the way, if i'm not wrong Unix is not completely extension based, it also (and not instead) relies in shebangs and other file content detection standards, like magic numbers, to control the file. So I also miss a NSUnixType key in NSTypes.

I think that I could manage the files with special names in a "switch class document" that parses the name of the file if I create a NSType for files without extension, but I'm feeling like implementing what NSDocumentController does for NSUnixExtensions parsing the extension, and like the NSWorkspace couldn't determine that my application handles files without extension but with special names, so I think it is better to implement it inside GNUstep, once and for all the applications.

Further information: the "file" project determines file type, command and library based ( http://www.darwinsys.com/file/ ).

Thank you for your work.

Juan Manuel Borges Caño <juanmabc>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by juanmabc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1