Commit Graph

61 Commits

Author SHA1 Message Date
332789ff89 Bug 751588 - Port to WebKit2 2016-08-11 10:13:00 +02:00
f41e8f8522 Bug 756707 - calculations of lineno and offset for external editor gvim component is broken
Fix get_caret_position to correctly return number of bytes from the beginning
of the body to the current caret position and introduce the get_caret_offset
function to return the number of bytes from the beginning of current line to the
current caret position. Also the code of the numlines function was adjusted as
the webkit_dom_range_to_string (used by both previously mentioned functions) is
returning a text without new line characters, thus when counting the line number
we cannot increase the counter if we hit a new line character.
2015-10-20 15:23:38 +02:00
2e5d4f8670 Bug 751915 - Crash when using both internal and external editors to compose plain-text mail
We need to clear the history before we open the external editor (as when the
text from external editor will be loaded back to composer the history won't
be valid).
2015-07-07 11:43:43 +02:00
a59ef2ce97 ExternalEditor - Fix leaks of WebKit objects 2015-05-13 13:26:26 +02: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
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
fd226bf07d Replace the webkit_dom_node_get_node_type function with equivalent macros 2014-09-12 10:23:26 +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
8650fb139a Bug 540362: [webkit-composer] Use webkit for composer
Merge wip/webkit-composer branch into master.
2014-06-09 16:32:25 +02:00
280601ce8e Bug 729905 - [external-editor] Mark composer changed after message body set 2014-05-28 19:43:52 +02:00
b48e21d9aa Stop using deprecated gtk-stock items 2014-02-12 20:47:07 +01:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
7b98c39b0a Coding style and whitespace cleanup. 2013-12-07 10:04:45 -05:00
570c637480 Fix/mute issues found by Coverity scan
This makes the code free of Coverity scan issues.
It is sometimes quite pedantic and expects/suggests some
coding habits, thus certain changes may look weird, but for a good
thing, I hope. The code is also tagged with Coverity scan
suppressions, to keep the code as is and hide the warning too.
Also note that Coverity treats g_return_if_fail(), g_assert() and
similar macros as unreliable, and it's true these can be disabled
during the compile time, thus it brings in other set of 'weird'
changes.
2013-11-15 09:06:57 +01:00
9f8628e44b Bug #704549 - Missing mnemonic in External Editor plugin configuration 2013-08-09 10:17:51 +02:00
c5fae912d1 Use CamelMimeFilterToHTMLFlags enum type where appropriate. 2013-02-06 13:16:40 -05:00
8e2902eefc Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.
Clean up resulting deprecation warnings, which were all related to
GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
2013-01-19 19:08:01 -05:00
d09d8de870 Consolidate base utility libraries into libeutil.
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.

Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.

   libemail-utils/libemail-utils.la
   libevolution-utils/libevolution-utils.la
   filter/libfilter.la
   widgets/e-timezone-dialog/libetimezonedialog.la
   widgets/menus/libmenus.la
   widgets/misc/libemiscwidgets.la
   widgets/table/libetable.la
   widgets/text/libetext.la

This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.

And finally, start a Gtk-Doc module for libeutil.  It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
2012-12-12 14:33:43 -05:00
2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
704b78d23b Replace deprecated GLib symbols (as of GLib 2.34.x) 2012-11-06 16:21:37 +01:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
d97c776f24 WebKit port - port plugins 2012-03-28 18:39:26 +02:00
14f82dde34 Move EAlert* and e-xml-utils references from other part of the code to libevolution-utils. 2012-03-03 09:02:33 -05:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
515b354a4b Fix external editor example. Fixes bug #594736 2012-01-29 13:47:59 +01:00
2e60b6a4a2 Tweak GSettings schemas.
- Don't use the term "eplugin" for modules.

- Use the term "plugin" instead of "eplugin" for plugins.

- Split SpamAssassin settings into a separate schema.
2011-11-22 20:42:56 -05:00
de38aaef11 Migrate external editor plugin to GSettings 2011-10-14 12:52:51 +02:00
777c1cbd40 Coding style and whitespace cleanup. 2011-09-14 14:09:00 +02:00
f043e3c748 Including <glib-object.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
d7ff1792f7 Bug #635144 - Using external editor duplicates signature 2011-06-29 18:41:30 +02:00
a3ba231fcc Drop backward-compatibility cruft. 2011-06-29 18:41:25 +02:00
ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
d4e5485e02 Bug 632127 - Composer is editable while sending message 2010-10-14 16:32:29 -04:00
afe6f502c3 Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.

I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
d6fd193f8f Bug #610495 - Plugins should define e_plugin_lib_enable 2010-04-27 16:31:05 +02:00
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
ec73f5522f Coding style and whitespace cleanup. 2010-01-30 18:09:19 -05:00
31204c9cc2 Port all error code to use GObject-ified EAlert / EAlertDialog
The changes are mainly including the e-alert-header.h header instead of just
e-alert.h.  This allows us to include e-alert.h in non-UI situations when
necessary.
2009-12-07 12:25:23 -06:00
c2ee0afbc8 Rename EError to EAlert to match general use better
The EError mechanism is used both for error dialogs as well as basic alerts or
user prompts, so we should give it a more general name which matches this use.

This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that
were not actually being used.

https://bugzilla.gnome.org/show_bug.cgi?id=602963
2009-11-30 13:33:04 -06:00
e06b88c4fd Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent' 2009-10-13 16:24:10 +02:00
e165514140 Bug #586076 - [external-editor] Pass cursor pos to vim 2009-08-10 16:43:18 -04:00
45d475c31b Kill EMMenu and EMPopup.
Also finish adapting Templates plugin to EPluginUI.
It was still leaning pretty hard on EMPopup.
2009-08-10 10:32:03 -04:00
374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
b0e26e9c5f Fix even more compiler warnings and disable one for format strings 2009-06-09 07:18:28 -04:00
433eac7844 More code cleanup. 2009-06-02 10:35:03 -04:00
948235c3d1 Prefer GLib basic types over C types. 2009-05-27 10:29:19 -04:00