Commit Graph

3303 Commits

Author SHA1 Message Date
8fc3200c29 EContactEditorFullName - Do not realize the dialog in init()
That shows a runtime warning on the console, that the taskbar cannot
be set on already realized windows.
2015-03-09 15:21:55 +01:00
4fa26cad68 Bug 728788 - Runtime warnings when opening Full Name Editor 2015-03-09 15:21:55 +01:00
09124ab63d HTML events callbacks are not called
The problem is that if we call webkit_dom_event_target_add_event_listener
on the element and unref it afterwards (even when we get that element
from WebKitDOMNodeList) the callback won't be called at all.
2015-02-27 11:01:13 +01: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
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
a4f32cb3c5 Bug 733518 - Make VOICE type optional for TEL in EContact 2014-11-21 11:12:21 +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
b88a2a8eff Bug 739364 - Drop references to geoclue 2014-10-31 17:34:09 +01:00
6af2adebfa Bug 737340 - theme_text_color is no longer in gtk 3.14 2014-10-09 11:03:34 +02:00
d38e33193d Bug 319195 - Add options to simplify Contact Editor 2014-09-24 08:55:54 +02:00
3ee80c9037 Bug 736123 - Refactor contact-editor: use GtkExpander instead of custom code
This change also includes preparation for
bug 319195 - Contact dialog appallingly overcrowded
2014-09-08 11:45:33 +02:00
ef0efafe81 Fix a build break under Win32
Also build dependencies at the same directory as evolution files
and build 'master' configuration by default (it used to build 'stable'
configuration instead).
2014-09-08 08:56:22 +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
707ba27519 Use-after-free of a full name editor when closing a contact editor
The EContactEditor added a signal handler to "editor_closed" to
close also a full name editor, but it did not remove the signal
handler on full name editor's destroy, thus the callback was called
on an already freed widget, which could cause a crash.

This had been reported at:
https://bugzilla.redhat.com/show_bug.cgi?id=1128745
2014-09-02 10:16:36 +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
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
968a7477c7 Bug 732892 - Scale-down contact images in message preview
Set the maximal width and height of the contact image to 96 px. Also do
the same in the contact preview in addressbook.
2014-07-16 10:56:56 +02:00
65e0752357 Images in contact preview are not shown with webkitgtk3 2.4.x
We have to unescape the image uri when running with webkitgtk3 2.4.x
and not just in versions prior to 2.2.x
2014-07-16 10:46:43 +02:00
3c6f0c119a Remove usages of deprecated gtk_widget_ensure_style() 2014-07-10 11:12:19 +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
aaf0bd7d79 Add translator comments and contexts for texts added for bug 729963 2014-06-30 11:51:52 +02:00
4b213ded59 Bug 732180 - Excessive CPU usage due to GtkSpinner
Let's use our own spinner-like widget, which doesn't need as that
much of CPU as GtkSpinner.
2014-06-27 13:38:39 +02:00
1f6ad0e826 Bug 729963 - Consistently name EMail/Phone/IM/SIP contact fields in the UI 2014-06-26 16:06:59 +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
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
3c09377fcb Bug 729963 - Include SIP, IM and TEL while merging contacts + Allow to select GivenName, FN 2014-05-29 12:56:41 +02:00
d46ad6d3cd Bug #678843 - May re-prompt password on account re-enable 2014-05-12 19:47:16 +02:00
d164574886 EContactEditor: Make sure custom widget types are available
Make sure evolution's widget types are available before loading the .ui file.
2014-05-09 13:52:59 +02:00
c1597795c1 EContactEditor: Restore focused widget in sensitize_all()
Recent changes in commit c2de408736 introduced a regression
in preselected widget after editor open, it was 'e-mail', instead
of 'fullname' after that commit. The focus changes when the dyntable
was updating maximum allowed entries in itself.
2014-05-09 13:45:35 +02:00
c2de408736 Bug #653892 - Allow to enter more than four email addresses 2014-05-06 14:31:50 +02:00
e0e498c644 Bug #729084 - Use tel: URI instead of callto: for phone numbers
This change does a bit more, actually:
- learn the code of "tel" URI, being handler similar to "sip", "callto", "h323"
- generate tel: URIs for phone numbers, but only if the leading character of the
  phone number is a plus ("+") sign
- always remove spaces in href part in the e_text_to_html() when
  E_TEXT_TO_HTML_URL_IS_WHOLE_TEXT flag is set
2014-04-30 16:05:31 +02:00
c50cad0486 EContactEditor: IM field is focused after editor open
Due to made widget changes in fill_in_all() the focus can change
from the full name entry elsewhere. Remembering focused widget and
restoring it at the end of the function makes the editor being
opened with full name entry instead, as expected.
2014-04-29 15:50:31 +02:00
07d7cdf0a5 EContactEditor: IM service name not localized properly
The IM service names are correctly marked for translation, but
they are not localized (passed to gettext) at the place of its usage.
2014-04-29 15:14:25 +02:00
3c497e278d Bug #685323 - Provide SIP field for contacts 2014-04-29 14:49:59 +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
0d1eef0dad Bug #727967 - Undo/Redo text is not displayed in menus 2014-04-11 09:24:43 +02:00
da0cabc881 Bug #340075 - More IM contact fields 2014-04-02 11:06:59 +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
2263c3c604 Bug #724059 - Allow arbitrary number of phone entries in the contact editor 2014-03-24 16:29:31 +01:00
ec1862c149 Bug #726110 - Use gtk_drag_check_threshold() instead of hard-coded values 2014-03-24 16:22:23 +01:00
3e8d9c0842 Contact photos not always shown in a contact preview
Locally stored photos were shown as a "missing image" instead of the actual
photo for cases when the URL contained special characters which required to be
encoded in the URL. This effectively updates commit 255e052904,
to check WebKit version for the unescape, because WebKit 2.2.5 (which I currently use)
doesn't re-escape the URIs. Maybe earlier versions of the WebKit do the same.
2014-03-13 15:56:58 +01:00
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
5c60d57082 Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build
when this word is used in the code, thus replace it to 'iface',
the same way as GLib or GTK+ code use to have it. (See bug #722068.)
2014-02-26 16:15:21 +01:00
904a7b4e14 Bug #542723 - [vCard importer] Some fields get imported also into notes 2014-02-25 12:39:51 +01:00
d0b147ddb6 Add shortcuts previously defined by gtk-stock item definitions 2014-02-17 14:38:58 +01:00
b48e21d9aa Stop using deprecated gtk-stock items 2014-02-12 20:47:07 +01:00
90f956ad4a Bug #707121 - Merge contacts dialogs indefinitely expands by itself 2014-01-24 14:13:09 +01:00
29a6e2542c Bug #721577 - Contact editor - rearrange "Office" field 2014-01-23 10:18:15 +01:00