| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
(instead of version 2 or any later version).
svn path=/trunk/; revision=14190
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attachments. Also, I think this should make replies to HTML
messages containing inline images referenced via Content-Location
work, but that's not tested.
* e-msg-composer.c (various): Keep two hash tables of inline image
data: one mapping from cid: URLs to CamelMimeParts for all
attachments, the other mapping from file: and Content-Location
urls to CamelMimeParts (for those inline images that came from a
file or have a Content-Location).
(add_inlined_images): Simplify. Most of this code is in
e_msg_composer_add_inline_image_from_file() now.
(e_msg_composer_add_message_attachments, handle_multipart): Change
"attach_all" arg to "just_inlines". If it is set, call
e_msg_composer_add_inline_image_from_mime_part on any attachment
with a Content-Id or Content-Location.
(e_msg_composer_add_inline_image_from_file): Create a mime part
from a file and add it to the inline images hash.
(e_msg_composer_add_inline_image_from_mime_part): Add a mime part
directly to the inline images hash.
* listener.c (resolve_image_url): If asked to resolve a file: URL
that isn't in the inline images hash, call
e_msg_composer_add_inline_image_from_file to get a cid for it.
(impl_event): Look up the URL in the inline_images and
inline_images_by_url hashes.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): Gone. No longer
used.
svn path=/trunk/; revision=13852
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Larry Ewing <lewing@ximian.com>
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
remove unused variable.
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_message): generalize this to
lookup content locations as well.
* e-msg-composer-attachment-bar.h: change prototype to match the
new function.
* listener.c (impl_event): handle the url_requested event, look up
parts in the attachment part and feed them down the stream if it
is found.
* e-msg-composer.c (handle_multipart_alternative): delay setting
the body text.
(handle_multipart): delay setting body text
(e_msg_composer_new_with_message): set the body text from the
object data. Doing this ensures that we will have the attachments
processed before we try to look them up.
svn path=/trunk/; revision=13445
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 Larry Ewing <lewing@ximian.com>
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_content_id): change to return
a CamelMimePart.
* e-msg-composer-attachment-bar.h: update prototype.
svn path=/trunk/; revision=13437
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-04 Larry Ewing <lewing@ximian.com>
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_find_content_id): look up an
attachment by it's content id.
* e-msg-composer-attachment-bar.h: add prototype for
e_msg_composer_attachment_bar_find_content_id.
svn path=/trunk/; revision=13436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c (attach_to_multipart): Set the
user-chosen charset.
* e-msg-composer.c (menu_change_charset_cb): New callback function
to get the user-set charset.
(init): Set the charset to NULL.
(best_charset): Take a default_charset param that holds the value
the user set for this particular message using the menu.
(destroy): Free the charset.
svn path=/trunk/; revision=10704
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* e-icon-list.c: Replace #include <gtk/gtk.h>
* e-msg-composer-attachment-bar.c: Replace #include <gnome.h>
* e-msg-composer-attachment-bar.h: Remove #include <gnome.h>
* e-msg-composer-attachment.c: Remove #include <gnome.h>
* e-msg-composer-attachment.h: Same here.
* e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h>
* e-msg-composer-hdrs.h: Replace #include <gnome.h>
* e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h>
* e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h>
* e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h>
* evolution-composer.c: Replace #include <bonobo.h>
* listener.c: Same here.
svn path=/trunk/; revision=9023
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-08 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.c (e_msg_composer_clear_inlined_table): new
function
(destroy): use e_msg_composer_clear_inlined_table, destroy
inlined_images hash table
* listener.c (resolve_image_url): don't add inlined images to
attachement bar
* e-msg-composer.c (add_inlined_images): new function, adds
inlined images to multipart
(add_inlined_image): helper function, adds one image to multipart
(build_message): store HTML messages with inlined images to
multipart/related
* e-msg-composer-attachment-bar.c (add_from_file): removed
content_id arg
(e_msg_composer_attachment_bar_attach): likewise
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
removed content_id arg
svn path=/trunk/; revision=6507
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-11-04 Radek Doulik <rodo@helixcode.com>
* listener.c (resolve_image_url): use inline images hash table
* e-msg-composer.c (init): create inlined images hash table
(destroy): destroy it
(clear_inline_images): helper function, used from
g_hash_table_foreach_remove to destroy one inline image record
* e-msg-composer.h: added hash table with inlined images url ->
cid info
2000-11-03 Radek Doulik <rodo@helixcode.com>
* listener.c (impl_event): updated for API changed
implemented image_url event
(resolve_image_url): new helper function, attaches image to mail
and returns new (resolved) url pointing to mime component
* e-msg-composer-attachment.c (e_msg_composer_attachment_new):
added conponent_id parameter
* e-msg-composer-attachment-bar.c
(e_msg_composer_attachment_bar_attach): added parameter content_id
(add_from_file): likewise
svn path=/trunk/; revision=6390
|
|
|
|
|
|
| |
Make thumbnails out of image attachments.
svn path=/trunk/; revision=5648
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-msg-composer.c (e_msg_composer_attach): New convenience
function.
* e-msg-composer-attachment.c: Store a CamelMimePart rather than
filename/description/mime_type info. Also record whether we were
told or guessed the MIME type.
(e_msg_composer_attachment_new_from_mime_part): New constructor.
(e_msg_composer_attachment_edit): Remove the "browse" button. (If
the user wants to change the actual file that the attachment is
based on, he should delete the attachment and create a new one...)
Remove the "Apply" button, because it's not all that useful. Make
the MIME type only track the filename if it was guessed rather
than being provided.
* e-msg-composer-attachment.glade: Remove "browse" and "apply"
buttons. Make filename editable.
* e-msg-composer-attachment-bar.c (sort): Removed. Send the
attachments in the order the user attached them in.
(text_changed): Removed, since we weren't enabling the relevant
GnomeIconList functionality that would have used this.
(update): Don't print the size if it's 0.
(attach_to_multipart, etc): adjust for EMsgComposerAttachment
changes.
(attach_to_multipart): Use 7bit encoding for message/ subparts.
(e_msg_composer_attachment_bar_attach_mime_part): New convenience
function.
svn path=/trunk/; revision=3430
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel-mime-body-part.[ch]: Remove. We weren't using the fields
that made this different from camel-mime-part, so it basically
just forced us to do lots of gratuitous typecasting.
* camel-multipart.[ch]: Use CamelMimePart. Remove the multipart
parent stuff, since we weren't using that either.
* etc: update for CamelMimeBodyPart -> CamelMimePart
svn path=/trunk/; revision=2645
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* camel/camel-types.h: New header with the typedefs for all camel
classes. Now the class headers can just include this and the
header for the parent type. This makes it possible for
CamelService to include a CamelSession without creating an
#include loop.
* camel/*:
* composer/e-msg-composer-attachment-bar.h:
* mail/folder-browser.c:
* mail/message-list.c: frob #includes to match the new reality
svn path=/trunk/; revision=1850
|
|
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.
svn path=/trunk/; revision=1395
|