Christian Dywan
c8b19b2eeb
Avoid copying of strings and making tiny allocations
2011-12-11 02:57:04 +01:00
Christian Dywan
47445f8c94
Use gdk_display_get_app_launch_context if available
2011-11-28 20:42:08 +01:00
Christian Dywan
4c2fd067ff
Midori.URI.parse_hostname clearer semantics and tests
2011-11-18 01:44:48 +01:00
Christian Dywan
7cf7dea9ee
Drop unused sokoke_combo_box_add_strings
2011-11-16 02:08:30 +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
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
a25c34e280
Support res directly in sokoke_find_data_filename
...
One allocation less each time, less fragmentation.
2011-10-29 01:16:08 +02:00
Christian Dywan
d39b62c73e
Use Midori.URI API in sokoke_prefetch_uri
2011-10-29 00:43:03 +02:00
Christian Dywan
8f540b3d86
sokoke_widget_set_pango_font_style can be static
2011-10-28 22:49:10 +02:00
Christian Dywan
2976f6ebb2
Avoid the rarely used sokoke_container_show_children
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
3b2d95c0e4
sokoke_widget_copy_clipboard must be NULL-safe
2011-10-26 20:07:11 +02:00
Christian Dywan
9159e72b58
Use bookmark-new for Add Bookmark
...
Fixes: https://bugs.launchpad.net/midori/+bug/880179
2011-10-25 02:13:18 +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
756830f6e4
Require libSoup 2.27.90 and drop libidn
2011-10-17 02:47:55 +02:00
Christian Dywan
2f40eee0a5
Only show close in speed dial if it can be saved
...
And un-negate return value of sokoke_is_app_or_private().
2011-10-11 02:48:47 +02:00
Christian Dywan
3071da6711
Use g_format_size with GLib 2.30.0
2011-10-10 21:53:00 +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
Paweł Forysiuk
18a0d1da03
Check for folders other than LIBDIR in sokoke_find_lib_path
2011-09-14 01:47:21 +02:00
Christian Dywan
b8512f2532
Quote config folder when spawning private browsing
...
On Windows the folder typically contains spaces.
2011-08-18 22:10:57 +02:00
Christian Dywan
a3ab258819
Don't show startup preference in private browsing
...
Introduce sokoke_is_app_or_private helper function.
2011-08-04 23:59:16 +02:00
Christian Dywan
e6ecd20be4
Disable spell check option if there are no enchant modules
2011-08-04 23:29:56 +02:00
Paweł Forysiuk
46de9f7767
Remove further support for WebKitGTK+ < 1.1.14
2011-06-09 00:45:34 +02:00
Paweł Forysiuk
1b8bf1cd2b
Check for data folder relative to install on Windows
2011-06-02 00:57:40 +02:00
Alexander Butenko
243f93b70d
Return original URI if unescaping failed
...
The issue could be seen in the form of error messages:
g_regex_replace_eval: assertion `string != NULL' failed
2011-06-02 00:40:44 +02:00
Christian Dywan
414997b236
Implement support for geo URI RFC 5870
2011-05-05 21:49:51 +02:00
Paweł Forysiuk
3eb3481812
Show estimated time remaining in transferbar tooltip
2011-04-20 20:52:07 +02:00
Christian Dywan
10c5ac4597
Use setting for old and new prefetching option
...
So prefetching in private mode is disabled regardless of
whether prefetching is done in Midori or in new WebKit
versions.
Menu items also adhere to that same setting now.
And use the chance to correct version checks.
2011-04-17 22:29:51 +02:00
Christian Dywan
6931025617
Introduce --private/ -p distinct from --app/ -a
...
Private mode gets a particular window title, always defaults
to reading the default config folder but never saves data.
App mode applies a custom window layout with no toolbars
and using the page icon as the window icon.
From now on private and app are independant modes, so apps
can save data if config is given. Both can also be combined.
2011-04-04 23:45:45 +02:00
Paweł Forysiuk
a8ce104d86
Helper function for computing path to thumbnail file
2011-03-22 23:01:59 +01:00
Christian Dywan
fb9629c1aa
Work around copying bug in WebKitGTK+
...
Fixes: https://bugs.launchpad.net/midori/+bug/707888
2011-03-06 18:13:54 +01:00
Christian Dywan
d903505ee6
Support x-scheme-handler with GLib < 2.28
...
So for example x-scheme-handler/magnet=transmission-gtk.desktop
in the file ~/.local/share/applications/mimeapps.list allows
opening of magnet links with Transmission.
2011-03-05 03:40:10 +01:00
Christian Dywan
40a6743e78
Check if filename to open is a filename or not
...
Fixes: https://bugs.launchpad.net/midori/+bug/715118
2011-02-17 19:54:35 +01:00
Christian Dywan
6c0395b65e
Use DESKTOP_SESSION variable if set to look for Xfce
2011-02-08 19:10:40 +01:00
Christian Dywan
e8d2dc3ee7
Show error dialogue for invalid bookmark export filename
2011-02-02 01:31:16 +01:00
Paweł Forysiuk
5acdb5516d
Unescape URLs with spaces, not only with %
2011-01-30 21:37:06 +01:00
Christian Dywan
1f08629a4f
Preserve %20 for pasting URLs into other windows
2011-01-30 18:58:00 +01:00
Christian Dywan
39e915bbbf
Handle drag on default text like focus in
...
Also only connect the signals once.
2011-01-11 21:08:27 +01:00
Christian Dywan
c712758ed3
Spawn commands with about: arguments like URIs
2011-01-05 19:13:18 +01:00
Christian Dywan
f2ca461638
Don't regard file URIs as external
2010-10-31 22:42:15 +01:00
Christian Dywan
ba161aeeae
Don't show 'Add to Speed Dial' with no configuration
...
As it won't be saved, it's not helpful to offer it.
2010-10-24 23:48:58 +02:00
Christian Dywan
1e12cb208b
Ensure action menu items don't show all
2010-10-24 21:06:26 +02:00
Paweł Forysiuk
45ebf4dcdb
Don't regard about: URIs as external
2010-10-21 21:09:01 +02:00
Christian Dywan
9f30695ca3
sokoke_external_uri should return FALSE for non-URIs
...
In particular search key words.
2010-10-21 21:09:01 +02:00
Christian Dywan
fc23eac478
Ask GIO for supported URI schemes
...
sokoke_external_uri supersedes hardcoded support for tel:
and callto: and notably doesn't count http(s).
2010-10-20 20:56:05 +02:00
Christian Dywan
42299f7fe3
Use accessor for widget style
2010-10-19 00:53:01 +02:00
Christian Dywan
d73b471ec4
Implement sokoke_register_privacy_item facility
...
The new function allows registering callbacks which clear data,
with a name and label so they show up in the Clear Private Data
dialogue and the chosen items are saved.
The old enumeration still keeps history, trash and the flag
whether to clear when Midori quits.
2010-10-17 22:48:32 +02:00
Christian Dywan
d3b278231f
Implement internal Open With fallback dialogue
2010-10-14 22:36:32 +02:00