Commit Graph

88 Commits

Author SHA1 Message Date
2511403367 Fix build on Win32, where EVOLUTION_ICONSDIR is a function call.
2006-06-13  Tor Lillqvist  <tml@novell.com>

	* em-format-html.c (efh_format_address): Fix build on Win32, where
	EVOLUTION_ICONSDIR is a function call.

svn path=/trunk/; revision=32124
2006-06-13 06:11:41 +00:00
f84ab028e9 Fix for a plus/minor header.
svn path=/trunk/; revision=32085
2006-06-07 05:09:58 +00:00
253a05d03c Added support for collapsible headers for To/Cc/Bcc
svn path=/trunk/; revision=32020
2006-05-25 04:59:47 +00:00
f6e0e26a6f s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bit
2006-01-09  Kjartan Maraas  <kmaraas@gnome.org>

	* em-account-editor.h: s/int/guint/g for 1-bit bitfield.
	* em-composer-utils.c: (em_utils_redirect_message): Remove cruft
	* em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield
	and rename a variable with a name clash.
	* em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to
	avoid name clashes.
	* em-folder-view.c: guint for 1-bit bitfields.
	* em-folder-view.h: Same as above.
	* em-format-html-print.h: Again.
	* em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments
	* em-format.c: (emf_multipart_alternative): Add comment about using var that
	is passed in rather than a local variable.
	* em-inline-filter.c: (emif_scan): Remove unused var. Mark code static.
	* em-mailer-prefs.h: guint for 1-bit bitfields.
	* em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var
	* em-subscribe-editor.c: guint for 1-bit bitfield
	* em-utils.c: remove unused function
	* em-vfolder-rule.c: mark array static
	* importers/mail-importer.c: (decode_status): Remove unused code. Use guint
	for 1-bit bitfield.
	* mail-autofilter.c: (rule_from_message): rename a variable
	* mail-component.c: guint for 1-bit bitfield
	* mail-folder-cache.c: (update_1folder): remove unused code
	* mail-mt.c: mark some structs static
	* message-list.c: (message_list_select_uid), (ml_value_to_string),
	(ml_tree_value_at), (find_next_undeleted), (build_tree),
	(build_flat): Remove unused code and fix some format specifiers.

svn path=/trunk/; revision=31448
2006-02-08 11:51:32 +00:00
3e82887a54 Use e_util_mkdir_hier() instead of e_mkdir_hier().
2006-01-10  Simon Zheng  <simon.zheng@sun.com>

        * em-composer-utils.c:
        * em-folder-tree-model.c: (em_folder_tree_model_save_state):
        * em-format-html.c:
        * em-migrate.c: (cp_r), (em_migrate_folder),
        (em_migrate_pop_uid_caches_1_4),
        (em_migrate_folder_expand_state_1_4),
        (em_migrate_folder_view_settings_1_4),
        (em_migrate_imap_cmeta_1_4),
        (em_migrate_1_4), (emm_setup_initial),
        (em_migrate):
        * em-popup.c:
        * em-utils.c: (em_utils_save_part_to_file):
        * mail-component.c: (mail_component_init):
        * mail-config.c:
        * mail-folder-cache.c:
        * mail-mt.c:
        * mail-ops.c:
        * mail-tools.c: (mail_tool_get_local_movemail_path):
        Use e_util_mkdir_hier() instead of e_mkdir_hier().

        Use e_util_strstrcase() instead of e_strstrcasea().

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

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

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

svn path=/trunk/; revision=31118
2006-01-10 08:10:30 +00:00
448d624c00 em-folder-browser.c em-folder-view.c em-format-html.c
2005-12-18  Tor Lillqvist  <tml@novell.com>

	* em-folder-browser.c
	* em-folder-view.c
	* em-format-html.c
	* em-format-html-display.c
	* em-mailer-prefs.c
	* em-message-browser.c
	* em-migrate.c
	* em-subscribe-editor.c
	* em-sync-stream.c
	* em-utils.c
	* em-vfolder-editor.c
	* em-vfolder-rule.c
	* mail-autofilter.c
	* mail-component.c
	* mail-config.c
	* mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of
	glade, xml, etspec and png files at run-time. Use
	g_filename_{to,from}_uri().

	* em-folder-browser.c (emfb_init)
	* em-folder-view.c (emfv_finalise)
	* em-message-browser.c (emmb_init): As EMFolderView::ui_files now
	always is a list of filenames constructed with g_build_filename(),
	use g_free() on each list entry before calling g_slist_free() on
	the list.

	* em-folder-tree-model.c (em_folder_tree_model_load_state): Use
	e_xml_parse_file().

	* em-migrate.c: Bypass all the code for upgrading from 1.x on Win32.
	(emm_setup_initial): Use GDir instead of dirent.

	* em-sync-stream.c
	* mail-folder-cache.c: Use pthread_equal() to compare pthread_t
	values.

	* em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32.

svn path=/trunk/; revision=30854
2005-12-18 08:24:26 +00:00
9185fb32b3 ** See bug #314440.
2005-08-25  Not Zed  <NotZed@Ximian.com>

        ** See bug #314440.

        * em-format-html.c (efh_url_requested): check the content object's
        mime type, not the container, when seeing if the data should be
        written.
        (efh_write_text_html): add some debug.

        * em-format-html-display.c (efhd_html_button_press_event): fix
        debug.

svn path=/trunk/; revision=30253
2005-08-26 01:52:55 +00:00
64c94ae9ce put the s/mime message back, awaiting string approval for a change
2005-08-19  Not Zed  <NotZed@Ximian.com>

        * em-format.c (emf_multipart_encrypted): put the s/mime message
        back, awaiting string approval for a change otherwise.

2005-08-18  Not Zed  <NotZed@Ximian.com>

        * em-format-html-display.c (efhd_message_add_bar): dont add
        attachment bar if it is disabled.
        (efhd_attachment_button): dont add attachments if there is no bar.

        * em-format.c (emf_inlinepgp_signed, emf_inlinepgp_encrypted): fix
        the error messages for consistency.  We dont need to check
        content-type, since we only get called with the right one.
        (emf_multipart_encrypted): fix up wrong s/mime error.

        * em-format-html.c (efh_inlinepgp_signed)
        (efh_inlinepgp_encrypted): moved to em-format.c; otherwise this
        will break replying, etc.

        ** See #271894.

        * em-format.c (emf_multipart_encrypted): use the content object's
        content-type to check types.

svn path=/trunk/; revision=30161
2005-08-19 05:38:22 +00:00
7cfdd131b5 Added code to create a attachment bar.
2005-07-25  Srinivasa Ragavan <sragavan@novell.com>

	* em-format-html-display.c: (efhd_init) (efhd_finalise) ()
	(efhd_attachment_image) (efhd_attachment_button) (efhd_format_attachment)
	Added code to create a attachment bar.

	* em-format-html.c: (efh_format_message) Added code to add bar
	at the beginning of the message.

	* em-popup.[ch]: (em_popup_target_new_attachments) (emp_part_popup_set_background)
	(emp_standard_menu_factory) Added code to handle the popup menu inside the attachment
	bar.

	* em-utils.[ch]: (em_utils_edit_filters) (emu_get_save_filesel)
	(em_utils_save_part) (em_utils_save_messages) Added code to handle save selected and
	save all options of the attachment bar.

svn path=/trunk/; revision=29866
2005-07-25 04:23:41 +00:00
a9edef00dd implement extraction of inline signed/encrypted pgp parts and package them
2005-06-24      Matt Brown      <matt@mattb.net.nz>

        * em-inline-filter.c: implement extraction of inline signed/encrypted pgp
        parts and package them into x-inlinepgp-signed/x-inline-pgp-encrypted
        parts.
        * em-format-html.c: Formatters to verify/decrypt and then display the
        parts generated by the inline filter.

svn path=/trunk/; revision=29603
2005-07-01 03:29:23 +00:00
9066b42ddd ** See bug #307398
2005-06-25  Not Zed  <NotZed@Ximian.com>

        ** See bug #307398

        * mail-session.c (alert_user): copy the prompt string, in 'no
        cancel' mode we run asynchronously.
        (free_user_message): & free it.

2005-06-24  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_url_requested): dont pass data gtkhtml
        definitely can't handle, to gtkhtml.  This is no security patch,
        but stops gtkhtml wasting time tying to render malicious mails or
        other rubbish.

svn path=/trunk/; revision=29582
2005-06-24 17:38:12 +00:00
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
bc8b0ad9df Don't show multiple "Mailer" headers even if multiple
2005-03-16  Jeffrey Stedfast  <fejj@novell.com>

	* em-format-html.c (efh_format_headers): Don't show multiple
	"Mailer" headers even if multiple x-mailer/user-agent/whatever
	headers exist. Fixes bug #70394.

svn path=/trunk/; revision=29052
2005-03-17 18:59:40 +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
1a1c85eabf Don't use the pre-UTF-8 converted subject header string from the
2005-02-23  Jeffrey Stedfast  <fejj@novell.com>

	* em-format-html.c (efh_format_header): Don't use the pre-UTF-8
	converted subject header string from the CamelMimeMessage object,
	decode it ourselves using the the user's override charset. Fixes
	bug #62109.

svn path=/trunk/; revision=28881
2005-02-24 17:18:37 +00:00
1826519a5d ** See bug #67083
2005-01-31  Not Zed  <NotZed@Ximian.com>

        ** See bug #67083

        * em-format-html.c (efh_format_text_header): no-wrap the header line.

svn path=/trunk/; revision=28623
2005-01-31 07:28:03 +00:00
c075b7d96c kill old 'load http 0 now=0' debug.
2005-01-18  Not Zed  <NotZed@Ximian.com>

	* em-format-html.c (emfh_gethttp): kill old 'load http 0 now=0' debug.

	** See bug #70563.

	* em-utils.c (emu_set_proxy, emu_proxy_setup)
	(em_utils_get_proxy_uri): make sure the init code is called from
	main thread (gconf usage), and add locking for data consistency.

svn path=/trunk/; revision=28424
2005-01-18 05:32:19 +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
7f793b9128 ** See bug #69339.
2004-11-22  Not Zed  <NotZed@Ximian.com>

        ** See bug #69339.

        * em-format-html.c (efh_format_do): after closing the base output
        stream, re-loop if more jobs were queued.

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

        ** See bug #69339.

        * em-format-html.c (efh_format_do): close the stream/html after we're
        finished, since the multipart/related stuff may write more content
        for orphaned attachments.

svn path=/trunk/; revision=28024
2004-12-01 03:41:29 +00:00
1335b50751 revert jeff's last change - we do actually want to know when we couldn't
2004-11-03  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (emfv_list_done_message_selected): revert
        jeff's last change - we do actually want to know when we couldn't
        load a message.  the crash he was fixing was fixed elsewhere.
        also fix the unref ordering stuff.

        * em-format-html.c (efh_format_timeout): removed the fixme i
        added.

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

        ** See bug #67496.

        * em-format-html.c (efh_text_html): use the base on the emformat
        to calculate our absolute iframe uri.
        (efh_multipart_related): same as emf_multipart_related.

        * em-format.c (emf_multipart_related): remove content-location
        handling, now done in format_part_as.
        (em_format_part_as): track content-base (& absolute
        content-location) of all parts here.

svn path=/trunk/; revision=27807
2004-11-03 02:40:39 +00:00
cc2952f2e5 use shorthand border: property
svn path=/trunk/; revision=27796
2004-11-02 15:34:28 +00:00
37fabe1d45 replace 3 nested html tables used to create this gray border around parts
2004-11-02  Radek Doulik  <rodo@ximian.com>

	* em-format-html.c: replace 3 nested html tables used to create
	this gray border around parts content with div block with border
	style

svn path=/trunk/; revision=27792
2004-11-02 09:16:50 +00:00
6ce4413006 ** See bug #65058 (again again).
2004-09-23  Not Zed  <NotZed@Ximian.com>

        ** See bug #65058 (again again).

        * em-format-html.c (efh_text_html): calculate our location uri
        ourselves (content id).

        * em-format.c (em_format_add_puri): if we have no content-location
        key, don't fallback to any container's location.

svn path=/trunk/; revision=27356
2004-09-24 04:09:10 +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
1d5b61d3d0 Partial fix for bug #62771
2004-08-10  Jeffrey Stedfast  <fejj@novell.com>

	Partial fix for bug #62771

	* em-format-quote.c (emfq_format_header): Same.

	* em-format-html.c (efh_format_header): Decode the
	X-Mailer/User-Agent headers.

svn path=/trunk/; revision=26889
2004-08-12 16:34:22 +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
3135766500 Fix for bug #61199.
2004-07-07  Jeffrey Stedfast  <fejj@novell.com>

	Fix for bug #61199.

	* em-format-html.c (efh_format_address): Same.

	* em-format-quote.c (emfq_format_address): Make sure 'real' isn't
	NULL before using.

svn path=/trunk/; revision=26606
2004-07-09 13:57:54 +00:00
ebe75e422f remove some debug.
2004-05-24  Not Zed  <NotZed@Ximian.com>

        * em-folder-view.c (emfv_enable_menus): remove some debug.

        * em-format-html.c (efh_format_header): output commas between
        newsgroups, and also append_printf.

svn path=/trunk/; revision=26060
2004-05-24 08:02:25 +00:00
dbd786a2dd if we end up with an application/octet-stream part, pre-snoop it so we set
2004-05-19  Not Zed  <NotZed@Ximian.com>

        * em-inline-filter.c (emif_add_part): if we end up with an
        application/octet-stream part, pre-snoop it so we set the right
        mime type to start with.  Fixes #58554.

        * em-format.c (emf_snoop_part): removed, now in em-utils.

        * em-utils.c (em_utils_snoop_type): rah rah, snoop a mime part's
        type.

        * em-format-html.c (efh_text_plain): Revert jeff's fix for #56290.
        Ugh, we already have all the citation info in local data.  Removed
        the need for gconf too.

svn path=/trunk/; revision=25974
2004-05-19 07:02:12 +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
8a1a98e138 Added header "X-Newsreader" for handle Outlook Express as Mailer.
2004-05-18  Cantona Su <paradisetux@hotmail.com>

        * em-format-html.c: Added header "X-Newsreader" for handle Outlook
        Express as Mailer.

svn path=/trunk/; revision=25965
2004-05-19 01:17:11 +00:00
283a879d99 ** Quick fix for #57434
2004-05-18  Not Zed  <NotZed@Ximian.com>

        ** Quick fix for #57434

        * em-format.c (emf_format_clone): fix the FIXME about cloning
        headers shown.

        * em-format-html.c (efh_format_headers): only show rupert if we're
        showing rupert.

        * em-format-html-print.c (efhp_init): default show_rupert to off.

        * em-format-html.c (efh_init): default show_rupert to on.

        * em-format-html.h: added show_rupert bit.

svn path=/trunk/; revision=25953
2004-05-18 07:48:19 +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
6cb88a7819 ** See bug #57720.
2004-05-05  Not Zed  <NotZed@Ximian.com>

        ** See bug #57720.

        * em-folder-browser.c (emfb_create_view_menus): removed some stuff
        done in create_view_instance in the superclass.

        * em-folder-view.c (emfv_create_view_instance): moved here from
        em-folder-browser, setup the view instance for the folder.
        (emfv_set_folder): if the folder is set, create the view instance.

        * em-folder-browser.c: moved the galview instance and menu
        pointers to EMFolderView, since they're basically meta-data on the
        messagelist @ to fix issues.

        * em-folder-view.c (em_folder_view_open_selected): copy over the
        threaded list value when the message browser is brought up.

        ** some clean up

        * evolution-mail.schemas.in.in: removed xmailer_mask stuff.

        * em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff.

        * em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff.

        * em-format-html.c (em_format_html_set_xmailer_mask): removed.
        This isn't used anymore.

        ** Fixes the double-draw on separate mail view.

        * message-list.c (on_cursor_activated_cmd): noop if the cursor and
        uid match for all cases (clearing uid).
        (on_selection_changed_cmd): noop if the cursor and new selection
        hasn't changed & fix a memleak.

svn path=/trunk/; revision=25806
2004-05-05 13:28:03 +00:00
45dae27911 set gtk_html_begin's flags to avoid scroll to top of the message and
2004-04-26  Radek Doulik  <rodo@ximian.com>

	* em-format-html.c (efh_format_timeout): set gtk_html_begin's
	flags to avoid scroll to top of the message and
	reloading+flickering of images

	* em-html-stream.c: added GtkHTMLBeginFlags flags field
	(em_html_stream_set_flags): new helper function to set new flags
	field
	(emhs_sync_write): use gtk_html_begin_full with new flags field
	(em_html_stream_new): zero flags field

svn path=/trunk/; revision=25616
2004-04-26 15:53:15 +00:00
455fad8262 fix the check to see if we've already loaded the images. #57450.
2004-04-23  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (em_format_html_load_http): fix the check to
        see if we've already loaded the images.  #57450.

svn path=/trunk/; revision=25594
2004-04-23 06:04:14 +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
0997d33f97 reset load_http_now once we've done, should fix #56338 finally.
2004-04-13  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c
        (efh_format_done): reset load_http_now once we've done, should
        fix #56338 finally.

svn path=/trunk/; revision=25430
2004-04-13 11:00:37 +00:00
f8574c815f use %% for %%.
2004-04-13  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_format_headers): use %% for %%.

        * em-folder-view.c (emfv_init, emfv_finalise, emfv_activate):
        revert dans' creatable items handler patch, moved to
        mail-component instead (which deals with the actual menu's).

        * mail-component.c (impl_createControls): setup a user creatable
        items handler on the view widget.
        (view_control_activate_cb): activate the user creatable items
        handler on the view widget.

        * em-folder-view.c (emfv_init): add a comment about jeff's last
        fix.

        * em-utils.c (forward_non_attached): Set attachments from
        forwardee before we set the body, otherwise images wont resolve
        properly.  Related to #56566.

svn path=/trunk/; revision=25428
2004-04-13 07:50:59 +00:00
19fed9bc83 add width=16 height=16 to rupert's image so that it doesn't flicker/move
2004-04-09  Radek Doulik  <rodo@ximian.com>

	* em-format-html.c (efh_format_headers): add width=16 height=16 to
	rupert's image so that it doesn't flicker/move

svn path=/trunk/; revision=25385
2004-04-09 17:13:33 +00:00
2e21dccafa add the monkey button if we're from evolution. See #52977. (emfh_gethttp):
2004-04-08  Not Zed  <NotZed@Ximian.com>

        * em-format-html.c (efh_format_headers): add the monkey button if
        we're from evolution.  See #52977.
        (emfh_gethttp): cast away a warning.

svn path=/trunk/; revision=25372
2004-04-08 10:13:51 +00:00
e2333fc944 ** See bug #56338.
2004-04-02  Not Zed  <NotZed@Ximian.com>

        ** See bug #56338.

        * em-format-html.c (emfh_gethttp): fix the fugly "load http if"
        that doesn't work to be a fugly "load http if" that does work.
        (efh_format_timeout): dont set load_http_now here, its only an
        override now.

svn path=/trunk/; revision=25296
2004-04-02 07:32:08 +00:00
2983bfc285 Only do citation colouring if the user has specified to do so and use the
2004-03-31  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html.c (efh_text_plain): Only do citation colouring if
	the user has specified to do so and use the user's specified
	colour when appropriate. Fixes bug #56290.

svn path=/trunk/; revision=25269
2004-03-31 17:38: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
e8e4e125f6 Use sizeof() to decide how big buffer is so that in the future, if we
2004-03-23  Jeffrey Stedfast  <fejj@ximian.com>

	* em-format-html.c (emfh_gethttp): Use sizeof() to decide how big
	buffer is so that in the future, if we change the length of
	bufefr, things will Just Work (tm).

svn path=/trunk/; revision=25166
2004-03-23 20:41:26 +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