Commit Graph

5318 Commits

Author SHA1 Message Date
92221730eb Bug 745486 - Correct translatable string typos "an task" and "an memo" 2015-03-03 18:43:41 +01:00
679d4e9e2a itip_send_comp_sync: Initialize all members of a stack allocated structure 2015-02-26 08:40:05 +01:00
96dd2a0b45 Bug 745029 - Wrong calendar used for .ics file import 2015-02-25 16:32:22 +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
dbafaffe90 Remove declaration of nonexistent e_cal_model_get_extension_name() 2015-02-19 16:40:13 +01:00
dcb042a1c6 Bug 744363 - Indefinite form used for specific objects in error messages 2015-02-12 12:47:38 +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
1a09a9017a Bug 741080 - Do not use deprecated atk functions 2015-01-05 15:24:23 +01:00
dfdcd43233 Bug 740370 - Avoid Calendar view crash with certain themes 2014-12-22 16:01:01 +01:00
04c269abea e_calendar_view_get_tooltips: Do not crash when there's no DTEND set 2014-12-09 15:51:59 +01:00
18c7e5031c cal_comp_get_instance_times: Workaround issue with no DTEND set 2014-12-09 15:50:19 +01:00
0b4bfe0459 Bug 706993 - Restart background processes after restore 2014-12-05 12:40:01 +01:00
de696bd045 Bug 740577 - Calendar Month view keyboard scroll down misplaced 2014-11-27 09:01:42 +01:00
77be22198d [Alarm-notify] Do not show "Not supported" error on an alarm dismiss 2014-11-26 12:05:15 +01:00
17f560879b Correct calendar Week/Month View event creation on double-click
Wrong parameters had been passed into the created function, causing
incorrect behaviour with event time rounding for the past times.
2014-11-13 10:47:01 +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
dbedc5b1c2 Offer only enabled accounts as meeting organizers 2014-11-11 12:10:55 +01:00
7af5d37018 Bug 676471 - Double free when sorting by date columns in calendar 2014-11-04 15:36:08 +01:00
bd529829ca cal_comp_util_compare_event_timezones: Do not ask with NULL tzid
Asking an ECalClient for a timezone with NULL tzid only produces
a runtime warning on a console.
2014-11-04 06:52:05 +01:00
5e1a4b21ee [ECalOps] ECalModel not always provided when creating a new component editor
Produced runtime warnings.
2014-10-31 18:11:05 +01:00
7bcec80942 Bug 738463 - [a11y] Fix various problems with fetching children 2014-10-20 15:25:21 +02: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
98a1b23112 Show ongoing progress of calendar views in UI
This was a remaining thing from the 'Make calendar views non-UI-blocking'
work, to show progress of views in UI. This is currently done by a spinner
beside source's name in the ESourceSelector and a tooltip above that row.
2014-10-15 14:13:05 +02:00
3c9cfbf5cf [Alarm Notify] Avoid UI freeze on an alarm dismiss
There was called a synchronous version of the ECalClient function
in the main thread, which caused the UI freeze when the backend
(or calendar factory) had been busy with something. This was fine
some time ago, when this function was invoked in a dedicated thread,
but that's not a case for some time. Using async version of the function
avoids the UI freeze.
2014-10-10 15:23:48 +02:00
6af2adebfa Bug 737340 - theme_text_color is no longer in gtk 3.14 2014-10-09 11:03:34 +02:00
e6810c9b04 Fix various memory leaks and invalid memory usages 2014-10-07 07:27:35 +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
1dc1cf0b81 Miscellaneous Win32 related changes
* use e_util_win32_initialize() in main() to avoid code duplication
 * e-spinner - correct image path build under win32
 * export WIN32_SERVICELIBEXECDIR when building eds, which relies on it now
 * update D-Bus patch and session-local.conf creation, thus D-Bus
   can actually autostart services
2014-09-05 19:13:56 +02:00
959d8034aa Bug 733917 - Critical warning when hiding the tooltip above the event 2014-07-31 17:25:22 +02:00
8d2e1340cf e_day_view_show_popup_menu: Avoid runtime warning from tooltip_get_view_event
The e_day_view_show_popup_menu() can be called with event_num = -1,
which is when the mouse doesn't hover above any event. The function
tooltip_get_view_event() claims a runtime warning in this case, thus
avoid it by properly testing the passed-in value.
2014-07-21 15:53:32 +02:00
fc55dedaf1 Always use selected color for selected region in EDayView
It used focused or unfocused selected color, but the EDayView itself
is not focused at all, it's main_item->parent.canvas instead. Instead
of trying to hunt for this (and updates when the focused widget changes)
just use the same selected color unconditionally, just the way the other
views do it.
2014-07-21 15:45:48 +02:00
bcc3a1c7e6 Add missing chain-up-s to parent's constructed() method
Plus a little code cleanup for easier grepping.
2014-07-17 12:46:38 +02:00
1690e6760f Correct draw of all-day events in a day/work-week view
I overlooked an issue when replacing GtkStyle with GtkStyleContext
in this part, the all-day events were drawn always black, instead
of with the background color of their calendar.
2014-07-10 17:39:56 +02:00
3c6f0c119a Remove usages of deprecated gtk_widget_ensure_style() 2014-07-10 11:12:19 +02:00
c082d6b81b Bug 732541 - Small calendar print doesn't follow week-start-day option 2014-07-08 19:04:56 +02:00
50bda1bad2 Replace GtkStyle usages with GtkStyleContext
This makes evolution depend on theme-defined named colors, namely:
   theme_bg_color
   theme_base_color
   theme_fg_color
   theme_text_color
   theme_selected_bg_color
   theme_selected_fg_color
   theme_unfocused_selected_bg_color
   theme_unfocused_selected_fg_color
If it's not defined, then a fallback color is used, in the worse case
one of the fallbacks defined in evolution itself.
2014-07-07 12:51:41 +02:00
6765ed10ff Bug 607753 - Appointment tooltip sometimes 'stick' to screen 2014-06-25 10:16:17 +02:00
45271d47fc Bug 731590 - Crash on calendar Copy 2014-06-17 16:19:17 +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
d6dcec1b55 Bug 731321 - Missing custom types when loading .ui definition 2014-06-06 12:02:13 +02:00
6e9e7b0676 Ignore false GSettings key change notifications
Similar to GObject::notify, the GSettings::changed can be emitted
even if a key didn't change. It's up to the user (aka evolution)
to test for real changes, thus let's do it. It may have certain
performance positive impact too.
2014-06-05 16:59:29 +02:00
2e71c86143 Properly disconnect signal handlers added with e_signal_connect_notify*()
This is a follow-up for the previous commit, where e_signal_connect_notify*()
functions had been added. Due to a different callback and user data being
attached to the 'notify' signal, the g_signal_handlers_*() functions do not
work properly, thus these e_signal_connect_notify*() functions need
a different way for a signal handler disconnect.

A side-change was done in e-settings-web-view-gtkhtml.c, checking for a real
key change from GSettings.
2014-06-05 11:47:13 +02:00
2f3fbdd6c6 Ignore false GObject property change notifications
This is related to bug 698275, which did not cover all cases.
The problem here is that the dconf can in certain situation claim
that everything changed (path "/" changed), which GSettingsBinding
propagates to a GObject property unconditionally and GObject's
property setter (g_object_set_property()) also notifies about
the property change unconditionally, despite the real descendant
property setter properly checks for the value change. After all
these false notifications a callback on "notify" signal is called
and possibly an expensive operation is run.

Checking whether the value really changed helps in performance, for
which were added new e-util functions:
   e_signal_connect_notify()
   e_signal_connect_notify_after()
   e_signal_connect_notify_swapped()
   e_signal_connect_notify_object()
which have the same prototype as their GLib counterparts, but they allow
only "notify::..." signals and they test whether the value really changed
before they call the registered callback.
2014-06-04 19:46:25 +02:00
b3819be9f7 Bug #730199 - [MessageList] Support dates with value larger than 2^32 2014-05-23 18:57:12 +02:00
8c7d7ac744 Runtime criticals when closing an appointment editor with reminders
There were printed two runtime warnings on close of an appointment
editor when the appointment had filled any reminder. It was a side
effect of a recent leak fix in an EAlarmList. The criticals were not
critical, a NULL pointer had been used on a place where it should not.
2014-05-23 14:51:05 +02:00
d46ad6d3cd Bug #678843 - May re-prompt password on account re-enable 2014-05-12 19:47:16 +02:00
43a4b38f4a Fix regressions after commit fdde333961
The commit fixed few memory leaks, but also caused several crashes
due to those changes, thus this fixes the introduces issues.
2014-04-28 15:51:37 +02:00
fdde333961 Fix various memory leaks 2014-04-24 18:59:16 +02:00
0d1eef0dad Bug #727967 - Undo/Redo text is not displayed in menus 2014-04-11 09:24:43 +02:00