aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-attachment-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify em_utils_forward_message() arguments.Matthew Barnes2013-06-021-22/+14
| | | | | Replace the EShell and CamelSession arguments with a single EMailBackend argument, from which both the EShell and CamelSession can be obtained.
* Make EAttachment a little more thread-safe.Matthew Barnes2013-05-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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()
* Attachment-related cleanups.Matthew Barnes2013-05-241-40/+58
|
* Remove EMailShellSettings.Matthew Barnes2013-03-171-10/+8
| | | | | | | | EShellSettings predates GSettings and is no longer necessary. GSettings allows binding GObject properties to GSettings keys, with optional mapping functions. That fulfills the purpose of EShellSettings.
* Coding style and whitespace cleanup.Matthew Barnes2013-02-241-2/+2
|
* Bug #680537 - Reply to individual message in digest generates empty bodyMilan Crha2013-01-241-27/+64
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-1/+1
|
* Avoid code duplication for reply on message attachmentMilan Crha2012-09-121-33/+11
|
* Bug #600860 - Opening IMAP message with large attachment blocks UIMilan Crha2012-04-131-0/+5
|
* EMFormat: Add "session" as a constructor property.Matthew Barnes2012-04-011-1/+2
| | | | Pass it in instead of digging it out of EShellSettings.
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-9/+11
|
* Bug 659395 - Missing plural handling for "%d attached messages"David Morley2012-02-011-2/+6
|
* Prefer g_seekable_seek() over camel_stream_reset().Matthew Barnes2011-07-051-1/+1
| | | | | | | | | When a stream is obviously a file or memory stream (both of which implement the GSeekable interface), use g_seekable_seek() instead of camel_stream_reset(). This is helping me discover if it's safe to remove camel_stream_reset(). We want to eventually move to GIO streams, which have no reset method.
* Bug #530335 - Allow Reply to selected address onlyRathin2011-06-141-2/+2
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Miscellaneous cleanups.Matthew Barnes2011-05-131-1/+5
|
* em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-10/+4
| | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
* Reimplement em_utils_forward_messages().Matthew Barnes2011-05-121-1/+1
| | | | | Now uses e_mail_folder_build_attachment() and e_mail_folder_get_multiple_messages().
* Adapt to CamelFolder:name -> display-name.Matthew Barnes2011-05-071-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-1/+3
|
* Bug #642093 - Frees message attachment content on ReplyMilan Crha2011-03-011-0/+6
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-11/+7
|
* Reduce GConf usage in em-composer-utils.c.Matthew Barnes2010-10-201-3/+24
| | | | | | | | | | | | | | | | | | To reduce GConf usage in em-composer-utils.c: - Relevant functions in em-composer-utils.c now take arguments for reply and forward styles. - Redundant forwarding functions were removed: em_utils_forward_attached() em_utils_forward_inline() em_utils_forward_quoted() - EMailReader now has "forward-style" and "reply-style" properties, which get bound to the appropriate EShellSettings properties in modules/mail/e-mail-config-reader.c. These same EShellSettings properties are bound to the combo boxes in Composer Preferences.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-25/+70
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-4/+5
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-3/+6
|
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-3/+15
| | | | Reduce the composer's dependency on e_shell_get_default().
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-11/+10
|
* Adapt to Camel API changes.Matthew Barnes2010-04-301-12/+2
|
* Camel is now GObject-based.Matthew Barnes2010-04-241-9/+9
|
* Adapt to Camel API changes.Matthew Barnes2010-04-041-6/+6
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-2/+0
|
* Bug 606250 - Remove usage of deprecated GTK+ symbolsMatthew Barnes2010-01-081-2/+2
| | | | Several GtkWidget macros were recently deprecated.
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-1/+1
| | | | | | The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-2/+2
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* port modules/ to new EError API.Jonathon Jongsma2009-12-011-1/+1
| | | | | | This should be everything now. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Simplify EPlugin loading at startup.Matthew Barnes2009-08-301-0/+525
- Require all EPlugin and EPluginHook subtypes be registered before loading plugins. This drastically simplifies the EPlugin/EPluginHook negotiation. - Turn most EPluginHook subtypes into GTypeModules and register their types from an e_module_load() function (does not include shell hooks). - Convert EPluginLib and the Mono and Python bindings to GTypeModules and register their types from an e_module_load() function, and kill EPluginTypeHook.