| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-19 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (emfv_on_url_cb): properly decode the mailto
url rather than treating it as a simple string.
* em-format-html.c (efh_format_address): if we have a name part,
add it to the mailto part. As per rfc2368. So it isn't lost for
clicking/etc.
svn path=/trunk/; revision=24298
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-16 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html.c (efh_format_address): Dump a struct
_camel_header_address to an html string.
(efh_format_header): Use efh_format_address() and set the
EM_FORMAT_HTML_HEADER_HTML bit on the flags so we don't re-convert
our html string into html.
svn path=/trunk/; revision=24280
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-15 Not Zed <NotZed@Ximian.com>
** See bug #52891.
* em-format-html.c (em_format_html_get_type): protect against http
cache not being able to be created.
svn path=/trunk/; revision=24236
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-12 Not Zed <NotZed@Ximian.com>
** See bug 52737.
* em-format-html.c (efh_text_plain): treat text/* as inline
content from the made-up multipart.
svn path=/trunk/; revision=24159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-09 Not Zed <NotZed@Ximian.com>
* em-format.c (em_format_format_text): keep the windows charset
filter around until we're done since if we set it up we reference
its memory. Causes warnings and breaks message display.
** See bug #52637.
* em-inline-filter.c (em_inline_filter_new): added a content-type
paramter for the base content type.
(em_inline_filter_finalize): free base content type.
(emif_types[]): Added 'plain' parameter, indicates type needs
plain parameters set on content type.
(emif_add_part): inherit the full base type if it is set, for
plain parts.
* em-format-html.c (efh_text_plain): pass the part's content-type
to the inline filter.
svn path=/trunk/; revision=24121
|
|
|
|
|
|
|
|
|
|
|
| |
2004-01-07 Jeffrey Stedfast <fejj@ximian.com>
* em-format-html.c (efh_format_address): Removed.
(efh_format_header): Handle address formatting a little
differently to address dwmw's complaints. Also now handles other
headers such as Resent-* and Sender as well.
svn path=/trunk/; revision=24090
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-12 Not Zed <NotZed@Ximian.com>
** See bug #52108.
* em-format.c (em_format_is_attachment): also recognise
application/pkcs7-mime for mailers who like to make up their own
standards.
* em-format-html.c (type_builtin_table[]): *
em-format-html-display.c (type_builtin_table[]): make recognise
application/pkcs7-mime too.
svn path=/trunk/; revision=23931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-11 Grahame Bowland <grahame@angrygoats.net>
* em-format-html.c (efh_format_header): display
x-evolution-mailer pseudo header irrespective of
xmailer_mask. This is now handled by a header
configuration dialog.
* mail-config.glade: add tab to mail configuration
dialog to allow custom headers to be specified for
display.
* em-mailer-prefs.h: modify struct _EMMailerPrefs to
add widgets for custom header tab. Add defines for custom
header flags. Add struct EMMailerCustomHeader to describe
custom headers, and add function
em_mailer_custom_headers_from_xml to allow XML from gconf
key to be parsed into this structure.
* em-folder-view.c (emfv_setting_notify): catch changes to
custom header gconf key and update mail view to correspond
* em-mailer-prefs.c (em_mailer_prefs_apply): save custom
headers to gconf
(header_list_enabled_toggled): toggle clicked toggle column
(add_header): add header to custom header list if valid
(remove_header): remove selected custom header
(is_valid_header): return true if passed header is valid,
otherwise false
(entry_header_changed): call add_header_update_sensitivity
(em_mailer_prefs_construct): initialise header selection tab.
Load gconf data for header selection dialog.
(em_mailer_custom_header_to_xml): load a header structure
from XML document structure
(em_mailer_custom_header_from_xml): load a header
structure from a string containing valid XML. if any failure,
the header.name is set to NULL.
(header_list_row_selected): call
remove_header_update_sensitivity
(remove_header_update_sensitivity): set the sensitivity of
the remove button to FALSE if the list is empty or nothing
is selected. Otherwise, set it to TRUE.
(add_header_update_sensitivity): set the sensitivity of the
the add button to FALSE if the entry box is empty, contains
a duplicate header, or contains an invalid header. Otherwise,
set it to TRUE.
* evolution-mail.schemas.in.in: add mail/display/headers
svn path=/trunk/; revision=23924
|
|
|
|
|
|
| |
matches html and text modes.
svn path=/trunk/; revision=23922
|
|
|
|
|
|
|
|
| |
2003-12-10 Larry Ewing <lewing@ximian.com>
* em-format-html.c: add text/x-patch as a plain type.
svn path=/trunk/; revision=23918
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-10 Not Zed <NotZed@Ximian.com>
* em-format-html-display.c (efhd_multipart_signed):
* em-format-html.c (efh_multipart_signed):
* em-format.c (emf_multipart_signed): treat
application/pkcs7-signature as application/x-pkcs-signature.
Stupud non-rfc-compliant mailers from apple. Bug #51750.
svn path=/trunk/; revision=23907
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-25 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (em_folder_view_print): set session on print
formatter for signatures to work.
* em-message-browser.c (emmb_destroy): kill warning.
* em-format-html.c (efh_output_secure): same as
efhd_output_secure, output the security bar, but for
printing/plain html.
(efh_application_xpkcs7mime): use output_secure.
(em_format_html_multipart_signed_sign): removed, output_secure
does what this did.
* em-format-html-display.c (smime_sign_table,
smime_encrypt_table): Added a short description for the mail
display.
(efhd_xpkcs7mime_button): only good/bad signature at this point,
if only encrypted, then display 'bad' icon.
(efhd_output_secure): output the security bar/button and handle
multi-level enveloping properly.
(efhd_application_xpkcs7mime): just call output_secure to do
the security bar.
(efhd_multipart_signed): same.
(efhd_signature_button): removed, no longer used.
(efhd_signature_check): removed, no longer used.
svn path=/trunk/; revision=23483
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-24 Radek Doulik <rodo@ximian.com>
* em-format-html.c (efh_text_plain): use new colors
(efh_text_html): ditto
* em-format-html-display.c (efhd_gtkhtml_realise): set new colors
according to style
* em-format-html.c (efh_init): init new colors
* em-format-html.h: added frame and content colors
svn path=/trunk/; revision=23477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-24 Radek Doulik <rodo@ximian.com>
* em-format.c (emf_multipart_mixed): do not use horizonal rule,
attachment content is now inside simple frame
* em-format-html.c (efh_text_plain): add 6 points around text
plain content and frame it
(efh_text_html): frame text/html
(efh_format_do): fix body tag, set bgcolor
(em_format_html_format_headers): do not put headers into own
table, content body is framed now instead
(efh_format_message): update for headers/body changes
* em-format-html-display.c (efhd_format_attachment): put
additional vertical space around attachment button
svn path=/trunk/; revision=23474
|
|
|
|
|
|
|
|
|
| |
2003-11-13 Not Zed <NotZed@Ximian.com>
* em-format-html.c (em_format_html_add_pobject): use malloc0 for
the pobject memory.
svn path=/trunk/; revision=23313
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-12 Not Zed <NotZed@Ximian.com>
* mail-account-gui.c (smime_sign_key_select)
(smime_encrypt_key_select, smime_encrypt_key_selected)
(smime_sign_key_selected): implement the key selector popup using
e-cert-selector.
2003-11-11 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_application_xpkcs7mime): output icons of the status.
(em_format_html_add_pobject): Changed to take a size specificier,
return the pobject, and re-ordered args to be more consistent with
puri stuff.
(em_format_html_remove_pobject): handle the free callback if set.
* em-format.c (emf_application_xpkcs7mime): moved this to
em-format-html since it needs to do icon stuff.
svn path=/trunk/; revision=23312
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-10 Not Zed <NotZed@Ximian.com>
* em-format-html.c (em_format_html_multipart_signed_sign): changed
for cipher context api changes.
* em-format.c (emf_multipart_signed): ditto.
2003-11-07 Not Zed <NotZed@Ximian.com>
* mail-config.glade: added security_information_dialog (probably
temporarily in this file).
* em-format.c (em_format_is_attachment): also treat pkcs7-mime as
non-attachment.
(emf_application_xpkcs7mime): no longer need to worry about
scanning the part.
svn path=/trunk/; revision=23243
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-30 Not Zed <NotZed@Ximian.com>
* em-format.c (em_format_is_inline): show application/x-pkcs7-mime
inline always by default.
2003-10-30 Not Zed <NotZed@Ximian.com>
* em-format.c (emf_multipart_signed): handle
application/x-pkcs7-signature.
2003-10-29 Not Zed <NotZed@Ximian.com>
* em-format-html.c (em_format_html_multipart_signed_sign): handle
application/x-pkcs7-signature.
* em-format.c (emf_application_xpkcs7mime): Handle
application/x-pkcs7-mime.
svn path=/trunk/; revision=23129
|
|
|
|
| |
svn path=/trunk/; revision=22964
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-02 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_format_timeout): zero out last_part if
we're clearing. Uh, this fixes, but shouldn't, part of #49034.
The problem is the 'last part' logic is based on the address,
which can quite easily be repeated for different messages.
* em-folder-view.c (emfv_list_message_selected): reverted jeff's
patch for #48618, use a much simpler method.
* em-message-browser.c (emmb_destroy): hook onto destroy handler,
we need to destroy the messagelist ourselves, since we dont attach
it to any parent window.
svn path=/trunk/; revision=22785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-01 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_init): turn off blocking writes.
(efh_format_timeout): don't do a htmlbegin on the page yet, it'll
be handled by em-html-stream when it has data, to reduce flicker.
(efh_format_do): close the main gtkhtml stream as soon as we're
done writing the body. any sub-jobs should be using frames etc.
(efh_text_plain): dont write a table around the text, try to
reduce flickering. layout may be out now though.
* em-html-stream.c (emhs_sync_write): if we have no html_stream
yet, begin a new one.
svn path=/trunk/; revision=22784
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-30 Not Zed <NotZed@Ximian.com>
* em-format-html.c (efh_init): remove gconf stuff.
(em_format_html_set_xmailer_mask): new method to set the xmailer mask.
* em-folder-view.c (emfv_display_keys[]): Added charset key to
monitor/retrieve, and xmailer_mask.
(emfv_setting_notify): Monitor charset setting, pass onto the
formatter, as well as xmailer_mask.
* mail-preferences.c (mail_preferences_construct): use the new
charset key.
(mail_preferences_apply): use the new charset key.
* evolution-mail.schemas: Moved the mail/format/charset to
mail/display/charset. 1. it makes more sense, and 2. it makes
notification update easier in em-folder-view.c
* em-format.c (emf_init): remove the gconf charset stuff, for bug
#48791, and also actually fixes the fixme that jeff thought he
fixed.
(em_format_format_text): use default charset as fallback.
(em_format_set_default_charset): New method to set the default charset.
(gconf_charset_changed): removed.
svn path=/trunk/; revision=22768
|
|
|
|
|
|
|
|
| |
2003-09-18 Radek Doulik <rodo@ximian.com>
* em-format-html.c (efh_init): use gtkhtml's blocking
svn path=/trunk/; revision=22622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c: updated for camel namespace changes
* em-folder-view.c: updated for camel namespace changes
* em-format-html-display.c: updated for camel namespace changes
* em-format-html-quote.c: updated for camel namespace changes
* em-format.c: updated for camel namespace changes
* em-popup.c: updated for camel namespace changes
* em-utils.c: updated for camel namespace changes
* mail-autofilter.c: updated for camel namespace changes
* mail-ops.c: updated for camel namespace changes
* mail-session.c: updated for camel namespace changes
* message-list.c: updated for camel namespace changes
* message-tag-followup.c: updated for camel namespace changes
* importers/evolution-mbox-importer.c: updated for camel namespace
changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* em-popup.c (emp_standard_menu_factory): Don't forget to
initialise/increment 'i' when using it as an object id in the
for-loop.
* em-format.c (em_format_format_text): Initialise charset to NULL
or it may be used uninitialised. Also include
gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description().
svn path=/trunk/; revision=22610
|
|
2003-09-17 Not Zed <NotZed@Ximian.com>
* folder-browser.c, folder-browser.h, folder-browser-ui.c
folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h
mail-display.c, mail-display.h, mail-display-stream.c
mail-display-stream.h, mail-format.c, mail-format.h
mail-identify.c, mail-search.c, mail-search.h
message-browser.c, message-browser.h, subscribe-dialog.c
subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs
removed.
* Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for
ages.
* em-*.c: killed a bunch of printfs.
* em-format-html-display.c (efhd_html_button_press_event): update
for html object api chagnes.
** Merge in mail-refactor-2 branch.
svn path=/trunk/; revision=22602
|