Commit Graph

35 Commits

Author SHA1 Message Date
461c01ad07 Composer: UL/OL not wrapped properly in Plain Text mode
In the Plain Text mode, when changing paragraph format to UL/OL, its width
was not properly set, which drew the long lines unwrapped. Switching to HTML
mode and back did set the expected wrap width.

Similarly, when converting HTML into plain text (on send), the wrap width did
not count width of the UL/OL prefix, making the line longer than it should be.
2020-12-02 13:57:19 +01:00
1354aa5da4 I#1214 - Composer: Block format change from UL/OL can split BODY
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1214
2020-11-09 19:22:17 +01:00
9c84a78a3d I#1207 - Composer: Magic-links can reposition caret to incorrect place
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1207
2020-11-05 16:55:30 +01:00
6e72a16380 I#1204 - Composer: Remove signature hints on message send
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1204
2020-11-03 17:06:40 +01:00
2001ba51d8 I#913 - Switching to plain-text keeps signature's HTML formatting
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/913
2020-11-03 13:37:48 +01:00
f24cd2a8cf I#1197 - Composer: BACKSPACE key on empty line simulates DEL key
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1197
2020-11-03 10:36:15 +01:00
0930bc7209 I#1158 - Composer: Disable spellcheck of quoted text ][
Correct typo in the previous commit.

Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1158
2020-10-15 14:55:34 +02:00
c84b6a5cbd I#1158 - Composer: Disable spellcheck of quoted text
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1158
2020-10-15 14:52:54 +02:00
f7eeadfaa3 e-convert.js: Missing line breaks with nested paragraphs
When the HTML structure had nested paragraphs (DIV inside DIV), then
the resulting plain text version could have missing line breaks.
2020-10-15 12:51:02 +02:00
3570977408 I#1068 - Attached event invitation not properly displayed ][
This change covers when there's a message attached, which contains
the invitation, which can be inline or also attached.

Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1068
2020-09-03 15:23:57 +02:00
337d913629 I#1068 - Attached event invitation not properly displayed
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/1068
2020-09-03 12:41:05 +02:00
485a33882b I#908 - Focus body in message window when caret mode is enabled
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/908
2020-09-02 15:47:24 +02:00
7efeb63b63 e-web-view.js: Check iframe property validity in Evo.initialize()
This is to workaround runtime warning:

(evolution:769567): evolution-util-WARNING **: 12:21:17.882: Failed to
call 'Evo.EnsureMainDocumentInitialized();' function: WebKitJavascriptError:699:
resource:///e-web-view.js:587:32: TypeError: null is not an object
(evaluating 'elems[ii].contentDocument.body')

Mentioned in https://gitlab.gnome.org/GNOME/evolution/-/issues/1041
2020-07-30 09:44:46 +02:00
e913552a59 e-editor.js: EvoEditor.LoadHTML: Preserve theme CSS
To preserve the look as the theme defines it.
2020-06-05 09:32:32 +02:00
7d5dbf03d9 Composer: Asks for format change on Plain Text draft open
The composer asked for format change from HTML to Plain Text when
opening Plain Text draft message, due to missing attribute in the draft.
2020-06-05 09:19:24 +02:00
34e28ff149 I#966 - Composer: Correct caret placement around signature wrapper
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/966
2020-06-04 17:50:48 +02:00
6c6ab53633 e-convert.js: Treat dash as a wrap-able character
WebKit can wrap after the dash ('-'), similarly as before a space,
thus let the EConvert to wrap in the same way.
2020-05-29 12:37:42 +02:00
c07bca12e0 M!53 - data/webkit/*.js: change the emacs mode to JavaScript
Closes: https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/53
2020-05-12 07:52:23 +00:00
30986bcd41 I#783 - e-editor.js: Remove body margin/padding styles and attributes
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/783
2020-05-06 19:09:04 +02:00
c9706b642e I#884 - Composer: Text split for wrapping can produce invalid UTF-8 text
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/884
2020-04-30 19:11:08 +02:00
28e24e0297 e-editor.js: Block format change doesn't set DIV width in Plain Text mode 2020-04-29 14:23:20 +02:00
6d39ec9824 e-editor.js: Remove all body attributes when using Plain Text mode 2020-04-29 13:48:33 +02:00
edab7d02a8 e-editor.js: Fix various issues related to citation editing 2020-04-29 12:56:37 +02:00
dded38ef58 e-editor.js: Normalize blockquote-s for replies/forwards
Noticed on a Gmail generated quotation, which broke the editor/convert code.
2020-04-28 17:24:39 +02:00
e5234102b7 e-convert.js: Correct conversion of citations with nested blocks
That's for the cases when a <blockquote> contains <div> with another
<div> or <pre>, where the leading quotation marks could double.
2020-04-28 12:20:00 +02:00
9ebe232b79 e-editor.js: Remove insignificant new lines when pre-processing loaded HTML
Insignificant new lines in the text are those in regular <div> and such,
where the white-space style doesn't mean to keep them. Those could cause
trouble when switching from HTML to the Plain Text mode, like to have doubled
new lines. WebKit doesn't remove them on its own, unfortunately, thus this
special processing is needed.
2020-04-28 10:45:01 +02:00
fcd4768b2e EWebKitEditor: Switch to JavaScriptCore API
The C DOM API had been deprecated since WebKitGTK 2.22. This is
the editor rewrite to use the new API.
2020-04-27 15:06:56 +02:00
5d36289399 M!48 - EWebView: Show the destination of hyperlinks as tooltip
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/827
Closes https://gitlab.gnome.org/GNOME/evolution/-/merge_requests/48
2020-04-15 12:17:40 +02:00
456cf10ec5 I#824 - EWebView: Should not force EWebView colors on IFrame body
Closes https://gitlab.gnome.org/GNOME/evolution/issues/824
2020-03-13 10:09:53 +01:00
c99f8d2378 I#813 - Improve styling of cited text in HTML mails
Closes https://gitlab.gnome.org/GNOME/evolution/issues/813
2020-02-27 15:02:23 +01:00
4dad3e4c5b I#695 - Option to unset colors provided in HTML mails for preview
Closes https://gitlab.gnome.org/GNOME/evolution/issues/695
2020-02-12 15:31:40 +01:00
2e66c1ab70 e-web-view.js: Element::tagName is always in upper-case
...thus no need to "upper-case" it again.
2019-10-22 10:18:30 +02:00
8fa7bed23e e-web-view.js: Replace 'isEqualNode()' with '==='
The 'isEqualNode()' is not the thing meant to be done here, this is
rather 'isSameNode()', which is deprecated and replaced with '==='.
2019-10-17 11:21:44 +02:00
517d822714 Show Security Information for signed/encrypted mails in the preview panel
It used to be a dialog, which was unnecessary. Let it be shown inline,
in the message preview instead. As a side effect, it's easier to copy
information out of it.
2019-10-10 15:50:53 +02:00
1d7e3e75cc EWebView: Use JavaScriptCore API of WebKitGTK+
All the previews (in Mail, Contacts, Memos and Tasks) stop using
deprecated WebKitGTK+ DOM API through a WebExtension (and its D-Bus
API) and start using the JavaScriptCore API (and JavaScript as such).
This allows to lightweight the WebExtension for the EWebView
significantly, including drop of the D-Bus API of it, fully relying
on the Inter-Process-Communication of WebKitGTK+ itself.
2019-10-09 12:26:12 +02:00