summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-loader-c.c
Commit message (Collapse)AuthorAgeFilesLines
* janitorial: use char and int over gchar and gintChristian Hergert2023-03-221-2/+2
|
* plugin-loader-c: modernize GType definitionChristian Hergert2023-03-221-21/+12
| | | | No need for Private data, we can store it directly in the instance struct.
* extension: use GObject instead of PeasExtensionChristian Hergert2023-03-221-1/+1
| | | | | | Now that there is no longer wrapped objects and calling via GObject Introspection, we can remove the use of PeasExtension and simply use GObject (as it was internally already).
* janitorial: make PeasPluginInfo a GObjectChristian Hergert2023-03-221-1/+1
| | | | | | 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: ignore GParameter deprecationsChristian Hergert2023-03-221-0/+2
| | | | | | There is still much plumbing to modernize to remove GParameter from the lower layers of libpeas, so ignore them for now to keep our compiler warnings cleaner.
* janitorial: remove HAVE_CONFIG_HChristian Hergert2023-03-221-3/+1
| | | | | There is no need to do the HAVE_CONFIG_H thing with meson. We always have a config.h so just include it unconditionally.
* 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.
* build: specify min/max glib versions in meson.buildChristian Hergert2019-10-241-2/+0
| | | | | | This ensures that we don't use API that we cannot use, but also ensures that we don't need to litter the source code with begin/end ignore deprecations.
* libpeas: ignore GParameter deprecationChristian Hergert2019-08-051-0/+2
| | | | | | | | | | | The API we use here relies on GParameter, and while it may be deprecated from GLib, the API will have to live for some time in libpeas itself. Instead, we can disable deprecations and rely on the GLib compiler warnings for projects that are consuming these APIs. Doing so also frees up a lot of our console output in builds to ensure people see other deprecations that need to be adjusted.
* Add support for embedded C pluginsGarrett Regier2015-12-151-7/+15
| | | | | | | | 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
* Intern the "plugin-info" string in class_initGarrett Regier2015-12-151-1/+3
|
* Initialize the peas-extension-type quark in class_init when possibleGarrett Regier2015-12-151-3/+4
|
* Fix some documentationGarrett Regier2015-09-221-1/+1
|
* Relicense as LGPL 2.1+Garrett Regier2015-02-141-11/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=599120
* Use g_newa() when possibleGarrett Regier2015-02-041-2/+1
|
* Use new GObject private APIGarrett Regier2014-12-201-20/+21
|
* Load C plugins with local linkageThomas Martitz2014-12-181-3/+5
| | | | | | | | | | | | C extensions can bring arbitrary symbols into the global symbol table which is then shared with all other extensions and the main binary. This is a recipe for symbol clashes which are hard to debug. Using G_MODULE_BIND_LOCAL provides proper isolation and makes applications more robust. Based on a patch by Thomas Martitz https://bugzilla.gnome.org/show_bug.cgi?id=740823
* Use the GQuark API for GObject dataGarrett Regier2014-12-181-2/+5
|
* Make the C plugin loader thread-safeGarrett Regier2014-11-181-57/+43
| | | https://bugzilla.gnome.org/show_bug.cgi?id=739619
* Remove everything the seed plugin loader usedGarrett Regier2014-11-041-4/+4
| | | | | | | This is no longer needed as the seed plugin loader has been removed. https://bugzilla.gnome.org/show_bug.cgi?id=739306
* Remove extra semicolon in G_DEFINE_*Garrett Regier2014-05-291-1/+1
|
* Import the C plugin loader into libpeasGarrett Regier2012-02-101-0/+213