Commit Graph

2264 Commits

Author SHA1 Message Date
24be53ab34 EHTMLEditorView - When replying on message with links they don't have the WebKit link color set 2015-03-10 15:13:26 +01:00
b5ae2550ac EHTMLEditorView - Deleting a character from the beginning of line in quoted content moves caret to wrong place 2015-03-10 15:13:26 +01:00
b5419e97d8 EHTMLEditorView - Only stop propagating the key press event when we moved to different table cell 2015-03-10 15:13:26 +01:00
78955ea5ea EHTMLEditorView - Set text/css type on Evolution style sheets in HEAD 2015-03-10 15:13:26 +01:00
0f1416f52f Bug 745946 - Adding emoticon at the beginning of line adds a line break too
When saving the selection start marker on the end of block always put
it before the BR element if presented.
2015-03-10 09:25:06 +01:00
b16e1b62a2 Bug 726203 - Incorrect part ID used for multipart/related attachments 2015-03-09 14:30:44 +01:00
da07435145 EHTMLEditorView - Crash in selection_is_in_table function
Check if the passed variable is not NULL before working with it.
2015-03-09 11:21:22 +01:00
d209fc9ae4 EHTMLEditorView - Setting the link color doesn't work
There were two issues. First one was that we were setting the link
color to the user style and it override the value that we later
set to link attribute on BODY element in Page dialog. The second issue
was that the if we changed the link attribute value, the color of existing
anchors in view sometimes didn't changed at all (probably because the
body is contenteditable). As a solution we are now changing the color
of links through the CSS style sheeet in HEAD as well.
2015-03-09 07:35:03 +01:00
2dab9b12fa EHTMLEditorPageDialog - Dialog shows wrong link color 2015-03-09 07:35:03 +01:00
b03c1e043d EHTMLEditorSelection - Return the right font color when is set on body 2015-03-09 07:35:03 +01:00
8fa63f0228 EHTMLEditorView - Make get_parent_block_element public 2015-03-06 12:53:54 +01:00
65d37bb152 EHTMLEditorView - Add a way how to insert new block above table where there is none
Return pressed in the the begining of the first cell will insert new block
before the table (and move the caret there) if none is already there,
otherwise it will act as normal return. This behaviour is taken from
LibreOffice Writer.
2015-03-06 12:53:53 +01:00
1206ced5f1 EHTMLEditorTableDialog - Change how the table is inserted
Don't insert BR after the table, but insert the same block (but empty)
as current block. Also when we are inserting new table from empty block
replace it with newly created table (otherwise insert the table below
it).
2015-03-06 12:53:53 +01:00
e5303c720f Do not force icon size for attachment button
The GtkCellRendererPixbuf didn't show the left-most icon, I do not know
why it doesn't like pixbuf pre-scaled to required size, but it doesn't.
2015-03-06 10:35:14 +01:00
9181bcef9c EHTMLEditorView - Avoid unnecessary g_utf8_strlen call 2015-03-06 09:38:07 +01:00
ed6ec8dc20 EHTMLEditorView - Newly inserted tables have nearly zero height
When inserting a new table into contenteditable element the width of the cells
is nearly zero and the td { min-height } doesn't work so put unicode zero width
space before each cell.
2015-03-06 09:38:07 +01:00
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
0477d77049 EHTMLEditorView - Avoid runtime warnings when manipulating with text in table cell 2015-03-06 09:38:07 +01:00
3d9d4650fc EHTMLEditorView - Don't try to preserve the text blocks when parsing content
It will be enabled again after the 3.16 is branched so we can improve
it.
2015-03-06 09:38:07 +01:00
590ebe6b39 EHTMLEditorTextDialog - Font sinze in combo box is off by one 2015-03-06 09:38:07 +01:00
9abf2ad7df EHTMLEditorTableDialog - When creating new table move caret to its first cell 2015-03-06 09:38:07 +01:00
20f8ae5e06 ETMLEditorSelection - Font color in picker is not changed when moving between different font colors 2015-03-06 09:38:07 +01:00
aed859decf EHTMLEditor - Don't insert new HR element when trying to change properties of existing one 2015-03-06 09:38:07 +01:00
bb6fc1c4b0 EHTMLEditor - Don't leak the WebKitDOMHTMLCollection objects 2015-03-06 09:38:07 +01:00
410ece8a61 Bug 735956 - [EWebView] Do not scroll and zoom when Ctrl+mouse-wheel 2015-03-04 18:49:29 +01:00
f1a0a347fd EColorCombo - Cannot choose a color from a popup palette
It closed immediately, causing no way to select any color.
2015-03-04 16:18:33 +01:00
fd95fbf59d EHTMLEditorView - Don't replace tabulators with spaces when pasting clipboard
Instead use the WebKit's HTML representation of tabulator.
2015-03-04 12:44:32 +01:00
5b175fa49d Bug 745551 - Pasting text from gnome-terminal with concatenated whitespace and tabulators, some whitespace occurrences get removed
The problem was the the code expected that the matched pattern will be
just the spaces or tabulators nor both of them at the same time. As
a fix we need to process the matched pattern characters one by one.

Also when deciding whether to preserve the block (line) we need to
operate with a string that already has the tabulators replaced.
2015-03-04 10:35:12 +01:00
05198cfd76 Bug 736432 - Attachment rename not shown in UI 2015-03-04 09:42:56 +01:00
70978a7242 Use translated window titles in HTML editor dialogs
The N_() only marks the string as "to be translated", but doesn't
translate it, it's the _() used for.
2015-03-03 19:10:36 +01:00
43bd4b0f43 Bug 745338 - Disambiguate string "_Replace" 2015-03-03 19:08:28 +01:00
8ba12b1c33 EHTMLEditorView - Fix Paste Quotation action 2015-03-02 15:18:59 +01:00
48d0d981ab EHTMLEditorView - Selection is lost when showing context menu
Only move to the pointer coordinates when the selection is collapsed.
2015-03-02 09:14:34 +01:00
2e83f78fd0 EHTMLEditorActions - Actions from context menu don't work
When the context menu is activated the view itself loses the focus, so
we can't check if the view is focused before doing the action
2015-03-02 09:14:34 +01:00
5327338141 EWebView - Fix wrong indentation 2015-02-27 11:01:14 +01:00
c0b4036c82 EHTMLEditorView - When pasting text with space on end ends with space lost 2015-02-27 11:01:14 +01:00
6620a83b65 EHTMLEditorView - Block is wrongly preserved in the beginning of quoted content 2015-02-27 11:01:14 +01:00
f2277b0315 EHTMLEditorView - Be more efficient when trying to get if we are going to remove last element in body 2015-02-27 11:01:14 +01:00
a4509832ae EHTMLEditorView - Fix the Past Quotation action
If the action is activated in empty block, replace that block with
pasted content otherwise insert the content after the current block.
2015-02-27 11:01:14 +01:00
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