commit 32895ba4fc7f60d18ff21221f60a3a34000a9dad Author: Garrett Regier Date: Mon Jan 25 03:10:57 2016 -0800 Release 1.17.0 NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit c02a657e625ea64a5ce48d45d8d9deb5f6b63a8b Author: Aurimas Černius Date: Tue Jan 12 22:46:46 2016 +0200 Updated Lithuanian translation po/lt.po | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit 03bd90530314185e710275a1a74f1312c71e64c9 Author: Christian Hergert Date: Wed Dec 23 15:27:22 2015 -0800 Bump to 0.17.0 We really want to bump the minor, not micro version, so bump to 0.17.0 and reset interface age. configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d795494e01636067fb6abdd5b55c6120f4a5da14 Author: Christian Hergert Date: Wed Dec 23 14:14:37 2015 -0800 Bump for embedding and improved dependency ordering configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5ac602a782ff18ab7f56a5ed546aa24cc1f6c13d Author: Garrett Regier Date: Sat Dec 19 14:53:35 2015 -0800 Fix sorting of PeasEngine:plugin-list The new "better order" ended up breaking the order to be correct in regards to dependencies. https://bugzilla.gnome.org/show_bug.cgi?id=759613 libpeas/peas-engine.c | 8 ++++---- tests/libpeas/engine.c | 6 +++--- tests/libpeas/plugins/two-deps.plugin | 2 +- tests/testing-util/testing-util.c | 11 +++++++++++ 4 files changed, 19 insertions(+), 8 deletions(-) commit fe55d3190db1a09f0914720cfc94e1a7cd6de3a4 Author: Garrett Regier Date: Sat Nov 21 20:08:33 2015 -0800 Convert PeasEngine's search_paths into a GQueue libpeas/peas-engine.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit fd59261b2f7e7ca7330e9891ed76681f1ba498dc Author: Garrett Regier Date: Sat Nov 21 20:07:03 2015 -0800 Keep PeasEngine:plugin-list better ordered This is less confusing that the prior way of ordering. libpeas/peas-engine.c | 64 +++++++++++++++++------------ tests/libpeas/engine.c | 6 +-- tests/libpeas/plugins/Makefile.am | 1 + tests/{ => libpeas}/plugins/two-deps.plugin | 2 +- tests/plugins/Makefile.am | 5 +-- tests/testing-util/testing-util.c | 10 ----- 6 files changed, 44 insertions(+), 44 deletions(-) commit fb7e9a509af15f880f4cb495a834b23d808a193d Author: Garrett Regier Date: Fri Nov 20 19:43:41 2015 -0800 Add debug message for PeasEngine:plugin-list This is useful to debug the order in which plugins are stored and how other API behaves in regards to that order. https://bugzilla.gnome.org/show_bug.cgi?id=758446 libpeas/peas-engine.c | 85 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 66 insertions(+), 19 deletions(-) commit e07d2844b6ab78ceefd4e2f746967b85c0da3236 Author: Garrett Regier Date: Wed Nov 18 00:38:11 2015 -0800 Keep plugins order in PeasExtensionSet The PeasEngine orders the plugin-list based on dependencies and it should be maintained. https://bugzilla.gnome.org/show_bug.cgi?id=758446 libpeas/peas-extension-set.c | 30 ++++++++++++++------------- tests/libpeas/extension-set.c | 48 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 14 deletions(-) commit ddd65c849420fa390977971208c7a8ea2d8ea6a3 Author: Garrett Regier Date: Tue Nov 17 23:23:03 2015 -0800 Order the PeasEngine:plugin-list by dependencies Otherwise PeasExtensionSet could add an extension for a plugin before that of a plugin it depends on. https://bugzilla.gnome.org/show_bug.cgi?id=758446 libpeas/peas-engine.c | 49 ++++++++++++++++++++++++++++++++------- tests/libpeas/engine.c | 34 +++++++++++++++++++++++++++ tests/plugins/Makefile.am | 1 + tests/plugins/two-deps.plugin | 7 ++++++ tests/testing-util/testing-util.c | 15 ++++++++++-- 5 files changed, 96 insertions(+), 10 deletions(-) commit b19f1cea0fdc5b91ed6ef6d40ff67f9dcd217eda Author: Garrett Regier Date: Fri Nov 20 19:50:48 2015 -0800 Add support for embedded C plugins 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 .gitignore | 2 + configure.ac | 1 + docs/reference/libpeas-docs.sgml | 4 + docs/reference/libpeas-sections.txt | 2 + libpeas/peas-engine.c | 78 ++++++++++-- libpeas/peas-object-module.c | 122 +++++++++++++++---- libpeas/peas-object-module.h | 3 + libpeas/peas-plugin-info-priv.h | 1 + libpeas/peas-plugin-info.c | 59 ++++++++- libpeas/peas-plugin-loader-c.c | 22 ++-- tests/libpeas/Makefile.am | 2 + tests/libpeas/extension-c.c | 65 ++++++++++ tests/libpeas/plugins/Makefile.am | 2 +- tests/libpeas/plugins/embedded/Makefile.am | 55 +++++++++ .../embedded/embedded-invalid-loader.plugin | 8 ++ .../embedded/embedded-missing-symbol.plugin | 7 ++ tests/libpeas/plugins/embedded/embedded-plugin.c | 135 +++++++++++++++++++++ tests/libpeas/plugins/embedded/embedded-plugin.h | 52 ++++++++ .../plugins/embedded/embedded.gresource.xml | 7 ++ tests/libpeas/plugins/embedded/embedded.plugin | 7 ++ tests/libpeas/testing/testing.c | 19 ++- 21 files changed, 606 insertions(+), 47 deletions(-) commit 8327a10b367397462ba680bfa8c7bba334dfbd08 Author: Garrett Regier Date: Fri Nov 20 03:44:30 2015 -0800 Cleanup resource generation in the plugin loaders .gitignore | 2 +- loaders/lua5.1/Makefile.am | 13 ++----------- loaders/lua5.1/resources/Makefile.am | 23 +++++++++++++++-------- loaders/python/Makefile.am | 14 ++++++++++---- loaders/python3/Makefile.am | 19 ++++++++++++------- 5 files changed, 40 insertions(+), 31 deletions(-) commit db4aec161947ef6611cea73c1908e3168d6f052d Author: Garrett Regier Date: Fri Nov 20 03:13:12 2015 -0800 Cleanup handling G_DEBUG in testing-utils tests/testing-util/testing-util.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit e0bdd7f9ee0535c0c147f5c9a523bbc0139e1660 Author: Garrett Regier Date: Fri Nov 20 03:11:38 2015 -0800 Cleanup the coding style in PeasObjectModule libpeas/peas-object-module.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 57d82ee7f8aff6c743d41bda778531111215f54d Author: Garrett Regier Date: Fri Nov 20 03:11:03 2015 -0800 Add various checks to PeasObjectModule functions libpeas/peas-object-module.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit d3db313b4fb019071a496ef77062ffedfcb99211 Author: Garrett Regier Date: Fri Nov 20 03:07:22 2015 -0800 Cleanup the PeasExtensionSet tests Use a helper to create the PeasExtensionSet and load the plugins. Also rename two of the tests to actually mention what is being tested. tests/libpeas/extension-set.c | 138 +++++++++++++++++++++--------------------- 1 file changed, 69 insertions(+), 69 deletions(-) commit da70b5e08bd3699e0f8c6acddba979bfe7725260 Author: Garrett Regier Date: Fri Nov 20 02:45:56 2015 -0800 Avoid a class ref/unref when creating C extensions No point in doing this each time when it can be done just once. Also verify that the property is of the correct type. libpeas/peas-object-module.c | 59 +++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 20 deletions(-) commit f6dac8247dad2a8f684c9598cf1a454fba7ee902 Author: Garrett Regier Date: Fri Nov 20 02:44:09 2015 -0800 Be more strict in peas_object_module_register_extension_type() Before it was possible to specify that the iface_type was that of PeasPluginLoader and bypass the check that the extensin type is of the iface_type. libpeas/peas-object-module.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 8f94bf5d5caa8ec8961fecf5c4b20ae0393d62e8 Author: Garrett Regier Date: Fri Nov 20 02:33:25 2015 -0800 Link against libpeas for the extension-c plugin tests/libpeas/plugins/extension-c/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit f9c5dedabae004126b01e84865c3cc51166f21aa Author: Garrett Regier Date: Fri Nov 20 02:30:12 2015 -0800 Verify that no plugins are loaded in the extension garbage collect test We are specificly verifying that calling garbage collect when no plugins are loaded does not hit a failure condition. So just to be sure, make sure there are no other plugins loaded. tests/libpeas/testing/testing-extension.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 0926575d66db61ccff11213bc1a198a154a53497 Author: Garrett Regier Date: Fri Nov 20 02:28:24 2015 -0800 Rename the unknown property in the extension test This makes the error message more explicit. tests/libpeas/testing/testing-extension.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8b539f808ac5a79a2c797915eb2c8ae1e68b667a Author: Garrett Regier Date: Fri Nov 20 02:26:30 2015 -0800 Remove the Has Missing Prerequisite extension test This hasn't been used since the GJS plugin loader was removed and is no longer needed. tests/libpeas/introspection/Makefile.am | 16 +++---- .../introspection-has-missing-prerequisite.c | 37 --------------- .../introspection-has-missing-prerequisite.h | 52 ---------------------- tests/libpeas/testing/testing-extension.c | 19 -------- 4 files changed, 7 insertions(+), 117 deletions(-) commit a1dba0c613226faefb2eb620380097c9776cdedb Author: Garrett Regier Date: Fri Nov 20 02:24:58 2015 -0800 Intern the "plugin-info" string in class_init libpeas/peas-plugin-loader-c.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4480c359be81c2d01cbfce10fe3f1de7ca3cfaf4 Author: Garrett Regier Date: Fri Nov 20 02:24:22 2015 -0800 Initialize the peas-extension-type quark in class_init when possible libpeas/peas-plugin-loader-c.c | 7 ++++--- loaders/lua5.1/peas-plugin-loader-lua.c | 7 ++++--- loaders/python/peas-plugin-loader-python.c | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) commit 593503693c7ced999f20f12c772296736ed3e7b8 Author: Garrett Regier Date: Fri Nov 20 02:22:33 2015 -0800 Chain-up in PeasExtensionSet.dispose() libpeas/peas-extension-set.c | 2 ++ 1 file changed, 2 insertions(+) commit e1abb1c60b2478437e883f18487b03a57c5da294 Author: Garrett Regier Date: Fri Nov 20 02:22:03 2015 -0800 Chain-up in PeasGtkPluginManagerView.row_activated() Just in case the parent provides an implementation. libpeas-gtk/peas-gtk-plugin-manager-view.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 94b8426b5a7c634a3d36bd087350ddb6abdd06ae Author: Garrett Regier Date: Fri Nov 20 02:20:25 2015 -0800 Rename a parameter to be less cryptic tests/libpeas/extension-lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 69718591e10fccdd2bb05cba859af291d021a0d5 Author: Jeff Bai Date: Thu Nov 12 19:38:18 2015 +0800 Update zh_CN translations po/zh_CN.po | 82 ++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 34 deletions(-) commit 3d4905e4fe8e5f91ad8e6be76b0e384f59203c20 Author: Cédric Valmary Date: Tue Nov 10 14:03:38 2015 +0000 Updated Occitan translation po/oc.po | 154 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 84 insertions(+), 70 deletions(-) commit fb6602a6efb090e8d25f060265381c5d6001c8ef Author: Inaki Larranaga Murgoitio Date: Wed Oct 14 13:51:33 2015 +0200 Updated Basque language po/eu.po | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) commit f4d5f941e7003c1cb05d601ed50ab98a182579dc Author: Милош Поповић Date: Wed Sep 23 08:46:15 2015 +0000 Updated Serbian Latin translation po/sr@latin.po | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) commit 46bf4a0787498d528e1589f599bc564c94750194 Author: Марко Костић Date: Wed Sep 23 08:45:01 2015 +0000 Updated Serbian translation po/sr.po | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) commit f0ceed9a8fe85698a8e510e473279b2712643be1 Author: Garrett Regier Date: Mon Sep 21 20:51:00 2015 -0700 Do not add pyexecdir to Python's paths at runtime This seems to be a bugfix for jhbuild from 2009 and is no longer needed. It has also been known to cause issues for some. configure.ac | 4 ---- loaders/python/Makefile.am | 1 - loaders/python/peas-python-internal.c | 2 -- loaders/python/peas-python-internal.py | 1 - loaders/python3/Makefile.am | 1 - 5 files changed, 9 deletions(-) commit f19fb5ac96573662b6e8b3f4615692fa345285bd Author: Garrett Regier Date: Tue Sep 22 00:07:05 2015 -0700 Use gint64 in peas_lua_utils_check_version() This is required as we are using g_ascii_strtoll() and checking for G_MAXINT64. loaders/lua5.1/peas-lua-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 41852acf7b3dc758c7ff285b41e1a6c8f8ab8d0b Author: Garrett Regier Date: Mon Sep 21 22:13:02 2015 -0700 Support G_DEBUG in the test suite This is broken because the GLib test utilities change the default. tests/testing-util/testing-util.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 3900941734f16ea1c9f6b22768d79bfa6ba7889b Author: Garrett Regier Date: Mon Sep 21 22:10:33 2015 -0700 Simplify test hook pop message generation tests/testing-util/testing-util.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit b410af079ad2bbb41f6c070d760d9608878b41ca Author: Garrett Regier Date: Mon Sep 21 22:08:52 2015 -0700 Cleanup the tests thread local data This fixes various tools not realizing that the data has been taken care of correctly. tests/testing-util/testing-util.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit e4144d80baca67dd7078ba613d91c8316eef212f Author: Garrett Regier Date: Mon Sep 21 21:53:15 2015 -0700 Small plugin loader info fixes libpeas/peas-engine.c | 5 +++++ 1 file changed, 5 insertions(+) commit 5085a1b17fed682feaa2511d30d908fa860f5287 Author: Garrett Regier Date: Mon Sep 21 21:46:38 2015 -0700 Add PEAS_UTILS_C_LOADER_ID This simplifies various C plugin loader specific code. libpeas/peas-engine.c | 12 +++++++++--- libpeas/peas-plugin-info.c | 2 +- libpeas/peas-utils.h | 3 ++- 3 files changed, 12 insertions(+), 5 deletions(-) commit 12bedd69a6e6db7f139ea0e97d16a6efbcc53faf Author: Garrett Regier Date: Mon Sep 21 21:41:30 2015 -0700 Remove PeasEngine's custom constructor This allows it to use a fast-path in GObject and generally cleans up the code. libpeas/peas-engine.c | 47 ++++++++++++++++++----------------------------- 1 file changed, 18 insertions(+), 29 deletions(-) commit bf43336ed9183b55c0c0e17a25676eec4c4160ad Author: Garrett Regier Date: Mon Sep 21 21:36:17 2015 -0700 Add peas_utils_get_loader_module_from_id() This simplifies loading a plugin loader's module. libpeas/peas-engine.c | 17 +++-------------- libpeas/peas-utils.c | 20 ++++++++++++++++++-- libpeas/peas-utils.h | 2 ++ 3 files changed, 23 insertions(+), 16 deletions(-) commit 9e2a607a18f3ad585b06ea3605140889a1366e0f Author: Garrett Regier Date: Mon Sep 21 21:33:44 2015 -0700 Small coding style cleanup libpeas/peas-engine.c | 7 +++++-- libpeas/peas-utils.c | 13 +++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) commit 63889482442b64226a382bd638b95fc18c0a470a Author: Garrett Regier Date: Mon Sep 21 21:31:54 2015 -0700 Fix some documentation libpeas/peas-engine.c | 7 +++---- libpeas/peas-object-module.c | 2 +- libpeas/peas-plugin-loader-c.c | 2 +- loaders/lua5.1/peas-plugin-loader-lua.c | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) commit 883795176e8b1b4e5ff887af192812607da65ede Author: Garrett Regier Date: Mon Sep 21 20:59:33 2015 -0700 Remove an obsolete line from the configure overview output configure.ac | 1 - 1 file changed, 1 deletion(-) commit 9e6b79b97b7414c0d891d7747372d39626530ce4 Author: Garrett Regier Date: Mon Sep 21 20:58:27 2015 -0700 Document PeasExtensionBase properties libpeas/peas-extension-base.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit cbcd46be0f17e652028ee5fcce78b6aa6b2f1fc2 Author: Garrett Regier Date: Mon Sep 21 20:54:08 2015 -0700 Intern all signal names This avoids pointless allocations. libpeas-gtk/peas-gtk-plugin-manager-view.c | 2 +- libpeas/peas-engine.c | 4 ++-- libpeas/peas-extension-set.c | 8 +++++--- libpeas/peas-i18n.h | 3 +++ po/POTFILES.in | 1 + 5 files changed, 12 insertions(+), 6 deletions(-) commit 6479a04dbc28a66e7c5df8789b3f22b73762511c Author: Garrett Regier Date: Tue Sep 1 14:10:11 2015 -0700 Fix Python plugin loader module paths Popping the first item from the module paths was only required when PySys_SetArgv() was used. https://bugzilla.gnome.org/show_bug.cgi?id=753401 loaders/python/peas-python-internal.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)