aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix/mute issues found by Coverity scanMilan Crha2013-11-151-3/+3
| | | | | | | | | | | | This makes the code free of Coverity scan issues. It is sometimes quite pedantic and expects/suggests some coding habits, thus certain changes may look weird, but for a good thing, I hope. The code is also tagged with Coverity scan suppressions, to keep the code as is and hide the warning too. Also note that Coverity treats g_return_if_fail(), g_assert() and similar macros as unreliable, and it's true these can be disabled during the compile time, thus it brings in other set of 'weird' changes.
* Convert libemail-engine to a single-include model.Matthew Barnes2013-11-121-7/+1
| | | | Use: #include <libemail-engine/libemail-engine.h>
* Update error handling when sending offline.Matthew Barnes2013-11-041-1/+8
| | | | | | Camel now uses GResolver for domain name resolution, so check for G_RESOLVER_ERROR when sending so the "saving-to-outbox" alert can work again.
* Miscellaeous cleanups.Matthew Barnes2013-10-201-5/+5
|
* Bug #215115 - Per-folder From: email addressMilan Crha2013-10-081-4/+172
| | | | | | The change also allows setting accounts for certain recipients (based on a part of the recipient address). The option can be found in Folder Properties and in Edit->Preferences->Composer Preferences->Send Account.
* Adapt to Camel API changes.Matthew Barnes2013-09-241-4/+4
|
* Miscellaneous cleanups.Matthew Barnes2013-09-081-4/+8
|
* Do not mask CAMEL_ERROR_GENERIC in composer_send_completed()Milan Crha2013-07-221-2/+3
| | | | | | | Any provider can return a generic error code, which makes the check useless, only hiding important error information from a user. Since the camel_getaddrinfo() returns CAMEL_SERVICE_ERROR_URL_INVALID, the check could be adapted and be more useful.
* Miscellaneous cleanups.Matthew Barnes2013-07-071-2/+2
|
* Bug #689640 - Print Preview of composer text is emptyMilan Crha2013-07-021-0/+26
|
* Avoid em_utils_uids_free() in other places.Matthew Barnes2013-06-151-2/+2
|
* em_utils_is_re_in_subject: Remove unused 'shell' parameter.Matthew Barnes2013-06-141-1/+1
|
* Add e_mail_reader_forward_messages().Matthew Barnes2013-06-031-242/+37
| | | | Replaces em_utils_forward_messages().
* Add e_mail_reader_edit_messages().Matthew Barnes2013-06-031-121/+0
| | | | Replaces em_utils_edit_messages().
* Move "ask-reply-close-browser" prompt to EMailBrowser.Matthew Barnes2013-06-031-11/+1
| | | | | | | | | EMailReader is an interface and should not know about specific classes that implement its interface. Instead, EMailBrowser itself will prompt in response to "composer-created" signals that include a source message. This also removes the "destroy_when_done" parameter from em_utils_forward_messages() since it's no longer needed.
* EMailReader: Add a "composer-created" signal.Matthew Barnes2013-06-031-3/+32
| | | | | | | | | | | | | Emitted to indicate a composer window was created in response to a user action on the EMailReader. Examples of such actions include replying, forwarding, and starting a new message. If applicable, the source message (i.e. the message being replied to or forwarded) is included in the signal emission. New functions: e_mail_reader_composer_created()
* em_utils_edit_message: Change return type to EMsgComposer.Matthew Barnes2013-06-021-2/+2
|
* em_utils_redirect_message: Return the EMsgComposer.Matthew Barnes2013-06-021-3/+7
|
* em_utils_compose_new_message(): Return the EMsgComposer.Matthew Barnes2013-06-021-3/+7
|
* Simplify em_utils_forward_message() arguments.Matthew Barnes2013-06-021-23/+21
| | | | | Replace the EShell and CamelSession arguments with a single EMailBackend argument, from which both the EShell and CamelSession can be obtained.
* em-composer-utils.c cleanups.Matthew Barnes2013-06-021-246/+328
|
* Add e_composer_header_table_ref_source().Matthew Barnes2013-06-021-13/+5
| | | | | | Convenience function that works like e_source_registry_ref_source(), but spares the caller from digging out the ESourceRegistry from the header table.
* EComposeHeaderTable: Replace "registry" property with "client-cache".Matthew Barnes2013-06-021-5/+29
| | | | | | | | | | | | | | | | | | | | The ESourceRegistry can still be obtained from the EClientCache: client_cache = e_composer_header_table_ref_client_cache (table); registry = e_client_cache_ref_registry (client_cache); ... g_object_unref (client_cache); g_object_unref (registry); Added functions: e_composer_header_table_ref_client_cache() Removed functions: e_composer_header_table_get_registry()
* e_mail_session_send_to(): Don't silently ignore if we can't send.Matthew Barnes2013-05-301-10/+18
| | | | | | | If sending fails for any reason, return a suitable GError. Don't just return silently. Also check for a wider range of errors indicating the service is unavailable in composer_send_completed(). This will trigger the "save-to-outbox" info alert.
* Convert e_mail_printer_print() to a proper async function.Matthew Barnes2013-05-111-18/+7
| | | | | | This adds a GAsyncReadyCallback and a closure to e_mail_printer_print(), and trades the "done" signal for e_mail_printer_print_finish() so that EMailPrinter is a little more reentrant.
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-3/+3
|
* Bug #301323 - "Edit as new message" doesn't strip signature properlyMilan Crha2013-05-071-4/+8
|
* Bug #271262 - Allow Send/Receive of local stores in offlineMilan Crha2013-04-091-2/+12
|
* Add e_msg_composer_ref_session().Matthew Barnes2013-03-171-2/+7
| | | | Replaces e_msg_composer_get_session().
* Remove EMailShellSettings.Matthew Barnes2013-03-171-6/+7
| | | | | | | | 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.
* Bug #693254 - Mail reply uses wrong "From:" accountMilan Crha2013-03-051-4/+78
|
* Bug #692005 - Changing character encoding doesn't workMilan Crha2013-01-191-1/+1
|
* Use g_hash_table_add() when using a hash table as a set.Matthew Barnes2013-01-121-6/+4
| | | | | | | g_hash_table_add(table, key) uses less memory than g_hash_table_insert(table, key, GINT_TO_POINTER (1)). Also use g_hash_table_contains() when testing for membership.
* Coding style and whitespace cleanup.Matthew Barnes2013-01-111-3/+3
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Bug 689639 - File -> Print Preview in composer brings up Print dialogMatthew Barnes2012-12-051-2/+1
|
* Bug #688199 - Replying via a template doesn't mark mail as read/repliedMilan Crha2012-11-131-7/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-3/+3
|
* Prefer e_source_registry_check_enabled().Matthew Barnes2012-10-261-5/+7
| | | | | Prefer e_source_registry_check_enabled() over e_source_get_enabled() for most instances where we want to exclude disabled data sources.
* Bug #268618 - Add: Save replies in the folder of the message being replied toMilan Crha2012-10-221-6/+49
| | | | | | Follow-up fixes: a) don't copy to origin folder for forwarded messages b) use a real folder when reply/forward from a vFolder
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-2/+3
|
* Add e_mail_session_append_to_local_folder().Matthew Barnes2012-08-151-13/+7
| | | | | | Asynchronous + synchronous convenience functions. Uses the EMailLocalFolder enumeration to specify a well-known folder.
* Bug #680164 - Print Preview action should open preview immediatellyDan Vrátil2012-07-191-1/+2
|
* Bug #548778 - Use original location when replying in Search FolderMilan Crha2012-07-111-2/+2
|
* Mail formatter rewriteDan Vrátil2012-06-061-30/+27
| | | | | | | | All mail-parsing and formatting code has been moved to em-format. Parsing is handeled by EMailParser class, formatting by EMailFormatter. Both classes have registry which hold extensions - simple classes that do actual parsing and formatting. Each supported mime-type has it's own parser and formatter extension class.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-7/+0
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-031-119/+219
|
* Bug #246581 - Replies in Sent folder goes to myselfMilan Crha2012-05-021-0/+4
|
* Whitespace cleanup.Matthew Barnes2012-04-021-1/+1
| | | | | Replace 8-space indentation with tab characters, and various other automated cleanups.
* EMFormat: Add "session" as a constructor property.Matthew Barnes2012-04-011-13/+29
| | | | Pass it in instead of digging it out of EShellSettings.
* WebKit port - port formatter and mail moduleDan Vrátil2012-03-291-4/+27
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-2/+2
| | | | libevolution-utils.
* Show composer window on "Continue editing"Milan Crha2012-03-021-1/+3
|
* Bug #617557 - Can lost message after send failedMilan Crha2012-03-011-0/+12
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-11/+22
|
* Bug #651221 - "Edit as New Message" always uses default From: addressMilan Crha2012-01-301-0/+24
|
* Coding style and whitespace cleanup.Matthew Barnes2012-01-191-1/+0
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-15/+18
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Make em_utils_generate_account_hash() private.Matthew Barnes2012-01-051-1/+59
| | | | | | Only used by em_utils_get_reply_all(), and the hash table it returns is not safe for general-purpose use. Make it a static function and rename it generate_recipient_hash().
* Bug #661087 - Add ability to remove localized "Re:" prefixes in subjectMilan Crha2011-12-221-7/+6
|
* Reduce diff noise with account-mgmt branch.Matthew Barnes2011-12-201-1/+1
|
* Avoid passing EMailBackend as much as possible.Matthew Barnes2011-12-161-7/+0
| | | | | | | | | | | | | | | More mail API churn... reversing some previous API decisions. I've made some key API changes to EMailSession on the account-mgmt branch which should allow for this, and will hopefully also benefit the "email-factory" branch. EMailBackend barely needs to exist anymore, except as the owner of EMailSession. For several low-level functions, we replace its EMailBackend parameter with EMailSession and EAlertSink parameters; the latter so it can still pass user alerts up the chain.
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-40/+59
| | | | | | | | | | | | | | | | | | | | | This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3. Account reordering is now done by drag-and-drop instead of up/down buttons. Turned out to be a wee bit more complicated than I initially thought. This scraps EAccountManager and EAccountTreeView and replaces them with new classes centered around EMailAccountStore, which EMailSession owns. EMailAccountStore is the model behind the account list in Preferences. The folder tree model now uses it to sort its own top-level rows using gtk_tree_path_compare(). It also broadcasts account operations through signals so we don't have to rely so heavily on EAccountList signals, since EAccountList is going away soon. Also as part of this work, the e-mail-local.h and e-mail-store.h APIs have been merged into EMailSession and MailFolderCache.
* Tweak GSettings schemas.Matthew Barnes2011-11-231-1/+1
| | | | | | | | - Don't use the term "eplugin" for modules. - Use the term "plugin" instead of "eplugin" for plugins. - Split SpamAssassin settings into a separate schema.
* Merge branch 'master' into wip/gsettingsMatthew Barnes2011-11-231-263/+0
|\ | | | | | | | | Conflicts: mail/e-mail-paned-view.c
| * Split MDN handling into a module.Matthew Barnes2011-11-221-263/+0
| |
* | Fix compiler warnings.Matthew Barnes2011-11-231-2/+0
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-11-171-2/+8
|\|
| * Bug #662914 - Reply to gnupg signed mails should be signedMilan Crha2011-11-141-2/+8
| |
* | More GSettings migrationRodrigo Moya2011-10-261-10/+11
| |
* | Merge branch 'master' into wip/gsettingsRodrigo Moya2011-10-261-1/+3
|\|
| * Adapt to CamelNetworkSettings changes.Matthew Barnes2011-10-251-1/+3
| |
* | And yet more GSettings migration on the mail componentRodrigo Moya2011-10-201-28/+22
| |
* | Make e_utils_prompt_user and callers use GSettings keysRodrigo Moya2011-10-141-4/+4
|/
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-26/+25
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Bug #660224 - Assertion failure when forwarding messageMilan Crha2011-09-271-1/+10
|
* EMFolderTreeModel: Don't use parameters in "get_default" functions.Matthew Barnes2011-09-261-1/+1
| | | | | | | | Drop EMFolderTreeModel's "session" property now that it has a "backend" property and call em_folder_tree_model_set_backend() where we used to call em_folder_tree_model_set_session(). The session can still be obtained through e_mail_backend_get_session().
* Bug #351025 - Make the order of the mail accounts configurableMilan Crha2011-09-261-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-19/+29
|
* Miscellaneous cleanups.Matthew Barnes2011-08-311-27/+43
| | | | | | | Reducing diff noise with the account-mgmt branch. Trying to erode our dependency on EAccount as much as possible, or at least isolate its usage, to make things easier for me on the branch.
* Use new CamelService:display-name property.Matthew Barnes2011-08-181-6/+8
| | | | Simplify, simplify...
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-36/+65
|
* EMFolderSelector: Add a "model" construct-only property.Matthew Barnes2011-08-101-1/+5
|
* Avoid camel_stream_printf().Matthew Barnes2011-07-061-10/+15
| | | | | | | | camel_stream_printf() is next on the chopping block. Use g_strdup_printf() or a GString to construct a formatted string in memory, pass it to camel_stream_write() in one go, and then check for errors (unless it's a memory stream).
* Prefer g_seekable_seek() over camel_stream_reset().Matthew Barnes2011-07-051-1/+0
| | | | | | | | | 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-1/+33
|
* Fix some uninitialized variable usage.Matthew Barnes2011-06-091-2/+2
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-091-35/+81
|
* Miscellaneous mail cleanups.Matthew Barnes2011-06-091-5/+16
|
* Bug #651684 - Creates a copy of message in Outbox instead of replacingMilan Crha2011-06-021-0/+38
|
* Let EMFolderSelector create its own EMFolderTree.Matthew Barnes2011-05-241-17/+16
| | | | | Also, minimize the EMFolderSelector API by removing frivolous wrapper functions and unused functions.
* EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-05-241-3/+6
| | | | | | | | All this so EMFolderTree can submit EActivity instances for async ops. You can obtain an EMailSession from an EMailBackend, but not vice versa. Creates lots of pretty ripples in the mail code, but ultimately reduces complexity. So it's a code cleanup of sorts.
* Coding style and whitespace cleanup.Matthew Barnes2011-05-221-3/+4
|
* em_format_html_print_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-1/+1
| | | | | | Let EMailReader fetch the CamelMimeMessage itself, handle errors, and then pass it off to EMFormatHTMLPrint. This also eliminates the need for em_format_html_print_raw_message().
* em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-65/+9
| | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
* Remove em_utils_redirect_message_by_uid().Matthew Barnes2011-05-131-39/+0
| | | | Use em_utils_redirect_message() instead.
* Add e_mail_reader_new_activity().Matthew Barnes2011-05-131-22/+10
| | | | | | | | | | | | | | | | Configuring and submitting an EActivity for every mail operation is getting tedious. This function helps reduce boilerplate code by: * Creating a new EActivity instance. * Installing an EAlertSink using e_mail_reader_get_alert_sink(). * Installing a GCancellable (which is really a CamelOperation). * Submitting the activity via e_shell_backend_add_activity(). I'm considering adding a similar function (or class method) for EShellView. Not sure yet...
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-121-27/+11
| | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* Reimplement em_utils_edit_messages().Matthew Barnes2011-05-121-40/+77
| | | | Now uses e_mail_folder_get_multiple_messages().
* Add a 'message_uid' param to em_utils_edit_message().Matthew Barnes2011-05-121-52/+46
| | | | | So we can remove the internal edit_message() function and do the work directly in em_utils_edit_message().
* Reimplement em_utils_forward_messages().Matthew Barnes2011-05-121-83/+175
| | | | | Now uses e_mail_folder_build_attachment() and e_mail_folder_get_multiple_messages().
* Coding style cleanups.Matthew Barnes2011-05-091-11/+11
|
* Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().Matthew Barnes2011-05-041-6/+12
|
* Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-05-041-42/+53
| | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
* Drop 'folder_uri' param from em_utils_folder_is_templates().Matthew Barnes2011-05-031-1/+1
|
* Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-05-031-4/+3
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-2/+7
|
* Adapt to sealed up CamelService.Matthew Barnes2011-04-181-2/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-65/+137
|
* Bug #434972 - Reply does not detect "RE :" subject prefixMilan Crha2011-02-221-1/+3
|
* Bug #635144 - Using external editor duplicates signatureMilan Crha2011-02-021-12/+11
|
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-2/+2
|
* Bug 640760 - New mail "stuck" if missing attachment dialog cancelledMatthew Barnes2011-01-281-0/+3
|
* Bug 640091 - Improve error handling during send post-processingMatthew Barnes2011-01-221-1/+15
| | | | | | If a newly-composed message was successfully sent but an error occurred during post-processing (outgoing filters or appending to a Sent folder), close the composer window and show an alert in the main window.
* Bug #637906 - Don't ask again when sending to non-mail recipientsMilan Crha2011-01-061-2/+3
|
* Bug #621150 - Add the possibility to modify locale of the quoting messagesJan Holesovsky2010-12-021-12/+56
|
* EActivity: Add an "alert-sink" property.Matthew Barnes2010-11-011-5/+10
| | | | | | | This is just for convenience, EActivity does not use this property. Especially useful in async function callbacks when the operation failed and now you have to do something useful with the GError.
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-011-4/+5
| | | | | | | Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink.
* Require a CamelMimeMessage in em_utils_handle_receipt().Matthew Barnes2010-10-311-35/+38
| | | | Eliminates one of the two remaining calls to mail_get_messagex().
* Skip writing to Outbox when sending.Matthew Barnes2010-10-311-99/+114
| | | | | | | When sending a message from a composer window, it seems pointless to write message to Outbox only to immediately read it back and mark it for deletion. Instead, bypass the Outbox folder when sending, and if an error occurs, offer to save the message to Outbox instead.
* Kill mail_append_mail().Matthew Barnes2010-10-311-9/+12
| | | | Use e_mail_folder_append_message() instead.
* Simplify EActivity.Matthew Barnes2010-10-231-6/+8
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* Reduce GConf usage in em-composer-utils.c.Matthew Barnes2010-10-201-210/+124
| | | | | | | | | | | | | | | | | | 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.
* Bug #567265 - BCC kept on message forward from Sent folderMilan Crha2010-10-191-0/+6
|
* Collect mail enum types in e-mail-enums.h.Matthew Barnes2010-10-191-27/+27
| | | | | | | | | And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-3/+2
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-191-15/+32
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-471/+539
| | | | | | | | | | | | | | | 'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-14/+47
| | | | | | | | | | | 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-9/+13
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-12/+26
|
* Coding style cleanups.Matthew Barnes2010-09-131-51/+51
|
* Convert composer autosave to an EExtension.Matthew Barnes2010-09-031-6/+1
| | | | | | | | | | | | | | | | | | | Given the way the autosave feature was awkwardly bolted on to the composer, an EExtension seemed like a natural fit. And it helped clean up some object lifecycle hacks (and bugs). What we have now is a new module consisting of two EExtensions: EComposerAutosave extends EMsgComposer and determines when to kick off an asynchronous autosave operation. EComposerRegistry extends EShell and offers to restore orphaned autosave files on startup (which is also asynchronous now). e-autosave-utils.c holds the actual asynchronous functions and a few other miscellaneous utility functions. Source code for the new module lives in /modules/composer-autosave.
* Composer autosave cleanups.Matthew Barnes2010-08-311-5/+44
| | | | | | This simplifies the async autosave logic and improves error handling. Hoping this will solve bug #616987 but I've yet to reproduce it myself.
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-106/+289
| | | | Reduce the composer's dependency on e_shell_get_default().
* Add nag popup when mailing list hijacks private reply with Reply-To: headerDavid Woodhouse2010-07-161-0/+29
|
* Don't show the "reply in private?" nag popup for munged Reply-To: list messagesDavid Woodhouse2010-07-151-13/+28
|
* Fix two memory leaks when replyingDavid Woodhouse2010-07-151-3/+7
| | | | | | | | | | | | 1: em_utils_reply_to_message() can be passed a newly-created message (from a current selection. It needs to unref it. Which means that when we pass it a message which *isn't* newly-created, we have to obtain a ref of our own. It was that or add a boolean parameter to tell it whether to unref or not. 2: emf_finalize() wasn't unreferencing emf->message -- so when we clone the EMFormat in em_utils_message_to_html() and immediately unreference the clone, a refcount on the message got leaked. Fix emf_finalize() to unref emf->message as presumably it should.
* Add support for ignoring mailing list Reply-To: headersDavid Woodhouse2010-07-151-35/+70
|
* Bug #623796 - Post Message to List asks for confirmation on closeMilan Crha2010-07-091-13/+10
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-7/+7
|
* Bug #620815 - Memory leaks with EvolutionMilan Crha2010-06-251-0/+2
|
* Merge branch 'express2'Matthew Barnes2010-05-271-38/+11
|\
| * Fixed the issue where reply doesn't work at all on the express mode.Srinivasa Ragavan2010-05-141-12/+6
| |
| * Use the lite-composer when the shell is in small-screen modeFederico Mena Quintero2010-05-081-28/+6
| | | | | | | | | | | | | | | | | | Remove various utility functions that conditionally create a lite composer, and just use the normal functions to create a composer. The composer will know by itself whether it needs to adjust for small screens. Signed-off-by: Federico Mena Quintero <federico@novell.com>
* | Bug #599794 - Reopened drafts shouldn't ask for save without changeMilan Crha2010-05-261-3/+1
| |
* | Adapt to Camel API changes.Matthew Barnes2010-05-081-1/+1
| | | | | | | | | | This also removes the boxed CamelObject GType, since CamelObject is an honest-to-goodness GObject now.
* | Adapt to Camel API changes.Matthew Barnes2010-04-301-1/+6
| |
* | Bug #545505 - Properly free unused message infos periodicallyMilan Crha2010-04-291-4/+4
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-39/+39
| |
* | Remove comments that have no point after pthreads dependency disappearedFridrich Štrba2010-04-161-3/+2
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-131-9/+11
| |
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-4/+2
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-041-11/+11
| |
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-7/+0
|/
* Mark two strings as translatable that have been forgotten. Fixes bug 611975.Ulrich Schoepp2010-03-071-2/+4
|
* Revert "Bug #597473 - Reply-all composes reply to wrong address"Matthew Barnes2010-03-031-6/+0
| | | | | | | | This reverts commit c9dcd2a9003c1f1f34e15698903149946994cd84, which breaks the use case of clicking "Reply All" on a message in your Sent folder which you yourself wrote. The commit causes your own email address to be included in the recipients list, which is undesired and a regression from 2.28.
* Bug #607595 - Do not auto-sign when replying to a signed messageMilan Crha2010-01-261-2/+3
|
* Fix a potential uninitialized variable use in em-composer-utils.c.Matthew Barnes2010-01-161-1/+1
| | | | Caught by the Clang Static Analyzer.
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-1/+1
|
* Bug #605633 - A little code inconsistency in em_utils_send_receiptMilan Crha2010-01-141-8/+6
|
* Bug #599794 - Set composer as not changed on reply or forward actionMilan Crha2010-01-091-4/+4
|
* Bug #604994 - Folder state not preserved in Copy/Move Folder dialogMilan Crha2010-01-071-0/+1
|
* Move forward_to() implementation to MailSession (remove dep on composer)Jonathon Jongsma2009-12-211-186/+5
| | | | | | | | | | | | | | | | Previously, the CamelSesssion's forward_to vfunc was implemented in em-composer-utils. However, there wasn't really any composer-related functionality that this function depended on, so in order to remove MailSession's dependency on composer-related functionality, this function was moved into mail-session.c. So now, instead of calling em_utils_forward_message_raw(), you should just call camel_session_forward_to() instead. This change necessitated moving a couple of "guess_account"-related functions into em-utils, but that's ok for now -- it matches the existing em_utils_guess_account() function that's already there. https://bugzilla.gnome.org/show_bug.cgi?id=604952
* 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-6/+6
| | | | | | | | | | 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 mail/ to use new EError APIJonathon Jongsma2009-12-011-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug #250046 - Composer addresses reading fixesMilan Crha2009-11-101-6/+69
| | | | | | - Check for no addresses properly (in post-to only when shown) - Check for garbage addresses and warn user about those - Use garbage text in To/CC/Bcc fields when user typed them
* Support other forward types for Anjal.Srinivasa Ragavan2009-11-061-7/+9
|
* Bug #599792 - Anjal composer's Send button doesn't work after pressed Save ↵Yan Li2009-11-061-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Drafts button This is due to an old hack that hiding a composer means we're closing it so save_draft_done() destroys the composer after saved draft. But in Anjal, the composer widget is always hidden (since the editor is reparented to the tab), and will be wrongly destroyed by save_draft_done() when you clicked "Save Draft" button. This patch improved the old hack, by adding a new API e_msg_composer_request_close() that can be used to request closing a composer (so the old hack is no longer needed). Internally, composer->priv->application_exiting is used to store this exiting status. So by this we no longer use a composer's visibility to check whether we're to close it. When you no longer need a composer after saved draft, call e_msg_composer_request_close() before sending the save-draft signal. The e_msg_composer_is_exiting() (removed by 983bea9) has to be bring back, which is needed by other programs that use the composer (Anjal here). (forward ported from 08150f6 of gnome-2-28)
* Bug #573304 - Forward an email shouldn't strip signatureMilan Crha2009-11-061-1/+1
|
* Bug #596027: In Anjal, although invalid mail address warning popup, mail's ↵Yan Li2009-11-051-0/+3
| | | | | | | | tab closed automatically A new field "mail_sent" is added to the Composer to indicate whether the mail is sent successfully or not. This is needed by Anjal to know whether it can destroy the composer or not.
* Coding style and whitespace cleanups.Matthew Barnes2009-10-241-1/+1
|
* Bug #575208 - Use complete template message with all attachmentsMilan Crha2009-10-241-129/+134
|
* Bug #597473 - Reply-all composes reply to wrong addressMilan Crha2009-10-161-0/+6
|
* Bug #322261 - vCalendar replies are sent out using the default accountMilan Crha2009-10-161-32/+2
|
* Bug #314333 - Decrypt body in reply to an inline-PGP encrypted mailMilan Crha2009-10-151-4/+34
|
* Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent'Milan Crha2009-10-131-3/+5
|
* Remove unneeded composer autosave functions.Matthew Barnes2009-10-021-2/+0
|
* Bug 596157 - Use "Message-ID" instead of "Message-Id"Matthew Barnes2009-09-241-1/+1
|
* Require a parent window when creating an EMFolderSelector.Matthew Barnes2009-09-111-2/+4
|
* Fix compiler warnings and deprecated GTK+ API usage.Matthew Barnes2009-08-161-2/+0
|
* Bug #563041 - Template plugin doesn't work; added new variablesBharath Acharya2009-08-111-31/+47
| | | | $sender_name and $sender_email
* Merge commit 'EVOLUTION_2_27_5' into kill-bonoboMatthew Barnes2009-07-281-21/+14
|\
| * Coding style and whitespace cleanups.Matthew Barnes2009-07-261-1/+0
| |
| * Bug #339361 (bnc) - soap threading not working.Chenthill Palanisamy2009-07-231-12/+13
| |
| * Change for Anjal to support forwarding of mailsSrinivasa Ragavan2009-07-201-6/+11
| |
| * More whitespace cleanup.Matthew Barnes2009-07-191-1/+1
| |
| * Fix excessive whitespace.Matthew Barnes2009-07-131-4/+0
| |
* | More whitespace cleanup.Matthew Barnes2009-07-191-1/+1
| |
* | Fix excessive whitespace.Matthew Barnes2009-07-141-4/+0
| |
* | Fix some issues when building Anjal.Matthew Barnes2009-07-131-3/+7
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-07-011-9/+15
|\|
| * Fix some warningsSrinivasa Ragavan2009-06-251-4/+4
| |
| * Add more apis for Anjal to draft composer.Srinivasa Ragavan2009-06-251-5/+11
| |
| * Anjal stuff's for Evo.Srinivasa Ragavan2009-06-031-3/+7
| |
| * More code cleanup.Matthew Barnes2009-06-021-3/+3
| |
| * Whitespace cleanup.Matthew Barnes2009-05-291-4/+4
| |
| * Prefer GLib basic types over C types.Matthew Barnes2009-05-291-114/+114
| |
| * Remove trailing whitespace, again.Matthew Barnes2009-05-291-13/+13
| |
* | Split store and local folder management out from shell backend.Matthew Barnes2009-06-241-24/+15
| |
* | EMFolderTree cleanups.Matthew Barnes2009-06-201-1/+3
| |
* | Thought of a better way to copy folder tree state.Matthew Barnes2009-06-141-1/+0
| | | | | | | | | | | | Revert the expanded tree model column and add a "selection"property to EMFolderTreeModel, which the sidebar sets. If set, all new EMFolderTree instances will automatically mimic its expanded and selected state.
* | Use key files for tracking widget states.Matthew Barnes2009-06-131-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each EShellView now maintains a GKeyFile for recording disposable widget state such as tree view path expansion, scroll bar positions, combo box selections, etc. The EShellView records changes to the key file to ~/.evolution/<shell-backend>/config/state, and automatically restores the GKeyFile at startup. Currently only the mailer uses the key file, but it's intended to serve all shell views. It replaces the use of Camel "cmeta" files, as well as "et-expanded-*" and "folder-tree-expand-state.xml" files. Also, the mailer's folder tree model now includes a column for tracking which sidebar folders are expanded. Folder tree widgets appearing in dialog windows can copy the sidebar's expanded state using em_folder_tree_clone_expanded().
* | More code cleanup.Matthew Barnes2009-06-021-3/+3
| |
* | Whitespace cleanup.Matthew Barnes2009-05-291-4/+4
| |
* | Prefer GLib basic types over C types.Matthew Barnes2009-05-271-111/+111
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-13/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * | Remove trailing whitespace, again.Matthew Barnes2009-05-271-13/+13
| |/
| * Fix compiler warnings in mail.Matthew Barnes2009-05-261-1/+4
| |
| * Mail changes required for Anjal.Srinivasa Ragavan2009-05-221-10/+64
| |
* | Mail changes required for Anjal.Srinivasa Ragavan2009-05-241-10/+64
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-221-13/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: addressbook/gui/component/addressbook-view.c addressbook/gui/component/component-factory.c addressbook/gui/component/eab-composer-util.h addressbook/gui/widgets/Makefile.am addressbook/gui/widgets/e-addressbook-model.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/e-addressbook-view.h addressbook/gui/widgets/eab-gui-util.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup.h calendar/gui/calendar-component.c calendar/gui/e-cal-event.h calendar/gui/e-calendar-table.c calendar/gui/e-calendar-view.c calendar/gui/e-calendar-view.h calendar/gui/e-memo-table.c calendar/gui/memos-component.c calendar/gui/tasks-component.c composer/e-composer-header-table.c composer/e-composer-private.h composer/e-msg-composer.c composer/e-msg-composer.h composer/evolution-composer.ui configure.ac data/icons/Makefile.am em-format/em-format.c em-format/em-format.h mail/Makefile.am mail/e-mail-shell-migrate.c mail/e-searching-tokenizer.c mail/e-searching-tokenizer.h mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html-display.h mail/em-mailer-prefs.c mail/em-message-browser.c plugins/vcard-inline/Makefile.am plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml plugins/vcard-inline/vcard-inline.c shell/e-component-registry.h shell/e-shell-window.c shell/es-menu.h widgets/misc/e-filter-bar.c widgets/misc/e-filter-bar.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h
| * Bug 274117 – Difficult to post a new message to newsgroupsMatthew Barnes2009-05-211-209/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Completely rewrite how composer headers are managed. There's now two sets of headers (with some overlap): one set is for sending an email message, the other is for posting to a newsgroup. The correct set of headers is chosen on-the-fly based on the currently selected account type. The user's "view" preferences for these two sets are stored separately, so that switching between an email account and a news account will no longer stomp on your preferences. This also eliminates the need for the "Post New Message to Folder" and "Post a Reply" actions, so they've been removed. Usenet users can now just highlight a newsgroup in the folder tree and click New or Reply, and the composer window will show the correct set of headers with the Post-To field filled in automatically. Comment #6 in the bug discusses other standard news reader behaviors we still don't get right, particularly the missing "Followup To" header. These will be dealt with separately.
| * Bug 582744 – CC field autofill doesn't work for repliesMatthew Barnes2009-05-171-1/+4
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
| |
* | Kill obsolete menu items.Matthew Barnes2009-05-211-195/+0
| | | | | | | | | | | | URI Popup Menu -> Call To... Message -> Post New Message to Folder Message -> Post a Reply
* | Bug 582744 – CC field autofill doesn't work for repliesMatthew Barnes2009-05-211-1/+4
| |
* | Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-211-1/+1
| |
* | Fix most of the compiler warnings in mail.Matthew Barnes2009-05-081-2/+2
| |
* | Adapt mail to EShellBackend changes.Matthew Barnes2009-05-081-15/+17
| | | | | | | | | | Again, builds but not tested. Lots of compiler warnings to clean up, but I don't have the energy for it. This was pretty grueling.
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-071-11/+16
|\| | | | | | | | | Conflicts: shell/e-shell-window-commands.c
| * 2009-05-06 Jeff Cai <jeff.cai@sun.com>Jeff Cai2009-05-061-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ** Fix for bug #524497 * em-composer-utils.c: (guess_account): Change the order getting an account The original order is: 1. The account in 'To' of the message. 2. The account of the message source. 3. The account of the folder source. The new order is: 1. The account of the folder source. 2. The account of the message source. 3. The account in "To' of the message
| * Bug 575242 – New composer window not autosaved until modificationMichel Dänzer2009-05-011-13/+15
| |
| * ** Fix for bug #204891Milan Crha2009-01-201-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #204891 * filtertypes.xml: * em-composer-utils.h: (em_utils_forward_message_raw): * em-composer-utils.c: (emu_forward_raw_done), (em_utils_forward_message_raw): * mail-session.c: (ms_forward_to), (class_init): Implement "forward-to" rule for message filters. Note: Be sure you've eds of revision 9956 or higher. svn path=/trunk/; revision=37101
| * Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-011-14/+14
| | | | | | | | svn path=/trunk/; revision=36520
| * ** Fix for bug #553273Milan Crha2008-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #553273 * addressbook/gui/component/addressbook-view.c: (delete_addressbook_folder), (delete_addressbook_cb): * addressbook/gui/widgets/eab-gui-util.c: (save_it): * addressbook/gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email): * addressbook/gui/contact-list-editor/e-contact-list-editor.c: (contact_list_editor_contact_exists): * plugins/exchange-operations/exchange-config-listener.c: (exchange_config_listener_authenticate): * mail/em-composer-utils.c: (em_utils_handle_receipt): * mail/em-folder-view.c: (emfv_delete_msg_response): * composer/e-composer-actions.c: (action_save_cb): * calendar/gui/alarm-notify/alarm-queue.c: (edit_component): * calendar/gui/tasks-component.c: (delete_task_list_cb): * calendar/gui/calendar-component.c: (delete_calendar_cb): * calendar/gui/memos-component.c: (delete_memo_list_cb): Always end e_error_run/e_error_new calls with NULL parameter. svn path=/trunk/; revision=36434
| * Fix compiler warnings in some of the test programs.Matthew Barnes2008-09-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-01 Matthew Barnes <mbarnes@redhat.com> * configure.in: Fix compiler warnings in some of the test programs. * mail/em-composer-utils.c (edit_message): * plugins/email-custom-header/email-custom-header.c: * plugins/templates/templates.c: Don't mix declarations and code. svn path=/trunk/; revision=36242
| * Fixed some compiler warnings for Templates specific hunk.Bharath Acharya2008-07-211-3/+2
| | | | | | | | | | | | | | | | | | | | 2008-07-21 Bharath Acharya <abharath@novell.com> Fixed some compiler warnings for Templates specific hunk. * em-composer-utils.c: (edit_message): svn path=/trunk/; revision=35801
| * ** Fixes Bug #200147Bharath Acharya2008-07-211-3/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-18 Bharath Acharya <abharath@novell.com> ** Fixes Bug #200147 Basic functionality implemented by Diego Escalante Urrelo <diegoe@gnome.org> Everyone owes him a big mug of Beer for that. ** Added Templates plugin * Makefile.am: * apps-evolution-template-placeholders.schemas.in: * org-gnome-templates.eplug.xml: * templates.c: * templates.glade: svn path=/trunk/; revision=35780
* | Merge changes from master.Matthew Barnes2009-05-021-13/+15
| |
* | Let the mail module handle composer "Post To:" button clicks, sinceMatthew Barnes2009-02-131-5/+69
| | | | | | | | | | | | | | | | | | | | EMFolderSelector and EMFolderTree are off-limits to the composer. This further weakens the composer's mail module dependency. Add class methods to EComposerHeader for "changed" and "clicked" signals. Allows subclasses to implement them without connecting to their own signals. svn path=/branches/kill-bonobo/; revision=37260
* | Let the mailer handle composer printing.Matthew Barnes2009-02-011-0/+19
| | | | | | | | | | | | Start roughing in the mailer search bar. svn path=/branches/kill-bonobo/; revision=37199
* | Split EAccountList and ESignatureList management out of the mail module.Matthew Barnes2009-01-271-4/+3
| | | | | | | | | | | | | | This reduces the dependency of the composer on the mail module, which is currently a circular dependency. svn path=/branches/kill-bonobo/; revision=37135
* | Fix some runtime warnings.Matthew Barnes2009-01-221-2/+7
| | | | | | | | | | | | | | | | Copy that nasty message list scrolling hack to EMailShellContent. Remember the scrollbar position for each folder. Now I just have to make it select a message automatically. svn path=/branches/kill-bonobo/; revision=37119
* | Merge revisions 37075:37107 from trunk.Matthew Barnes2009-01-211-0/+96
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37112
* | Untangle some circular dependencies with the composer.Matthew Barnes2009-01-201-107/+127
| | | | | | | | | | | | Addressbook and calendar no longer depend on the mailer. svn path=/branches/kill-bonobo/; revision=37107
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-9/+18
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-15/+15
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-3/+5
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Merge revisions 35747:35930 from trunk.Matthew Barnes2008-08-081-3/+144
|/ | | | svn path=/branches/kill-bonobo/; revision=35931
* ** Fixes bug #537725Matthew Barnes2008-06-211-2/+1
| | | | | | | | | | | | | 2008-06-21 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #537725 * mail/em-composer-utils.c (save_draft_done): Set the autosaved flag so we don't get pestered with a save dialog if the user then decides to close the composer window. svn path=/trunk/; revision=35669
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35663
* ** Fix for bug #535791Milan Crha2008-06-091-4/+22
| | | | | | | | | | | | | | | | | | 2008-06-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #535791 * mail-config.glade: * em-composer-prefs.c: (em_composer_prefs_construct): New UI option to let uset choose whether start typing at the bottom of the document or not on replying. * em-utils.h: (em_utils_message_to_html): * em-utils.c: (em_utils_message_to_html): * em-composer-utils.c: (forward_non_attached), (composer_set_body): Take care of /apps/evolution/mail/composer/reply_start_bottom. svn path=/trunk/; revision=35621
* Fix build breakage. Apparently <gtk/gtk.h> only recently startedMatthew Barnes2008-06-071-0/+1
| | | | | | | pulling in <gio/gio.h>. We still need to include gio.h explicitly for a little while longer. svn path=/trunk/; revision=35607
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-1/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Committing on behalf of Milan Crha <mcrha@redhat.com>Milan Crha2008-06-021-44/+30
| | | | | | | | | | | | | | | | | | | | | 2008-05-29 Milan Crha <mcrha@redhat.com> ** Fix for bug #525966 * em-composer-utils.c: (composer_set_no_change): New helper function to set composers state properly to "no change". * em-composer-utils.c: (em_utils_compose_new_message), (em_utils_compose_new_message_with_mailto), (em_utils_post_to_folder), (em_utils_post_to_url), (edit_message), (forward_attached), (forward_non_attached), (em_utils_redirect_message), (em_utils_reply_to_message), (post_reply_to_message): Use the above helper function. * em-composer-utils.c: (reply_get_composer), (composer_set_body): Do not drop undo in the editor multiple times, do that only once. svn path=/trunk/; revision=35569
* Committing on behalf of Milan Crha <mcrha@redhat.com>Milan Crha2008-06-021-15/+88
| | | | | | | | | | | | | | | | | | | | 2008-05-29 Milan Crha <mcrha@redhat.com> ** Fix for bug #534312 * em-composer-utils.c: (create_new_composer), (em_utils_compose_new_message), (struct forward_attached_data), (real_update_forwarded_flag), (update_forwarded_flags_cb), (composer_destroy_fad_cb), (setup_forward_attached_callbacks), (forward_attached), (forward_attached_cb), (em_utils_forward_attached), (forward_non_attached), (forward_quoted), (em_utils_forward_message): Set new CAMEL_MESSAGE_FORWARDED flag on forwarded messages. * message-list.c: (ml_value_to_string), (message_list_create_extras), (ml_tree_value_at), (create_composite_cell), (struct states_pixmaps): Draw mail-forward icon on forwarded messages. svn path=/trunk/; revision=35567
* ** Fixes bug #523413Matthew Barnes2008-04-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #523413 * composer/e-msg-composer.c (msg_composer_dispose): Use the 'application_exiting' private flag to determine whether to tell e_composer_autosave_unregister() to delete the autosave file. * composer/e-msg-composer.c (msg_composer_class_init), (e_msg_composer_save_draft): Remove the 'quit' parameter from the 'save-draft' signal. * composer/e-msg-composer.c (e_msg_composer_request_close_all): Take an autosave snapshot before activating the CLOSE action, and set the private 'application_exiting' flag. This should avoid prompting the user before shutting down. * composer/e-composer-actions.c (action_close_cb): When electing to save a message before closing, hide the window immediately. The callback function can then check the window's visibility after the save is complete to know whether to destroy the window. * composer/e-composer-autosave.c (e_composer_autosave_unregister): Add a 'delete_file' boolean parameter to determine whether to delete the autosave file. * composer/e-composer-private.h: Add an 'application_exiting' flag. * mail/em-composer-utils.c (save_draft_done): Check the composer window's visibility to determine whether to destroy the window. See the corresponding composer/ChangeLog entry to get the full story. * mail/em-composer-utils.c (em_utils_composer_save_draft_cb): Remove the 'quit' parameter. svn path=/trunk/; revision=35346
* Fix a stupid typo.Matthew Barnes2008-04-071-1/+1
| | | | svn path=/trunk/; revision=35330