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

5752 Commits

Author SHA1 Message Date
Heiko Becker
c9aad1ec0a Merge remote-tracking branch 'origin/Falkon/3.1' 2020-03-30 22:27:25 +02:00
3070f7b032 Merge branch 'fix-build-with-qt-5.15' into 'Falkon/3.1'
Fix build with Qt 5.15

See merge request kde/falkon!3
2020-03-30 19:46:45 +00:00
Heiko Becker
2ca83509db Fix build with Qt 5.15
QPainterPath is no longer included via qtransform.h (since
5.15.0-beta2, 50d2acdc93b4de2ba56eb67787e2bdcb21dd4bea in qtbase.git).
2020-03-29 12:54:08 +02:00
Puneeth Chanda
e4b468e233 Prompt user when KWallet is disabled
Summary: From now, when the user saves the password by clicking remember he will get a notification that the password is saved.

Reviewers: SGOrava, drosca

Reviewed By: SGOrava, drosca

Subscribers: drosca, alukichev, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D26932
2020-02-15 16:19:02 +01:00
0e25b116cb SearchBar - Show number of matches found on page search
Summary: BUG: 395429

Test Plan: Open searchbar on webpage and type some text which is present on the page

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D27095
2020-02-15 15:32:32 +01:00
l10n daemon script
b577df4466 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"
2020-02-12 10:08:15 +01:00
l10n daemon script
e0ea9fd04c 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"
2020-02-12 06:06:11 +01:00
9eaffd1208 Autotests Qml - fix compilation with Qt 5.9
Summary: BUG: 411197

Test Plan: Compile with Qt 5.9, e.g. on Ubuntu 18.04

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D27102
2020-02-02 18:17:57 +01:00
4b7a38680b Speeddial: decode initialScript data as Utf8
Summary:
BUG: 406095

Solution based on:
https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_4_%E2%80%93_escaping_the_string_before_encoding_it

Test Plan: Add webpage with title which contains Utf8 character (e.g. ľščťžýáíéúäô) into speeddial

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: falkon, drosca

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D27081
2020-02-01 10:36:51 +01:00
Puneeth Chanda
1cecd14fd0 Fix crash when KWallet is not available.
Summary:
Bug 398767
Currently, when the user clicks //remember password// when KWallet is disabled, **falkon** gets crashed.
This patch fixes the crash by checking if `KWallet` object is created and only then it adds to the folder.
The following functions are fixed:

  - addEntry

  - Update Entry

  - updateLastUsed

  - removeEntry

  - removeAll

Reviewers: SGOrava, drosca

Reviewed By: SGOrava, drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D26872
2020-01-24 14:15:11 +01:00
Alexander Lukichev
90664879c5 Option for internal PDFium-based viewer on Qt 5.13+
Summary:
Qt 5.13+ has a built-in PDFium-based PDF viewer enabled in
QWebEngineSettings by default. There is no way to disable it at
run time by the user, and leaving it "as is" changes the browser's
behavior, depending on which version of Qt is installed on a
target system. The built-in plugin currently has quite a limited
functionality and, e.g., misses ability to download the document
being viewed.

This adds a checkbox in Preferences->Browsing->Web configuration
to enable/disable usage of internal Qt's PDF viewer on systems
with Qt 5.13 and above.

The feature uses Pepper plugin API (PPAPI) of QtWebEngine. The
corresponding checkbox's text has been renamed to better reflect
its impact on QtWebEngine's operation ("Allow Pepper Plugins
(Flash plugin)" -> "Enable Pepper plugin API (PPAPI)").

To clarify dependency of internal PDF viewer on PPAPI, the
checkbox gets disabled when the user unchecks "Enable Pepper
plugin API (PPAPI)" checkbox. Also, the dependency is mentioned
in its text.

Reviewers: #falkon, SGOrava

Reviewed By: #falkon, SGOrava

Subscribers: pshaw, SGOrava, falkon, alukichev

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D26753
2020-01-21 21:00:24 +01:00
2a0f092436 Handle web push notifications with Falkon notification system
Summary:
Add basic support for web notifications with icon, title and body text.

FEATURE: 409045

Test Plan: Fire some notifications from webpage

Reviewers: #falkon

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D26452
2020-01-20 20:39:59 +01:00
l10n daemon script
50c2cebdd6 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"
2020-01-13 09:36:25 +01:00
l10n daemon script
3953f3e0bf GIT_SILENT made messages (after extraction) 2020-01-13 08:18:40 +01:00
l10n daemon script
91612fcb55 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"
2020-01-13 05:40:25 +01:00
l10n daemon script
a75e26c5af GIT_SILENT made messages (after extraction) 2020-01-13 02:46:22 +01:00
903c29cb09
GreaseMonkey: Use QTWEBENGINEWIDGETS_VERSION to check for the current version
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2020-01-06 11:45:10 +01:00
6974f8c254 GreaseMonkey: Fix detecting *.user.js urls
Test Plan: Try to install userscript from http://greasyfork.org/

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D26436
2020-01-05 19:39:46 +01:00
c934e40440
Use QString::chopped() only for Qt 5.10+
https://github.com/KDE/falkon/pull/6

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2020-01-01 12:08:37 +01:00
d45e51a4e5
Port from deprecated QDir::operator=(const QString&) > QDir::setPath()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 19:41:28 +01:00
14719b3ec3
Port from deprecated QPalette::background() > QPalette::window()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 18:52:59 +01:00
03b2880f8b
Port from deprecated QPalette::foreground() > QPalette::windowText()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 18:35:21 +01:00
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
168f61c602
Port from deprecated QListWidget::setItemHidden() > QListWidgetItem::setHidden()
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 12:15:40 +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
cf6a0b46ef
Port from QListWidget::setItemSelected > QListWidgetItem::setSelected
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 11:36:07 +01:00
7a1558e173
Port from deprecated QTreeView::sortByColumn(int)
QTreeView::sortByColumn(int) > QTreeView::sortByColumn(int column, Qt::SortOrder order)

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 10:50:52 +01:00
b82752a31e
Port from deprecated QTableView::sortByColumn(int)
QTableView::sortByColumn(int) > QTableView::sortByColumn(int column, Qt::SortOrder order)

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-31 10:47:57 +01:00
018b8d1a28
adblock: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 21:46:37 +01:00
e34933b5d7
app: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 21:29:24 +01:00
ef48b4725e
tools: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 21:21:06 +01:00
7f654409c5
webengine: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 21:06:39 +01:00
9b6f187282
network: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:59:30 +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
aa039b8579
session: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:40:50 +01:00
da73eb5c77
sidebar: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:35:42 +01:00
1a3f887145
tabwidget: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:31:03 +01:00
f02cb62b7b
plugins: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:25:31 +01:00
5efc0e8d9d
opensearch: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 20:15:32 +01:00
c4b6ae9019
bookmarks: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 19:50:58 +01:00
40c06eaaae
autofill: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 19:16:12 +01:00
ea75f18c5b
preferences: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 19:00:40 +01:00
6c14547656
history: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 18:32:20 +01:00
d242ac51ab
siteinfo: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 18:02:07 +01:00
8bc38860bf
downloadmanager: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:55:52 +01:00
1457cfc1fd
CookieManager: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:50:55 +01:00
169f7cba65
cookiejar: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:50:26 +01:00
def38a2da4
TabManager: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:36:35 +01:00
9330f8cc04
FCM: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:20:44 +01:00
9bcfeb3cd7
GM: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:05:24 +01:00