Commit Graph

467 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 3ff4483736 Uppercase P as one-letter switch for --portable 2012-09-05 19:16:46 +02:00
Christian Dywan 3bb03bfc56 Provide --plain mode akin to GtkLauncher 2012-09-05 19:16:46 +02:00
Christian Dywan fec04dd1b0 Allow lazy URLs for -s/ --snapshot switch 2012-09-05 00:06:06 +02:00
Christian Dywan 7e1f2655bc Use remove() to remove Soup message header 2012-09-01 18:25:44 +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 373ddd5d0b Remove special case from search_engines_new_from_file 2012-09-01 18:13:14 +02:00
Christian Dywan bc1ff81410 Pass around SpeedDial and move messages in there 2012-09-01 02:08:48 +02:00
Christian Dywan db0ae6ab60 Introduce Midori.SpeedDial and unit test
Fixes: https://bugs.launchpad.net/midori/+bug/1038634
2012-08-31 23:47:03 +02:00
Christian Dywan aa5d387cc7 Move translations out of settings class
Remove a fair number of unnecessary strings.
Move trivial settings to Midori.Settings.
2012-08-31 22:02:15 +02:00
Christian Dywan fd49037ae6 Move simple settings into Midori.Settings class 2012-08-31 01:00:37 +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 de771db75d Update copyright and URL in --version and about
Fixes: https://bugs.launchpad.net/midori/+bug/977423
2012-08-29 01:09:25 +02:00
Christian Dywan 915955c0da Strip HTTP Host to outsmart some filter proxies 2012-08-29 01:09:25 +02:00
Paweł Forysiuk 8bf93fcad0 Move portable setup code path down 2012-08-27 23:36:44 +02:00
Christian Dywan cc4fbca8e3 Disable GtkRecentManager in private and portable mode 2012-08-27 22:27:48 +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 f6595ea15e Handle and cache Accept-Language in WebSettings 2012-08-23 21:25:44 +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
Enrico Tröger 7f91e0985f Use g_hash_table_lookup() instead of newer g_hash_table_contains()
This retains compability with GLib 2.30.
2012-07-28 10:46:04 +02:00
Christian Dywan 5998b6b0ea Consolidate debugging in midori_debug()/ MIDORI_DEBUG 2012-07-19 21:14:09 +02:00
Christian Dywan 760f4895a3 Replace _web_view_open with _load_uri 2012-07-18 01:21:36 +02:00
Christian Dywan 301bb89dd3 Render certificate, optionally with GCR 2012-07-16 21:23:07 +02:00
Christian Dywan 9ac0175899 Move tab removal out of the signal
Every caller should use the API to remove a tab to
produce consistent behavior.
The destroy callback takes care of UI updates.
2012-07-15 00:13:44 +02:00
Christian Dywan c13da3b1b3 Free frozen extension list as GDestroyNotify 2012-07-12 23:20:09 +02:00
Christian Dywan 00ca0c4687 Always copy the filename of extension modules
There's a suspected memory corruption otherwise.
2012-07-12 22:53:54 +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
Paweł Forysiuk 33cede91a7 Use ca-bundle.crt from res on Windows
System-wide certificates don't work.
2012-07-10 23:19:34 +02:00
Christian Dywan d089634f6c Null-check keys in midori_load_extensions 2012-07-09 20:46:56 +02:00
Christian Dywan 4073c14546 Optimize extension loading at startup
Only load modules in the list of active extensions and
get the remaining extensions when showing the dialog.
2012-07-08 20:12:39 +02:00
Oliver Hanraths f840f0508c Bookmarks: Database structure improved
The new format uses bookmarks_v2.db.

We require sqlite 3.6.19 now due to foreign keys.

Fixes: https://bugs.launchpad.net/midori/+bug/836707
2012-06-20 01:19:30 +02:00
Christian Dywan aa51909f69 Move Midori 0.2.6 era bookmarks to import dialog 2012-06-16 00:33:45 +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 c6f81c62e0 Don't load speed dial in --app or --private
We can't guarantee URIs don't contain sensitive values.
2012-06-01 00:57:49 +02:00
Christian Dywan fb6b01759d Calculate action name length for --help-execute
Fixes: https://bugs.launchpad.net/midori/+bug/998597
2012-05-13 04:46:29 +02:00
Christian Dywan 94c6fca20f Use WebKitFaviconDatabase as of WebKit 1.8.0
Fixes: https://bugs.launchpad.net/midori/+bug/902456
2012-05-13 02:22:38 +02:00
Vincent Cappe 45ac40d614 Move bookmarks code out of midori/main.c 2012-05-12 04:03:14 +02:00
Christian Dywan f62964264e Don't ever pass NULL to soup_uri_set_path (not _new)
Follow-up on https://bugs.launchpad.net/midori/+bug/930630
2012-04-06 15:48:53 +02:00
Christian Dywan c4d1a96ca4 Don't ever pass NULL to soup_uri_new
Fixes: https://bugs.launchpad.net/midori/+bug/930630
2012-04-05 23:26:19 +02:00
André Stösel d0ef9c6575 New property "key" for Midori.Extension object
This property is needed if the module contains more than one extension.

Add properties "website" and "key" to the vapi.

If the extension has a key, it should be used as part of the config filename.
2012-04-05 22:43:58 +02:00
Christian Dywan 1f56e0af6f Don't enforce tabbar in app mode 2012-04-04 21:49:29 +02:00
Alexander Butenko 3e0dc32017 Use sqlite WAL mode for history if available 2012-03-31 03:28:06 +02:00
André Stösel a6f9bea939 Typo: Instead of the array each item should be checked 2012-03-31 02:48:01 +02:00
André Stösel ebf2c2d1d9 Allow more than one extenstion for each module 2012-03-27 00:54:48 +02:00
Christian Dywan 5cb1c04481 Allow relative -c/ --config path
Fixes: https://bugs.launchpad.net/midori/+bug/962713
2012-03-25 18:10:26 +02:00
Paweł Forysiuk 76be3b9aea Check stricly for relative path in midori_prepare_uri
Fixes: https://bugs.launchpad.net/midori/+bug/963899
2012-03-25 18:10:26 +02:00
Christian Dywan 5e2b7fdca7 Always use var in javascript for loops
Otherwise it may re-use global functions.
2012-03-11 22:29:41 +01:00
Christian Dywan 8b78ae5491 Split clearing of page icons from cache again
We need to re-visit this with an idea to preserve icons
from search engines or otherwise being in use.
2012-03-08 22:20:05 +01:00
Christian Dywan 537d002a6f Unify file handling in midori_prepare_uri and magic_uri 2012-03-08 01:10:54 +01:00
Christian Dywan 4f180216a1 Fix declaration and deprecation warnings 2012-03-06 01:12:20 +01:00