Commit graph

300 commits

Author SHA1 Message Date
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
Christian Dywan
e20a92e6ce Make sure x, y is set in KatzeScrolled button event 2011-11-25 00:59:49 +01:00
Christian Dywan
25d714d3a2 Keep Midori.URI.parse as an alias for compatibility 2011-11-22 21:57:20 +01:00
Christian Dywan
0d2a6cd72f Sort out boxes and scrollables with GTK+ 3.2
There is only GtkBox, neither GtkHBox nor GtkVBox.

Constructors and defaults have changed, we need
to set "orientation" for vertical boxes.

The panel takes care of its pages, and the view
of itself.

gtk_container_add on GtkBox is different to GtkVBox
so we must use gtk_box_pack_start.

GtkScrollable exists as a proper interface now.
2011-11-20 22:14:30 +01:00
Christian Dywan
1dc6e23b9e Define GtkV/HBox types to allow build with GTK+3.2 2011-11-19 21:35:56 +01:00
Christian Dywan
4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan
583c5be7ef Add simple regexp unit test to Addons extension 2011-11-18 00:54:32 +01:00
Christian Dywan
5eda5a3faa Fix wrong handling of URI containing space 2011-11-15 21:48:59 +01:00
Christian Dywan
a121d24d35 sokoke_entry_set_default_text becomes gtk_entry_set_placeholder_text
GTK+ 3.2 and Hildon 2.2 have the exact same feature built-in.
2011-11-09 22:06:10 +01:00
Christian Dywan
eed822dc8b Add gtk_image_menu_item_set_always_show_image to gtk3-compat.h 2011-11-08 22:42:02 +01:00
Christian Dywan
0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +01:00
Christian Dywan
cebf09e804 Midori.URI.parse shouldn't pass hostname with spaces 2011-10-29 00:40:34 +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
7cb16405f8 Commit missing file gtk3-compat.c
The file was intended to be part of 52de7471.
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
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
ee85789fc4 Use gtk_combo_box_text_new_with_entry in Statusbar Features
Fixes: https://bugs.launchpad.net/midori/+bug/878449
2011-10-20 22:48:51 +02:00
Christian Dywan
52de747198 Merge GLib and GTK+ compatibility in gtk3-compat.h 2011-10-20 22:46:43 +02:00
Christian Dywan
3fa294d100 Require GLib 2.22 it's already an implicit dependency 2011-10-17 02:47:56 +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
d3dbd33911 Bump version to 0.4.1 2011-10-10 00:41:47 +02:00