Commit graph

407 commits

Author SHA1 Message Date
Christian Dywan
e2816612c5 The dark themes are there since GTK+ 3.0 in fact
The Since in the documentation is wrong.
2011-12-17 11:06:11 +01:00
Christian Dywan
849351554e Request dark style for private browsing windows
Fixes: https://bugs.launchpad.net/midori/+bug/905056
2011-12-16 02:15:07 +01:00
Christian Dywan
00d8621fe7 Unify toolbar rebuilding in _action_menubar_activate
And merge _midori_browser_save_toolbar_items into it,
which was already not used anywhere else.

CompactMenu is now always skipped and automatically
added if the menubar is hidden. So it can no longer be
duplicated or appear in the toolbar editor.

Fixes: https://bugs.launchpad.net/midori/+bug/903003
2011-12-14 00:03:02 +01:00
Christian Dywan
b874009e00 Escape and unescape for unique and never otherwise
Also don't bother to apply magic when receiving the command,
it was already applied before.
2011-12-11 03:27:02 +01:00
Christian Dywan
c8b19b2eeb Avoid copying of strings and making tiny allocations 2011-12-11 02:57:04 +01:00
Christian Dywan
566794a67e Use system ca file from libsoup if possible 2011-12-11 02:11:36 +01:00
Christian Dywan
cd05d0a351 Use new _with_item constructor everywhere 2011-12-09 21:01:29 +01:00
Christian Dywan
64f9028eea Handle 'append' as meta, neither object data nor argument
This is more in line with 'dont-write-history' and 'delay'.
2011-12-07 23:15:04 +01:00
Christian Dywan
9888ad610d Avoid extra loop for adding delay to all items 2011-12-07 23:01:50 +01:00
Christian Dywan
d0db33711d Limit items in trash in private browsing 2011-12-01 20:04:32 +01:00
Christian Dywan
0e93695979 Be sure to always initialize startup timers 2011-11-28 23:41:32 +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
Peter Hatina
d809cd6040 Save paned actions as separate toolbar items 2011-11-17 00:03:52 +01:00
Christian Dywan
ac6e23680c For lack of a better way, don't scroll extension descriptions
Obscuring the settings icon is very bad for usability.
2011-11-09 23:04:23 +01:00
Christian Dywan
d9c4bb15c0 Remove obsolete MidoriLocationAction and panel boilerplate 2011-11-09 22:06:11 +01:00
Christian Dywan
23f90e821a Faster Base64-concatenating CSS and stylesheet URI support
It is important to retain user-stylesheet-uri separate from
the value set at runtime and restore it to the config file.

Fixes: https://bugs.launchpad.net/midori/+bug/883879
2011-11-08 22:48:39 +01:00
Christian Dywan
58066e7dcc Move naming logic into initialization of MidoriApp 2011-11-08 22:09:49 +01:00
Christian Dywan
8fff7d8fd3 sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
Also introduce #define MIDORI_MODULE_PREFIX.

Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +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
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
6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 2011-10-28 22:49:10 +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
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
1ed184ba1c No third-party cookies with soup 2.29.91/ WebKit 1.1.21 2011-10-24 00:20:48 +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
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
Christian Dywan
756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +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
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
e4d03290d3 Remove cookie feature after running cleanup callbacks 2011-09-21 23:07:53 +02:00
Christian Dywan
e55a0a91cb Check that extension_path exists before opening it 2011-09-14 01:56:03 +02:00
Christian Dywan
7b97c133dc Allow re-opening closed tabs in private browsing 2011-08-08 15:48:58 +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
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
6a3c3d155a Never delay URIs given as command line arguments 2011-07-28 23:08:03 +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
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
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
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
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