Commit graph

659 commits

Author SHA1 Message Date
Christian Dywan d057ab4ddb Fix uninitialized request in download_requested_cb 2012-07-20 01:19:30 +02:00
Christian Dywan 4daaa98232 Add gcr version to about:version 2012-07-19 22:27:50 +02:00
Paweł Forysiuk ae18206f7b Fix typos in midori_debug uses 2012-07-19 21:40:27 +02:00
Christian Dywan 91befb0ccc Render error message if granting trust fails 2012-07-19 21:37:13 +02:00
Christian Dywan 2c77e2d1dd Introduce about:paths listing common locations 2012-07-19 21:14:09 +02:00
Christian Dywan 5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Christian Dywan 3d14faf9be Save non-text as single file, checkbox otherwise
Fixes: https://bugs.launchpad.net/midori/+bug/1025894
2012-07-18 01:21:36 +02:00
Christian Dywan 3259ab1be2 Allow trusting a website inside the error message 2012-07-18 01:21:36 +02:00
André Stösel 7bcc270b05 Show view->overlay_label 2012-07-18 01:21:36 +02:00
Christian Dywan 760f4895a3 Replace _web_view_open with _load_uri 2012-07-18 01:21:36 +02:00
Christian Dywan 05d58f8287 Don't block sites with pinned certificates 2012-07-17 01:34:17 +02:00
Christian Dywan c096b46ff3 TLS error in-page and Trust/ Revoke in details dialog 2012-07-17 01:09:15 +02:00
Christian Dywan 015c6e8428 GIcon for MIME icons, findbar and security 2012-07-15 17:25:07 +02:00
Christian Dywan 83609a1a88 Confirmation for insecure sites instead of urlbar color
Fixes: https://bugs.launchpad.net/midori/+bug/996697
2012-07-15 17:25:07 +02:00
Christian Dywan 9ac0175899 Move tab removal out of the signal
Every caller should use the API to remove a tab to
produce consistent behavior.
The destroy callback takes care of UI updates.
2012-07-15 00:13:44 +02:00
Christian Dywan 49957c95d1 Handle RTL in special pages (errors) 2012-07-15 00:13:43 +02:00
Christian Dywan 81543161df Move GTK+3 built-in CSS to gtk3.css 2012-07-15 00:13:43 +02:00
Johannes Sasongko cd377bb7a8 Include config.h before HAVE_GRANITE
Fixes: https://bugs.launchpad.net/midori/+bug/980355
2012-07-12 00:22:13 +02:00
Christian Dywan 68a4ed6c99 Rememember whether inspector was attached 2012-07-11 21:28:10 +02:00
Christian Dywan 6a4a506f24 Consolidate download types as MidoriDownloadType 2012-07-08 23:55:39 +02:00
Christian Dywan c4791e4a9a Handle tmp folder as midori_view_get_tmp_dir 2012-07-08 23:03:47 +02:00
Christian Dywan f9005c63a7 Ensure folder existing when saving source 2012-07-08 21:28:53 +02:00
Christian Dywan 6411603058 Fix one too many argument in handle_link_hints 2012-07-05 22:09:34 +02:00
Christian Dywan 66a47613b0 Implement "Readable" which applies readable.css
The initial code comes with no stylesheet.
2012-07-05 21:56:40 +02:00
Joe Nahmias 21b643c825 Handle link hints that use an accessKey
Fixes: https://bugs.launchpad.net/midori/+bug/927277
2012-07-05 00:44:10 +02:00
Joe Nahmias e1fe41f3d7 Refactor handling of link hints 2012-07-05 00:43:57 +02:00
Christian Dywan 120f7440f6 Split connecting and adding tabs
This is necessary to correctly use Granite notebook API.

Fixes: https://bugs.launchpad.net/midori/+bug/1020346
2012-07-04 22:45:47 +02:00
Christian Dywan f9d32072f4 Port dynamic notebook to API rewrite
Fixes: https://bugs.launchpad.net/midori/+bug/1019710
2012-07-03 00:27:48 +02:00
Paweł Forysiuk 262ded5222 Fix "view source" always being disabled on win32 2012-07-01 21:26:06 +02:00
Daniel P. Fore 6cdc67a21e Replace threesomes of periods with ellipsises
Also updated all translations accordingly.

Fixes: https://bugs.launchpad.net/midori/+bug/1018065
2012-06-28 23:27:25 +02:00
Christian Dywan d100604bba Use a bigger icon for error pages
Fixes: https://bugs.launchpad.net/midori/+bug/699935
2012-06-28 22:52:22 +02:00
Christian Dywan 8ddc7ac787 Reset title when setting new URI
Otherwise there's a race until committed.
2012-06-28 22:02:12 +02:00
André Stösel 0ecfd696ba Change "delay" to "-2" after delaying the page load.
This is needed in order to check the truth page status.
2012-06-11 23:35:59 +02:00
Christian Dywan f71ebb53a9 mime_type shouldn't be const in webkit_web_view_download_requested_cb 2012-06-11 23:08:47 +02:00
Christian Dywan 4a4887b511 Find res in executable or build folder
We can drop the versioned filename.
2012-06-01 00:57:49 +02:00
Christian Dywan 94f729f6b3 Fallback for missing filename in midori_browser_save_uri
If there's only a path, eg. pastebin services do this, take
the URI as a fallback and add an extension if it makes sense.
2012-05-22 00:00:57 +02:00
Christian Dywan 650efa2aea Get MIME type for description from content type
GIO needs content type. Users expect MIME.
2012-05-20 22:03:38 +02:00
Christian Dywan 9ee6612f62 Check download-mime-type which may not be set
Not all downloads go through MIME type policy.
2012-05-20 22:03:38 +02:00
Christian Dywan fe72235e83 Show expected download size in dialog if available
Switch to using a GString to add lines as needed.
2012-05-20 18:15:39 +02:00
Christian Dywan 9fe40ad850 Guess MIME type (content type) if not known 2012-05-20 18:12:15 +02:00
Christian Dywan 4fb6292bb4 Back out GLib/ libSoup source work-around
Re-opened https://bugs.launchpad.net/midori/+bug/780133
2012-05-14 23:20:00 +02:00
Christian Dywan 81d2567226 Put webkit&soup and gtk&glib in the same line in about:
This makes pasting in a chat much easier.
2012-05-14 23:05:03 +02:00
Christian Dywan 8ba3053b41 Keep a reference on the geolocation decision 2012-05-14 23:05:03 +02:00
Christian Dywan cd9bb96c44 Add missing view cast in webkit_web_view_mime_type_decision_cb 2012-05-13 23:42:06 +02:00
Alexander Strasser f5dd1f9ab5 midori_view_set_uri: Work-around about:version crash
On some systems (e.g. x86_64 linux) midori crashes when
trying to visit "about:version".

  The crash happens in some printf function deeper in the
call stack. But I have a theory that much stack space is
occupied already before calling g_strdup_printf. I have
not analyzed the situation more closely.

  This fixes the crash by splitting the generation of the
version information page into multiple calls. If my theory
is correct, it should now only work because I reduced peak
stack usage.
2012-05-13 23:40:35 +02:00
André Stösel 184a664731 Option to open the focused frame in a new tab
Fixes: https://bugs.launchpad.net/midori/+bug/985850
2012-05-13 02:57:02 +02:00
Christian Dywan 654950f254 Work-around GLib/ libSoup source issue with downloads
Fixes: https://bugs.launchpad.net/midori/+bug/780133
2012-05-13 02:22:39 +02:00
Christian Dywan 23d51753fd Handle NULL datasource in webkit_web_view_download_requested_cb 2012-05-13 02:22:39 +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
Christian Dywan 32a480e80c Use midori-prefixed temp folder in midori_view_save_source 2012-05-12 04:26:02 +02:00