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
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
9ca795eec2
Render url icon in url entries
...
Notably in the bookmark dialog and the homepage.
2012-07-11 22:55:41 +02:00
Paweł Forysiuk
89dbbcc1b0
Work-around too many apps in preferences on Win32
2012-04-10 21:29:56 +02: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
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
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
583c5be7ef
Add simple regexp unit test to Addons extension
2011-11-18 00:54:32 +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
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
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
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