Commit graph

352 commits

Author SHA1 Message Date
Christian Dywan
41a7a21683 Import JSON via JSON.parse with javascript 2011-05-04 22:25:35 +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
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
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
eeed4a99f5 Closing diagnostic dialogue should cancel startup 2011-04-29 01:52:14 +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
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
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
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
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
Paweł Forysiuk
09a92c16bb Save speed dial thumbnails by uri rather than by dial id 2011-04-10 20:35:28 +02:00
Christian Dywan
42fa621cd9 Disable DNS prefetching in private browsing mode 2011-04-07 22:10:21 +02:00
Christian Dywan
c397c589f5 Assign slot in JSON import, don't leak it 2011-04-06 00:06:16 +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
Christian Dywan
f97d82c559 Move crash dialogue preference into the dialogue itself 2011-04-04 21:33:52 +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
d4cc81a6c2 Take into account JSON/ non-JSON column defaults 2011-03-23 02:22:42 +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
9c48997a26 Use speeddial property to store GKeyFile with speeddial entries 2011-03-22 23:01:59 +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
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
f2b5e82ce4 Allow re-ordering of search engines 2011-03-13 17:36:28 +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
1e15abe27c Check if there is json_content to parse at all 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
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
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
663a82d873 Check that pspec is not NULL when skipping state changes 2011-02-17 21:48:48 +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
75a1d90233 Show error on failure to read global config file 2011-02-13 18:35:47 +01:00
Christian Dywan
4eb874f044 Update copyright year for '--version' and About dialogue 2011-02-12 17:09:35 +01:00