summaryrefslogtreecommitdiff
path: root/libpurple/plugins.c
Commit message (Collapse)AuthorAgeFilesLines
* Add notifications when a saved plugin fails to loadGary Kramlich2023-03-301-4/+35
| | | | | | | | | | | I also did a first run at generic notifications. Testing Done: Forced some saved plugins to fail to load and verified in the notification list. Bugs closed: PIDGIN-17711 Reviewed at https://reviews.imfreedom.org/r/2401/
* Bump C standard to C99 for libpurple files and fix warningsElliott Sales de Andrade2022-12-111-7/+7
| | | | | | | Testing Done: Touched all source files and compiled; saw no new warnings. Reviewed at https://reviews.imfreedom.org/r/2122/
* Fix libpurple compile on WindowsElliott Sales de Andrade2022-11-031-0/+3
| | | | | | | | | Don't know about Pidgin yet. Testing Done: Compiled on Linux and with mingw cross-compile. Reviewed at https://reviews.imfreedom.org/r/2015/
* Stop including internal.h everywhere when we really don't need it.Gary Kramlich2022-09-121-1/+3
| | | | | | | Testing Done: Compiled, but didn't test on windows. As such I left all the networking stuff untouched as that's where windows will really need it and that can be done in another rr. Reviewed at https://reviews.imfreedom.org/r/1764/
* Remove PurplePluginAction as everything except finch as been ported to ↵Gary Kramlich2022-09-121-38/+0
| | | | | | | | | | | GAction/GMenu. The finch buddy list code has just been #if 0'd for the time being. Testing Done: Compiled and greped for `"actions-cb"` to make sure no plugins were still using the property. Reviewed at https://reviews.imfreedom.org/r/1755/
* Upgrade to gplugin 0.37.0Gary Kramlich2021-11-111-13/+2
| | | | | | | Testing Done: Ran pidgin3 from the `devenv` and verified the plugins were all still available. Reviewed at https://reviews.imfreedom.org/r/1136/
* Update everything for GPlugin 0.33.0Gary Kramlich2021-08-031-24/+36
| | | | | | | Testing Done: Compiled and connected an XMPP account. Reviewed at https://reviews.imfreedom.org/r/870/
* Fix the includes for the purpleenums renameGary Kramlich2021-08-031-1/+1
| | | | | | | Testing Done: Full build after a `meson --wipe` Reviewed at https://reviews.imfreedom.org/r/863/
* Fix warnings about changing types on assignment.Elliott Sales de Andrade2021-07-021-1/+1
| | | | | | | Testing Done: Compiled only. Reviewed at https://reviews.imfreedom.org/r/786/
* Split PurplePluginInfo out to its own fileGary Kramlich2021-06-181-328/+11
| | | | | | | Testing Done: Verified that plugins continued working. Reviewed at https://reviews.imfreedom.org/r/684/
* Use GPLUGIN_NATIVE_PLUGIN_DECLARE for all libpurple plugins and remove ↵Gary Kramlich2021-06-101-2/+2
| | | | | | | | | PURPLE_PLUGIN_INIT Testing Done: Ran an instance and verified my enabled accounts connected and everything else was queried successfully. Reviewed at https://reviews.imfreedom.org/r/741/
* Remove purple_plugins_get_handle and the associated signalsGary Kramlich2021-06-101-30/+8
| | | | | | | Testing Done: Ran and load a plugin that added stuff to the plugins menu and made sure there were no warnings/errors on exit. Reviewed at https://reviews.imfreedom.org/r/739/
* Remove PurplePluginInfo->ui_data.Elliott Sales de Andrade2020-10-071-16/+0
| | | | | | | Testing Done: Compile. Reviewed at https://reviews.imfreedom.org/r/147/
* Update for new gplugin_init signatureGary Kramlich2020-09-141-1/+1
| | | | | | | | | Update for the new signature of gplugin_init Testing Done: Compile, unittests, and a run. Reviewed at https://reviews.imfreedom.org/r/115/
* Make sure we're not including the gettext macros in header files and deal ↵Gary Kramlich2020-05-211-0/+3
| | | | with the repercussions of that.
* Make sure that internal.h can only be included by libpurple and split out ↵Gary Kramlich2020-05-011-0/+2
| | | | some pieces to purpleprivate.h
* gplugin_manager_free_plugin_list was removed in favor of g_slist_free_fullGary Kramlich2020-03-131-1/+1
|
* fix various memory leaksFabrice Bellet2019-10-211-11/+27
|
* Replace Purple type macros by GObject macros.Elliott Sales de Andrade2019-09-151-23/+0
| | | | | | These were necessary to support both static and dynamic plugins, but we're just leaving the to GPlugin now.
* Use GObject macros for some plugin types.Elliott Sales de Andrade2019-09-121-13/+2
|
* Remove extra const in purple_plugin_info_get_ui_data.Elliott Sales de Andrade2019-09-151-1/+1
|
* Remove purple_plugin_get_filename wrapper as well.Elliott Sales de Andrade2019-09-091-18/+14
|
* Remove redundant purple_plugin_info_get_* wrappers.Elliott Sales de Andrade2019-09-091-114/+3
| | | | | | These just call the equivalent gplugin_plugin_info_get_* with a few extra checks (that should exist in GPlugin already).
* Fix broken `priv != NULL` checks in libpurple.Elliott Sales de Andrade2019-08-071-18/+18
| | | | | | The `*_get_instance_private` function just returns input value + offset, so it is impossible for `priv` to be `NULL`.
* Use g_value_dup_string where needed.Elliott Sales de Andrade2019-02-071-1/+1
|
* plugins: Use the correct test macro for assertionMike Ruprecht2019-01-231-2/+2
| | | | | | This patch fixes the assertion in purple_plugin_register_type() and purple_plugin_add_interface(). I accidentally used G_TYPE_MODULE() instead of the correct G_IS_TYPE_MODULE().
* plugins: Drop consts from arguments to mirror new GPlugin 0.28 APIMike Ruprecht2018-10-211-5/+5
| | | | | | The refactored version of GPlugin 0.28 dropped const classifiers from its GObject function arguments for simplicity. This patch updates the libpurple equivalents to match and silence warnings.
* libpurple: Port to new, refactored API of GPlugin 0.28Mike Ruprecht2018-10-211-7/+7
| | | | | | | This patch updates libpurple to use GPlugin 0.28. It has refactored API in order to allow using more of the standard GObject functions and helper macros. This mainly involves using GTypeModule instead of GPlugin's old manual equivalent.
* Remove guards around GPlugin functions and libpurple plugin APIMike Ruprecht2019-01-151-150/+1
| | | | | | This patch drops #ifdef PURPLE_PLUGINS guards around GPlugin functions and libpurple API now that GPlugin and libpurple plugin support are both required.
* libpurple: Port almost self-contained code from g_type_class_add_private()Mike Ruprecht2018-12-061-54/+38
| | | | | | | | This patch ports the almost self-contained libpurple GObjects away from the deprecated g_type_class_add_private() function in favor of the G_DEFINE_TYPE_WITH_PRIVATE() macro. None of these require changes to anything other than their own .c and .h files. It removes the const qualifier from some of the functions for simplicity.
* libpurple: Remove pointer registration for DBus APIMike Ruprecht2018-10-021-4/+0
|
* Clean up a bunch of the cruft I accidentally createdGary Kramlich2017-11-241-1/+5
|
* Add PURPLE_PLUGIN_PATH environment variableMike Ruprecht2015-12-311-0/+17
| | | | This allows plugins in arbitrary paths to be loaded.
* Fix tests built on FedoraTomasz Wasilczyk2015-05-091-0/+3
|
* Merge default branchAnkit Vani2014-04-161-1/+1
|
* Use purple_plugin_action_new to create a new PurplePluginAction in its ↵Ankit Vani2014-02-231-8/+1
| | | | GBoxed copy function
* Merge gtkdoc-conversionAnkit Vani2014-02-051-10/+9
|
* Prepend newly-loaded plugins to the loaded listAnkit Vani2014-01-231-1/+1
|
* Better wording for comments in plugins.cAnkit Vani2014-01-201-4/+4
|
* Document the g_object_unref before returning a plugin info or a plugin instanceAnkit Vani2014-01-201-0/+10
|
* Add reminders to display perl and tcl status in gtkdialog when API availableAnkit Vani2014-01-181-2/+2
|
* Added the "extra-cb" property for plugins.Ankit Vani2014-01-121-0/+28
| | | | Plugins can use this callback to return a string with extra information about itself.
* Added G_PARAM_STATIC_STRINGS flag to PluginInfo propertiesAnkit Vani2013-11-171-5/+9
|
* Merged soc.2013.gobjectification branchAnkit Vani2013-11-161-10/+10
|
* Call gplugin_manager_add_default_paths() from purple_plugins_initAnkit Vani2013-10-281-0/+2
|
* Renamed plugin info callback properties to end with "-cb", and their ↵Ankit Vani2013-10-281-34/+34
| | | | | | | | | | respective symbols. - Renamed "preferences-frame" to "pref-frame-cb" - Renamed "preferences-request" to "pref-request-cb" - Renamed "get-actions" to "actions-cb" - Renamed "finch-preferences-frame" to "finch-pref-frame-cb" - Renamed "pidgin-config-frame" to "pidgin-config-frame-cb"
* Merged soc.2013.gobjectification branchAnkit Vani2013-10-241-0/+27
|
* Merged soc.2013.gobjectification branch.Ankit Vani2013-10-241-0/+16
| | | | Added ui_data to PurplePluginInfo, as well as purple_plugin_info_[gs]et_ui_data functions.
* Updated plugins.c according to GPlugin's re-namespacingAnkit Vani2013-10-141-12/+12
|
* Removed GObject property name definesAnkit Vani2013-10-111-10/+4
|