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

5795 Commits

Author SHA1 Message Date
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
c9a6a51285
KDEFI: Constify for arguments
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 17:03:50 +01:00
7f567b8536
SBI: Fix typo
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 16:32:08 +01:00
6370bcf6c8
KDEFI: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 16:28:38 +01:00
52370301aa
PIM: Fix typo, missing brackets around if
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 16:24:00 +01:00
be4d55795f
PIM: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 16:22:20 +01:00
ff94cf69da
StatusBarIcons: port foreach -> range-based for
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
2019-12-30 16:00:28 +01:00
Luigi Toscano
9de051fb20 Merge remote-tracking branch 'origin/Falkon/3.1' 2019-12-16 00:36:11 +01:00