summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-info.c
Commit message (Collapse)AuthorAgeFilesLines
* plugin-info: add PeasPluginInfo:hidden propertyChristian Hergert2023-03-221-0/+10
|
* plugin-info: add PeasPluginInfo:builtin propertyChristian Hergert2023-03-221-0/+10
| | | | This can be used to filter plugins using GtkFilterListModel.
* plugin-info: add resource methods to PeasPluginInfoChristian Hergert2023-03-221-0/+79
| | | | Related #20
* plugin-info: remove duplicate definition of I_()Christian Hergert2023-03-221-2/+0
|
* libpeas: update docs to use python as loader nameChristian Hergert2023-03-221-1/+1
|
* plugin-info: expose various data as propertiesChristian Hergert2023-03-221-0/+147
| | | | | This allows for data binding using g_object_bind_property() and similar in applications.
* plugin-info: fix usage of char including constnessChristian Hergert2023-03-221-29/+29
| | | | | We use `const char * const *` for read-only char** arrays. Additionally, stop using gchar and instead use char directly.
* janitorial: make PeasPluginInfo a GObjectChristian Hergert2023-03-221-44/+37
| | | | | | This will allow us to use PeasPluginInfo in a GListModel (and therefore expose them in a PeasEngine using GListModel). Properties are not yet exposed but will be in the future.
* janitorial: add SPDX-License-Identifier: LGPL-2.1-or-laterChristian Hergert2023-03-221-0/+2
| | | | | Just a nice thing to have in headers to make it clearer for people who casually find themselves reading, and perhaps copying, the code.
* mark nullable functionsMaximiliano Sandoval R2022-03-131-2/+2
|
* gi-docgen: Port individual docstringsMaximiliano Sandoval R2022-03-131-21/+24
|
* i18n: simplify i18n for use within libpeasChristian Hergert2020-01-191-2/+1
| | | | | | | | | | | | | | We don't need a public (but not exposed via headers) function in our ABI to do gettext. Instead, we can just wrap _() to use g_dgettext() with a predefined GETTEXT_PACKAGE. Additionally, instead of requiring callers to check/initialize the libpeas gettext textdomain, we can use a static constructor to set that up once at startup. Related !24 Fixes #35
* version: add version macros and use them for public APIChristian Hergert2019-08-051-3/+1
| | | | | | This adds the necessary bits to specify what is public ABI and what version it has been added. A followup commit will alter things so that we limit what symbols are visibile.
* Add support for embedded C pluginsGarrett Regier2015-12-151-3/+56
| | | | | | | | This adds the new key Embedded to the .plugin file which specifies the function to call instead of peas_register_types to perform that same job. https://bugzilla.gnome.org/show_bug.cgi?id=721693
* Add PEAS_UTILS_C_LOADER_IDGarrett Regier2015-09-221-1/+1
| | | | This simplifies various C plugin loader specific code.
* Relicense as LGPL 2.1+Garrett Regier2015-02-141-13/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=599120
* Fix two memory leaksGarrett Regier2014-12-201-0/+2
|
* Use G_DEFINE_QUARKGarrett Regier2014-12-181-13/+2
|
* Add missing since annotations to PeasPluginInfo APIGarrett Regier2014-12-181-0/+4
|
* Make the C plugin loader thread-safeGarrett Regier2014-11-181-0/+2
| | | https://bugzilla.gnome.org/show_bug.cgi?id=739619
* No longer use a GHashTable for storing the plugin loadersGarrett Regier2014-11-041-12/+22
| | | | | | | Replace with a static array and functions to convert from a loader name to an id and back. Also, warn if an unknown loader is given to peas_engine_enable_loader() or specified in a .plugin file.
* Cleanup PeasPluginInfo coding style and docsGarrett Regier2014-11-041-72/+55
|
* Update URLs for gnome.org changesGarrett Regier2014-11-041-2/+2
|
* Fix a few typosGarrett Regier2013-02-141-1/+0
|
* Mention the section name for malformed .plugin filesBastien Nocera2012-07-061-2/+2
| | | | | | | This would have saved me some time, trying to port an old plugin with the section "[Totem Plugin]" instead of "[Plugin]". https://bugzilla.gnome.org/show_bug.cgi?id=679507
* Added peas_plugin_info_get_external_data()Garrett Regier2012-03-281-0/+57
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671934
* Added peas_plugin_info_get_settings()Garrett Regier2012-02-101-0/+75
|
* Bump glib version to 2.28Garrett Regier2011-12-081-12/+4
|
* Allow the copyright to be a string list and join it with newlinesGarrett Regier2011-09-181-3/+9
|
* Fix FSF AddressGarrett Regier2011-08-281-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=652993
* Make peas_plugin_info_get_authors() consistent with other API.Garrett Regier2011-03-261-0/+2
| | | | | The PeasPluginInfo getters usually return an empty array rather than NULL, so let's be consistent here.
* Drop IAge support for now.Steve Frécinaux2011-03-251-28/+0
| | | | | | The API will change for IAge, and nobody really uses it right now, so better remove it completely for now and add a sensible API later than having to try and support this API until libpeas 2.0
* Add PeasPluginInfo:HiddenGarrett Regier2011-02-181-0/+31
| | | | This allows plugins be be hidden even when builtin plugins are being shown in the plugin manager.
* Drop PeasPluginInfo:file as it is unusedGarrett Regier2011-02-181-3/+0
|
* Drop peas_plugin_info_get_keys()Garrett Regier2011-02-141-101/+0
| | | | | It is not used by anyone, is bad API and has only been used for Builtin plugins in Totem. But now that we have that it's no longer needed.
* Add (array zero-terminated=1) annotation to APIGarrett Regier2011-02-111-2/+2
|
* Show a tooltip for unavailable pluginsGarrett Regier2011-02-101-1/+24
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=511672
* Annotation and documentation fixesGarrett Regier2011-01-201-3/+3
|
* Fix memory leak in PeasPluginInfoGarrett Regier2011-01-161-12/+11
|
* Add a warning if IAge is not found when creating PeasPluginInfoGarrett Regier2010-12-151-1/+4
|
* Fix some doc strings (replace PeasUI with PeasGtk)Garrett Regier2010-12-151-1/+1
|
* Fix the example of a plugin info file in docs.Steve Frécinaux2010-10-041-3/+4
| | | | The header has changed from [YourApp Plugin] to [Plugin].
* Drop application-specific naming in the info file format.Steve Frécinaux2010-10-021-33/+21
| | | | | | | | | | | | | | | | | | There were previously two places where the application name were used in the plugin info format: - the file extension was .appname-plugin - the INI section was [AppName Plugin] This patch drop those and uses a more generic naming: - the file extension is now .plugin - the INI section is now [Plugin] This makes one less (rather useless) value to provide to the engine, and besides it is consistent with what others do in the same field (Mozilla, for instance, uses a single .xpi extension for all the applications using XPInstall). https://bugzilla.gnome.org/show_bug.cgi?id=631165
* Fix most introspection warningsGarrett Regier2010-09-201-2/+2
| | | The scanner became much more picky.
* Update PeasPluginInfo documentation.Steve Frécinaux2010-07-281-12/+81
|
* Add basic support for plugin dependencies.Steve Frécinaux2010-07-271-0/+42
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=625156
* A few documentation fixesGarrett Regier2010-07-261-1/+1
|
* Added a Help button to the plugin managerGarrett Regier2010-07-221-0/+37
| | | | | | | | | The help button is added automatically to the plugin configuration dialog if the plugin-info file contains a Help: key containing a valid URI (either http:// or ghelp://). Platform specific overrides are supported as well. https://bugzilla.gnome.org/show_bug.cgi?id=623370
* Kill peas-ui-plugin-info.hSteve Frécinaux2010-07-221-0/+21
| | | | The single function it contained was moved to peas-plugin-info.h
* Replaced invisible plugins with builtin pluginsGarrett Regier2010-07-141-37/+28
| | | | | | | | | | | | | | | | | | | | "Visible" plugins are replaced by "builtin" ones. The "builtin" value is read from the plugin info file. A builtin plugin has the same behaviour as previous invisible plugins: they cannot be enabled or disabled by the user, and they are hidden in the plugin manager. The application can still do what it wants with builtin plugins, as libpeas doesn't handle autoloading them. It means that totem can drop the "set visibility" code and just load the plugin straight away when a "builtin" plugin is found. It also means that anjuta can handle loading and unloading them as required. A later patch is planned to introduces a "show-builtins" property in the plugin manager, effectively allowing to show or hide those plugins without the weird "show-invisible" naming. https://bugzilla.gnome.org/show_bug.cgi?id=621858