diff options
author | Dan Winship <danw@src.gnome.org> | 2000-06-01 04:47:22 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-06-01 04:47:22 +0800 |
commit | 74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f (patch) | |
tree | f5e9984c37b0ab63bde0476ab5a119016b560c78 /mail/ChangeLog | |
parent | e7255c4c78f45c25b736558fb511615ab47edc69 (diff) | |
download | gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.gz gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.bz2 gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.lz gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.xz gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.tar.zst gsoc2013-evolution-74ff74bf9b704a9cd6c007d25256d2ee6bbdad2f.zip |
Initialize the "urls" hash table stored on the message and store cid and
* mail-format.c (mail_format_mime_message): Initialize the "urls"
hash table stored on the message and store cid and other URLs
there rather than as object data on the message.
(get_cid): rewrite this a bunch
(handle_text_enriched): move the code from write_iframe_string()
into here, since it's the only place that actually needs it.
(handle_text_html): simplify this a lot. We can use a cid: URL
here rather than x-evolution-data.
(get_url_for_icon): New routine to return URLs for icons, and
cache the results, so we don't have to keep re-reading the icon
files (and so we can't be spoofed into reading non-icon files).
(handle_mystery, handle_audio): use get_url_for_icon.
* mail-display.c (save_data): move the CamelMimePart filename
extracting code from get_cid to here.
(on_link_clicked, on_object_requested): Update for cid: changes.
(on_url_requested): Kill off the kludgy, exploitable x-gnome-icon
URL schema, update cid and x-evolution-data to match
mail-format.c.
It should now be easier to implement RFC 2557 (Content-Location,
etc), but that RFC still pretty much sucks.
svn path=/trunk/; revision=3314
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r-- | mail/ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 61eb17ee1c..e5d63b69f7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,28 @@ +2000-05-31 Dan Winship <danw@helixcode.com> + + * mail-format.c (mail_format_mime_message): Initialize the "urls" + hash table stored on the message and store cid and other URLs + there rather than as object data on the message. + (get_cid): rewrite this a bunch + (handle_text_enriched): move the code from write_iframe_string() + into here, since it's the only place that actually needs it. + (handle_text_html): simplify this a lot. We can use a cid: URL + here rather than x-evolution-data. + (get_url_for_icon): New routine to return URLs for icons, and + cache the results, so we don't have to keep re-reading the icon + files (and so we can't be spoofed into reading non-icon files). + (handle_mystery, handle_audio): use get_url_for_icon. + + * mail-display.c (save_data): move the CamelMimePart filename + extracting code from get_cid to here. + (on_link_clicked, on_object_requested): Update for cid: changes. + (on_url_requested): Kill off the kludgy, exploitable x-gnome-icon + URL schema, update cid and x-evolution-data to match + mail-format.c. + + It should now be easier to implement RFC 2557 (Content-Location, + etc), but that RFC still pretty much sucks. + 2000-05-30 Dan Winship <danw@helixcode.com> * mail-format.c: Redo this back to the old way: a single GtkHTML |