Commit graph

2219 commits

Author SHA1 Message Date
Christian Dywan
49d7ae1fad Disable Netscape plugin preference on Windows
They are not supported by Windows builds of WebKitGTK+.
2011-08-04 22:54:14 +02:00
Jérôme Guelfucci
8175e36e7f Fix middle click toolbar and menu actions.
This fixes a regression where a middle click would no longer open
'Homepage', 'Next', 'Previous', 'Back' and 'Forward' in a new tab.
2011-08-04 22:47:19 +02:00
Christian Dywan
504188151e Mention online FAQ if documentation is not installed 2011-08-02 00:02:00 +02:00
Paweł Forysiuk
630e23412a Resurrect KatzeNet-based page icon loading
Accidentally removed as part of 0dbee646b7 .
2011-08-01 21:57:59 +02:00
Christian Dywan
b307801744 Provide buttons to choose how to startup after crash
Fixes: https://bugs.launchpad.net/midori/+bug/740798
2011-07-30 21:18:11 +02:00
Paweł Forysiuk
e4d4ec26fb Always NULL-check database before using it
If the database is broken in whatever way the pointer is
unset. A good next step would be to give more user-friendly
feedback than the current rough dialog.
2011-07-30 20:11:45 +02:00
Christian Dywan
053dcb98ca Return empty string if there's no speed dial
'markup' is not set at this point.
2011-07-28 23:12:46 +02:00
Christian Dywan
6a3c3d155a Never delay URIs given as command line arguments 2011-07-28 23:08:03 +02:00
Christian Dywan
0b880b8a9b Fallback to URI for delayed page if there's no title 2011-07-28 22:58:16 +02:00
Christian Dywan
abe60b164b Space at the bottom of the page: Go to next page 2011-07-28 21:59:29 +02:00
Christian Dywan
32286215d6 Don't shadow web_view in _action_source_view_activate 2011-07-27 23:06:44 +02:00
André Stösel
25cdc7161b Make the infobar labels selectable. 2011-07-27 23:04:39 +02:00
Christian Dywan
3fc44b6fdc Initialize session in app/ private before adding URIs
If the session is not prepared properly URIs loading of
the first page(s) breaks. Also it is a good idea to sort
out all settings before loading anything to begin with.

You will now see "midori_load_soup_session was not called!" if
any pages try to load before the session is prepared.

Fixes: https://bugs.launchpad.net/midori/+bug/814268
2011-07-27 01:23:56 +02:00
Christian Dywan
338ddf8ea7 Consider all about: URIs as blank
about:version is prominently not rendered as "" so we need
to check the prefix.

Fixes: https://bugs.launchpad.net/midori/+bug/784337
2011-07-24 22:50:15 +02:00
Christian Dywan
22a7862654 Add 'Last open tabs' option to Clear Private Data
Fixes: https://bugs.launchpad.net/midori/+bug/814739
2011-07-24 21:41:47 +02:00
Christian Dywan
bfc6a034ab Remove the according action when destroying panels
Fixes: https://bugs.launchpad.net/midori/+bug/699982
2011-07-21 18:18:58 +02:00
Christian Dywan
6c95ea19db Show kinetic scrolling option regardless of Hildon 2011-07-20 23:10:50 +02:00
Christian Dywan
9bc26e97fe Interpret Shift+Backspace as going forward
Analogous to Backspace for back.
2011-07-19 22:14:07 +02:00
André Stösel
92e23d9d4e Don't destroy the current tab if it is last and blank
If you hit the shortcut for closing tabs over a long time
(to close all tabs), Midori hangs for some seconds.
2011-07-19 22:03:37 +02:00
Christian Dywan
3331921cfc Interpret Ctrl+= as Zoom In for compatibility 2011-07-09 22:48:26 +02:00
Christian Dywan
eb7245c30a Zoom in steps of 10% instead of 25% by default
Related to: https://bugs.launchpad.net/midori/+bug/707026
2011-07-09 21:43:02 +02:00
Alexander Butenko
aafd5bc0a0 Dont crash on unvalid geo: links
Fixes: https://bugs.launchpad.net/midori/+bug/804866
2011-07-04 23:42:24 +02:00
Paweł Forysiuk
e1c79b3a60 Properly rename speed dial item containing multiple spaces 2011-07-04 23:26:55 +02:00
Paweł Forysiuk
12aed6c566 Compose complete markup inside prepare_speed_dial_html() 2011-06-25 00:10:30 +02:00
Paweł Forysiuk
01c353366d Remove legacy code from midori_view_populate_popup
Delete code which was ommited by mistake in commit
46de9f7767.
Only version check was removed, whithout actually
removing legacy code.
2011-06-17 11:57:20 +02:00
Christian Dywan
8bac897a88 Purge unused web_frame in midori_view_construct_web_view 2011-06-17 11:54:21 +02:00
Christian Dywan
783bed774a Remove erroneous title check in set_uri
The condition was written this way due to the now gone legacy
workaround, the title shouldn't be checked at all.
2011-06-17 11:13:41 +02:00
Paweł Forysiuk
46de9f7767 Remove further support for WebKitGTK+ < 1.1.14 2011-06-09 00:45:34 +02:00
Alexander Butenko
38da85ee43 Handle unique_filename and null-check data source 2011-06-09 00:37:25 +02:00
Paweł Forysiuk
0dbee646b7 Require WebKitGTK+ 1.1.14, remove backwards compatibility 2011-06-08 22:38:05 +02:00
Christian Dywan
f681ac9ef1 Unset error before calling speeddial_new_from_file 2011-06-08 20:43:00 +02:00
André Stösel
fa970c076b Add some missing Midori.Extension functions to VAPI 2011-06-08 20:18:09 +02:00
André Stösel
037db65a38 Upon closer consideration the property "preferences" is redundant 2011-06-08 20:16:55 +02:00
André Stösel
6120fa1e49 Add new signal for extension preferences
If the "preferences" property is TRUE and the signal
is implemented, a button is shown next to the extension
and the callback is invoked on click.
2011-06-07 21:02:09 +02:00
Paweł Forysiuk
11dd3d758f Drop thumb:// pseudo-uri since it is not reliable enough 2011-06-02 01:03:10 +02:00
Paweł Forysiuk
1b8bf1cd2b Check for data folder relative to install on Windows 2011-06-02 00:57:40 +02:00
Paweł Forysiuk
15a65b6166 Add timestamps if logging to a file
And try to match appearance of console messages.
2011-06-02 00:55:36 +02:00
Alexander Butenko
243f93b70d Return original URI if unescaping failed
The issue could be seen in the form of error messages:

g_regex_replace_eval: assertion `string != NULL' failed
2011-06-02 00:40:44 +02:00
Alexander Butenko
4bfbe5b30e Reuse source of webview when saving a page to disk
Fixes: https://bugs.launchpad.net/midori/+bug/782133
2011-06-02 00:33:17 +02:00
Alexander Butenko
3db6445e54 Reuse source of webview instead of redownloading on view source 2011-06-02 00:19:35 +02:00
Christian Dywan
ac162e11d2 Remove the description field from bookmark dialog
Fixes: https://bugs.launchpad.net/midori/+bug/790262
2011-05-31 00:43:39 +02:00
Paweł Forysiuk
5ab09ee552 Add --log-file/ -l switch to log to a file 2011-05-27 23:32:54 +02:00
Alexander Butenko
cd7522ef7f Pass through javascript: URIS from the command line 2011-05-22 16:54:56 +02:00
Paweł Forysiuk
03254c22af Merge HTTP logins with Form History in Clear Private Data 2011-05-22 14:32:10 +02:00
Christian Dywan
3a8ce008ad Use a form for the Try Again button in error pages
Fixes: https://bugs.launchpad.net/midori/+bug/784931
2011-05-20 22:04:11 +02:00
Christian Dywan
7f549b89a9 Handle missing speedial.json and missing shortcuts array 2011-05-20 21:58:35 +02:00
Christian Dywan
83194abe8f Don't mixup window title and app name
Fixes: https://bugs.launchpad.net/midori/+bug/778402
2011-05-17 22:17:17 +02:00
Christian Dywan
33e8c038e7 Clarify menu item labels
Related to: https://bugs.launchpad.net/midori/+bug/743159

Fixes: https://bugs.launchpad.net/midori/+bug/699934
2011-05-16 03:30:55 +02:00
Christian Dywan
caaa9e04c7 Remove 'Midori' from 'Private Browsing' window title 2011-05-16 03:23:52 +02:00
Christian Dywan
b8befff93d maximum-history-age is integer, not boolean 2011-05-16 03:20:59 +02:00
Christian Dywan
20d47ffac4 Count both cookies and history expiry in months 2011-05-16 03:19:21 +02:00
Christian Dywan
98da02a5fd Rename 'Appearance' tab to 'Fonts' in Preferences 2011-05-16 02:53:40 +02:00
Christian Dywan
38850f7444 Remove all currently deprecated settings 2011-05-16 02:51:03 +02:00
Christian Dywan
7d0c949a0c Validate URI in Manage Search Engines dialogue 2011-05-16 02:37:51 +02:00
Marin Moulinier
e469e4315b Interpret F5 as reloading for compatibility
Fixes: https://bugs.launchpad.net/midori/+bug/772068
2011-05-16 01:05:27 +02:00
Christian Dywan
e66ea168c2 Track selected search engine per window 2011-05-15 21:40:39 +02:00
Christian Dywan
a1855abf67 Left-align labels in preferences dialogue
Fixes: https://bugs.launchpad.net/midori/+bug/782323
2011-05-15 21:25:53 +02:00
Christian Dywan
f97395dab1 Validate URIs and render entry red if invalid
Fixes: https://bugs.launchpad.net/midori/+bug/710855
2011-05-15 16:46:23 +02:00
Christian Dywan
f0bd717ac6 Speak of details sent to s/external /web/sites 2011-05-15 11:35:20 +02:00
Christian Dywan
b6de48d342 Divide preferences into visual groups 2011-05-15 11:28:03 +02:00
Christian Dywan
4560cd35e8 Merge 'Applications' preferences into 'Browsing' 2011-05-15 02:31:34 +02:00
Christian Dywan
fdf73ce98d Use proper button to set current page as homepage
Fixes: https://bugs.launchpad.net/midori/+bug/767389
2011-05-15 02:27:21 +02:00
Christian Dywan
f2fa49f342 Interpret Backspace as going back
A user continually hitting the Backspace key and then mousing
for the Back button, someone who rarely uses shortcuts at all.
2011-05-15 01:43:26 +02:00
Christian Dywan
476c20aae4 Revert "Render empty speed dial shortcuts as Add icons" 2011-05-15 01:35:55 +02:00
André Stösel
64bb60afd8 Don't fail on network cancelled errors 2011-05-13 16:07:28 +02:00
Christian Dywan
1f99c1fe9d Render empty speed dial shortcuts as Add icons
And only show the icons if scripts are enabled.
2011-05-06 02:07:11 +02:00
Christian Dywan
9ff5114b76 Perform fewer string allocations preparing shortcuts 2011-05-06 01:55:39 +02:00
Christian Dywan
023c64fa97 Don't assign boolean to icon_size variable 2011-05-06 01:48:50 +02:00
Christian Dywan
414997b236 Implement support for geo URI RFC 5870 2011-05-05 21:49:51 +02:00
Paweł Forysiuk
b74d00abe6 Set speed dial size without javascript
So the layout is right with and without javascript. And we
also hide the Edit and Remove buttons and options appropriately.
2011-05-04 22:45:00 +02:00
Christian Dywan
41a7a21683 Import JSON via JSON.parse with javascript 2011-05-04 22:25:35 +02:00
Alexander Butenko
8cd4cc270c Fix crash on url removal from location bar 2011-05-04 19:31:21 +02:00
Paweł Forysiuk
2b2df20dd0 Use proper markup for empty dials 2011-05-03 20:42:59 +02:00
André Stösel
ab9a1aa9ff Check in midori_search_action_get_icon if icon_name is given 2011-05-03 20:17:00 +02:00
Christian Dywan
4fc181a170 Bump version to 0.3.5 2011-05-02 02:06:21 +02:00
Paweł Forysiuk
a1afb2f891 Determine the Windows version correctly 2011-05-02 02:01:23 +02:00
Christian Dywan
880a880976 Unclude unistd.h for F_OK/ g_access 2011-05-02 00:51:37 +02:00
Christian Dywan
6711bf33f0 Remove frame titles in preference dialogue
Effectively all pages contain options of only one group.
2011-05-02 00:02:54 +02:00
Christian Dywan
812ba0aee0 No need to look at theme for close button on Win32 2011-05-01 22:27:50 +02:00
Christian Dywan
99c1af8cf7 Lookup close button position in index.theme
This is better than overriding it in the config file.
2011-05-01 21:59:06 +02:00
Paweł Forysiuk
2a9282df75 Look for logo in folder midori/res, not midori/ 2011-05-01 18:56:39 +02:00
Christian Dywan
85fd237f28 Release references to icons in completion 2011-05-01 18:50:25 +02:00
Christian Dywan
4bab11061c Render search engine icons via the action 2011-05-01 18:49:09 +02:00
Christian Dywan
ff9c7ccc83 Swap 'Interface' and 'Browsing' labes in preferences
It's more intuitive to look for Browsing for tab options.
2011-05-01 18:03:43 +02:00
Christian Dywan
3f10d0bfb8 Revert requistion hack for cookie description label
It doesn't work at all well in most cases.
2011-05-01 18:02:25 +02:00
Christian Dywan
6f39acb62f Use requistion hack for cookie description label 2011-05-01 16:53:40 +02:00
Paweł Forysiuk
003b866e17 Don't skip title prefix when importing JSON
Fixes: https://bugs.launchpad.net/midori/+bug/774745
2011-05-01 16:08:47 +02:00
Christian Dywan
47437114c7 Implement new libsoup cache for >= WebKitGTK+ 1.3.11
The web cache extension is automatically hidden/ disabled if
WebKitGTK+ is new enough, the new cache is a core feature.

By default 100 MB of pages can be cached on disk.

The 'Applications' preference tab is resurrected.

The same folder ~/.cache/midori/web is used for old and new cache.
2011-05-01 06:59:00 +02:00
Christian Dywan
ad99d10433 Special-case Liferea because a helper script may be required
The script is usually installed but not used unless the user
manually picks it, which is far from user-friendly.
2011-05-01 06:57:41 +02:00
Christian Dywan
ee39b5c87b Update alternative identification strings
On Windows we should use the NT version number.

For Firefox we use the updated format of version 4.

For Safari and iPhone we pretend to run on native platforms.

If in doubt we fallback to X11/ Linux, not Unknown.
2011-05-01 06:53:08 +02:00
Christian Dywan
96dda85b81 No language or encryption but Mozilla in user agent
Motivated by Firefox and Chrome deciding to update their
user agents and removing language as well as encryption,
we do the same. Going for a sort of standardisation we
prefix with Mozilla now. But we won't add the architecture.

Maemo is regarded as a proper platform now.
2011-05-01 02:07:41 +02:00
Christian Dywan
6de7c26c53 Adapt focus widget check for status text in location
The location no longer a GtkComboBox.
2011-05-01 01:18:53 +02:00
Paweł Forysiuk
12f353f8ea Use platform specific separator for res:// path 2011-05-01 01:05:22 +02:00
Christian Dywan
fbbaf576f3 Add 'Version/5.0' token to Safari identification
Some websites checking for Safari also look for the token.
2011-05-01 00:59:58 +02:00
Christian Dywan
34da7c8090 Provide midori_browser_(un)block_action for extensions
So extensions can override individual actions without hacks.
2011-04-30 12:17:55 +02:00
Paweł Forysiuk
7dec022471 Build correct logo path for not found error page 2011-04-30 12:13:07 +02:00
Christian Dywan
d8a3ef40f6 Support caret browsing toggle with F7
Users who need the feature can't be expected to change
a hidden preference. The same hotkey is supported by
Firefox and Epiphany.
2011-04-30 12:07:12 +02:00
Christian Dywan
e6d8e10606 Show libSoup version from pkg-config in about:version 2011-04-30 12:00:12 +02:00
Christian Dywan
4435b8fcef Remove 'Delete cookies when quitting' preference
Clear Private Data already offers the same option.
2011-04-30 11:56:12 +02:00
Paweł Forysiuk
bbfa7f6030 Fix GCC 4.6 warnings about set but unused variables 2011-04-29 04:03:33 +02:00
Christian Dywan
3ec724c3dc Tab should complete address if popup is visible 2011-04-29 03:53:59 +02:00
Christian Dywan
4b272c0459 Don't ignore unset title but fallback to the URI 2011-04-29 02:58:45 +02:00
Christian Dywan
eeed4a99f5 Closing diagnostic dialogue should cancel startup 2011-04-29 01:52:14 +02:00
Christian Dywan
366ca3f7da Interpret Ctrl(+Shift)+Tab as tab switching
It's not advertised as a shortcut but provided for
users on laptops lacking PageUp and PageDown, or
using multiple browsers.

Fixes: https://bugs.launchpad.net/bugs/766421
2011-04-26 23:05:53 +02:00
Christian Dywan
f0647ee95a Cycle between location and paned widgets with F6 2011-04-26 22:57:13 +02:00
Christian Dywan
1011d5c5b5 Address leaked strings and item references 2011-04-26 01:29:26 +02:00
Christian Dywan
00f848b27c Use the same preference for new and external pages
Fixes: https://bugs.launchpad.net/midori/+bug/704903
2011-04-26 01:26:10 +02:00
Christian Dywan
8adc200bba Strip scheme and www. in completion to reduce noise
Related to: https://bugs.launchpad.net/midori/+bug/752915
2011-04-25 21:24:17 +02:00
Christian Dywan
bb2f6fbf2e Render filename as title of patches 2011-04-25 21:04:28 +02:00
Christian Dywan
feee6cff1f Turn location into a plain entry without arrow
Fixes: https://bugs.launchpad.net/midori/+bug/747683
2011-04-25 21:00:52 +02:00
Christian Dywan
f4ae255f9a Don't include application name in window title
Except in private browsing mode.
2011-04-25 17:53:33 +02:00
Paweł Forysiuk
17d458b0ca Ellipsize label in infobars created by MidoriView
So overly long messages don't cause the window to grow.
2011-04-21 20:51:03 +02:00
Christian Dywan
7614e319ce Remove 'Open' from tab context menu 2011-04-21 00:11:43 +02:00
Paweł Forysiuk
3eb3481812 Show estimated time remaining in transferbar tooltip 2011-04-20 20:52:07 +02:00
Cyril Brulebois
d6c2be8042 Make sure speed dial is shown in blank tabs
The speed dial is now mandatory, but it's still possible to get
a blank tab. With an empty home page and a displayed speed dial
on a new tab, going to any page and coming back leads to a blank page.

Work around that by checking whether the view is empty and setting the
uri to an empty string in this case, to hit the code path which makes
the speed dial kick in.
2011-04-20 00:31:52 +02:00
Cyril Brulebois
474358d972 Fix signedness warning in midori_view_tab_label_data_received 2011-04-20 00:19:41 +02:00
André Stösel
a9a220f96c Don't destroy inspector window that will be re-used 2011-04-19 23:21:31 +02:00
Christian Dywan
a2fc8f405c Show a notification upon opening a tab or window
The notification is shown when in fullscreen mode or the window
is maximised, and a window is opened or a tab is opened while
the tab bar is not visible.
2011-04-19 23:16:34 +02:00
Christian Dywan
7152189d82 Mask timezone, language, architecture and plugins 2011-04-19 23:07:22 +02:00
Christian Dywan
857bbfb02b Disable HTML5 storage features in Private Browsing 2011-04-18 01:31:56 +02:00
Christian Dywan
feb69e8fd9 Video format availability in about:version 2011-04-18 01:28:38 +02:00
Tomasz Szatkowski
7691130cc3 Implement 'Customize...' on toolbar right-click
The new MidoriBrowser::populate-toolbar-menu allows
extensions to add menu items.

Fixes: https://bugs.launchpad.net/midori/+bug/699933
2011-04-17 22:43:54 +02:00
Christian Dywan
10c5ac4597 Use setting for old and new prefetching option
So prefetching in private mode is disabled regardless of
whether prefetching is done in Midori or in new WebKit
versions.
Menu items also adhere to that same setting now.

And use the chance to correct version checks.
2011-04-17 22:29:51 +02:00
Christian Dywan
ea264c31f6 Don't mention stripped referrers without MIDORI_DEBUG 2011-04-17 22:27:58 +02:00
Christian Dywan
7dc01d70ef Render themed icon as native SVG if available 2011-04-17 03:32:35 +02:00
Christian Dywan
0925d31985 Don't load the soup session in idle callback
Otherwise there's a race condition which may lead to
not having setup the session before loading the first
page or worse, crash in libSoup.
2011-04-16 04:26:28 +02:00
Christian Dywan
08b756b0a6 Revert "Left mouse button and mouse wheel changes zoom level"
This reverts commit c2e0342bb3.

The feature is unusable on some touchpads.

Fixes: https://bugs.launchpad.net/midori/+bug/761106
2011-04-16 04:08:16 +02:00
Christian Dywan
9ac8433e6d Strip referrer details sent to external sites
This new feature strips, if enabled, the path and query from
the 'Referer' header when switching to external sites. It
doesn't affect internal links, which is why websites testing
for this feature may falsely assert it's not working.

The feature is automatically enabled in private mode.
2011-04-15 00:49:39 +02:00
Christian Dywan
e18a2c8001 Refactor soup session setup for normal and app mode
The soup session preparation was actually several incomplete
in app mode, now it shares a common code path with normal
mode minus web cookies and logins.
2011-04-14 22:53:28 +02:00
Christian Dywan
b06d7192e6 Always 'var' in for and wrapping functions
Related to https://bugs.launchpad.net/midori/+bug/716887
2011-04-14 21:46:01 +02:00
Christian Dywan
547f0764b4 Move Privacy preferences into separate callback
So they only show up in regular mode, but not in private
browsing mode where they are not useful.
2011-04-14 03:36:14 +02:00
Christian Dywan
ed6ed71239 Embed extensions into preferences dialogue
MidoriBrowser gains the show-preferences signal which
gives API users a chance to add preferences.

katze_preferences_add_category now returns a box to
allow freely packing a widget into the page.

The extension panel is packed into the preferences now
rather than being appended as a proper panel.

Motivation is consistency here, such as with Gedit or
Emerillon and also the aspect that extensions often
really do tweak behaviour like preferences do.

Spacing and icons are added for visual consistency.
2011-04-14 03:29:50 +02:00
Christian Dywan
f01c4a472a Dissolve application preferences onto other pages 2011-04-14 03:28:24 +02:00
Christian Dywan
9ab1349c54 Remove the Download Manager preference
Many users are confused about the way the feature works and
nobody cares enough to improve it.
2011-04-14 03:23:08 +02:00
Christian Dywan
e53c36e32d Handle closing of the inspector window 2011-04-13 23:57:47 +02:00
Christian Dywan
4a8b55400b Reset alert counter when loading a new page
All infobars including alerts are destroyed, so we can assume
no alerts are visible.
2011-04-13 23:56:00 +02:00
Paweł Forysiuk
28e269365d Remove thumbnail files from cache by uri 2011-04-13 23:50:06 +02:00
Christian Dywan
c2e0342bb3 Left mouse button and mouse wheel changes zoom level
The left mouse button behaves identical to Control.
2011-04-10 22:43:05 +02:00
Paweł Forysiuk
09a92c16bb Save speed dial thumbnails by uri rather than by dial id 2011-04-10 20:35:28 +02:00
James McMinn
624259991e Unset tooltip on location if no security is given
Fixes: https://bugs.launchpad.net/midori/+bug/754042
2011-04-07 23:05:54 +02:00
Christian Dywan
94ee681f07 Rename 'Quit' to 'Close all Windows'
That's what it does effectively.
2011-04-07 22:41:27 +02:00
Christian Dywan
42fa621cd9 Disable DNS prefetching in private browsing mode 2011-04-07 22:10:21 +02:00
Christian Dywan
e449ce87e2 Add 'Report a Problem' to the app menu 2011-04-07 21:25:27 +02:00
Daniel Foré
cf07acf53a Rename 'Report a Bug' to 'Report a Problem'
Users with no technical background don't talk about beetles.
2011-04-07 21:18:23 +02:00
Daniel Foré
1ccdf3b350 Organize appmenu items into more logical groups
Fixes: https://bugs.launchpad.net/midori/+bug/736072
2011-04-07 21:17:18 +02:00
Christian Dywan
3d4f288ba0 Don't consider 'Plugin will handle load' an error 2011-04-07 20:59:08 +02:00
Christian Dywan
c397c589f5 Assign slot in JSON import, don't leak it 2011-04-06 00:06:16 +02:00
Paweł Forysiuk
e314892818 Check for thumbnail directory when saving thumbnail files 2011-04-05 23:52:21 +02:00
Alexander Friesen
867d8ce87e Show access keys distinct from numbers in link search
Keys are invoked with Alt+key.

Numeric access keys don't work and are not shown as such.
2011-04-05 00:40:15 +02:00
Alexander Friesen
2460c161dd Remove link labels on navigation decision
Otherwise stale labels can appear when going back
and forward which are not backed by the view.
2011-04-05 00:13:13 +02:00
Alexander Friesen
850438daee Count link labels separately from actual elements
Not all link elements will have visible labels.
2011-04-05 00:02:14 +02:00
Christian Dywan
6931025617 Introduce --private/ -p distinct from --app/ -a
Private mode gets a particular window title, always defaults
to reading the default config folder but never saves data.

App mode applies a custom window layout with no toolbars
and using the page icon as the window icon.

From now on private and app are independant modes, so apps
can save data if config is given. Both can also be combined.
2011-04-04 23:45:45 +02:00
Christian Dywan
b2092cc64b Move config folder validity check in front of app run 2011-04-04 22:47:22 +02:00
André Stösel
2ffd780bb6 Fix detaching and reattaching the inspector to browser
Probably related to https://bugs.launchpad.net/midori/+bug/746540

Special thanks to Andy Kittner, who helped me with debugging.
2011-04-04 21:56:21 +02:00
Christian Dywan
f97d82c559 Move crash dialogue preference into the dialogue itself 2011-04-04 21:33:52 +02:00
Christian Dywan
aa401634ed Don't show toolbar preferences if running a DE
Let's assume that modern desktops have a tool to adapt the
toolbar style.

Fixes: https://bugs.launchpad.net/midori/+bug/711435
2011-04-04 21:21:27 +02:00
Christian Dywan
8134789973 Show infobars instead of dialogues for alerts
Also limit the number of alerts to 5 at any one time.
2011-04-04 03:02:03 +02:00
Paweł Forysiuk
2771eee995 Don't create speed dial when preparing view source 2011-04-04 00:24:42 +02:00
Paweł Forysiuk
ae1a3aafb9 Properly close H4 tag in empty Speed Dial slots. 2011-04-04 00:22:27 +02:00
Paweł Forysiuk
ac875f73de Remove unneded notebook variable from midori_view_speed_dial_save 2011-04-04 00:20:42 +02:00
Christian Dywan
493936adcb Always render icon only tabs at their natural size 2011-04-03 23:59:29 +02:00
Paweł Forysiuk
706fc6d063 Plug leaks and don't set name in JSON import 2011-04-03 23:25:59 +02:00
Paweł Forysiuk
1e5e1710ee Move slot and dial_id out of the loop for JSON import 2011-04-03 23:24:53 +02:00
Paweł Forysiuk
b8eb9c50f7 Save speed dial configuration file after importing from JSON 2011-04-03 23:18:12 +02:00
Paweł Forysiuk
c660aafe64 Use sokoke_build_thumbnail_path importing from JSON 2011-04-03 23:16:26 +02:00
Paweł Forysiuk
7cafd62552 Properly calculate row count when importing from JSON 2011-04-03 22:32:07 +02:00
Paweł Forysiuk
599bd748df Free up resources of encoded thumbnails 2011-04-03 22:28:20 +02:00
Christian Dywan
4cc6ec5b67 Change Quit shortcut to Ctrl+Shift+Q
It is too easy to accidentally hit Ctrl+Q while aiming for
Ctrl+A or Ctrl+W, and potentially very confusing if unexpected.

Fixes: https://bugs.launchpad.net/bugs/748364
2011-04-03 22:23:57 +02:00
Christian Dywan
912fdf7f30 Don't honor the deprecated find-while-typing option 2011-03-23 23:20:49 +01:00
Christian Dywan
e222a12c68 Don't resize empty thumbnail tab labels 2011-03-23 22:48:53 +01:00
Paweł Forysiuk
e13bebf4de Only encode and insert images of existing thumbnails 2011-03-23 22:32:49 +01:00
Paweł Forysiuk
0efdd74c77 Take care to not leak speed dial markup 2011-03-23 22:14:30 +01:00
Tomasz Szatkowski
6721c0592d Drop files or URLs onto tab labels
Fixes: https://bugs.launchpad.net/midori/+bug/735769
2011-03-23 22:05:40 +01:00
Tomasz Szatkowski
a9a5b38c29 Grow and shrink tabs dynamically to available space
Fixes: https://bugs.launchpad.net/midori/+bug/735993
2011-03-23 20:41:40 +01:00
Paweł Forysiuk
d4cc81a6c2 Take into account JSON/ non-JSON column defaults 2011-03-23 02:22:42 +01:00
Christian Dywan
c1f9d6f796 'When Midori starts' should say Speed Dial, not Blank
While we are at it, use title case in the tab title.
2011-03-23 00:54:32 +01:00
Christian Dywan
0163806daa Make speed dial in blank tabs mandatory
Fixes: https://bugs.launchpad.net/midori/+bug/699961
2011-03-23 00:28:04 +01:00
Paweł Forysiuk
d3edddea90 Rename midori_view_speed_dial_inject_thumb function since it no longer injects anything.
Additionally drop filename argument which was never used in function body.
2011-03-23 00:12:52 +01:00
Christian Dywan
34ef20ce4e Update tabs if speed dial changes or thumbnail loaded 2011-03-23 00:07:52 +01:00
Paweł Forysiuk
616f49605b Generate speed dial from key file without JSON
A timer for speed dial is shown if MIDORI_STARTTIME is defined.
2011-03-22 23:02:00 +01:00
Christian Dywan
a89ef70bee Load speed dial in private browsing mode 2011-03-22 23:02:00 +01:00
Christian Dywan
648610ef66 Always initialize variables in speeddial_new_from_file 2011-03-22 23:02:00 +01:00
Paweł Forysiuk
a8ce104d86 Helper function for computing path to thumbnail file 2011-03-22 23:01:59 +01:00
Paweł Forysiuk
9c48997a26 Use speeddial property to store GKeyFile with speeddial entries 2011-03-22 23:01:59 +01:00
Christian Dywan
b6ffbff40e Treat about: like an alias to about:version 2011-03-21 20:56:13 +01:00
Christian Dywan
91a130cf75 Don't show Clear Private Data in Private Browsing
Fixes: https://bugs.launchpad.net/midori/+bug/734664
2011-03-14 23:59:11 +01:00
Christian Dywan
ef88658853 Add Offline Application Cache to Clear Private Data 2011-03-14 01:23:39 +01:00
Christian Dywan
7ac71b6bba Don't try to load icons of special pages 2011-03-14 01:03:37 +01:00
Christian Dywan
a9872adf08 midori_browser_set_action_visible should change sensitivity
So in particular the panel is not only hidden from the menu
but also inaccessible with the keyboard.
2011-03-13 22:15:14 +01:00
Christian Dywan
11b9f915f0 Disable new speed dial key file import 2011-03-13 22:10:36 +01:00
Christian Dywan
32825e713f Use 60 connections and 6 per host, like unstable WebKit 2011-03-13 20:51:13 +01:00
Christian Dywan
4842406f27 Update the current item after re-ordering search engines 2011-03-13 18:32:08 +01:00
Christian Dywan
f2b5e82ce4 Allow re-ordering of search engines 2011-03-13 17:36:28 +01:00
Christian Dywan
fb681fac09 Resurrect right-align button on the panel
The feature is in fact far more popular than one might think.
2011-03-13 16:50:51 +01:00
Christian Dywan
b312c40456 Resolve mnemonic conflict in Tab Move Forward/ Backward 2011-03-13 15:24:40 +01:00
Christian Dywan
9e52fa93d4 Don't check for impossible mouse button value 2011-03-13 15:03:45 +01:00
Christian Dywan
ab04194ee4 Check a and link elements for next/ previous page 2011-03-13 15:03:45 +01:00
Christian Dywan
e06c2052a0 Don't show link numbers if there is no href
Those can't actually be opened so it's confusing.
2011-03-13 15:03:45 +01:00
Christian Dywan
3d15c22b0b Always save settings when quitting the browser 2011-03-12 22:10:35 +01:00
Christian Dywan
d02b234626 Enforce private/ app windows to be in normal state 2011-03-12 21:27:58 +01:00
Christian Dywan
1bedc8a76c Check if _midori_web_view_load_icon actually has a URI
A blank page wouldn't have one.
2011-03-12 21:10:01 +01: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
02d095cae0 Check for 'rel' links should be case insensitive 2011-03-12 03:38:26 +01:00
Christian Dywan
1e15abe27c Check if there is json_content to parse at all 2011-03-12 03:34:46 +01:00
Christian Dywan
a6c9b73442 Use lock-secure and lock-insecure icons if available 2011-03-12 03:34:46 +01:00
Paweł Forysiuk
c7e102992c Import JSON to key file, cache existing thumbnails 2011-03-09 02:24:27 +01:00
Paweł Forysiuk
88f7b72526 Introduce thumb:// pseudo-uri to serve thumbnails from disk cache 2011-03-09 02:10:41 +01:00
Christian Dywan
e643cc8c10 Replace unmaintained docs with FAQ from the wiki
Realistically nobody maintains offline documentation and
none of the people claiming to look into it ever did, whereas
the FAQ is being updated by or with input from individuals.

faq.html was copied from http://wiki.xfce.org/_export/xhtml/midori/faq
and all <link rel="stylesheet"> tags were replaced with
<link rel="stylesheet" type="text/css" href="faq.css" />.
2011-03-08 23:25:37 +01:00
Christian Dywan
d16b32e6c8 Fix shadow and missing initialisation warnings 2011-03-08 21:03:01 +01:00
Alexander Friesen
f237c30e06 Add MidoriBrowser::move-tab and use it in Tab Panel 2011-03-07 22:56:20 +01:00
Alexander Friesen
302c1b364d Disarm built-in notebook reorder key bindings
The keys are confusing if triggered accidentally.
2011-03-07 03:43:36 +01:00
Christian Dywan
fb9629c1aa Work around copying bug in WebKitGTK+
Fixes: https://bugs.launchpad.net/midori/+bug/707888
2011-03-06 18:13:54 +01:00
Christian Dywan
de0ede905f Focus the view on key press if nothing's focussed 2011-03-06 17:26:41 +01:00
Christian Dywan
663e7e9285 Don't emit add-download before all preparations
Notably verifying that there's space available and a file
shouldn't be overriden has to come first. This already was
the case for the transferbar which isn't using the signal.
2011-03-06 17:26:40 +01:00
Christian Dywan
d903505ee6 Support x-scheme-handler with GLib < 2.28
So for example x-scheme-handler/magnet=transmission-gtk.desktop
in the file ~/.local/share/applications/mimeapps.list allows
opening of magnet links with Transmission.
2011-03-05 03:40:10 +01:00
Christian Dywan
fc8d0a1179 Gracefully handle unset history and search engines
So app mode actually fails to search reliably and not by
accident.
2011-03-05 03:40:10 +01:00
Alexander Friesen
7e8b0bf229 Move forward should move the last tab to the front 2011-03-05 02:08:19 +01:00
Alexander Friesen
353924a117 Always links by number with Return and remove styles
Return is always required to confirm the typed number, which
is consistent and more usable with Control for new tab.

Hiding links now actually removes the extra spans.

Opening links in a new tab keeps the links visible.

Escape resets the typed digits.
2011-03-05 00:23:33 +01:00
Christian Dywan
66a1462d14 Handle uri notifications in midori_browser_set_current_tab 2011-03-02 22:26:06 +01:00
Christian Dywan
0cdcae487a Allow re-ordering tabs with Ctrl+Shift+PageUp/PageDown 2011-03-02 22:26:06 +01:00
Christian Dywan
256b351090 Provide tab overview menu on right-click of empty space 2011-03-02 22:26:06 +01:00
Christian Dywan
0e30ea3779 Propagate URI changes and update Back, Forward actions
Fixes: https://bugs.launchpad.net/midori/+bug/725826
2011-02-27 01:48:06 +01:00
Christian Dywan
9baf84dd3f Alt+9 and Alt+0 should always go to the last tab 2011-02-26 16:23:56 +01:00
Tomasz Szatkowski
ddd660b45a Copy email addresses without mailto: prefix
Fixes: https://bugs.launchpad.net/midori/+bug/358650
2011-02-26 16:05:39 +01:00
Christian Dywan
3eba817d50 Move plugin list from about:plugins to about:version 2011-02-26 03:31:52 +01:00
Paweł Forysiuk
66544898fa Show 'No plugins' if there are no plugins installed
Also free the return values.
2011-02-24 23:26:55 +01:00
Christian Dywan
667c94389a Implement internal about:plugins page 2011-02-24 22:27:55 +01:00
Paweł Forysiuk
c5178d52f4 Don't append pause: to already paused URIs 2011-02-24 21:26:50 +01:00
Christian Dywan
ac7ce0f792 Move 'Menubar' menuitem down and make it 'Navigationbar'
The menu item that appears in the context menu if all toolbars
are hidden is easy to miss, so moving it to the bottom makes it
more visible. It should also show the Navigationbar.
2011-02-24 21:26:49 +01:00
Christian Dywan
3ec44384f3 Always save when quitting the application 2011-02-24 21:26:49 +01:00
Christian Dywan
b47184778a Don't add session tabs to the history on startup
Otherwise the startup as a whole causes a lot of disk activity
that isn't really needed.
2011-02-23 22:56:28 +01:00
Christian Dywan
997db05a9e Rename 'Download link destination' to 'Save as'
Fixes: https://bugs.launchpad.net/midori/+bug/699989
2011-02-21 19:42:48 +01:00
Christian Dywan
b7f8281f77 Remove a redundant katze_array_move_item all 2011-02-21 19:42:48 +01:00
Christian Dywan
857551fe61 Add FAQ menu item to the app menu 2011-02-21 19:42:47 +01:00
Christian Dywan
ea8b9ee7fe Improve handling of cookie updates
Be sure to remove outstanding times, use libsoup API
to free the list of cookies and use the cookie jar to
delete cookies.

Fixes: https://bugs.launchpad.net/midori/+bug/712770
2011-02-20 20:55:34 +01:00
Christian Dywan
c1f592bb75 Show at minimum 10% progress when loading 2011-02-20 20:09:57 +01:00
Christian Dywan
a205df3970 Don't limit search engines shown in completion popup 2011-02-20 20:07:29 +01:00
Christian Dywan
912637025c Use distinct labels for Refresh actions in shortcut editor 2011-02-20 04:13:30 +01:00
Christian Dywan
71f89a3d8a Take text for Go button in location from the entry 2011-02-19 23:38:34 +01:00
Tomasz Szatkowski
ce106b0d7f g_strescape the URI in the location completion
Fixes: https://bugs.launchpad.net/midori/+bug/700004
2011-02-19 22:32:21 +01:00
Christian Dywan
85e78eab9a Reflect tab order in saved session
Discussed, tested and tweaked by amphi, ml| and MonkeyofDoom in IRC.
2011-02-19 22:32:21 +01:00
Christian Dywan
663a82d873 Check that pspec is not NULL when skipping state changes 2011-02-17 21:48:48 +01:00
Paweł Forysiuk
00b116a940 Use page title for inspector window tile 2011-02-17 21:38:54 +01:00
Christian Dywan
d19396a065 Add hidden setting for close buttons on the left
This value can be changed by distributions using window
decorations on the left side.

Fixes: https://bugs.launchpad.net/midori/+bug/699972
2011-02-17 20:57:57 +01:00
Paweł Forysiuk
2c4015ab94 Unescape HTML entities when importing bookmarks from Netscape HTML. 2011-02-17 20:15:35 +01:00
Christian Dywan
e272fc04f2 Don't save config file on state related property changes 2011-02-17 19:54:36 +01:00
Christian Dywan
503ed3ac94 Be sure to only migrate bookmarks if .db doesn't exist
Fixes: https://bugs.launchpad.net/midori/+bug/711377
2011-02-17 19:54:36 +01:00
Christian Dywan
40a6743e78 Check if filename to open is a filename or not
Fixes: https://bugs.launchpad.net/midori/+bug/715118
2011-02-17 19:54:35 +01:00
Christian Dywan
f4875ceb7c Escape title to be set on error pages 2011-02-17 19:54:35 +01:00
Paweł Forysiuk
b63444f3cb Escape bookmark items when exporting to Netscape HTML 2011-02-16 00:19:17 +01:00
Christian Dywan
296ede80f7 Append fallback icon instead of checking the theme 2011-02-15 21:32:08 +01:00
Christian Dywan
b55ab3afa9 Fallback to file icon if no MIME icon is found 2011-02-15 00:58:34 +01:00
Christian Dywan
3ff376b43b Mandatory transferbar and no implicit statusbar 2011-02-13 19:07:48 +01:00
Christian Dywan
cea9c3f426 Always show progress inside location bar 2011-02-13 18:35:47 +01:00
Christian Dywan
9bebcf32cc Remove search engines in completion preference
Display up to 5 engines, to not make it annoying when there
are too many in total.
2011-02-13 18:35:47 +01:00
Christian Dywan
75a1d90233 Show error on failure to read global config file 2011-02-13 18:35:47 +01:00
Christian Dywan
0bfcf34450 Rename 'Add Desktop Shortcut' to 'Create launcher'
Fixes: https://bugs.launchpad.net/midori/+bug/710281
2011-02-12 18:12:55 +01:00
Christian Dywan
4eb874f044 Update copyright year for '--version' and About dialogue 2011-02-12 17:09:35 +01:00
Christian Dywan
42bf6f5c61 Default to app menu instead of menubar 2011-02-11 23:31:27 +01:00
Christian Dywan
3dab3ac1a0 Add Bookmark Import and Export to app menu 2011-02-11 23:31:27 +01:00
Christian Dywan
18776c59b2 Add CA bundle path used on Foresight Linux 2011-02-11 23:31:27 +01:00
Christian Dywan
c0f8cda7c6 Avoid action accessors, use properties instead
Fixes: https://bugs.launchpad.net/midori/+bug/715306
2011-02-09 00:54:54 +01:00
Christian Dywan
6c0395b65e Use DESKTOP_SESSION variable if set to look for Xfce 2011-02-08 19:10:40 +01:00
Paweł Forysiuk
9ab46a3daa Append "Private Browsing" to title in private mode
Fixes: https://bugs.launchpad.net/midori/+bug/699969
2011-02-04 01:43:06 +01:00
Christian Dywan
adfedc4197 Uncached reload action, default Ctrl+Shift+R 2011-02-02 01:55:32 +01:00
Christian Dywan
6ebcc4e21c Translate explanation in about:version 2011-02-02 01:46:14 +01:00
Christian Dywan
1add09e5ea Refer to about:version instead of numbers in About 2011-02-02 01:45:38 +01:00
Christian Dywan
2d4afde696 Make download folder and notifications obligatory 2011-02-02 01:31:16 +01:00
Christian Dywan
e8d2dc3ee7 Show error dialogue for invalid bookmark export filename 2011-02-02 01:31:16 +01:00
Christian Dywan
2d3aab8d8a Add file filters for XBEL and Netscape to export 2011-02-01 01:25:27 +01:00
Paweł Forysiuk
ab7b069769 Add support for exporting to Netscape HTML 2011-02-01 01:25:26 +01:00
Samuli Suominen
26873b0f97 Conditionally support libnotify 0.7 API
Fixes: https://bugs.launchpad.net/midori/+bug/710352
2011-01-31 01:48:08 +01:00
Paweł Forysiuk
5acdb5516d Unescape URLs with spaces, not only with % 2011-01-30 21:37:06 +01:00
Christian Dywan
aeccc9e9ac Use midori_browser_add_tab for tab on tab bar click
So we get speed dial if it is enabled like on new tab button.
2011-01-30 19:11:38 +01:00
Christian Dywan
07ffc279b2 Refer to Launchpad rather than Flyspray for bug tracking
Fixes: https://bugs.launchpad.net/midori/+bug/706241
2011-01-30 18:58:00 +01:00
Christian Dywan
1f08629a4f Preserve %20 for pasting URLs into other windows 2011-01-30 18:58:00 +01:00
Paweł Forysiuk
7368ca00c1 Remove unneeded check in HTML import function.
It was triggering a missleading warning at the last line of file
giving the impression of interrupted and broken import.
2011-01-30 18:58:00 +01:00
Paweł Forysiuk
11ac3fe157 Make bookmark import button label show supported formats when importing from a file. 2011-01-30 18:58:00 +01:00
Paweł Forysiuk
74bb09b8c7 Rename HTML import function from mozilla to netscape to be more consistent. 2011-01-30 18:58:00 +01:00
Paweł Forysiuk
4ed49d001f Add initial support for HTML bookmarks import 2011-01-29 08:59:20 +01:00
Paweł Forysiuk
567d5a7d14 Remove duplicated GtkActionEntry 2011-01-29 08:58:38 +01:00
Christian Dywan
072ea586cd Use search icon name as fallback for search engines 2011-01-29 08:42:29 +01:00
Christian Dywan
f9c38fda6f Import to a new, empty bookmark array 2011-01-22 21:24:10 +01:00
Christian Dywan
7a0d04ac52 Export to a new, empty bookmark array 2011-01-22 21:17:37 +01:00
Paweł Forysiuk
2e8d6558d0 Use KATZE_ARRAY_FOREACH_ITEM_L for export 2011-01-22 21:17:08 +01:00
Christian Dywan
84beea9108 Add KatzeArray::update and call it after import
This new function and according signal allow one
update of the treeview after importing directly
into the database.
2011-01-19 21:58:26 +01:00
Christian Dywan
f0d2c49355 Fix invalid bookmark warning and move into insertion 2011-01-19 21:34:39 +01:00
Christian Dywan
2f2e368b8a Use actual data dir to store desktop shortcut 2011-01-19 21:31:23 +01:00
Paweł Forysiuk
30cc8b0694 Bail out with a warning when adding invalid folder 2011-01-18 18:25:12 +01:00
Paweł Forysiuk
535053a3e6 Separate bookmark insertion from array callback 2011-01-18 17:49:57 +01:00
Christian Dywan
355ae063a6 Fallback to / as extension folder for unit tests 2011-01-16 14:05:23 +01:00
Christian Dywan
a408d9609d Use 'user-bookmarks' icon for bookmarks
The icon exists in GNOME, Elementary, Humanity and Faenza.
2011-01-11 22:18:35 +01:00
Christian Dywan
39e915bbbf Handle drag on default text like focus in
Also only connect the signals once.
2011-01-11 21:08:27 +01:00
Christian Dywan
8f489ca872 Unify settings update and title assignment 2011-01-11 21:08:27 +01:00
Christian Dywan
7e00e760ba Allow image zoom if text and images can be zoomed 2011-01-05 19:21:50 +01:00
Christian Dywan
c712758ed3 Spawn commands with about: arguments like URIs 2011-01-05 19:13:18 +01:00
Alexander Butenko
1f15d17c5f Use existing event if available to ensure link URI
This partially resolves problems with Midori opening the
wrong link when opening tabs in the background.
2011-01-02 01:24:50 +01:00
Christian Dywan
9b3d90ec73 Always construct the child web view right away 2011-01-01 21:43:29 +01:00
Christian Dywan
6780ed8be3 Replace midori_view_new_with_uri with _new_with_title
The old function is actually being removed because it breaks
monitoring of page loading. It was only used internally so far.

Moreover a warning is now emitted when loading an URI before
adding a view to a browser.
2011-01-01 20:05:34 +01:00
Christian Dywan
6b38ed85cf Check if typed link number exists and check result 2011-01-01 19:25:21 +01:00