• Andrew Hodgkinson's avatar
    File fetches now set DEADDEAD during the fetch, Data if it is aborted, or an... · bece97ef
    Andrew Hodgkinson authored
    File fetches now set DEADDEAD during the fetch, Data if it is aborted, or an appropriate filetype when finished. If the fetcher routines return a zero or data filetype, the browser looks at a set of hard coded filename extensions to try and determine if there's a better filetype to use
    
    (urlutils_filetype_from_url) - since this is a centralised routine it can
    use a Mime mapping system (or be removed entirely) as and when one becomes
    available.
    
    You can now drag URI / URL files to the Hotlist window to add them to the
    list. They are added roughly where dragged to. (NB, note that I renamed
    the function to return the window ID - just being picky; it matches other
    similar functions now). Oh, and hotlist_add_position actually works now ;-)
    
    The global history will save when titles are added, as well as when a URL
    is added. Before, a browser crash could mean a title got dropped out
    of the history file even if SaveHistory was set to 'always'.
    
    SaveObject sources have been added but nothing references them or links
    them in yet - they're not finished. Mostly checking this one in because
    of the hotlist changes.
    bece97ef
URLutils 3.94 KB