Commit graph

53 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
b925dbca33 Consolidate search entries in sokoke_search_entry_new 2012-08-06 00:32:01 +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
96f616a237 Use secondary toolbar class for panel title
Also introduce a utility function to make adding
the class more readable.

Fixes: https://bugs.launchpad.net/midori/+bug/1026384
2012-07-28 11:06:40 +02:00
Christian Dywan
2cf8d9323e Require GTK+ 2.16 or later 2012-07-20 01:22:38 +02:00
Christian Dywan
015c6e8428 GIcon for MIME icons, findbar and security 2012-07-15 17:25:07 +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
d260e71a23 Add edit, stop and url icon to midori-stock.h 2012-07-11 18:41:18 +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
b838023289 Deprecate redundant midori_findbar_find 2012-03-31 03:36:00 +02:00
Christian Dywan
79942f24aa Fallback midori_view_search_text to overlay 2012-03-31 03:33:00 +02:00
Christian Dywan
e75b814432 Show inline find while typing in an overlay 2012-03-18 14:06:13 +01:00
Christian Dywan
7d61f1b897 Esc/ closing "downloads still active" should cancel, not continue 2012-03-14 21:02:16 +01:00
Christian Dywan
fb2e4eea77 Use same clear icon handling in findbar and panels 2012-01-14 00:45:01 +01:00
Christian Dywan
bcc4373857 Only focus findbar when repeatedly triggering it
It can be closed with Escape.
2011-11-18 21:20:15 +01:00
Christian Dywan
c12d8f1f25 Add bottom-toolbar style class to MidoriFindbar 2011-11-09 22:06:10 +01:00
Christian Dywan
0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Christian Dywan
8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Christian Dywan
2976f6ebb2 Avoid the rarely used sokoke_container_show_children 2011-10-28 22:49:10 +02: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
bd5c317ad9 Use function in midori_findbar_entry_clear_icon_released_cb 2011-10-13 18:31:51 +02:00
Christian Dywan
eda8ac68f9 Findbar should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Robert Roth
09d1950029 Don't show clear in inline find if there's no text
Fixes: https://bugs.launchpad.net/midori/+bug/772841
2011-10-09 12:41:46 +02:00
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +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
feb83ea3a5 Use symbolic find and clear icons for inline find
Fixes: https://bugs.launchpad.net/midori/+bug/772842
2011-09-11 22:53:59 +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
André Stösel
b48817f04c The findbar shouldn't be focused after hiding 2011-05-27 23:06:23 +02:00
Christian Dywan
7033129aff Find inline "live" regardless of how it was initiated
Fixes: https://bugs.launchpad.net/midori/+bug/772843
2011-05-01 17:20:55 +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
e29562ddcb Shift + Return should go back in Findbar 2011-02-01 01:25:26 +01:00
Christian Dywan
cd69cdedb9 Search inline directly when preedit text changes 2010-11-02 22:46:01 +01:00
Christian Dywan
68c12e950e Slice allocations in addons, net, scrolled, transferbar 2010-10-21 21:09:01 +02:00
Christian Dywan
38d75adc28 Search inline with at least 2, not 3 characters 2010-09-07 21:39:52 +02:00
Christian Dywan
d8b4eaa566 Do smart case for inline search while typing 2010-09-07 21:30:45 +02:00
Christian Dywan
9aebc6d374 Adjust guards in transferbar for WebKitGTK+ < 1.1.3 2010-07-04 10:28:54 +02:00