Commit Graph

66 Commits

Author SHA1 Message Date
16eefad885 fix rodney's name choices. fix multiple-inclusion. fix forward references.
2005-05-19  Not Zed  <NotZed@Ximian.com>

        * em-folder-utils.h: fix rodney's name choices.  fix
        multiple-inclusion.  fix forward references.  fix all callers.
        add many fixme's for the busted api's.

        * em-format-quote.c (emfq_format_clone): use pseudo mime type to
        find message formatter.

        * em-format-html-display.c (efhd_format_message): remove, it
        didn't do anything.

        * em-format-html.c (efh_format_message): make this a handler
        callback.

        * em-format.c (emf_message_rfc822): make this use the pseudo
        mime-type x-evolution/message/rfc822 instead of the hardcoded
        format_message callback.

        * em-format-html-display.c (efhd_message_prefix): make this use a
        pseudo-mime-type handler rather than hard-coded, so it can be
        overridden by a plugin.

svn path=/trunk/; revision=29382
2005-05-19 06:06:35 +00:00
2a8848295e removed include of htmlengine.h which wasn't needed
2005-05-17  Radek Doulik  <rodo@novell.com>

	* em-format-html.c: removed include of htmlengine.h which wasn't
	needed

	* em-format-html-display.c: use top level gtkhtml API instead of
	lower level one

	* em-folder-view.c (emfv_popup_selectall): use gtk_html_select_all
	instead of calling html engine directly

svn path=/trunk/; revision=29378
2005-05-17 14:18:07 +00:00
424085a248 use gtk_html_command to ask if selection is active tto avoid using
2005-05-05  Radek Doulik  <rodo@site>

	    * em-folder-view.c (em_folder_view_get_popup_target): use
	    gtk_html_command to ask if selection is active tto avoid using
	    selection API directly
	    (emfv_popup_copy_text): use gtkhtml API instead of engine API
	    (emfv_message_reply): use new gtk_html_get_selection_html function
	    to avoid using low level gtkhtml APIs

svn path=/trunk/; revision=29272
2005-05-05 11:22:34 +00:00
3da049b17c removed include of htmlinterval.h as it's not needed
2005-05-03  Radek Doulik  <rodo@site>

	    * em-format-html-display.c: removed include of htmlinterval.h as
	    it's not needed

svn path=/trunk/; revision=29260
2005-05-03 10:38:36 +00:00
9c26fef2d4 include atkutil.h (message_list_construct): cast warning.
2005-03-01  Not Zed  <NotZed@Ximian.com>

        * message-list.c: include atkutil.h
        (message_list_construct): cast warning.

        * mail-session.c (mail_session_set_interactive): remove unused
        variable since we can no longer terminate password requests.

        * mail-autofilter.c (em_vfolder_rule_from_address): properly
        define in header.

        * em-utils.c (emu_get_save_filesel): only define filename in the
        !gtkfilechooser case.

        * em-mailer-prefs.c (restore_labels_clicked): cast for warning.
        (em_mailer_prefs_construct): same.

        * em-format-html.c (efh_format_header): remove unused variable.

        * em-account-editor.c (emae_widget_druid_glade): remove unused
        variable.

        * importers/mail-importer.h: forward-delcare struct
        _MailComponent.

        * *c: remove/disable various debug.

svn path=/trunk/; revision=28934
2005-03-02 05:23:46 +00:00
c0c618e5a7 Fix for 72275. try to bring up menu for preivew html object.
2005-02-07  Harry Lu  <harry.lu@sun.com>

        Fix for 72275.
        * em-folder-view.c: (emfv_popup_menu): try to bring up menu for
        preivew html object.
        (emfv_format_popup_event): handle event == NULL case.
        * em-format-html-display.c: (em_format_html_display_popup_menu):
        New function to popup context menu.
        * em-format-html-display.h: add new function declaration.

svn path=/trunk/; revision=28744
2005-02-08 03:50:38 +00:00
faf8d6d785 ** See bug #60664.
2005-01-21  Not Zed  <NotZed@Ximian.com>

        ** See bug #60664.

        * em-format-html-display.c (efhd_init, efhd_gtkhtml_style_set): if
        the style changes, re-calculate the page colours, and redraw.

svn path=/trunk/; revision=28478
2005-01-21 06:38:29 +00:00
da10c48009 moved to after emae_authtype_changed to fix warning.
2004-12-22  Not Zed  <NotZed@Ximian.com>

        * em-account-editor.c (emae_needs_auth): moved to after
        emae_authtype_changed to fix warning.

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

        * em-format-html-display.c (efhd_attachment_popup):

        * message-list.c (ml_tree_drag_data_received):

        * em-folder-view.c (emfv_popup, emfv_format_popup_event):

        * em-folder-tree.c (tree_drag_data_received): api changes.
        (emft_popup):

        * em-popup.c (emp_standard_menu_factory)
        (emp_standard_menu_factory): api changes.

svn path=/trunk/; revision=28180
2004-12-22 07:38:16 +00:00
8652353f28 Moved various things from e-util to libedataserver.
2004-11-15  Not Zed  <NotZed@Ximian.com>

        * *.c: Moved various things from e-util to libedataserver.

        * GNOME_Evolution_Mail.server.in.in: remove the startup wizard stuff.

        * mail-config-druid.[ch]:
        * mail-account-editor.[ch]:
        * mail-account-gui.[ch]: removed & deleted.

        * mail-session.c (mail_session_init): and here too.
        * em-migrate.c (em_migrate_1_4): init camel-provider library too.
        (e_path_to_physical): copy from e-util/e-path.c.

        * Makefile.am (libevolution_mail_la_LIBADD): link to new libcamel
        provider too.

svn path=/trunk/; revision=28047
2004-12-03 03:38:03 +00:00
604919b2ce add mnemonic for buttons. add atk name for the popup button. add access
2004-12-01  Mengjie Yu  <meng-jie.yu@sun.com>

        * em-account-editor.c: (emae_option_toggle),
        (emae_receive_options_item):add mnemonic for buttons.
        * em-format-html-display.c: (efhd_attachment_button):add atk name
        for the popup button.
        * mail-account-gui.c: (mail_account_gui_build_extra_conf):add
        access key for checkbox.
        * message-list.c: (message_list_construct):add a atk name for the
        message list.

svn path=/trunk/; revision=28029
2004-12-01 05:55:39 +00:00
f484ce17b3 get image widget directly from icon factory
2004-11-26  JP Rosevear  <jpr@novell.com>

	* em-format-html-display.c (efhd_xpkcs7mime_button): get image
	widget directly from icon factory

	* mail-send-recv.c (build_dialog): ditto

svn path=/trunk/; revision=27998
2004-11-26 15:01:12 +00:00
358fb894df added hook docs, and cleaned up some of the hook point names.
2004-10-28  Not Zed  <NotZed@Ximian.com>

        * mail-folder-cache.c (real_flush_updates):
        * em-message-browser.c (em_message_browser_new):
        * em-mailer-prefs.c (em_mailer_prefs_construct):
        * em-format-html-display.c (efhd_attachment_popup):
        * em-folder-view.c (emfv_popup, emfv_list_done_message_selected)
        (emfv_format_popup_event):
        * em-folder-tree.c (emft_popup):
        * em-folder-properties.c (emfp_dialog_got_folder):
        * em-folder-browser.c (em_folder_browser_new):
        * em-composer-utils.c (em_utils_reply_to_message):
        * em-composer-prefs.c (em_composer_prefs_construct):
        * em-account-editor.c (em_account_editor_construct): added hook
        docs, and cleaned up some of the hook point names.

svn path=/trunk/; revision=27749
2004-10-28 09:25:27 +00:00
378a2a917c convert to org.gnome hook names
2004-10-19  JP Rosevear  <jpr@novell.com>

	* em-account-editor.c, em-composer-prefs.c, em-config.c,
	em-event.c, em-folder-browser.c, em-folder-properties.c,
	em-folder-tree.c, em-folder-view.c, em-format-hook.c,
	em-format-html-display.c, em-mailer-prefs.c, em-menu.c,
	em-message-browser.c, em-popup.c, message-list.c: convert to
	org.gnome hook names

svn path=/trunk/; revision=27635
2004-10-20 03:02:25 +00:00
a7ba5c21d1 use builtin handlers (and plugins) always overriding bonobo ones.
2004-10-12  Not Zed  <NotZed@Ximian.com>

        * em-format-html-display.c (efhd_find_handler): use builtin
        handlers (and plugins) always overriding bonobo ones.

svn path=/trunk/; revision=27549
2004-10-12 06:47:08 +00:00
3a6b8953fe put back in the attachment attaching code. Doesn't work for s/mime and
2004-09-28  Not Zed  <NotZed@Ximian.com>

        * em-composer-utils.c (forward_non_attached): put back in the
        attachment attaching code.  Doesn't work for s/mime and pgp, but
        why bother arguing about it.

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

        * em-folder-tree.c (emft_get_folder_info__desc): fix busted cast.

        * *.c: e-popup api changes.

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

        * em-folder-tree.c (emft_tree_button_press): remove some debug
        that made it in accidentally.

svn path=/trunk/; revision=27487
2004-10-07 01:32:09 +00:00
c762fa37c3 ** See bug #65058.
2004-09-03  Not Zed  <NotZed@Ximian.com>

        ** See bug #65058.

        * em-format-html.c (efh_image): use the content-id rather than
        the uri for tracking our image reference.  Makes more
        sense anyway, its guaranteed unique.

svn path=/trunk/; revision=27328
2004-09-22 01:32:18 +00:00
ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00
53aa17c033 Fix for bug #62812
2004-08-13  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #62812

	* em-format-html-display.c (em_format_html_display_search): Set
	the search_dialog to be transient for the parent window and make
	sure to destroy the search_dialog when the parent gets destroyed.

svn path=/trunk/; revision=26995
2004-08-23 15:27:10 +00:00
bacab97bb2 minor typo, uppercase 'the' corrected.
2004-06-08  Karsten Bräckelmann  <guenther@rudersport.de>

	* em-format-html-display.c (smime_encrypt_table[4]): minor typo,
	uppercase 'the' corrected.

svn path=/trunk/; revision=26841
2004-08-06 17:36:01 +00:00
27f894733e only call expunge if the folder is set. (emfb_enable_map[]): only enable
2004-07-09  Not Zed  <NotZed@Ximian.com>

        * em-folder-browser.c (emfb_folder_expunge): only call expunge if
        the folder is set.
        (emfb_enable_map[]): only enable expunge menu item if we have a
        valid folder set.

        ** See bug #60900.

        * em-format-html.c: convert the text_inline_parts hash to be keyed
        off the partid.
        (efh_free_inline_parts): -> efh_free_cache and fix to do it.

        * em-format.c (emf_free_cache): make the inline table cache other
        info too based on partid, this frees the structure.
        (emf_clone_inlines): copy all of the cache data.
        (em_format_is_inline): use the new data structure to determine
        state.
        (em_format_set_inline): same for setting.
        (emf_multipart_signed): cache/lookup the cached part.
        (emf_insert_cache): helper to add a cache entry.
        (emf_multipart_encrypted): cache decrypted part.
        (emf_application_xpkcs7mime): same.

2004-07-08  Not Zed  <NotZed@Ximian.com>

        ** See bug #60900 (related only).

        * em-format-html-display.c (efhd_attachment_show): let set_inline
        do the redraw itself if required.  kill some dead code.

        * em-format.c (em_format_set_inline): trigger a redraw here like
        the other em_format_set methods, if the state changed.

        * em-format.c (emf_format_clone): free inline table keys & setup
        string hash table.

        * em-format-quote.c (emfq_format_attachment):
        * em-format-html-display.c (efhd_format_attachment):
        * em-format-html.c (efh_format_attachment): is_inline api changes.

        * em-format-html-display.c (efhd_attachment_show): set_inline api
        changes.

        * em-format.c (em_format_is_inline): make this use the partid
        rather than the part address as a key, which may change.
        (emf_init): make the inline talbe a string hashtable.
        (emf_finalise): free inline keys.
        (emf_clone_inlines): copy the key string.

svn path=/trunk/; revision=26614
2004-07-10 01:31:04 +00:00
4b2eddbec7 ** See #54030.
2004-06-23  Not Zed  <NotZed@Ximian.com>

        ** See #54030.

        * e-searching-tokenizer.c (e_searching_tokenizer_match_count):
        only return a count if we're using the primary search string.

        * em-format-html-display.c (efhd_search_response): set the primary
        search string to NULL instead of resetting it.
        (efhd_update_search): dont noop if we have a null search text,
        just set an empty search.

        * e-searching-tokenizer.c (e_searching_tokenizer_reset): remove
        this, revert jeff's fixes for 54030.  this is incomplete and so
        doesn't work either (search text stays remembered and secondary
        search text lost too).

        ** See #60523.

        * em-folder-view.c (emfv_finalise): unhook the folder changed
        before destroying the async thing, and move it all to destroy
        event anyway.
        (emfv_destroy): as above.

svn path=/trunk/; revision=26472
2004-06-23 08:08:40 +00:00
b4d9b7e00b use mail dialogs.glade.
2004-06-18  Not Zed  <NotZed@Ximian.com>

        * em-vfolder-rule.c (get_widget): use mail dialogs.glade.

        * mail-dialogs.glade: move the vfolder-source window here from
        mail-config.glade.

        * Makefile.am (glade_DATA): fix the glade list.

        * mail-license.glade, subscribe-dialog.glade, mail-security.glade,
        * mail-search.glade: Merged into mail-dialogs.glade.  Should be
        easier to manage.

        * message-tag-followup.c (construct): use mail dialogs glade file.

        * mail-account-gui.c (display_license): use mail dialogs glade file.

        * em-subscribe-editor.c (em_subscribe_editor_new): use new glade
        file.

        * em-format-html-display.c (em_format_html_display_search): use
        merged glade file.
        (efhd_xpkcs7mime_validity_clicked): same.

        * mail-dialogs.glade: merge various glade files into here.

svn path=/trunk/; revision=26409
2004-06-18 04:43:59 +00:00
1f24a7b807 make this match the efhd stuff.
2004-05-19  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_format_secure): make this match the efhd
        stuff.

        * em-format-html-display.c: removed stock_signature-nokey since it
        doesn't exist in gnome-icon-theme.
        (efhd_xpkcs7mime_button): if there is no signing, but encryption,
        use its icon.  if there's no encryption too, use a broken icon
        (?).

svn path=/trunk/; revision=25973
2004-05-19 04:45:45 +00:00
6f58e91a1c Same. Also changed the "Valid signature, cannot verify sender" string to
2004-05-14  Jeffrey Stedfast  <fejj@novell.com>

	* em-format-html.c (efh_format_secure): Same. Also changed the
	"Valid signature, cannot verify sender" string to "Valid signature
	but cannot verify sender" as I think it reads nicer.

	* em-format-html-display.c (efhd_format_secure): Since signature
	status is a tri-state, use 3 different colours too (yellow for
	valid sig but unknown sender).

svn path=/trunk/; revision=25906
2004-05-14 17:46:24 +00:00
cf9a0987d9 re-enabled the reply to selection stuff. I worked out how to make it work;
2004-05-13  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (emfv_message_reply): re-enabled the reply to
        selection stuff.  I worked out how to make it work; I think.

        * em-format-html-display.c (efhd_html_button_press_event): if we
        aren't on a clickable object, do a null popup event instead.

        * em-folder-view.c (emfv_format_popup_event): do the full popup if
        we aren't on anything (not on a uri or part).  See #8414.

svn path=/trunk/; revision=25894
2004-05-13 06:57:22 +00:00
e739391cce Same.
2004-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* message-tag-followup.c (construct): Same.

	* message-list.c (message_list_init_images): Same.

	* mail-send-recv.c (build_dialog): Same.

	* mail-mt.c (do_op_status): Same.

	* mail-config-druid.c (evolution_mail_config_wizard_new): Same.

	* em-popup.c (em_popup_create_menu): Same.

	* em-format-html-display.c (efhd_format_prefix): Same.

	* em-format-html.c (efh_format_secure): Same as below.

	* em-folder-tree.c (render_pixbuf): Don't use absolute icon sizes,
	use the e-icon-factory enums.

svn path=/trunk/; revision=25527
2004-04-19 21:45:14 +00:00
6c44efe38a Removed variables that got re-added with the icon-theme patch somehow.
2004-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* em-composer-prefs.h: Removed variables that got re-added with
	the icon-theme patch somehow.

	* em-account-prefs.c: Don't bother keeping global references to
	the enable_pixbuf anymore, since it's unnecessary.

svn path=/trunk/; revision=25523
2004-04-19 20:17:51 +00:00
69bf398532 mail-component.c
2004-04-19  Michael Terry  <mike@mterry.name>

	* GNOME_Evolution_Mail.server.in.in:
	* em-account-prefs.[ch]:
	* em-composer-prefs.[ch]:
	* em-folder-browser.c:
	* em-folder-tree.c:
	* em-folder-view.c:
	* em-format-html-display.c:
	* em-format-html.[ch]:
	* em-popup.c:
	* mail-component.c
	* mail-config-druid.c:
	* mail-config.glade:
	* mail-mt.c:
	* mail-send-recv.c:
	* message-list.c:
	* message-tag-followup.c:
	* message-tags.glade: Update the mailer to use icon themes through the
	EIconFactory object in e-util

svn path=/trunk/; revision=25517
2004-04-19 15:20:48 +00:00
3cf2287725 remove debug comment.
2004-04-14  Not Zed  <NotZed@Ximian.com>

        * mail-component.c (impl_createControls): remove debug comment.

        ** See #56641.

        * em-format-html-display.c (efhd_format_secure): fix a small
        memleak.
        (efhd_bonobo_unknown, efhd_format_attachment): close the <object>
        tag properly, and <br> it as well to make sure its separated.

        * em-sync-stream.c: add some runtime and compile time stream
        logging stuff.

svn path=/trunk/; revision=25457
2004-04-14 09:48:36 +00:00
e2f581c52b if we have no sign status, use signed-nokey, rather than no icon.
2004-04-05  Not Zed  <NotZed@Ximian.com>

        * em-format-html-display.c (efhd_xpkcs7mime_button): if we have no
        sign status, use signed-nokey, rather than no icon.
        (efhd_xpkcs7mime_viewcert_clicked): show the certificate viewer
        since certificate_viewer_show doesn't show it.
        (efhd_xpkcs7mime_viewcert_foad): foad foad foad.  The api changed
        and we need to foad it ourselves.

        ** See bug #52822.

        * em-format-html-display.c (efhd_xpkcs7mime_add_cert_table): if we
        can't find the cert, then desensitise the cert button.

svn path=/trunk/; revision=25313
2004-04-05 09:39:21 +00:00
9e126a8d01 Cleaned up header inclusions and added plenty of forward declarations.
2004-03-31  Not Zed  <NotZed@Ximian.com>

        * *.[ch]: Cleaned up header inclusions and added plenty of forward
        declarations.  Sped up complete re-compilation by upto 20%.

        ** See bug #55950.

        * em-utils.c (em_utils_in_addressbook): utility for checking if an
        email address is in the addressbook.  I can't tell if it works
        'cause it crashes eds.

        * em-format-html.c (emfh_gethttp): handle addressbook checking.

2004-03-30  Not Zed  <NotZed@Ximian.com>

        * mail-config.h: clean up the headers and use some forward decl's
        instead.

        * em-format-html.c (em_format_html_set_load_http): change state to
        an int 'style' instead.

        * em-folder-view.c (emfv_setting_notify): set the format load http
        option to the config value directly.

        ** See bug #56147.

        * message-list.c (clear_info): set the node data to NULL when we
        unref its data.
        (ml_get_save_id): use a different test for the root node, and
        return NULL if we don't have any data on the node (because we're
        cleaing it).

        ** See bug #54962.

        * em-folder-tree.c (emft_popup_new_folder_response): put back the
        old hack to open the vfolder editor if you try to create a folder
        under vfolders.

        ** See bug #55940.

        * mail-autofilter.c (mail_filter_rename_uri): map the uri to an
        email uri before passing to filter code.
        (mail_filter_delete_uri): same here.

svn path=/trunk/; revision=25261
2004-03-31 10:09:04 +00:00
3ab0a97a4c use EM_FORMAT_HTML_VPAD
2004-03-23  Radek Doulik  <rodo@ximian.com>

	* em-format-html-display.c (efhd_format_attachment): use
	EM_FORMAT_HTML_VPAD

	* em-format-html.h (EM_FORMAT_HTML_VPAD): added new define for
	vertical padding

	* em-format-html.c (efh_format_message): change padding table so
	that it works OK with fixed gtkhtml

svn path=/trunk/; revision=25156
2004-03-23 10:56:58 +00:00
6ee30271e2 dont add the show/hide menu items if we can't ever show it inline.
2004-03-23  Not Zed  <NotZed@Ximian.com>

        * em-format-html-display.c (efhd_attachment_popup): dont add the
        show/hide menu items if we can't ever show it inline.
        (efhd_attachment_button): disable the ">" button if we can't view
        the content inline.  See #52086.

svn path=/trunk/; revision=25155
2004-03-23 10:00:34 +00:00
47430e5f97 Removed an unused variable left over from an old attempted fix.
2004-03-10  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
	Removed an unused variable left over from an old attempted fix.

	* em-folder-selector.c (emfs_response): Select the same folder in
	the create-folder dialog as is selected in the parent selector
	dialog. Fixes the rest of bug #53862.

svn path=/trunk/; revision=25014
2004-03-10 21:47:26 +00:00
b11b2abeeb Don't set our parent window as the efhd, ehfd isn't even a widget.
2004-03-05  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html-display.c (em_format_html_display_search): Don't
	set our parent window as the efhd, ehfd isn't even a widget.

	Fixes bug #54030

	* em-format-html-display.c (efhd_search_response): Reset the
	searching tokeniser on Cancel.

	* e-searching-tokenizer.c (e_searching_tokenizer_reset): New
	function to reset a search tokeniser.

svn path=/trunk/; revision=24977
2004-03-05 19:46:20 +00:00
e867a71d9a Create the arrows in these widgets as GTK_SHADOW_NONE, since the default
2004-02-26  Rodney Dawes  <dobey@ximian.com>

	* em-format-html-display.c (efhd_attachment_button): Create the
	arrows in these widgets as GTK_SHADOW_NONE, since the default arrow
	type in GTK+ 2.x is flat triangle arrows, and shadow types are
	generally ignored for arrows anyway, and so we don't look ugly with
	themes that handle shadow types on arrows correctly

svn path=/trunk/; revision=24901
2004-02-26 22:22:56 +00:00
ed71a8cb94 Fix for bug #54352
2004-02-26  Jeffrey Stedfast  <fejj@ximian.com>

	Fix for bug #54352

	* em-message-browser.c (emmb_class_init): Set update_message_style
	to FALSE.

	* em-folder-view.c (emfv_setting_notify): Only update message
	display style if our subclass wants us to.
	(emfv_class_init): Set update_message_style to TRUE.
	(emfv_view_mode): Don't save the gconf key unless our class allows
	us to.

svn path=/trunk/; revision=24894
2004-02-26 20:07:43 +00:00
6c857baec9 get rid of a duplicate #include
svn path=/trunk/; revision=24875
2004-02-25 21:15:59 +00:00
b75230fcd8 Protect against using NULL pixbufs. Gets rid of a lot of console warning
2004-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html-display.c (efhd_attachment_button): Protect
	against using NULL pixbufs. Gets rid of a lot of console warning
	spewage on my system.

svn path=/trunk/; revision=24873
2004-02-25 21:11:48 +00:00
8d4f642268 Revert change from yesterday. (efhd_xpkcs7mime_button): Use the icon from
2004-02-18  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
	Revert change from yesterday.
	(efhd_xpkcs7mime_button): Use the icon from the table.

svn path=/trunk/; revision=24778
2004-02-18 16:12:16 +00:00
9046018d52 Display an alternate description based on the trust value if we have a
2004-02-17  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
	Display an alternate description based on the trust value if we
	have a trust to work with.

svn path=/trunk/; revision=24764
2004-02-17 19:47:41 +00:00
2f07bc4e16 ** See bug #53258.
2004-02-06  Not Zed  <NotZed@Ximian.com>

        ** See bug #53258.

        * em-format-html-display.c (efhd_find_handler): force any bonobo
        handler types to always be inline, even attachments.

        * em-format.c (em_format_is_inline): use handler flags for special
        cases, removing all hard-coded types.

        * em-format.h (EMFormatHandler): add a flags field, so far a flag
        to set default inline viewing of the content.

2004-02-06  Not Zed  <NotZed@Ximian.com>

        * em-folder-properties.c: include string.h to kill warning.

        ** See bug #53627.

        * em-folder-view.c (emfv_popup_mark_junk): changed to work like
        delete does, jumping to the next message if required, and marking
        things immediately, then queuing up the junk marking job if
        required.

        * mail-ops.c (mail_mark_junk): ugh, this stuff totally can't go
        accessing messagelist from another thread!!!!  Changed so this
        code only does the junk reporting, not setting flags.  UGH!  It
        should be doing this implictly on the folder when you set the
        flags, or at least when you sync the folder!!!  Changed ot use the
        queued thread.

        * message-list.c (find_next_undeleted): changed to find
        next-unhidden, i.e. junk as well as deleted, if we're in
        hide-deleted mode.
        (build_tree): always call find_next_undeleted if we have a cursor.
        (build_flat): same.

svn path=/trunk/; revision=24644
2004-02-06 06:35:50 +00:00
dab1c82a21 ** See bug #53558 (plus other fixes/cleanups)
2004-01-30  Not Zed  <NotZed@Ximian.com>

        ** See bug #53558 (plus other fixes/cleanups)

        * em-format.c (emf_format_secure): default implementation, handle
        output of inner part, but dont output any sign/encrypt info.
        (emf_multipart_signed, emf_multipart_encrypted): replaced with
        implementations from em-format-html.c, which now call
        em_format_format_secure to output guts.
        (emf_class_init): hook-up virtual method format_secure.

        * em-format.[ch]: add a virtual method for outputing secured
        parts.  Moved all validity stuff from em-format-html.[ch] to here.

        * mail-component.c (impl_createControls): set the session
        interactive too.

        * em-format-html-display.c: make smime stuff dependent on
        HAVE_NSS.
        (efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now
        handled by root class.
        (efhd_output_secure): renamed to efhd_format_secure, and use
        EMFormat::format_secure to kick off.
        (efhd_class_init): setup format_secure virtual method.

        * em-format-html.c (efh_multipart_encrypted): We need to handle
        this here so we can properly keep track of the ciphervalidity
        stuff.  Also do it directly using the context, not
        multipartencrypted part.
        (efh_multipart_signed): with unsupported signature format, format
        as multipart/mixed, not as an attachment.
        (efh_multipart_signed): make the smime stuff optional.
        (efh_multipart_signed, efh_multipart_encrypted): Moved to
        em-format.c.
        (efh_application_xpkcs7mime): moved to em-format.c
        (efh_output_secure): renamed to efh_format_secure, linked into
        virtual method.  call parent class to do the validation foo then
        output the info if needed.
        (efh_format_message): fixed access to validity stuff to parent
        object.
        (efh_class_init): hook up format_secure virtual method.
        (*): removed some now-unused headers.

svn path=/trunk/; revision=24531
2004-01-30 03:10:14 +00:00
cd79698104 Fixes a bug i can't find right now
2004-01-29  Not Zed  <NotZed@Ximian.com>

        * em-format-html-display.c (efhd_attachment_button): check the
        snooped type for the icon/etc.
        (efhd_format_attachment): save the snooped type in the
        attach_puri.

        * em-format-html.c (efh_text_plain): If we had a snooped type, use
        that as the base type, rather than octet-stream, which will cause
        an attachment in attachment loop.

        * em-format.c (em_format_part_as): save the current snooped mime
        type in a stack if we had any.

svn path=/trunk/; revision=24515
2004-01-29 09:45:59 +00:00
a8705a44c5 ** See bug #53159.
2004-01-21  Not Zed  <NotZed@Ximian.com>

        ** See bug #53159.

        * em-format.c (emf_message_rfc822): removed incorrect comment,
        this is not a fallback.

        * em-format-html.c (efh_text_plain): check the content-type of the
        containee object, not the holder.

        ** See bug #52979.

        * em-format-html.c: take out text/x-patch and put in text/* for a
        text/plain fallback handler instead.

        * em-format-html-display.c (efhd_find_handler): allow the bonobo
        handlers to override the builtin ones.

svn path=/trunk/; revision=24341
2004-01-21 02:50:08 +00:00
661c8fe497 pass in an exception to use
2004-01-16  JP Rosevear <jpr@ximian.com>

	* em-format-html-display.c (efhd_bonobo_object): pass in an
	exception to use

svn path=/trunk/; revision=24286
2004-01-17 00:26:21 +00:00
0ff3f18cf4 Startup files/folders.
2004-01-16  Not Zed  <NotZed@Ximian.com>

        * default/C/Inbox:
        * default/C/Makefile.am:
        * default/Makefile.am: Startup files/folders.

        * em-migrate.c (emm_setup_initial): initial implementation of
        startup setup.
        (cp): Fix the test, we want exists AND size>0, not exists OR
        size>0.
        (cp): Fix the open, we can't use O_EXCL with empty, but present
        files.  Another hack fix for #52880.

        ** See bug #52896.

        * em-format-html-display.c (efhd_html_button_press_event): do this
        based on get_object_at rather than get_point_at, so we get the
        offset properly.

svn path=/trunk/; revision=24261
2004-01-15 23:16:21 +00:00
e70e3982ed ** See bugs #51609 and #43515.
2004-01-15  Not Zed  <NotZed@Ximian.com>

        ** See bugs #51609 and #43515.

        * em-format-html-display.c (efhd_format_prefix): output flag for
        followup details above the message.
        (efhd_write_image): added to output icon data.

        * em-format-html.c (efh_format_do): call format_prefix before
        outputting the message in normal display mode.

        * em-format.c (emf_format_prefix): method called to format data
        before the first message output.  Default impl == noop.

svn path=/trunk/; revision=24230
2004-01-15 01:22:55 +00:00
df12f97f29 ** See bug 51660.
2004-01-14  Not Zed  <NotZed@Ximian.com>

        ** See bug 51660.

        * em-format-html-quote.c (efhq_multipart_related): setup part_id
        appropriately.

        * em-format-html-display.c (efhd_output_secure): use part_id in
        classid, and add .signed to part_id for subpart.
        (efhd_bonobo_unknown): use part_id in classid.
        (efhd_format_attachment): use part_id in classid's.

        * em-format-html.c (efh_multipart_related)
        (emfh_multipart_related_check): setup part_id for each subpart.
        (efh_output_secure): as above, and use the part_id for the
        classid.
        (em_format_html_add_pobject): use part_id for a generated classid.
        (efh_text_plain): setup pseudo-parts into part_id.

        * em-format.c (emf_format_clone): setup the part_id base, folder +
        uid.
        (emf_finalise): free the part_id gstring.
        (emf_init): allocate the part_id gstring.
        (em_format_add_puri): build the cid from the part_id rather than
        an arbitrary number, so it is more persistent.  Also save the
        part_id in the puri for multipart/related use.
        (emf_multipart_mixed, emf_multipart_alternative)
        (emf_multipart_appledouble, emf_multipart_encrypted)
        (emf_multipart_related, emf_multipart_signed): Set the part_id for
        each subpart.
        (emf_clear_puri_node): free part_id.

2004-01-13  Not Zed  <NotZed@Ximian.com>

        ** See bug 51660.

        * em-format-html-print.c (em_format_html_print_print): dont take
        message, get the message from the source formatter.

        * em-format.c (emf_format_clone): Added folder and uid parameters,
        changed camelmedium to a mimemessage.

        * em-format-html-display.c (efhd_attachment_button): check the
        icon image cache and if the image is there use it.

        * em-icon-stream.c (em_icon_stream_get_image): api to lookup
        finished images in cache.
        (em_icon_stream_new): add a cache key arg.
        (emis_sync_close): store the image in the cache once its
        completed.

svn path=/trunk/; revision=24210
2004-01-14 02:58:24 +00:00
e2b0897d80 Emit a hover-url signal when the user mouses over a URL, ...
2004-01-04  ERDI Gergo  <cactus@cactus.rulez.org>

	* em-folder-view.c (emfv_on_url_cb): Emit a hover-url signal when
	the user mouses over a URL, ...
	(emfv_hover_url_impl): ... and use BonoboUI to change the status
	bar message...
	(em_folder_view_set_statusbar): ... unless we are asked not to, ...

	* mail-component.c (impl_createControls): ... like in the case of
	the mail component, ...
	(view_hover_url_cb): ... that uses the ActivityHandler to do the
	same

	Add these together, and #127536 is neatly solved.

2004-01-05  ERDI Gergo  <cactus@cactus.rulez.org>

	* e-task-bar.c (init): Create a separate label to the left of the
	progress messages...
	(e_task_bar_message): ...and allow components to set it...

	* e-activity-handler.c (e_activity_handler_message): ...through
	this new ActivityHandler method

svn path=/trunk/; revision=24086
2004-01-07 14:29:08 +00:00