Commit graph

2219 commits

Author SHA1 Message Date
Christian Dywan
42c1b70c7d unique, notify, and system details in about:version
Introduce midori_web_settings_get_system_name helper.

Add version numbers for libunique and libnotify if available.

Show platform and architecture if possible.

Merge debug string into the full version number.

Render video formats as a one-liner.
2011-10-31 04:01:41 +01:00
Christian Dywan
55227d2a3b Don't queue thumbs already waiting, 5 seconds timeout 2011-10-31 04:01:41 +01:00
Christian Dywan
ea15198b34 Support user-stylesheet-uri again through new API
Related to: https://bugs.launchpad.net/midori/+bug/826441
2011-10-30 16:26:56 +01:00
Christian Dywan
7dee11c0b7 Only show crash dialog if session isn't empty
Fixes: https://bugs.launchpad.net/midori/+bug/830645
2011-10-30 14:42:52 +01:00
Christian Dywan
0c69e6ff64 Define MidoriLoadStatus as alias to WebKitLoadStatus 2011-10-30 14:29:04 +01:00
Paweł Forysiuk
20e84c53c9 Fix typo in midori extension column name 2011-10-30 14:09:12 +01:00
Christian Dywan
6bb66ed111 Queue thumbnails for speed dial, and load if missing 2011-10-29 03:33:43 +02:00
Christian Dywan
a25c34e280 Support res directly in sokoke_find_data_filename
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan
d39b62c73e Use Midori.URI API in sokoke_prefetch_uri 2011-10-29 00:43:03 +02:00
Christian Dywan
cd8cb11ea2 Check that selection range count is not 0
Fixes: https://bugs.launchpad.net/midori/+bug/883157
2011-10-28 23:14:25 +02:00
Christian Dywan
f6d3c29be5 Position the location completion correctly
Fixes: https://bugs.launchpad.net/midori/+bug/883143
2011-10-28 23:03:24 +02:00
Christian Dywan
be04be8303 Introduce and use Midori.URI.is_http
Also make further uses of Midori.URI.parse.
2011-10-28 22:49:10 +02:00
Christian Dywan
8f540b3d86 sokoke_widget_set_pango_font_style can be static 2011-10-28 22:49:10 +02:00
Christian Dywan
2976f6ebb2 Avoid the rarely used sokoke_container_show_children 2011-10-28 22:49:10 +02:00
Christian Dywan
6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 2011-10-28 22:49:10 +02:00
Paweł Forysiuk
948301f086 NULL-check new speed dial titles to avoid "(null)" 2011-10-27 23:20:10 +02:00
Christian Dywan
0e5cb28e09 Copy styles passed to midori_web_settings_add_style
Style strings are usually allocated, unlike rule_id's.
2011-10-27 23:20:10 +02:00
Paweł Forysiuk
6f41311242 No need to handle thumb size when saving speed dial 2011-10-27 20:12:45 +02:00
Christian Dywan
4440d25e11 Update enforced font when font family changes 2011-10-27 19:32:17 +02:00
Christian Dywan
9937abe3fc No completion when typing token or leading space 2011-10-27 19:32:17 +02:00
Christian Dywan
968c967592 Implement Always use my font choices preference
Patch based on input from Peter Hatina.

Fixes: https://bugs.launchpad.net/midori/+bug/826441
2011-10-26 23:10:24 +02:00
Peter Hatina
0388f2fa39 Introduce midori_web_settings_add/remove_style API
The CSS stylesheets added by ID are globally applied.

Related: https://bugs.launchpad.net/midori/+bug/826441
2011-10-26 23:10:24 +02:00
Christian Dywan
3b2d95c0e4 sokoke_widget_copy_clipboard must be NULL-safe 2011-10-26 20:07:11 +02:00
Christian Dywan
4b33fd2c7d Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT 2011-10-26 20:07:11 +02:00
Christian Dywan
9738f07429 Respect close button visibility for tab size
And use the themed icon size.
2011-10-26 20:07:11 +02:00
Christian Dywan
5ddcfa7be6 Clear Private Data: Merge Closed Tabs with History
It would be misleading to delete one but not the other and
assume the pages are actually gone.
2011-10-26 20:07:11 +02:00
Christian Dywan
2cc0341bf0 Correctly use user-home for Homepage
Since the stock item is re-registered, using GTK_STOCK_HOME
directly will wrongly take gtk-home as the icon name.
2011-10-25 02:17:08 +02:00
Christian Dywan
9159e72b58 Use bookmark-new for Add Bookmark
Fixes: https://bugs.launchpad.net/midori/+bug/880179
2011-10-25 02:13:18 +02:00
Paweł Forysiuk
3c116eab7e Use versioned speed dial template filename 2011-10-25 01:22:30 +02:00
Peter Hatina
d707a8758d Split proxy server and port options into two fields
Fixes: https://bugs.launchpad.net/midori/+bug/699986
2011-10-25 01:22:29 +02:00
Christian Dywan
990b6b77bd Look for localized "next page" link and unify code 2011-10-25 01:22:29 +02:00
Christian Dywan
1ed184ba1c No third-party cookies with soup 2.29.91/ WebKit 1.1.21 2011-10-24 00:20:48 +02:00
Christian Dywan
1d4f129d6c Use right paths in _action_bookmarks_import_activate 2011-10-24 00:20:47 +02:00
Christian Dywan
b360541552 Use CSS style fixup to tweak tab size with GTK+ 3
For consistency, an analogous GtkRc snippet is used with GTK+ 2.

Based on a patch by Lucas Baudin.

Fixes: https://bugs.launchpad.net/midori/+bug/871085
2011-10-21 02:44:01 +02:00
Christian Dywan
77428fe44c Introduce Midori.URI to unitfy all URI logic
sokoke_hostname_from_uri, sokoke_search_uri,
sokoke_hostname_to_ascii and sokoke_unescape_uri_string
are merged into Midori.URI.
midori-core.h is the official API header for Vala now.
2011-10-21 01:00:13 +02:00
Christian Dywan
3f77b9f300 Avoid pre- and suffix with extension default configs
So this mainly matters to package maintainers, as the
configuration files for extensions have pre- and suffix
according to library naming of the platform. Basically
this only ever worked on Linux and Windows.
Now default configs are always installed with plain names.
2011-10-20 23:39:28 +02:00
Christian Dywan
52de747198 Merge GLib and GTK+ compatibility in gtk3-compat.h 2011-10-20 22:46:43 +02:00
Christian Dywan
c06fbee023 Merge bookmark folder combo into helper functions
Fixes: https://bugs.launchpad.net/midori/+bug/874592
2011-10-20 22:19:41 +02:00
Paweł Forysiuk
a12a8e26d6 Re-add enter_shortcut_name placeholder in speeddial-head.html
It is used in renaming dialog
2011-10-20 19:14:27 +02:00
Christian Dywan
2e203e746b Find Firefox profiles for import 2011-10-20 19:14:27 +02:00
Peter Hatina
b6469de5e6 Work-around icon being activatable by default
Fixes: https://bugs.launchpad.net/midori/+bug/770521
2011-10-20 09:14:33 +02:00
Christian Dywan
30f4225cd9 Work-around libSoup not setting a proper directory title
Fixes: https://bugs.launchpad.net/midori/+bug/872123
2011-10-19 09:26:58 +02:00
Christian Dywan
2bb7fe3c2d Rework --run feature based on a hidden browser
Scripts can use console.info to print and create new
windows to have a UI or open websites.

Internal "pass-through-console" is introduced to print
all messages to the console.

Fixes: https://bugs.launchpad.net/midori/+bug/875318
2011-10-19 09:15:47 +02:00
Christian Dywan
6494269ab9 Add certificate file location used on openSUSE 2011-10-19 09:05:08 +02:00
Paweł Forysiuk
7b4f2254ff No need to check for rows and columns in speed dial now 2011-10-17 02:47:56 +02:00
Christian Dywan
3fa294d100 Require GLib 2.22 it's already an implicit dependency 2011-10-17 02:47:56 +02:00
Walther Maldonado
eb45219936 Clear downloads when the transferbar is full
Fixes: https://bugs.launchpad.net/midori/+bug/851452
2011-10-17 02:47:56 +02:00
Christian Dywan
a8bf171c62 Add 'Create desktop shortcut' to app menu 2011-10-17 02:47:55 +02:00
Christian Dywan
756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +02:00
Christian Dywan
eda8ac68f9 Findbar should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan
edb01a11f6 Speed dial should honor close-buttons-left value 2011-10-13 18:31:50 +02:00
Christian Dywan
fd643d72e9 Allow last tab to close private and app mode 2011-10-11 02:53:14 +02:00
Christian Dywan
2f40eee0a5 Only show close in speed dial if it can be saved
And un-negate return value of sokoke_is_app_or_private().
2011-10-11 02:48:47 +02:00
Christian Dywan
7bd92bc67c Set speed dial shortcut title without asking 2011-10-11 01:53:12 +02:00
Paweł Forysiuk
a5ea7607d4 Properly position speed dial close and show on hover 2011-10-11 01:52:39 +02:00
Christian Dywan
8a8e59b598 Don't leak config_file in midori_load_soup_session_full 2011-10-10 23:23:19 +02:00
Alexander Butenko
f5447b921f Implement sqlite3 cookie storage backend
From now on cookies are stored in an sqlite3 database, existing
cookies are imported on first startup.
2011-10-10 23:22:27 +02:00
Christian Dywan
be6d6932f8 Avoid allocating empty mime_type and news_feeds 2011-10-10 21:58:19 +02:00
Christian Dywan
d013cc85a9 Use goto to not leak parts in midori_view_update_icon 2011-10-10 21:55:12 +02:00
Christian Dywan
3071da6711 Use g_format_size with GLib 2.30.0 2011-10-10 21:53:00 +02:00
Christian Dywan
cb6a4290d6 Don't save file dialog folder with GTK+ 3.1.10
The last used folder is restored by default.
2011-10-10 21:49:27 +02:00
Christian Dywan
2219399440 Only disable prefetch in private with WebKitGTK+ 1.3.11 2011-10-10 21:45:51 +02:00
Christian Dywan
9bd775b2d3 Make --snapshot save png images with GtkOffscreenWindow 2011-10-10 21:44:27 +02:00
Paweł Forysiuk
5eb5663cf6 Implement embossed speed dial with custom close buttons
The close button position is wrong.
2011-10-10 01:38:39 +02:00
Christian Dywan
ac272d2f48 Use secondary toolbar style for bookmarks bar
Fixes: https://bugs.launchpad.net/midori/+bug/870854
2011-10-09 14:48:12 +02:00
Christian Dywan
73354dbbab Use GtkOffscreenWindow for speed dial thumbnails
Fixes: https://bugs.launchpad.net/midori/+bug/736427
2011-10-09 14:31:27 +02:00
Christian Dywan
3e60f4424b Introduce Automatic user agent and allow quirks
The new Automatic user agent is meant to pick the string
that websites most likely check for. Right now this is
Safari. Quirks built-in to WebKit are also used.

The separate Midori identification has no quirks.

Fixes: https://bugs.launchpad.net/midori/+bug/865503
2011-10-09 12:20:13 +02:00
Paweł Forysiuk
76a9bc38ff Introduce and use midori_view_save_speed_dial_config 2011-10-07 21:07:21 +02:00
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Lucas Baudin
b46db9b170 Use DOM API to get selected text in WebKitGTK+ 1.4.3
Related to https://bugs.launchpad.net/midori/+bug/799603
2011-10-05 20:51:18 +02:00
Guido Berhoerster
bd5a85fb9f Link explicitly against libjavascriptcoregtk
Fixes: https://bugs.launchpad.net/midori/+bug/855978
2011-10-05 10:02:43 +02:00
Christian Dywan
441191b4a1 Use correct enum value for Flash window on bg tabs
Fixes: https://bugs.launchpad.net/midori/+bug/859107
2011-09-28 22:18:11 +02:00
Christian Dywan
76a8f160f2 Close inspector with Ctrl+W just like a tab
Fixes: https://bugs.launchpad.net/midori/+bug/797865
2011-09-28 18:01:51 +02:00
Christian Dywan
ae56fbf818 Introduce MIDORI_EVENT_NEW_TAB and use it
Fixes: https://bugs.launchpad.net/midori/+bug/797224
Fixes: https://bugs.launchpad.net/midori/+bug/797229
2011-09-28 17:45:37 +02:00
Christian Dywan
b8c707f1cb Fix bogus semicolon in midori_view_set_uri 2011-09-22 00:27:55 +02:00
Christian Dywan
a49c6e8ad7 Switch to already open tab of external URI if possible 2011-09-22 00:26:49 +02:00
Christian Dywan
648d869e4f Use DOM API to get selected text in WebKitGTK+ 1.5.1
Fixes: https://bugs.launchpad.net/midori/+bug/799603
2011-09-21 23:50:51 +02:00
Paweł Forysiuk
e4d03290d3 Remove cookie feature after running cleanup callbacks 2011-09-21 23:07:53 +02:00
Christian Dywan
bac3dc1842 Introduce MIDORI_EVENT_CONTEXT_MENU in midori-platform.h
The new header contains all state and event handling.
2011-09-21 23:04:20 +02:00
André Stösel
ec92c64dff Don't switch panels while destroying
Fixes: https://bugs.launchpad.net/midori/+bug/819688
2011-09-14 21:24:10 +02:00
Christian Dywan
e55a0a91cb Check that extension_path exists before opening it 2011-09-14 01:56:03 +02:00
Paweł Forysiuk
18a0d1da03 Check for folders other than LIBDIR in sokoke_find_lib_path 2011-09-14 01:47:21 +02:00
Paweł Forysiuk
c1321b0072 Remove spurious slot_id variable fom prepare_speed_dial_html 2011-09-14 01:39:14 +02:00
Christian Dywan
b8512f2532 Quote config folder when spawning private browsing
On Windows the folder typically contains spaces.
2011-08-18 22:10:57 +02:00
Christian Dywan
a51f70e33a Repack the alignment of the tab close button
Fixes: https://bugs.launchpad.net/midori/+bug/827089
2011-08-18 18:08:24 +02:00
Christian Dywan
59a6438d52 Support creating new windows by dragging tabs outside 2011-08-18 18:06:34 +02:00
Christian Dywan
49f15f741e Use GLib timeout rather than the dusty GTK+ API 2011-08-18 18:05:57 +02:00
Paweł Forysiuk
3e2e8906fb Remove leftover version guards for WebKit > 1.1.17 2011-08-15 22:56:38 +02:00
Christian Dywan
8bca83572a Thunderbird only accepts feed://, Liferea doesn't mind
https://bugs.launchpad.net/midori/+bug/826444
2011-08-15 21:30:22 +02:00
Paweł Forysiuk
c5151ff09a Clean up usage of pseudo-uris in special pages 2011-08-15 21:30:22 +02:00
André Stösel
32f71ef5e0 Flash browser window if new tab opened in background 2011-08-15 21:30:22 +02:00
Christian Dywan
7b97c133dc Allow re-opening closed tabs in private browsing 2011-08-08 15:48:58 +02:00
Christian Dywan
5c08872db0 Only show cache preference if there is a cache
App and private mode never make use of the web cache.
2011-08-08 15:44:38 +02:00
Paweł Forysiuk
5a0e6099c3 Drop res_root argument from midori_view_load_alternate_string.
It is never actually used in the function body.
2011-08-08 15:32:48 +02:00
Paweł Forysiuk
aeef4e4ee3 Use static variable to store speeddial markup.
While it does not make anything faster, it causess way less I/O.
2011-08-08 15:30:38 +02:00
Paweł Forysiuk
1cdda41b59 Measure the whole load time not just preparing speed dial markup 2011-08-08 15:26:59 +02:00
Christian Dywan
ab22866cff Always uncheck spelling if it is not available 2011-08-05 00:02:17 +02:00
Christian Dywan
a3ab258819 Don't show startup preference in private browsing
Introduce sokoke_is_app_or_private helper function.
2011-08-04 23:59:16 +02:00
Christian Dywan
761ef8c4e6 Fix hiding of the empty extension list 2011-08-04 23:41:01 +02:00
Christian Dywan
e6ecd20be4 Disable spell check option if there are no enchant modules 2011-08-04 23:29:56 +02:00
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