Commit graph

117 commits

Author SHA1 Message Date
Christian Dywan
b4b795e156 Remove generic browser creation and property set tests 2012-09-18 21:00:56 +02:00
Christian Dywan
b3984ab252 Groundwork to make finding search engines testable 2012-09-17 19:26:56 +02:00
Christian Dywan
09432b2d12 Initial download tests for extension and unique filename 2012-09-17 19:26:55 +02:00
Christian Dywan
ad4e075051 Test gaps in numbering and swapping in speed dial 2012-09-12 22:36:57 +02:00
Christian Dywan
13c884b5cb Introduce SpeedDialError and test invalid save messages 2012-09-12 22:36:57 +02:00
Paweł Forysiuk
5f43dceef0 Drop dialing from keyboard in speed dial for now 2012-09-12 14:12:08 +02:00
Christian Dywan
bae360e3f8 Fix build of unit tests: speed dial, hsts, bookmarks 2012-09-11 00:44:09 +02:00
Paweł Forysiuk
ad99fb1ebb Fix slot and dial name mixups when preparing/ saving 2012-09-09 22:34:32 +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
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
58d1436d4e Check that valid IP address has no leading 0 2012-08-30 00:43:21 +02:00
Christian Dywan
0f1f26480d Validate IP address in proxy server preference
Fixes: https://bugs.launchpad.net/midori/+bug/783044
2012-08-29 01:09:25 +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
Paweł Forysiuk
870ecca738 Make Midori.URI.get_fingerprint more legible 2012-08-16 00:19:48 +02:00
Christian Dywan
35dfebd1c6 Fix inconsistency in test initializations 2012-08-09 01:02:56 +02:00
Paweł Forysiuk
e5da45a40e Don't mixup tokens starting with the same letters 2012-08-09 01:02:56 +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
Christian Dywan
4cd88d5746 Log bookmarks, history and downloads to zeitgeist
Fixes: https://bugs.launchpad.net/midori/+bug/783588
2012-08-06 00:32:01 +02:00
Christian Dywan
264582f557 Fix building of tests with GTK+3 2012-07-01 21:26:06 +02:00
Christian Dywan
aa1ffbf1d0 Rework sokoke_spawn_command internals
Caller decides if the command and the argument are quoted,
otherwise quoting only affects %s. The actual quoting is
split to allow use in test cases.

The Hildon version was dropped.
The GAppInfo version was dropped.
A test case with a cuple examples was added.
2012-07-01 21:26:06 +02:00
Vincent Cappe
986a7acad6 Add semi-useful unit test for bookmarks
well, it's more of a skeleton, really
2012-05-12 04:03:14 +02:00
Vincent Cappe
45ac40d614 Move bookmarks code out of midori/main.c 2012-05-12 04:03:14 +02:00
Vincent Cappe
3428fbb586 Update extension test to extension_init changes 2012-04-12 02:35:14 +02:00
Paweł Forysiuk
a01c0fd224 Accomodate docs for build dir renaming 2012-04-05 23:47:48 +02:00
Christian Dywan
09c041f740 Optionally use Granite and show in about:version
See bzr branch lp:granite

See: https://bugs.launchpad.net/midori/+bug/898497
2012-03-14 21:02:16 +01:00
Christian Dywan
7361a80e24 Tweak is_ip_address and add IPv6 test cases
Stop wrongly mistaking foo::bar for IPv6.
2012-02-29 23:17:02 +01:00
Christian Dywan
7e61fce9ca katze_array_find_token may yield token without keywords
Also adapt the magic uri test.
2012-02-29 22:58:16 +01:00
Christian Dywan
4c142e7688 Implement basic site data policy and unit tests
See: https://bugs.launchpad.net/midori/+bug/836729
2012-02-26 00:03:14 +01:00
Christian Dywan
d3a60802ac Consider GTK_DISABLE_DEPRECATED in gtk3-compat.h 2012-02-26 00:03:14 +01:00
Christian Dywan
4c2fd067ff Midori.URI.parse_hostname clearer semantics and tests 2011-11-18 01:44:48 +01:00
Christian Dywan
532fa299d4 An extension_init returning NULL is no test error 2011-11-18 00:55:19 +01:00
Christian Dywan
583c5be7ef Add simple regexp unit test to Addons extension 2011-11-18 00:54:32 +01:00
Christian Dywan
5eda5a3faa Fix wrong handling of URI containing space 2011-11-15 21:48:59 +01:00
Christian Dywan
eb205d53d4 Fix test issues due to unset settings, version, session 2011-11-08 22:42:03 +01:00
Christian Dywan
4cb498940d Remove unneeded action tooltips and add unit test
The tooltips used to be shown in the statusbar when hovering
the menubar.
2011-11-08 22:42:02 +01:00
Christian Dywan
0c611f8d6a Move link fingers to Midori.URI and add tests 2011-11-08 00:28:07 +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
6bceb5a10a Merge thread setup, stock items, argv, i18n into MidoriApp 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
756830f6e4 Require libSoup 2.27.90 and drop libidn 2011-10-17 02:47:55 +02:00
Paweł Forysiuk
cf4499f54b Fix sokoke_prefetch_uri arguments in magic URI test 2011-07-21 18:04:21 +02:00
Christian Dywan
9a806a8ca2 Test activation and deactivation of extensions 2011-01-16 14:05:23 +01:00
Christian Dywan
03b146386e Don't test PrivateBrowsing and AddDesktopShortcut 2011-01-16 14:05:23 +01:00
Christian Dywan
f5927ec5d4 Add a dummy cookie jar for extension unit test
In a real environment there is always one and extensions
rely on finding a cookie jar.
2011-01-16 14:05:23 +01:00
Christian Dywan
919b0ab0fd Expect magic_uri to encode spaces as %20 2011-01-16 14:05:23 +01:00
Christian Dywan
cb52ab4fb4 Remove outdated and unmaintained unit tests 2011-01-16 14:05:23 +01:00
Christian Dywan
7a7f4c6a44 Provide midori.vapi for App, Browser, Extension and WebSettings
With this API description extensions can be written in Vala. Mind
it is not complete yet, missing interfaces can be added later.
2010-04-27 23:49:45 +02:00
Christian Dywan
ccb60bb8d4 Only pick up .vala files if Vala is available 2010-04-25 23:39:00 +02:00
Christian Dywan
7e5dd2db32 Minimal support for tests and extensions in Vala 2010-04-25 00:11:57 +02:00
André Stösel
555f7a57e4 Implement sokoke_resolve_hostname
sokoke_prefetch_uri is extended take a callback and user data.

sokoke_resolve_hostname is implemented for resolving hostnames
based on a maximum timeout.

sokoke_magic_uri resolves localhost and uris with a / to verify
if there is a local domain, otherwise falls back to search.

Thanks to Andy Kittner <andkit@gmx.de> for input on proceeding
the event loop while resolving asynchronously.
2010-03-17 02:20:58 +01:00