[Portland] Portland wiki

nf2 nf2 at scheinwelt.at
Mon Dec 12 23:31:28 EET 2005


Alex Graveley wrote:

> Hi,
>
> 1) Listing applications is up to the desktop environment on which an 
> app is running.  If the "opener" implementation decides to display 
> such a list, that is fine, but it is outside the scope of Portland.

Perhaps some applications want to provide their own GUI for selecting 
applications (like Mozilla, which has a dropdown in the "Open/Save to 
disk" dialog). Which would require returning an array of options.

>
> 2) I think we should stay away from API on the 
> PortlandIntegrationTasks page, but feel free to link to some other 
> page like PortlandVFSProposal.

How can i add a page to the wiki?

Thanks,
Norbert

>
> -Alex
>
> nf2 wrote:
>
>> May i add this to the wiki?
>>
>> == Launch a viewer or editor for a file, mime-type, or URL ==
>>
>> - should the user be able to choose from a list of applications? 
>> (That's something i don't like about Mozilla Thunderbird: it only 
>> shows the default application for opening attachments).
>>
>> == Access resources provided by a Virtual File System layer ==
>>
>> Simple:
>>
>> - downloadFile
>> - uploadFile
>>
>> Advanced:
>>
>> - getFile (read) *)
>>  -- Mime-Type and Filesize callback like in KIO? *)
>>  -- start from a certain byte-offset?
>> - putFile (write)
>>  -- append Mode?
>> - getDir
>> - getFileInfo *)
>> - getFileInfoAndMimeType (slow mimetype detection)
>> - setFileAttributes
>> - Move, copy, and delete File/Folder
>>
>> *) I have already tried to implement getFile (including mimetype and 
>> filesize callback)  and getFileInfo with my prototype and have been 
>> able to make the KIO and Gnome-VFS backends to match in behavior 
>> (that they return the same information). I guess also the advanced 
>> VFS operations would work, regardless of using IPC or not.
>>
>> Norbert
>>




More information about the Portland mailing list