Commit Graph

108 Commits

Author SHA1 Message Date
Christian Dywan 4b533d2f51 Give readable names to numeric debug tokens 2012-09-12 14:12:08 +02:00
Christian Dywan c49fb82e87 Support HSTS as a SoupFeature
Parse the Strict-Transport-Security header and
enforce https on any listed domains (and subdomains).
2012-09-01 18:13:14 +02:00
Christian Dywan 64c9517459 Fix token parsing in midori_debug 2012-09-01 18:13:14 +02:00
Christian Dywan 287fc53da9 No need for setlocale, GTK+ does this automatically 2012-08-31 22:02:15 +02:00
Christian Dywan 1ce2b96680 Move Win32 stdout work-around to the top
Otherwise Midori.Paths debugging won't be visible.
2012-08-30 00:43:21 +02:00
Christian Dywan 0668aba7cc Move config/ data/ res_filename/ lib_path to Midori.Paths 2012-08-30 00:43:20 +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 f41498e16c Exact debug token check and verify tokens are listed 2012-08-27 21:52:23 +02:00
Paweł Forysiuk 78a317d42f Silence some "defined but not used" warnigs when crosscompiling 2012-08-16 00:19:48 +02:00
Christian Dywan 9fb173ba69 Merge gtk_init into midori_app_setup
gtk_init must come before stock items but we
need to copy the arguments before.

Fixes: https://bugs.launchpad.net/midori/+bug/1033043
2012-08-06 00:32:01 +02:00
Paweł Forysiuk bf026bd905 Check if path is absolute before building exec_path 2012-08-03 21:07:28 +02:00
Christian Dywan 1ea3c81643 Warn if executing a non-existing action remotely 2012-07-21 00:35:05 +02:00
Christian Dywan 5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Christian Dywan 81543161df Move GTK+3 built-in CSS to gtk3.css 2012-07-15 00:13:43 +02:00
Niels Avonds 6f47ae75fc Use bookmark/ folder-new in bookmark panel
Fixes: https://bugs.launchpad.net/midori/+bug/940536
2012-07-11 18:41:18 +02:00
Christian Dywan c236e4da9e Drop compatibility layer for legacy icon names
Fixes: https://bugs.launchpad.net/midori/+bug/988231
2012-07-11 18:04:59 +02:00
Christian Dywan 708d74038f One parent less to get resources in the build folder 2012-07-02 20:50:01 +02:00
Paweł Forysiuk fa364f5e71 MidoriApp: midori_app_get_lib_path should fallback to LIBDIR 2012-06-11 23:08:48 +02:00
Paweł Forysiuk b9b6f512ce MidoriApp: Add missing include for g_access 2012-06-11 23:08:48 +02:00
Christian Dywan 4a1e547cdb Resolve symlink before looking for exec path 2012-06-11 23:08:48 +02:00
Christian Dywan 25d8b8ddfc Find extensions in runtime lib path
Setting MIDORI_EXTENSION_PATH is no longer needed.
2012-06-01 00:57:49 +02:00
Christian Dywan 4a4887b511 Find res in executable or build folder
We can drop the versioned filename.
2012-06-01 00:57:49 +02:00
Christian Dywan bc967c5563 On X11 display name :0 is equivalent to :0.0
Fixes: https://bugs.launchpad.net/midori/+bug/874719
2012-05-12 03:21:01 +02:00
Christian Dywan 5aa526d106 Show app instance name in about:version 2012-03-18 14:14:09 +01:00
Christian Dywan 4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00
Christian Dywan 3464afd167 Get rid of the unused accel group in the app 2012-01-24 23:57:40 +01:00
Christian Dywan 556546320b Don't encode config hash in app name for socket 2012-01-10 01:42:37 +01:00
Christian Dywan b874009e00 Escape and unescape for unique and never otherwise
Also don't bother to apply magic when receiving the command,
it was already applied before.
2011-12-11 03:27:02 +01:00
Paweł Forysiuk 75c5f57f91 Attach Win32 console to stdout if not redirected 2011-11-28 20:42:08 +01:00
Christian Dywan acc556e384 Don't initialize app name property
Otherwise lazy name generation is not triggered.
2011-11-16 02:08:29 +01:00
Christian Dywan 77796803c5 Work around G_CONST_RETURN use in unique.h 2011-11-15 18:34:19 +01:00
Christian Dywan 56818ca944 Replace slash (/) appearing in the display name 2011-11-09 23:03:35 +01:00
Christian Dywan 58066e7dcc Move naming logic into initialization of MidoriApp 2011-11-08 22:09:49 +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 6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 2011-10-28 22:49:10 +02:00
Christian Dywan a49c6e8ad7 Switch to already open tab of external URI if possible 2011-09-22 00:26:49 +02:00
Christian Dywan 00f848b27c Use the same preference for new and external pages
Fixes: https://bugs.launchpad.net/midori/+bug/704903
2011-04-26 01:26:10 +02:00
Paweł Forysiuk 9c48997a26 Use speeddial property to store GKeyFile with speeddial entries 2011-03-22 23:01:59 +01:00
Samuli Suominen 26873b0f97 Conditionally support libnotify 0.7 API
Fixes: https://bugs.launchpad.net/midori/+bug/710352
2011-01-31 01:48:08 +01:00
Christian Dywan fb3fb594a9 Eliminate 'send' flag from midori_app_send_notification
The declaration is misplaced and the logic actually makes
no sense.
2010-10-14 21:14:28 +02:00
Christian Dywan ca2582c5e3 Don't declare command in callback as UniqueCommand
Since we're using a custom command it is in fact not part of
the enumeration and thus some compilers complain.
2010-10-14 21:11:01 +02:00
Christian Dywan d34da1c500 Remove pointless FIXME and TODO comments from Midori classes 2010-09-12 20:23:39 +02:00
Christian Dywan 1b80f16bf4 Remove browser-count, midori_panel_set_compact, console toolbar 2010-09-07 22:24:11 +02:00
Christian Dywan 64b6f6ce6d Implement midori_app_get_browser in MidoriApp 2010-04-27 22:34:26 +02:00
Christian Dywan 102810842f Expose browsers in MidoriApp as GList 2010-04-25 23:39:00 +02:00
Christian Dywan 3682b7755e Clarify MidoriApp signal documentation 2010-03-19 20:16:48 +01:00
André Stösel 283005e217 Implement and use sokoke_recursive_fork_protection
As Midori may call external tools to open URIs it cannot handle,
and at the same time Midori is commonly the default browser,
this can end in recursion when the external tool also calls Midori.

See the description of sokoke_recursive_fork_protection().
2010-03-12 23:31:14 +01:00
Alexander Butenko f3f53db4d7 Fallback to the first browser if one is closed
We need to keep one browser as the default for commands
and opening files externally.
2010-02-22 19:03:45 +01:00
Christian Dywan 713091134f Handle search engines in MidoriBrowser and simplify sokoke_magic_uri 2010-02-10 19:52:12 +01:00