Commit graph

982 commits

Author SHA1 Message Date
Christian Dywan
123475d6ea Don't advertise zooming when having an image open
Images cannot be zoomed.
2009-10-12 13:17:53 +02:00
Christian Dywan
406572c4fb Be sure to focus the web view rather than the scrolled widget 2009-10-12 13:05:43 +02:00
Christian Dywan
641553d312 Use compact menu as the main menu when building for Maemo 2009-10-12 13:02:39 +02:00
Christian Dywan
b9d4266d27 Refactor IDN handling and related unit tests
Most code is shared despite different available libraries now and
can more effeciently be tested.
2009-10-10 11:09:10 +02:00
Christian Dywan
0ac4de8aa5 Properly pass external addresses with libSoup 2.27.90 2009-10-09 14:21:55 +02:00
Christian Dywan
fa8f109da9 Conditionalize restoring of the scrolling position
Ensure that we differentiate an unset value from a valid value
as well as having restored the position already so we don't
accidentally restore a wrong position.

Restoring after having loaded a page is still not ideal but there
doesn't seem to be a better way at this point.
2009-10-08 20:56:24 +02:00
Christian Dywan
3ed9e482cd Fix display formatting of URIs and unit test it properly 2009-10-07 01:50:10 +02:00
Christian Dywan
ca81aeb034 Regard file:// URIs as valid for bookmarks 2009-10-06 20:40:43 +02:00
Christian Dywan
c624048c21 Enable integrated page setup combo box for printing 2009-10-05 20:52:34 +02:00
Christian Dywan
7aaf59ec9a Format addresses nicely, with no percents and no punycode 2009-10-05 20:50:08 +02:00
Christian Dywan
1998219933 Refactor location action to not use MidoriLocationEntryItem 2009-10-04 05:13:37 +02:00
Christian Dywan
acb2104128 Encode IDN addresses passed externally
Apparently libUnique can't handle international domains and
won't pass them onto the destined instance, so we encode
them beforehand.
2009-10-04 03:12:10 +02:00
Christian Dywan
b53c39b82e Remember text typed in the location when switching tabs
The API of the location action is adjusted so that any typed
text can be retrieved, distinguished from a confirmed URI.
2009-10-04 02:32:50 +02:00
Christian Dywan
d4c9c87f79 Fix a leaked folder string when activating extensions 2009-10-04 00:02:52 +02:00
Christian Dywan
136f5d981f Use "orientation" property of the toolbar instead of the function
The function is superseded with the introduction of the orientable
interface in new GTK+ releases, but the property is the same.
2009-10-03 23:59:57 +02:00
Christian Dywan
ce5a959840 Use MIDORI_NLSPATH instead of NLSPATH
A small number of systems uses NLSPATH in a way that breaks
localization in Midori. It is unclear what the correct way is to
use NLSPATH, so we switch to using a prefixed variable.
2009-10-03 02:27:51 +02:00
Christian Dywan
93e846bf47 Display IDN hostnames decoded in address completion 2009-10-03 02:16:15 +02:00
Christian Dywan
a51b8f18dc Fix a memory leak in the address completion match handling 2009-10-03 02:04:15 +02:00
Christian Dywan
18ab34bdc8 Load extension settings from global config folders
For example, /etc/xdg/midori/extensions/extension_name/config
2009-10-02 23:07:36 +02:00
Christian Dywan
255018aeaa Do not add history items for URIs that were visited on the same day 2009-10-02 21:29:08 +02:00
Christian Dywan
a6ee2320e8 Add Copy to the refactored context menu 2009-10-02 00:00:00 +02:00
Christian Dywan
e4b09739fa Don't use gtk_action_get_tooltip since it is GTK+ 2.16 only 2009-10-01 23:19:01 +02:00
Christian Dywan
2d1481699a When hovering menu items, show descriptions in the statusbar 2009-10-01 02:35:15 +02:00
Christian Dywan
1535bc8970 Show 'Send a message to <mail address>' when hovering email links 2009-09-30 23:55:39 +02:00
Christian Dywan
037be4dda4 Offer 'Send message to <mail address>' for selections 2009-09-30 23:45:02 +02:00
Christian Dywan
60a96b9d8b Implement 'Open last session' menu item 2009-09-30 23:02:10 +02:00
Christian Dywan
c848b24733 Backup the old session when resetting it in the Crash dialog 2009-09-30 22:30:19 +02:00
Christian Dywan
3686db6f6f Add Window > Focus Current Tab 2009-09-30 22:18:17 +02:00
Christian Dywan
df88be1aff Reduce the mount of casts in the browser 2009-09-29 22:25:09 +02:00
Christian Dywan
f530218492 Notify MidoriBrowser::tab property properly 2009-09-29 20:49:30 +02:00
Christian Dywan
6d31faecf3 Default to Ctrl+Alt+U instead of Ctrl+U for View source 2009-09-28 23:10:31 +02:00
Christian Dywan
1d634247c7 Only if a preriod follws is a typed number the start of an IP address 2009-09-28 23:01:48 +02:00
Christian Dywan
96093d9067 Implement drag (finger) and kinetic scrolling with KatzeScrolled
The feature is primarily interesting for mobile devices and
by default enabled with gtk-touchscreen-mode.
2009-09-28 22:12:41 +02:00
Christian Dywan
7259066e20 Apply the correct settings to source view tabs 2009-09-27 23:37:08 +02:00
Christian Dywan
b70a2569df Open source of local files directly with no temporary copy 2009-09-27 16:19:10 +02:00
Christian Dywan
f294d79a74 Show "Menubar" menu in context menu if menubar and navibar are hidden
It happens that users hide all toolbars and don't find a way to make
them visible again. A menu item will be there for this case.
2009-09-26 22:19:34 +02:00
Christian Dywan
55a2ecf710 Enable new context menu code with WebKitGTK+ 1.1.15 afterall
To avoid regressing we keep the hacked document menu for now
and add a small improvement to fix image context menus with
older WebKitGTK+ versions.
2009-09-26 22:19:34 +02:00
Christian Dywan
249b8e4669 Use brackets when checking bookmark address to avoid compiler warning 2009-09-26 22:19:34 +02:00
Christian Dywan
1ead8e8886 Save back and forward history in the session (disabled) 2009-09-26 22:19:34 +02:00
Christian Dywan
d5ed3e9b28 Reset the statusbar text (in the location) when leaving the view 2009-09-23 02:10:08 +02:00
Christian Dywan
ba1084d236 Merge userstyles into the userscript panel 2009-09-22 23:50:31 +02:00
Christian Dywan
b3817bfc52 Actually require http(s):// in bookmark address 2009-09-21 23:58:47 +02:00
Christian Dywan
d26113fa1e Bump new context menu handling to WebKitGTK+ 1.1.16
The API in 1.1.15 is not sufficient to implement the context menu
without regressions.
2009-09-21 23:49:42 +02:00
Christian Dywan
ebb3b5f374 Fix build with WebKit < 1.1.14 2009-09-20 21:49:57 +02:00
Christian Dywan
72ba3a700b Implement Ask for destination folder
The option determines whether 'Save image' and 'Save link destination'
in the context menu prompt for a location or not.
2009-09-20 21:23:52 +02:00
Christian Dywan
59c43d08e0 Include TabNew in the toolbar by default 2009-09-20 20:57:30 +02:00
Christian Dywan
d73ccf2c3f Forward mailto: links to external default application 2009-09-20 20:56:52 +02:00
Christian Dywan
0250d762c1 Implement menu items after refactoring the context menu changes 2009-09-20 17:26:28 +02:00
Christian Dywan
4f8deae24d Do not put statusbar text in the location entry if it's focussed
This prevents overwriting what the user may be typing while
accidentally moving the mouse.
2009-09-19 21:06:33 +02:00
Christian Dywan
16e00c379e Disable Save/ add button in bookmark dialog if address lacks protocol 2009-09-19 17:25:10 +02:00