Commit graph

28 commits

Author SHA1 Message Date
Christian Dywan
4c142e7688 Implement basic site data policy and unit tests
See: https://bugs.launchpad.net/midori/+bug/836729
2012-02-26 00:03:14 +01:00
Christian Dywan
18b6b48ef5 Abstract availability of Netscape plugin support
Disable if MOZ_PLUGIN_PATH is / or MIDORI_UNARMED.
2012-02-25 02:06:46 +01:00
Christian Dywan
040a1670e4 Introduce MIDORI_PARAM_DELAYED_SAVING mechanism
The flag says which properties don't trigger saving
to avoid disk I/O.
2011-11-17 00:03:52 +01:00
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
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
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
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
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
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
Paweł Forysiuk
46de9f7767 Remove further support for WebKitGTK+ < 1.1.14 2011-06-09 00:45:34 +02:00
Christian Dywan
38850f7444 Remove all currently deprecated settings 2011-05-16 02:51:03 +02:00
Christian Dywan
d73b471ec4 Implement sokoke_register_privacy_item facility
The new function allows registering callbacks which clear data,
with a name and label so they show up in the Clear Private Data
dialogue and the chosen items are saved.

The old enumeration still keeps history, trash and the flag
whether to clear when Midori quits.
2010-10-17 22:48:32 +02:00
Christian Dywan
7d3fa2a478 Move WebKitGTK+ 1.1.6 guards to disable delayed pages 2010-08-28 01:43:44 +02:00
Tsahee Zidenberg
ea7e627e3b Implement loading delayed pages at startup
Each view has a meta value 'delay' which indicates whether it be
loaded or needs to be loaded manually before it shows content.

One way to trigger this is that Midori crashes and if it is
configured to 'Show last open tabs', all tabs will now be
delayed. To allow Midori to safely open without crashing again.

The other way is to change the 'Load on Startup' preference to
'Show last tabs without loading'. This causes all tabs restored
from the session to be delayed.

One interesting aspect is that it is possible to have delayed
tabs, use 'Show last open tabs' and tabs will remain as they are,
so delayed tabs will be delayed over following sessions.
2010-06-01 00:12:30 +02:00
Christian Dywan
e886293ebf Implement 'Proxy type' preference which can be Auto, HTTP or None 2010-04-02 20:41:39 +02:00
Christian Dywan
2d8c8bebf5 Add G_GNUC_CONST to all Midori type functions 2010-01-17 18:14:48 +01:00
Christian Dywan
a35b548589 Add 'Web Cache' to Delete private data dialogue 2009-12-02 19:02:59 +01:00
Christian Dywan
d154158d0c Implement "Small icons" toolbar style and preference 2009-11-17 19:18:14 +01:00
Woo Youngho
657822c15c Add Korean encoding to the available of character encodings 2009-10-31 22:51:35 +01:00
Christian Dywan
178098d886 Add iPhone to identity options
This is useful for websites that offer mobile versions but only
support iPhone devices.
2009-09-14 18:26:35 +02:00
Christian Dywan
74757bdc9e Implement "Clear private data when quitting Midori" check button 2009-07-29 00:41:04 +02:00
Christian Dywan
3763990c3a Correct MidoriWindowState definition, this fixes window state saving 2009-02-17 17:55:18 +01:00
Christian Dywan
89a205bd59 Remember the last window state, ie. whether Midori was maximized or minimized 2009-01-20 23:27:19 +01:00
Christian Dywan
219c6bdf4c Provide identification string and proxy server preferences
This works with libSoup stable, if WebKit uses libSoup.
2008-12-08 23:18:14 +01:00
Christian Dywan
36a99b9d22 Allow hiding the menubar and showing it again 2008-10-12 22:09:49 +02:00
Christian Dywan
7f388237dc Reintroduce Download Manager preference 2008-07-16 22:32:37 +02:00
Christian Dywan
b196dc5b57 Simplify MidoriWebSettings, remove Private 2008-06-19 20:41:43 +02:00
Christian Dywan
b511f12b9b Rename folder 'src' to 'midori' 2008-06-01 23:47:27 +02:00
Renamed from src/midori-websettings.h (Browse further)