Commit Graph

39160 Commits

Author SHA1 Message Date
dea7daf4c3 EMailSession: Add helper functions for sending messages.
New functions:

    e_mail_session_get_fcc_for_message_sync()
    e_mail_session_get_fcc_for_message()
    e_mail_session_get_fcc_for_message_finish()
    e_mail_session_ref_transport()
    e_mail_session_ref_default_transport()
    e_mail_session_ref_transport_for_message()
2013-05-24 22:03:51 -04:00
9b742e1f4a Updated Spanish translation 2013-05-24 13:57:09 +02:00
6e1ef3827d Updated gujarati file 2013-05-24 12:52:41 +05:30
749dabd025 Make EAttachment column updates thread-safe.
EAttachment updates its tree model row directly in response to property
change notifications, but now change notifications can come from worker
threads whereas the tree model row should only be updated from the main
thread.  To compensate, respond to notifications by adding idle sources
to the default context.  The idle callback will update the row from the
appropriate thread.
2013-05-23 16:36:02 -04:00
9058c6f85d Make EAttachment a little more thread-safe.
EAttachment is now used from worker threads by EMailFormatterAttachment,
so add some thread-safe accessor functions to eliminate potential races.

Added thread-safe functions:

    e_attachment_dup_disposition()
    e_attachment_ref_file()
    e_attachment_ref_file_info()
    e_attachment_ref_icon()
    e_attachment_ref_mime_part()
    e_attachment_dup_description()
    e_attachment_dup_thumbnail_path()

Renamed functions:

    e_attachment_get_mime_type() -> e_attachment_dup_mime_type()

Removed non-thread-safe functions:

    e_attachment_get_file()
    e_attachment_get_file_info()
    e_attachment_get_icon()
    e_attachment_get_mime_part()
    e_attachment_get_description()
    e_attachment_get_thumbnail_path()
2013-05-23 16:36:02 -04:00
256422cab2 Attachment-related cleanups. 2013-05-23 16:36:01 -04:00
37c5951635 Updated Czech translation 2013-05-23 18:29:30 +02:00
fdb5a113e6 Updated Czech translation 2013-05-23 17:57:46 +02:00
92499e10d4 Assamese translation updated 2013-05-23 12:05:47 +05:30
4bbc3cf008 Updated Polish translation 2013-05-22 17:31:29 +02:00
a9666d99f0 Use an user-friendlier message when update comp-editor fails 2013-05-22 15:18:30 +02:00
badc0e6156 Simplify EABContactFormatter.
Simplify the EABContactFormatter API as follows:

   * Drop all constructor arguments from eab_contact_formatter_new()
     since get/set functions exist for all of them.

   * Remove eab_contact_formatter_format_contact_async() since
     EABContactFormatter does not block.

   * Replace eab_contact_formatter_format_contact_sync() with
     eab_contact_formatter_format_contact() which drops the CamelStream
     and GCancellable arguments and takes a GString as an output buffer.

   * Remove the "state" and "style" properties, and always use a white
     background when rendering the full contact.

     This is particularly important since render_normal() dereferenced
     the GtkStyle without checking for NULL, which would crash on mails
     with a vCard MIME part when "Show Full vCard" was clicked, because
     the "vcard-inline" module never set a GtkStyle.
2013-05-20 15:34:32 -04:00
3df09670af EABContactFormatter cleanups. 2013-05-20 15:34:32 -04:00
c50b3ccd8f Updated Norwegian bokmål translation 2013-05-20 14:03:43 +02:00
6e8c1f46c7 Updated POTFILES.in 2013-05-20 13:21:15 +02:00
f9ffe64723 Convert EMailPart to a GObject.
EMailPart is reference-counted, subclassed, and allows a custom
finalize function.  There's no excuse for it not to use GObject.
2013-05-19 13:07:22 -04:00
0b4e7ec091 Rename EMailFormatterVCardInline to EMailFormatterVCard. 2013-05-19 13:07:21 -04:00
e67ca727d4 Rename EMailParserVCardInline to EMailParserVCard. 2013-05-19 13:07:21 -04:00
8858e3983c Rename EMailPartVCardInline to EMailPartVCard. 2013-05-19 13:07:21 -04:00
4b80da91e8 Rename EMailFormatterAudioInline to EMailFormatterAudio. 2013-05-19 13:07:21 -04:00
8f2969b5fd Rename EMailParserAudioInline to EMailParserAudio. 2013-05-19 13:07:21 -04:00
179d763cf5 Rename EMailPartAudioInline to EMailPartAudio. 2013-05-19 13:07:21 -04:00
62daae00eb Add e_mail_part_attachment_ref_attachment(). 2013-05-19 13:07:21 -04:00
67227b428b Add e_mail_part_get_validity_flags(). 2013-05-19 13:07:21 -04:00
543b4d9321 Add e_mail_part_has_validity(). 2013-05-19 13:07:21 -04:00
42d1e89f02 Add e_mail_part_set_is_attachment(). 2013-05-19 13:07:21 -04:00
ca09edf8fa Add e_mail_part_get_is_attachment(). 2013-05-19 13:07:21 -04:00
875746e0ef Add e_mail_part_set_mime_type(). 2013-05-19 13:07:21 -04:00
0ee556d346 Add e_mail_part_get_mime_type(). 2013-05-19 13:07:21 -04:00
f19058ea7a Add e_mail_part_ref_mime_part(). 2013-05-19 13:07:20 -04:00
5ad0b6d8f7 Add e_mail_part_id_has_substr(). 2013-05-19 13:07:20 -04:00
5fd2243080 Add e_mail_part_id_has_suffix(). 2013-05-19 13:07:20 -04:00
366b731a16 Add e_mail_part_id_has_prefix(). 2013-05-19 13:07:20 -04:00
794e28d239 Add e_mail_part_set_cid(). 2013-05-19 13:07:20 -04:00
5bea269ce8 Add e_mail_part_get_cid(). 2013-05-19 13:07:20 -04:00
c025ffbb29 Add e_mail_part_get_id(). 2013-05-19 13:07:20 -04:00
cd5a55f981 em-format cleanups. 2013-05-19 13:07:20 -04:00
f6f11a1da2 EMailPart: Store validity pairs in a GQueue. 2013-05-19 13:07:20 -04:00
7d3ce25e9f Updated Russian translation 2013-05-18 18:03:56 +04:00
7afae3d354 Updated Norwegian bokmål translation 2013-05-16 14:55:01 +02:00
aaf9ab88d4 Updated Odia Translation. 2013-05-15 21:50:19 +05:30
adf4e1867f Updated Odia Translation. 2013-05-15 21:38:40 +05:30
030e3374b2 Assamese translation updated 2013-05-15 19:07:33 +05:30
74c3bcf7c0 Assamese translation updated 2013-05-15 18:41:52 +05:30
fe528d7847 Minor e_web_view_install_request_handler() cleanup.
Make reference count handling a bit less awkward.
2013-05-14 15:20:14 -04:00
07830ef445 Remove e_mail_display_set_charset().
Use e_mail_formatter_set_charset() instead.
Obtain the EMailFormatter with e_mail_display_get_formatter().
2013-05-14 15:20:14 -04:00
2207b9f8a3 Remove e_mail_formatter_get_headers().
Not thread-safe.  Use e_mail_formatter_dup_headers() instead.
2013-05-14 15:20:14 -04:00
2c5d0444bb Add e_mail_formatter_header_copy().
Duplicates an EMailFormatterHeader struct.
2013-05-14 15:20:14 -04:00
232a3cd15d EMailDisplay cleanups. 2013-05-14 15:20:14 -04:00
d80d4b16d6 EMailFormatterPrint cleanups. 2013-05-14 15:20:14 -04:00