Commit Graph

253 Commits

Author SHA1 Message Date
8ea9f96f8b Prefer g_output_stream_write_all() over g_output_stream_write()
Just to make sure that all data had been written, while the later
can finish successfully without actually write all the data it was
requested to write.
2015-02-09 14:53:37 +01:00
a9f5c3685b Bug 670114 - Provide list of Mail certificates in UI
Look at Edit->Preferences->Certificates->Mail tab.
2014-12-11 15:59:06 +01:00
080e9fa33f Bug 741059 - Prompts for login PIN with CKF_PROTECTED_AUTHENTICATION_PATH
This turns out to be relatively simple to fix. Based on the patch in
http://bugzilla.mozilla.org/show_bug.cgi?id=229023
2014-12-08 14:08:20 +00:00
1b1c8ae7cd certificate-manager.c: Mark a user visible string for a translation 2014-09-22 12:58:51 +02:00
9c26a8dfa1 Bug 268592 - Allow user certificate backup 2014-09-18 08:43:37 +02:00
3c6f0c119a Remove usages of deprecated gtk_widget_ensure_style() 2014-07-10 11:12:19 +02:00
d252985f6f Bug 543572 - Display more information in a certificate selector 2014-06-30 11:44:24 +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
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
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
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
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
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
1f38d1726e Drop unused e-cert-db.c:default_nickname() function 2013-09-25 10:32:41 +02:00
be3a2bf600 Remove unused e_cert_db_export_pkcs12_file(). 2013-09-24 22:02:33 -04:00
958b80584f Remove unused e_cert_db_import_user_cert(). 2013-09-24 22:02:33 -04:00
3d7a9081a0 Remove unused e_cert_db_find_cert_by_email_address(). 2013-09-24 22:02:33 -04:00
5a09348fdb Remove unused e_cert_db_find_email_signing_cert(). 2013-09-24 22:02:33 -04:00
c5c757de1f Remove unused e_cert_db_find_email_encryption_cert(). 2013-09-24 22:02:33 -04:00
25947cc6e6 Remove unused e_cert_db_get_cert_nicknames(). 2013-09-24 22:02:33 -04:00
86bcbbe5bf Remove unused e_cert_db_find_cert_by_key(). 2013-09-24 22:02:33 -04:00
de520f496c Remove unused e_cert_db_find_cert_by_nickname(). 2013-09-24 22:02:32 -04:00
0975251096 Remove unused e_cert_trust_set_valid_server_peer(). 2013-09-24 22:02:32 -04:00
3c91dbbe16 Remove unused e_cert_trust_has_user(). 2013-09-24 22:02:32 -04:00
817b97b334 Remove unused e_cert_trust_has_ca(). 2013-09-24 22:02:32 -04:00
b40273b561 Remove unused e_cert_trust_set_user(). 2013-09-24 22:02:32 -04:00
cb3ea3a2c3 Remove unused e_cert_trust_set_trusted_peer(). 2013-09-24 22:02:32 -04:00
b8a8adcfe4 Remove unused e_cert_trust_set_trusted_ca(). 2013-09-24 22:02:32 -04:00
6554d27264 Remove unused e_cert_trust_set_trusted_server_ca(). 2013-09-24 22:02:32 -04:00
90915389f4 Remove unused e_cert_trust_copy(). 2013-09-24 22:02:32 -04:00
0401fdb3e8 Remove unused e_cert_get_issuers_chain(). 2013-09-24 16:35:47 -04:00
3d23a1a450 Remove unused e_cert_get_expires_on_time(). 2013-09-24 16:35:46 -04:00
c675d321af Remove unused e_cert_get_issued_on_time(). 2013-09-24 16:35:46 -04:00
9d7f8f9288 Remove unused e_cert_get_window_title(). 2013-09-24 16:35:46 -04:00
d8d13b3452 Remove unused EASN1Object. 2013-09-24 16:35:46 -04:00
a211742940 Use GcrCertificateWidget to view certificates.
e_cert_manager_new_certificate_viewer() now builds a simple GtkDialog
with a GcrCertificateWidget showing details about the given ECert.
2013-09-24 16:33:11 -04:00
6859bcca65 ECert: Implement GcrCertificate interface.
ECert is now a type of GcrCertificate.
2013-09-24 16:13:58 -04:00
07757bbf16 Remove unused e_cert_get_asn1_struct(). 2013-09-24 12:53:05 -04:00
3da4948c0f Miscellaneous cleanups. 2013-09-07 19:08:54 -04:00
9b44f89c94 Bug #705814 - Crash in certificate_viewer_new() 2013-08-12 09:06:55 +02:00
0985c6d801 Ask for a Smart Card password with a token name too
Some cards can have two PINs, one 'global' and one 'application'.
NSS provides which token is required, but Evolution didn't show
that information to a user.
2013-05-31 15:47:04 +02: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
da975dadf5 Replace deprecated static mutexes 2013-02-13 18:46:30 +01: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