Commit Graph

148 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
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
9c26a8dfa1 Bug 268592 - Allow user certificate backup 2014-09-18 08:43:37 +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
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
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
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
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
b1ed35f70d Coding style and whitespace cleanup. 2013-01-10 11:20:32 -05:00
6faf671382 e-passwords: Remove unused function parameters. 2012-12-16 17:03:54 -05:00
bed06d9ec3 Move the contact map widgets to addressbook/gui/widgets.
Move the supporting widgets for the contact maps feature alongside
EABContactDisplay.  Removing them from libeutil helps isolate our usage
of libchamplain so it's not imposed on the entire application, and even
3rd party software.  That libchamplain is an optional dependency only
further complicates the matter.

Ideally I'd like to somehow isolate this feature in an extension module,
but we currently lack sufficient hooks for such an extension.  So this
arrangement will have to suffice for now.
2012-12-12 14:33:47 -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
8a1eb1f24e Use the same certificate-viewer as the trust-prompt from eds
This way it'll be possible to copy whole files if change in one
of them will be done. A real code reuse, rather than copy, would be
ideal, but the trust-prompt is just a module for evolution-user-prompter.
2012-12-11 19:48:07 +01: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
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
1600064022 Bug #591436 - Add -avoid-version to LDFLAGS 2012-02-15 11:22:21 +01:00
61ae36351b Introduce libemail-engine and libemail-utils.
These libraries are bound for E-D-S so they live at the lowest layer of
Evolution for now -- even libeutil can link to them (but please don't).

This is the first step toward moving mail handing to a D-Bus service.
2012-01-18 23:48:47 -05:00
1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -04:00
5ddad03992 Remove Ctrl + l ( ) character from source files
From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Wed, 28 Sep 2011 10:18:18 +0200
Subject: [PATCH] Remove Ctrl + l () character from source files

The following commits

        git show aac3f2c8
        git show 1510304c
        git show 13cabd9e
        git show 350a7a33
        git show 9b7cc54d
        git show e6972011
        git show 1d3a7938
        git show 934524b9
        git show b2954936
        git show a7f677b5
        git show 4369c400
        git show d509f47a
        git show a6d5818f
        git show c3876df7
        git show 4583098b
        git show 2831ada5
        git show 4e1bce59
        git show 1609f699
        git show 4e4c1676
        git show d6fade43

among others(?) introduced several occurrences of Ctrl + l (). Probably this was caused by the used editor.

These control characters can be searched for using the following command [1].

	$ git grep ^L

[1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
2011-09-29 21:12:10 +02:00
e2b6ff7a6c Miscellaneous cleanups from the account-mgmt branch.
Reducing diff noise so I can see important changes easier when comparing
branches.  A few API changes, but nothing that affects functionality.
2011-09-27 09:31:13 -04:00