Commit Graph

23 Commits

Author SHA1 Message Date
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
56c45fcfab Fix memory leak. Fixes bug #335423.
2006-06-09  Chris Heath <chris@heathens.co.nz>

	* addressbook/gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form):
	* addressbook/gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact):
	* e-util/e-plugin.c (ep_construct):
	* mail/message-list.c (message_list_finalise):
	* plugins/itip-view.c (itip_view_destroy): Fix memory leak.
	Fixes bug #335423.

svn path=/trunk/; revision=32101
2006-06-09 02:21:03 +00:00
99d9556902 Use guint for 1-bit bitfield. Remove unused var Remove unused vars Rename
2006-02-08  Kjartan Maraas <kmaraas@gnome.org>

	* e-config.c: Use guint for 1-bit bitfield.
	* e-icon-factory.c: (load_icon): Remove unused var
	* e-import.c: (ep_init), (ep_finalise): Remove unused vars
	* e-plugin.c: (e_plugin_register_type): Rename a var
	* e-plugin.h: guint for 1-bit bitfield
	* e-popup.c: (ep_finalise): Add comment.
	* e-profile-event.c: Remove unused prototype
	* e-text-event-processor-emacs-like.c:
	(e_text_event_processor_emacs_like_event): Add comment about
	a compiler warning from the Intel compiler.

svn path=/trunk/; revision=31446
2006-02-08 11:43:02 +00:00
e459ad918e Delete e_mkdir_hier(), and use e_util_mkdir_hier() instead of it.
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * e-mktemp.c (get_dir):
        * e-plugin.c:
        * e-util.[ch] (e_create_directory):
        (e_sort):
        Delete e_mkdir_hier(), and use e_util_mkdir_hier()
        instead of it.

        Delete e_strstrcasea(), and use e_util_strstrcase()
        instead of it.

        Delete e_strftime(), use the copy in evolution-data-server/
        libedataserver/e-data-server-util.c instead of it.

        Delete e_filename_make_safe(), and use the copy in
        evolution-data-server/libedataserver/e-data-server-util.c
        instead of it.

        Detelte e_utf8_strftime(), and use the copy in
        evolution-data-server/libedataserver/e-data-server-util.c
        instead of it.

svn path=/trunk/; revision=31117
2006-01-10 08:09:20 +00:00
e35c5c7bea e-plugin.c (epl_construct) [Win32] The interface of
2006-01-05  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c (epl_construct)
	* e-menu.c (emph_construct_menu): [Win32] The interface of
	e_util_replace_prefix() changed a bit.

svn path=/trunk/; revision=31053
2006-01-04 23:52:38 +00:00
0c08672df9 Use GLib API where applicable for portability.
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-plugin.c: Use GLib API where applicable for portability.

	* e-plugin.c: Use e_xml_parse_file() and e_xml_save_file()
	instead of using libxml directly.

	* e-plugin.c: Add copyright header.
	(epl_construct): [Win32 only:] Remap the plugin location from the
	compile-time path to to a run-time path, to handle the common case
	where the location in the .eplug file is in Evo's compile-time
	prefix. Use libedataserver's e_util_get_prefix() and
	e_util_replace_prefix(). We could alternatively use relative paths
	in the .eplug files on Win32, like we do for .server files.

svn path=/trunk/; revision=30825
2005-12-17 16:31:42 +00:00
c88db7d4ce e-plugin.c (ep_set_enabled): Fix compiler warning on early bailout
svn path=/trunk/; revision=30204
2005-08-22 19:46:44 +00:00
2c08d66386 fixed a typo: s/occured/occurred/g
svn path=/trunk/; revision=30180
2005-08-21 19:35:00 +00:00
5d1ad7fc3d Removed, these are now implemented as a plugin.
2005-05-25  Not Zed  <NotZed@Ximian.com>

        * e-plugin-mono.[ch]: Removed, these are now implemented as a
        plugin.

        * e-plugin.c (ep_load_plugin): separate out plugin xml loading
        code from the loading loop.  If a plugin type doesn't exist, then
        save it in a list for later checking.
        (ep_load): call above to do the work.
        (e_plugin_register_type): check the pending doc list, if any
        plugins now have a type, load them.
        (e_plugin_type_hook_get_type): a plugin hook for registering new
        plugin types ('loaders') at runtime.

svn path=/trunk/; revision=29412
2005-05-25 10:51:36 +00:00
cd453acb04 include config.h.
2004-12-22  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c: include config.h.

2004-12-17  Not Zed  <NotZed@Ximian.com>

        * e-popup.c (e_popup_add_items): add a translation domain to api.
        (e_popup_create_menu): translate the label using the supplied
        domain.
        (emph_popup_factory): pass domain to popup_add_items.

        * e-plugin.c (ep_construct): if we have a localedir set, then
        bindtextdomain so gettext can find it.

svn path=/trunk/; revision=28175
2004-12-22 07:36:46 +00:00
9e72aaecbb kill warning if we can't open the path.
2004-12-08  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c (e_plugin_load_plugins): kill warning if we can't
        open the path.

svn path=/trunk/; revision=28084
2004-12-08 01:59:03 +00:00
6da20d8422 removed, code moved into camel-net-utils.[ch].
2004-11-16  Not Zed  <NotZed@Ximian.com>

        * e-host-utils.[ch]: removed, code moved into
        camel-net-utils.[ch].

2004-11-15  Not Zed  <NotZed@Ximian.com>

        * e-trie.[ch], e-memory.[ch], e-sexp.[ch], e-msgport.[ch]: Moved
        to eds/libedataserver.

        * e-path.[ch]: removed & deleted.

svn path=/trunk/; revision=28050
2004-12-03 03:41:19 +00:00
43cbcd8b63 get the image directly from the icon factory
2004-11-26  JP Rosevear  <jpr@novell.com>

	* e-gui-utils.c (e_create_image_widget): get the image directly
	from the icon factory

	* e-config.c: insert debug defines so we can
	turn spew on and off

	* e-event.c: insert debug defines so we can turn spew on and off

	* e-menu.c: insert debug defines so we can turn spew on and off

	* e-plugin.c: insert debug defines and set to off for now

	* e-popup.c: insert debug defines so we can turn spew on and off
	(e_popup_create_menu): get the image directly from the icon
	factory

svn path=/trunk/; revision=27997
2004-11-26 14:57:49 +00:00
eccb379e0c if the plugin fails to load just disable it, don't unref it (it may be
2004-11-19  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c (ep_load): if the plugin fails to load just disable
        it, don't unref it (it may be referenced elsewhere).

svn path=/trunk/; revision=27944
2004-11-19 01:34:21 +00:00
cc8aa371f5 split out module loadng code. (epl_construct): if we're enabled, and
2004-11-18  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c (epl_loadmodule): split out module loadng code.
        (epl_construct): if we're enabled, and load-on-startup is set,
        load the module right away.  Not to be abused!

svn path=/trunk/; revision=27939
2004-11-18 04:03:55 +00:00
bf47fc3d51 added helper api to list all plugins. (ep_construct): load authors into
2004-11-03  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c (e_plugin_list_plugins): added helper api to list all
        plugins.
        (ep_construct): load authors into new list for them.
        (e_plugin_register_type): setup disabled list.
        (ep_construct): dont load the hooks if we're not enabled.
        (e_plugin_enable): make this a virutal method.
        (e_plugin_invoke): if we're disabled, noop.

svn path=/trunk/; revision=27809
2004-11-03 07:24:41 +00:00
691f1886c3 check for empty trailing sections/pages after we exit the main loop.
2004-10-20  Not Zed  <NotZed@Ximian.com>

        * e-config.c (ec_rebuild): check for empty trailing sections/pages
        after we exit the main loop.

        * e-plugin.c (e_plugin_get_type): make ~/.eplugins the default
        eplugin location, not ~/.eplug.

2004-10-18  Not Zed  <NotZed@Ximian.com>

        * e-config.h: fix some forward decls.

svn path=/trunk/; revision=27644
2004-10-20 07:42:49 +00:00
92a04dbb82 convert to org.gnome hook names
2004-10-19  JP Rosevear  <jpr@novell.com>

	* e-config.c, e-event.c, e-menu.c, e-plugin.c, e-plugin.h,
	e-popup.c: convert to org.gnome hook names

svn path=/trunk/; revision=27633
2004-10-20 03:00:45 +00:00
65ae86930b fix typo
2004-10-08  JP Rosevear  <jpr@novell.com>

	* e-plugin.c (ep_load): fix typo

svn path=/trunk/; revision=27505
2004-10-08 07:00:11 +00:00
d61821dda2 handle wrong root element properly. From David Trowbridge
2004-10-08  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c (ep_load): handle wrong root element properly.  From
        David Trowbridge <David.Trowbridge@Colorado.edu>

svn path=/trunk/; revision=27503
2004-10-08 02:51:00 +00:00
714fcc165a noop if we're disabled, and do some lifecycle stuff now, call
2004-10-07  Not Zed  <NotZed@Ximian.com>

        * e-plugin.c (epl_invoke): noop if we're disabled, and do some
        lifecycle stuff now, call e_plugin_lib_enable on the module if it
        exists.

svn path=/trunk/; revision=27494
2004-10-07 09:37:33 +00:00
d3dd1bc0de show the toplevel notebook if we had to create one, always.
2004-10-07  Not Zed  <NotZed@Ximian.com>

        * e-config.c (ec_rebuild): show the toplevel notebook if we
        had to create one, always.

        * e-menu.c (e_menu_add_items): initialise node->menu properly.

        * e-plugin.c (ep_load): read/initialise a unique id for all
        plugins and track them in a hashtable.
        (ep_construct): refactor so we have more control over what
        happens.  if the hook handling class isn't registered yet, just
        note it and keep going.
        (e_plugin_hook_new): remove this, its handled internally by above.

svn path=/trunk/; revision=27490
2004-10-07 08:20:31 +00:00
ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00