Commit graph

98 commits

Author SHA1 Message Date
Christian Dywan 2d0e3b4c7e Don't try to check the prefix of a NULL URI 2009-04-02 00:02:58 +02:00
Christian Dywan 1e68d8fa40 Use the file icon in the download dialog if possible 2009-03-27 00:40:28 +01:00
Christian Dywan 73b26c53f9 Support mailto: by passing it to gtk_show_uri or Exo 2009-03-26 23:46:36 +01:00
Christian Dywan e6ea06afd3 Display only the MIME type if there is no description 2009-03-26 22:37:33 +01:00
Christian Dywan 1aa158d78f Add a missing variable declaration 2009-03-23 21:09:29 +01:00
Christian Dywan 863f2db611 Always reset the flag to open the downloaded file 2009-03-21 20:07:38 +01:00
Christian Dywan 9e76f7e072 Move download dialog to the view and don't show an error page
We have to handle the dialog when the MIME type is requested,
otherwise we don't know the type. Plus we stop the loading now
to avoid seeing an error page.
2009-03-21 15:06:57 +01:00
Christian Dywan 2421a3163f Strip selection from spaces when middle click opening
It happens every so often that you quickly select an address
and there's leading or trailing space you accidentally hit.
So we strip the selection, otherwise such addresses don't work.
2009-03-19 23:40:31 +01:00
Christian Dywan 7af8baee8b Initial support for WebKitDownload
At this point all downloads run automatically and appear in the
statusbar. The destination folder can be chosen in the preferences.
Download can be cancelled. The context menu works as well.
2009-03-19 18:28:50 +01:00
Christian Dywan bbaa0fb9e6 Implement source view with GIO and drop internal source view
We use GIO to choose a text editor unless a text editor was
specified in the Preferences. We drop our internal source view
now which used to serve as a fallback.
2009-03-17 21:35:05 +01:00
Christian Dywan b40c7b0f87 Drop compile time and runtime conditionals for libSoup and WebKit 2009-03-16 01:54:22 +01:00
Christian Dywan cea8294a18 Enclose MIME type in single quotes in the error message 2009-03-15 18:44:16 +01:00
Christian Dywan 7c10d2078a Make sure there actually is a web view when returning the level 2009-03-05 23:09:22 +01:00
Christian Dywan 1fb5222a3f Fix zooming, and make Zoom Normal work again 2009-03-05 22:45:34 +01:00
Christian Dywan 7708e90214 Implement bypassing cache when reloading with Shift 2009-03-04 23:23:23 +01:00
Enrico Tröger 40f36328c2 Add WebKit version check to compat.h and use it in Preferences 2009-03-04 23:07:29 +01:00
Christian Dywan d9f90f13e6 Avoid having no main frame, this fixes a g_signal_connect warning 2009-03-04 02:03:38 +01:00
Christian Dywan 2433019856 Mention the MIME type of a document that cannot be displayed. 2009-03-01 20:21:35 +01:00
Christian Dywan 73feaf9ae1 Add a Preference to disable automatic inline find while typing 2009-03-01 19:21:27 +01:00
Christian Dywan 0380d8bd2e Use libSoup to percent decode scripts, ie. bookmarklets 2009-03-01 00:29:44 +01:00
Christian Dywan f799af8c0c Report to the web view we didn't handle if the MIME type is fine
This caused blank pages to erroneously look as thought they were
loading infinitely. In fact it is due to a bug in WebKit that
this ever worked at all.
2009-02-28 22:33:37 +01:00
Christian Dywan 5b2380433b Only apply settings on the web view if we actually have any 2009-02-28 14:03:23 +01:00
Christian Dywan 9662e99354 Do not actually search less than 3 characters in 'typing' search 2009-02-22 16:12:58 +01:00
Christian Dywan d2c5d89def Make sure we exclude control characters from search 2009-02-22 02:20:04 +01:00
Christian Dywan 51c6fb1cdf Implement a primitive find-as-you-type 2009-02-22 01:45:22 +01:00
Christian Dywan f5e6006954 Remove destroy callback from web view 2009-02-21 22:12:34 +01:00
Christian Dywan aebd111453 Fix mime-type and icon property lookup 2009-02-19 23:04:47 +01:00
Christian Dywan 3535c6e767 Localize menu items provided by WebKit 2009-02-14 13:30:10 +01:00
Christian Dywan e5000a48e0 Don't set the session unless we actually have libSoup 2009-02-14 02:32:01 +01:00
Enrico Tröger d810faf933 Implement a hack to make Search the Web menu item useful 2009-02-12 23:38:48 +01:00
Enrico Tröger d1967241fd Fix a memory leak when obtaining the selection from the web view 2009-02-12 22:43:31 +01:00
Enrico Tröger 45b4747868 Let midori_view_get_selected_text work as expected again 2009-02-12 22:37:08 +01:00
Christian Dywan 6b2d8df6af Instead of adding multiple same history items, update the original item 2009-01-26 03:43:59 +01:00
Christian Dywan cf9ec7755f Properly synchronize the proxy item of the view 2009-01-24 22:28:07 +01:00
Christian Dywan 93bb9f6c5b Notify URI even before it is "committed" and add an error check 2009-01-17 19:38:00 +01:00
Nick Schermer f02f9fd118 Make property strings static to save some memory 2009-01-16 05:19:43 +01:00
Christian Dywan 8f2c5befb2 Introduce Zoom Text and Images preference 2009-01-16 05:05:50 +01:00
Christian Dywan 03678a16b1 Use WebKitWebView:session property if it exists 2009-01-15 03:29:47 +01:00
Christian Dywan 0d24549112 Display a message if a document cannot be displayed 2009-01-12 00:26:45 +01:00
Christian Dywan d55b6ddd00 Only set the proxy icon of the View if we have an item 2009-01-10 20:18:26 +01:00
Nick Schermer b6e33e5399 Implement 'full' debug-level and fix according warnings 2009-01-09 23:56:00 +01:00
Christian Dywan 43f48a9b43 Let glib-genmarshal write our marshallers 2009-01-08 02:29:07 +01:00
Christian Dywan 2c1b05913a Propagate mime icons from views to proxy items 2009-01-06 02:09:35 +01:00
Christian Dywan 001945d86b Revisit the failed attempt to correct MidoriView 2009-01-05 18:41:45 +01:00
Christian Dywan 167af26029 Correct handling of settings in MidoriView 2009-01-04 21:50:07 +01:00
Christian Dywan 6bb3fb442e Various string changes and additions 2009-01-04 19:25:48 +01:00
Christian Dywan 813a29de94 Obtain the MIME type from WebKit, for the icon and View Source 2009-01-02 02:28:04 +01:00
Christian Dywan d8ace08277 Miscellaneous improvements and cleanup in MidoriView 2008-12-21 17:52:10 +01:00
Christian Dywan aeb71dd7b4 Add support for javascript: bookmarklets 2008-12-09 00:02:38 +01:00
Christian Dywan 426eb74c91 Support Mouse Back and Forward buttons 2008-12-08 23:45:38 +01:00