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

3048 Commits

Author SHA1 Message Date
David Rosca
102bd219b7
QtSingleApplication: Add DBus backend for Linux
It should be more reliable than lockfile.

BUG: 404494
FIXED-IN: 3.1.0
2019-02-19 11:13:11 +01:00
David Rosca
eac5673656
Register custom schemes with QtWebEngine 5.12 2019-02-14 08:53:27 +01:00
David Rosca
b508ed2260
WebHitTestResult: Expect null href attribute
Patch by Eugene Shalygin

BUG: 404320
2019-02-14 08:44:42 +01:00
David Rosca
db9d506cf5
Add support for Navigator.registerProtocolHandler()
It is now possible to eg. register webmail to handle mailto:
links.
If a site asks to register protocol handler, it will be available
in site info widget (right click on web icon in location bar).

Requires QtWebEngine >= 5.11

BUG: 403183
FIXED-IN: 3.1.0
2019-01-28 17:54:43 +01:00
David Rosca
38b2631de9
SiteInfoWidget: Add site name header 2019-01-28 17:54:43 +01:00
l10n daemon script
524697d139 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"
2019-01-27 05:34:59 +01:00
David Rosca
e15bcbf877
QmlPluginLoader: Register i18n functions also without libintl 2019-01-26 16:34:10 +01:00
David Rosca
4990eed417
SqlDatabase: Remove existing database before adding new
Fixes duplicate connection warning.
2019-01-26 14:04:38 +01:00
David Rosca
b9c4a92aef
Fix coding style 2019-01-26 13:53:41 +01:00
David Rosca
6678a98d91
WebHitTestResult: Trim value of src/href attributes
BUG: 403619
FIXED-IN: 3.1.0
2019-01-26 12:29:57 +01:00
David Rosca
0bb78c8501
WebView: Use Qt::Back/ForwardButton instead of XButton1/2 2019-01-26 10:38:23 +01:00
David Rosca
ab43af9958
WebView: Fix detecting rwhvqt change with QtWebEngine 5.12
BUG: 402805
FIXED-IN: 3.1.0
2019-01-26 10:38:23 +01:00
David Rosca
a237c8ff87
SearchToolBar: Add Shift+Enter shortcut to find previous
BUG: 402989
FIXED-IN: 3.1.0
2019-01-24 15:53:59 +01:00
David Rosca
25a6008e6d
WebPage: Fix scroll to anchor workaround to also look for element ids
BUG: 402836
FIXED-IN: 3.1.0
2019-01-24 15:36:02 +01:00
David Rosca
675f148598
FalkonSchemeHandler: Load contents immediately
BUG: 403129
FIXED-IN: 3.1.0
2019-01-24 10:11:08 +01:00
David Rosca
0389da311c
Fix leaking QWebEngineUrlRequestJob reply
BUG: 403129
FIXED-IN: 3.1.0
2019-01-23 17:41:20 +01:00
David Rosca
1c4a8ddd6f
PyFalkon: Fix build with PySide 5.12
BUG: 402947
FIXED-IN: 3.1.0
2019-01-23 15:55:29 +01:00
l10n daemon script
caf1380774 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"
2019-01-21 05:18:24 +01:00
Laurent Montel
4c9d503699 Const'ify 2019-01-11 07:40:51 +01:00
Laurent Montel
4de3e4c703 Fix some clazy warnings 2019-01-08 13:28:02 +01:00
David Rosca
246951e474
Fix build 2018-12-29 12:13:51 +01:00
David Rosca
7429d1d8ef
WebPage: Add basic support for client certificates
It will now always selects first available client certificate.

Requires QtWebEngine 5.12
2018-12-25 11:52:38 +01:00
David Rosca
5fcd29c507
Preferences: Add DNS Prefetch option
Requires QtWebEngine 5.12
2018-12-25 11:47:35 +01:00
David Rosca
38ea9974b4
Revert "Change minimum Qt version to 5.10"
This reverts commit 19cce0c838.
2018-12-25 11:21:06 +01:00
David Rosca
5fd9cb92ee
Use QWebEnginePage::printRequested with QtWebEngine 5.12 2018-12-25 11:02:13 +01:00
David Rosca
f19f443c1c
DownloadManager: Correctly detect originating page
Requires QtWebEngine 5.12
2018-12-25 10:57:47 +01:00
David Rosca
19cce0c838
Change minimum Qt version to 5.10 2018-12-25 10:43:05 +01:00
David Rosca
cba7f32666
WebTab: Fix size of web inspector in splitter
BUG: 397596
FIXED-IN: 3.1.0
2018-12-24 20:58:05 +01:00
David Rosca
47f2a1697c
AdBlockManager: Parse also invalid abp: urls
Some sites (like filterlists.com) serves invalid abp urls:

    abp:subscribe?location=https%3A%2F%2Ffoo.com&title=AakList

Make sure the "amp;title" key will be parsed as title.

BUG: 397716
FIXED-IN: 3.1.0
2018-12-24 20:39:55 +01:00
David Rosca
53d35dbdbd
BookmarksToolBarButton: Don't show empty title in tooltip
BUG: 399233
FIXED-IN: 3.1.0
2018-12-24 15:08:49 +01:00
David Rosca
956b99c1cb
BrowserWindow: Use LoadRequest in loadAddress
BUG: 396609
FIXED-IN: 3.1.0
2018-12-24 15:03:30 +01:00
David Rosca
cbb322c1a5
X11: Add --wmclass command line option
BUG: 400753
FIXED-IN: 3.1.0
2018-12-24 14:47:43 +01:00
David Rosca
51eb65ecec
SearchToolBar: Ignore old search callbacks
BUG: 401343
FIXED-IN: 3.1.0
2018-12-24 14:05:29 +01:00
David Rosca
9e7011cbed
DownloadManager: Start download timer when download is created
Since we block in download options / file dialogs and QtWebEngine
download is already running, it will report invalid (faster) download
speed.

BUG: 401661
FIXED-IN: 3.1.0
2018-12-24 13:55:46 +01:00
David Rosca
a6c266b6c6
SpeedDial: Base64 encode initial script
Fixes parse errors when there is html encoded quote char.

BUG: 402024
FIXED-IN: 3.1.0
2018-12-24 13:41:36 +01:00
Giacomo Barazzetti
77e928569a Create new bookmark items near the current one (over it)
Summary:
Currently in the bookmarks manager the user can create new items via the contextual menu, so a position is implicitly chosen, but the new items are always inserted at the first position in the list.

This change aims to add new items just before the current (selected) one. If the selected item is a folder the behavior is unchanged (the new item will be inserted at the first position in that folder).

Test Plan:
- Select a separator/url item
- Add a new item (separator/url/folder)
- The new item is inserted just before the previously selected one

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: cullmann, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D14930
2018-12-12 22:21:33 +01:00
David Rosca
4ff7ccc737
Don't include qmlpluginloader.h in plugin.sh
Actually much better fix for PyFalkon build error.
2018-12-12 19:05:26 +01:00
David Rosca
d25c34901c
Use QTWEBENGINEWIDGETS_VERSION for determining QtWebEngine version 2018-12-12 18:57:56 +01:00
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