1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00
Commit Graph

4991 Commits

Author SHA1 Message Date
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
0af95e3b1f
MainApplication: Add support for starting in test mode 2018-01-27 10:56:02 +01:00
David Rosca
c2a730e9f4
LocationCompleter: Fix removing search shortcut from search string
Closes #2573
2018-01-27 10:52:41 +01:00
David Rosca
b3d2bd1f5f
DownloadItem: Fix calculating remaining time
It is still not correct as it uses QTime which can only represent
24 hour timeframe.
2018-01-27 10:52:32 +01:00
David Rosca
d9c494b8f7
IconProvider: Replace favicon entry in cache if already exists 2018-01-27 10:52:17 +01:00
David Rosca
486b6b9463
LocationCompleterView: Make PageUp/Down skip over 5 entries
Instead of default behavior (one screen = 12 entries) which is too much.
2018-01-27 10:52:12 +01:00
David Rosca
a0472177c2
LocationCompleterView: Make the search button area into QFrame 2018-01-27 10:52:07 +01:00
l10n daemon script
86c7c98a86 GIT_SILENT made messages (after extraction) 2018-01-27 03:22:26 +01:00
Jimi Huotari
addbb21c77
Fix build against Qt 5.11 2018-01-26 12:59:03 +01:00
David Rosca
8d06eee009
LocationCompleterView: Fix incorrect resize in some cases 2018-01-26 12:58:12 +01:00
David Rosca
5ee0623d32
LocationCompleter: Fix popup opening with suggestions after it was closed 2018-01-26 12:58:08 +01:00
David Rosca
b9294e02bb
LocationBar: Don't show favicon in site icon
Most of the sites are https nowadays, for which favicon is not
displayed, so there is no more a reason to show favicon in site
icon in locationbar.
Favicon is still displayed in tab icon.

Closes #918
2018-01-26 12:58:04 +01:00
David Rosca
948e623f9e
LocationBar: Show search icon as site icon when completion popup is open 2018-01-26 12:57:59 +01:00
David Rosca
4ad5900604
LocationCompleter: Call closePopup+clearCompletion also in indexActivated 2018-01-26 12:57:53 +01:00
David Rosca
3469d5b114
LocationCompleterView: Always resize on first adjustSize after show 2018-01-26 12:57:48 +01:00
David Rosca
3ec4d96f74
LocationCompleter: Properly close popup when showing search engines dialog 2018-01-26 12:57:44 +01:00
David Rosca
52076009e0
LocationComplterRefreshJob: Set HistoryRole for most visited completions
Closes #2570
2018-01-26 12:57:39 +01:00
David Rosca
99ceda4324
LocationCompleterView: Delay resizing popup to reduce flicker 2018-01-26 12:57:34 +01:00
David Rosca
09ee6007e9
LocationCompleter: Handle creating LoadRequest
Instead of just passing string that LocationBar should somehow
parse and decide what to do (which may not correspond to what was
indicated in completion entry), make the LocationCompleter create
it with all needed info and pass it to LocationBar to load.

This fixes issue where search completions may have been loaded
with different search engine when suggestion starts with search
engine shortcut (which would also get cut in the search).

This also removes the possibility to open new window from completer
with activating entry with Shift key.
2018-01-26 12:57:30 +01:00
David Rosca
8d45c910bf
LocationBar: Add LoadAction
It represents action to be taken after submitting text in LocationBar.
Use it from LocationCompleterDelegate instead of duplicating the logic.

This fixes showing incorrect indication when typing bookmark keyword
and when search suggestions begins with search engine shortcut.
2018-01-26 12:57:22 +01:00
David Rosca
4140aae6d2
LocationCompleterView: Add buttons with all search engines 2018-01-26 12:56:50 +01:00
David Rosca
fe8eb7f122
LocationCompleterView: No need to use QPointer for SearchEnginesDialog 2018-01-26 12:55:57 +01:00
David Rosca
b618323a5e
LocationCompleterView: Add button to open search engine settings
Closes #2568
2018-01-26 12:55:52 +01:00
David Rosca
d443a69d8f
LocationCompleterView: Fix Shift+Tab handling 2018-01-26 12:55:46 +01:00
David Rosca
11e2ff168e
LocationCompleterView: Change into QWidget 2018-01-26 12:55:29 +01:00
David Rosca
bb76281174
LocationCompleterDelegate: Don't make link color lighter 2018-01-26 12:54:52 +01:00
David Rosca
b0c2a09f94
LocationCompleterDelegate: Use smaller font for link text
Instead of using bigger font for title, use normal font size
for title and smaller font for link.
2018-01-26 12:54:47 +01:00
David Rosca
93ff0c324c
Update description in appdata 2018-01-26 12:53:16 +01:00
l10n daemon script
d67fe39c2f GIT_SILENT made messages (after extraction) 2018-01-26 03:21:30 +01:00
l10n daemon script
7b0d1abdc9 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-01-25 05:05:01 +01:00
David Rosca
4b5bae697a NavigationBar: Show AdBlock icon in toolbar by default 2018-01-24 20:46:40 +01:00
David Rosca
32e7ec1826 TabManager: Port icon to AbstractButtonInterface
It is now available from both NavigationBar and StatusBar
2018-01-24 20:37:21 +01:00
David Rosca
cc55c0ad02 FlashCookieManager: Port icon to AbstractButtonInterface
It is now available from both NavigationBar and StatusBar
2018-01-24 20:37:15 +01:00
David Rosca
7265c30aa8 Add Downloads, AdBlock and GreaseMonkey buttons to statusbar 2018-01-24 20:37:10 +01:00
David Rosca
24fa384d23 StatusBar: Add support for adding new buttons 2018-01-24 20:37:04 +01:00
David Rosca
444884bee9 Rename StatusBarMessage -> StatusBar 2018-01-24 20:36:34 +01:00
Razi Alavizadeh
77cb017e1d TabManager: Remove redundant condition 2018-01-24 20:34:40 +01:00
David Rosca
19bb93a4c5 MainApplication: Load UserAgentManager settings before NetworkManager
NetworkManager depends on UserAgentManager being loaded.

Fixes user agent settings not being applied on startup.
2018-01-24 20:34:34 +01:00
David Rosca
2a6f8e9fdc Fix FALKON_PLUGIN_PATH 2018-01-24 18:07:57 +01:00
David Rosca
fc768142e5 Revert "Remove modeltest"
This reverts commit 1b29fa4e98.
2018-01-24 17:47:02 +01:00
David Rosca
41775c3a20 Replace some QupZilla leftovers with Falkon 2018-01-24 17:15:26 +01:00
David Rosca
f315b0e3dc Remove old translations 2018-01-24 17:10:36 +01:00
David Rosca
b4a1b4acdb Port benchmarks to cmake 2018-01-24 16:56:46 +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
David Rosca
a509543eb7 Fix autotests
Remove testing KWallet and GnomeKeyring plugins as I really
have no idea how to make it work properly with cmake...
2018-01-24 16:02:30 +01:00
David Rosca
bdd18ced1e SpeedDial no longer uses Faenza icons 2018-01-24 15:41:45 +01:00
David Rosca
1b29fa4e98 Remove modeltest 2018-01-24 15:33:37 +01:00