Commit Graph

72 Commits

Author SHA1 Message Date
7dcd0b4499 Update API documentation. 2013-03-02 19:45:09 -05:00
2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
381c91c0d2 Bug 675391 - Remove support for EVOLUTION_PLUGIN_PATH.
This was a hidden feature to load EPlugins from a custom location by
setting the EVOLUTION_PLUGIN_PATH environment variable.  It defaulted
to $HOME/.eplugins, which is in violation of the XDG Base Directory
Specification.

Since I've never ever heard of anyone using this and wasn't even aware
of it myself, rather than migrating the folder to a standard-compliant
location I'm just going to drop support for EVOLUTION_PLUGIN_PATH and
put my money on no one noticing.  The EPlugin framework is gradually
being decommissioned anyway in favor of the simpler and more flexible
EExtension framework in Evolution-Data-Server.
2012-05-03 16:09:48 -04:00
0c83b9b25d Miscellaneous cleanups. 2011-11-22 14:50:09 -05:00
c75f58d01b Fix compiler warnings. 2011-11-22 14:34:11 -05:00
8d001181fb Almost no more GConf in e-util 2011-10-26 12:29:31 +02:00
53bc6ffc53 The EExtension framework is now in libebackend.
The EModule, EExtensible and EExtension classes as well as the
e_type_traverse() function have been moved to Evolution-Data-Server's
libebackend library to replace e-data-server-module.c.

Now Evolution-Data-Server modules use the same framework as Evolution.
2011-09-26 09:45:55 -04:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
f014ab82c8 Coding style and whitespace cleanups. 2011-06-08 13:14:48 -04:00
756c8abcb8 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-05-27 15:23:07 +02:00
8a186c3588 Coding style cleanups. 2011-05-08 13:37:20 -04:00
37b3d691ca Bug 647708 - e_plugin_xml_prop() can return libxml2 allocated memory
Always copy the xmlChar property into GLib-allocated memory.
g_mem_is_system_malloc() has nothing to do with libxml2.
2011-04-18 19:19:39 -04:00
c6fd77460f Coding style and whitespace cleanup. 2011-03-05 12:34:28 -05:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
ecf3434da0 GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.

This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00
b2e7e4fedd Bug #325121 - Do not translate developer strings in g_param_spec_* 2010-04-01 21:40:19 +02:00
1040078ce6 Update API documentation.
Also, start fixing some Gtk-Doc warnings.  There's a lot.
2010-02-09 18:02:51 -05:00
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
c58b706597 Prefer GQueue (or GNode) over EDList. 2009-10-27 09:25:01 -04:00
b1cbbd1833 Fix few valgrind claims 2009-09-22 12:38:49 +02:00
fa9051e040 Finish killing Bonobo. 2009-09-08 14:53:45 -04:00
f5991437c3 Get EConfig and EEvent hooks working again.
There were a number of problems:

  - Walk the GType tree to find EPluginHook subclasses, instead of
    just registering the immediate children.

  - Some EConfig and EEvent subclasses were not being configured
    properly (particularly the mail and calendar subclasses).

  - Add preference window pages after the main loop starts to make
    sure all plugins and plugin hooks are installed first.
2009-08-31 12:53:52 -04:00
32f545cdf0 Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
2009-08-29 17:23:20 -04:00
433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00
948235c3d1 Prefer GLib basic types over C types. 2009-05-27 10:29:19 -04:00
e4afd3f9fb Remove trailing whitespace, again. 2009-05-26 23:21:02 -04:00
7f8cab85e3 Compiler warning fix.
2009-01-15  Milan Crha  <mcrha@redhat.com>

	* e-plugin.c: (epl_construct): Compiler warning fix.


svn path=/trunk/; revision=37081
2009-01-15 15:42:17 +00:00
79e0bf750c e-util/e-plugin.c e-util/e-plugin.h EPlugins must be loaded after Bonobo
2009-01-12  Philip Van hoof  <philip@codeminded.be>

	* e-util/e-plugin.c
	* e-util/e-plugin.h
	* shell/main.c: EPlugins must be loaded after Bonobo init, else variables
	like `session` are not available for plugin's initialization functions.
	(Fixes Bug #565681)


svn path=/trunk/; revision=37052
2009-01-12 08:44:53 +00:00
79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
77bfb99eac ** Fixes bug #545568
2008-07-31  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #545568

	* e-plugin.c (ep_load):
	Make sure system plugins are enabled on startup.

	* plugins/addressbook-file/org-gnome-addressbook-file.eplug.xml:
	* plugins/caldav/org-gnome-caldav.eplug.xml:
	* plugins/calendar-file/org-gnome-calendar-file.eplug.xml:
	* plugins/calendar-http/org-gnome-calendar-http.eplug.xml:
	* plugins/calendar-weather/org-gnome-calendar-weather.eplug.xml:
	* plugins/exchange-operations/org-gnome-exchange-operations.eplug.xml:
	* plugins/google-account-setup/org-gnome-evolution-google.eplug.xml:
	* plugins/groupwise-account-setup/org-gnome-gw-account-setup.eplug.xml:
	* plugins/hula-account-setup/org-gnome-hula-account-setup.eplug.xml:
	Add "system_plugin=true" so it's not shown in the Plugin Manager.
	These plugins are not designed to be disabled by the user.


svn path=/trunk/; revision=35871
2008-07-31 11:29:15 +00:00
75edd1a5a1 ** Fix for bug #540972
2008-07-01  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #540972

	* e-plugin.c: (ep_load): Small memory leak fix.


svn path=/trunk/; revision=35709
2008-07-01 09:23:35 +00:00
ab29a358fd Tell which plugin it could not load in the warning message.
2008-06-06  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c (epl_loadmodule): Tell which plugin it could not load
	in the warning message.


svn path=/trunk/; revision=35604
2008-06-06 12:25:02 +00:00
de67fcdb7c Code cleanup. Also add an "enabled" property to EPlugin.
2008-05-22  Matthew Barnes  <mbarnes@redhat.com>

	* e-util/e-plugin.c:
	* e-util/e-plugin.h:
	Code cleanup.  Also add an "enabled" property to EPlugin.


svn path=/trunk/; revision=35528
2008-05-23 02:52:07 +00:00
116ed5dcc7 ** Fixes bug #525241 (EPluginUI)
2008-05-08  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #525241 (EPluginUI)

	* e-util/Makefile.am:
	Add e-plugin-ui.[ch].

	* e-util/e-plugin.h (EPluginClass):
	Add a "get_symbol" method for extracting arbitrary symbols
	from an EPlugin.  Implementation of the method is optional.

	* e-util/e-plugin.c (e_plugin_get_symbol):
	New function invokes the new "get_symbol" EPlugin method.

	* e-util/e-plugin.c (epl_get_symbol):
	New function implements the new "get_symbol" EPlugin method.
	It extracts the given symbol name from the GModule.

	* e-util/e-plugin-ui.[ch]:
	New EPluginHook subclass that allows plugins to extend menus,
	toolbars, and popups that are managed by GtkUIManager instead
	of BonoboUI.  Should eventually replace EMenu/EPopup.

	* shell/main.c (main): Register the EPluginUIHook type.

	* composer/e-msg-composer.c (msg_composer_destroy),
	(msg_composer_init): Rip out the EMenu logic.

	* composer/e-msg-composer.c (msg_composer_init):
	Register the GtkUIManager with EPluginUI.

	* plugins/face/Makefile.am:
	* plugins/face/org-gnome-face-ui.xml:
	Remove org-gnome-face-ui.xml (obsolete).

	* plugins/face/face.c (e_plugin_ui_init):
	Initialization callback for EPluginUI.  Adds a "face" action to
	the EMsgComposer instance's "composer" action group.

	* plugins/face/org-gnome-face.eplug.xml:
	Replace the "bonobomenu" hook definition with a new one for
	EPluginUI.  Include the UI definition inline.


svn path=/trunk/; revision=35485
2008-05-08 18:11:40 +00:00
1052963824 ** Fixes bug #528817
2008-04-18  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #528817

	* e-util/e-plugin.c (e_plugin_register_type):
	Fix a typo in the logic.  This might explain why I occasionally
	find Exchange Operations disabled on startup.


svn path=/trunk/; revision=35383
2008-04-18 20:57:43 +00:00
7b6bd14ba2 Changed a stupid conditional statement, in the previous commit.
2008-03-20  Sankar P  <psankar@novell.com>

	* e-plugin.c: (ep_load):
	Changed a stupid conditional statement, 
	in the previous commit.

svn path=/trunk/; revision=35225
2008-03-20 06:39:37 +00:00
04000625d6 ** Fix for bug #496839
2008-03-19  Sankar P  <psankar@novell.com>

	** Fix for bug #496839 

	* e-plugin.c: (ep_load), (e_plugin_load_plugins),
	(e_plugin_get_configure_widget):
	* e-plugin.h:
	- Implement Plugin Load Levels. You can decide
	on which load-level you want your plugin to be loaded.
	- Load Levels are mandatory if you need other language loaders
	like Mono-Loader or Python-Loader.
	- Introduce FLAGS as part of EPlugin. Futuristic. 



svn path=/trunk/; revision=35216
2008-03-19 09:06:21 +00:00
f4d3ee5d59 ** Fix for bug #500210
2007-12-04  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #500210

	* plugins/plugin-manager/plugin-manager.c: Changed coding-style to be more accurate to other
	sources, but the main change was to show configuration options of the
	plugin into extra tab, instead of new popup under 'Configure' button.

	* e-util/e-plugin.h:
	* e-util/e-plugin.c: (e_plugin_configure), (e_plugin_is_configurable),
	(epl_configure), (e_plugin_get_configure_widget),
	(epl_get_configure_widget): Removed old configure functions,
	replaced by get_configure_widget functions, to be able show
	plugin configuration in a tab of plugin manager.



svn path=/trunk/; revision=34639
2007-12-04 10:57:59 +00:00
9e4fcb29cf ** Remove trailing whitespace from source code.
2007-11-14  Matthew Barnes  <mbarnes@redhat.com>

	** Remove trailing whitespace from source code.


svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
131a11a8a6 ** Fix for bug #461272
2007-10-26  Sankar P  <psankar@novell.com>

	** Fix for bug #461272

	* plugin-manager.c: (eppm_selection_changed),
	(org_gnome_plugin_manager_manage):
	Configure button should not be enabled for all.
	configure button needs a hot-key.



svn path=/trunk/; revision=34432
2007-10-26 10:54:17 +00:00
b32649a94c ** Fixes bug #437579
2007-10-09  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #437579

	* addressbook/conduit/address-conduit.c:
	* addressbook/gui/component/addressbook-config.c:
	* addressbook/gui/contact-editor/e-contact-editor.c:
	* addressbook/gui/widgets/eab-gui-util.c:
	* calendar/conduits/calendar/calendar-conduit.c:
	* calendar/conduits/memo/memo-conduit.c:
	* calendar/conduits/todo/todo-conduit.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/dialogs/memo-page.c:
	* calendar/gui/dialogs/task-page.c:
	* calendar/gui/e-day-view-layout.c:
	* calendar/gui/e-day-view-layout.h:
	* calendar/gui/print.c:
	* e-util/e-pilot-map.c:
	* e-util/e-plugin.c:
	* e-util/e-profile-event.c:
	* e-util/e-signature.c:
	* filter/filter-file.c:
	* mail/e-searching-tokenizer.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html.c:
	* mail/em-format-view.c:
	* mail/em-format.c:
	* mail/em-mailer-prefs.c:
	* mail/em-mailer-prefs.h:
	* mail/mail-session.c:
	* mail/mail-session.h:
	* mail/mail-vfolder.c:
	* mail/message-list.c:
	* plugins/bbdb/bbdb.c:
	* plugins/bbdb/gaimbuddies.c:
	* plugins/calendar-http/calendar-http.c:
	* plugins/exchange-operations/exchange-user-dialog.c:
	* plugins/face/face.c:
	* shell/e-shell-window.c:
	* shell/e-shell.c:
	* smime/lib/e-cert-db.c:
	* tools/killev.c:
	* widgets/misc/e-cursors.c:
	* widgets/misc/e-spinner.c:
	* widgets/misc/e-unicode.c:
	* widgets/table/e-table-field-chooser-item.c:
	* widgets/table/e-table-header-item.c:
	* widgets/table/e-table-header-item.h:
	* widgets/table/e-table-header-utils.c:
	* widgets/table/e-table.c:
	* widgets/text/e-text.c:
	Fix various compiler warnings.  Patch from Milan Crha.


svn path=/trunk/; revision=34368
2007-10-10 04:54:36 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
2574884bdd reviewed by: Srinivasa Ragavan <sragavan@novell.com>
2007-08-07  Sankar P  <psankar@novell.com>

	reviewed by: Srinivasa Ragavan <sragavan@novell.com> 

	* e-plugin.c: (ep_load_pending):
	Do not load pending hooks,
	if the corresponding plugin is disabled.
	Fixes #383684

svn path=/trunk/; revision=33963
2007-08-07 08:01:21 +00:00
81a1525568 Plugins should be configurable within the plugin-manager itself.
Fixes Preferences dialog bloating.
	See bug #459522

svn path=/trunk/; revision=33847
2007-07-26 11:28:11 +00:00
187e0c0464 Clean up compiler warnings in e-util directory (#438467).
svn path=/trunk/; revision=33623
2007-06-03 01:57:58 +00:00
ebb44eb8cc On Win32, if the compile-time localedir's prefix from the plugin's .eplug
2006-06-15  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c (ep_construct): On Win32, if the compile-time
	localedir's prefix from the plugin's .eplug file matches
	Evolution's compile-time prefix, replace it with the run-time
	prefix (installation directory).

svn path=/trunk/; revision=32150
2006-06-15 10:18:36 +00:00