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

894 Commits

Author SHA1 Message Date
Kevin Kofler
774dbf93de KWalletPasswords, GnomeKeyringPasswords: Implement migration from QupZilla
Implement migration of passwords stored in KWallet or GNOME Keyring from
QupZilla to Falkon.

The logic is the same as for the profiles: If no "Falkon" folder exists,
but a "QupZilla" folder exists, we read all the data from the "QupZilla"
folder and write it to the "Falkon" folder. (In GNOME Keyring, those are
not actually folders, but application attributes on the entries, but the
logic is the same.)

In GnomeKeyringPasswordBackend, a storeEntry helper method is introduced
to avoid duplicating code.

Reviewed By: drosca
Differential Revision: https://phabricator.kde.org/D12846
2018-05-13 12:21:05 +02:00
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
c71ca333e8
PyFalkon: Fix build with latest PySide2
Add support for scheme handlers as PySide2 added QtWebEngineCore module.
2018-05-01 13:07:47 +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
David Rosca
d1fad353d0
PyFalkon: Fix build with latest PySide2
Add support for scheme handlers as PySide2 added QtWebEngineCore module.
2018-04-29 20:19:14 +02:00
David Rosca
c15b112a4c
Merge branch 'Falkon/3.0' 2018-04-29 13:16:42 +02:00
David Rosca
bc26e9377c
VerticalTabs: Preserve exapnded state of items inside collapsed parent
BUG: 393567
FIXED-IN: 3.0.1
2018-04-29 12:52:30 +02:00
David Rosca
d55d071507
VerticalTabs: Don't force open sidebar when opening new window
Only automatically open the sidebar after the plugin is enabled
from Preferences.

BUG: 393629
FIXED-IN: 3.0.1
2018-04-29 10:05:55 +02:00
l10n daemon script
a8c662281d 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-27 07:18:56 +02:00
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
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
l10n daemon script
1b065536b0 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-18 07:35:32 +02:00
l10n daemon script
71f788310d 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-18 05:39:34 +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
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
e90d45ee1e 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 07:14: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
ba16c67115 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-09 07:08:34 +02:00
l10n daemon script
cba0f0cfb4 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-09 05:17:05 +02:00
l10n daemon script
a703947e87 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-08 07:15:22 +02:00
l10n daemon script
6af3a8e1d9 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-08 05:28:19 +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
f6f54efc59
Fix building PyFalkon tests 2018-04-06 18:49:40 +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
l10n daemon script
d7a8464726 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-04 05:18:30 +02:00
l10n daemon script
31a65927fa 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-03 05:27:48 +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
l10n daemon script
b1dc68d09e 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-02 05:12:42 +02:00
David Rosca
96f17baa46
Rename KDESupport -> KDEFrameworksIntegration plugin 2018-03-31 16:55:50 +02:00
David Rosca
05fa1338d8
KDESupport: Use KCrash for crash reporting 2018-03-31 16:43:41 +02:00
l10n daemon script
680b07008a 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-03-30 05:23:04 +02:00
l10n daemon script
4c7f7cfc2e 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-03-26 05:08:41 +02:00
David Rosca
fd8cc0b356
PyFalkon: Add basictest 2018-03-23 18:05:54 +01:00
David Rosca
18cf0ce480
PyFalkon: Add pyfalkontestrunner for tests 2018-03-23 17:56:53 +01:00
l10n daemon script
91059a3fb3 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-03-22 05:17:51 +01:00
l10n daemon script
34550e08f1 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-03-21 05:30:17 +01:00
Anmol Gautam
8e88d43200
VerticalTabs: Open new tab with double and middle click in free space
Differential Revision: https://phabricator.kde.org/D11466
2018-03-20 13:51:31 +01:00
l10n daemon script
738cc1d55f 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-03-20 05:20:56 +01:00
l10n daemon script
46bed4a478 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-03-18 05:08:44 +01:00
David Rosca
933dadc6b2
KDESupport: Add basic support for KIO
BUG: 391924
FIXED-IN: 3.1.0
2018-03-16 16:06:47 +01:00
David Rosca
72b7bf65de
Rename KWalletPasswords plugin to KDESupport 2018-03-16 16:01:03 +01:00
l10n daemon script
cc2b424aeb 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-03-13 05:19:52 +01:00
l10n daemon script
f838f02db1 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-03-06 05:24:12 +01:00
David Rosca
d0e924db51
Remove ImageFinder plugin 2018-03-03 12:57:28 +01:00
David Rosca
d3159348b4
PyFalkon: Remove WebPage::javaScriptPrompt 2018-03-03 12:57:28 +01:00
David Rosca
db66ea91df
PyFalkon: Export Menu and Action classes + fix warnings 2018-03-01 20:38:43 +01:00
David Rosca
e427f14445
PyFalkon: Rename pyfalkon.xml -> typesystem_pyfalkon.xml 2018-03-01 19:42:56 +01:00
David Rosca
3945cb76bb
Remove unused EmptyNetworkReply 2018-03-01 19:10:23 +01:00
David Rosca
0d51e0ce32
PluginInterface: Remove getTranslator 2018-02-27 11:31:34 +01:00
David Rosca
27506e3ba1
PyFalkon: Add __version__ and __version_info__ 2018-02-26 20:29:13 +01:00
David Rosca
abd30880a5
SideBarManager: Remove interfaces by pointer not id 2018-02-26 20:28:34 +01:00
David Rosca
791c9f6b1d
Don't install Python extensions when Python support is disabled 2018-02-26 18:28:58 +01:00
David Rosca
228e672254
PyFalkon: Suppress workarounded warnings 2018-02-26 16:59:54 +01:00
David Rosca
190635db1b
PyFalkon: Export rest of the classes 2018-02-26 16:40:42 +01:00
David Rosca
2873cf45a9
PyFalkon: Install into standard plugin path 2018-02-26 11:14:12 +01:00
David Rosca
ee84b87d20
PyFalkon: Fix build system
It is now enabled when PySide2, Shiboken2 and PythonLibs are found.
2018-02-26 11:14:12 +01:00
David Rosca
3f1d37ab69
PyFalkon: Wrap more classes 2018-02-26 11:14:12 +01:00
David Rosca
13c9025c40
PluginInterface: Don't pass enum as constref 2018-02-26 11:14:11 +01:00
David Rosca
1cf47bfdb5
PyFalkon: Remove PythonPluginObject
Instead just export global registerPlugin function.
2018-02-26 11:14:11 +01:00
David Rosca
2e377390b5
Add experimental support for Python extensions
Disabled by default until the build system is sorted out.

As it is now, Python extensions are loaded from "python"
subdirectory in standard plugin paths. Extensions can be loaded
and unloaded same way as C++ plugins.

Currently there are only wrappers needed to get PluginInterface
working from Python, other Falkon classes are inaccessible.
2018-02-25 18:51:31 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS 2018-02-25 13:33:07 +01:00
Luigi Toscano
c36a113219 gettext translations: extract them and use ECM to load them
Summary:
Extract the strings: one main catalog and a catalog for each plugin.
Also use the ECM macro to install the translations.

Ref T6858

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca

Tags: #falkon

Maniphest Tasks: T6858

Differential Revision: https://phabricator.kde.org/D8049
2018-02-25 00:27:41 +01:00
David Rosca
a4c246ab0e
GreaseMonkey: Fix removing statusbar icon when unloading plugin 2018-02-24 14:19:06 +01:00
David Rosca
a2731ef393
Use Falkon icons in about dialog and internal pages 2018-02-24 09:21:13 +01:00
David Rosca
86d3ebebc7
Add new Falkon icon 2018-02-23 12:58:04 +01:00
l10n daemon script
b4eaa10c10 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-02-19 05:02:21 +01:00
l10n daemon script
00f337b82c 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-02-18 04:59:49 +01:00
David Rosca
e5a599ee23
VerticalTabs: Disable scrollbars in other direction 2018-02-17 17:11:54 +01:00
l10n daemon script
dd3c570c41 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-02-17 05:04:26 +01:00
David Rosca
99bdca9944
Replaced another qupzilla urls 2018-02-16 15:00:40 +01:00
l10n daemon script
adf24d7f94 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-02-14 04:57:58 +01:00
l10n daemon script
3de958a3ed 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-02-13 05:17:37 +01:00
David Rosca
802e447c0c
VerticalTabs: Show detach tab action in context menu
It's not possible to detach tabs by dragging them to empty space
as with main tabbar.
2018-02-12 09:52:14 +01:00
David Rosca
28d78cdcca
Fix missing override warnings 2018-02-11 20:36:06 +01:00
David Rosca
512a19e528
VerticalTabs: Draw background activity indicator 2018-02-11 16:21:08 +01:00
David Rosca
7c013f5342
Plugins: Port plugin spec to standard desktop file
Makes it translatable
2018-02-11 14:38:01 +01:00
David Rosca
3333b61650
Unregister scheme handler / extra js objects by pointer not name 2018-02-11 11:50:05 +01:00
David Rosca
4a1d807fec
Remove QzRegExp
Port directly to QRegularExpression everywhere
2018-02-11 10:54:59 +01:00
David Rosca
f1c7c2beaf
Remove NetworkProxyFactory 2018-02-11 10:24:55 +01:00
David Rosca
881615a629
Remove AccessKeysNavigation plugin 2018-02-11 10:09:39 +01:00
David Rosca
7670c7df90
VerticalTabs: Scroll to current tab when opening new selected tab 2018-02-09 18:12:13 +01:00
David Rosca
75b072ec88
Fix missing override warnings 2018-02-07 11:55:46 +01:00
David Rosca
4caab39269
Fix building password backend plugins 2018-02-06 17:53:21 +01:00
David Rosca
977b45505c
PluginProxy: Remove QZ_REGISTER_* macros 2018-02-06 17:40:14 +01:00
David Rosca
43fa19121a
VerticalTabs: Make it possible to change height of pinned tab view
Same as TabTreeView, TabListView uses font metrics to calculate height.
Themes can change it with "font-size" property.
2018-02-06 17:39:52 +01:00
David Rosca
6aee383a9c
VerticalTabs: Add Tab Tree context menu with tree actions
With Close Tree + Expand/Collapse all actions.
2018-02-05 16:49:38 +01:00
David Rosca
5e2af2ff66
VerticalTabs: Add support for creating groups
Long press on New Tab button will show menu with existing groups
and clicking on group will open new tab inside this group.
2018-02-05 16:49:24 +01:00
David Rosca
ea432a7de7
TabContextMenu: Add Options flags 2018-02-05 16:44:44 +01:00
David Rosca
825ee7ea96
Revert "TabContextMenu: Require only WebTab in constructor"
This broke context menu on empty tab bar space.

This reverts commit e791e77045b572af02d27f7a15ae082a4a13814c.
2018-02-05 16:44:39 +01:00
David Rosca
408b2ffad6
TabWidget: Add public webTab method
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
David Rosca
aa332a4ed2
VerticalTabs: Reject drop on last row in pinned tabs model
It seems like a weird behavior in Qt because source model receives
drop on last index (in filter model) as drop on last index in source
model instead of filter model and it can't make a right decision.

Source model:
| 1 | 2 | 3 | 4 | 5 | 6 |
Filter model:
| 1 | 2 | 3 | 4 |
                ^
Dropping here propagates to source model as drop on index 7, not 5.

Let's just ignore this case to workaround it.
2018-02-04 17:23:46 +01:00
David Rosca
dbd4e75941
VerticalTabs: Save expanded state in session 2018-02-04 17:22:00 +01:00
David Rosca
62264501e2
VerticalTabs: Switch tabs with mouse wheel
But only when there is no scrollbar in normal tabs view.
2018-02-04 17:21:54 +01:00
David Rosca
bbbe136346
VerticalTabs: Handle Ctrl+Tab switching tabs in tree order 2018-02-04 17:21:50 +01:00
David Rosca
25d70e557a
VerticalTabs: Add Simple theme 2018-02-04 17:21:38 +01:00
David Rosca
7bb2b5dfed
VerticalTabs: Cleanups in Windows theme 2018-02-04 17:21:34 +01:00
David Rosca
ca60f9a300
VerticalTabs: Don't use selected icon mode for favicons
On some styles (particularly QStyleSheetStyle) it returns pixmap
drawn onto background color.
2018-02-04 17:21:26 +01:00
David Rosca
4db34d4645
VerticalTabs: Remove custom properties for colors 2018-02-04 17:21:23 +01:00
David Rosca
06621a6f8a
VerticalTabs: Add windows theme 2018-02-04 17:21:15 +01:00
David Rosca
2c731111d7
VerticalTabs: Add support for changing themes 2018-02-04 17:21:12 +01:00
David Rosca
2c60d8bcfb
VerticalTabs: Add option to append/prepend new child tabs 2018-02-04 17:21:08 +01:00
David Rosca
e981f638de
VerticalTabs: Hide pinned tabs view when empty 2018-02-04 17:21:04 +01:00
David Rosca
f3d5f27cdf
VerticalTabs: Set Qt::NoFocus policy
Fixes some styles painting unwanted focus indicator.
2018-02-04 17:21:01 +01:00
David Rosca
8c96660852
VerticalTabs: Add new tab button 2018-02-04 17:20:56 +01:00
David Rosca
faec2d2b20
VerticalTabs: Fix object names for close button 2018-02-04 17:20:52 +01:00
David Rosca
ac9830381d
VerticalTabs: Add option to indentate background of items 2018-02-04 17:20:49 +01:00
David Rosca
e5a55a6c69
VerticalTabs: Fix rendering negative margins when updating single index 2018-02-04 17:20:44 +01:00
David Rosca
79d116d07c
TabTreeDelegate: Make it stylable on which items to show close button 2018-02-04 17:20:40 +01:00
David Rosca
36eb1f5523
VerticalTabs: Fix QSS styling issues
It is now possible to replicate tabbar from Windows theme.
2018-02-04 17:20:28 +01:00
David Rosca
ad387fe712
TabTreeView: Draw real tabbar close button and make it stylable 2018-02-04 17:20:17 +01:00
David Rosca
4ad6d6cda1
TabTreeModel: Only sync top-level tabs when closing window
Otherwise reordering tabs is too distracting when tabbar is visible.
2018-02-04 17:18:39 +01:00
David Rosca
05bb94adfe
VerticalTabs: Correctly delete models when switching view type 2018-02-04 17:18:31 +01:00
David Rosca
68c30781bb
VerticalTabs: Show tooltips for tabs 2018-02-04 17:18:27 +01:00
David Rosca
a1101c129c
VerticalTabs: Move scrollbar to the left 2018-02-04 17:18:19 +01:00
David Rosca
805c23ddb9
VerticalTabs: Expand subtree when new tab is inserted 2018-02-04 17:18:13 +01:00
David Rosca
072d3c28ee
VerticalTabs: Show pinned tabs in horizontal list above normal tabs 2018-02-04 17:18:01 +01:00
David Rosca
801c1845b5
Cleanups in TabTreeView 2018-02-04 17:16:19 +01:00
David Rosca
fc9f88ae67
VerticalTabs: Set scrolling per pixel 2018-02-04 17:15:57 +01:00
David Rosca
ebd2b6da51
VerticalTabs: Automatically scroll to current tab 2018-02-04 17:15:50 +01:00
David Rosca
66023d2dba
Add VerticalTabs plugin 2018-02-04 17:15:23 +01:00
David Rosca
0c7245fa9f
TabContextMenu: Require only WebTab in constructor 2018-02-04 16:58:08 +01:00
David Rosca
a89fcf9002
GM_Manager: Remove no longer needed doDownloadScript helper
downloadScript is now always called from main thread again.
2018-01-31 20:45:07 +01:00
David Rosca
f9feab7d9d
GM_Script: Download icon and display it in settings 2018-01-31 20:44:33 +01:00
David Rosca
4283260504
GM_Script: Fix support for @noframes 2018-01-31 20:44:09 +01:00
David Rosca
b5b77e7932
GM_Script: Add iconUrl property 2018-01-31 20:43:57 +01:00
David Rosca
1fe7f0c232
Correctly handle possibility that page changes in WebView 2018-01-28 22:41:08 +01:00
Jimi Huotari
addbb21c77
Fix build against Qt 5.11 2018-01-26 12:59:03 +01:00
David Rosca
32e7ec1826 TabManager: Port icon to AbstractButtonInterface
It is now available from both NavigationBar and StatusBar
2018-01-24 20:37:21 +01:00
David Rosca
cc55c0ad02 FlashCookieManager: Port icon to AbstractButtonInterface
It is now available from both NavigationBar and StatusBar
2018-01-24 20:37:15 +01:00
David Rosca
7265c30aa8 Add Downloads, AdBlock and GreaseMonkey buttons to statusbar 2018-01-24 20:37:10 +01:00
David Rosca
444884bee9 Rename StatusBarMessage -> StatusBar 2018-01-24 20:36:34 +01:00
Razi Alavizadeh
77cb017e1d TabManager: Remove redundant condition 2018-01-24 20:34:40 +01:00
David Rosca
41775c3a20 Replace some QupZilla leftovers with Falkon 2018-01-24 17:15:26 +01:00
David Rosca
f315b0e3dc Remove old translations 2018-01-24 17:10:36 +01:00
4292ecd465 TabManager: Add Unload checked tabs action (#2566) 2018-01-24 15:15:09 +01:00
David Rosca
4e39cad310 SBI_JavaScriptIcon: Fix temporarily enabling/disabling JavaScript
Closes #2560
2018-01-24 15:14:50 +01:00
David Rosca
6f20d5e511 Move build config options to config.h
Also remove NO_SYSTEM_DATAPATH and DISABLE_UPDATES_CHECK
2018-01-24 14:26:13 +01:00
David Rosca
087c98343e Remove compatibility code with Qt older than 5.9 2018-01-14 09:30:15 +01:00
David Rosca
a8dcf176cf Fix merge issues 2018-01-11 20:51:34 +01:00
David Rosca
4bf85ee3cb WebPage: Register QWebChannel on isolated ApplicationWorld
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.

GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
287631d37b WebPage: Remove setJavaScriptEnabled method 2018-01-11 19:50:13 +01:00
David Rosca
6806fa5405 AbstractButtonInterface: Use WebView property instead of WebPage
WebView of a tab will not change while WebPage may.

This also fixes crash when WebPage of WebView is changed. It can happen
eg. when opening new tab from page with target=_blank.

Closes #2537
2018-01-11 19:42:38 +01:00
David Rosca
23279f6e10 GreaseMonkey: Move icon from statusbar to navigationbar as tool button 2018-01-11 19:29:35 +01:00
David Rosca
fa4fba5f49 BrowserWindow: Add tabCount() method 2018-01-11 19:23:43 +01:00
David Rosca
5cc41d219e Always open new window when restoring session after crash
Also remove special handling for qupzilla:restore tabs.
2018-01-11 19:23:36 +01:00
David Rosca
ebed38e1c4 GreaseMonkey: Don't export wrappedJSObject
It seems to confuse some userscripts thinking that this is Firefox.

This, along with recent values changes should fix compatibility issues
with large portion of userscripts.
Tested with 4chanX as one of the very complex userscript.
2018-01-11 19:18:57 +01:00
David Rosca
30bad61eea GreaseMonkey: Rewrite values bridge to pass values as QString
Passing QVariant/QJsonValue is broken in QWebChannel (QtWebEngine?)
2018-01-11 19:18:31 +01:00
David Rosca
b8f9c7e15d KWalletPasswords: Pass window id to Wallet::openWallet
Closes #2441
2018-01-11 19:15:30 +01:00
David Rosca
8a6547b39c Use window._qupzilla_external property to check if web channel is connected
Instead of checking for window.external as that is now defined with
at least QtWebEngine 5.10.
2018-01-11 19:15:02 +01:00
David Rosca
7ce93354c8 GreaseMonkey: Add support for GreaseMonkey 4.0 API
Properly implement values functions in 4.0 API version.

Closes #2355
2018-01-11 19:12:53 +01:00
David Rosca
ee62ad0215 Use correct web settings in private browsing mode
Closes #2427
2018-01-02 22:59:17 +01:00
David Rosca
f5ad4424aa TabWidget: Add insertView method for WebTab 2018-01-01 16:58:02 +01:00
David Rosca
d739692523 AutoScroll: Don't force detected scroll direction
As the detection of available scroll direction is not perfect,
don't enforce it.

Closes #2503
2017-12-03 19:11:09 +01:00
David Rosca
9c3f38fa11 Fix installing and loading plugins 2017-10-27 14:14:40 +02:00
Razi Alavizadeh
4c827bee74 TabManager: Bump version to 0.8 2017-10-03 17:02:31 +03:30
Razi Alavizadeh
48c409fa76 TabManager: Support moving tabs between windows by drag & drop. 2017-10-03 17:02:30 +03:30
Razi Alavizadeh
bad3a76a2e TabManager: Don't repeat detaching tab code. 2017-10-03 17:02:30 +03:30
Razi Alavizadeh
33846b9523 TabManager: Use italic font and "disabled" style for non-loaded saved tab item. 2017-10-03 17:02:29 +03:30
Razi Alavizadeh
b9a9c24060 TabManager: Cleanup and fix. 2017-10-03 17:02:28 +03:30
Razi Alavizadeh
9cb5f106ef TabManager: item based update. 2017-10-03 17:02:27 +03:30
Razi Alavizadeh
06094cfc1c TabManager: Scroll to the current tab item. 2017-10-03 17:02:27 +03:30
Razi Alavizadeh
f17eb82cf9 TabManager: Add tab context-menu to treewidget context-menu. 2017-10-03 17:02:26 +03:30
David Rosca
2732aadda6 Fix building GnomeKeyring and KWallet password backend plugins
Also remove KDE/GNOME integration options and instead always build the plugins
when necessary dependencies are found.
2017-09-26 15:19:55 +02:00
Jacob Tey
11d73bd26a Fix icon name in SBI images icon + add object name to AdBlockIcon 2017-09-25 19:35:44 +02:00
David Rosca
df25f49cfb Remove more unused files 2017-09-25 14:18:33 +02:00
David Rosca
3b09f115e7 Remove QMake build files 2017-09-25 13:08:06 +02:00
David Rosca
c77ec4005e Don't include plugins translations as resource
Fixes CMake build, but plugin translations are not working now.
2017-09-25 13:04:54 +02:00
David Faure
76457af130 CMake buildsystem for the autotest 2017-09-10 15:17:07 +02:00
David Faure
6e7a14a9c2 CMake buildsystem for plugins 2017-09-10 15:01:58 +02:00
David Rosca
efff69b7b2 Continue with Falkon renaming 2017-08-25 17:55:52 +02:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
d7ff9546d6 Fix build 2017-08-11 15:46:19 +02:00
David Rosca
def0c8e4f4 Update empty.ts 2017-08-11 15:35:46 +02:00
David Faure
2382f2c955 Fix compilation with KDE in custom prefix
The .pri file for KWallet brings in the correct include path for
that framework, while KF5/KWallet/KWallet only works with a /usr/include
base dir.
2017-07-26 20:12:52 +02:00
David Rosca
f82cab9f19 Pull translations from Transifex 2017-07-24 12:05:22 +02:00
David Rosca
0c4f20ff2d GreaseMonkey: Use better metadata parser
Use QTextStream instead of parsing with regexps
2017-05-01 11:05:08 +02:00
David Rosca
355fc7e4a7 GreaseMonkey: Bump plugin version 2017-04-19 15:54:23 +02:00
David Rosca
a2e02a8922 GreaseMonkey: Use QtWebEngine's handling of include/exclude/match rules 2017-04-19 15:53:27 +02:00
David Rosca
166fe13747 GreaseMonkey: Make sure to download all require scripts when userscript changes 2017-04-19 15:41:21 +02:00
David Rosca
13402b2983 GreaseMonkey: Save require scripts with original filename 2017-04-19 13:31:35 +02:00
David Rosca
84477aa2dc GreaseMonkey: Don't store absolute path to require scripts 2017-04-19 13:25:46 +02:00
srazi
f57d6d0682 TabManager: Fix add tab button when grouping type is not window 2017-04-10 00:30:04 +04:30
srazi
8a85fb3c0f TabManager: Bump version to 0.7.0 2017-04-07 13:31:20 +04:30
srazi
47e2c8c1f0 TabManager: show add tab button on window item under mouse. 2017-04-07 13:24:39 +04:30
srazi
457d32ae82 TabManager: Update close button icon 2017-04-07 13:24:38 +04:30
srazi
e40be295ab TabManager: Fix showing close button on show 2017-04-07 13:24:37 +04:30
srazi
ae29ef0030 TabManager: Rename TabFilterDelegate to TabManagerDelegate 2017-04-07 13:24:36 +04:30
srazi
3a7e843677 TabManager: show close button on tab item under mouse. 2017-04-07 13:24:36 +04:30
srazi
56c737d836 TabManager: Use single click to switch between tabs 2017-04-07 13:24:35 +04:30
David Rosca
f20d421113 Merge branch 'v2.1' 2017-03-15 13:29:24 +01:00
David Rosca
900e5d593c Pull translations from Transifex 2017-03-15 13:27:29 +01:00
David Rosca
3434052690 Merge branch 'v2.1' 2017-03-15 11:00:14 +01:00
David Rosca
8940609a00 StatusBarIcons: Set object names for icons
Closes #2251
2017-03-15 10:59:51 +01:00
srazi
3c8907284d macOS: Fix unused-private-field warning 2017-03-13 00:23:01 +03:30
David Rosca
5ff5fb5b10 Updated translations
Closes #2202
2017-02-13 23:06:04 +01:00
David Rosca
9011224c1a GreaseMonkey: Fix disabling scripts with Qt 5.8
Qt 5.8 parses the metadata block, so everything gets overwritten
when QWebEngineScript::setSource is called.

Closes #2206
2017-02-13 22:27:59 +01:00
David Rosca
85f8cf881e Fix drawing text with correct color in item delegates on Windows 2017-02-07 15:47:41 +01:00
David Rosca
db5a260193 Update translations from Transifex 2017-02-04 10:11:33 +01:00
David Rosca
5240d70c51 Fix TabManager.pro 2017-01-27 14:40:07 +01:00
David Rosca
7d6a2efab2 Update translations 2017-01-27 14:38:03 +01:00
David Rosca
bff02d75b8 AutoScroll: Bump plugin version 2017-01-27 11:12:48 +01:00
David Rosca
a9f9056d84 AutoScroll: Only scroll in the indicated direction
It's possible that the horizontal/vertical scrollbar is hidden, but
the page can still be scrolled in that direction.
2017-01-27 11:11:26 +01:00
David Rosca
0ad0a587eb AutoScroll: Draw scroll indicator inside white circle
Also slightly modify scroll indicator pixmaps and center them.
2017-01-27 11:05:25 +01:00
David Rosca
0dd682d317 MouseGestures: Restore force context on mouse release value on plugin unload 2017-01-22 09:45:24 +01:00
David Rosca
7998b113d8 Fix build warnings 2017-01-21 21:18:01 +01:00
David Rosca
44913c3284 GreaseMonkey: Use acceptNavigationRequest for handling userscript downloads 2017-01-21 21:05:33 +01:00
David Rosca
8bc39e9b1c GreaseMonkey: HighDPI fixes 2017-01-21 20:54:11 +01:00
David Rosca
ef7eb6957e FlashCookieManager: HighDPI fixes 2017-01-21 20:35:09 +01:00
David Rosca
33989263c0 AutoScroll: Add HighDPI pixmaps 2017-01-21 20:23:42 +01:00
David Rosca
b7c5b6758d Pull translations from Transifex 2016-12-28 19:35:23 +01:00
David Rosca
23af6c3af7 Fix drawing correct text color in custom item views 2016-12-26 19:41:06 +01:00
David Rosca
1881a800bf AutoScroll: Disable on frames
It doesn't support scrolling outside main frame, so just disable
it on frames so middle clicking links is possible.
2016-12-26 13:13:40 +01:00
David Rosca
5d2ffc30d1 FlashCookieManager: Operate on PepperFlash cookies 2016-12-24 00:25:28 +01:00
David Rosca
9626eac48e Update translations 2016-12-21 21:53:39 +01:00
David Rosca
96634f7f85 Update translations 2016-10-24 22:14:22 +02:00
David Rosca
9e1c6312cb Fix connecting to WebView::iconChanged 2016-10-24 21:43:31 +02:00
David Rosca
f7835b7ba8 Merge branch 'v2.0' 2016-10-24 20:04:27 +02:00
David Rosca
5d60037e71 Update translations 2016-10-24 17:25:44 +02:00
David Rosca
7fff4b627b MouseGestures: Use same code to create new tab as BrowserWindow
Closes #2089
2016-10-19 09:43:56 +02:00
David Rosca
704933f34c Pull translations from transifex 2016-09-21 16:15:02 +02:00
srazi
d4facf2806 TabManager: Add quick filter/switch support.
- Also key navigation support was added.

- Closes #2063
2016-08-29 12:48:31 +04:30
David Rosca
0b99d45d10 Pull translations from transifex 2016-08-23 09:10:32 +02:00
Marti Martz
18ab4f2a7b GM WIN: Add CR to detection (#2027)
* WIN: Add CR to detection

Saving in Notepad++ with Windows line ending prevents script injection

Post fix for #1964 and some vague references at ce67c7a455

* Add some more line ending checks

* Windows ends in CR and OS Ⅸ compatible uses CR+LF ... OS Ⅹ/*nix uses LF
* Fix pre-existing bug with `\n' with string split for Windows ... tested only on Linux *(Qt 5.6.1)* with Unit Tests so far

Applies to #2027 and post followup for #1964

* Use default Left-associative for pipe (logical or)

* Specific first then general after e.g. flip them ... helps avoid a false injection match with a control character at the beginning with older editors *(may include OS2)*

Applies to #2027 and post followup for #1964
2016-08-15 14:24:00 +02:00
Marti Martz
9f298c352b GM WIN: Add CR to detection (#2027)
* WIN: Add CR to detection

Saving in Notepad++ with Windows line ending prevents script injection

Post fix for #1964 and some vague references at ce67c7a455

* Add some more line ending checks

* Windows ends in CR and OS Ⅸ compatible uses CR+LF ... OS Ⅹ/*nix uses LF
* Fix pre-existing bug with `\n' with string split for Windows ... tested only on Linux *(Qt 5.6.1)* with Unit Tests so far

Applies to #2027 and post followup for #1964

* Use default Left-associative for pipe (logical or)

* Specific first then general after e.g. flip them ... helps avoid a false injection match with a control character at the beginning with older editors *(may include OS2)*

Applies to #2027 and post followup for #1964
2016-07-17 09:31:25 +02:00
Martii
fc2ae4c4dd Brute crush all pngs
* Making the footprint a little smaller
2016-05-12 12:47:46 -06:00
David Rosca
c004d52db1 Run js code in ApplicationWorld with QtWebEngine 5.7 2016-05-10 10:47:35 +02:00
Marti Martz
ce67c7a455 GM: Detect properly the UserScript metadata block on parse (#1964)
Eliminates some false positives
2016-05-10 10:10:52 +02:00
David Rosca
4a60521e7d Update translations 2016-05-03 16:52:59 +02:00
Marti Martz
707004a85b GM: Detect properly the UserScript metadata block on parse (#1964)
Eliminates some false positives
2016-05-03 16:50:11 +02:00
David Rosca
f93ea0e199 Fix use of deprecated QStyleOptions 2016-04-24 10:49:54 +02:00
David Rosca
56399c0fab Fix use of deprecated QStyleOptions 2016-04-24 10:17:13 +02:00
TheRoid
f9e6a7911a Update mousegestures.cpp (#1950)
Update mousegestures.cpp so that LocationBar is focused when opening a new tab
2016-04-20 10:12:10 +02:00
David Rosca
6c0f363eca Update translations
Closes #1938
2016-04-13 09:59:47 +02:00
David Rosca
e40f0a366c Update empty.ts translation files 2016-04-03 11:21:03 +02:00
David Rosca
7b48b34f8c Pull translations from Transifex 2016-04-03 11:19:13 +02:00
David Rosca
fc17444438 GM: Don't try to install userscripts from XHR
See #1903
2016-03-30 13:23:19 +02:00
David Rosca
a66e179b40 Misc fixes
Correctly initialize QJsonParserError
2016-03-30 11:53:41 +02:00
David Rosca
385f10e345 GM: Only download scripts when user clicks on link
Closes #1903
2016-03-30 08:40:00 +02:00
David Rosca
11792ee778 GM_Downloader: Fix missing emit error()
@trnkava1
2016-03-20 20:02:15 +01:00
David Rosca
6eb0693e7d Remove FollowRedirectReply
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
2f91f81089 GM Settings: Fix redrawing items when script updating state changes 2016-03-20 19:22:26 +01:00
trnkava1
b0b2820180 Greasemonkey: add script updating
- Fixed parsing @updateURL/@downloadURL
- Updating is only manual
- User have to click on update button located in Greasemonkey settings
- Update works just like download
- New version is not being checked, original script is replaced
- Fixed coding style issues

Closes #1653
2016-03-20 19:05:26 +01:00
David Rosca
46e0b9d807 GreaseMonkey: Implement include/exclude matching
Somehow I was under false impression that QtWebEngineScript
takes care of the metadata parsing. It does not, so we must
run the script only on correct sites.
2016-02-29 17:18:45 +01:00
David Rosca
4f5d3193ae GreaseMonkey: Remove GM_UrlMatcher 2016-02-28 18:29:23 +01:00
David Rosca
a37fadd8dc Don't use C++11 for with Qt containers 2016-02-27 22:13:33 +01:00
David Rosca
c2b5b479a4 GreaseMonkey: Don't assume metadata block is at the start of script
See #1869
2016-02-27 17:59:27 +01:00