platform/upstream/evolution-data-server.git
11 years agoRemove unused LIBSOUP_REQUIRED definition.
Matthew Barnes [Fri, 4 Jan 2013 16:28:40 +0000 (11:28 -0500)]
Remove unused LIBSOUP_REQUIRED definition.

11 years agoUse version-based libsoup warnings.
Matthew Barnes [Fri, 4 Jan 2013 16:22:30 +0000 (11:22 -0500)]
Use version-based libsoup warnings.

Apparently libsoup IS already using versioned deprecations.  Excellent!

Use SOUP_VERSION_MAX_ALLOWED to warn if we accidentally use symbols that
were introduced in libsoup versions subsequent to our minimum requirement.

Use SOUP_VERSION_MIN_REQUIRED to suppress libsoup deprecation warnings by
version so we can clean them up incrementally.

11 years agoBug 691033 - Avoid using LIBSOUP_DISABLE_DEPRECATED
Hashem Nasarat [Wed, 2 Jan 2013 20:54:11 +0000 (15:54 -0500)]
Bug 691033 - Avoid using LIBSOUP_DISABLE_DEPRECATED

Prevent E-D-S builds from suddenly breaking because of new deprecations
in libsoup.  Case in point: soup_session_sync_new().

If libsoup starts using versioned deprecations like glib and gtk+ are
already doing, then we can disable libsoup symbols that were deprecated
in versions older than our minimum requirement.  That would allow us to
clean up deprecations gradually rather than dealing with bugs like this.

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 2 Jan 2013 11:51:05 +0000 (17:21 +0530)]
Assamese translation updated

11 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 31 Dec 2012 19:53:54 +0000 (20:53 +0100)]
Updated POTFILES.in

11 years agogoogle: Add EGDataOAuth2Authorizer.
Matthew Barnes [Mon, 31 Dec 2012 03:12:19 +0000 (22:12 -0500)]
google: Add EGDataOAuth2Authorizer.

This will eventually replace EGDataGoaAuthorizer once we require
GNOME Online Accounts 3.8.  It obtains an OAuth 2.0 access token
using e_source_get_oauth2_access_token_sync() and avoid a direct
dependency on GNOME Online Accounts (or similar frameworks).

E-D-S 3.8 will still support older versions of GNOME Online Accounts,
which use OAuth 1.0a for Google authentication.  So the earliest that
EGDataGoaAuthorizer will die is E-D-S 3.9.1.

11 years agogoogle-backend: Populate [Authentication] group for contacts.
Matthew Barnes [Sat, 29 Dec 2012 17:42:24 +0000 (12:42 -0500)]
google-backend: Populate [Authentication] group for contacts.

Set the Host to "www.google.com" and Method to either "OAuth2" or
"ClientLogin", depending on whether EOAuth2Support is available.

A temporary corner case occurs when using an older GNOME Online Accounts
version, which uses OAuth 1.0a instead of 2.0 for Google authentication.
In that case, the Method will say "ClientLogin" but the Google address
book backend will ignore it and use its EGDataGoaAuthorizer.

11 years agognome-online-accounts: Implement EOAuth2Support interface.
Matthew Barnes [Sat, 29 Dec 2012 00:45:04 +0000 (19:45 -0500)]
gnome-online-accounts: Implement EOAuth2Support interface.

11 years agocollection_backend_child_added: Inherit OAuth 2.0 support.
Matthew Barnes [Sat, 29 Dec 2012 14:42:08 +0000 (09:42 -0500)]
collection_backend_child_added: Inherit OAuth 2.0 support.

Collection children will inherit the collection source's EOAuth2Support
object if set.  That way OAuth 2.0 availability is consistent across the
entire collection, even if it's not USED by all sources in the collection.

11 years agoEServerSideSource: Add "oauth2-support" property.
Matthew Barnes [Sat, 29 Dec 2012 14:01:03 +0000 (09:01 -0500)]
EServerSideSource: Add "oauth2-support" property.

This is the object providing OAuth 2.0 support by implementing the
EOAuth2Support interface.  Setting this property to a non-NULL value
automatically exports the OAuth2Support D-Bus interface.

New functions:

    e_server_side_source_ref_oauth2_support()
    e_server_side_source_set_oauth2_support()

11 years agolibebackend: Add EOAuth2Support interface.
Matthew Barnes [Fri, 28 Dec 2012 23:21:30 +0000 (18:21 -0500)]
libebackend: Add EOAuth2Support interface.

Standard server-side interface to be implemented by E-D-S modules
providing OAuth 2.0 support for ESources.

11 years agoESource: Add get_oauth2_access_token_sync() class method.
Matthew Barnes [Fri, 28 Dec 2012 16:56:08 +0000 (11:56 -0500)]
ESource: Add get_oauth2_access_token_sync() class method.

Obtains an access token and its expiry in seconds for data sources that
support OAuth 2.0.

This also adds corresponding asynchronous class methods.

New functions:

    e_source_get_oauth2_access_token_sync()
    e_source_get_oauth2_access_token()
    e_source_get_oauth2_access_token_finish()

11 years agoAdd OAuth2Support D-Bus interface.
Matthew Barnes [Fri, 28 Dec 2012 13:37:39 +0000 (08:37 -0500)]
Add OAuth2Support D-Bus interface.

Backends will be able to obtain OAuth 2.0 access tokens through this
interface instead of talking directly to an "online accounts" service.

11 years agoAdd e_source_registry_server_find_extension().
Matthew Barnes [Mon, 31 Dec 2012 14:02:00 +0000 (09:02 -0500)]
Add e_source_registry_server_find_extension().

Server-side equivalent of e_source_registry_find_extension().

Use it in e_source_registry_server_ref_backend().

11 years agoe-source-registry.c: Minor code reordering.
Matthew Barnes [Mon, 31 Dec 2012 13:50:30 +0000 (08:50 -0500)]
e-source-registry.c: Minor code reordering.

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 31 Dec 2012 11:17:57 +0000 (12:17 +0100)]
Updated Spanish translation

11 years agoUpdated Brazilian Portuguese Translation based on branch gnome-3-6
Rafael Ferreira [Thu, 27 Dec 2012 01:38:37 +0000 (23:38 -0200)]
Updated Brazilian Portuguese Translation based on branch gnome-3-6

11 years agoFix typo in libedataserver API docs.
Matthew Barnes [Fri, 28 Dec 2012 14:01:49 +0000 (09:01 -0500)]
Fix typo in libedataserver API docs.

11 years agoFurther API doc cleanups.
Matthew Barnes [Thu, 27 Dec 2012 15:14:51 +0000 (10:14 -0500)]
Further API doc cleanups.

11 years agoprivate: Fix cross-references to D-Bus interfaces in API docs.
Matthew Barnes [Thu, 27 Dec 2012 14:52:54 +0000 (09:52 -0500)]
private: Fix cross-references to D-Bus interfaces in API docs.

11 years agoprivate: Add generated DocBook files to BUILT_SOURCES.
Matthew Barnes [Thu, 27 Dec 2012 14:09:32 +0000 (09:09 -0500)]
private: Add generated DocBook files to BUILT_SOURCES.

11 years agoprivate: Reduce the number of sections in API docs.
Matthew Barnes [Thu, 27 Dec 2012 13:19:33 +0000 (08:19 -0500)]
private: Reduce the number of sections in API docs.

Combine the interface, proxy, and skeleton APIs for each D-Bus
interface into one Gtk-Doc section.  GNOME Online Accounts does this
and it's cleaner and easier to navigate from the Table of Contents.

11 years agoAssamese translation updated
Nilamdyuti Goswami [Thu, 27 Dec 2012 15:30:32 +0000 (21:00 +0530)]
Assamese translation updated

11 years agoUpdate Galician translations
Fran Diéguez [Mon, 24 Dec 2012 23:01:07 +0000 (00:01 +0100)]
Update Galician translations

11 years agoUpdated Galician translations
Fran Diéguez [Mon, 24 Dec 2012 22:59:15 +0000 (23:59 +0100)]
Updated Galician translations

11 years agoUpdated Greek translation
Dimitris Spingos [Mon, 24 Dec 2012 15:01:07 +0000 (17:01 +0200)]
Updated Greek translation

11 years agoBug 665371 - Decommission legacy IMAP backend
Matthew Barnes [Mon, 24 Dec 2012 13:48:52 +0000 (08:48 -0500)]
Bug 665371 - Decommission legacy IMAP backend

"IMAPX" is now our one and only IMAP backend for Camel.  \o/

11 years agoAdd automatic IMAP to IMAPX account migration.
Matthew Barnes [Mon, 24 Dec 2012 13:43:53 +0000 (08:43 -0500)]
Add automatic IMAP to IMAPX account migration.

Uses the new "tweak-key-file" ESourceRegistryServer signal.

11 years agoFix some file header comments.
Matthew Barnes [Mon, 24 Dec 2012 05:19:20 +0000 (00:19 -0500)]
Fix some file header comments.

11 years agoESourceRegistryServer: Add a "tweak-key-file" signal.
Matthew Barnes [Mon, 24 Dec 2012 04:37:25 +0000 (23:37 -0500)]
ESourceRegistryServer: Add a "tweak-key-file" signal.

This signal is emitted from e_source_registry_server_load_file() just
prior to instantiating an EServerSideSource.  Signal handlers can tweak
the GKeyFile content as necessary and return TRUE to write the modified
content back to disk.

For the purposes of tweaking, it's easier to deal with a plain GKeyFile
than an ESource instance.  An ESource, for example, does not allow key
file groups to be removed.

The return value is cumulative.  If any signal handler returns TRUE,
the GKeyFile content is written back to disk.

Unfortunately this breaks the libebackend ABI because I forgot to add a
pool of reserved pointers to the ESourceRegistryServerClass.  Do so now,
since we have the opportunity.

11 years agoIMAPX: Avoid duplicating messages in real Junk or Trash.
Matthew Barnes [Mon, 24 Dec 2012 12:37:42 +0000 (07:37 -0500)]
IMAPX: Avoid duplicating messages in real Junk or Trash.

This is more a problem with Junk, but fixing both to keep the logic
consistent.  When synchronizing a real Junk folder, we were copying
all messages marked as "junk" from Junk to Junk -- duplicating them
each time.  After running for a couple days I caught my Junk folder
with thousands of duplicate messages.

11 years agoIMAPX: Ask server to handle "body-contains" searches.
Matthew Barnes [Sat, 22 Dec 2012 14:22:40 +0000 (09:22 -0500)]
IMAPX: Ask server to handle "body-contains" searches.

This isn't as sophisticated/convoluted as the version in the older IMAP
backend, but it still beats downloading the entire message as we've been
doing.  There's no caching of past search results.  I'm not convinced the
performance gain is worth the extra complexity.  If I'm wrong or I change
my mind, search result caching can always be added later.

11 years agoRevert "Fix build"
Matthew Barnes [Sun, 23 Dec 2012 21:34:38 +0000 (16:34 -0500)]
Revert "Fix build"

This reverts commit 6a243777a56279325847323342492769ce942cf3.

This is wrong.  The bus name is not the same as the object path.

11 years agoFix build
Dan Vrátil [Sun, 23 Dec 2012 21:03:30 +0000 (22:03 +0100)]
Fix build

11 years agoCamelIMAPXJob: Protect the CamelFolder.
Matthew Barnes [Sun, 23 Dec 2012 15:54:04 +0000 (10:54 -0500)]
CamelIMAPXJob: Protect the CamelFolder.

Move the CamelFolder pointer to CamelIMAPXJob's private section to
ensure thread-safety and consistent reference counting.

Had a crash just now in camel_imapx_server_get_job_queue_info() due to
a dangling CamelFolder pointer.  Further investigation found that some
methods assign "job->folder" a new reference (but in some cases never
unref it!) and other methods just do a straight assignment.

Technically this is an API/ABI break, but not bumping Camel's soname
because it does not affect evolution-kolab, the only known 3rd party
consumer of IMAPX APIs.

11 years agoCamelFolder: Make string properties thread-safe.
Matthew Barnes [Sun, 23 Dec 2012 15:08:40 +0000 (10:08 -0500)]
CamelFolder: Make string properties thread-safe.

Use an internal mutex to guard the strings, and add thread-safe accessor
functions:

   camel_folder_dup_full_name()
   camel_folder_dup_display_name()
   camel_folder_dup_description()

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 23 Dec 2012 11:19:46 +0000 (12:19 +0100)]
Updated Norwegian bokmål translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 19 Dec 2012 13:26:06 +0000 (14:26 +0100)]
Updated Norwegian bokmål translation

11 years agoUpdate the MAINTAINERS file.
Matthew Barnes [Sun, 23 Dec 2012 05:06:05 +0000 (00:06 -0500)]
Update the MAINTAINERS file.

11 years agoBug 689124 - Increase Camel's TCP read/write timeout
Matthew Barnes [Sat, 22 Dec 2012 19:12:02 +0000 (14:12 -0500)]
Bug 689124 - Increase Camel's TCP read/write timeout

This is a partial revert of the hack for bug 551788, which decreased the
TCP read/write timeout from 4 minutes to 1 minute.

This causes IMAP IDLE connections to timeout prematurely if the server
sends untagged keep-alive messages at an interval greater than 1 minute.

Dovecot's "imap_idle_notify_interval" setting defaults to 2 minutes.

Reset the TCP read/write timeout back to 4 minutes.

11 years agoGah, screwed up the CamelFolderSearchFlags values.
Matthew Barnes [Sat, 22 Dec 2012 16:50:53 +0000 (11:50 -0500)]
Gah, screwed up the CamelFolderSearchFlags values.

11 years agoDeprecate camel_folder_search_construct().
Matthew Barnes [Sat, 22 Dec 2012 16:36:44 +0000 (11:36 -0500)]
Deprecate camel_folder_search_construct().

Register callbacks with CamelSExp from the constructed() method.

11 years agocamel-search-private cleanups.
Matthew Barnes [Sat, 22 Dec 2012 14:08:50 +0000 (09:08 -0500)]
camel-search-private cleanups.

11 years agoimapx_get_filename() should be static.
Matthew Barnes [Wed, 19 Dec 2012 18:34:27 +0000 (13:34 -0500)]
imapx_get_filename() should be static.

No idea why this function was made public.  It's just a class method
implementation and can be invoked through camel_folder_get_filename().

Not going to bump the libcamel soname over this.  Nothing external is
using it.

11 years agoCamelFolderSearch cleanups.
Matthew Barnes [Wed, 19 Dec 2012 18:27:11 +0000 (13:27 -0500)]
CamelFolderSearch cleanups.

11 years agoCamelIMAPXFolder: Fix compiler warnings.
Matthew Barnes [Wed, 19 Dec 2012 17:47:24 +0000 (12:47 -0500)]
CamelIMAPXFolder: Fix compiler warnings.

11 years agoIMAPX: Don't recheck flags before moving to real Junk/Trash.
Matthew Barnes [Wed, 19 Dec 2012 16:14:51 +0000 (11:14 -0500)]
IMAPX: Don't recheck flags before moving to real Junk/Trash.

Out of paranoia, I made imapx_folder_claim_move_to_real_trash_uids()
recheck that the queued message UIDs still had a DELETED flag before
moving them to a real Trash folder.  That turned out to be breaking
things because we _remove_ the DELETED flag when synchronizing, so
it's not going to still be set when we're ready to move messages.

Remove the uncertainty and rename public functions to reflect this:

  - camel_imapx_folder_maybe_move_to_real_junk()
  + camel_imapx_folder_add_move_to_real_junk()

  - camel_imapx_folder_maybe_move_to_real_trash()
  + camel_imapx_folder_add_move_to_real_trash()

11 years agoIMAPX: Fix DELETED flag sync when using real Trash folder.
Matthew Barnes [Wed, 19 Dec 2012 15:27:03 +0000 (10:27 -0500)]
IMAPX: Fix DELETED flag sync when using real Trash folder.

After copying messages to a real Trash folder and then tagging them for
deletion, we immediately expunge.  Now the IMAPX expunge operation first
synchronizes message flags with the server, which is sensible.  But when
using a real Trash folder, this extra sync was causing deleted messages
to keep coming back from the grave like zombies.

The problem was when using a real Trash folder, the internal operation
that synchronizes flags first clears any DELETED flags.  Normally that's
what we want, except when we're about to expunge since expunging depends
on those DELETED flags.  So make an exception for this case.

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 19 Dec 2012 12:26:16 +0000 (13:26 +0100)]
Updated Spanish translation

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 19 Dec 2012 07:33:58 +0000 (13:03 +0530)]
Assamese translation updated

11 years agotest-server-utils: Don't rely on command line parsing for "rm -rf"
Mathias Hasselmann [Wed, 19 Dec 2012 00:41:59 +0000 (01:41 +0100)]
test-server-utils: Don't rely on command line parsing for "rm -rf"

Let's be nice to people with spaces in their path names.

11 years agoIMAPX: Support non-virtual Junk/Trash folders.
Matthew Barnes [Mon, 17 Dec 2012 16:14:44 +0000 (11:14 -0500)]
IMAPX: Support non-virtual Junk/Trash folders.

Some webmail clients designate specific IMAP folders as Junk and Trash,
such that when a message is deleted or determined to be spam, a copy of
the message is appended to the designated folder, the original message
is flagged as DELETED and the folder containing the original message is
immediately expunged.

This is significantly more expensive than simply flagging the message as
DELETED or JUNK.  But users that access their mail by both Evolution and
webmail frequently complain of seeing what appear to be duplicate Junk
and Trash folders in Evolution [1].

This commit allows IMAPX stores to be configured to mimic these webmail
clients and hide their Junk and Trash virtual folders.  IMAPX will mimic
the "copy-and-expunge" webmail client behavior each time it's commanded
to synchronize message flags with the server.

[1] So much so that it earned its own page in the user manual:
http://library.gnome.org/users/evolution/stable/mail-two-trash-folders.html.en

11 years agolibecal: Move EDataCalCallStatus back to libedata-cal.
Matthew Barnes [Sun, 16 Dec 2012 16:43:01 +0000 (11:43 -0500)]
libecal: Move EDataCalCallStatus back to libedata-cal.

I'm encountering a build break in Evolution on an older environment.

It goes something like this...

   /* In X11/X.h */
   #define Success 0

   /* In libecal/e-cal-types.h */
   typedef enum { Success, ... } EDataCalCallStatus;

After pre-processing, the compiler gets

   typedef enum { 0, ... } EDataCalCallStatus;

which of course is a syntax error.

It's our own fault for violating our own namespace.  The enum definition
was moved from libedata-cal to libecal fairly recently (by me) to resolve
a circular dependency, but it appears libecal does not really require the
enum values.  Move the typedef back to libedata-cal as a quick Band-Aid.

The EDataCalCallStatus enum is redundant anyway and I plan to remove it.
Equivalent error values are provided by EClientError and ECalClientError,
and calendar backends should be using them directly.  There's no need for
separate but equal client and server-side error value definitions.

This is technically an API break, but I'm not going to bump the libecal
soname over this.  The enum definition is clearly intended for backends,
and because it was moved to libecal only recently, I'm fairly certain no
client applications are using it.

11 years agoCamelIMAPXFolder cleanups.
Matthew Barnes [Tue, 18 Dec 2012 12:42:52 +0000 (07:42 -0500)]
CamelIMAPXFolder cleanups.

11 years agoRemoving LIBEDATASERVERUI_CURRENT/REVISION/AGE definitions
Tristan Van Berkom [Mon, 17 Dec 2012 10:29:10 +0000 (19:29 +0900)]
Removing LIBEDATASERVERUI_CURRENT/REVISION/AGE definitions

These definitions in configure.ac are now meaningless since
the removal of libedataserverui (just a cleanup).

11 years agoPost-release version bump.
Matthew Barnes [Sun, 16 Dec 2012 14:40:07 +0000 (09:40 -0500)]
Post-release version bump.

11 years agoNEWS update for 3.7.3 release.
Matthew Barnes [Sun, 16 Dec 2012 14:07:03 +0000 (09:07 -0500)]
NEWS update for 3.7.3 release.

11 years agoFix untracked files in test-server-utils.
Matthew Barnes [Sat, 15 Dec 2012 16:19:35 +0000 (11:19 -0500)]
Fix untracked files in test-server-utils.

11 years agoDeprecate E_AUTHENTICATION_SESSION_KEYRING_ERROR.
Matthew Barnes [Sat, 15 Dec 2012 15:36:04 +0000 (10:36 -0500)]
Deprecate E_AUTHENTICATION_SESSION_KEYRING_ERROR.

11 years agoSuppress g-ir-scanner warnings.
Matthew Barnes [Sat, 15 Dec 2012 13:37:38 +0000 (08:37 -0500)]
Suppress g-ir-scanner warnings.

They're far too noisy, and make it difficult to spot new C compiler
warnings, which are the only ones I care about.  We can enable them
again when we're serious about cleaning them up.  In the meantime,
they're just getting in the way.

11 years agoRevert "ESourceRegistry: Do not mandate builtin sources."
Matthew Barnes [Sat, 15 Dec 2012 12:42:14 +0000 (07:42 -0500)]
Revert "ESourceRegistry: Do not mandate builtin sources."

This reverts commit 78340f9274d5c2ee0f52507f935f97d6b92f513e.

This violates a key invariant of the get_default() and especially
get_builtin() functions: that they never return NULL.

11 years agoPorted ECalClient tests to use ETestServerFixture framework
Tristan Van Berkom [Thu, 13 Dec 2012 13:22:19 +0000 (22:22 +0900)]
Ported ECalClient tests to use ETestServerFixture framework

Now the majority of ECalClient tests use the fixture, some tests
have been moved out of the unit test targets instead and remain
as functional tests (to be run manually)

11 years agoPorted ECal tests to new test framework
Tristan Van Berkom [Thu, 13 Dec 2012 09:55:19 +0000 (18:55 +0900)]
Ported ECal tests to new test framework

NOTES:
  o Removed test-ecal-open, thats tests by the test fixture of the framework
  o Some tests fail because verification of created cal objects is broken
  o Some tests moved from the unit test suite because they dont make
    sense as unit tests (or are more difficult to port), those tests
    can still be run with a running/installed data server.

11 years agoPorted all tests in tests/ebook/client to use new test framework
Tristan Van Berkom [Wed, 12 Dec 2012 10:35:59 +0000 (19:35 +0900)]
Ported all tests in tests/ebook/client to use new test framework

'make check' now passes in ebook except for a few cases which geniunely fail.

Conflicts:

tests/libebook/client/Makefile.am
tests/libebook/client/test-client-custom-summary.c

11 years agoPorted EBook (deprecated) test cases to use the new test-server-utils scaffold.
Tristan Van Berkom [Wed, 12 Dec 2012 07:34:32 +0000 (16:34 +0900)]
Ported EBook (deprecated) test cases to use the new test-server-utils scaffold.

Note that test-ebook-remove is removed, this is executed in every test case
implicitly and asserted by the test scaffold

11 years agoAdding test-server-utils
Tristan Van Berkom [Tue, 11 Dec 2012 09:22:49 +0000 (18:22 +0900)]
Adding test-server-utils

A library with text fixtures for testing ESourceRegistry, EBookClient and
ECalClient in a self contained fashion.

11 years agoESourceRegistry: Do not mandate builtin sources.
Tristan Van Berkom [Thu, 13 Dec 2012 07:14:19 +0000 (16:14 +0900)]
ESourceRegistry: Do not mandate builtin sources.

This patch removes return_if_fail() critical warnings from
e_source_registry_ref_[default,builtin]_address_book() and
e_source_registry_ref_[default,builtin]_calendar(). This
avoids the console warnings when running make check.

Also, this patch fixes several locations in EDS where the
above functions blindly expect an #ESource to be returned.

11 years agoAdded EDS_ADDRESS_BOOK_MODULES and EDS_CALENDAR_MODULES
Tristan Van Berkom [Thu, 13 Dec 2012 06:46:45 +0000 (15:46 +0900)]
Added EDS_ADDRESS_BOOK_MODULES and EDS_CALENDAR_MODULES

Allows specification of alternative paths to search for modules
for addressbook and calendar. Note that these *replace* the default
system path, not augment it. This is intended to ensure that we
dont load installed modules from the system when running test cases.

11 years agoRemoving e-source-registry-test.c and e-test-dbus-utils.[ch]
Tristan Van Berkom [Wed, 12 Dec 2012 05:23:30 +0000 (14:23 +0900)]
Removing e-source-registry-test.c and e-test-dbus-utils.[ch]

The source registry test checks if sources can be created in the
registry, this is already asserted by e-test-server-utils in
the fixture test. Removing the e-test-dbus-utils.[ch] and
tests/tools directory in favour of new testing framework added in
test-server-utils directory.

11 years agoIntroduce cancellable locks
Milan Crha [Fri, 14 Dec 2012 16:42:41 +0000 (17:42 +0100)]
Introduce cancellable locks

There are currently two cancellable lock types, one extends GMutex,
the other extends GRecMutex, in a way that the waiting for a lock
can be cancelled.

11 years agoIntroduce CamelSession::trust_prompt()
Milan Crha [Fri, 14 Dec 2012 14:25:55 +0000 (15:25 +0100)]
Introduce CamelSession::trust_prompt()

This way a trust-prompt dialog from EUserPrompter service can be used
with all its features and a view consistency between components.

11 years agoBisect Gtk+ calls into separate files
Milan Crha [Thu, 13 Dec 2012 10:46:28 +0000 (11:46 +0100)]
Bisect Gtk+ calls into separate files

This way it'll be easier to provide other
than Gtk+ GUI implementations of the prompts.

11 years agoWorkaround file description leak from e_source_registry_authenticate_sync()
Milan Crha [Wed, 12 Dec 2012 22:27:28 +0000 (23:27 +0100)]
Workaround file description leak from e_source_registry_authenticate_sync()

This workarounds a file descriptor leak (a GMainContext leak) partly
caused by GDBusConnection. See bug #690126 for more details:
https://bugzilla.gnome.org/show_bug.cgi?id=690126

It influeces also EUserPrompter.

11 years agoUpdated POTFILES.in
Piotr Drąg [Wed, 12 Dec 2012 21:19:36 +0000 (22:19 +0100)]
Updated POTFILES.in

11 years agoRemove libedataserverui.
Matthew Barnes [Mon, 10 Dec 2012 13:19:32 +0000 (08:19 -0500)]
Remove libedataserverui.

Evolution is the only consumer of libedataserverui.  The library has
been merged into Evolution's own libeutil which is not restrained by
backward-compatibility promises.

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 12 Dec 2012 09:25:32 +0000 (14:55 +0530)]
Assamese translation updated

11 years agolibebook-contacts: Document EBookQueryTest
Mathias Hasselmann [Fri, 7 Dec 2012 12:37:50 +0000 (13:37 +0100)]
libebook-contacts: Document EBookQueryTest

11 years agotests: Add a few missing license headers
Mathias Hasselmann [Tue, 11 Dec 2012 09:50:49 +0000 (10:50 +0100)]
tests: Add a few missing license headers

11 years ago[trust-prompt] Add certificate viewer and "issuer*" parameters
Milan Crha [Tue, 11 Dec 2012 17:38:49 +0000 (18:38 +0100)]
[trust-prompt] Add certificate viewer and "issuer*" parameters

11 years agoMake ENamedParameters a fully boxed type
Colin Walters [Mon, 10 Dec 2012 18:42:11 +0000 (13:42 -0500)]
Make ENamedParameters a fully boxed type

Introspection doesn't handle well typedefs as a general rule, but
typedefs for container types are particularly problematic.  This ends
up breaking the vala build, but the resulting .gir is also unusable by
bindings.

In this case, I think it's actually cleanest to make ENamedParameters
a fully opaque type even to C.  The parts of the Evolution code that
were peeking inside ENamedParameters really wanted a helper function
anyways to create a gchar **.

Therefore, this is a net code cleanup.

https://bugzilla.gnome.org/show_bug.cgi?id=689871

11 years agoBug #579315 - Identify filter names in filtering errors
Milan Crha [Mon, 10 Dec 2012 13:48:27 +0000 (14:48 +0100)]
Bug #579315 - Identify filter names in filtering errors

11 years agoAssamese translation updated
Nilamdyuti Goswami [Mon, 10 Dec 2012 11:40:20 +0000 (17:10 +0530)]
Assamese translation updated

11 years agoe-contact.h cleanups.
Matthew Barnes [Sun, 9 Dec 2012 16:53:24 +0000 (11:53 -0500)]
e-contact.h cleanups.

11 years agoUpdate API documentation.
Matthew Barnes [Sun, 9 Dec 2012 15:50:45 +0000 (10:50 -0500)]
Update API documentation.

11 years agoUpdated Tamil translation
Dr.T.Vasudevan [Sun, 9 Dec 2012 13:57:07 +0000 (19:27 +0530)]
Updated Tamil translation

11 years agoRemove introspection of libecal.
Matthew Barnes [Sat, 8 Dec 2012 20:51:19 +0000 (15:51 -0500)]
Remove introspection of libecal.

A great deal of the calendar API exposes data structures from libical.
libical is not a GObject library, and is therefore not introspectable.
This is unfortunate, but the API has been this way for over a decade.

The g-ir-scanner skips functions with data types it does not understand.
Therefore a great deal of the calendar API is omitted from introspection
and the resulting language bindings are not actually useful. This causes
confusion and disappointment, judging by the number of times I've had to
explain this to programmers in the #evolution channel.

Annotating the calendar API for introspection is still good practice.
But until this situation changes, let's not give the false impression
that E-D-S calendars are accessible from non-C languages by producing
a less-than-useful GIR file.

Remove the introspection.

11 years agoCamelIMAPXFolder: Fix a memory leak.
Matthew Barnes [Sat, 8 Dec 2012 19:41:23 +0000 (14:41 -0500)]
CamelIMAPXFolder: Fix a memory leak.

11 years agoIMAPX: Support the QUOTA extension (RFC 2087).
Matthew Barnes [Sat, 8 Dec 2012 19:22:41 +0000 (14:22 -0500)]
IMAPX: Support the QUOTA extension (RFC 2087).

11 years agocamel-imapx-utils.h: Readability cleanups.
Matthew Barnes [Sat, 8 Dec 2012 13:52:21 +0000 (08:52 -0500)]
camel-imapx-utils.h: Readability cleanups.

11 years agoEnable introspection scanner warnings
Milan Crha [Sat, 8 Dec 2012 09:01:56 +0000 (10:01 +0100)]
Enable introspection scanner warnings

11 years agoAdd missing linker flag.
Matthew Barnes [Fri, 7 Dec 2012 23:04:42 +0000 (18:04 -0500)]
Add missing linker flag.

11 years agoIntroduce evolution-user-prompter service
Milan Crha [Fri, 7 Dec 2012 21:48:39 +0000 (22:48 +0100)]
Introduce evolution-user-prompter service

This is used to prompt users for input, mainly from book or calendar
backends. The service is extensible, thus the backend can provide its
own dialogs and use them.

11 years agoFixed test-client-custom-summary to actually pass
Tristan Van Berkom [Fri, 7 Dec 2012 09:00:42 +0000 (18:00 +0900)]
Fixed test-client-custom-summary to actually pass

Was missing a vcard modification to test for EVC_N component, also
enhanced test case to test both apis for each case and added one
case to check the special '%' escape char is working.

11 years agoReviving async client test
Tristan Van Berkom [Fri, 9 Nov 2012 09:33:03 +0000 (18:33 +0900)]
Reviving async client test

Now test-client-async.c also tests adding of contacts to a newly created book,
instead of relying on the system book.

11 years agoAdd e_queue_transfer().
Matthew Barnes [Thu, 6 Dec 2012 14:11:03 +0000 (09:11 -0500)]
Add e_queue_transfer().

Transfers the contents of one GQueue on to the tail of another GQueue.

Mostly because I'm tired of writing "while" loops, and this does it more
efficiently anyway.

11 years agotests: Add configured datadir to the D-Bus dirs
Mathias Hasselmann [Thu, 6 Dec 2012 13:14:40 +0000 (14:14 +0100)]
tests: Add configured datadir to the D-Bus dirs

This helps to really pick the locally built factories for tests,
without the need to fiddle with XDG_DATA_DIRS. Ideally we'd even use
service files for the currently build's uninstalled service binaries,
but that seems too much work right now.

11 years agotests: Port test-client-custom-summary.c to gtest
Mathias Hasselmann [Thu, 6 Dec 2012 12:51:23 +0000 (13:51 +0100)]
tests: Port test-client-custom-summary.c to gtest

Less copy-and-paste, easier to extend, more intuitive messages
on failed assertions, and one missing assertion caught.

11 years agotests: Use absolute paths for SRCDIR
Mathias Hasselmann [Thu, 6 Dec 2012 12:19:30 +0000 (13:19 +0100)]
tests: Use absolute paths for SRCDIR

That way a few tests can be run from top_builddir, instead of their builddir.

11 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 5 Dec 2012 19:07:14 +0000 (20:07 +0100)]
Updated Spanish translation

11 years agoDo not generate a ChangeLog file from 'git log'
Milan Crha [Wed, 5 Dec 2012 07:46:58 +0000 (08:46 +0100)]
Do not generate a ChangeLog file from 'git log'