• Andrew Hodgkinson's avatar
    Tidied up Hotlist source a bit more, mostly so PSI can use the automatic · 26e079aa
    Andrew Hodgkinson authored
    StrongHelp generator on it. Revealed a spurious toolbox_hide_object call
    that would always fault and never do anything, and a few heinous uses
    of show_error which have all been removed.
    
    When dragging hotlist items, directories will now be highlighted whenever
    the item would be added to them, rather than just over the sprite. In
    practice this only changes if the item is open and has contents...
    
    Drag box selections had broken in the hotlist; fixed (uninitialised
    variable in hotlist_select_box). Adjust-drags now close the window on
    completion. Minor problem with Shift+Drag (copy) reversing order of items
    sorted out. Added hotlist_add_html_file and implemented loading of HTML.
    DO NOT add broken HTML files, this has not been coded for and URLs of the
    form http:///this/that (no host name) will hang the machine (bug in the
    cookie code of the HTTP module up to at least version 0.39).
    
    Made SELECT list items only as wide as the widest entry actually appears
    (using fm_get_string_width), rather than as wide as the widest character
    BBox in the font multiplied by the string length of the longest entry.
    
    Updated !Run[D] files to require HTTP 0.39, FTP 0.12 and File 0.23.
    26e079aa
!RunD,feb 3.63 KB