Commit Graph

1386 Commits

Author SHA1 Message Date
aa6f1bbdc0 EHTMLEditorView - Move between the table cells with tabulator
Also don't jump around UI when pressing Shift + Tab outside of table.
2015-03-06 09:38:07 +01:00
a8c32338fe Bug 744846 - Composer file attachment uses incorrect EAlertSink 2015-02-25 16:49:14 +01:00
4d7188d0ed Bug 237917 - Arbitrary entry in From: field when composing 2015-02-25 12:46:20 +01:00
9dcac58b21 Use thread safe variants of g_object_bind_property*() functions from evolution-data-server 2015-02-24 09:54:41 +01:00
5935b2f76b Bug 744869 - Typo (smilyes) in translatable string 2015-02-23 10:23:58 +01:00
88dd1d83c9 Bug 744401 - Many WebKitDom objects leaked for every message viewed
Follow-up fix that fixes the leak of two strings introduced with
previous fix to this bug. Also unref all the used objects from various
lists that WebKit returns after they are used.
2015-02-20 11:16:18 +01:00
99913ec7c3 Bug 740169 - Add support for smileys via Unicode-characters 2015-02-18 19:01:42 +01:00
75e63db31a Composer - Fix more drag and drop related bugs
This fixes the following bugs:
- DnD inside the view was still copying things not moving them
- Prevent WebKit to insert the URI inside the view when DnD'ing some
  file inside the view
- DnD'ed inline image was inserted on the caret position and not on the
  position we dropped it.
2015-02-12 13:31:06 +01:00
1740543a23 Composer - Make drag and drop usable
Fix the DnD inside the view itself and DnD from outside to composer.
Comments about some workarounds that had to be used are inside the
commit.
2015-02-10 11:58:36 +01:00
2e6c266024 Bug 742607 - Pick identity from recipients with 'Edit as New Message'
Also unset internal flag to 'set_signature_from_message', to make sure
that the user's changes in the signature combo will be reflected from
the beginning, not for the second and more tries.
2015-02-09 15:49:43 +01:00
8ea9f96f8b Prefer g_output_stream_write_all() over g_output_stream_write()
Just to make sure that all data had been written, while the later
can finish successfully without actually write all the data it was
requested to write.
2015-02-09 14:53:37 +01:00
f60a5b6b58 Bug 743876 - Inline image lost on message send when sending through Outbox
The thing is that when we were sending the message through Outbox
Evolution generates one message that is used for sending and another one
for saving to Outbox. But while creating the first message the images
inside the view are processed to cid images, so for the second message
they were not there. To avoid that we will restore the images in the
view right after we get the HTML version of view's content.
2015-02-04 13:49:32 +01:00
30e1f2549e EMsgComposer - Draft of a HTML mail is saved with plain/text X-Evolution-Format header 2015-02-04 13:49:32 +01:00
9a5cfbd8cf EComposerPrivate - Caret is in the beginning of the quoted content when replying on HTML message with active signature and choosing the Lose formatting option 2015-02-02 15:59:31 +01:00
eaf86d9cb9 EComposerPrivate - Caret is below the quoted content when replying on HTML message with active signature and choosing the Don't lose formatting option 2015-02-02 14:49:57 +01:00
566a53d368 EComposerPrivate - Message on reply is not spell checked and doesn't have caret when signature is enabled 2015-01-20 12:05:51 +01:00
38e1aba5e6 Bug 742956 - Spell check error highlights lost on message (auto)save 2015-01-15 15:11:55 +01:00
8a0da4b8f6 EComposerPrivate - Newly created message with signature doesn't have block for message text 2015-01-13 16:38:27 +01:00
05fff5a8e8 EComposerPrivate - Block the selection-changed signal before trying to unblock it
To avoid warning printed on console.
2015-01-13 16:38:27 +01:00
7bd8c53bb9 EComposerPrivate - When editting existing message as new there is no caret in composer 2015-01-13 16:38:27 +01:00
48e4faa26c Bug 742613 - New line added at the top of all replies
Remove the unwanted block with initial caret position (above
credentials) when the 'Start typing at the bottom on replying' is not
selected. Leave it there just when the 'Keep signature above the
original message on replying' option is set.
2015-01-09 13:33:59 +01:00
c569546604 Bug 741129 - Correct couple translatable strings 2015-01-06 11:20:02 +01:00
7a7989dcbc EComposerPrivate - Warning is shown when replying to e-mail. 2014-12-15 11:28:20 +01:00
ec476d7ffc Bug 740754 - Opening just Draft with attachments shows HTML code
Ask for content type of part otherwise we will pass the HTML code as
a plain text one.
2014-11-26 16:00:39 +01:00
59e2efa774 Share GSettings objects with e_util_ref_settings()
A simple Evolution run and move between all views means creation of
more than 100 GSettings objects, with only a bit more than 10 schemas.
Reusing the objects should have a positive impact on a performance too.
2014-11-13 10:06:04 +01:00
c1c31a13be Bug 739675 - Runtime warnings when forwarding an event
Correctly unsubscribe the callbacks from headers table.
2014-11-07 12:56:55 +01:00
7847ac305f EMsgComposer - Don't insert unnecessary new line into body, when forwarding an iCal event
Also don't format the body text as bold.
2014-11-07 12:56:55 +01:00
e80456423d Bug 559256 - Provide visual indication of composer options 2014-11-07 11:40:13 +01:00
a62947a237 EMsgComposer - Make the undo and redo work in Subject and Reply-To input widgets 2014-11-05 11:51:16 +01:00
189181b2ee EComposerTextHeader - Remove the unused code 2014-11-05 08:28:08 +01:00
0e01debcbe EMsgComposer - Use underscore to split the variable name 2014-11-03 16:58:34 +01:00
b183deaff3 EHTMLEditorView - When editting the HTML message as new move the caret to the beginning as in plain text mode 2014-11-03 16:49:08 +01:00
ba6b345acd EHTMLEditor - Various fixes when editting the message as new
Don't insert the unnecessary new line into the body and always move the
caret to the beginning the of body. Also rename the is_from_draft
variable in composer to is_message_from_draft.
2014-10-23 16:00:39 +02:00
3895eeea10 Composer - Move comment about the signatures on top to the right place 2014-10-23 16:00:38 +02:00
08b2f8686d EMsgComposer - Set the headers that are used when saving a message as draft just is that case 2014-10-23 13:29:59 +02:00
6d1b100626 EMsgComposer - Remove the unneeded code
The new line after the signature when signature on top is used is now
handled in EHTMLEditorView.
2014-10-17 14:04:41 +02:00
9e25eb1f08 EMsgComposer - Correctly open messages when editing them as new
Initialize the is_from_draft variable before using it.
2014-10-17 13:13:45 +02:00
67ee9be5d2 EHTMLEditor - Rework how the message text, signature and block with initial input are handled when opening composer 2014-10-16 08:28:58 +02:00
dfd1a6cb50 EHTMLEditor - Avoid asking for loosing the formatting if replying from a selection
Add a special header to the newly created message from the selection
text and later mark the flag in EHTMLEditorView to avoid showing the
dialog for loosing the formatting. Do something similar for messages
from drafts to avoid searching for string inside the message's source.
2014-10-16 08:28:58 +02:00
e3ee83bce2 EMsgComposer - Avoid crash when "editting as new" the plain text message without text
Initialize the used variables with default values.
2014-08-28 16:47:12 +02:00
6a0592918a Fix handling of the selection in the composer when saving the message draft
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.
2014-08-27 16:12:02 +02:00
94ac030220 When changing the composer mode from HTML to Plain Text avoid reloading of the web view
Also preserve the selection (if it is possible) when changing the mode.
2014-08-27 16:12:02 +02:00
a0b11ce4ac Reduce the memory used by DOM variables
Free some of the DOM variables when they are not needed, before they are
automatically freed when the frame is destroyed
2014-08-07 11:20:03 +02:00
1a515c48f9 Bug 734023 - Critical warnings from e_html_editor_view_set_changed() when sending message
Disconnect the notify callbacks on the headers in the EMsgComposer dispose
method to avoid calling them after the EEditor was destroyed.
2014-08-01 12:44:55 +02:00
a38c09b58f Bug 733776 - Should not digitally sign the draft messages 2014-07-31 20:19:20 +02:00
1a9fc0f574 Bug 733724 - Paste of a text can produce runtime warning "Gtk-CRITICAL **: 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.
2014-07-31 12:02:31 +02:00
bcc3a1c7e6 Add missing chain-up-s to parent's constructed() method
Plus a little code cleanup for easier grepping.
2014-07-17 12:46:38 +02:00
bf860b3f99 Bug 732608 - Composer paste issues
We have to treat the pasting into the normal and the quoted
content separately. We have to also correctly process the new lines on
the beginning/end of the pasted content to avoid their lose.
2014-07-15 11:10:00 +02:00
5f7d840595 EMsgComposer - Correctly save the composer mode into the message headers 2014-07-15 11:09:59 +02:00
add3b70e36 When setting some content into the composer body we have to specify if it is 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.
2014-07-01 15:11:30 +02:00