Commit Graph

337 Commits

Author SHA1 Message Date
Sergio Durigan Junior ccd28b22eb Imported Upstream version 0.5.11 2015-09-11 20:47:06 -04:00
Ryan Niebur 50549da7c3 Imported Upstream version 0.5.2+dfsg 2013-10-23 20:45:02 -07:00
Ryan Niebur 405f565df8 Imported Upstream version 0.4.3+dfsg 2013-10-23 20:26:27 -07:00
Christian Dywan 01b36c5fc4 Enclose screen saver and root window in IS_X11_DISPLAY
If building with a Wayland-enabled GTK+3 the GdkDisplay
can be something other than GdkX11Display at runtime.

Fixes: https://bugs.launchpad.net/midori/+bug/975355
2012-09-18 21:29:38 +02:00
Christian Dywan 7e39d05a17 Remove is_email API and needless hard-coding of mailto: 2012-09-18 21:25:59 +02:00
Christian Dywan d88b9776f2 Consistently use readonly_config_filename for loading 2012-09-18 00:29:33 +02:00
Christian Dywan b3984ab252 Groundwork to make finding search engines testable 2012-09-17 19:26:56 +02:00
Christian Dywan bae360e3f8 Fix build of unit tests: speed dial, hsts, bookmarks 2012-09-11 00:44:09 +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 2b134da7d9 Always use exec_path based paths on Win32
Nobody expects system-wide folders.
And LIBDIR won't exist on the system.
2012-09-02 22:46:16 +02:00
Christian Dywan c1d387f958 Cache HSTS directives and handle sub domains 2012-09-02 21:14:49 +02:00
Christian Dywan c49fb82e87 Support HSTS as a SoupFeature
Parse the Strict-Transport-Security header and
enforce https on any listed domains (and subdomains).
2012-09-01 18:13:14 +02:00
Christian Dywan aa5d387cc7 Move translations out of settings class
Remove a fair number of unnecessary strings.
Move trivial settings to Midori.Settings.
2012-08-31 22:02:15 +02:00
Christian Dywan ebd0847a39 NULL placeholder text should unset it (gtk3 compat)
Fixes: https://bugs.launchpad.net/midori/+bug/1043681
2012-08-30 22:00:08 +02:00
Christian Dywan a0d9517053 Add get_command_line_str for debugging output 2012-08-30 00:43:21 +02:00
Christian Dywan 58d1436d4e Check that valid IP address has no leading 0 2012-08-30 00:43:21 +02:00
Christian Dywan 1c1fd1740e Remove obsolete KatzeNet instanciation 2012-08-30 00:43:20 +02:00
Christian Dywan 0668aba7cc Move config/ data/ res_filename/ lib_path to Midori.Paths 2012-08-30 00:43:20 +02:00
Christian Dywan 0f1f26480d Validate IP address in proxy server preference
Fixes: https://bugs.launchpad.net/midori/+bug/783044
2012-08-29 01:09:25 +02:00
Christian Dywan 36c3a4925a Render invalid URI in entry with underline in GTK+3
GTK+2 shows a red background in this case.
2012-08-29 01:09:25 +02:00
Christian Dywan a6606a9cee Use new Paths API in web cache extension 2012-08-27 22:29:13 +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
Paweł Forysiuk 870ecca738 Make Midori.URI.get_fingerprint more legible 2012-08-16 00:19:48 +02:00
Paweł Forysiuk e5da45a40e Don't mixup tokens starting with the same letters 2012-08-09 01:02:56 +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 b7f438589f Consistently use ifdef HAVE_GRANITE 2012-07-19 21:14:10 +02:00
Christian Dywan 5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Christian Dywan 93ef102c23 Deal with moving and switching in dynamic notebook 2012-07-12 00:14:48 +02:00
Christian Dywan 9ca795eec2 Render url icon in url entries
Notably in the bookmark dialog and the homepage.
2012-07-11 22:55:41 +02:00
Christian Dywan 64d9533f7b Use constructor to create static notebook 2012-07-03 01:46:02 +02:00
Christian Dywan d5bf30ec03 Follow API changes of Granite static notebook
Fixes: https://bugs.launchpad.net/midori/+bug/1018474
2012-07-03 00:27:30 +02:00
Christian Dywan ebd0ef2a46 Use granite static notebook for preferences
Fixes: https://bugs.launchpad.net/midori/+bug/1018074
2012-06-26 23:38:30 +02:00
André Stösel 8e3d770e09 Add basic KatzeItem and meta data accessors to katze.vapi 2012-06-11 23:35:12 +02:00
Christian Dywan cf1321fe21 Add katze_item_get_pixbuf and use in panels 2012-05-13 02:22:38 +02:00
Christian Dywan 94c6fca20f Use WebKitFaviconDatabase as of WebKit 1.8.0
Fixes: https://bugs.launchpad.net/midori/+bug/902456
2012-05-13 02:22:38 +02:00
Paweł Forysiuk 89dbbcc1b0 Work-around too many apps in preferences on Win32 2012-04-10 21:29:56 +02:00
André Stösel 1de28a8a7a Minimum Katze.Array vapi including add_item signal 2012-03-27 00:54:48 +02:00
Christian Dywan f3a5d49434 Use _katze_array_update consistently internally 2012-03-08 01:10:54 +01:00
Christian Dywan a83cea4964 Allow asynchronous cookie database
Arguably cookies are like a cache, so we prefer
prefer performance over data integrity.
2012-03-06 20:08:51 +01:00
Christian Dywan 4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan 66d4e4c531 Fix typo fix in katze_throbber_get_preferred_height 2012-03-05 22:34:46 +01:00
Christian Dywan 7361a80e24 Tweak is_ip_address and add IPv6 test cases
Stop wrongly mistaking foo::bar for IPv6.
2012-02-29 23:17:02 +01:00
Christian Dywan df8284f650 Fix misleading typos in katze_throbber_get_preferred_height 2012-02-29 22:41:59 +01:00
Christian Dywan d3a60802ac Consider GTK_DISABLE_DEPRECATED in gtk3-compat.h 2012-02-26 00:03:14 +01:00
Christian Dywan 973e481068 Proxy update should be > not >= array update 2012-02-23 00:50:51 +01:00
Christian Dywan 403d17400b Harden katze_array_action_generate_menu
Add assertions and increase consistency.
2012-02-23 00:46:59 +01:00
Christian Dywan 90ee1384a7 Keep a timestamp of KatzeArray changes around
To avoid re-populating array actions when unneeded.

This also increases compatibility with global menubar
support which otherwise flickers.
2012-02-21 22:24:42 +01:00
Christian Dywan 5176b38120 Allow DuckDuckGo to distinguish Midori
Users who customize the search engine
won't be affected by this.
2012-02-21 21:47:56 +01:00
Christian Dywan f586c3004b katze_item_get_image check if icon is set 2012-02-21 21:47:07 +01:00