1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-15 03:22:11 +01:00
Commit Graph

3060 Commits

Author SHA1 Message Date
Björn Feber
3b51982c5d Fix unreadable Falkon logo text when using a dark theme
Summary:
BUG: 400262
https://bugs.kde.org/show_bug.cgi?id=400262

This puts a light rounded rectangle behind the logo, so the logo text is readable when using a dark theme.
{F6451049}

Test Plan: Open the about window (Application Menu -> About Falkon).

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, falkon, #falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D17307
2018-12-11 21:02:12 +01:00
Björn Feber
f43250f880 Fix hardcoded private browsing icon
Summary:
BUG: 397078

Fixes the hardcoded private browsing icon in the Falkon application menu.

Test Plan: Open the Falkon application menu on the top right.

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: ngraham, drosca, falkon, #falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D17288
2018-12-11 20:55:59 +01:00
Remya Krishnan
cda838a35e
Adblock uses outdated Spanish filters (Filtros Naucópicos)
Summary:
Replaced the link to a filter set with Easylist Spanish, that is changed
the outdated Spanish filters into the updated one.

BUG 392836

Reviewers: drosca

Reviewed By: drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D16656
2018-11-04 16:15:49 +01:00
Patrick Flynn
c85f4f8894
Replace Qt foreach with C++ foreach
Summary: This replaces three Qt foreach loops I found in the tabwidget with C++ foreach loops. There were already newer foreach loops near the bottom, so this makes things consistent in the entire file.

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D16238
2018-10-24 17:17:11 +02:00
Yuri Chornoivan
fc5ba5f5f2 Fix minor typos 2018-10-21 18:14:27 +03:00
David Rosca
a039da158a
Update to latest upstream QtSingleApplication 2018-10-15 20:39:47 +02:00
Patrick Flynn
6d445edb44
Context menu for statusbar
Summary:
This adds a simple context menu to the statusbar;
the only option it has is "Hide", which obviously hides
the statusbar the same way as if you were to go the view menu.

Reviewers: drosca

Reviewed By: drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D16158
2018-10-15 20:23:44 +02:00
Christophe CURIS
907e2e4938
Fix crash during download when the main window have been closed
Summary:
Falkon has a feature to automatically close the tab that was specifically
opened for the file to download, because this kind of tab has no useful
purpose to the user.

In the case where the main window would have been closed, Falkon
would crash de-referencing the now NULL pointer to the main window.

This patch adds a simple check to do nothing in this case, as there is no
tab to close anyway.

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, falkon, #falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D14711
2018-10-15 18:19:43 +02:00
l10n daemon script
b44134fd07 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-10-10 06:19:06 +02:00
Nicolas Fella
3365b52d1c Add icon to Fullscreen action
Summary: {F6301440}

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D15925
2018-10-04 18:52:09 +02:00
Nicolas Fella
1f2b2bf819 Add icon to Web Search action
Summary: {F6301476}

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D15926
2018-10-04 18:51:26 +02:00
Nicolas Fella
75f3d58718 Add icon to DownloadManager action
Summary: {F6301242}

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D15921
2018-10-03 16:33:27 +02:00
Anmol Gautam
011df43851 set resizeMode for QQuickWidget in sidebar
Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D15886
2018-10-02 03:02:36 +05:30
Anmol Gautam
7c570c93db fixed build for qt versions < 5.11
Summary: Build is broken because QWebEngineRequestJob::initiator is added in 5.11. This patch fixes the build with Qt < 5.11.

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D15832
2018-09-29 20:44:46 +05:30
Anmol Gautam
5daddc4c6c Add QML Extensions API
Summary: Add QML Extensions API

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D14774
2018-09-29 00:47:47 +05:30
l10n daemon script
099901f0a6 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-08-08 05:44:02 +02:00
l10n daemon script
d1400db7d6 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-08-05 05:29:00 +02:00
David Rosca
d5fc3ebc88
Merge branch 'Falkon/3.0' 2018-07-22 15:19:36 +02:00
David Rosca
a7d2f87579
FalkonSchemeHandler: Make sure to load data on main thread
QIODevice::read is called on WebEngine IO thread.
2018-07-22 15:17:04 +02:00
David Rosca
1cc053c7f1
Merge branch 'Falkon/3.0' 2018-07-08 21:05:36 +02:00
David Rosca
95e2232d39
DownloadManager: Don't try to percent decode filenames
QtWebEngine no longer percent encode it, so actually trying
to decode it produces invalid results.

BUG: 395424
FIXED-IN: 3.0.2
2018-07-08 20:43:44 +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
Laurent Montel
db10e175f0 Add more QSL + nullptr 2018-07-06 08:20:47 +02:00
Laurent Montel
07b4dd4f6e Add sime QLS + nullptr 2018-07-05 13:58:00 +02:00
l10n daemon script
0a744919e5 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-07-03 07:10:33 +02:00
l10n daemon script
06020d9615 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-07-03 05:28:07 +02:00
l10n daemon script
3bc9e66596 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-06-26 07:19:13 +02:00
l10n daemon script
034365355a 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-06-26 05:38:12 +02:00
l10n daemon script
90d5c5b3d6 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-06-17 07:21:48 +02:00
l10n daemon script
0e96dd33c2 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-06-17 05:29:07 +02:00
David Rosca
7b2ff16004
Merge branch 'Falkon/3.0' 2018-06-12 09:14:26 +02:00
David Rosca
9f0f688ee8
Use QTWEBENGINE_VERSION instead of QT_VERSION
Fixes build against separate QtWebEngine releases.
2018-06-12 09:10:02 +02:00
l10n daemon script
cd15b7008c 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-06-06 07:29:50 +02:00
l10n daemon script
0c30443e84 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-06-06 05:35:48 +02:00
David Rosca
0f1c46d0e7
Merge branch 'Falkon/3.0' 2018-05-26 20:13:17 +02:00
David Rosca
7c07af64fe
AdBlockManager: Temporarily remove url interceptor when updating matcher 2018-05-26 20:11:02 +02:00
David Rosca
42f70c5252
Add missing config.h include for HAVE_QTWEBENGINE_5_10 define 2018-05-26 20:09:39 +02:00
Anmol Gautam
ae16c64290 Added sorting in cookie filter list
Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D13109
2018-05-26 00:15:00 +05:30
Jyri Tuomisto
326be38a45
Allow whitelisted cookies to be kept
Keep whitelisted cookies from being deleted when deleteCookiesOnClose is true

Differential Revision: https://phabricator.kde.org/D13097
2018-05-25 09:31:51 +02:00
l10n daemon script
277003fa1d 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-05-16 07:34:51 +02:00
l10n daemon script
aca4f6c0a9 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-05-16 05:26:16 +02:00
David Rosca
148d2d94c1
Use QTWEBENGINE_VERSION instead of QT_VERSION
Allows to build against separate QtWebEngine releases.
2018-05-14 13:53:05 +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
Kevin Kofler
d06a0d60e0 Fix the fix for #391300 to require only QtWebEngine 5.10, not Qt 5.10
QtWebEngine can be newer than the rest of Qt (e.g., on Fedora 27).

This fixes the version check in WebView::savePageAs to use a macro
defined in config.h.cmake based on the version of QtWebEngineWidgets
rather than relying on QT_VERSION, which is the version of QtCore.

Reviewed By: drosca
Differential Revision: https://phabricator.kde.org/D12833
CCBUG: 391300
2018-05-12 13:29:39 +02:00
David Rosca
4bf77cd4d1
Version 3.0.1 2018-05-08 16:17:08 +02:00
David Rosca
5c557c8484
Preferences: Add checkboxes to spellcheck language list 2018-05-08 11:56:06 +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
6e3da02d7d
ClosedTabsManager: Save and restore parent tab
BUG: 393976
FIXED-IN: 3.0.1
2018-05-08 11:26:25 +02:00
David Rosca
7fce81feaa
Merge branch 'Falkon/3.0' 2018-05-03 13:42:10 +02:00
David Rosca
9375b474ba
BrowserWindow: Track webview that initiated html fullscreen
Fixes issue where it wouldn't be possible to leave fullscreen
with F11 shortcut after closing webview that was in html fullscreen.

BUG: 393797
FIXED-IN: 3.0.1
2018-05-03 13:41:55 +02:00
Anmol Gautam
b6edd26ca0 Use security state icon in popup location bar
Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D12666
2018-05-02 21:41:34 +05:30
l10n daemon script
7689b73daa 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-05-02 07:39:45 +02:00
David Rosca
94eb3161af
Merge branch 'Falkon/3.0' 2018-05-01 13:10:31 +02:00
David Rosca
3787a606d3
Rewrite internal sites to use user scripts instead of embedded code
It is no longer needed to setup web channel on unsafe js world
for internal pages, and thus it fixes issue where registering web
channel could fail in some cases.

BUG: 391875
FIXED-IN: 3.0.1
2018-05-01 13:02:46 +02:00
l10n daemon script
4809dfacaa 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-05-01 05:43:21 +02:00
Anmol Gautam
61beda4fa2 prevent ssl error dialog by website domain
Summary: BUG: 393162

Reviewers: drosca, #falkon

Reviewed By: drosca, #falkon

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D12522
2018-04-29 19:05:36 +05:30
l10n daemon script
dd60458d6a 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-04-24 05:25:10 +02:00
l10n daemon script
5043a7675d 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-04-23 07:16:55 +02:00
David Rosca
a5ba6df966
Merge branch 'Falkon/3.0' 2018-04-22 18:55:29 +02:00
David Rosca
ad2466f2fa
WebView: Fix finding correct rwhvqt
Focus proxy is actually set only after adding it to the layout, so without
the timer it would pick old rwhvqt.

BUG: 393398
2018-04-22 18:53:49 +02:00
David Rosca
1290354f14
Use QOverload::of instead of qOverload
Fixes build with MSVC

BUG: 393395
2018-04-22 16:51:05 +02:00
David Rosca
f61a957ca0
Merge branch 'Falkon/3.0' 2018-04-22 15:52:34 +02:00
David Rosca
9f0817ca71
WebView: Fix finding rwhvqt with QtWebEngine 5.11 2018-04-22 15:51:58 +02:00
David Rosca
1d74b41420
WebView: Don't prevent tabbing out of webview with QtWebEngine 5.11
QTBUG-67043 which caused losing focus is now fixed.
2018-04-22 15:33:43 +02:00
David Rosca
53919ce9de
CookieJar: Clear filter function in destructor
Fixes possible crash when cookieFilter is called after CookieJar
was destroyed.
2018-04-22 15:30:16 +02:00
l10n daemon script
75d5f5d552 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-04-21 07:16:56 +02:00
l10n daemon script
3f48bdf5db 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-04-21 05:30:07 +02:00
David Rosca
8034ace416
Merge branch 'Falkon/3.0' 2018-04-18 10:11:05 +02:00
David Rosca
82a9c398a6
AutoSaver: Save when app is about to quit
Fixes changes not being saved in classes where saving is done in destructor,
like SpeedDial.
2018-04-18 10:09:07 +02:00
David Rosca
30f5cd2d7e
SpeedDial: Allow to save settings when there are no pages 2018-04-18 10:08:58 +02:00
l10n daemon script
d1ab287dc0 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-04-15 07:11:07 +02:00
Anmol Gautam
62334cf8ab
added missing icons in menus
Differential Revision: https://phabricator.kde.org/D12104
2018-04-11 18:34:51 +02:00
David Rosca
751ef3988d
Merge branch 'Falkon/3.0' 2018-04-11 18:34:00 +02:00
David Rosca
17d45d718c
WebPage: Use load finished workaround unconditionally
It seems to be broken, again, with QtWebEngine 5.11.

BUG: 392885
FIXED-IN: 3.0.1
2018-04-11 18:32:12 +02:00
David Rosca
8d1a8671ea
IconProvider: Add memory cache for imageForUrl
During page load there may be a lot of requests for page favicon
until the page favicon is actually loaded.
Using cache (last 100 results) will reduce multiple database
queries during page load to at most one.
2018-04-11 18:24:10 +02:00
David Rosca
977bce9886
IconProvider: Use SqlQueryJob to save icons to database
Also use INSERT OR REPLACE instead of two separate queries.
2018-04-11 18:24:10 +02:00
David Rosca
e61352c70c
History: Use SqlQueryJob when adding history entry
This is called every time page finishes loading and as such
would block main thread during normal browsing.

Also remove urlIsStored as it is not used anywhere.
2018-04-11 18:24:10 +02:00
David Rosca
8a5c69b8a1
Add SqlQueryJob to run queries on separate thread 2018-04-11 18:24:09 +02:00
l10n daemon script
63f5fdd3d7 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-04-11 06:59:04 +02:00
l10n daemon script
0d2776a261 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-04-11 05:05:41 +02:00
l10n daemon script
62c8ff085b 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-04-10 05:32:53 +02:00
l10n daemon script
e0f390e986 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-04-07 07:11:21 +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
l10n daemon script
4815b584f6 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-04-06 05:22:55 +02:00
David Rosca
daf5be1dba
Enable KWallet passwords backend by default inside KDE session
BUG: 391304
FIXED-IN: 3.1.0
2018-04-02 15:05:26 +02:00
David Rosca
ec1c2c8031
Plugins: Load KDE Frameworks Integration by default inside KDE session 2018-04-02 10:28:44 +02:00
Anmol Gautam
fb95cc81d6
Add support for Drag (on) and Drop (off) the bookmark toolbar
Differential Revision: https://phabricator.kde.org/D11664
2018-04-02 10:14:29 +02:00
David Rosca
c09b6f632c
Merge branch 'Falkon/3.0' 2018-03-31 17:18:27 +02:00
David Rosca
b6fa82aa8e
DownloadManager: Don't try to close not restored tabs
BUG: 392565
FIXED-IN: 3.0.1
2018-03-31 17:16:55 +02:00
David Rosca
f10ef7d0aa
AdBlock: Open AdBlock dialog with plugin settings button 2018-03-31 17:11:50 +02:00
David Rosca
05772edbee
Merge branch 'Falkon/3.0' 2018-03-31 15:43:22 +02:00
David Rosca
7c078ad70e
ProfileManager: Implement profile migration from QupZilla 2018-03-31 15:42:55 +02:00
David Rosca
3dae3edff5
QzTools: Add copyRecursively and removeRecursively 2018-03-31 15:08:06 +02:00
David Rosca
b0b4b2b268
Merge branch 'Falkon/3.0' 2018-03-31 12:18:23 +02:00
David Rosca
93af3896ee
WebView: Use direct url download when contents is not web page
Directly download file when contents is not a web page, eg. image,
text file, video, ...

Requires building against QtWebEngine 5.10.

CCBUG: 391300
2018-03-31 12:17:41 +02:00
David Rosca
d7dc9ba9f6
WebView: Don't show "Show image" action when showing image 2018-03-31 11:06:28 +02:00
David Rosca
94e1421d30
DownloadManager: Set default download path to Downloads folder
BUG: 391300
FIXED-IN: 3.0.1
2018-03-31 10:26:04 +02:00