Commit Graph

92 Commits

Author SHA1 Message Date
f4577d7b50 ITIP - Fix more leaks of WebKit objects 2015-02-27 11:01:14 +01:00
a6e34f0bb7 Move authentication of backends back to the client
Since this change the client is responsible to provide credentials
to use to authenticate backends (through ESource-s, to be more precise),
unless the credentials are already saved.
2015-02-02 14:50:27 +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
0f6b8d8bf5 Stop using deprecated EDS symbols
Also enable EDS_DISABLE_DEPRECATED define when compiling with enabled
maintainer mode, to make sure the EDS deprecated symbols will not
be used again.
2014-10-17 10:33:03 +02:00
8752647eca Make Calendar, Memos and Tasks views non-UI-blocking
The Calendar, Memos and Tasks views use to do D-Bus calls to
the backends on the main (UI) thread, which could result in UI
freezes, until the operation was done on the backend (and server)
side. This commit fixes that by invoking the operations in
a dedicated thread. It has few additional advantages too:
- operations can be cancelled
- proper error reporting to a user
- less code duplication between the views for common operations

There had been fixed some performance issues when selecting/unselecting
sources in the source selector as well.
2014-10-06 12:33:03 +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
8692b1cb72 Add an --enable-code-coverage configure option to enable gcov support
When enabled, this will compile all libraries/binaries with the necessary
gcc and ld flags to enable code coverage support using gcov.
2014-03-25 12:04:58 +01:00
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
f4bb7d7748 EMailFormatter: Use GOutputStream instead of CamelStream. 2014-02-28 14:38:11 -05:00
55557b13d2 Do not use "dialog-apply" icon and make EStockRequest fool-proof
The "dialog-apply" icon is not from a set of standard icons, thus
it cannot be used, which I overlooked yesterday. With its drop are
also dropped other button icons in itip-formatter.

The missing icon made EStockRequest "panic" which effectively broke
page rendering for WebKit - the rendering was never finished.
2014-02-13 09:09:21 +01:00
b48e21d9aa Stop using deprecated gtk-stock items 2014-02-12 20:47:07 +01:00
93e98a60f6 Fix duplicate #includes 2014-01-21 20:10:47 +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
f416f05344 [itip-formatter] Search for an event in enabled calendars only 2013-11-20 17:20:55 +01: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
3c30fb1747 Convert libemail-engine to a single-include model.
Use: #include <libemail-engine/libemail-engine.h>
2013-11-11 12:07:43 -05:00
7063a28710 Bug 707112 - Replace webkit_dom_html_element_get_id usage
webkit_dom_element_get_id() was introduced for WebKitGTK+ 2.2 and
deprecates webkit_dom_html_element_get_id().  But Evolution only
requires WebKitGTK+ 2.0.1.

Ordinarily this would sit on a shelf until we require WebKitGTK+ 2.2,
however WebKitGTK+ has now started issuing deprecation warnings about
webkit_dom_html_element_get_id() at *runtime*, which is pointless and
only fills up users' .xsession-errors file.

To put a stop to this, we'll call the new function subject to a pre-
processor WebKit version check, with a fallback to the old function.

The build requirement remains at WebKitGTK+ 2.0.1.
2013-11-04 15:59:14 -05:00
3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
19862450dc Bug #274144 - 'Update attendee status' might not be done multiple times 2013-08-21 14:34:40 +02:00
060bb07662 mail_folder_cache_get_folder_info_flags: Change parameters.
Take a CamelStore and folder name instead of a CamelFolder.

CamelStore and folder name can easily be obtained from either a folder
URI or a CamelFolder instance, and the function is more efficient with
separate parameters.
2013-07-17 12:08:46 -04:00
a83157c778 Bug 703638 - Keep ItipView alive while connecting to calendar 2013-07-07 10:12:09 -04:00
3c4c595ab9 ItipView: Minor cleanups. 2013-07-07 10:12:05 -04:00
04aa0fba1f Rename libemformat to libevolution-mail-formatter.
To make Evolution's shared libraries more consistent.

Also add an evolution-mail-formatter documentation module.
2013-05-28 09:56:30 -04:00
70a9fcdf9c Rename libeshell to libevolution-shell.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-shell.
2013-05-28 09:56:30 -04:00
6c9a3243c9 Rename libeutil to libevolution-util.
To make Evolution's shared libraries more consistent.

Also rename the documentation module to evolution-util.
2013-05-28 09:56:30 -04:00
f9ffe64723 Convert EMailPart to a GObject.
EMailPart is reference-counted, subclassed, and allows a custom
finalize function.  There's no excuse for it not to use GObject.
2013-05-19 13:07:22 -04:00
c025ffbb29 Add e_mail_part_get_id(). 2013-05-19 13:07:20 -04:00
cd5a55f981 em-format cleanups. 2013-05-19 13:07:20 -04:00
95a0ae4afb Remove ECalShellSettings.
EShellSettings predates GSettings and is no longer necessary.

GSettings allows binding GObject properties to GSettings keys,
with optional mapping functions.  That fulfills the purpose of
EShellSettings.
2013-03-17 08:49:12 -04:00
4d58a800fa Use e_source_registry_list_enabled() where appropriate. 2013-03-17 08:49:11 -04:00
4fd92fa8b0 [itip-formatter] Reference a view when searching for a calendar
There were printed warnings on console, which may cause crashes, when
the meeting invitation was inside an attached message. By adding
a reference to the view it'll not disappear before the search is
done with it.
2013-03-05 15:18:29 +01:00
142f09f477 EMailPartItip: Remove redundant client cache.
EClientCache already serves this purpose.
2013-02-27 14:06:45 -05:00
d0d713e846 ItipView: Use EClientCache to obtain calendar clients. 2013-02-27 13:56:53 -05:00
927fd2f6f6 ItipView: Replace "registry" property with "client-cache".
Obtain the ESourceRegistry with e_client_cache_ref_registry().
2013-02-27 13:40:59 -05:00
1df5d3c3f9 itip-view.h cleanups. 2013-02-27 12:26:27 -05:00
1017235658 Bug #693625 - [itip-formatter] Save button insensitive for multiple events 2013-02-26 12:39:09 +01:00
3d7570426a Bug #694170 - Accepted invitation not removed from Inbox when it should 2013-02-22 15:13:24 +01:00
60d1c3054a G_PRIORITY_HIGH_IDLE is sufficient to beat GTK+ redraws.
GTK+ uses (G_PRIORITY_HIGH_IDLE + 20) for redrawing operations, which is
actually a slightly lower priority than G_PRIORITY_HIGH_IDLE.  Therefore
for our purpose, G_PRIORITY_HIGH_IDLE is sufficient.
2013-02-08 14:21:42 -05:00
9c6a7673b8 Add comments around g_idle_add() changes 2013-02-08 18:26:49 +01:00
eb9e927926 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 18:26:48 +01:00
6ba0a6a95b Revert "Bug #683867 - Schedule actions with higher idle priority"
This reverts commit 2b507716b2.

The commit contains not a single comment as to why these custom priority
values are being used.  The rationale needs to be documented in the code,
either at each call point or preferrably at a centralized priority value
definition.
2013-02-08 07:03:26 -05:00
2b507716b2 Bug #683867 - Schedule actions with higher idle priority 2013-02-08 12:37:30 +01:00
9a0b1266b5 Teach EMailExtensionRegistry to find extensions.
Restore this commit with a proper bug fix to follow.
2013-02-01 08:44:50 -05:00
763081aa86 Fix up error handling around e_book/cal_client_connect_finish(). 2013-01-30 12:45:55 -05:00
f19241d136 Use e_cal_client_connect().
Instead of e_client_utils_open_new() or e_cal_client_new().
2013-01-30 09:35:27 -05:00
57adde4be6 Revert "Teach EMailExtensionRegistry to find extensions."
This reverts commit bf30024dd7, because
it breaks EMailFormatter/Parser extensions, like the prefer-plain.
The thing is that the internal formatters/parsers (also extensions)
should be always added first, and only after then can be added extended
extensions, which are used before those internal. This constraint was not
satisfied with the reverted commit, the order of extension registration
was unpredictable, depended on GType.
2013-01-29 16:31:58 +01: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
722a27e850 Bug #692005 - Changing character encoding doesn't work 2013-01-18 18:34:56 +01:00