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

182 Commits

Author SHA1 Message Date
Anmol Gautam
f9ac0727c5 moved logic for QML plugins from Plugins to QmlPluginLoader 2018-05-15 20:16:47 +05:30
Anmol Gautam
30cc7a8b89 added support to load/unload QML plugins
Following methods are exposed to qml 1) init 2) unload 3) testPlugin. Also logic to load QML plugins is implemented.
2018-05-15 16:34:57 +05:30
David Rosca
94eb3161af
Merge branch 'Falkon/3.0' 2018-05-01 13:10:31 +02:00
David Rosca
3787a606d3
Rewrite internal sites to use user scripts instead of embedded code
It is no longer needed to setup web channel on unsafe js world
for internal pages, and thus it fixes issue where registering web
channel could fail in some cases.

BUG: 391875
FIXED-IN: 3.0.1
2018-05-01 13:02:46 +02:00
David Rosca
8034ace416
Merge branch 'Falkon/3.0' 2018-04-18 10:11:05 +02:00
David Rosca
30f5cd2d7e
SpeedDial: Allow to save settings when there are no pages 2018-04-18 10:08:58 +02:00
David Rosca
ec1c2c8031
Plugins: Load KDE Frameworks Integration by default inside KDE session 2018-04-02 10:28:44 +02:00
David Rosca
18cf0ce480
PyFalkon: Add pyfalkontestrunner for tests 2018-03-23 17:56:53 +01:00
David Rosca
71615c675f
Plugins: Allow to specify icon path relative to metadata directory 2018-03-02 16:34:59 +01:00
David Rosca
ea0497be55
Plugins: Don't print error twice when failed to load plugin 2018-03-01 20:49:47 +01:00
David Rosca
7308b64df6
SpeedDial: Remove default sites 2018-03-01 16:45:17 +01:00
David Rosca
0d51e0ce32
PluginInterface: Remove getTranslator 2018-02-27 11:31:34 +01:00
David Rosca
4d2f02ac45
Remove option to change language on per-profile basis
System locale is now always used.
2018-02-26 21:52:39 +01:00
David Rosca
ec1e30314c
DataPaths: Only load plugins from first path in portable build 2018-02-26 11:14:12 +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
5e1635bffa
PluginProxy: Don't pass enum as constref 2018-02-26 11:14:11 +01:00
David Rosca
13c9025c40
PluginInterface: Don't pass enum as constref 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
David Rosca
929851095a
Plugins: Rework to allow more plugin types
This should make it possible to add more plugin types (such as
JavaScript/Python/..) in the future.
Added InternalPlugin type which makes the AdBlock plugin visible
and (un)loadable in Extensions tab in Preferences.
2018-02-24 14:23:46 +01:00
David Rosca
72f9c4eb7b
DataPaths: Add locate function 2018-02-23 19:47:46 +01:00
David Rosca
f27bc89019
Plugins: Save only filename of loaded plugins
Instead of saving full plugin library path in non-portable mode.
2018-02-23 19:36:08 +01:00
David Rosca
4360ed982f
SpeedDial: Change default pages to KDE/Falkon 2018-02-16 14:40:37 +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
fd759ded62
PluginProxy: Set MainApplication as parent 2018-02-07 11:24:29 +01:00
David Rosca
977b45505c
PluginProxy: Remove QZ_REGISTER_* macros 2018-02-06 17:40:14 +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
fdeb350746 Plugins: Remove option to disable loading extensions
It can now only be globally disabled with --no-extensions switch.
It is still possible to manually disable all extensions, only the
global option to disable all extensions were removed.
2018-01-20 12:24:35 +01:00
David Rosca
d5608d823b Enable plugins by default also in portable mode
AdBlock now needs plugins enabled to be loaded.
2018-01-20 12:24:35 +01:00
Konstantin Savun
1daa0b93e6 SpeedDial (#2543) 2018-01-13 16:43:04 +01:00
David Rosca
f16580dc05 AdBlockPlugin: Change into real internal plugin 2018-01-11 19:51:47 +01:00
David Rosca
9bff0f1b5c Plugins: Remove no longer used Click2Flash settings 2018-01-11 19:51:20 +01:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
1710e284c8 SpeedDial: Fix displaying broken page image 2017-02-07 15:07:08 +01:00
David Rosca
335c6b66c5 SpeedDial: Correctly emit load error when trying to load invalid url 2017-02-07 14:52:56 +01:00
David Rosca
33aba0c93f Revert "Change background image instantly and for all speed dials"
This reverts commit 65667b95db.
2017-01-27 17:31:46 +01:00
David Rosca
d68840a32b Fix forgetting loaded plugins in portable mode 2016-12-23 15:30:41 +01:00
David Rosca
51130f4ed7 Revert "Plugins: Only resolve relative plugin paths"
This reverts commit 3447e139b5.
2016-12-23 15:11:56 +01:00
David Rosca
3447e139b5 Plugins: Only resolve relative plugin paths 2016-12-23 15:09:08 +01:00
David Rosca
6cac8b50ce Plugins: Use relative paths when NO_SYSTEM_DATAPATH is set 2016-12-23 15:01:19 +01:00
David Rosca
72b3fddb22 SpeedDial: Don't override dial title when loading fails
Showing broken image preview is enough.

Closes #1992
2016-06-14 12:02:59 +02:00
David Rosca
209ba1f44c PluginProxy: Remove plugin from wheel handlers on unload
Fixes crash when unloading AutoScroll plugin

Closes #1916
2016-04-04 21:14:40 +02:00
David Rosca
dfa04388c7 Fix build on Windows 2016-03-30 11:50:46 +02:00
Vladislav Tronko
65667b95db Change background image instantly and for all speed dials 2016-03-07 14:22:08 +02:00
David Rosca
f46364bc55 Fix typo changeOcurred -> changeOccurred 2016-02-26 10:43:34 +01:00
David Rosca
7391a6403c Change qupzilla.com links to https 2016-01-02 12:38:16 +01:00
David Rosca
d6f478be7e Remove qtwebkit-plugins 2015-10-16 23:18:39 +02:00
srazi
3fd23a54cb Plugins: Added interface for extension's submenu to Tools menu, 2015-10-15 17:43:47 +02:00
David Rosca
5024ada696 Fix showing speed dials in bookmarks icon 2015-10-14 19:52:08 +02:00