commit ba4ac0ed4be2b24f418c58051c31a43b35280781 Author: Steve Frécinaux Date: Thu Mar 10 11:56:02 2011 +0100 Increase pygobject dependency to 2.28.0 This release fixes refcounting bugs that are important for us. https://bugzilla.gnome.org/show_bug.cgi?id=639597 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 9eaab35364a18c9a67bb414629b0539784261872 Author: Steve Frécinaux Date: Mon Mar 7 19:19:34 2011 +0100 Do not drop all the test plugin files when running make distclean. Those are not generated so they shouldn't get discarded by the build system. tests/libpeas-gtk/plugins/Makefile.am | 1 - .../plugins/builtin-configurable/Makefile.am | 1 - tests/libpeas-gtk/plugins/configurable/Makefile.am | 1 - .../plugins/valid-custom-icon/Makefile.am | 1 - tests/libpeas/plugins/Makefile.am | 1 - tests/libpeas/plugins/extension-c/Makefile.am | 1 - tests/libpeas/plugins/extension-python/Makefile.am | 1 - tests/libpeas/plugins/extension-seed/Makefile.am | 1 - tests/plugins/Makefile.am | 1 - tests/plugins/builtin/Makefile.am | 1 - tests/plugins/has-dep/Makefile.am | 1 - tests/plugins/loadable/Makefile.am | 1 - tests/plugins/self-dep/Makefile.am | 1 - 13 files changed, 0 insertions(+), 13 deletions(-) commit 9f7f9917e57706fe843fd87650542e5beb098610 Author: Steve Frécinaux Date: Mon Mar 7 19:14:56 2011 +0100 Drop obsolete CFLAGS and LIBS variables. Those date back to the glorious time of pygtk. They were not set anymore. loaders/python/Makefile.am | 6 +----- tests/libpeas/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) commit 21be89bf572efa80769ebb43e353b38f730b71a3 Author: Steve Frécinaux Date: Mon Mar 7 11:48:44 2011 +0100 Python: add a PeasActivatable test to check reference counts. The python bindings used to leak references on the object instance we put in the property value. So let's check it doesn't happen again since it was preventing eog to shut down. tests/libpeas/extension-python.c | 46 +++++++++++++++++++- .../plugins/extension-python/extension-python.py | 16 ++++++- 2 files changed, 60 insertions(+), 2 deletions(-) commit 1ab75ec6e1036600ee3a1d14d8d6e39f9f1d49e3 Author: Steve Frécinaux Date: Sun Mar 6 19:47:32 2011 +0100 Add a test to check the refcount of python extensions. loaders/python/peas-extension-python.c | 21 ++++++++++++++++++- tests/libpeas/Makefile.am | 1 + tests/libpeas/extension-python.c | 34 ++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletions(-) commit 6ba828d38c7e3b985a64c12ba7ca7dd38d67de6d Author: Steve Frécinaux Date: Sun Mar 6 19:34:11 2011 +0100 Add a test to check the refcount of the instance of C extensions To do so I had to make the "instance" property of PeasExtensionC readable. loaders/c/peas-extension-c.c | 21 ++++++++++++++++++- tests/libpeas/extension-c.c | 32 +++++++++++++++++++++++++++++ tests/libpeas/testing/testing-extension.h | 9 +++++++- 3 files changed, 60 insertions(+), 2 deletions(-) commit cc7dbeb1ecaaec973d6e14689e45cff519c6dea3 Author: Steve Frécinaux Date: Sun Mar 6 19:16:20 2011 +0100 Tests: do not include main() in the EXTENSION_TESTS macro tests/libpeas/extension-c.c | 12 +++++++++++- tests/libpeas/extension-python.c | 12 +++++++++++- tests/libpeas/extension-seed.c | 7 +------ tests/libpeas/testing/testing-extension.h | 26 ++++++++------------------ 4 files changed, 31 insertions(+), 26 deletions(-) commit 4a4b41dab2db8f51e2076f8aadbcab4c96b7be30 Author: Steve Frécinaux Date: Sun Mar 6 19:05:09 2011 +0100 Use properties to store python and C extension instances This is meant to make testing of loader-specific stuff easier. loaders/c/peas-extension-c.c | 46 +++++++++++++++++++++++++----- loaders/python/peas-extension-python.c | 48 +++++++++++++++++++++++++++---- 2 files changed, 79 insertions(+), 15 deletions(-) commit 173394286b788764b7d8fea49b04a50ff2e70f6b Author: Steve Frécinaux Date: Sun Mar 6 18:58:41 2011 +0100 Seed: remove unused value in enum loaders/seed/peas-extension-seed.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 0c8fc7a5c068df1673a459ac1ff399b2cf827e65 Author: Garrett Regier Date: Mon Mar 7 08:04:34 2011 -0800 Small introspection and extension-c properties cleanup G_PARAM_CONSTRUCT is pointless in a write-only property. .../introspection/introspection-properties.c | 2 +- .../plugins/extension-c/properties-plugin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 65c5d8400116bfc25de701687c50566c164c4945 Author: Garrett Regier Date: Mon Mar 7 08:03:16 2011 -0800 Enable all Python property tests tests/libpeas/extension-python.c | 45 +------------------- .../plugins/extension-python/extension-python.py | 15 ++----- 2 files changed, 5 insertions(+), 55 deletions(-) commit e8a73351d9b520420605f59df2c2b9feef02c923 Author: Garrett Regier Date: Mon Mar 7 08:02:47 2011 -0800 Don't test properites for things that should fail This has issues when the log is redirected like in the Python loader. tests/libpeas/testing/testing-extension.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) commit 8c819c777682e87381c193c0bbb3e8124d7181ad Author: Garrett Regier Date: Mon Mar 7 08:00:27 2011 -0800 Use GObject API instead of GI API to override properties libpeas/peas-extension-subclasses.c | 38 ++++++++++++++-------------------- 1 files changed, 16 insertions(+), 22 deletions(-) commit 6a3dcd627a57546522c6f4d1f8d9c8526869d7d4 Author: Garrett Regier Date: Mon Mar 7 01:49:04 2011 -0800 Fix releasing the gil state in the Python loader loaders/python/peas-plugin-loader-python.c | 24 ++++++++++-------------- 1 files changed, 10 insertions(+), 14 deletions(-) commit 348cbd3342f8df18d026459d7925d24f723a4d1f Author: Garrett Regier Date: Mon Mar 7 01:47:35 2011 -0800 Fix possible memory leak in Python loader loaders/python/peas-plugin-loader-python.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d321fdd1d39d1b15b008ce884ea8a5d0fbc8546e Author: Garrett Regier Date: Mon Mar 7 01:42:34 2011 -0800 Don't save and restore stdout and stderror in construct-only test This trick was not meant to be commited. tests/libpeas/testing/testing-extension.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) commit 3f9e55319c215e7ac216bfa75894061a747dee4d Author: Garrett Regier Date: Mon Mar 7 01:43:31 2011 -0800 Small cleanup in PeasObjectModule libpeas/peas-object-module.c | 11 +---------- 1 files changed, 1 insertions(+), 10 deletions(-) commit 934e64e907f585c01ff023fdffe9b4a7ada4e28a Author: Garrett Regier Date: Sun Mar 6 06:28:45 2011 -0800 Remove plugins that fail to load in the C plugin loader loaders/c/peas-plugin-loader-c.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 2b0c6531e63acb60eacabd43694da43d324ea32b Author: Steve Frécinaux Date: Thu Jan 20 16:55:19 2011 +0100 Python: cleanup the way we instantiate new extensions loaders/python/peas-plugin-loader-python.c | 48 ++++++--------------------- 1 files changed, 11 insertions(+), 37 deletions(-) commit 0a6d215f42c82be9cb69c81165abbc1b7e5cc418 Author: Steve Frécinaux Date: Sun Mar 6 17:10:14 2011 +0100 Add a sample vala plugin. https://bugzilla.gnome.org/show_bug.cgi?id=622664 .gitignore | 1 + configure.ac | 32 ++++++++++++- peas-demo/plugins/Makefile.am | 4 ++ peas-demo/plugins/valahello/Makefile.am | 22 +++++++++ .../valahello/peasdemo-vala-hello-plugin.vala | 49 ++++++++++++++++++++ peas-demo/plugins/valahello/valahello.plugin | 7 +++ 6 files changed, 114 insertions(+), 1 deletions(-) commit e69e2565ea18bf1282f49cb10306442fe2f1159b Author: Garrett Regier Date: Sun Mar 6 06:28:21 2011 -0800 Fix test-gdb, test-valgrind and test-callgrind rules Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f2569787d8b965da824662fa0c1974364090a807 Author: Garrett Regier Date: Sun Mar 6 05:00:48 2011 -0800 Return FALSE if creating the view's popup failed libpeas-gtk/peas-gtk-plugin-manager-view.c | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) commit 943c9691f49a336476b50926115804e199d6bc28 Author: Garrett Regier Date: Sun Mar 6 04:58:46 2011 -0800 Don't select the first plugin when reloading We don't do this in other places so don't bother. libpeas-gtk/peas-gtk-plugin-manager-view.c | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) commit bd6cdece900e71491173ca8db981f85b04871215 Author: Garrett Regier Date: Sun Mar 6 04:52:17 2011 -0800 Fix GTK+ 2 test build libpeas-gtk/peas-gtk-disable-plugins-dialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4dc3060ab6fbdbf0b17ac7f4770cb98da97e940b Author: Steve Frécinaux Date: Sun Mar 6 15:58:52 2011 +0100 Ensure we hold the GIL when calling into python extensions. This fixes a crash in python 3.0, despite it doesn't seem to affect older python versions at all. loaders/python/peas-extension-python.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit fb42727555f1390d595c3cc2697835e2e99346af Author: Steve Frécinaux Date: Sun Mar 6 15:06:19 2011 +0100 Make libpeas build with Python 3 loaders/python/peas-plugin-loader-python.c | 56 ++++++++++++++++++++++++-- peas-demo/plugins/pythonhello/pythonhello.py | 6 +- 2 files changed, 55 insertions(+), 7 deletions(-) commit 8f40fb4b7db10065eeb0464f0a70dbfa1a284e8f Author: Steve Frécinaux Date: Sun Mar 6 15:37:40 2011 +0100 Remove peas_plugin_loader_add_module_directory() This private API has not been used since we switched from static bindings to gobject-introspection ones, ages ago. libpeas/peas-plugin-loader.c | 14 -------------- libpeas/peas-plugin-loader.h | 6 ------ loaders/c/peas-plugin-loader-c.c | 8 -------- loaders/python/peas-plugin-loader-python.c | 21 --------------------- loaders/seed/peas-plugin-loader-seed.c | 23 ----------------------- 5 files changed, 0 insertions(+), 72 deletions(-) commit 514ed201b0b6a7999b62f58a2b967494d95f57bc Author: Garrett Regier Date: Sat Mar 5 19:43:29 2011 -0800 Don't create a PeasPluginManagerView in the store tests tests/libpeas-gtk/plugin-manager-store.c | 85 ++++++++---------------------- 1 files changed, 23 insertions(+), 62 deletions(-) commit bd7023c664d1396094eaa0f092f0170b6a698b51 Author: Garrett Regier Date: Sat Mar 5 09:44:09 2011 -0800 Free C modules that fail to be used This is possible because the plugin's types wouldn't have been registered. loaders/c/peas-plugin-loader-c.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit a0336597eb489f09e528e69aa4f0e2923a7724b4 Author: Garrett Regier Date: Sat Mar 5 06:43:08 2011 -0800 Clean test-callgrind output files tests/Makefile.tests | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c3a5e4283528e112474d188a0c8323cbbf1c1309 Author: Garrett Regier Date: Sat Mar 5 06:42:23 2011 -0800 Fix checking for gcov configure.ac | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit db510cf8a4e6b33601642b64ee9c7b9a830645e5 Author: Garrett Regier Date: Sat Mar 5 06:42:08 2011 -0800 Added check for gdb and valgrind for test-gdb and test-valgrind Makefile.am | 26 +++++++++++++++++++++++++- configure.ac | 20 ++++++++++++++++++++ tests/Makefile.am | 3 ++- tests/Makefile.tests | 20 +++++++++++++++++++- 4 files changed, 66 insertions(+), 3 deletions(-) commit d691bc4746a8de2e8a6626ecd1f3046cc618bda3 Author: Garrett Regier Date: Sat Mar 5 06:37:51 2011 -0800 Add an extension set test for creating an invalid extension set tests/libpeas/extension-set.c | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) commit 8d6b3502087299585419c0a5e12a3e2da430ae9e Author: Garrett Regier Date: Sat Mar 5 06:36:15 2011 -0800 Add an extension set test for plugins that don't provide an extension tests/libpeas/extension-set.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) commit 8177303181e08034c3a2824749dc4525cdf4f5d3 Author: Garrett Regier Date: Sat Mar 5 06:33:10 2011 -0800 Rework extension-set tests to create the PeasExtensionSet in the test case tests/libpeas/extension-set.c | 161 +++++++++++++++++++++++++++-------------- 1 files changed, 105 insertions(+), 56 deletions(-) commit 9ea7fa34b5b134e64efd8d36f5e54f033d6a507f Author: Garrett Regier Date: Sat Mar 5 06:20:26 2011 -0800 Link extension-c with libintrospection tests/libpeas/plugins/extension-c/Makefile.am | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit e9f45c9c2db9179fdc2f81b3425cd16236dd9f33 Author: Garrett Regier Date: Sat Mar 5 00:55:39 2011 -0800 Remove any noncommon allowed log patterns from libtesting-util tests/libpeas-gtk/plugin-manager-store.c | 2 ++ tests/libpeas-gtk/plugin-manager.c | 4 ++++ tests/libpeas/engine.c | 8 ++++++++ tests/libpeas/testing/testing.c | 10 ++++++++++ tests/testing-util/testing-util.c | 11 +---------- 5 files changed, 25 insertions(+), 10 deletions(-) commit 0f96facfcb652be7a80ba397cdb2f0afc21a554a Author: Garrett Regier Date: Sat Mar 5 00:40:57 2011 -0800 Add an extension test for an invalid property tests/libpeas/testing/testing-extension.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit eeeba0bb26c92055c002099bf5047457099acc52 Author: Garrett Regier Date: Sat Mar 5 00:38:36 2011 -0800 Add a test for a plugin that is not loadable tests/libpeas/engine.c | 23 +++++++++++++++++++++++ tests/libpeas/plugins/Makefile.am | 1 + tests/libpeas/plugins/not-loadable.plugin | 7 +++++++ 3 files changed, 31 insertions(+), 0 deletions(-) commit 74e0511c85390fe910fbe819403ae47400fe9292 Author: Garrett Regier Date: Sat Mar 5 00:37:10 2011 -0800 Implemented log hooks in libtesting-util This allow us to add hooks for warning and criticals that are required during tests. These have several advantages over globally allowed patterns in that they avoid crossover issues when a test expects a warning but another test's pattern causes it to not be emitted. They are required to be triggered which avoids old patterns from being kept around when no longer needed. Most importantly they allow us to test that libpeas handles errors correctly. libpeas/peas-engine.c | 10 +++ tests/libpeas/engine.c | 3 + tests/libpeas/extension-set.c | 10 +-- tests/libpeas/plugin-info.c | 11 +-- tests/libpeas/testing/testing-extension.c | 114 +++++++++-------------------- tests/testing-util/testing-util.c | 105 ++++++++++++++++++++++---- tests/testing-util/testing-util.h | 11 ++- 7 files changed, 151 insertions(+), 113 deletions(-) commit 69cb3565900b3a96aa0fe5860db83ce3d9659218 Author: Garrett Regier Date: Sat Mar 5 00:00:34 2011 -0800 Improve missing plugin dependency warning libpeas/peas-engine.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 926e833ed47f5b1e127bef28772e57bc07005b6f Author: Garrett Regier Date: Fri Mar 4 23:59:17 2011 -0800 Emit debug messages when a plugin is loaded or unloaded libpeas/peas-engine.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit a46316bef89bca5198ad58f82d1ea1753463425d Author: Garrett Regier Date: Fri Mar 4 23:57:36 2011 -0800 Fix two leaks in the Python plugin loader loaders/python/peas-plugin-loader-python.c | 36 ++++++++++++++------------- 1 files changed, 19 insertions(+), 17 deletions(-) commit 63153f709e4ed60a6e895ac00f6631094f1ae97b Author: Garrett Regier Date: Fri Mar 4 22:47:19 2011 -0800 Warn if creating an extension fails libpeas/peas-engine.c | 15 +++++++++++++-- libpeas/peas-extension-set.c | 6 ++++-- loaders/python/peas-plugin-loader-python.c | 3 +-- tests/libpeas/testing/testing-extension.c | 14 +++++++++----- 4 files changed, 27 insertions(+), 11 deletions(-) commit 11ed85c2b85dad4a499d4bb8d299db2774baed2e Author: Garrett Regier Date: Fri Mar 4 22:46:28 2011 -0800 Don't warn multiple times if _valist_to_parameter_list() fails libpeas/peas-engine.c | 4 +++- libpeas/peas-extension-set.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 2b4f261a3d583a55b9eb11a65e978c2e230e0050 Author: Garrett Regier Date: Fri Mar 4 22:43:59 2011 -0800 Don't warn multiple times if peas_gi_get_method_info() fails libpeas/peas-extension-set.c | 5 ++++- libpeas/peas-extension.c | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) commit 6f647dba8c113191f985a11e904e9a94e93b1b57 Author: Garrett Regier Date: Fri Mar 4 22:41:54 2011 -0800 Fix error when more that 16 properties are given to _valist_to_parameter_list() libpeas/peas-helpers.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 4fb70310a1b5656208e61aa687fe19bdc2682937 Author: Garrett Regier Date: Fri Mar 4 22:41:12 2011 -0800 Fix memory leak in _valist_to_parameter_list() libpeas/peas-helpers.c | 29 ++++++++++++++++++++--------- 1 files changed, 20 insertions(+), 9 deletions(-) commit b2ae6235475b6ed8536f957012e62c368e3ffd13 Author: Garrett Regier Date: Fri Mar 4 22:39:13 2011 -0800 Cleanup the plugin loaders loaders/c/peas-plugin-loader-c.c | 14 +------ loaders/python/peas-plugin-loader-python.c | 54 ++++++++++------------------ loaders/seed/peas-plugin-loader-seed.c | 13 ++----- 3 files changed, 24 insertions(+), 57 deletions(-) commit 08fc6bbe0bc4453ca521b4267a4af895bd7ba21c Author: Garrett Regier Date: Fri Mar 4 05:58:02 2011 -0800 Created libtesting-util for common libtesting code configure.ac | 1 + tests/Makefile.am | 4 +- tests/libpeas-gtk/Makefile.am | 4 +- tests/libpeas-gtk/testing/Makefile.am | 4 +- tests/libpeas-gtk/testing/testing.c | 100 +------------------- tests/libpeas-gtk/testing/testing.h | 8 +- tests/libpeas/Makefile.am | 12 ++- tests/libpeas/testing/Makefile.am | 4 +- tests/libpeas/testing/testing.c | 113 +---------------------- tests/libpeas/testing/testing.h | 7 +- tests/testing-util/Makefile.am | 21 ++++ tests/testing-util/testing-util.c | 163 +++++++++++++++++++++++++++++++++ tests/testing-util/testing-util.h | 38 ++++++++ 13 files changed, 258 insertions(+), 221 deletions(-) commit 70f4d35c1397cf7b6456cf6a8c3ad1d864274d45 Author: Steve Frécinaux Date: Sun Mar 6 12:53:06 2011 +0100 Remove debug statement. libpeas-gtk/peas-gtk-plugin-manager-view.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 4b147efeaba4b9e71402088836155aff3f8c55a6 Author: Steve Frécinaux Date: Sun Mar 6 12:48:26 2011 +0100 Fix crash when searching a plugin in the manager. When the show-builtins property is set to false, we need to convert the original tree model iter to a filtered tree model iter before using it or things will go wrong. libpeas-gtk/peas-gtk-plugin-manager-view.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 772d67ab43a97f062a61b9bae9b1255a0ae8807b Author: Steve Frécinaux Date: Sun Mar 6 12:38:57 2011 +0100 PeasGtk: Use gtk_tree_model_get_value() instead of gtk_tree_model_get() This makes debugging easier, especially since we're only getting a single column value each time. libpeas-gtk/peas-gtk-plugin-manager-store.c | 33 +++++++++++++++++++------- libpeas-gtk/peas-gtk-plugin-manager-view.c | 2 + 2 files changed, 26 insertions(+), 9 deletions(-) commit e659d2bc6879ce32710ef678917be3edfac07a7e Merge: b812820 7f193c7 Author: Steve Frécinaux Date: Fri Mar 4 10:37:10 2011 +0100 Merge remote-tracking branch 'gregier/fixes' commit 7f193c786c73e76e0c1096ac09afcba4f9964619 Author: Garrett Regier Date: Thu Mar 3 04:47:32 2011 -0800 Add .PHONY to Makefile.tests tests/Makefile.tests | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 5fa94f3d4ff95ecebec2422f595a3b8f37c89a89 Author: Garrett Regier Date: Thu Mar 3 04:47:12 2011 -0800 Expand peas_engine_set_loaded_plugins() test tests/libpeas/engine.c | 59 ++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 47 insertions(+), 12 deletions(-) commit 64c187410c2d055d151e62dcf2ba0ffb7fb74e72 Author: Garrett Regier Date: Thu Mar 3 04:46:21 2011 -0800 Test multiple engine shutdown in the test case tests/libpeas/engine.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 439233dd32004678b8bd4db1ec669629a9593df7 Author: Garrett Regier Date: Thu Mar 3 04:44:50 2011 -0800 Add tests for peas_engine_provides_extension() tests/libpeas/extension-python.c | 3 ++ tests/libpeas/extension-seed.c | 3 ++ tests/libpeas/testing/testing-extension.c | 51 +++++++++++++++++++++++++++++ tests/libpeas/testing/testing-extension.h | 5 +++ 4 files changed, 62 insertions(+), 0 deletions(-) commit 6a0b340ec93b0a00bb11fd361c8802868c5db91d Author: Garrett Regier Date: Thu Mar 3 04:43:49 2011 -0800 Check that the extension GType is an interface libpeas/peas-engine.c | 2 ++ tests/libpeas/testing/testing-extension.c | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit 44af1b09d3b706e2d08ff2e91cc62bb2e0615bd0 Author: Garrett Regier Date: Thu Mar 3 04:36:48 2011 -0800 Add an extension test for garbage collection tests/libpeas/extension-python.c | 2 ++ tests/libpeas/extension-seed.c | 2 ++ tests/libpeas/testing/testing-extension.c | 15 +++++++++++++++ tests/libpeas/testing/testing-extension.h | 3 +++ 4 files changed, 22 insertions(+), 0 deletions(-) commit 9d19252e045e255417ce1652ea81e4e93defcfd0 Author: Garrett Regier Date: Thu Mar 3 04:34:43 2011 -0800 Add a test for an invalid loader tests/libpeas/engine.c | 10 +++++++++- tests/libpeas/plugins/Makefile.am | 3 ++- tests/libpeas/plugins/disabled-loader.plugin | 8 ++++++++ tests/libpeas/plugins/invalid-loader.plugin | 8 ++++++++ tests/libpeas/plugins/loader-disabled.plugin | 8 -------- tests/libpeas/testing/testing.c | 1 + 6 files changed, 28 insertions(+), 10 deletions(-) commit 94174f6e7675e26850b92c9c9d7f12be7a9dadbe Author: Garrett Regier Date: Thu Mar 3 04:29:56 2011 -0800 Add tests for (un)loading plugins that are already (un)loaded tests/libpeas/engine.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 9ec6b2e505054ee203f8ea0c210df78bd5bd1f76 Author: Garrett Regier Date: Thu Mar 3 04:27:08 2011 -0800 Add a test for an invalid GKeyFile formatted PeasPluginInfo tests/libpeas/plugins/Makefile.am | 1 + tests/libpeas/plugins/invalid.plugin | 1 + tests/libpeas/testing/testing.c | 4 +++- 3 files changed, 5 insertions(+), 1 deletions(-) commit 2aff50dd0bbac0fff4e29427b1fae8ed6310336b Author: Garrett Regier Date: Thu Mar 3 04:19:46 2011 -0800 Add a test for an nonexistent search path tests/libpeas/engine.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 5bb42425fbabc4514b8701e520f055fde766f700 Author: Garrett Regier Date: Thu Mar 3 04:13:11 2011 -0800 Don't use g_atexit() in the tests It seems that gcov will not register statements that are called in an atexit() handler so add testing_run_tests() to run the tests and then call peas_engine_shutdown(). tests/libpeas-gtk/plugin-manager-store.c | 2 +- tests/libpeas-gtk/plugin-manager-view.c | 2 +- tests/libpeas-gtk/plugin-manager.c | 2 +- tests/libpeas-gtk/testing/testing.c | 15 +++++++++++++++ tests/libpeas-gtk/testing/testing.h | 2 ++ tests/libpeas/engine.c | 2 +- tests/libpeas/extension-python.c | 2 +- tests/libpeas/extension-seed.c | 2 +- tests/libpeas/extension-set.c | 2 +- tests/libpeas/plugin-info.c | 2 +- tests/libpeas/testing/testing-extension.h | 2 +- tests/libpeas/testing/testing.c | 17 +++++++++++++++-- tests/libpeas/testing/testing.h | 3 +++ 13 files changed, 44 insertions(+), 11 deletions(-) commit 8313b080ee1f7929405c0cea31bfcf4aacff0ed4 Author: Garrett Regier Date: Thu Mar 3 03:21:41 2011 -0800 Add a gcov make rule This generates .gcov files for C files in libpeas, libpeas-gtk and the loaders and then it reports the coverage for each of the libs. .gitignore | 1 + Makefile.am | 22 +++++++++++++++++++++- Makefile.gcov | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 34 ++++++++++++++++++++++++++++++++++ libpeas-gtk/Makefile.am | 7 ++++++- libpeas/Makefile.am | 22 +++++++++++++--------- loaders/Makefile.am | 5 +++++ loaders/c/Makefile.am | 6 +++++- loaders/python/Makefile.am | 6 +++++- loaders/seed/Makefile.am | 6 +++++- 10 files changed, 132 insertions(+), 14 deletions(-) commit 2cc0d36fd2a35117d1c1f7c3cf7faacd45e967bc Author: Garrett Regier Date: Thu Mar 3 02:59:50 2011 -0800 Add testing_init() to libpeas-gtk's libtesting This is to keep it in sync with libpeas' libtesting. tests/libpeas-gtk/testing/testing.c | 42 +++++++++++++++++++--------------- tests/libpeas-gtk/testing/testing.h | 2 + 2 files changed, 25 insertions(+), 19 deletions(-) commit 3db4dc42c8f840c5833e801bf4d66e0f4d9a10e6 Author: Garrett Regier Date: Thu Mar 3 02:59:05 2011 -0800 Don't use interned strings in C plugin loader loaders/c/peas-plugin-loader-c.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) commit 655c6ba21fcb20fbd83486e41349c8e4cd78eaa9 Author: Garrett Regier Date: Thu Mar 3 02:58:44 2011 -0800 Fix comment in Python plugin loader loaders/python/peas-plugin-loader-python.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b3af3a0821bb403b3baa52fa8979fb7aa3c2a577 Author: Garrett Regier Date: Thu Mar 3 02:29:51 2011 -0800 Fix handling invalid loaders libpeas/peas-engine.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit b812820b09bcd4326501a24725134ad34db9f9df Author: Daniel Nylander Date: Thu Feb 24 08:26:34 2011 +0100 Updated Swedish translation po/sv.po | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 95 insertions(+), 15 deletions(-) commit 5aaafca39d8d8204d8cfec6063ecbaa02321caef Author: Marek Černocký Date: Wed Feb 23 15:04:10 2011 +0100 Updated Czech translation po/cs.po | 60 ++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 46 insertions(+), 14 deletions(-) commit 1df54f26ae6c1660cf185dfdd69445068551258e Author: Steve Frécinaux Date: Wed Feb 23 00:32:00 2011 +0100 Post-release version bump for 0.7.4 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)