Commit graph

80 commits

Author SHA1 Message Date
Christian Dywan
3fa294d100 Require GLib 2.22 it's already an implicit dependency 2011-10-17 02:47:56 +02:00
Christian Dywan
d3dbd33911 Bump version to 0.4.1 2011-10-10 00:41:47 +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
Lucas Baudin
b5aad2d176 Allow building with GTK+3
Fixes: https://bugs.launchpad.net/midori/+bug/861351
2011-10-07 20:24:02 +02:00
Christian Dywan
889dcabc33 Bump version to 0.4.0 2011-08-02 00:06:36 +02:00
Christian Dywan
20d47ffac4 Count both cookies and history expiry in months 2011-05-16 03:19:21 +02:00
Christian Dywan
f97395dab1 Validate URIs and render entry red if invalid
Fixes: https://bugs.launchpad.net/midori/+bug/710855
2011-05-15 16:46:23 +02:00
Christian Dywan
f3c519d715 Always add None and Custom to application property proxies 2010-10-13 23:13:02 +02:00
Christian Dywan
9d8c819521 Always prefill language entries with default values 2010-10-10 22:41:15 +02:00
Christian Dywan
4d2968a0cc Intern property proxy hint strings statically 2010-10-10 22:40:26 +02:00
Christian Dywan
3bb34f9f9b Fallback to the name of an app info if there's no executable
Apparently on Windows command line and executable can be NULL,
but the name appears to be the executable name.
2010-09-30 23:51:46 +02:00
Christian Dywan
016b6a6306 Remove unused katze_collfold and katze_utf8_stristr 2010-09-18 01:48:55 +02:00
Christian Dywan
b80b97b787 Require that the URI passed to katze_load_cached_icon be NULL 2010-09-15 04:10:54 +02:00
Christian Dywan
40dc38fd21 Implement and use KATZE_ARRAY_FOREACH_ITEM
Iterating an array by a GList is considerably faster than
continuously retrieving items, however it is also a lot
more complicated. So the new macro takes care of that and
uses a new semi-private function to avoid copying the list.

Note that the macro can't be nested, which basically isn't
useful in practise anyway.
2010-09-12 00:59:24 +02:00
Christian Dywan
0cc46d6285 Don't leak the filename in katze_load_cached_icon 2010-09-06 03:03:07 +02:00
Alexander Butenko
672b7ab70a Protect proxy combo box notifications against recursion
This can happen when switching between custom and other elements.
2010-08-24 23:50:47 +02:00
Christian Dywan
5b640c7f46 Store address of bookmarks for tooltip as a string in the model 2010-07-31 01:21:50 +02:00
Alexander Butenko
a49f1f7814 Introduce katze_bookmark_populate_tree_view() and rename ITEM_IS* macros 2010-07-01 23:37:13 +02:00
Christian Dywan
a25e4c5f0a Add gtk_widget_get_window and fix gtk_dialog_get_content_area 2010-04-28 23:57:22 +02:00
Samuel Creshal
6ccfb136cd Load cached icons from http and https 2010-03-13 20:08:40 +01:00
Christian Dywan
8c1e5e4305 Free text after proxy combo text change 2010-03-11 23:30:53 +01:00
Enrico Tröger
3583a07056 Declare widget allocation macros for GTK+ < 2.18 properly 2010-03-02 23:58:17 +01:00
Christian Dywan
20602673fe Use allocation accessor in katze utils 2010-02-19 17:22:34 +01:00
Christian Dywan
fa66334289 Accessors instead of widget flag macros in Katze 2010-02-19 17:10:54 +01:00
Christian Dywan
cc6bb8fddb Lookup icon size in relation to the according screen or widget 2010-01-29 22:43:39 +01:00
Can Erkin Acar
b7fd68c173 Don't leak temporary icon filename and don't free icon URI too early 2010-01-19 06:09:05 +01:00
Christian Dywan
b1ee80d55e Implement katze_utf8_stristr, katze_collfold and use in completion
Evidently normalizing any whole string is too slow for completion,
so we need to even out case and composition while iterating through
the strings.

The decompositing version of katze_utf8_stristr is disabled, since
it is too slow, and an ascii only version is used, for now.

A unit test 'compare' is added that solely measures performance of
katze_collfold and katze_utf8_stristr.
2009-12-28 23:59:54 +01:00
Alexander Butenko
670ee72e3f Use g_access instead of g_file_test in katze_mkdir_with_parents 2009-12-18 21:21:56 +01:00
Christian Dywan
a589c2a5bc Align app proxy icons, catch missing icons and respect should show 2009-11-29 14:09:29 +01:00
Christian Dywan
35789798b1 Adjust input mode of numeric property proxies on Hildon 2009-11-29 14:09:28 +01:00
Christian Dywan
28c5919b0d Presumably 'sans-serif' font is really 'sans'
We want to avoid an empty font combo box.
2009-11-22 05:12:13 +01:00
Christian Dywan
77897bc173 Guard GTK+ 2.12 tooltip API in katze_property_label function 2009-11-18 19:02:42 +01:00
Christian Dywan
9eefb25bb6 Refactor loading cached page icon into katze_load_cached_icon
The function is optimized for loading icons and independant from
a KatzeNet instance.
2009-11-17 23:22:08 +01:00
Christian Dywan
e98731de8a Re-implement g_icon_to_string for Glib 2.20, second attempt 2009-11-16 23:32:02 +01:00
Christian Dywan
8f8a7634e0 Copy g_icon_to_string_tokenized for GIO < 2.20 and include gio.h 2009-11-16 17:52:03 +01:00
Christian Dywan
c41d293b9a Show custom identification/ encoding in tooltip and prefill the entry 2009-11-10 00:36:48 +01:00
Christian Dywan
1c0d18bc06 Implement enumeration proxies with custom entries as well 2009-11-03 18:01:22 +01:00
Christian Dywan
ab4fb18487 Provide an entry for "custom" options in preference proxies 2009-11-03 01:51:21 +01:00
Christian Dywan
219872aa8f Recognize custom commands with "application" preference proxies
Entering commands isn't possible yet but existing commands are
preserved and shown in the combo box.
2009-11-02 22:02:16 +01:00
Christian Dywan
e29e7f62d2 Fix the size of hildon picker buttons to have the correct height 2009-10-31 05:03:20 +01:00
Christian Dywan
c541a75ae1 Omit property labels if the proxy would have it included already
Picker buttons in Hildon contain the label.
2009-10-28 23:57:27 +01:00
Christian Dywan
6a297dd4b3 Introduce MIDORI_TOUCHSCREEN and katze_widget_has_touchscreen_mode 2009-10-28 21:07:13 +01:00
Christian Dywan
cba3abdce9 Generate Hildon picker button or check button proxies as needed 2009-10-27 23:49:12 +01:00
Christian Dywan
ef67f2539a Don't shadow type variable in katze_property_proxy 2009-10-22 23:27:58 +02:00
Alexander Butenko
90a4acfc6e Check the non-existence of folders before creating them 2009-10-20 18:24:24 +02:00
Christian Dywan
cef6532429 Refactor MidoriPreferences into KatzePreferences base class
The goal is to get rid of detailed table setups in favour of
automatic alignment with few hints as well as abstracting away
the exact layout to allow reimplementing it in a different form.
2009-10-19 23:15:44 +02:00
Christian Dywan
47c5f15684 Implement combos for choosing applications 2009-10-18 17:25:13 +02:00
Christian Dywan
7a5329a1e0 Count font names added to the list, to fix font combo boxes 2009-09-29 00:08:22 +02:00
Christian Dywan
668f19c216 Only list variable-/ fixed-width fonts in either combo box
Optimize the code a little while we are at it.
2009-09-14 18:26:35 +02:00
Christian Dywan
25da412215 Add katze_strip_mnemonics (formerly known as elide_underscores) 2009-07-17 21:29:57 +02:00