Commit graph

28 commits

Author SHA1 Message Date
Christian Dywan
49da17badd Fix bogus speed display by removing old values 2012-09-09 22:34:33 +02:00
Christian Dywan
e3a71596bc Rework downloading into Midori.Download interface
Midori.URI
    get_folder
Midori.Download
    is_finished
    get/set_type
    get_progress
    get_tooltip
      Consistent estimation of remaining time and speed.
    get_content_type
      Icons in dialog and panel.
    has_wrong_checksum
      Verification in both panel and toolbar.
    action_clear, action_stock_id, open
      Consistent behavior in both panel and toolbar.
    fallback_extension
    clean_filename
        Merged two separate functions.
    get_suggested_filename
    get_filename_suggestion_for_uri
        Now handles MIME types.
    get_extension_for_uri
    get_unique_filename
        Renamed from prepare_filename.
    prepare_destination_uri
    has_enough_space
2012-09-09 14:07:30 +02:00
Christian Dywan
cc4fbca8e3 Disable GtkRecentManager in private and portable mode 2012-08-27 22:27:48 +02:00
Christian Dywan
7f37162fe0 Introduce Midori.Paths and Midori.RuntimeMode
Also introduce initial "portable" mode on Win32.
2012-08-27 21:52:24 +02:00
Christian Dywan
4cd88d5746 Log bookmarks, history and downloads to zeitgeist
Fixes: https://bugs.launchpad.net/midori/+bug/783588
2012-08-06 00:32:01 +02:00
Christian Dywan
d2ebd4797d With GTK+3 we have to put-in for progressbar text 2012-07-13 00:10:08 +02:00
Christian Dywan
6a4a506f24 Consolidate download types as MidoriDownloadType 2012-07-08 23:55:39 +02:00
Martin Natano
e0c021de3d Replace illegal characters in filenames
Fixes: https://bugs.launchpad.net/midori/+bug/972931
2012-04-10 21:29:56 +02:00
Christian Dywan
7d61f1b897 Esc/ closing "downloads still active" should cancel, not continue 2012-03-14 21:02:16 +01:00
Christian Dywan
0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Walther Maldonado
eb45219936 Clear downloads when the transferbar is full
Fixes: https://bugs.launchpad.net/midori/+bug/851452
2011-10-17 02:47:56 +02:00
Christian Dywan
bf8b1d9375 Don't register recent files in app or private mode 2011-10-17 02:47:55 +02:00
Christian Dywan
f303736ad0 Register successfully downloaded files as recent
So they show up in Recent menus and modern dash boards.
2011-10-05 09:59:02 +02:00
Christian Dywan
d3f27e54f8 Compare checksums without respecting case-sensitivity
Upper-case checksums would always fail to verify.
2011-08-02 22:55:46 +02:00
Paweł Forysiuk
46de9f7767 Remove further support for WebKitGTK+ < 1.1.14 2011-06-09 00:45:34 +02:00
Christian Dywan
1d043194da Fallback to download URI if original is unset
This happens for instance when saving a page.
2011-05-01 00:56:04 +02:00
Paweł Forysiuk
3eb3481812 Show estimated time remaining in transferbar tooltip 2011-04-20 20:52:07 +02:00
Christian Dywan
9ca1271020 Implement MD5 and SHA1 Link Fingerprint support
If a URL has an embedded link fingerprint the checksum
and algorithm is shown in the download prompt. After a
file has been saved to disk a warning icon will be shown
if the checksum doesn't match and clicking the icon will
explain that the file is erroneous and not open it.

See http://mdhashtool.mozdev.org/lfinfo.html
2011-03-12 21:10:01 +01:00
Christian Dywan
c4f68aeba4 Don't show transfer speed for finished transfers 2011-03-12 03:34:46 +01:00
Christian Dywan
d16b32e6c8 Fix shadow and missing initialisation warnings 2011-03-08 21:03:01 +01:00
Christian Dywan
67b706b550 Localise ?B and correct a typo in the function call 2011-03-07 00:10:49 +01:00
Paweł Forysiuk
7dd4fe8ac4 Release memory of transfer speed strings 2011-03-05 14:34:27 +01:00
Tomasz Szatkowski
7d8b3c25d4 Show transfer speed next to size in tooltips
Fixes: https://bugs.launchpad.net/midori/+bug/725377
2011-03-05 13:58:57 +01:00
Christian Dywan
2d4afde696 Make download folder and notifications obligatory 2011-02-02 01:31:16 +01:00
Christian Dywan
68c12e950e Slice allocations in addons, net, scrolled, transferbar 2010-10-21 21:09:01 +02:00
Christian Dywan
9aebc6d374 Adjust guards in transferbar for WebKitGTK+ < 1.1.3 2010-07-04 10:28:54 +02:00
Jérôme Guelfucci
7821d61b5c Don't always show the "Pending downloads" dialog.
If all donwloads are finished, cancelled or errored, the dialog should
not be shown.
2010-06-29 07:20:26 +02:00
Christian Dywan
fa08c4d1f9 Refactor transferbar into MidoriTransferbar
The transferbar is separated from the browser, albeit it is still
created and filled from within the browser so it is not completely
independent.

The new class now keeps a list of TransferInfo items to keep track
of transfers and queries the status from the download object.

Destroying a button belonging to a transfer is connected to
removing it from the list and cleaning up the info structure. Also
the Clear button is updated from the destroy handler.
2010-06-17 20:17:21 +02:00