aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ** Merge the mbarnes-composer branchMatthew Barnes2008-04-031-50/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-02 Matthew Barnes <mbarnes@redhat.com> ** Merge the mbarnes-composer branch * configure.in: Bump libgtkhtml requirement to 3.19.1. Add gtkhtml-editor dependency for addressbook, calendar and mail. Remove print-message plugin; new composer implements this natively. * tools/Makefile.am: Remove CORBA rules for the old composer. * addressbook/gui/widgets/Makefile.am: Remove CORBA rules for the old composer. * addressbook/gui/widgets/eab-gui-util.c (eab_send_to_contact_and_email_num_list), (eab_send_contact_list_as_attachment): Adapt to new Bonobo-less composer widget. * calendar/gui/Makefile.am: Remove CORBA rules for the old composer. * calendar/gui/itip-utils.c (comp_from), (comp_to_list), (comp_subject), (comp_content_type), (comp_filename), (comp_description), (append_cal_attachments), (itip_send_comp), (reply_to_calendar_comp): Adapt to new Bonobo-less composer widget. * composer/Makefile.am: Remove CORBA rules for the old composer. * composer/e-msg-composer.c: * composer/e-msg-composer.h: EMsgComposer is now a subclass of GtkhtmlEditor. Extensive refactoring and cleanup, too much to list in detail. * composer/e-composer-header.c: * composer/e-composer-header.h: Add "sensitive" property along with get/set functions. * composer/e-composer-from-header.c: * composer/e-composer-from-header.h: Propagate "refreshed" signal from EAccountComboBox. Add function e_composer_from_header_get_account_list(). * composer/e-composer-private.c: * composer/e-composer-private.h: New files manage composer's private data. Allows other composer files to manipulate private data. * composer/e-msg-composer-hdrs.c: * composer/e-msg-composer-hdrs.h: Remove these files; replaced by EComposerHeaderTable widget. * composer/evolution-composer.c: * composer/evolution-composer.h: Remove these files; composer is now a subclass of GtkhtmlEditor. * composer/e-msg-composer-select-file.c: * composer/e-msg-composer-select-file.h: Remove these files; logic moved to e-msg-composer.c. * composer/listener.c: * composer/listener.h: Remove these files; event handlers moved to e-msg-composer.c. * composer/Composer.idl: * composer/Evolution-Composer.idl: Remove these files; composer is no longer a Bonobo object. * mail/em-composer-prefs (sig_edit_cb), (em_composer_prefs_new_signature): Adapt to new Bonobo-less signature editor. * mail/mail-signature-editor.c: * mail/mail-signature-editor.h: Rewrite the signature editor as a subclass of GtkhtmlEditor. Eliminates Bonobo from the equation. * mail/em-composer-utils.c (composer_get_message), (em_utils_composer_send_cb), (save_draft_done), (em_utils_composer_save_draft_cb), (create_new_composer), (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), (reply_get_composer), (composer_set_body), (em_utils_reply_to_message), (post_reply_to_message): Adapt to new Bonobo-less composer. * mail/mail-component-factory.c: Composer is no longer needs a Bonobo factory. * mail/mail-config.c: Fix style pattern for EMsgComposer widgets. * plugins/groupwise/mail-send-options.c (org_gnome_composer_send_options): Adapt to streamlined EMsgComposer API. * plugins/exchange-operations/Makefile.am: Add EVOLUTION_MAIL_CFLAGS and EVOLUTION_MAIL_LIBS. * plugins/exchange-operations/exchange-mail-send-options.c (append_to_header), (org_gnome_exchange_send_options): Adapt to streamlined EMsgComposer API. * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): Adapt to streamlined EMsgComposer API. * po/POTFILES.in: Update file list for new composer. * ui/evolution-composer-entries.xml: Remove this file; obsoleted by new composer. * widgets/misc/Makefile.am: Add EVOLUTION_MAIL_LIBS. * widgets/misc/e-account-combo-box.c: * widgets/misc/e-account-combo-box.h: New function e_account_combo_box_get_account_list(). Emit a "refreshed" signal when the EAccountList changes. Add an internal reverse-lookup index. * widgets/misc/e-charset-picker.c (e_charser_add_radio_actions): New function adds radio actions to an action group. Will eventually replace e_charset_picker_bonobo_ui_populate(). * widgets/misc/e-signature-combo-box.c: * widgets/misc/e-signature-combo-box.h: New function e_signature_combo_box_get_signature_list(). ... separate issue ... * configure.in: Bump eds_minimum_version to 2.23.1 for CAMEL_FOLDER_JUNKED_NOT_DELETED symbol. svn path=/trunk/; revision=35313
* ** Fix for bnc #153807Srinivasa Ragavan2008-02-181-0/+1
| | | | | | | | | | | | 2008-02-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bnc #153807 * em-composer-utils.c: (em_utils_post_to_folder): Patch from OpenSUSE. svn path=/trunk/; revision=35033
* ** Fix for bug #499145Colin Leroy2008-01-081-9/+15
| | | | | | | | | | | 2008-01-08 Colin Leroy <colin@colino.net> ** Fix for bug #499145 * mail/em-composer-utils.c: Follow RFC 3798 to send return receipts. svn path=/trunk/; revision=34779
* ** Fixes bug #362638Matthew Barnes2007-12-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #362638 * calendar/gui/alarm-notify/alarm-notify.c: * calendar/gui/alarm-notify/alarm-notify.h: * calendar/gui/alarm-notify/alarm-queue.c: Rewrite message passing to use GThreadPool instead of EThread. * mail/mail-mt.h: Overhaul the message passing API: - Define a MailMsg type as the base message struct. - Define types for the various callback functions. - Add a priority value to each message (not yet used). - Add a reference count to each message. - Define a MailMsgInfo type for the virtual function table. - Record the size of message sub-types in MailMsgInfo. - New/changed functions: mail_msg_new() - Easier to use. mail_msg_ref() - Increase reference count. mail_msg_unref() - Decrease reference count. mail_msg_main_loop_push() } mail_msg_unordered_push() } Submit MailMsgs to various mail_msg_fast_ordered_push() } message-processing threads. mail_msg_slow_ordered_push() } * mail/mail-mt.c (mail_msg_new): Use GSlice for memory allocation. * mail/mail-mt.c (mail_msg_ref), (mail_msg_unref): New functions increment/decrement a MailMsg's reference count. * mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove): Convert the 'cancel_hook_list' from an EDList to a GHookList and modify the API accordingly. * mail/mail-mt.c: Use GThreadPools instead of EThreads. Use GAsyncQueues instead of EMsgPorts. * mail/em-composer-utils.c: * mail/em-folder-browser.c: * mail/em-folder-properties.c: * mail/em-folder-tree.c: * mail/em-folder-utils.c: * mail/em-folder-view.c: * mail/em-format-html-print.c: * mail/em-format-html.c: * mail/em-subscribe-editor.c: * mail/em-sync-stream.c: * mail/importers/elm-importer.c: * mail/importers/mail-importer.c: * mail/importers/pine-importer.c: * mail/mail-component.c: * mail/mail-folder-cache.c: * mail/mail-mt.c: * mail/mail-ops.c: * mail/mail-ops.h: * mail/mail-send-recv.c: * mail/mail-session.c: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/folder-unsubscribe/folder-unsubscribe.c: * plugins/groupwise-features/share-folder-common.c: * plugins/exchange-operations/exchange-folder.c: * plugins/mark-all-read/mark-all-read.c: * plugins/mailing-list-actions/mailing-list-actions.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-attachments/save-attachments.c: Use the new MailMsg API for messages. svn path=/trunk/; revision=34730
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-237/+237
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of functionKjartan Maraas2007-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-searching-tokenizer.c: (build_trie), (searcher_new), (output_token), (output_match), (merge_subpending), (searcher_next_token): * em-account-editor.c: (em_account_editor_new), (emae_load_text), (emae_check_license), (emae_auto_detect), (smime_sign_key_select), (smime_encrypt_key_select), (emae_service_url_path_changed), (emae_ssl_changed), (emae_service_provider_changed), (emae_refresh_providers), (emae_refresh_authtype), (emae_setup_service), (emae_identity_page): * em-composer-utils.c: (em_utils_send_receipt), (generate_account_hash), (em_utils_camel_address_to_destination), (reply_get_composer): * em-config.c: (em_config_new): * em-event.c: (em_event_peek): * em-filter-rule.c: (get_widget): * em-folder-browser.c: (generate_viewoption_menu), (em_folder_browser_show_preview), (get_view_query), (vfolder_setup_do), (emfb_search_search_activated), (emfb_list_key_press), (emfb_list_built): * em-folder-view.c: (em_folder_view_new), (emfv_setup_view_instance), (emfv_popup_forward), (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (emfv_enable_menus): * em-format-hook.c: * em-format-html-display.c: (efhd_attachment_optional): * em-format-html.c: (em_format_html_new), (em_format_html_add_pobject), (em_format_html_find_pobject), (em_format_html_find_pobject_func), (efh_text_enriched), (efh_multipart_related), (efh_format_address), (efh_format_header): * em-icon-stream.h: * em-inline-filter.c: (emif_add_part), (emif_scan): * em-junk-hook.c: (emjh_construct_group): * em-mailer-prefs.c: (junk_plugin_setup): * em-menu.c: (em_menu_new), (em_menu_target_new_select): * em-message-browser.c: (em_message_browser_new): * em-popup.c: (em_popup_new), (em_popup_target_new_select): * em-sync-stream.c: * em-utils.c: (em_utils_save_part_to_file), (tag_editor_response), (em_utils_read_messages_from_stream), (em_utils_get_proxy_uri), (em_utils_in_addressbook): * em-vfolder-rule.c: (validate): * importers/elm-importer.c: * importers/mail-importer.c: (import_mbox_import), (import_folders_rec): * importers/pine-importer.c: * mail-component.c: (setline_done): * mail-folder-cache.c: (flush_updates): * mail-mt.c: (mail_msg_new), (checkmem), (mail_msg_check_error), (mail_msg_cancel), (mail_msg_wait), (mail_msg_init), (do_op_status): * mail-send-recv.c: (receive_status), (receive_done), (refresh_folders_get): * mail-vfolder.c: (mail_vfolder_get_sources_local), (mail_vfolder_get_sources_remote), (context_rule_added), (store_folder_renamed): * message-list.c: (e_mail_address_new), (e_mail_address_compare), (get_normalised_string), (ml_search_forward), (ml_search_backward), (ml_search_path), (message_list_select_uid), (thread_select_foreach), (message_list_copy), (ml_duplicate_value), (ml_free_value), (ml_initialize_value), (ml_value_is_empty), (ml_value_to_string), (subtree_latest), (sanitize_recipients), (ml_tree_value_at), (ml_tree_sort_value_at), (message_list_init_images), (filter_date), (build_tree), (build_flat_diff), (regen_list_regen): Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of function declarations - Remove unused bits - use unsigned ints for 1-bit bitfields - invalid pointer type - mark a global var static - mixing code and declarations svn path=/trunk/; revision=34449
* 2007-09-17 mcrha Fix for bug #472865Milan Crha2007-09-171-2/+6
| | | | svn path=/trunk/; revision=34277
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-071-3/+3
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* 2007-08-16 mcrha Fix for bug #466548Milan Crha2007-08-161-1/+1
| | | | svn path=/trunk/; revision=34010
* Committed on behalf of Atos Origin Communication SystemsSankar P2007-07-261-3/+3
| | | | | | | | | | | | 2007-07-26 Sankar P <psankar@novell.com> * Committed on behalf of Atos Origin Communication Systems <support-syscom@osorigin.com> * em-composer-utils.c: (em_utils_send_receipt): - Fixes malformed body part headers for a MDN See bug #458275 svn path=/trunk/; revision=33844
* reviewed by: Veerapuram Varadhan <vvaradhan@novell.com>Chenthill Palanisamy2007-07-091-0/+8
| | | | | | | | | | | | | | | | 2007-07-09 Chenthill Palanisamy <pchenthill@novell.com> reviewed by: Veerapuram Varadhan <vvaradhan@novell.com> * em-composer-utils.c: (em_utils_send_receipt): Added some flags * so that the receipts work fine even if the account configured is not the default one. Committing on behalf of Bharath Acharya <abharath@novell.com> svn path=/trunk/; revision=33785
* Commit for tnef attachment and attachment reminderSrinivasa Ragavan2007-07-091-1/+20
| | | | svn path=/trunk/; revision=33769
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-1/+1
| | | | svn path=/trunk/; revision=33628
* ** Outlook style reply option for bug #415770 from gicmoSrinivasa Ragavan2007-06-021-0/+6
| | | | svn path=/trunk/; revision=33615
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Removed error id "camel-exception" as it was a bogus error.Jeffrey Stedfast2006-04-191-4/+3
| | | | | | | | | | | | | | | 2006-04-18 Jeffrey Stedfast <fejj@novell.com> * mail.error.xml: Removed error id "camel-exception" as it was a bogus error. 2006-04-14 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (em_utils_handle_receipt): Fixed up the if conditional so that 'account' wasn't ever dereferenced when NULL. Fixes bug #324327. svn path=/trunk/; revision=31829
* committed fix for moving composer window up the stack.Srinivasa Ragavan2006-03-011-0/+1
| | | | svn path=/trunk/; revision=31616
* Use the same Win32 macro for gmtime_r() that guards against gmtime()Tor Lillqvist2006-02-221-4/+21
| | | | | | | | | | | | | 2006-02-21 Tor Lillqvist <tml@novell.com> * em-composer-utils.c: Use the same Win32 macro for gmtime_r() that guards against gmtime() returning NULL as elsewhere. gmtime() is thread-safe on Win32. (attribution_format): Check if camel returns CAMEL_MESSAGE_DATE_CURRENT for Date:, try the date from Received: then. If that doesn't work either, use current date. svn path=/trunk/; revision=31560
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448
* check if account is null before accessing itParthasarathi Susarla2006-02-021-1/+1
| | | | | | | | | 2006-02-02 Parthasarathi Susarla <sparthasarathi@novell.com> * em-composer-utils.c: (em_utils_handle_receipt): check if account is null before accessing it svn path=/trunk/; revision=31399
* Use e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * em-composer-utils.c: * em-folder-tree-model.c: (em_folder_tree_model_save_state): * em-format-html.c: * em-migrate.c: (cp_r), (em_migrate_folder), (em_migrate_pop_uid_caches_1_4), (em_migrate_folder_expand_state_1_4), (em_migrate_folder_view_settings_1_4), (em_migrate_imap_cmeta_1_4), (em_migrate_1_4), (emm_setup_initial), (em_migrate): * em-popup.c: * em-utils.c: (em_utils_save_part_to_file): * mail-component.c: (mail_component_init): * mail-config.c: * mail-folder-cache.c: * mail-mt.c: * mail-ops.c: * mail-tools.c: (mail_tool_get_local_movemail_path): Use e_util_mkdir_hier() instead of e_mkdir_hier(). Use e_util_strstrcase() instead of e_strstrcasea(). use e_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_filename_make_safe() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31118
* use libedataserver/e-account-list.h instead of e-util/e-account-list.h.Simon Zheng2006-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2006-01-06 Simon Zheng <simon.zheng@sun.com> * em-account-editor.c: * em-account-prefs.c: * em-composer-utils.c: * em-folder-tree-model.h: * em-migrate.c: * em-subscribe-editor.c: * em-utils.c: * importers/netscape-importer.c: * mail-config.c: * mail-crypto.c: * mail-ops.h: * mail-send-recv.c: * mail-vfolder.c: use libedataserver/e-account-list.h instead of e-util/e-account-list.h. use libedataserver/e-account.h instead of e-util/e-account.h. svn path=/trunk/; revision=31075
* Use the composer window as the parent window while showing the errorParthasarathi Susarla2006-01-041-1/+1
| | | | | | | | | | 2006-01-04 Parthasarathi Susarla <sparthasarathi@novell.com> * em-composer-utils.c: (em_utils_composer_send_cb): Use the composer window as the parent window while showing the error message. svn path=/trunk/; revision=31041
* ** See bug #315987 Send only if account is enabledParthasarathi Susarla2005-11-231-7/+14
| | | | | | | | | | | | | | | | | 2005-11-23 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug #315987 * em-composer-utils.c: (em_utils_composer_send_cb): Send only if account is enabled (em_utils_composer_save_draft_cb): Save message to server folder only if the account is enabled, else save it locally (generate_account_hash): Add default account into the account hash only if the account none of the account is enabled. (guess_account): use only enabled account * mail.error.xml: Add error message for send-no-account-enabled svn path=/trunk/; revision=30646
* Return valid transport, only if the account is enabled.Parthasarathi Susarla2005-10-221-0/+7
| | | | | | | | | | | | | | | | 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * mail-config.c: (mail_config_get_default_account): Return valid transport, only if the account is enabled. 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * em-composer-utils.c: (create_new_composer): If the account corresponding to the fromuri is not enabled. Then load the preferred account from the composer. ---------------------------------------------------------------------- svn path=/trunk/; revision=30555
* composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,Philip Van Hoof2005-10-191-13/+8
| | | | | | | | | | | | 2005-10-19 Philip Van Hoof <pvanhoof@gnome.org> composer/e-msg-composer-select-file.c, composer/e-msg-composer.c, composer/e-msg-composer.h, composer/evolution-composer.c, composer/listener.c, mail/em-composer-utils.c, plugins/mailing-list-actions/mailing-list-actions.c: data hiding svn path=/trunk/; revision=30532
* em-composer-utils.c (reply_get_composer, get_reply_list,Tor Lillqvist2005-09-281-3/+3
| | | | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * em-composer-utils.c (reply_get_composer, get_reply_list, post_reply_to_message) * em-folder-view.c (emfv_format_link_clicked): Use g_ascii_strncasecmp() instead of strncasecmp(). We are comparing to literal ASCII strings, so just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30397
* Fixes #316983Carsten Guenther2005-09-231-2/+2
| | | | | | | | | | | | | 2005-09-22 Carsten Guenther <carsten.guenther@scalix.com> Fixes #316983 * em-composer-utils.c (em_utils_send_receipt): Exchanged the FROM and TO fields so that a read receipt actually goes to the sender of the original message. svn path=/trunk/; revision=30370
* if we get a null default, then set "" on the entry. (emae_option_entry):Not Zed2005-07-211-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_option_entry): if we get a null default, then set "" on the entry. (emae_option_entry): set the default value on the url if it doesn't exist already. 2005-07-20 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (refresh_folders_desc, refresh_folders_get) (refresh_folders_got, refresh_folders_free, get_folders) (receive_update_got_folderinfo, receive_update_got_store): refresh all the folders manually and directly. * mail-folder-cache.c (setup_folder): propagate even -1 unread counts, they get ignored later. * em-composer-utils.c (emu_handle_receipt_message) (em_utils_handle_receipt): use getmessagex too, so we can always clear any error. * em-folder-view.c (emfv_message_selected_timeout) (emfv_list_done_message_selected): use getmessagex and do something meaninful with the error. * mail-ops.c (mail_get_messagex): added new get message which returns an exception. 2005-07-19 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): dont get the service connected, it will connect if it needs to. * mail-ops.c (get_folderinfo_get): * em-folder-utils.c (emft_copy_folders__copy) (emfu_delete_folders): * em-folder-tree.c (emft_get_folder_info__get): Always request subscribed folders, if the backend doesn't implement it it will ignore it. 2005-07-13 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_autoreceive_init, auto_online): listen to session online events, and if we are online, trigger an auto-receive of all auto-check accounts. 2005-07-11 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (auto_account_commit): force an update immediately if we're setting up the timeout to start with. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): noop if the unread count < 0. (em_folder_tree_model_set_folder_info): only set the unread count if we actually have one. * em-folder-tree.c (emft_tree_row_expanded): get the folder list 'fast'. * mail-ops.c (get_folderinfo_get): get the folder list 'fast'. svn path=/trunk/; revision=29822
* included missing header file camel-multipart.h **Fixes #310330Vivek Jain2005-07-151-0/+1
| | | | | | | | | | 2005-07-14 Vivek Jain <jvivek@novell.com> * em-composer-utils.c : included missing header file camel-multipart.h **Fixes #310330 svn path=/trunk/; revision=29772
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* move e-error into e-util/Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * move e-error into e-util/ svn path=/trunk/; revision=29366
* Use the real folder and real uid (not the virtual if replying to a messageJeffrey Stedfast2005-05-131-4/+21
| | | | | | | | | | 2005-04-21 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (post_reply_to_message): Use the real folder and real uid (not the virtual if replying to a message in a vfolder). Fixes bug #269129. svn path=/trunk/; revision=29345
* Simplify the scanning for '@' by using strchr().Jeffrey Stedfast2005-04-091-7/+4
| | | | | | | | | 2005-04-08 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (em_utils_send_receipt): Simplify the scanning for '@' by using strchr(). svn path=/trunk/; revision=29197
* removed. (em_utils_handle_receipt): asynchronously load message if none isNot Zed2005-04-081-1/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-08 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (em_utils_ask_receipt): removed. (em_utils_handle_receipt): asynchronously load message if none is supplied. * em-folder-view.c (emfv_set_seen): pass message in. * em-composer-utils.c (em_utils_ask_receipt): strip leading lwsp on the disposition address. (em_utils_ask_receipt): added a comment about which rfc. (em_utils_handle_receipt): merged ask_receipt into here. Changed api to take a message instead, so we don't have to load the message every time. Also only set receipt-handled if we have a receipt requested in the first place. 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * mail-errors.xml: Added new dialog for receipt requests * em-composer-utils.c (em_utils_guess_account): Made guess_account public, to be callable from em-folder-view (em_utils_send_receipt): New function to send an RFC 2298-compliant message delivery notification svn path=/trunk/; revision=29185
* ** See bug #66592Not Zed2005-03-041-95/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-03 Not Zed <NotZed@Ximian.com> ** See bug #66592 * mail-tools.c (mail_tool_make_message_attachment): jus call camel_medium_remove_header to remove the bcc header, don't need to loop. * mail-ops.c (mail_send_message): try to find the account by uid first, fall back to name. * em-composer-utils.c (composer_get_message): set x-evolution-account by uid, not name. 2005-03-02 Not Zed <NotZed@Ximian.com> ** See bug #66592 * em-composer-utils.c (got_post_folder): no longer needed. (composer_get_message): remove 'post' and 'no_recipeints' args. * mail-ops.c (mail_send_message): change for xev changes. Also handle postto if set. * mail-tools.c (mail_tool_remove_xevolution_headers) (mail_tool_restore_xevolution_headers): fix for api change. (mail_tool_destroy_xevolution): remove. * mail-tools.h: remove XEvolution, just use a struct _header_raw for it. * em-composer-utils.c (em_utils_composer_send_cb): don't post message here, just queue it like any other outgoing mail. svn path=/trunk/; revision=28950
* ** See bug #68459Not Zed2005-02-251-59/+57
| | | | | | | | | | | | | 2005-02-24 Not Zed <NotZed@Ximian.com> ** See bug #68459 * em-composer-utils.c (get_reply_sender): check the followup-to header before the newsgroups header. (reply_get_composer, get_reply_sender, get_reply_all): change post-to to be a CamelNNTPAddress not a string pointer. svn path=/trunk/; revision=28885
* ** See bug #66943.Not Zed2005-01-191-17/+30
| | | | | | | | | | | | | | 2005-01-19 Not Zed <NotZed@Ximian.com> ** See bug #66943. * em-composer-utils.c (save_draft_done): check if the editor_engine is still there before trying to invoke a method on it. (em_utils_composer_save_draft_cb): grab resources before getting the folder, so the composer doesn't go away. svn path=/trunk/; revision=28445
* handle the "reply" parameter, if set.Not Zed2005-01-051-2/+4
| | | | | | | | | | | | | 2005-01-05 Not Zed <NotZed@Ximian.com> * mail-component.c (handleuri_got_folder): handle the "reply" parameter, if set. * em-composer-utils.c (em_utils_reply_to_message): only ref the source if supplied. (reply_to_message): only unref the source if supplied. svn path=/trunk/; revision=28241
* ** Merge in notzed-messageinfo-branch.Not Zed2004-11-121-7/+7
| | | | | | | | 2004-11-12 Not Zed <NotZed@Ximian.com> ** Merge in notzed-messageinfo-branch. svn path=/trunk/; revision=27899
* added hook docs, and cleaned up some of the hook point names.Not Zed2004-10-281-2/+1
| | | | | | | | | | | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): * em-message-browser.c (em_message_browser_new): * em-mailer-prefs.c (em_mailer_prefs_construct): * em-format-html-display.c (efhd_attachment_popup): * em-folder-view.c (emfv_popup, emfv_list_done_message_selected) (emfv_format_popup_event): * em-folder-tree.c (emft_popup): * em-folder-properties.c (emfp_dialog_got_folder): * em-folder-browser.c (em_folder_browser_new): * em-composer-utils.c (em_utils_reply_to_message): * em-composer-prefs.c (em_composer_prefs_construct): * em-account-editor.c (em_account_editor_construct): added hook docs, and cleaned up some of the hook point names. svn path=/trunk/; revision=27749
* duh, they're camel not gobjects.Not Zed2004-10-221-1/+8
| | | | | | | | | | | 2004-10-22 Not Zed <NotZed@Ximian.com> * em-event.c (eme_target_free): duh, they're camel not gobjects. * em-folder-view.c (emfv_list_done_message_selected): added a message.reading event. svn path=/trunk/; revision=27694
* Add a REPLY_ALL flag to the Message target. Set the REPLY_ALL flag whenNat Friedman2004-10-221-1/+2
| | | | | | | | | | 2004-10-22 Nat Friedman <nat@novell.com> * em-event.c: Add a REPLY_ALL flag to the Message target. * em-composer-utils.c (em_utils_reply_to_message): Set the REPLY_ALL flag when appropriate. svn path=/trunk/; revision=27689