Christian Dywan
eb205d53d4
Fix test issues due to unset settings, version, session
2011-11-08 22:42:03 +01:00
Christian Dywan
c5e6b7a020
Show mismatching build version suffix for extensions
...
MIDORI_VERSION_SUFFIX resolves to a string that needs to be
added to each extension's version at build time. If it is
different than the running Midori's, it is shown in the
extension list.
2011-11-08 01:53:53 +01:00
Christian Dywan
8fff7d8fd3
sokoke, gtk3-compat, gtkiconentry, stock join midori-platform.h
...
Also introduce #define MIDORI_MODULE_PREFIX.
Fixes: https://bugs.launchpad.net/midori/+bug/884395
2011-10-31 22:18:06 +01:00
Christian Dywan
3f77b9f300
Avoid pre- and suffix with extension default configs
...
So this mainly matters to package maintainers, as the
configuration files for extensions have pre- and suffix
according to library naming of the platform. Basically
this only ever worked on Linux and Windows.
Now default configs are always installed with plain names.
2011-10-20 23:39:28 +02:00
André Stösel
037db65a38
Upon closer consideration the property "preferences" is redundant
2011-06-08 20:16:55 +02:00
André Stösel
6120fa1e49
Add new signal for extension preferences
...
If the "preferences" property is TRUE and the signal
is implemented, a button is shown next to the extension
and the callback is invoked on click.
2011-06-07 21:02:09 +02:00
Christian Dywan
355ae063a6
Fallback to / as extension folder for unit tests
2011-01-16 14:05:23 +01:00
Alexander Butenko
90a4acfc6e
Check the non-existence of folders before creating them
2009-10-20 18:24:24 +02:00
Christian Dywan
d4c9c87f79
Fix a leaked folder string when activating extensions
2009-10-04 00:02:52 +02:00
Christian Dywan
18ab34bdc8
Load extension settings from global config folders
...
For example, /etc/xdg/midori/extensions/extension_name/config
2009-10-02 23:07:36 +02:00
Przemek Sitek
7bd151a3e9
Implement an optional "website" property in MidoriExtension
2009-06-05 23:38:32 +02:00
Dale Whittaker
9c9f34180d
Implement string_list setting in MidoriExtension
2009-04-25 16:02:29 +02:00
Christian Dywan
d7f6c7ded8
Add a function to determine if an extension is being deactivated
2009-04-22 20:01:10 +02:00
Christian Dywan
05967054c6
Save extension settings to a filename based folder
...
This prevents different folders from being created depending
on the user language.
2009-04-21 03:48:25 +02:00
Christian Dywan
ddf2f60e3f
Implement "-c" or "--config" to specify a different config folder
...
If this option is specified the folder is used in place of the
default ~/.config/midori including extension settings.
2009-04-09 19:28:36 +02:00
Christian Dywan
164bd5b265
Add midori_extension_get_app and enforce a valid app
...
We change the deactivation so that an extension is regarded as
active until the 'deactivate' signal was processed. And we
define that 'activate' must be called with a valid app.
2009-03-25 02:07:27 +01:00
Christian Dywan
f64547f723
Load and save extension settings automatically
2009-03-05 22:22:18 +01:00
Matthias Kruk
7ff1a016f4
Implement activating and deactivating extensions in the panel
2009-02-28 01:59:06 +01:00
Christian Dywan
a177ac67b9
Emit a warning when trying to get or set a non-existing setting
2009-02-21 23:16:44 +01:00
Christian Dywan
2cd86150e4
Add boolean and integer settings to MidoriExtension, with tests
2009-02-20 20:24:13 +01:00
Christian Dywan
b4ba0888bf
Flag deactivated extensions as not active
2009-02-05 00:11:36 +01:00
Christian Dywan
aff3affc23
Introduce MidoriExtension setting API, strings only for now
2009-02-05 00:09:44 +01:00
Nick Schermer
f02f9fd118
Make property strings static to save some memory
2009-01-16 05:19:43 +01:00
Nick Schermer
b6e33e5399
Implement 'full' debug-level and fix according warnings
2009-01-09 23:56:00 +01:00
Christian Dywan
b5e2146249
Add midori_extension_is_active
2008-12-04 01:42:02 +01:00
Christian Dywan
30572a2b73
Add API to extensions for deactivating and configuration
2008-11-28 23:56:30 +01:00
Christian Dywan
72f39b0f82
Change extension API to split initialization and activation
...
We want to be able to keep extensions in a state where
they don't actually do anything but merely provide
context information. Therefore don't pass the MidoriApp.
As soon as we want to use extensions, we activate them.
Extensions are now saved in an array in MidoriApp.
2008-11-20 01:22:25 +01:00
Christian Dywan
3cd50f419b
Introduce a C extension interface
2008-11-18 02:07:53 +01:00