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

3134 Commits

Author SHA1 Message Date
David Rosca
0b261874cb
Merge branch 'Falkon/3.1' 2019-04-20 16:15:29 +02:00
David Rosca
514097ef4c
BookmarksManager: Don't allow to create bookmark without parent
BUG: 406433
FIXED-IN: 3.1.1
2019-04-20 14:08:44 +02:00
David Rosca
3137cdfca2
Merge branch 'Falkon/3.1' 2019-04-20 12:10:35 +02:00
David Rosca
8e4328b03c
QmlUserScript: Automatically install/uninstall underlying script 2019-04-20 11:52:28 +02:00
David Rosca
a8d43ed0c8
QmlStaticData: Prevent deleting singletons by QML engine 2019-04-20 11:23:16 +02:00
David Rosca
231101151e
QmlPluginLoader: Fallback to main.qml as entrypoint if not set 2019-04-20 10:54:01 +02:00
David Rosca
10eb20c162
QmlExtensionScheme: Fix warning about QQmlParserStatus qobject_cast 2019-04-20 10:46:53 +02:00
David Rosca
8e5c478c90
Preferences: Add links to KDE store for installing themes/extensions 2019-04-20 10:23:30 +02:00
David Rosca
f792104be5
ThemeManager: Implement removing locally installed themes 2019-04-20 10:18:48 +02:00
David Rosca
b5988bbe1f
Merge branch 'Falkon/3.1' 2019-04-20 09:34:40 +02:00
David Rosca
eb4b68fdd9
MainApplication: Create private browsing QWebEngineProfile without parent
Fixes crash on shutdown
2019-04-20 09:33:44 +02:00
David Rosca
d2d3d45932
Don't use subfolders for QML/Python extensions 2019-04-19 11:38:15 +02:00
David Rosca
ff9c70dccb
Fix build with QtWebEngine 5.9 2019-04-18 16:34:59 +02:00
David Rosca
5e6f92f7bc
OcsSupport: Add initial support for downloading themes/extensions 2019-04-18 16:25:27 +02:00
David Rosca
13449605eb
QmlPlugin: Change entrypoint to always be main.qml 2019-04-18 11:52:44 +02:00
David Rosca
7a562a4847
Plugins: Implement removing locally installed plugins 2019-04-18 11:52:25 +02:00
Saish Mhatre
e66835b4bf
Added focus for searchbar in history sidebar & bookmark sidebar
Summary:
After Adding Focus , user can directly search after pressing ctrl+h in history sidebar
& ctrl+shift+b in bookmark sidebar
BUG: 393948

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: SGOrava, falkon, #falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D20022
2019-04-10 17:11:47 +02:00
l10n daemon script
bde26dc861 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-04-06 05:57:30 +02:00
David Rosca
cb30ecb994
Merge branch 'Falkon/3.1' 2019-04-05 20:40:15 +02:00
Anmol Gautam
3150def9fc added pause/resume for downloads
Summary: Added button to pause/resume download from the download manager

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D20037
2019-03-31 18:03:39 +05:30
David Rosca
63aa4028a4
SearchToolBar: Remove warning message that no results were found 2019-03-22 14:01:20 +01:00
l10n daemon script
c3dce2aa80 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-03-21 08:45:27 +01:00
David Rosca
067155d53a
NetworkManager: Fix QtWebEngine warning about registering schemes 2019-03-20 12:01:01 +01:00
David Rosca
797e4c12a2
QML Plugins: Fix exporting i18n functions 2019-03-20 11:53:31 +01:00
David Rosca
2c5314ce93
Fix MSVC build 2019-03-20 11:11:36 +01:00
David Rosca
2853a1ee88
Version 3.1.0 2019-03-19 18:01:52 +01:00
Carl Schwan
9601e8ad34
Use a searchbar similar to the one in okular
Summary: {F6674717}

Reviewers: #falkon, #vdg, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, loh.tar, SGOrava, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D19625
2019-03-14 13:56:40 +01:00
David Rosca
945b4f7626
BookmarksIcon: Re-check bookmark when page url changes
BUG: 402239
FIXED-In: 3.1.0
2019-03-14 11:34:21 +01:00
David Rosca
1a81c0c821
Add ProtocolHandlerDialog
It is now possible to remove previously registered protocol handlers.
2019-03-14 11:14:25 +01:00
Anmol Gautam
a154ef5480 fix context menu on falkon:speeddial
Summary: Function addSpeedDial and others are not in scope so they didn't worked when called via javascript. So, I have removed the anonymous function which is wrapping those functions.

Reviewers: drosca

Reviewed By: drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D19564
2019-03-06 21:40:39 +05:30
David Rosca
b87ccf714c
Fix all override warnings 2019-03-01 17:08:50 +01:00
David Rosca
66857748c2
Remove old pagescreen.ui 2019-03-01 16:44:30 +01:00
David Rosca
e4252d56ef
Add some missing overrides 2019-03-01 16:42:50 +01:00
David Rosca
bf9b7667f7
Fix build with QtWebEngine < 5.11 2019-03-01 16:26:16 +01:00
David Rosca
3f4dd627be
UserAgentDialog: Disable word wrap in table widget
BUG: 404885
FIXED-IN: 3.1.0
2019-03-01 16:16:16 +01:00
Laurent Montel
ec8217035f Remove deprecated method 2019-03-01 08:49:55 +01:00
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&amp;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
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