The code for saving the undo/redo history for cut was not called for the
Ctrl-x shortcut. Also remove a WebKit's BR element if presented
(otherwise an extra new line would be presented).
The former claim a compile-time warning, but sets the 'error' on failure,
the later doesn't claim a compile-time warning, but does not set the 'error'
on failure. Using the return value of both functions fixes two things at once.
If redoing an INPUT event that was done in the middle of the text we need to
move one character backward as the range is pointing after the character and
not before it - for INPUT events we don't save the before coordinates.
Don't always try to get the currently selected content as text/html, but
if the currently displayed message is a plain text one then get it as
text/plain.
If WebKit's rendering is slow it could happen that a workaround that we used in
WebKit1 (to fix the WebKit wrapping the content after the caret into the
SPAN) could cause the font to noticeably switch between monospace and
proportional.
The function can freeze UI due to other thread having locked
the folder summary, while the message info to which the operation
belongs is already available and known, thus it's also a performance
fix, by not doing unnecessary operations.
Thus when the test-html-editor-units loads modules it uses that
subdirectory and doesn't try to load libevolution-util.so with
a result as an error that a 'g_io_module_load' symbol couldn't be
found in this library.
It verifies that the distribution tarball is created with all local
changes, which requires them to be committed. If there are uncommitted
changes, then it prints a warning on the console.
The code which showed contact map in the contact preview required
WebKit1 functionality (gtk+ widgets inside webview), but it's gone
in WebKit2. This didn't break in the compile time, but in runtime
a critical warnings about missing signal had been shown on the console.
Let's disable/remove the related code for now and enable contact
maps in the preview once there's available a good replacement.
All the other functionality still works, thus the overall configure
option is left there.
Regression after commit 2a9becc. The first element in the BODY could be
credentials, but paragraph as well. So if it's paragraph, don't create
a new one.
Set the WebKitWebView background color with
webkit_web_view_set_background_color() as this color will be used before
the actual content will be rendered (and before we will have a chance to
inject the right background color through CSS) and it will avoid white
flash when using a black theme.