Commit graph

320 commits

Author SHA1 Message Date
Christian Dywan
0668aba7cc Move config/ data/ res_filename/ lib_path to Midori.Paths 2012-08-30 00:43:20 +02:00
Christian Dywan
0f1f26480d Validate IP address in proxy server preference
Fixes: https://bugs.launchpad.net/midori/+bug/783044
2012-08-29 01:09:25 +02:00
Christian Dywan
36c3a4925a Render invalid URI in entry with underline in GTK+3
GTK+2 shows a red background in this case.
2012-08-29 01:09:25 +02:00
Christian Dywan
a6606a9cee Use new Paths API in web cache extension 2012-08-27 22:29:13 +02:00
Christian Dywan
7f37162fe0 Introduce Midori.Paths and Midori.RuntimeMode
Also introduce initial "portable" mode on Win32.
2012-08-27 21:52:24 +02:00
Paweł Forysiuk
870ecca738 Make Midori.URI.get_fingerprint more legible 2012-08-16 00:19:48 +02:00
Paweł Forysiuk
e5da45a40e Don't mixup tokens starting with the same letters 2012-08-09 01:02:56 +02:00
Christian Dywan
96f616a237 Use secondary toolbar class for panel title
Also introduce a utility function to make adding
the class more readable.

Fixes: https://bugs.launchpad.net/midori/+bug/1026384
2012-07-28 11:06:40 +02:00
Christian Dywan
2cf8d9323e Require GTK+ 2.16 or later 2012-07-20 01:22:38 +02:00
Christian Dywan
b7f438589f Consistently use ifdef HAVE_GRANITE 2012-07-19 21:14:10 +02:00
Christian Dywan
5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Christian Dywan
93ef102c23 Deal with moving and switching in dynamic notebook 2012-07-12 00:14:48 +02:00
Christian Dywan
9ca795eec2 Render url icon in url entries
Notably in the bookmark dialog and the homepage.
2012-07-11 22:55:41 +02:00
Christian Dywan
64d9533f7b Use constructor to create static notebook 2012-07-03 01:46:02 +02:00
Christian Dywan
d5bf30ec03 Follow API changes of Granite static notebook
Fixes: https://bugs.launchpad.net/midori/+bug/1018474
2012-07-03 00:27:30 +02:00
Christian Dywan
ebd0ef2a46 Use granite static notebook for preferences
Fixes: https://bugs.launchpad.net/midori/+bug/1018074
2012-06-26 23:38:30 +02:00
André Stösel
8e3d770e09 Add basic KatzeItem and meta data accessors to katze.vapi 2012-06-11 23:35:12 +02:00
Christian Dywan
cf1321fe21 Add katze_item_get_pixbuf and use in panels 2012-05-13 02:22:38 +02:00
Christian Dywan
94c6fca20f Use WebKitFaviconDatabase as of WebKit 1.8.0
Fixes: https://bugs.launchpad.net/midori/+bug/902456
2012-05-13 02:22:38 +02:00
Paweł Forysiuk
89dbbcc1b0 Work-around too many apps in preferences on Win32 2012-04-10 21:29:56 +02:00
André Stösel
1de28a8a7a Minimum Katze.Array vapi including add_item signal 2012-03-27 00:54:48 +02:00
Christian Dywan
f3a5d49434 Use _katze_array_update consistently internally 2012-03-08 01:10:54 +01:00
Christian Dywan
a83cea4964 Allow asynchronous cookie database
Arguably cookies are like a cache, so we prefer
prefer performance over data integrity.
2012-03-06 20:08:51 +01:00
Christian Dywan
4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan
66d4e4c531 Fix typo fix in katze_throbber_get_preferred_height 2012-03-05 22:34:46 +01:00
Christian Dywan
7361a80e24 Tweak is_ip_address and add IPv6 test cases
Stop wrongly mistaking foo::bar for IPv6.
2012-02-29 23:17:02 +01:00
Christian Dywan
df8284f650 Fix misleading typos in katze_throbber_get_preferred_height 2012-02-29 22:41:59 +01:00
Christian Dywan
d3a60802ac Consider GTK_DISABLE_DEPRECATED in gtk3-compat.h 2012-02-26 00:03:14 +01:00
Christian Dywan
973e481068 Proxy update should be > not >= array update 2012-02-23 00:50:51 +01:00
Christian Dywan
403d17400b Harden katze_array_action_generate_menu
Add assertions and increase consistency.
2012-02-23 00:46:59 +01:00
Christian Dywan
90ee1384a7 Keep a timestamp of KatzeArray changes around
To avoid re-populating array actions when unneeded.

This also increases compatibility with global menubar
support which otherwise flickers.
2012-02-21 22:24:42 +01:00
Christian Dywan
5176b38120 Allow DuckDuckGo to distinguish Midori
Users who customize the search engine
won't be affected by this.
2012-02-21 21:47:56 +01:00
Christian Dywan
f586c3004b katze_item_get_image check if icon is set 2012-02-21 21:47:07 +01:00
Christian Dywan
7af5019d86 Fix katze_widget_popup_position_menu for GTK+
The window NULL-check was wrong in any case. The
key issue here is that GtkEntry internals changed
in GTK+3 and we need to take that into account.
2012-02-20 23:02:21 +01:00
Christian Dywan
bbbfa0d677 Consider focus when toggling clear button
Fixes: https://bugs.launchpad.net/midori/+bug/934083
2012-02-19 21:53:58 +01:00
Alexander Butenko
c6b15ff4dc Get rid of exec_query_with_try_create_table 2012-02-19 20:08:16 +01:00
Vincent Cappe
62f0ef746c When removing bookmarks, folder must not be NULL
If folder is NULL, we end up with "(NULL)" in sqlite.

Modified patch to use katze_str_non_null.

Fixes: https://bugs.launchpad.net/midori/+bug/926914
2012-02-19 17:52:14 +01:00
Alexander Butenko
29d6de3c6e Speeddial CSS speedup 2012-02-19 17:52:07 +01:00
Alexander Butenko
69f7e176ab Optimize cookies loading 2012-02-19 17:51:53 +01:00
Christian Dywan
cc7cf39150 Unify getting an image for an item 2012-02-14 00:24:22 +01:00
Christian Dywan
f1289721b6 Correctly redraw in katze_throbber_set_animated 2012-02-11 04:19:23 +01:00
Christian Dywan
5bb1c5025f Avoid allocations in _action_location_submit_uri
Skip whitespace without changing the string.

And take advantage of the fact that _find_token now
can deal with a complete URI.
2012-02-10 23:31:42 +01:00
Christian Dywan
b6f86b0ca6 Optimize list-based katze_array_ functions 2012-02-10 23:31:42 +01:00
Christian Dywan
451cd1fbea Allow search engine addresses prefixed with %s
Related to: https://bugs.launchpad.net/midori/+bug/909423
2012-01-05 00:01:09 +01:00
Christian Dywan
98c87e7ca9 Treat string meta value "" the same as NULL 2012-01-03 21:28:45 +01:00
Christian Dywan
ecac5fdce2 Add help_button class to help in preferences
Fixes: https://bugs.launchpad.net/midori/+bug/889238
2011-12-16 02:06:35 +01:00
Christian Dywan
4af93301e3 Use new GTK+ 3 API to align coords of throbber
Once again existing API is no longer reliable.
2011-12-14 02:14:54 +01:00
Christian Dywan
6143654279 Introduce and use midori_view_new_with_item 2011-12-07 21:27:38 +01:00
Christian Dywan
e2a2f96cf8 Don't set proxy sensitivity connecting KatzeArrayAction
In the case of the trash, the proxy should only be sensitive
if it is not empty, which MidoriBrowser takes care of.
2011-12-01 20:04:32 +01:00
Christian Dywan
b3344bf6f7 Define H and V widget functions for GTK+3
The horizontal variants are gone from the API.

gtk_rc_get_theme_dir has been deprecated, there is
no replacement so we do the equivalent lookup.

Right-aligned menu items are deprecated.

For now defining gtk_widget_render_icon and
gtk_widget_set_size_request gets rid of warnings.
2011-11-28 23:37:34 +01:00