aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
Commit message (Collapse)AuthorAgeFilesLines
* EMsgComposer - Avoid crash when "editting as new" the plain text message ↵Tomas Popela2014-08-281-2/+2
| | | | | | without text Initialize the used variables with default values.
* Fix handling of the selection in the composer when saving the message draftTomas Popela2014-08-271-2/+2
| | | | | | | When saving the draft don't lose the active selection in the web view. Also restore the selection when the draft is again opened. Also fix the situations when the spell check was not activated when the composer was opened.
* Reduce the memory used by DOM variablesTomas Popela2014-08-071-0/+4
| | | | | Free some of the DOM variables when they are not needed, before they are automatically freed when the frame is destroyed
* Bug 734023 - Critical warnings from e_html_editor_view_set_changed() when ↵Tomas Popela2014-08-011-0/+2
| | | | | | | sending message Disconnect the notify callbacks on the headers in the EMsgComposer dispose method to avoid calling them after the EEditor was destroyed.
* Bug 733776 - Should not digitally sign the draft messagesMilan Crha2014-08-011-8/+10
|
* Bug 733724 - Paste of a text can produce runtime warning "Gtk-CRITICAL **: ↵Tomas Popela2014-07-311-0/+3
| | | | | | | gtk_targets_include_uri: assertion 'targets != NULL || n_targets == 0' failed" Check if the returned targets and their count is valid before passing them further.
* EMsgComposer - Correctly save the composer mode into the message headersTomas Popela2014-07-151-12/+11
|
* When setting some content into the composer body we have to specify if it is ↵Tomas Popela2014-07-011-11/+28
| | | | | | | | | a HTML content Code paths for HTML content and plain text content are different. When we will try to load plain text content as a HTML content we will lose the new line characters. In the opposite case when HTML content is load as a plain text at least the whole structure is lost.
* EMsgComposer - Remove unneeded GtkHTML codeTomas Popela2014-07-011-9/+0
|
* Bug 473198 - evolution should ignore signature when checking for missing ↵Tomas Popela2014-06-301-0/+38
| | | | | | attachments Introduce method that returns body inner text without signature text.
* Bug 731507 - [webkit-composer] paste does not work, shift-ins or CTRL-V worksTomas Popela2014-06-251-2/+4
| | | | | | | Together with previous commit that removes the usage of deprecated gtk-stock items and unregistering the Ctrl+v shorcut this solves the issue. When the action is triggered and WebView doesn't have focus we have to focus it to insert the clipboard content there.
* EMsgComposer - Emit clipboard related signals just when EHTMLEditorView has ↵Tomas Popela2014-06-191-16/+23
| | | | focus
* EMsgComposer - Allow drag and drop of text or html/text into composerTomas Popela2014-06-171-0/+44
|
* Bug 731758 - [webkit-composer] Formatting/fonts not reset on paste into ↵Tomas Popela2014-06-171-0/+15
| | | | | | | | | | plain text The cause of this bug was that WebKitWebView is not emitting signal paste-clipboard for Shift + Insert (neither for Ctrl + Insert for copy or Shift + Delete for cut) so we didn't get a change to process the content of clipboard. As a workaround we are emitting paste-clipboard signal when we trigger these shortcuts.
* Bug 702703 - Be able to overwrite domain in Message IDsMilan Crha2014-06-171-3/+20
|
* EMsgComposer - Return body's innerText instead of plain text in ↵Tomas Popela2014-06-131-1/+5
| | | | | | | | | e_msg_composer_get_raw_message_text The only consumer of e_msg_composer_get_raw_message_text is the Attachment Reminder plugin that is just searching for given words in message's text. For this purpose the innerText is enough and getting it is a lot faster than generating the plain text version of composer's content.
* Bug 540362: [webkit-composer] Use webkit for composerTomas Popela2014-06-091-670/+648
| | | | Merge wip/webkit-composer branch into master.
* Ignore false GObject property change notificationsMilan Crha2014-06-051-8/+8
| | | | | | | | | | | | | | | | | | | | | | This is related to bug 698275, which did not cover all cases. The problem here is that the dconf can in certain situation claim that everything changed (path "/" changed), which GSettingsBinding propagates to a GObject property unconditionally and GObject's property setter (g_object_set_property()) also notifies about the property change unconditionally, despite the real descendant property setter properly checks for the value change. After all these false notifications a callback on "notify" signal is called and possibly an expensive operation is run. Checking whether the value really changed helps in performance, for which were added new e-util functions: e_signal_connect_notify() e_signal_connect_notify_after() e_signal_connect_notify_swapped() e_signal_connect_notify_object() which have the same prototype as their GLib counterparts, but they allow only "notify::..." signals and they test whether the value really changed before they call the registered callback.
* Bug 729519 - [Composer] Do not show 'Untitled Message' in Discard questionMilan Crha2014-05-301-3/+5
|
* Miscellaneous cleanups.Matthew Barnes2014-03-031-19/+19
|
* EMailFormatter: Use GOutputStream instead of CamelStream.Matthew Barnes2014-03-011-12/+13
|
* Replace 'interface' with 'iface' in the codeTarnyko2014-02-261-3/+3
| | | | | | Win32 headers have a #define for 'interface', which breaks the build when this word is used in the code, thus replace it to 'iface', the same way as GLib or GTK+ code use to have it. (See bug #722068.)
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-081-10/+9
|
* Coding style and whitespace cleanup.Matthew Barnes2013-12-071-17/+27
|
* Bug #712738 - Recovered message doesn't restore optionsMilan Crha2013-11-201-9/+40
|
* Fix/mute issues found by Coverity scanMilan Crha2013-11-151-65/+59
| | | | | | | | | | | | 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.
* Miscellaeous cleanups.Matthew Barnes2013-10-201-1/+1
|
* Bug #689787 - Prefer-plain can hide message body for composerMilan Crha2013-09-271-14/+36
|
* Miscellaneous cleanups.Matthew Barnes2013-07-071-5/+5
|
* Add e_composer_header_table_ref_source().Matthew Barnes2013-06-021-55/+7
| | | | | | 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-6/+43
| | | | | | | | | | | | | | | | | | | | 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()
* Rename libcomposer to libevolution-mail-composer.Matthew Barnes2013-05-281-1/+2
| | | | | | To make Evolution's shared libraries more consistent. Also add an evolution-mail-composer documentation module.
* Convert EMailPart to a GObject.Matthew Barnes2013-05-201-1/+1
| | | | | EMailPart is reference-counted, subclassed, and allows a custom finalize function. There's no excuse for it not to use GObject.
* Bug #301323 - "Edit as new message" doesn't strip signature properlyMilan Crha2013-05-071-26/+37
|
* [EMailFormatter] Use GdkRGBA and GtkStyleContext to get theme colorsMilan Crha2013-04-231-3/+2
| | | | | | | | | | It could happen that header text color had been picked white one time, but the other time black as expected (for me usually when I started Evolution in Calendar and moved to Mail view, the header text color was white, while when starting in Mail view it was black). The change to use GtkStyleContext is there only as a cleanup from deprecated GtkStyle, and to make things easier too, because both GtkStyle and the GtkStyleContext had set white color for some reason.
* Remove more Express Mode hacks.Matthew Barnes2013-04-011-5/+0
| | | | | | This removes all traces of Express Mode from all but the contact editor and calendar appointment editor. Need to evaluate the remaining cases individually.
* Remove e_shell_adapt_window_size().Matthew Barnes2013-04-011-2/+0
| | | | Its preconditions are never TRUE, and is therefore a no-op function.
* Add e_msg_composer_ref_session().Matthew Barnes2013-03-171-27/+23
| | | | Replaces e_msg_composer_get_session().
* Remove EMailShellSettings.Matthew Barnes2013-03-171-16/+23
| | | | | | | | 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.
* Use g_hash_table_add() when using a hash table as a set.Matthew Barnes2013-01-121-8/+7
| | | | | | | 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.
* Reduce diff noise with webkit-composer branch.Matthew Barnes2013-01-111-8/+15
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* EMailParserExtension: Collect EMailParts in a GQueue.Matthew Barnes2012-12-081-8/+7
| | | | | | | | | | | | | | | Collect EMailParts in a GQueue provided to the EMailParserExtension, and change the return type of parse() to gboolean to indicate whether the given CamelMimePart was handled (even if no parts were added to the output GQueue). This avoids the awkward corner case of a parser extension returning a linked list node with a NULL data member to indicate the CamelMimePart was handled but no EMailParts produced, and then having to watch out for that NULL data member corner case throughout the application. Also, remove the GCancellable parameter from e_mail_parser_error() and e_mail_parser_wrap_as_attachment() since neither function blocks.
* Make EMailPartList thread-safe.Matthew Barnes2012-12-081-7/+17
| | | | | | Exposing data members in the public struct is unwise, especially when EMailPartList is used from multiple threads. Instead keep the members private and provide a set of thread-safe functions to manipulate them.
* Bug #687998 - Attachment dialog shown when storing assigned taskMilan Crha2012-11-121-3/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2012-11-111-1/+3
|
* Composer could start with empty FromMilan Crha2012-09-051-2/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2012-09-011-7/+8
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-201-3/+3
|
* Trust attachments from ~/.kde and ~/.kde4.Matthew Barnes2012-07-021-0/+16
| | | | | | | | | This came about from a mailing list thread entitled: Sending photos from digKam: "Skipping suspicious attachment" Apparently KDE still uses dot-folders quite heavily, despite having helped draft the XDG Base Directory Specification.
* Bug #617557 - Can close composer while message is sendingMilan Crha2012-06-261-0/+5
|
* Bug #678304 - Save Draft prevents Evolution's quitMilan Crha2012-06-181-0/+15
|
* Mail formatter rewriteDan Vrátil2012-06-061-29/+34
| | | | | | | | 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 composer to the new ESource API.Matthew Barnes2012-06-031-399/+312
|
* Use g_simple_async_result_set_check_cancellable().Matthew Barnes2012-05-131-0/+8
| | | | Always call it immediately after g_simple_async_result_new().
* Bug #674248 - Lost new lines from text/plainDan Vrátil2012-04-191-2/+8
|
* Bug 673895 - "Send To..." doesn't work anymoreMatthew Barnes2012-04-111-1/+23
| | | | | | Our hidden file/directory blacklist went a little too far. Evolution was blacklisting its own temporary files. This changes the blacklist function to trust the user's own XDG Base Directories.
* 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-7/+24
| | | | Pass it in instead of digging it out of EShellSettings.
* WebKit port - port addressbook, calendar and update composer to keep working ↵Dan Vrátil2012-03-291-19/+20
| | | | with GtkHtml
* Bug #665106 - Memory leak from composer setup when opening PreferencesMilan Crha2012-03-161-2/+2
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Bug #617557 - Can lost message after send failedMilan Crha2012-03-011-8/+8
|
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-6/+3
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-7/+7
| | | | | | | 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.
* Move gtkhtml data encoding/decoding to e-composer-private.c.Matthew Barnes2012-01-011-97/+6
| | | | Simplify the algorithms, trading efficiency for readability.
* Composer cleanups.Matthew Barnes2012-01-011-1/+1
|
* Composer: "mailto" blacklist touch ups.Matthew Barnes2011-11-301-12/+17
|
* Use e_restore_window() and "org.gnome.evolution.window".Matthew Barnes2011-11-281-8/+5
| | | | Apply it to all windows with persistent size and/or position.
* Miscellaneous cleanups.Matthew Barnes2011-11-231-17/+13
|
* Miscellaneous cleanups.Matthew Barnes2011-11-231-4/+4
|
* Fix compiler warnings.Matthew Barnes2011-11-231-3/+1
|
* Migrate most of the composer to GSettingsRodrigo Moya2011-10-141-46/+27
|
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-061-6/+3
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Let GtkFileChooser track its own last-used-folder.Matthew Barnes2011-10-061-6/+0
| | | | | | GtkFileChooser in GTK+ 3.2 now keeps track of the last-used-folder itself, even across applications, so get out of its way and let it handle it.
* GtkApplication has some new EShell-like features.Matthew Barnes2011-10-061-3/+10
| | | | | | | | | | | | | | | | | | I pushed a few EShell features up to GtkApplication for GTK+ 3.2, so we can now trim off the redundancies in EShell. 1) GtkApplication has a new "window-added" signal which replaces EShell's own "window-created" signal. 2) GtkApplication has a new "window-removed" signal which replaces EShell's own "window-destroyed" signal. 3) gtk_application_get_windows() now returns a list of windows sorted by most recently focused, replacing e_shell_get_watched_windows(). 4) GtkApplication now provides enough hooks to subclasses that we can remove e_shell_watch_window() and call gtk_application_add_window() directly.
* Bug #657374 - mailto: attachment parameter can lead to accidental data ↵Vibha Yadav2011-10-041-0/+30
| | | | | | exfiltration Through warning on attaching Hidden/security files by mailto command.
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-8/+11
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Reverting the previous commit.Vibha Yadav2011-09-151-30/+0
|
* Bug #657374 - mailto: attachment parameter can lead to accidental data ↵Vibha Yadav2011-09-151-0/+30
| | | | | | exfiltration Through warning on attaching Hidden/security files by mailto command.
* Bug 635347 - Message lacks ID when submitted for sendingMatthew Barnes2011-09-141-0/+4
|
* Bug #657611 - Hidden error of invalid attendee on sendMilan Crha2011-09-071-1/+7
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-13/+18
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-8/+18
|
* Bug #656290 - "Always carbon-copy (cc) to:" option not honoredMilan Crha2011-08-121-0/+48
|
* Bug 653568 - Forward as Redirect doesn't workMatthew Barnes2011-07-111-29/+24
| | | | | X-Evolution-Account and X-Evolution-Transport headers were not getting set in redirected messages.
* EMsgComposer: Minor cleanups.Matthew Barnes2011-07-111-13/+14
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-091-7/+21
|
* Bug #651039 - Always update signature in composer on account changeMilan Crha2011-05-251-0/+1
|
* Revert "Correct garbled mailto: uris passed in through GApplication interface"Matthew Barnes2011-05-231-4/+0
| | | | | | This reverts commit 94d5fb1b664ab38790ba620f7d2c6d585b666c91. Wrong solution. See bug #650491.
* Coding style and whitespace cleanup.Matthew Barnes2011-05-221-26/+49
|
* Correct garbled mailto: uris passed in through GApplication interfaceMilan Crha2011-05-161-0/+4
|
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-121-8/+4
| | | | | | | | 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.
* Coding style cleanups.Matthew Barnes2011-05-091-6/+6
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-4/+8
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-1/+6
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-2/+3
|
* Bug #641805 - Clicking links in mail composer opens URL twiceMilan Crha2011-03-011-20/+1
|
* Bug #614480 - Avoid using G_TYPE_INSTANCE_GET_PRIVATE repeatedlyMilan Crha2011-02-251-4/+4
|
* Remove NULL checks for GObject methods.Matthew Barnes2011-02-131-4/+3
| | | | | As of GLib 2.28 all GObject virtual methods, including constructed(), are safe to chain up to unconditionally. Remove unnecessary checks.
* Fix image dropping in composer while in HTML mode.Matthew Barnes2011-02-031-0/+15
| | | | | | Dragging image data or an image URI to the message body while in HTML mode should insert the image inline, not attach it. Without this the Picture Gallery feature is pointless.
* Bug #635144 - Using external editor duplicates signatureMilan Crha2011-02-021-2/+4
|
* Bug #553438 - Deletes lines of a reply when changing addressMilan Crha2011-01-181-6/+4
|
* GtkSelectionData is sealed in GTK3.Matthew Barnes2011-01-091-1/+4
| | | | Have to use accessor functions, no pointer deferencing.
* Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2010-12-221-0/+32
|
* Free/busy meeting view doesn't work due to non-working extensionMilan Crha2010-12-061-0/+3
|
* Bug #404570 - Ctrl-R / NNTP doesn't focus the new messageMilan Crha2010-11-291-2/+2
|
* EActivity: Add an "alert-sink" property.Matthew Barnes2010-11-011-7/+35
| | | | | | | 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/+4
| | | | | | | 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.
* Fix build break.Matthew Barnes2010-11-011-1/+1
|
* Set Date: when building a CamelMimeMessage in composer.Matthew Barnes2010-10-311-0/+3
|
* Skip writing to Outbox when sending.Matthew Barnes2010-10-311-12/+107
| | | | | | | 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.
* Simplify EActivity.Matthew Barnes2010-10-231-18/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* Bug 632127 - Composer is editable while sending messageMatthew Barnes2010-10-151-37/+43
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-777/+1259
| | | | | | | | | | | | | | | '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.
* Bug #631320 - GtkObject is gone in GTK3Milan Crha2010-10-071-18/+6
|
* Messin around with EAlerts.Matthew Barnes2010-09-301-0/+2
| | | | | | | | | | | | | | | | | | | Trying out a new interface called EAlertSink. The idea is to centralize how errors are shown to the user. A GtkWindow subclass would implement the EAlertSink interface, which consists of a single method: void (*submit_alert) (EAlertSink *alert_sink, EAlert *alert); The subclass has complete control over what to do with the EAlert, although I imagine we'll wind up implementing various alert-handling policies as standalone widgets such as EAlertDialog. I'd like to try an EAlertInfoBar. Code that would otherwise display an error dialog itself would instead pass the EAlert to an appropriate EAlertSink and be done with it. Nothing is final yet. Still hacking on EAlert trying to find an API that feels right for these use cases.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-91/+76
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-33/+102
|
* Use new GDK keysym names if available.Matthew Barnes2010-09-181-3/+6
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.
* Convert composer autosave to an EExtension.Matthew Barnes2010-09-031-125/+17
| | | | | | | | | | | | | | | | | | | 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-18/+16
| | | | | | This simplifies the async autosave logic and improves error handling. Hoping this will solve bug #616987 but I've yet to reproduce it myself.
* Coding style and whitespace cleanup.Matthew Barnes2010-08-291-10/+10
|
* GObject boilerplate cleanup.Matthew Barnes2010-08-251-35/+13
| | | | | | | Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over manual GType registration. This is just a start... lots more to do.
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-108/+173
| | | | Reduce the composer's dependency on e_shell_get_default().
* Bug 624913 - Disallow drag-and-drop within the same attachment barMatthew Barnes2010-08-131-80/+46
| | | | | | | | | | | | Adds a boolean "dragging" property to the EAttachmentView interface, which becomes TRUE when the user start a drag from the attachment view. e_attachment_view_drag_motion() and e_attachment_view_drag_drop() both return FALSE when this property is set. Also, do not register the entire EMsgComposer window as a drag destination. Just intercept drag signals from the GtkHTML widget. Requires gtkhtml commit 344eb5e to fully work correctly.
* Bug 323142 - Signature missing when handling mailto: URI with body partMatthew Barnes2010-08-131-1/+1
|
* EMsgComposer cleanups.Matthew Barnes2010-08-131-51/+58
|
* Bug #624891 - Various compiler warnings in git/masterMilan Crha2010-07-221-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-121-16/+16
|
* Bug 623702 - SEGV on redirecting messageMatthew Barnes2010-07-101-0/+5
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-34/+40
|
* Composer: Append drag dest targets to the GtkHTML widget.Matthew Barnes2010-06-231-0/+32
| | | | | | This is so that GtkHTML doesn't have to register drag destination targets that that it can't handle itself, like "text/calendar" and "text/x-vcard".
* Coding style and whitespace cleanup.Matthew Barnes2010-06-201-8/+19
|
* Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-06-151-4/+109
| | | | The second attempt.
* Coding style and whitespace cleanups.Matthew Barnes2010-06-071-80/+186
|
* Merge branch 'express2'Matthew Barnes2010-05-271-22/+19
|\
| * Merge branch 'gnome-2-30' into express2Matthew Barnes2010-05-251-14/+15
| |\
| | * Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-05-211-13/+14
| | |
| * | get the composer dialog size right on MeeGoMichael Meeks2010-05-211-1/+2
| | |
| * | Use the lite-composer when the shell is in small-screen modeFederico Mena Quintero2010-05-081-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Merge express2 into relayout-composerFederico Mena Quintero2010-05-081-0/+7
| |\ \
| | * | Set transient prop in express mode so that composer appears in the sameSrinivasa Ragavan2010-04-301-0/+6
| | | | | | | | | | | | | | | | zone as the mail window.
| * | | Use e_msg_composer_get_lite() instead of a global variable or struct fieldsFederico Mena Quintero2010-05-011-1/+0
| |/ / | | | | | | | | | | | | | | | | | | This will also make 'grep' easier when we remove the lite stuff by refactoring. Signed-off-by: Federico Mena Quintero <federico@novell.com>
| * | Express: Composer always defaults to HTML modeMatthew Barnes2010-04-071-4/+0
| | | | | | | | | | | | | | | | | | Composer and signature editor always default to HTML in Express mode. Hide the corresponding composer preference. This will not affect the user preference in normal mode.
| * | Fix mismatched quotes.Matthew Barnes2010-04-071-1/+1
| |/
| * Bug 614892 - String leak in the composerPaolo Borelli2010-04-071-0/+2
| |
* | Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-05-211-13/+14
| |
* | Bug #304415 - Allow change of signature hash algorithmMilan Crha2010-05-201-5/+24
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-59/+59
| |
* | Bug #360461 - Avoid markup in translatable messagesMilan Crha2010-04-231-1/+4
| |
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-1/+3
| |
* | Bug 614892 - String leak in the composerPaolo Borelli2010-04-071-0/+2
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-041-33/+36
| |
* | Express: Composer always defaults to HTML modeMatthew Barnes2010-03-301-4/+0
| | | | | | | | | | | | Composer and signature editor always default to HTML in Express mode. Hide the corresponding composer preference. This will not affect the user preference in normal mode.
* | Fix mismatched quotes.Matthew Barnes2010-03-291-1/+1
|/
* Revert some bad assumptions I made in EPluginUI.Matthew Barnes2010-03-161-2/+2
| | | | | | | | | We can't require the use of EUIManager everywhere because we don't control all the UI manager instances -- the most compelling example being the composer, whose UI manager comes from GtkhtmlEditor. Instead, EPluginUI will check the instance type and pick an appropriate "load_from_string" function.
* Prevent future bugs like #612792.Matthew Barnes2010-03-151-3/+3
| | | | | | Add G_GNUC_NULL_TERMINATED to EAlert functions with variable-length parameter lists and drop the unnecessary "arg0" parameter so the function attribute works correctly.
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* Improve clipboard behavior.Matthew Barnes2010-01-181-70/+64
| | | | | | | | | | | | | | | | | | | | | Add "copy-target-list" and "paste-target-list" to the ESelectable interface. These are underutilized for the moment, but will eventually be used to help integrate drag-and-drop support into ESelectable. Add cut and paste support to EWebView, along with a new "editable" property and new clipboard signals "copy-clipboard", "cut-clipboard" and "paste-clipboard". In EFocusTracker, listen for "owner-changed" signals from the default clipboard as another trigger to update actions, particularly the Paste action. (Unfortunately this doesn't work for EWebView since GtkHtml implements its own clipboard.) In EMsgComposer, convert GtkhtmlEditor's clipboard methods to empty stubs, since EFocusTracker will now trigger EWebView's clipboard actions. Also, intercept EWebView::paste-clipboard signals and improve the interaction between the HTML editor and the attachment bar based on use cases in bug #603715.
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-10/+0
|
* Bug 606542 - Broken paste action on to/cc/subject fieldsMatthew Barnes2010-01-111-15/+12
|
* Bug 606344 - Clicking "Reply to All" button causes Evo to dump coreMatthew Barnes2010-01-091-72/+0
| | | | | | | | | | | | | | Adding a GtkhtmlEditor::uri-requested repeater signal was a mistake. It unnecessarily complicates URI handling and so the composer no longer uses it -- instead it connects to GtkHTML::url-requested directly. This also requires commit 203ce61e6ea19323914b9c459b2e79bde5db15be from GtkHTML to work right. That commit changes GtkHTML::url-requested to a G_SIGNAL_RUN_LAST so the composer's signal handler runs first. If the composer can handle the URI request, it stops the signal emission so that nothing else tries to use the freed GtkHTMLStream. Henceforth consider GtkhtmlEditor::uri-requested to be deprecated.
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-126/+169
| | | | | | | | | | | | | | | | | | EFocusTracker tracks the input focus within a window and helps keep the sensitivity of "selectable" actions in the main menu up-to-date. Selectable actions include Cut, Copy, Paste, Select All and Delete. EFocusTracker has built-in support for widgets that implement the GtkEditable interface such as GtkEntry and GtkTextView. It also supports custom widgets that implement the ESelectable interface, which is a subset of GtkEditable and can apply to anything that displays selectable content (esp. tree views and ETables). This commit integrates EFocusTracker with EShellWindow, CompEditor, EMsgComposer, and ESignatureManager. It also bumps the GtkHTML requirement to 2.29.5 to utilize the new GtkhtmlEditor:html constructor property.
* Bug #520816 - S/MIME shares "Do not sign meeting requests" with PGPMilan Crha2009-12-241-5/+9
|
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-8/+9
| | | | | | 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.
* Bug 551464 - Paste files into composer as attachmentsMatthew Barnes2009-12-041-58/+4
|
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-8/+8
| | | | | | | | | | 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 composer/ to user new EError APIJonathon Jongsma2009-12-011-4/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug 589153 - Use GtkBuilder instead of libgladeMatthew Barnes2009-11-171-2/+0
|
* Bug #250046 - Composer addresses reading fixesMilan Crha2009-11-101-4/+7
| | | | | | - 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
* Bug #599792 - Anjal composer's Send button doesn't work after pressed Save ↵Yan Li2009-11-061-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-4/+6
|
* Bug #596027: In Anjal, although invalid mail address warning popup, mail's ↵Yan Li2009-11-051-0/+14
| | | | | | | | 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.
* Bug #599124 - Signature always includes an empty line in front of textMilan Crha2009-11-041-3/+3
|
* Bug 598567 - Can only insert local image filesMatthew Barnes2009-10-211-4/+10
|
* Bug #522783 - Signature separator for HTML E-mailsMilan Crha2009-10-161-3/+20
| | | | | | | | Reapplied patch from bug #551470, as this got dropped on merging. Be sure you all also gconftool-2 --install-schema-file=$PREFIX/etc/gconf/schemas/evolution-mail.schemas as new key had been added.
* Bug #545851 - Set properly sign type on reply of signed messageMilan Crha2009-10-161-8/+33
|
* Bug #245683 - Use QP encoding when composing message with "\nFrom "Milan Crha2009-10-161-6/+92
| | | | (QP - Quoted Printable)
* Bug #597123 - Composer's Send Options doesn't workMilan Crha2009-10-141-61/+1
|
* Remove unneeded composer autosave functions.Matthew Barnes2009-10-021-1/+0
|
* Various composer autosave fixes.Matthew Barnes2009-10-011-3/+17
|
* No need to track open composer windows either.Matthew Barnes2009-10-011-6/+0
|
* Remove some unneeded composer autosave bits.Matthew Barnes2009-10-011-46/+1
| | | | | | Closing the last main window no longer takes composer windows down with it, so we no longer need the "holy crap we're shutting down, quick save to disk!" logic.
* Bug 596712 - Recovered messages not autosaved until modificationMatthew Barnes2009-09-301-1/+1
|
* Code cleanup in e-msg-composer.cMatthew Barnes2009-09-301-9/+11
|
* Bug #582745 - Place signature at bottom when Edit As New MessageMilan Crha2009-09-291-35/+36
|
* Bug #494531 - Use quoted-printable encoding when necessaryDavid Liang2009-08-311-1/+2
| | | | For example when part body contains a line longer than some max.
* Bug 590747 – Composer autosave can easily lose dataPhilip Withnall2009-08-071-3/+19
|
* Seal up ESignature and add GObject properties.Matthew Barnes2009-08-071-12/+16
|
* Kill the last GtkOptionMenu instances.Matthew Barnes2009-07-031-1/+0
| | | | | | | Wrote a new widget (ECharsetComboBox) to replace e-charset-picker.c. The widget provides a "charset" string property that allows us to bind to GConf keys (via EShellSettings). Moved e_charset_add_radio_actions() to e-util/e-charset.c. Updated Glade files, #include lines, etc.
* More code cleanup.Matthew Barnes2009-06-021-1/+1
|
* Whitespace cleanup.Matthew Barnes2009-05-291-2/+2
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-8/+8
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+6
| |
| * Fix composer header regression caused by Anjal merge.Matthew Barnes2009-05-271-4/+4
| |
| * Johnny's composer changes for Anjal.Srinivasa Ragavan2009-05-221-1/+37
| |
* | Johnny's composer changes for Anjal.Srinivasa Ragavan2009-05-241-0/+1
| |
* | Mail changes required for Anjal.Srinivasa Ragavan2009-05-241-0/+27
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-221-184/+17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-162/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Move automatic CC/BCC handling to EComposerHeaderTable.Matthew Barnes2009-05-171-93/+0
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
| |
| * Remove dead composer code.Matthew Barnes2009-05-051-176/+0
| |
* | Move automatic CC/BCC handling to EComposerHeaderTable.Matthew Barnes2009-05-211-93/+0
| |
* | Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-211-1/+1
| |
* | Use -no-undefined on Linux tooMilan Crha2009-05-201-10/+107
| | | | | | | | | | There still left two things opened, search for KILL-BONOBO to find them. One is in calendar's Makefile.am, one in composer.
* | Fix compilation errors.Matthew Barnes2009-04-291-10/+2
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-04-291-2/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/Makefile.am a11y/widgets/ea-widgets.c a11y/widgets/ea-widgets.h addressbook/gui/component/addressbook-component.c calendar/gui/Makefile.am calendar/gui/calendar-component.c calendar/gui/dialogs/comp-editor.c calendar/gui/dialogs/event-editor.c calendar/gui/dialogs/memo-editor.c calendar/gui/dialogs/task-editor.c calendar/gui/memos-component.c calendar/gui/tasks-component.c composer/e-composer-private.c composer/e-msg-composer.c configure.in e-util/e-plugin-ui.c e-util/e-plugin-ui.h mail/ChangeLog mail/Makefile.am mail/e-mail-attachment-bar.c mail/em-format-html-display.c mail/em-format-html-display.h mail/em-format-html.h mail/em-format.h mail/em-popup.c mail/mail-component.c plugins/external-editor/external-editor.c widgets/misc/Makefile.am widgets/misc/e-attachment-paned.c widgets/misc/e-attachment-view.c widgets/misc/e-attachment.c
| * Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-281-3/+3
| |
| * Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-281-531/+166
| | | | | | | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
| * Do not delete text lines on signature set in composerMilan Crha2009-04-271-35/+37
| | | | | | | | | | | | | | | | | | | | ** Fix for bug #553535 * e-msg-composer.c: (is_top_signature), (get_signature_html), (set_editor_text), (e_msg_composer_show_sig_file): Do not eat lines of text when changing signature at top of the message. Add one extra empty line between the signature and the body of the mail when placing signature to the bottom.
| * ** Remove a bunch of juvenile comments. Source code should lookMatthew Barnes2009-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | 2009-04-12 Matthew Barnes <mbarnes@redhat.com> ** Remove a bunch of juvenile comments. Source code should look professional, even if some developers are not. svn path=/trunk/; revision=37514
| * ** Fix for bug #574680Milan Crha2009-03-191-21/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-03-19 Milan Crha <mcrha@redhat.com> ** Fix for bug #574680 * e-msg-composer.c: (is_special_header): Function removed. * e-msg-composer.c: (e_msg_composer_new_with_message): Remove all headers except "References" and "In-Reply-To" when composing from an existing message. svn path=/trunk/; revision=37462
| * ** Fix for bug #551470Milan Crha2009-02-251-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #551470 * e-composer-private.h: * e-msg-composer.c: (add_signature_delim), (get_signature_html), (set_editor_text): Do not force adding "-- \n" above the signature. svn path=/trunk/; revision=37322
| * ** Fix for bug #567089Milan Crha2009-02-121-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 Milan Crha <mcrha@redhat.com> ** Fix for bug #567089 * e-msg-composer.c: (get_signature_html): Do not crash when no From set yet. svn path=/trunk/; revision=37251
| * New convenience function calls gtk_show_uri() and displays an error dialogMatthew Barnes2009-01-111-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-11 Matthew Barnes <mbarnes@redhat.com> * e-util/e-util.c (e_show_uri): New convenience function calls gtk_show_uri() and displays an error dialog if the URI cannot be shown. * addressbook/gui/widgets/eab-contact-display.c (eab_uri_popup_link_open), (on_link_clicked): * calendar/gui/e-cal-component-preview (on_link_clicked): * calendar/gui/e-cal-component-memo-preview (on_link_clicked): * calendar/gui/e-memo-table.c (open_url_cb): * calendar/gui/dialogs/comp-editor.c (open_attachment): * composer/e-msg-composer.c (msg_composer_link_clicked): * mail/em-folder-view.c (emfv_format_link_clicked): * mail/em-popup.c (emp_uri_popup_link_open): * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): * shell/e-shell-window-commands.c (command_open_faq): * widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb): * widgets/misc/e-url-entry.c (button_clicked_cb): Call e_show_uri() instead of gnome_url_show(). * e-util/e-error.c (ee_response): Call e_display_help() instead of gnome_url_show(). * mail/em-config.c: * mail/em-menu.c: Remove unneeded #include <libgnome/gnome-url.h> svn path=/trunk/; revision=37037
| * ** Fix for bug #564248Milan Crha2008-12-161-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #564248 * e-msg-composer.c: (msg_composer_paste_clipboard): Attach images pasted from a clipboard. Note: Requires at least gtkhtml revision 9067. svn path=/trunk/; revision=36906
| * ** Fixes bug #562450Matthew Barnes2008-12-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #562450 * composer/e-msg-composer.c (handle_multipart_signed): Fix a typo that broke "Edit as New Message" for signed messages. svn path=/trunk/; revision=36869
| * ** Fixes bug #562886Matthew Barnes2008-12-051-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #562886 * composer/e-msg-composer (handle_mailto): Don't double-decode attachment URIs. Also, parse &amp; correctly. svn path=/trunk/; revision=36834
| * ** Fix for bug #559701Srinivasa Ragavan2008-11-121-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-07 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #559701 * e-msg-composer.c: (e_load_spell_languages): Don't save when its NULL. svn path=/trunk/; revision=36775
| * ** Fixes part of bug #559371Matthew Barnes2008-11-061-17/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #559371 * composer/e-msg-composer.c (e_load_spell_languages): New function loads a list of GtkhtmlSpellLanguage structs from GConf, taking care of details like converting language codes to structs and ensuring the returned list is non-empty. * composer/e-msg-composer.c (e_save_spell_languages): New function saves a list of GtkhtmlSpellLanguage structs to GConf, taking care of details like converting the structs to language codes. * composer/e-msg-composer.c (msg_composer_constructor): * mail/em-composer-prefs.c (spell_language_save), (spell_setup): Simplify the logic by using e_load_spell_languages() and e_save_spell_languages(). svn path=/trunk/; revision=36743
| * ** Fixes bug #554450Matthew Barnes2008-11-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #554450 * composer/e-msg-composer.c (msg_composer_init): Get drag-and-drop to the attachment bar working again, but see my note in the source code. I'm still not sure why it broke. svn path=/trunk/; revision=36741
| * ** Fixes bug #559028Matthew Barnes2008-11-031-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | 2008-11-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #559028 * composer/e-msg-composer.c (msg_composer_key_press_event): Skip over the style toolbar when tabbing in reverse. svn path=/trunk/; revision=36720
| * ** Fix for bug #554418Milan Crha2008-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #554418 * e-util/e-util.h: (e_util_guess_mime_type): * e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on the file content only when permitted by the caller, otherwise check based on the filename only, where it fallbacks if file content guess fails. * mail/em-utils.c: (em_utils_snoop_type): * mail/em-popup.c: (emp_standard_menu_factory): Guess mime_type based on the filename only. * composer/e-msg-composer.c: (handle_uri), (e_msg_composer_add_inline_image_from_file): Guess mime_type based on the file content, if failed, then on the filename. * widgets/misc/e-attachment.c: (attachment_guess_mime_type): Allow guessing mime_type based on the file content. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory): Allow/disallow guessing of the mime_type based on the file content. svn path=/trunk/; revision=36529
| * License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-291-17/+14
| | | | | | | | svn path=/trunk/; revision=36465
| * ** Fixes bug #551548Matthew Barnes2008-09-101-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-10 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #551548 * composer/e-msg-composer.c: * composer/e-composer-action.c: Remove pointless SMIME_SUPPORTED check, which was hard-coded to 1. svn path=/trunk/; revision=36294
| * Milan Crha <mcrha@redhat.com> ** Fix for bug #545661 (Skip question for ↵Suman Manjunath2008-09-011-0/+8
| | | | | | | | | | | | not-saved only when not changed or application is exiting). svn path=/trunk/; revision=36241
| * ** Fixes bug #546892Matthew Barnes2008-08-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* | Resolve some differences between this branch and master.Matthew Barnes2009-04-281-121/+2
| |
* | Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-281-2/+1
| | | | | | | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
* | Do not delete text lines on signature set in composerMilan Crha2009-04-281-5/+18
| | | | | | | | | | | | | | | | | | | | ** Fix for bug #553535 * e-msg-composer.c: (is_top_signature), (get_signature_html), (set_editor_text), (e_msg_composer_show_sig_file): Do not eat lines of text when changing signature at top of the message. Add one extra empty line between the signature and the body of the mail when placing signature to the bottom.
* | Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-251-4/+4
| |
* | Miscellaneous bug fixes.Matthew Barnes2009-04-241-0/+1
| |
* | Convert "import-ics-attachments" plugin to an EAttachmentHandler subclass.Matthew Barnes2009-04-101-1/+4
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37510
* | Finish attachment drag and drop.Matthew Barnes2009-04-021-50/+23
| | | | | | | | | | | | | | | | | | Expunge em-popup.c of dead code. Not much left. Kill the save-attachments (experimental) plugin. The attachment bar can already save all at once. svn path=/branches/kill-bonobo/; revision=37488
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-301-0/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37482
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-261-0/+9
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37476
* | Saving progress again on the attachment rewrite.Matthew Barnes2009-03-241-6/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37470
* | Saving progress on a massive attachment handling rewrite.Matthew Barnes2009-03-211-405/+140
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37465
* | Cleaning up the attachment bar, centralizing its popup menu, and convertingMatthew Barnes2009-03-091-153/+0
| | | | | | | | | | | | | | | | | | | | | | everything to GtkUIManager/GtkActions. Saving progress mid-stream... not sure about the MIME part utilities yet. Also, add some EActivity subclasses. Considering an EFileActivity subclass for asynchronous GIO operations (loading/saving attachments, etc.), but still ironing out details. svn path=/branches/kill-bonobo/; revision=37389
* | Inline mail_crypto_get_pgp_cipher_context() logic into the composerMatthew Barnes2009-02-161-15/+28
| | | | | | | | | | | | and kill mail/mail-crypto.[ch]. svn path=/branches/kill-bonobo/; revision=37273
* | Move signature script execution to e-util/e-signature-utils.s so theMatthew Barnes2009-02-161-2/+1
| | | | | | | | | | | | | | | | | | composer can invoke it. Composer no longer needs mail-config.h. Split signature preview into a new widget: ESignaturePreview. svn path=/branches/kill-bonobo/; revision=37272
* | Merge revisions 37200:3266 from trunk.Matthew Barnes2009-02-151-1/+6
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37270
* | Get mail search bar partially working without help from EFilterBar.Matthew Barnes2009-02-141-1/+0
| | | | | | | | | | | | Search scope (current folder, current account, etc.) is still ignored. svn path=/branches/kill-bonobo/; revision=37263
* | Make MailSession available through EShellSettings so composer can use it.Matthew Barnes2009-02-131-4/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37257
* | Rewrite the signature management UI from top to bottom.Matthew Barnes2009-02-101-120/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Break the UI out of Glade and into small, manageable widgets: ESignatureEditor (moved from mail to widgets/misc) ESignatureManager ESignatureTreeView ESignatureScriptDialog - Move several signature utilities to e-util/e-signature-utils.c so they're accessible from widgets/misc without introducing circular dependences. - Have EMailShellModule listen for new GtkhtmlEditor windows (from which EMsgComposer and ESignatureEditor are derived) and configure the window with spelling and HTML editing user preferences. - Drastically simplifies em-composer-prefs.c. svn path=/branches/kill-bonobo/; revision=37239
* | Let the mailer handle composer printing.Matthew Barnes2009-02-011-2/+28
| | | | | | | | | | | | Start roughing in the mailer search bar. svn path=/branches/kill-bonobo/; revision=37199
* | When invoking Evolution with URIs on the command-line (e.g. mailto:),Matthew Barnes2009-01-291-1/+1
| | | | | | | | | | | | terminate after all the windows for those URIs have been closed. svn path=/branches/kill-bonobo/; revision=37157