commit b7da8312ad4a472ddce84febb037a9925712aa8b Author: Steve Frécinaux Date: Mon Feb 14 00:10:41 2011 +0100 Make the interface age 0. We broke API and ABI. configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c74a811fe659a007a52ec83af4ca0d5545da56f2 Author: Garrett Regier Date: Sun Feb 13 08:59:14 2011 -0800 Drop peas_plugin_info_get_keys() 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. libpeas/peas-plugin-info-priv.h | 1 - libpeas/peas-plugin-info.c | 101 --------------------------------------- libpeas/peas-plugin-info.h | 2 - 3 files changed, 0 insertions(+), 104 deletions(-) commit 88e85c78d368c5175b39bad1d14e979a5b019e30 Author: Garrett Regier Date: Sun Feb 13 00:33:41 2011 -0800 Lazy load the plugin loaders libpeas/peas-engine.c | 110 +++++++++++++++++++----------------------------- 1 files changed, 44 insertions(+), 66 deletions(-) commit 83a724bea319a1caaaa36bb7fab596e9feb55ad7 Author: Garrett Regier Date: Fri Feb 11 03:11:49 2011 -0800 Check that the manager's view has the same engine libpeas-gtk/peas-gtk-plugin-manager.c | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) commit e4e0058df2bbb6332fcb4bbfe13b4eb1b35e9b6a Author: Garrett Regier Date: Wed Feb 9 23:55:29 2011 -0800 Allow multiple instances of PeasEngine libpeas/peas-engine.c | 58 ++++++++++++++++------------------ libpeas/peas-engine.h | 1 + tests/libpeas-gtk/testing/testing.c | 2 +- tests/libpeas/engine.c | 49 +++++++++-------------------- tests/libpeas/testing/testing.c | 2 +- 5 files changed, 46 insertions(+), 66 deletions(-) commit fd2074dde1c8a7d188c460e2a0c1174d2de3d598 Author: Garrett Regier Date: Thu Feb 10 22:33:47 2011 -0800 Allow the engine to be NULL in PeasExtensionSet libpeas/peas-extension-set.c | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) commit f875e35a412be9077d9ec3c13b8d7c9937eac842 Author: Garrett Regier Date: Wed Feb 9 23:53:49 2011 -0800 Added optional engine parameter back to libpeas-gtk API This is needed for multiple engines. libpeas-gtk/peas-gtk-plugin-manager-store.c | 87 +++++++++++++++++++++++++- libpeas-gtk/peas-gtk-plugin-manager-store.h | 2 +- libpeas-gtk/peas-gtk-plugin-manager-view.c | 71 +++++++++++++++++----- libpeas-gtk/peas-gtk-plugin-manager-view.h | 2 +- libpeas-gtk/peas-gtk-plugin-manager.c | 71 ++++++++++++++++------ libpeas-gtk/peas-gtk-plugin-manager.h | 2 +- peas-demo/peas-demo.c | 2 +- tests/libpeas-gtk/plugin-manager-store.c | 2 +- tests/libpeas-gtk/plugin-manager-view.c | 2 +- tests/libpeas-gtk/plugin-manager.c | 2 +- 10 files changed, 198 insertions(+), 45 deletions(-) commit 4e49d2ca2b4dd41163504730e794fefd8d807787 Author: Garrett Regier Date: Sat Feb 12 18:27:13 2011 -0800 Fix two clang warnings tests/libpeas/testing/testing-extension.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) commit 9e1d0b0123761cd9e3b33850c0bf5df80cc2be36 Author: Garrett Regier Date: Sat Feb 12 03:32:50 2011 -0800 Don't link to libpeas in test Introspection It does not use libpeas or GIRepository and just causes it to be rebuilt needlessly. tests/libpeas/introspection/Makefile.am | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) commit 24b10d1b68e2d7f92a23c3c627bfe37ec24dec8c Author: Mario Blättermann Date: Fri Feb 11 22:52:03 2011 +0100 [l10n] Updated German translation po/de.po | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 63 insertions(+), 14 deletions(-) commit ed7bddc84212a478fc81cee8d0613b6658850103 Author: Garrett Regier Date: Fri Feb 11 03:08:17 2011 -0800 State why C plugins are resident Reason was found in gedit commit: http://git.gnome.org/browse/gedit/commit/?id=da7c0a948e344493c3301177243c6e5914d2f40a loaders/c/peas-plugin-loader-c.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit c86b3c8d8581018c1f659e9a73c52d3636858fae Author: Garrett Regier Date: Fri Feb 11 02:36:12 2011 -0800 Validate function arguments libpeas/peas-engine.c | 26 ++++++++++++++++++++++---- libpeas/peas-extension-set.c | 12 ++++++++++++ libpeas/peas-extension.c | 3 +++ libpeas/peas-object-module.c | 16 ++++++++++++++++ 4 files changed, 53 insertions(+), 4 deletions(-) commit 6a952cf25d5874074acda9dff1f0618d34c0a44c Author: Garrett Regier Date: Fri Feb 11 01:44:35 2011 -0800 Add (array zero-terminated=1) annotation to API libpeas/peas-engine.c | 9 ++++++--- libpeas/peas-plugin-info.c | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) commit a3bb19e23029f73628ef560773c8f68c84baf13d Author: Garrett Regier Date: Thu Feb 10 00:45:58 2011 -0800 Replace plugin loader disabling with enabling This way applications are future proof in new loaders are enabled that would have been disabled. libpeas/peas-engine.c | 34 +++++++++----------- libpeas/peas-engine.h | 2 +- peas-demo/peas-demo.c | 3 ++ tests/libpeas/engine.c | 25 ++++---------- tests/libpeas/extension-python.c | 6 ++- tests/libpeas/extension-seed.c | 6 ++- tests/libpeas/testing/testing-extension.h | 6 +++ tests/libpeas/testing/testing.c | 49 +++++++++++++++------------- tests/libpeas/testing/testing.h | 2 + 9 files changed, 68 insertions(+), 65 deletions(-) commit a1bc5e801d539caf3c197cc68de934cd218f17ee Author: Garrett Regier Date: Wed Feb 9 22:33:56 2011 -0800 Show a tooltip for unavailable plugins https://bugzilla.gnome.org/show_bug.cgi?id=511672 libpeas-gtk/peas-gtk-plugin-manager-store.c | 2 +- libpeas-gtk/peas-gtk-plugin-manager-view.c | 50 +++++++++++++++++++++++++- libpeas/peas-engine.c | 31 +++++++++++++--- libpeas/peas-plugin-info-priv.h | 2 + libpeas/peas-plugin-info.c | 25 ++++++++++++- libpeas/peas-plugin-info.h | 31 +++++++++++++++- tests/libpeas/engine.c | 29 +++++++++++++-- tests/libpeas/plugin-info.c | 8 +++- tests/libpeas/plugins/Makefile.am | 1 + tests/libpeas/plugins/nonexistent-dep.plugin | 9 +++++ 10 files changed, 174 insertions(+), 14 deletions(-) commit ae30f06cffabdc049d58876a2e8eae429343a163 Author: Garrett Regier Date: Wed Feb 9 22:30:50 2011 -0800 Renamed invalid-loader test to nonexistent-loader This is more accurate as to what the test actually tests. tests/libpeas/engine.c | 6 +++--- tests/libpeas/plugins/Makefile.am | 2 +- tests/libpeas/plugins/invalid-loader.plugin | 9 --------- tests/libpeas/plugins/nonexistent-loader.plugin | 9 +++++++++ 4 files changed, 13 insertions(+), 13 deletions(-) commit b68f81bb0d6679345aafe27c915a6faef7d4fb05 Author: Garrett Regier Date: Wed Feb 9 22:37:55 2011 -0800 Fix testing_show_widget() It now allows you to show a widget with a parent and no longer add the widget twice in the case that it had to create a window. tests/libpeas-gtk/testing/testing.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 06905343f86273aa553f01a40c80f29718c072c8 Author: Marek Černocký Date: Wed Feb 9 14:17:42 2011 +0100 Updated Czech translation po/cs.po | 51 +++++++++++++++++++++++++++++++++++---------------- 1 files changed, 35 insertions(+), 16 deletions(-) commit efb86469e41ccae163028d8935ffcbea594672fc Author: Ignacio Casal Quinteiro Date: Wed Feb 9 12:19:49 2011 +0100 Add padding to public classes. libpeas-gtk/peas-gtk-plugin-manager-view.h | 2 ++ libpeas-gtk/peas-gtk-plugin-manager.h | 2 ++ libpeas/peas-engine.h | 2 ++ libpeas/peas-extension-base.h | 2 ++ libpeas/peas-extension-set.h | 2 ++ libpeas/peas-extension.h | 2 ++ libpeas/peas-object-module.h | 2 ++ 7 files changed, 14 insertions(+), 0 deletions(-) commit a17121b13f30ffbca2df0b2a2239c3efe4a96b7e Author: Garrett Regier Date: Tue Feb 8 18:22:01 2011 -0800 Add Glade catalog for libpeas-gtk .gitignore | 1 + configure.ac | 40 ++++++++++++++++++++++++++++++++++++++-- data/Makefile.am | 4 ++++ data/glade/Makefile.am | 13 +++++++++++++ data/glade/libpeas-gtk.xml.in | 37 +++++++++++++++++++++++++++++++++++++ po/POTFILES.in | 1 + 6 files changed, 94 insertions(+), 2 deletions(-) commit 73cfe8d3d90fb6e6b1ab44458b3a597ccd46b5ba Author: Garrett Regier Date: Tue Feb 8 15:43:01 2011 -0800 Add a GtkBuilder test tests/libpeas-gtk/plugin-manager.c | 38 ++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) commit 2b5cdb50c990cd91c7a50a9b76cd74bf6353bbd4 Author: Garrett Regier Date: Tue Feb 8 15:30:22 2011 -0800 Added the view property to PeasPluginManager This is needed for GtkBuilder support. libpeas-gtk/peas-gtk-plugin-manager.c | 94 +++++++++++++++++++++++++++++---- 1 files changed, 83 insertions(+), 11 deletions(-) commit 7ae32dc70c0eca049257973bd4172d36acc559a6 Author: Garrett Regier Date: Wed Feb 9 01:14:52 2011 -0800 Don't return NULL in the constructor Instead use g_error() which aborts the program libpeas/peas-engine.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) commit 776c94113e1f98e89676b65d06f06951a82d2b54 Author: Garrett Regier Date: Wed Feb 9 00:59:55 2011 -0800 Make peas_engine_shutdown() semi-private libpeas/Makefile.am | 1 + libpeas/peas-engine-priv.h | 31 +++++++++++++++++++++++++++++++ libpeas/peas-engine.c | 1 + libpeas/peas-engine.h | 1 - peas-demo/peas-demo.c | 2 -- tests/libpeas-gtk/testing/testing.c | 2 +- tests/libpeas/engine.c | 2 ++ tests/libpeas/testing/testing.c | 2 +- 8 files changed, 37 insertions(+), 5 deletions(-) commit 05a55764513f59c381a012ac71a7e134bdd02b7f Author: Garrett Regier Date: Sun Feb 6 12:01:05 2011 -0800 Fix PeasEngine:loaded-plugins to return a proper array of strings This also fixes applications using GSettings to bind a setting to PeasEngine:loaded-plugins. libpeas/peas-engine.c | 13 ++----------- tests/libpeas/engine.c | 4 +++- 2 files changed, 5 insertions(+), 12 deletions(-) commit 30d41d46993a3e7231c2e0e45dce6b5b142c3ede Author: Garrett Regier Date: Sun Feb 6 03:46:33 2011 -0800 Added a test for running PeasEngine's dispose It has been broken before and this would have shown that. tests/libpeas/engine.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 71bc92d78f70f83e52794a63da5144d3b0efe920 Author: Garrett Regier Date: Sun Feb 6 03:45:44 2011 -0800 Added peas_engine_shutdown() It frees the memory the memory that is shared by PeasEngines. libpeas/peas-engine.c | 49 +++++++++++++++++++++++++++++++++++ libpeas/peas-engine.h | 1 + peas-demo/peas-demo.c | 6 +++- tests/libpeas-gtk/testing/testing.c | 2 + tests/libpeas/engine.c | 45 ++++++++++++++++++++++++++++++++ tests/libpeas/testing/testing.c | 2 + 6 files changed, 103 insertions(+), 2 deletions(-) commit 20ceafbd5c4592c411714777fac313156b7ddfe8 Author: Garrett Regier Date: Sun Feb 6 03:40:03 2011 -0800 Port tests to creating a new engine for each test tests/libpeas-gtk/testing/testing.c | 58 ++++++++++++++++----------------- tests/libpeas/engine.c | 16 +--------- tests/libpeas/testing/testing.c | 60 +++++++++++++++++------------------ 3 files changed, 58 insertions(+), 76 deletions(-) commit 115e2efcabd36f265014d45909c6c8e5b185365a Author: Garrett Regier Date: Sun Feb 6 03:34:37 2011 -0800 Fix PeasEngine to be capable of being created multiple times libpeas/peas-engine.c | 31 ++++++++++-------------- loaders/c/peas-plugin-loader-c.c | 46 ++++++++++++------------------------- 2 files changed, 28 insertions(+), 49 deletions(-) commit 2c3f820909dc0ac9474a980ae8aebf99ac557405 Author: Garrett Regier Date: Sun Feb 6 03:32:19 2011 -0800 Move the module support check to constructor Otherwise using libpeas API would cause a segfault if modules were not supported. libpeas/peas-engine.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) commit 8a9a4795aedb10399cd865e66ba565bc3f7f69c6 Author: Garrett Regier Date: Sun Feb 6 03:03:48 2011 -0800 Make PeasEngine a proper singleton Before it would assert if you used g_object_new() after the default instance was created. libpeas/peas-engine.c | 27 +++++++++++++++++++++------ tests/libpeas/engine.c | 21 ++++++++++++++++++++- 2 files changed, 41 insertions(+), 7 deletions(-) commit 5bb947ec977551e45e1e0850ddc6e81f127ec664 Author: Garrett Regier Date: Sun Feb 6 04:53:15 2011 -0800 Add a make rule for running the tests under callgrind The rule runs all the tests under callgrind with the appropriate enviroment variables and options set and the log is saved to cgdump-$$test_prog. .gitignore | 1 + Makefile.am | 2 +- tests/Makefile.am | 2 +- tests/Makefile.tests | 11 +++++++++++ 4 files changed, 14 insertions(+), 2 deletions(-) commit d88d62f5c00e5ec765373847ba02a8bb881b81b0 Author: Garrett Regier Date: Sun Feb 6 04:51:51 2011 -0800 Have GSlice debug when running tests, except for valgrind tests/Makefile.tests | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit dc9e93340cfb93525f7b2300b8321b357172696c Author: Garrett Regier Date: Sun Feb 6 03:59:14 2011 -0800 Fix disabling a loader multiple times libpeas/peas-engine.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit b71ad5937a824188948a0d9645fd8fc622ca531e Author: Garrett Regier Date: Sun Feb 6 03:29:47 2011 -0800 Don't rescan for plugins in the tests When a search path is added it is automatically scanned, thus this was causing them to be scanned twice. tests/libpeas-gtk/testing/testing.c | 1 - tests/libpeas/testing/testing.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) commit 7b82c470e7429d9f123feef2d8da1801e3ad4132 Author: Garrett Regier Date: Sun Feb 6 03:13:17 2011 -0800 Check that the plugin is loaded before creating an extension This also fixes a test that was disguised as a resident modules issue. libpeas/peas-engine.c | 1 + tests/libpeas-gtk/plugin-manager.c | 4 +++- tests/libpeas/testing/testing-extension.c | 5 +---- 3 files changed, 5 insertions(+), 5 deletions(-) commit bbf9dfd78136b5402e823473120e87dbe00a642c Author: Garrett Regier Date: Sun Feb 6 02:57:05 2011 -0800 Fix disable-loader test and expand it tests/libpeas/engine.c | 30 ++++++++++++++++++------- tests/libpeas/plugins/Makefile.am | 1 + tests/libpeas/plugins/loader-disabled.plugin | 8 +++++++ tests/libpeas/testing/testing.c | 6 ++++- 4 files changed, 35 insertions(+), 10 deletions(-) commit 84108e35d6e42070331c1b155a04f559c0aebb6d Author: Garrett Regier Date: Sun Feb 6 02:43:40 2011 -0800 Add a test for an invalid loader tests/libpeas/engine.c | 13 +++++++++++++ tests/libpeas/plugins/Makefile.am | 1 + tests/libpeas/plugins/invalid-loader.plugin | 9 +++++++++ tests/libpeas/testing/testing.c | 2 +- 4 files changed, 24 insertions(+), 1 deletions(-) commit c1d79fd7438c80b8eb80370b1d91175dd4e8f4e5 Author: Garrett Regier Date: Sun Feb 6 02:37:15 2011 -0800 Fix typo in os-dependant-help and add it to Makefile.am tests/libpeas/plugins/Makefile.am | 3 ++- tests/libpeas/plugins/os-dependant-help.plugin | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit cdef41d39c928f2c1561c41224db632fcecd7182 Author: Garrett Regier Date: Sun Feb 6 02:36:55 2011 -0800 Add a test for reloading plugins 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 b803149433975b1295bd733aaabc32d442f61385 Author: Garrett Regier Date: Sun Feb 6 02:33:55 2011 -0800 Fix PeasEngine's dispose Before it would cause a double free if run more than once. libpeas/peas-engine.c | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) commit 03644ef060aaefb47f6e9f5a0fc1e96a345adf56 Author: Steve Frécinaux Date: Mon Feb 7 12:56:20 2011 +0100 Fix building libpeas when it is not installed yet. libpeas-gtk/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 4c47b043ba0e2b0bf2f8d2ffba1449a81a47bc4b Author: Michal Hruby Date: Fri Feb 4 14:39:21 2011 +0100 Add missing EXPORT_PACKAGES, bump required gobject-introspection version The EXPORT_PACKAGES are used by vala, so it can get proper cflags and libs when compiling apps using the gir. https://bugzilla.gnome.org/show_bug.cgi?id=640252 configure.ac | 2 +- libpeas-gtk/Makefile.am | 1 + libpeas/Makefile.am | 1 + tests/libpeas/introspection/Makefile.am | 3 ++- 4 files changed, 5 insertions(+), 2 deletions(-) commit 81a2bbc5d2e59ba50879edfe118aacff0c8c0786 Author: Steve Frécinaux Date: Thu Jan 27 00:48:36 2011 +0100 Fix comment style to avoid puzzling gtk-doc libpeas-gtk/peas-gtk-plugin-manager.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) commit cc0f1ed24d8a557e923a4ee1bbd44c37de777d58 Author: Steve Frécinaux Date: Thu Jan 27 00:44:36 2011 +0100 Do not marshall out arguments in extension subclasses This is pointless as out args are pointers and the pointer target doesn't change when the pointer is copied from the argv to the GIArgument. libpeas/peas-extension-subclasses.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) commit 1f377ab45a3eb0551607103734f9ba8da96fbde4 Author: Steve Frécinaux Date: Wed Jan 26 20:46:28 2011 +0100 Fix PeasExtensionSet example to comply with the latest behaviour. Since the destroying of the extension set fires the extension-removed signal, there is no need to connect on the delete-event signal anymore, so let's reflect it in the example. libpeas/peas-extension-set.c | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) commit 509074835d79666fb050066fac8569d5a2eb51bc Author: Steve Frécinaux Date: Wed Jan 26 01:08:20 2011 +0100 Post-release version bump for 0.7.2 configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 84c01eb4669f39aea3b8c40fbf28f4297200e886 Author: Steve Frécinaux Date: Wed Jan 26 00:58:03 2011 +0100 Fix build when srcdir != builddir libpeas-gtk/Makefile.am | 4 +++- tests/libpeas-gtk/plugins/configurable/Makefile.am | 2 +- tests/libpeas/testing/Makefile.am | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-)