1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00
Commit Graph

403 Commits

Author SHA1 Message Date
de200c77c4
Port from deprecated QFontMetrics::width() > QFontMetrics::horizontalAdvance()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 15:38:48 +01:00
6c56304aed
Port from deprecated QLineEdit::getTextMargins() > QLineEdit::textMargins()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 12:04:22 +01:00
991e0b952e
navigation: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:49:01 +01:00
Albert Astals Cid
29f96b7504 Fix lupdate warnings
Summary:
Class 'XXX' lacks Q_OBJECT macro

If you use tr() in a class it needs Q_OBJECT

Test Plan: It builds

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D25911
2019-12-14 00:32:16 +01:00
David Rosca
b87ccf714c
Fix all override warnings 2019-03-01 17:08:50 +01:00
David Rosca
e4252d56ef
Add some missing overrides 2019-03-01 16:42:50 +01:00
Laurent Montel
4de3e4c703 Fix some clazy warnings 2019-01-08 13:28:02 +01:00
David Rosca
1cc053c7f1
Merge branch 'Falkon/3.0' 2018-07-08 21:05:36 +02:00
David Rosca
53e0a43762
NavigationBar: Correctly reconnect to page actions
BUG: 395828
FIXED-IN: 3.0.2
2018-07-08 20:34:58 +02:00
David Rosca
e01024942f
Merge branch 'Falkon/3.0' 2018-05-14 13:32:58 +02:00
David Rosca
e8fa25e058
WebSearchBar: Set as focus proxy of engines button
BUG: 394091
FIXED-IN: 3.0.2
2018-05-14 13:29:02 +02:00
David Rosca
3ad6b80d49
Merge branch 'Falkon/3.0' 2018-05-08 11:39:13 +02:00
David Rosca
4454ac714c
NavigationBar: Focus webview when navigating back/forward
BUG: 393834
FIXED-IN: 3.0.1
2018-05-08 11:35:39 +02:00
David Rosca
19684a73cf
LocationBar: Update icon after requesting url load
BUG: 392747
FIXED-IN: 3.0.1
2018-04-06 18:50:26 +02:00
David Rosca
6dc8624a93
LocationBar: Update icon after requesting url load
BUG: 392747
FIXED-IN: 3.0.1
2018-04-06 18:47:18 +02:00
David Rosca
6f9e6c5405
Merge branch 'Falkon/3.0' 2018-03-30 09:39:30 +02:00
David Rosca
b03e79f9a5
LocationBar: Only complete domain when not empty
This actually fixes issue where pasting text in the middle
of text would remove everything after pasted text.
2018-03-30 09:23:38 +02:00
David Rosca
d329db7a08
Merge branch 'Falkon/3.0' 2018-03-28 18:56:26 +02:00
David Rosca
2f6cd7a559
LocationBar: Fix resolving correct LoadAction when url contains %20
BUG: 392445
FIXED-IN: 3.0.1
2018-03-28 18:54:26 +02:00
Anmol Gautam
fe4f523fe4
Add icons in clear history option in back and forward buttons
Add icon which is also shown in tools > clear_recent_history

Differential Revision: https://phabricator.kde.org/D11756
2018-03-27 21:35:04 +02:00
David Rosca
9c0f047d2c
Merge branch 'Falkon/3.0' 2018-03-20 13:57:35 +01:00
David Rosca
fbb48f28fd
LocationBar: Don't reset site icon when starting load
Fixes losing "secured" icon when navigating to subpages of https sites.
2018-03-20 13:56:30 +01:00
David Rosca
f80b0bcbb5
Merge branch 'Falkon/3.0' 2018-03-17 13:58:46 +01:00
David Rosca
dc131ddfee
NavigationBar: Fix syncing back/forward buttons state with web history
BUG: 391331
FIXED-IN: 3.0.1
2018-03-17 13:55:35 +01:00
David Rosca
36c31e3373
Merge branch 'Falkon/3.0' 2018-03-16 20:47:33 +01:00
David Rosca
49c028740e
LocationCompleter: Remove all originalText handling
Instead move the original text (original text from locationbar)
directly into model item.
2018-03-16 20:45:31 +01:00
David Rosca
37b34b4989
Merge branch 'Falkon/3.0' 2018-03-16 19:10:52 +01:00
David Rosca
6d26d67db4
LocationCompleter: Add search/visit item immediately
Instead of waiting until first refresh job finishes, add search/visit
item immediately on complete request and also update m_originalText.

This fixes issue where accepting the typed completion before the refresh
job finished resulting in searching for old typed text (from last
finished refresh job).
2018-03-16 19:08:55 +01:00
David Rosca
6241e8d37f
LocationBar: Use WebPage::supportedSchemes to find which schemes to load 2018-03-16 15:31:37 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS 2018-02-25 13:33:07 +01:00
David Rosca
86d3ebebc7
Add new Falkon icon 2018-02-23 12:58:04 +01:00
David Rosca
c83f7e3c01
Remove any remaining Oxygen style workarounds 2018-02-16 12:04:46 +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
b24041cb8e
LocationCompleterDelegate: Don't use selected icon mode for favicons
Same reason as previous commit
2018-02-04 17:21:31 +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
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
13e81d0b21
LocationBar: Don't allow to load url when tab is not restored
This can currently happen only when unloading tab
2018-01-28 22:40:30 +01:00
David Rosca
deca7f7399
LocationBar: Also whitelist data: scheme for loading urls 2018-01-28 15:50:24 +01:00
David Rosca
2a22f61dec
AutoFill: Make it possible to request only usernames from backend 2018-01-28 12:53:59 +01:00
David Rosca
c2d7e1eb48
SiteIcon: Set Qt::NoFocus focus policy 2018-01-28 12:53:03 +01:00
David Rosca
00e2af4164
WebSearchBar: Fix typo "comobobox" -> "combobox" 2018-01-28 12:52:37 +01:00
David Rosca
5bcffae242
LocationCompleter: Show bookmark as first suggestion when found with keyword 2018-01-27 17:36:13 +01:00
David Rosca
538299116f
LocationCompleterDelegate: Only show Visit action on hovered/active items 2018-01-27 17:36:04 +01:00
David Rosca
0cf48359f9
LocationCompleterDelegate: Draw search engine icon for search shortcuts 2018-01-27 17:36:00 +01:00
David Rosca
8208d7ceda
LocationBar: Fix setting search engine for Search action 2018-01-27 17:35:55 +01:00
David Rosca
51b4a39399
LocationCompleter: Allow to force loading typed text with Shift+Enter
Allow to ignore the suggested search action and instead just
try to load the typed text as url.
2018-01-27 17:35:43 +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
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