Milan Crha [Mon, 27 Jun 2011 09:29:36 +0000 (11:29 +0200)]
Allow asynchronous retrieval of EClient capabilities for easier caching
Matthew Barnes [Sun, 26 Jun 2011 11:50:50 +0000 (07:50 -0400)]
Fix build breaks when using libgdata 0.9.
Matthew Barnes [Sat, 25 Jun 2011 17:37:56 +0000 (13:37 -0400)]
Remove pointless ENABLE_THREADS define.
Of course we enable thread support. We love threads! And lots of
complex mutex locking! It's great job security. </sarcasm>
Raul Gutierrez Segales [Sat, 25 Jun 2011 12:03:13 +0000 (13:03 +0100)]
Introspection: fix annotation in e_vcard_add_attribute
Raul Gutierrez Segales [Sat, 25 Jun 2011 11:40:59 +0000 (12:40 +0100)]
Introspection: fix annotation in e_vcard_get_attribute
Matthew Barnes [Fri, 24 Jun 2011 22:51:22 +0000 (18:51 -0400)]
SMTP: Handle 235 code after initial AUTH command.
The server may accept the initial response in our AUTH command and
return a 235 (success) code without a 334 (continue) code, such as
for example with XOAUTH. Handle this correctly.
Matthew Barnes [Fri, 24 Jun 2011 15:29:04 +0000 (11:29 -0400)]
Make Camel's SASL framework more extensible.
Gather SASL mechanism names by traversing subclasses of CamelSasl
instead of hard-coding all known mechanism names. This allows
mechanisms to be added from outside of libcamel.
This adds a CamelServiceAuthType pointer to CamelSaslClass, which
changes the ABI. Statically registered subclasses can just point to a
static CamelServiceAuthType struct. Dynamically registered subclasses
should allocate a CamelServiceAuthType struct in their base_init class
method and free it in their base_finalize class method.
Adapt CamelSasl subclasses to the new approach.
Matthew Barnes [Fri, 24 Jun 2011 14:42:02 +0000 (10:42 -0400)]
CamelSasl: Coding style cleanups.
Colin Walters [Thu, 23 Jun 2011 19:17:14 +0000 (15:17 -0400)]
Fix a few srcdir != builddir issues
jhbuild will be defaulting to this soon.
Milan Crha [Thu, 23 Jun 2011 16:27:37 +0000 (18:27 +0200)]
Keep opening EClient-s till they report busy error
Milan Crha [Thu, 23 Jun 2011 16:26:53 +0000 (18:26 +0200)]
Make loading of ENameSelector on demand and cancellable
Milan Crha [Thu, 23 Jun 2011 06:44:13 +0000 (08:44 +0200)]
Reverting one line I added to Christophe's commit on my own
I added this change to Christophe's commit myself, and I didn't
notice that it is unnecessary change, thus I'm reverting it back.
Christophe notified me about my fault in bug #652173.
Christophe Dumez [Wed, 22 Jun 2011 14:18:21 +0000 (16:18 +0200)]
Bug #652173 - libebook: Delay client-side vCard parsing
Fran Diéguez [Tue, 21 Jun 2011 11:53:49 +0000 (13:53 +0200)]
Updated Galician translations
Milan Crha [Tue, 21 Jun 2011 10:27:40 +0000 (12:27 +0200)]
Bug #648468 - POP3 doesn't recover or claim error after lost connection
Milan Crha [Mon, 20 Jun 2011 11:56:46 +0000 (13:56 +0200)]
Bug #269413 - Search treats "4 weeks" and "1 month" as synonymous
Matej Urbančič [Sun, 19 Jun 2011 19:40:10 +0000 (21:40 +0200)]
Updated Slovenian translation
Daniel Mustieles [Sun, 19 Jun 2011 09:52:17 +0000 (11:52 +0200)]
Updated Spanish translation
Milan Crha [Wed, 15 Jun 2011 13:07:23 +0000 (15:07 +0200)]
Bug #565961 - Crash with recurring all-day event
Milan Crha [Wed, 15 Jun 2011 12:37:33 +0000 (14:37 +0200)]
Fix few memory leaks
Raul Gutierrez Segales [Tue, 14 Jun 2011 08:57:40 +0000 (09:57 +0100)]
Emit notification for EClient::opened property
From introspected bindings (i.e.: Vala) we can't
see the opened signal cause it overlaps with the
opened property. So we need to listen to notifications
on the property related to the signal.
Travis Reitter [Tue, 14 Jun 2011 13:58:02 +0000 (14:58 +0100)]
Fix sqlitedb-test build error.
Chenthill Palanisamy [Tue, 14 Jun 2011 12:25:03 +0000 (17:55 +0530)]
EBookBackendSqliteDD: Fix a missing comma in search contacts.
Milan Crha [Tue, 14 Jun 2011 11:22:50 +0000 (13:22 +0200)]
Bug #652530 - EClient - Notify about opening phase result first
Milan Crha [Tue, 14 Jun 2011 07:30:27 +0000 (09:30 +0200)]
Fix recently introduced compiler warnings in CalDAV calendar backend
Philip Withnall [Tue, 14 Jun 2011 07:19:04 +0000 (09:19 +0200)]
Bug #652392 - Port to libgdata 0.9.0
Milan Crha [Tue, 14 Jun 2011 06:51:15 +0000 (08:51 +0200)]
Do not use deprecated EBook/ECal API
Matthew Barnes [Mon, 13 Jun 2011 16:10:26 +0000 (12:10 -0400)]
Post-release version bump.
Matthew Barnes [Mon, 13 Jun 2011 16:08:21 +0000 (12:08 -0400)]
Gtk-Doc updates.
Matthew Barnes [Mon, 13 Jun 2011 16:08:09 +0000 (12:08 -0400)]
NEWS update for 3.1.2 release.
Matthew Barnes [Mon, 13 Jun 2011 14:24:19 +0000 (10:24 -0400)]
Coding style and whitespace cleanups.
Chenthill Palanisamy [Mon, 13 Jun 2011 10:50:44 +0000 (16:20 +0530)]
EBookBackendSqliteDB, e-sqlite3-vfs.[ch]: Add sqlitedb cache for addressbook. It can
be used as summary+cache.
Matthew Barnes [Sat, 11 Jun 2011 18:54:50 +0000 (14:54 -0400)]
CamelImapStore: Remove unused declarations.
Matthew Barnes [Fri, 10 Jun 2011 14:36:24 +0000 (10:36 -0400)]
CamelIMAPXFolder: Fix handling of "filter_junk" option.
Looks like a typo. Just stumbled on this by accident, but I wonder
if it has something to do with certain junk filtering bugs I've seen
reported by IMAPX users.
Alexander Larsson [Fri, 10 Jun 2011 12:41:46 +0000 (14:41 +0200)]
Fixup markup of e_vcard_attribute_add_param (takes ownership of param)
Alexander Larsson [Fri, 10 Jun 2011 10:10:49 +0000 (12:10 +0200)]
Annotate e_vcard_attribute_new (group name may be null)
Alexander Larsson [Fri, 10 Jun 2011 10:10:01 +0000 (12:10 +0200)]
Use the right free function in the boxed type for EVCardAttributeParam
We were using e_vcard_attribute_free, not e_vcard_attribute_param_free
Abduxukur Abdurixit [Fri, 10 Jun 2011 07:54:04 +0000 (09:54 +0200)]
Added UG translation
Kjartan Maraas [Thu, 9 Jun 2011 10:44:33 +0000 (12:44 +0200)]
Updated Norwegian bokmål translation
Chenthill Palanisamy [Tue, 7 Jun 2011 12:50:35 +0000 (18:20 +0530)]
CamelVeeFolder: Check for the presence of unmatched folder before
accessing full_name, error in previous commit.
Chenthill Palanisamy [Tue, 7 Jun 2011 10:51:25 +0000 (16:21 +0530)]
CamelVeeFolder: Adapt changes to unmatched_check_uid that was missed in commit -
6bc75c47f516301364d653140fcf82193d0a2d52 .
Chenthill Palanisamy [Tue, 7 Jun 2011 10:35:51 +0000 (16:05 +0530)]
CamelVeeFolder: Fix a hang in folder_change_change. do not read db in between a transaction
Patrick Ohly [Tue, 17 May 2011 07:45:24 +0000 (09:45 +0200)]
calendar: include rid in "objects-removed" ECalView signal
Since migration to D-Bus for libecal<->EDS communication, the
RECURRENCE-ID (rid) has not been sent in the "objects-removed" signal.
As a result, a backend could not communicate the removal of specific
recurrences.
This patch adds the rid after a newline to the string stored
internally and transferred via D-Bus. Because the newline is only
added when needed, traditional uid-only removals look the same as
before and continue to work with older versions of libecal. A uid+rid
combination will look like an unknown uid to an older libecal which
does not know how to split them. Therefore the D-Bus API is considered
unchanged and the interface number is not increased.
Whether clients really interpret "objects-removed" with empty rid (=
parent removed) or valid rid (= child removed) correctly is outside
the scope of this patch.
Patrick Ohly [Thu, 12 May 2011 12:04:37 +0000 (14:04 +0200)]
calendar file backend: support remove with CALOBJ_MOD_ONLY_THIS
Support for this capability is easy:
- report removal of the detached recurrence
- report error when not found
- avoid modifying the parent (= full_object)
Patrick Ohly [Thu, 12 May 2011 11:30:06 +0000 (13:30 +0200)]
calendar file backend: removal notification for detached recurrence, part 2
e_cal_remove_object_with_mod() can only return one pair of old/new
object pointers to the caller. When the function modifies the parent
and removes a detached recurrence, the removal of the detached
recurrence had to be deduced by clients from the modification of the
parent.
Now clients are explicitly informed about removal of the detached
recurrence in addition to the modification of the parent.
Patrick Ohly [Thu, 12 May 2011 09:05:59 +0000 (11:05 +0200)]
calendar file backend: removal notification for detached recurrence, part 1
If e_cal_remove_object_with_mod() was called for an appointment where
only a detached recurrence existed, no "objects-removed" signal was
triggered although it should have been.
Apparently Evolution avoids the problem by calling
e_cal_remove_component() instead in this case. Fixing the problem
makes writing clients easier (no special cases).
With this patch, remove_instance() itself decides what it reports back
to the caller. Note that it cannot report back both a modification and
a removal at the moment.
Patrick Ohly [Thu, 12 May 2011 07:48:37 +0000 (09:48 +0200)]
calendar file backend: white list check for supported CalObjModType
Explicitly check that the CalObjModType is supported before
starting to work on the appointment. Relies in libecal to reject
completely bogus modes with an "invalid parameter" error.
Patrick Ohly [Thu, 12 May 2011 07:36:59 +0000 (09:36 +0200)]
libecal: catch invalid CalObjModType values
This protects backends without their own parameter checking
from being invoked with invalid CalObjModType values. Note
that this only excludes values that haven't been defined.
Backends still need to check whether they support the
selected mode.
Patrick Ohly [Thu, 12 May 2011 07:29:16 +0000 (09:29 +0200)]
libecal: added CALOBJ_MOD_ONLY_THIS
The goal is to have an orthogonal API where each operation also
has an inverse operation. Adding a detached recurrence was
possible with e_cal_modify_object(), but removing it again
wasn't without modifying the parent appointment.
CALOBJ_MOD_ONLY_THIS in e_cal_remove_object_with_mod() provides
that inverse operation by avoiding the modifications to the
parent.
The semantic in e_cal_modify_object(), the other call taking a
CalObjModType, is unchanged. CALOBJ_MOD_ONLY_THIS is not valid there.
Because not all backends reject CALOBJ_MOD_ONLY_THIS when they don't
support it, a static capability CAL_STATIC_CAPABILITY_REMOVE_ONLY_THIS
is added that must be checked first before using CALOBJ_MOD_ONLY_THIS.
Patrick Ohly [Wed, 11 May 2011 14:59:51 +0000 (16:59 +0200)]
calendar file backend: support removing parent event with CALOBJ_MOD_THIS
It was possible to create a meeting series with just a detached event
(RECURRENCE-ID set) by importing a meeting invitation for that single
recurrence. It was not possible to arrive at that same state after
adding the parent event (the one with the RRULE) because
e_cal_remove_object_with_mod() removed all instances for
CALOBJ_MOD_THIS and empty rid.
This contradicts the intended semantic of e_cal_remove_object_with_mod():
"By using a combination of the @uid, @rid and @mod
arguments, you can remove specific instances. If what you want
is to remove all instances, use e_cal_remove_object instead."
This patch implements the desired semantic:
- e_cal_backend_file_remove_object(CALOBJ_MOD_THIS) now always
calls remove_instance().
- remove_instance() was extended to also work for the parent
event.
- That call removes the complete object if nothing is left
after removing the instance. This case must be handled by
the caller. The return value is the original object (if
it still exists) and NULL if not.
- Because the uid pointer into the object may become invalid
as part of the removal, a more permanent pointer has to
be provided by the caller.
Kjartan Maraas [Tue, 7 Jun 2011 09:04:59 +0000 (11:04 +0200)]
Updated Norwegian bokmål translation
Christophe Dumez [Mon, 6 Jun 2011 13:48:42 +0000 (16:48 +0300)]
e_book_backend_file_get_contact_list: Fix memory leak
vcard_dbt.data should be freed if it is not appended to
the contact list otherwise memory gets leaked.
Christophe Dumez [Mon, 6 Jun 2011 13:55:04 +0000 (16:55 +0300)]
e_contact_name_from_string(): Fix possible memory leak
The 'name' variable memory was leaked when name_str
is NULL.
Milan Crha [Mon, 6 Jun 2011 13:16:27 +0000 (15:16 +0200)]
Fix few memory leaks
Christophe Dumez [Mon, 30 May 2011 11:43:14 +0000 (14:43 +0300)]
e_dbhash_new: Close and reopen db handle to avoid memory leak
According to the documentation, "If DB->open fails,
the DB->close method should be called to discard the DB
handle". The current code was calling open() again on
the same handle without closing it it first, possibly
causing memory leaks.
This patch is adapted from commit
37d3c0f65c989afe9ffc2d734d86b2ae0019edae in eds-fremantle GIT
repository.
Christophe Dumez [Mon, 30 May 2011 07:40:55 +0000 (10:40 +0300)]
e_name_western_reorder_asshole: Fix possible memory leak
Free 'prefix' variable on early return.
Raul Gutierrez Segales [Sun, 5 Jun 2011 18:02:46 +0000 (19:02 +0100)]
Add constructor for EContactAddress
Needed by introspected bindings.
Raul Gutierrez Segales [Sat, 4 Jun 2011 11:02:06 +0000 (12:02 +0100)]
Add constructor for EContactPhoto
This is needed by introspected bindings, otherwise they have
no way to instantiate EContactPhotos.
Matthew Barnes [Mon, 6 Jun 2011 03:02:34 +0000 (22:02 -0500)]
Limit libgdata to 0.7 or 0.8.
There are unreleased API changes beyond 0.8 which we don't support yet.
Fran Diéguez [Sun, 5 Jun 2011 21:19:35 +0000 (23:19 +0200)]
Updated Galician translations
Jorge González [Sat, 4 Jun 2011 11:24:49 +0000 (13:24 +0200)]
Updated Spanish translation
Daniel Mustieles [Sat, 4 Jun 2011 11:19:33 +0000 (13:19 +0200)]
Updated Spanish translation
Raul Gutierrez Segales [Mon, 30 May 2011 10:24:17 +0000 (11:24 +0100)]
Bug #651458 - Add getters/settrs for EContactPhoto
This is needed for introspected bindings since gobject-introspection
can't cope with the current layout of the EContactPhoto structure.
Milan Crha [Fri, 3 Jun 2011 14:21:49 +0000 (16:21 +0200)]
Workaround compiler warnings
Mathieu Trudel-Lapierre [Fri, 3 Jun 2011 13:10:27 +0000 (15:10 +0200)]
Bug #633948 - Try harder to use -lresolv in LDAP_LIBS
Christophe Dumez [Fri, 3 Jun 2011 09:33:49 +0000 (11:33 +0200)]
Bug #651226 - e_book_new_system_addressbook() should create source in GConf
The same problem was fixed in libecal by commit
3bb75464a67
and commit
05c0b7b4bd0.
Milan Crha [Fri, 3 Jun 2011 09:08:47 +0000 (11:08 +0200)]
Bug #649757 - Filtering based on a source account always succeeded
Milan Crha [Thu, 2 Jun 2011 07:30:10 +0000 (09:30 +0200)]
Bug #640083 - Force secured connection when using LDAPS port
Milan Crha [Wed, 1 Jun 2011 21:07:41 +0000 (23:07 +0200)]
Bug #649757 - Return back camel_filter_driver_filter_mbox()
It's still used for "Local delivery" mbox files and it has nothing
to do with On This Computer store type.
Milan Crha [Wed, 1 Jun 2011 11:33:04 +0000 (13:33 +0200)]
Fix a typo in the code, do not call itself recursively
Matthew Barnes [Wed, 1 Jun 2011 10:12:43 +0000 (06:12 -0400)]
Fix build breaks.
Milan Crha [Wed, 1 Jun 2011 05:34:17 +0000 (07:34 +0200)]
Bug #651147 - EBook/ECal done signals ignored due to wrong name
Milan Crha [Wed, 1 Jun 2011 05:22:14 +0000 (07:22 +0200)]
Replace deprecated g_atomic_int_exchange_and_add()
Milan Crha [Tue, 31 May 2011 16:10:49 +0000 (18:10 +0200)]
Bug #651446 - Implement e_book_client_get_contacts_uids()
Matthew Barnes [Sun, 29 May 2011 22:43:45 +0000 (18:43 -0400)]
Oops, little Freudian slip there in the comment.
Matthew Barnes [Sun, 29 May 2011 22:34:49 +0000 (18:34 -0400)]
CamelVeeFolder: Fix a deadlock.
folder_added_uid() was trying to obtain a reader lock while holding a
writer lock, since a DB transaction had already been started.
To work around the issue, queue up message UIDs in folder_added_uid(),
and then execute a DB transaction using the queued message UIDs AFTER
we're done iterating over the 'matchhash' hash table.
Matthew Barnes [Sun, 29 May 2011 21:07:09 +0000 (17:07 -0400)]
camel_store_get_folder_sync(): Readability cleanups.
Raul Gutierrez Segales [Sun, 29 May 2011 21:25:01 +0000 (22:25 +0100)]
Introspection: fix annotation in e_book_client_get_contact_finish
Raul Gutierrez Segales [Sun, 29 May 2011 21:20:43 +0000 (22:20 +0100)]
Introspection: fix annotation in e_book_client_get_contact_sync
Raul Gutierrez Segales [Sun, 29 May 2011 14:29:35 +0000 (15:29 +0100)]
Vala bindings: use e-book-client.h instead of e-book.h
Raul Gutierrez Segales [Sun, 29 May 2011 14:14:58 +0000 (15:14 +0100)]
Introspection: fix annotation for e_book_client_get_view_finish ()
Raul Gutierrez Segales [Sun, 29 May 2011 13:55:05 +0000 (14:55 +0100)]
Introspection: add missing annotations in libedataserver
Raul Gutierrez Segales [Sun, 29 May 2011 13:54:19 +0000 (14:54 +0100)]
Vala bindings: set the type of the signals emitted by BookClientView
Raul Gutierrez Segales [Sun, 29 May 2011 13:53:49 +0000 (14:53 +0100)]
Vala bindings: include gio-2.0 needed by EDataServer
Raul Gutierrez Segales [Sun, 29 May 2011 12:53:22 +0000 (13:53 +0100)]
Vala bindings: include gio-2.0 needed by EBookClient
Carles Ferrando [Sun, 29 May 2011 12:00:10 +0000 (14:00 +0200)]
[l10n]Updated Catalan (Valencian) translation
Matthew Barnes [Sat, 28 May 2011 15:33:48 +0000 (11:33 -0400)]
Including <glib-object.h> directly is rarely needed.
Matthew Barnes [Sat, 28 May 2011 15:30:07 +0000 (11:30 -0400)]
Including <glib.h> directly is rarely needed.
Raul Gutierrez Segales [Sat, 28 May 2011 13:33:45 +0000 (14:33 +0100)]
Introspection: add missing annotations in libebook
Raul Gutierrez Segales [Sat, 28 May 2011 13:32:40 +0000 (14:32 +0100)]
Vala bindings: include EBookClient and EBookClientView
Christophe Dumez [Fri, 27 May 2011 13:40:06 +0000 (15:40 +0200)]
Bug #651113 - [libebook] Querying date fields is not supported
Christophe Dumez [Fri, 27 May 2011 13:37:35 +0000 (15:37 +0200)]
Bug #651054 - Support queries based on "photo" contact field
Christophe Dumez [Fri, 27 May 2011 13:30:39 +0000 (15:30 +0200)]
Bug #650952 - Remove unknown EContact field name runtime warning
Christophe Dumez [Fri, 27 May 2011 13:27:30 +0000 (15:27 +0200)]
Bug #650950 - entry_compare() should iterate over attributes with the same name
Extend entry_compare() to iterate over attributes that have
the same name (e.g. X-HOBBY) so that it can match any of
them, not just the first one in the vCard.
Matthew Barnes [Fri, 27 May 2011 12:01:18 +0000 (14:01 +0200)]
Bug #648736 - Crash when adding default vcard for newly created DB
Daniel Mustieles [Thu, 26 May 2011 18:05:01 +0000 (20:05 +0200)]
Updated Spanish translation
Matthew Barnes [Thu, 26 May 2011 15:34:28 +0000 (11:34 -0400)]
Automated Gtk-Doc updates from backend API changes.
Matthew Barnes [Thu, 26 May 2011 15:21:37 +0000 (11:21 -0400)]
Reduce diff noise with account-mgmt branch.
Mostly silly code cleanup type stuff, so I can see the important changes
more easily.
Raul Gutierrez Segales [Thu, 26 May 2011 11:50:52 +0000 (12:50 +0100)]
Vala bindings: metadata helpers for EContactAddress
Raul Gutierrez Segales [Thu, 26 May 2011 11:45:47 +0000 (12:45 +0100)]
Vala bindings: metadata helpers for EContactName