1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
David Rosca
050fd7528c
Autotests: Add OpenSSL include directories 2018-03-24 08:12:45 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS 2018-02-25 13:33:07 +01:00
David Rosca
e20c3909e5
WebTabTest: Add saveNotRestoredTabTest 2018-02-16 12:09:56 +01:00
David Rosca
9e3423ff9e
WebPage: Make the loadFinished workaround for all Qt 5.10 versions
See #2479
2018-02-16 11:05:53 +01:00
David Rosca
99eb9c8089
AdBlockTest: Add ignoreEmptyLinesInSubscriptionTest 2018-02-14 09:14:47 +01:00
David Rosca
630162d377
WebViewTest: Fix qrc urls 2018-02-12 22:44:37 +01:00
David Rosca
1ef1455957
WebTabTest: Add loadNotRestoredTabTest 2018-02-12 22:43:24 +01:00
David Rosca
502ba9284f
TabWidget: Don't emit tabMoved twice in moveTab when (un)pinning tabs 2018-02-12 17:49:27 +01:00
Heiko Becker
a77ea28ac7 Use QTEST_GUILESS_MAIN
Summary: Allowing the tests to pass without a running X server.

Reviewers: #falkon, drosca

Differential Revision: https://phabricator.kde.org/D10389
2018-02-08 17:50:11 +01:00
David Rosca
156865804f
Try removing qWaits from autotests 2018-02-07 11:24:56 +01:00
David Rosca
b933e87c99
Add TabMruModel
Sorts tabs in most recently used order.
2018-02-06 17:39:05 +01:00
David Rosca
408b2ffad6
TabWidget: Add public webTab method
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
David Rosca
e6b220a87a
WebTab: Add option to prepend child tabs instead of appending 2018-02-04 17:20:00 +01:00
David Rosca
4ad6d6cda1
TabTreeModel: Only sync top-level tabs when closing window
Otherwise reordering tabs is too distracting when tabbar is visible.
2018-02-04 17:18:39 +01:00
David Rosca
af95dd14e2
WebTab: Fix updating isCurrentTab in attach 2018-02-04 16:59:23 +01:00
David Rosca
59dbfc1f48
TabTreeModel: Reset model when source resets 2018-01-31 21:06:33 +01:00
David Rosca
4bb75de25c
WebTab: Fix removing from existing parent in addChildTab 2018-01-31 21:05:21 +01:00
David Rosca
4124c67c5f
Autotests: Add qWait(10) at the end of QtWebEngine tests
Otherwise it crashes on exit
2018-01-31 21:04:38 +01:00
David Rosca
e57fb65c95
Add TabTreeModel
This model orders tabs in "Tree Style Tabs" fashion.
2018-01-31 21:03:06 +01:00
David Rosca
a8bda61f3e
TabModel: Remove ParentTabRole and ChildTabsRole 2018-01-31 21:00:20 +01:00
David Rosca
2b994920ad
WebTab: Fix detaching completer and site icon
Fixes crash when detaching tab and closing the originating window.
2018-01-31 20:59:32 +01:00
David Rosca
67973d704d
WebTab: Add addChildTab method
Also fix detaching from parent/child tabs and add autotest.
2018-01-31 20:58:36 +01:00
David Rosca
e44877d4c7
WebTab: Add parentTab and childTabs properties 2018-01-31 20:54:59 +01:00
David Rosca
2377503517
Add TabModel 2018-01-31 20:54:50 +01:00
David Rosca
0d71069122
LocationBar: Don't suggest to search for javascript: scheme 2018-01-31 20:45:17 +01:00
David Rosca
1c4937b64c
LocationBar: Fix transforming text to url when searching is disabled
Closes #2578
2018-01-31 20:43:28 +01:00
David Rosca
e45876c2a3
Autotests: Add WebViewTest 2018-01-29 00:29:19 +01:00
David Rosca
056d5ec3aa
Autotests: Clean test profile directory before each test 2018-01-29 00:24:09 +01:00
David Rosca
deca7f7399
LocationBar: Also whitelist data: scheme for loading urls 2018-01-28 15:50:24 +01:00
David Rosca
eae11b9a9a
LocationBar: Only allow whitelisted schemes to be loaded as url 2018-01-27 17:35:27 +01:00
David Rosca
c163629f8e
Autotests: Add FALKONTEST_MAIN macro 2018-01-27 11:21:10 +01:00
David Rosca
958fc63f01
LocationBar: Only allow spaces in url query
Fixes correctly searching for "site:website.com searchterm"

BUG: 389491
2018-01-27 11:16:33 +01:00
David Rosca
2e7436c741
LocationBar: Handle url/search resolution in loadAction instead of WebView::load 2018-01-27 11:15:45 +01:00
David Rosca
6043d38429
Add LocationBarTest 2018-01-27 11:15:31 +01:00
David Rosca
88a2724ad7
Autotests: Fix CookiesTest 2018-01-27 11:12:44 +01:00
David Rosca
41775c3a20 Replace some QupZilla leftovers with Falkon 2018-01-24 17:15:26 +01:00
David Rosca
98e8a9355d Autotests: Convert to proper tests runnable with make test 2018-01-24 16:38:25 +01:00
David Rosca
d2e2eef5a5 Move autotests to autotests top-level directory
Also only build tests with BUILD_TESTING enabled.
2018-01-24 16:06:58 +01:00