Commit Graph

2225 Commits

Author SHA1 Message Date
3370c19afa EHTMLEditorView - Emoticons can be resizable just in HTML mode 2015-02-27 11:01:14 +01:00
33e1edd842 EHTMLEditorSelection - Use variable that holds if the range is collapsed 2015-02-27 11:01:14 +01:00
a40e230b76 EHTMLEditorView - When inserting inline image refresh spell check just in current block 2015-02-27 11:01:14 +01:00
b971d5c0b8 EHTMLEditorActions - Activating the Paste as Text and Paste Quotation from context menu does nothing
If the view is not focused, grab focus and do the action.
2015-02-27 11:01:14 +01:00
e47598298a Bug 737300 - Make message list header draw closer to GtkTreeView 2015-02-27 09:31:10 +01:00
7b291270e0 [ETree/ETable] Implement GtkScrollableInterface::get_border() for Gtk 3.15.9+ 2015-02-26 17:56:49 +01:00
d0cc1a9f1a Bug 737300 - Make message list header smaller 2015-02-26 17:11:41 +01:00
4d7188d0ed Bug 237917 - Arbitrary entry in From: field when composing 2015-02-25 12:46:20 +01:00
8486d5baf7 Bug 743404 - Status column of message list exposed poorly via atk
Allow the atk implementation for ECellToggle to expose names for
states, since an ECellToggle can potentially show many states,
so setting ATK_STATE_CHECKABLE isn't always sufficient. Also
expose the corresponding enum of the icon through AtkValue, in case
an AT wants to perform a custom action for a particular value. Use
this functionality for the "status" cells in the message list.
2015-02-25 08:55:18 +01:00
5f900a3006 Update devel-doc Since from 3.14 to 3.16
As the 3.14 version will be skipped, to get back to sync with
the version of GNOME, then the right Since version is 3.16.
2015-02-24 10:16:02 +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
9f6da533d3 Address few more WebKitDOM objects memory leaks
Filled and discussed in bug 744401.
2015-02-23 14:11:57 +01:00
af0542cdf3 Bug 744848 - Text lost on format change
Always insert the unicode zero width space when inserting a new smiley
from UI (not writing it) after it to have the selection on the right
place.
2015-02-23 11:39:44 +01:00
8ae0b622cd Bug 744849 - Insert->Emoticon deletes text before cursor
The problem was that it was expecting that the newly inserted smiley
was written (and not inserted through the picker). So we have to
remember if the smiley was written or not. Another problem was that we
were checking just the first character of the written smiley
(typically just colon). I also rewrote the string manipulations around
the smileys into DOM operations.
2015-02-20 14:12:39 +01:00
6e40bb37d3 Simplify e-web-view.c:add_css_rule_into_style_sheet() 2015-02-20 11:40:34 +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
567bb678e8 EHTMLEditorSelection - Use create_selection_marker function when saving selection 2015-02-20 08:39:57 +01:00
d50a97ff40 EHTMLEditorSelection - Rework how the monospaced style is set
Don't set the font size if it's not necessary (otherwise the font will
be bigger). Also preserve the selection on text when setting the
monospaced style.
2015-02-20 08:39:57 +01:00
f44326e2fe EHTMLEditorSelection - Don't unref the EHTMLEditorView object when it is used afterwards 2015-02-20 08:39:57 +01:00
e49c913e70 EHTMLEditorSelection - Try to remove the link only when we find anchor 2015-02-20 08:39:57 +01:00
aa197acc32 EHTMLEditorSelection - Spell check is lost after some font style operations 2015-02-20 08:39:57 +01:00
d150071479 EHTMLEditorSelection - After settings for size to some value and back to the default the font is a little bit smaller 2015-02-20 08:39:56 +01:00
d54ad09315 EHTMLEditorSelection - The font color for selected text is wrong
Chack if the returned value is not empty, otherwise set it to black.
2015-02-20 08:39:56 +01:00
3ed6b7f3f6 EHTMLEditorSelection - Don't unref the EHTMLEditorView when it is used afterwards 2015-02-20 08:39:56 +01:00
eccda0aca9 EHTMLEditorSelection - Add missing colon in properties documentation 2015-02-20 08:39:56 +01:00
67bdc67878 Bug 744401 - Many WebKitDom objects leaked for every message viewed
Don't leak the WebKitDOMCSSRuleList object and stop searching when we
remove the rule to be more efficient.
2015-02-20 08:39:56 +01:00
9e194184e6 Special-case Google 'caldav' calendars to use 'google' editor
When a user created a Google calendar, in a Google editor, then a CalDAV
backend was created. Opening Properties of the Google calendar opened
the CalDAV editor instead, because it was backend-driven which editor
will be opened. This special-case addition makes sure that Google
calendar properties will open Google editor, the same which was used
to create the calendar.
2015-02-19 12:57:48 +01:00
2aee680444 Bug 744562 - Allow insert of emoticons in plain text mode 2015-02-18 19:07:22 +01:00
99913ec7c3 Bug 740169 - Add support for smileys via Unicode-characters 2015-02-18 19:01:42 +01:00
be691c6937 Bug 741093 - Force icon sizes when loading theme icons 2015-02-18 15:59:54 +01:00
013e7e073a Bug 681877 - tzset() called too many times 2015-02-18 10:38:26 +01:00
d192749ad2 Avoid crash when validating a new filter rule
A simple filter rule based on a Subject and a Move of the message
to a certain folder caused a crash of the application on save.
2015-02-17 17:10:50 +01:00
c86407b84b Bug 732999 - Middle-click paste doesn't move cursor
Move the caret to the position where the mouse is.
2015-02-12 13:37:29 +01:00
488329b01c Introduce e_html_editor_selection_set_on_point and use it where possible
This function will move the caret on given coordinates. It uses the
webkit_dom_dom_document_caret_range_from_point. We can finally
drop the e_html_editor_view_get_element_under_mouse_click the was there
for workaround this.
2015-02-12 13:31:06 +01:00
9dad5b7659 Bug 744373 - Delete whole line with selection lefts empty line
The selection end marker was saved to wrong position when the selection
ended in the beginning of the paragraph.
2015-02-12 09:20:49 +01:00
daaa8d08aa EHTMLEditorView - Use webkit_dom_html_element_insert_adjacent_html in parse_html_into_paragraphs 2015-02-12 08:41:03 +01:00
d39165f056 Bug 744372 - When pasting text evolution drops the carriage returns
Initial value of the property that is used for preserving the blocks
was set on wrong value.
2015-02-12 08:41:03 +01:00
eaa2a5b090 Bug 737018 - GUI string for translation "New" without context 2015-02-11 13:34:49 +01:00
ffacad7cde Bug 743942 - Disambiguate string "Insert Image" 2015-02-11 13:08:25 +01:00
60691aef9e EHTMLEditorSelection - Don't treat links as underlined 2015-02-11 11:15:46 +01:00
fa66952d41 EHTMLEditorView, EHTMLEditorSelection - Use webkit_dom_html_element_insert_adjacent_html
To avoid some unnecessary string allocation/manipulation.
2015-02-11 11:14:08 +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
843e07ef0a Bug 744218 - Cannot move with arrow keys from top to bottom
Insert BR that is used for wrapping after the long link just in case
there is some node after it.
2015-02-10 09:40:00 +01:00
53d6e75479 EHTMLEditorSelection - Replace active selection when inserting inline image into composer
Also refresh the spell check as it could be lost during the operation.
2015-02-09 11:07:17 +01:00
ea428bd68e EHTMLEditorView - Replace the active selection when inserting emoticons 2015-02-09 11:07:17 +01:00
06ed54d290 EHTMLEditorView - Unnecessary new line inserted when composer when creating new message
To be more specific it happens when the 'Start typing at the bottom on
replying' is active.
2015-02-09 11:07:17 +01:00
07a8582520 EHTMLEditorSelection - Non collapsed selection is collapsed after saving its start and end points
During some operations the selection can be removed. Try to restore it
on the end of saving.
2015-02-09 11:07:16 +01:00
4c9085ed9a Fixed plural forms handling 2015-02-05 15:08:07 +01:00
05631a2732 EHTMLEditorView - The links in composer are clickable by default 2015-02-04 18:22:29 +01:00
2ce0eef99c EHTMLEditorView - Insert new paragraph when we loaded an empty string or HTML
The composer functions expect the there is at least one block in the body.
2015-02-04 17:18:21 +01:00