Milan Crha [Tue, 11 Oct 2011 10:28:53 +0000 (12:28 +0200)]
Bug #661432 - 'Any field contains' search doesn't work in contact view
Milan Crha [Tue, 11 Oct 2011 08:02:33 +0000 (10:02 +0200)]
Bug #660829 - Allow 'Mark as read' in right click menu on spam folder
Christophe Dumez [Tue, 11 Oct 2011 07:51:37 +0000 (10:51 +0300)]
Revert "gdbus_proxy_call_sync: stop using g_usleep()"
This reverts commit
cf78ee827d3c5157e44a1e4c32d395942a816461.
Christophe Dumez [Tue, 11 Oct 2011 06:36:59 +0000 (09:36 +0300)]
EBookClientView: Use e_util_free_object_slist() utility function
Christophe Dumez [Mon, 10 Oct 2011 12:54:42 +0000 (15:54 +0300)]
e-book-client: Refactor bulk methods code
Add a contact_slist_to_utf8_vcard_array() utility function to
avoid code duplication in EBookClient bulk methods.
Christophe Dumez [Mon, 10 Oct 2011 06:51:11 +0000 (09:51 +0300)]
gdbus_proxy_call_sync: stop using g_usleep()
Instead, tell g_main_context_iteration() that it may block if no
event source is ready.
Christophe Dumez [Wed, 5 Oct 2011 07:36:20 +0000 (10:36 +0300)]
Don't free vcard memory in e_data_book_view_notify_update*_vcard()
Instead, the vcard memory is freed by the caller which feels more
consistent with the rest of the code and less error-prone.
Christophe Dumez [Mon, 10 Oct 2011 16:18:20 +0000 (19:18 +0300)]
e_book_backend_sqlitedb_new: Fix database connection reuse
Remove EBookBackendSqliteDB objects from the db_connections
hash table in their dispose function. It used to be done in
their finalize function but this would cause
g_hash_table_lookup() to sometime return EBookBackendSqliteDB
GObjects whose ref_count is 0, under heavy load.
This patch also makes sure the database mutex is properly unlocked
in case of error. It also properly reports errors when
book_backend_sqlitedb_load() fails.
krishnababu k [Mon, 10 Oct 2011 11:26:09 +0000 (16:56 +0530)]
Updated Telugu Translations
Christophe Dumez [Thu, 6 Oct 2011 05:41:21 +0000 (08:41 +0300)]
libebook: Add unit test for bulk modification function
Christophe Dumez [Wed, 5 Oct 2011 13:22:31 +0000 (16:22 +0300)]
e-book-client: Add bulk contact modification methods.
This reduces the number of DBus round-trips and enables
optimizations in the backend.
This patch also makes use of Berkeley DB transactions in the file
backend.
Milan Crha [Mon, 10 Oct 2011 08:56:33 +0000 (10:56 +0200)]
Workaround possible crash in imap_body_decode()
Nguyễn Thái Ngọc Duy [Mon, 10 Oct 2011 08:30:36 +0000 (19:30 +1100)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Fri, 7 Oct 2011 11:51:44 +0000 (22:51 +1100)]
vi.po: import from Damned Lies
Kjartan Maraas [Mon, 10 Oct 2011 05:50:13 +0000 (07:50 +0200)]
Updated Norwegian bokmål translation
Daniel Nylander [Sun, 9 Oct 2011 18:46:14 +0000 (20:46 +0200)]
Updated Swedish translation
Daniel Mustieles [Sun, 9 Oct 2011 09:45:41 +0000 (11:45 +0200)]
Updated Spanish translation
Christophe Dumez [Sat, 8 Oct 2011 07:09:12 +0000 (10:09 +0300)]
configure.ac: Bump ADDRESS_BOOK_DBUS_SERVICE_NAME to 2
The DBus API has changed with the addition of bulk contact
addition methods.
Christophe Dumez [Tue, 4 Oct 2011 13:26:52 +0000 (16:26 +0300)]
addressbook: Improve bulk contact removal code
The patch makes use of Berkeley DB transations in the file backend
and roll back the transaction in case of error to make the
behavior consistent with bulk addition.
This patch also makes the webdav backend behave as expected since
it does not support bulk removal and the implementation was broken.
Christophe Dumez [Fri, 30 Sep 2011 14:08:14 +0000 (17:08 +0300)]
libebook: Add test for bulk methods
Christophe Dumez [Tue, 27 Sep 2011 10:35:36 +0000 (13:35 +0300)]
e-book-client: add e_book_client_add_contacts*() methods
Enables optimizations for batch additions of contacts such as
less DBus round trips and use of database transactions in file
backend.
Christophe Dumez [Sat, 8 Oct 2011 06:42:44 +0000 (09:42 +0300)]
build_sqlitedb(): remove useless free() for vcard_dbt.data
Piotr Drąg [Fri, 7 Oct 2011 11:37:52 +0000 (13:37 +0200)]
Updated POTFILES.in
Christophe Dumez [Wed, 5 Oct 2011 06:26:05 +0000 (09:26 +0300)]
build_sqlitedb: Fix memory leaks and optimize function
This patch fixes 2 possible memory leaks in build_sqlitedb()
function, makes use of e_util_free_object_slist() utility function,
slightly improves error checking and makes some minor optimizations.
Christophe Dumez [Wed, 5 Oct 2011 07:03:42 +0000 (10:03 +0300)]
Make all backends return NULL when calling get_contact() and the contact is not found.
Some backends returned NULL (google, webdav) while other returned
an empty string (ldap, file, vcf). The behavior should be
consistent and I believe the best is to return NULL since it is
an error case (NOT_FOUND error is returned), this avoids useless
string allocation and possible leaks.
Christophe Dumez [Tue, 4 Oct 2011 08:43:46 +0000 (11:43 +0300)]
gdbus_proxy_call_sync: check sync flag more frequently
This patch lowers the value used in g_usleep() from 250000us
to 1000us in order to decrease latency.
Milan Crha [Thu, 6 Oct 2011 14:57:51 +0000 (16:57 +0200)]
CamelFolderSummary API changes
Matthew Barnes [Thu, 6 Oct 2011 13:50:28 +0000 (09:50 -0400)]
Prefer g_simple_async_result_take_error().
Slightly more efficient and convenient than:
g_simple_async_result_set_from_error (simple, error);
g_error_free (error);
One less GError to copy and destroy.
Milan Crha [Thu, 6 Oct 2011 10:29:20 +0000 (12:29 +0200)]
Increase dependency on gtk+ to 3.2
Dan Vrátil [Wed, 5 Oct 2011 17:27:42 +0000 (19:27 +0200)]
Add missing arguments checks to CamelCipherContext
Christian Hilberg [Tue, 4 Oct 2011 14:52:34 +0000 (16:52 +0200)]
Bug #660884 - Missing libebackend LIBADD in calendar/backends
Milan Crha [Mon, 3 Oct 2011 12:15:57 +0000 (14:15 +0200)]
Provide EClient's GSList utility functions within e-data-server-util.h
Milan Crha [Mon, 3 Oct 2011 09:22:28 +0000 (11:22 +0200)]
Bug #660615 - Make POP3 provider more cancellable ready
Dan Vrátil [Fri, 30 Sep 2011 21:54:27 +0000 (23:54 +0200)]
Fix a little memory leak
Cosimo Cecchi [Fri, 30 Sep 2011 15:26:41 +0000 (11:26 -0400)]
Bug 660533 - Missing GOA cflags/libs in libedata-book
Milan Crha [Fri, 30 Sep 2011 12:37:45 +0000 (14:37 +0200)]
Bug #620382 - Do not delete also directory for custom local calendars
Milan Crha [Fri, 30 Sep 2011 12:08:17 +0000 (14:08 +0200)]
Bug #601898 - SOCKS proxy does not work with mailer
Christophe Dumez [Wed, 28 Sep 2011 07:41:50 +0000 (10:41 +0300)]
Add unit test for lazy contact vcard parsing
The test was mostly written by Milan Crha.
Christophe Dumez [Wed, 21 Sep 2011 12:57:41 +0000 (15:57 +0300)]
addressbook: Optimizations to avoid vcard parsing
Now that vcards are lazily parsed, it makes sense to optimize
the rest of the code to avoid vcard parsing as much as possible.
In particular, it is now possible the pass the vcard UID when
constructing an EVCard object by using e_vcard_construct_with_uid().
This will avoid useless vcard parsing whenever getting the vcard
UID later. Moreover, setting the UID attribute on a EContact no
longer requires vcard parsing.
Matthew Barnes [Thu, 29 Sep 2011 18:23:18 +0000 (14:23 -0400)]
Remove some leftover migration crud.
Matthew Barnes [Thu, 29 Sep 2011 18:06:27 +0000 (14:06 -0400)]
Give EDataCalFactory a proper "new" function.
Matthew Barnes [Thu, 29 Sep 2011 18:02:33 +0000 (14:02 -0400)]
Give EDataBookFactory a proper "new" function.
Matthew Barnes [Thu, 29 Sep 2011 17:29:11 +0000 (13:29 -0400)]
Forgot a couple #includes.
Matthew Barnes [Mon, 5 Sep 2011 12:46:12 +0000 (08:46 -0400)]
Prefer G_VALUE_INIT over memset().
G_VALUE_INIT is new in GLib 2.30. More convenient than zero-filling a
statically declared GValue with memset().
Matthew Barnes [Thu, 29 Sep 2011 15:44:28 +0000 (11:44 -0400)]
Require GLib 2.30.
Drop all GLIB_CHECK_VERSION macros.
Matthew Barnes [Wed, 28 Sep 2011 21:01:18 +0000 (17:01 -0400)]
Add a "services" directory.
Split the D-Bus service binaries out of their respective "libedata"
folders and give them their own folder under "services". This just
consists of the main() function, any migration gunk, and the D-Bus
.service key file.
This provides a natural place to add a new D-Bus service for ESources,
coming soon to a repository near you!
Also, by popular demand, change the binary and source code prefix in
these folders from "e" to "evolution". I guess so grepping a process
list for "evolution" reveals all.
Milan Crha [Thu, 29 Sep 2011 12:42:28 +0000 (14:42 +0200)]
Bug #632619 - Recurring events can clutter month view
Matthew Barnes [Wed, 28 Sep 2011 22:39:17 +0000 (18:39 -0400)]
EDBusServer: Add a use count, like in GApplication.
Borrowing GApplication's use count concept for EDBusServer. It works
somewhat like a reference count: when the use count drops to zero, the
main loop terminates (in this case, after a 10 second delay). The use
count usually follows the number of client connections.
New functions to increment and decrement the use count:
void e_dbus_server_hold (EDBusServer *server)
void e_dbus_server_release (EDBusServer *server)
This lets us handle the --keep-running option more gracefully by
simply incrementing the server's use count directly in main().
For the record: I hemmed and hawed over a good while over whether to
make EDBusServer inherit from GApplication or just copy the use count
feature from GApplication. In the end, I still think GApplication is
over-engineered and tries to serve too many different use cases, so
for now I'd prefer to keep EDBusServer simple. I expect to revisit
this decision at some point down the road.
Christophe Dumez [Wed, 28 Sep 2011 14:05:09 +0000 (10:05 -0400)]
Bug 660246: EBookBackendSqliteDB: Bad loop iteration.
The code was not properly iterating over the UID list and as a
consequence, calling e_book_backend_sqlitedb_remove_constacts() with
more than one UID would only remove the first UID in the list.
YunQiang Su [Tue, 27 Sep 2011 18:46:43 +0000 (02:46 +0800)]
update zh_CN translation
Piotr Drąg [Tue, 27 Sep 2011 18:30:03 +0000 (20:30 +0200)]
Updated Polish translation
Matthew Barnes [Tue, 27 Sep 2011 17:07:26 +0000 (13:07 -0400)]
Merge libcamel-provider into libcamel.
It's no longer useful these days to maintain split libraries.
libcamel-provider does not bring in any additional external library
dependencies over libcamel, and just adds unnecessary overhead to the
build process.
So Camel now consists of just libcamel + some built-in provider modules.
Rodrigo Moya [Tue, 27 Sep 2011 10:50:26 +0000 (12:50 +0200)]
Declare missing GError variable in e_data_book_factory_init
Milan Crha [Mon, 26 Sep 2011 19:42:45 +0000 (21:42 +0200)]
Bug #642984 - Drop --enable-ssl configure option (nss/nspr always required)
Milan Crha [Mon, 26 Sep 2011 19:03:17 +0000 (21:03 +0200)]
Provide CamelFolder::get_message_cached()
This is used in camel_folder_get_message_sync(), as the first attempt
to get a message without involving the folder lock, thus it's supposed
to be quicker. The implementer may not do any network I/O while inside
this function. Also, returning NULL is not considered as an error, it
just means that the message is not downloaded in the local cache yet,
thus the usual process of invoking folder's lock and calling actual
implementation of get_message_sync() follows. Defining this function
is not mandatory for descendants.
Matthew Barnes [Mon, 26 Sep 2011 18:04:14 +0000 (14:04 -0400)]
Blah, typos in my previous commit.
Matthew Barnes [Mon, 26 Sep 2011 17:59:27 +0000 (13:59 -0400)]
Fix a build break in libebackend.
UNIX-specific GLib headers require a separate set of flags.
Mario Blättermann [Mon, 26 Sep 2011 17:32:28 +0000 (19:32 +0200)]
[l10n] Updated German translation
Alexander Shopov [Mon, 26 Sep 2011 16:58:53 +0000 (19:58 +0300)]
Updated Bulgarian translation
Jiri Eischmann [Mon, 26 Sep 2011 15:15:10 +0000 (17:15 +0200)]
Updated Czech translation
Alexandre Franke [Mon, 26 Sep 2011 13:46:25 +0000 (15:46 +0200)]
Update French translation
Matthew Barnes [Fri, 9 Sep 2011 17:26:59 +0000 (13:26 -0400)]
Adapt ECalBackendWeather to libedata-cal changes.
Matthew Barnes [Fri, 9 Sep 2011 17:26:23 +0000 (13:26 -0400)]
Adapt ECalBackendHttp to libedata-cal changes.
Matthew Barnes [Fri, 9 Sep 2011 17:25:47 +0000 (13:25 -0400)]
Adapt ECalBackendFile to libedata-cal changes.
Matthew Barnes [Fri, 9 Sep 2011 17:24:50 +0000 (13:24 -0400)]
Adapt ECalBackendContacts to libedata-cal changes.
Matthew Barnes [Fri, 9 Sep 2011 17:21:19 +0000 (13:21 -0400)]
Adapt ECalBackendCalDAV to libedata-cal changes.
Matthew Barnes [Fri, 9 Sep 2011 17:19:54 +0000 (13:19 -0400)]
Adapt EBookBackendWebdav to libedata-book changes.
Matthew Barnes [Fri, 9 Sep 2011 17:19:31 +0000 (13:19 -0400)]
Adapt EBookBackendVCF to libedata-book changes.
Matthew Barnes [Fri, 9 Sep 2011 17:19:08 +0000 (13:19 -0400)]
Adapt EBookBackendLDAP to libedata-book changes.
Matthew Barnes [Fri, 9 Sep 2011 17:18:37 +0000 (13:18 -0400)]
Adapt EBookBackendGoogle to libedata-book changes.
Matthew Barnes [Fri, 9 Sep 2011 17:18:13 +0000 (13:18 -0400)]
Adapt EBookBackendFile to libedata-book changes.
Matthew Barnes [Fri, 9 Sep 2011 17:27:56 +0000 (13:27 -0400)]
libedata-cal: Use new base classes in libebackend.
Matthew Barnes [Fri, 9 Sep 2011 17:20:43 +0000 (13:20 -0400)]
libedata-book: Use new base classes in libebackend.
Matthew Barnes [Thu, 8 Sep 2011 13:01:59 +0000 (09:01 -0400)]
Add various base classes for backends and servers.
EBackend is an abstract base class for address book and calendar
backends.
EBackendFactory is an abstract base class for creating address book and
calendar backends. It is also an EExtension that extends EDataFactory.
EDBusServer is an abstract base class for an extensible D-Bus server.
EDataFactory is a type of EDBusServer that exports connection objects
for individual address books or calendars.
Matthew Barnes [Wed, 7 Sep 2011 20:53:25 +0000 (16:53 -0400)]
Add EExtensible and EExtension.
Copied from Evolution's libeutil.
Matthew Barnes [Wed, 7 Sep 2011 20:24:07 +0000 (16:24 -0400)]
Add EModule.
Copied from Evolution's libeutil.
Matthew Barnes [Wed, 7 Sep 2011 21:04:23 +0000 (17:04 -0400)]
Add 3.4 index to libebackend docs.
Matthew Barnes [Wed, 7 Sep 2011 20:13:44 +0000 (16:13 -0400)]
Remove e-data-server-module.[ch]. Breaks build.
This outdated extension framework will be replaced by EModule and
EExtension from Evolution's libeutil.
Matthew Barnes [Sun, 11 Sep 2011 16:33:03 +0000 (12:33 -0400)]
Bump libebackend, libedata-book and libedata-cal sonames.
See subsequent commits for actual API/ABI changes.
Matthew Barnes [Mon, 26 Sep 2011 04:11:28 +0000 (00:11 -0400)]
CamelProvider: Remove 'license' and 'license_file' members.
The license fields have not been used for many years.
I believe they date back to the original Ximian Connector for Microsoft
Exchange, which was non-free software for a time and required license
click-thru shenanigans in Evolution.
Matthew Barnes [Mon, 26 Sep 2011 01:04:44 +0000 (21:04 -0400)]
CamelURL: Remove 'passwd' member.
No longer needed, and signals to other 3rd party Camel providers that
they need to use the new CamelService:password property instead.
Matthew Barnes [Mon, 26 Sep 2011 00:54:10 +0000 (20:54 -0400)]
Remove camel_http_stream_set_proxy().
The last user of CamelURL.passwd...
Matthew Barnes [Sun, 25 Sep 2011 23:12:05 +0000 (19:12 -0400)]
CamelSmtpTransport: Use camel_service_set_password().
Instead of stashing the password in its CamelURL.
Matthew Barnes [Sun, 25 Sep 2011 23:08:26 +0000 (19:08 -0400)]
CamelPOP3Store: Use camel_service_set_password().
Instead of stashing the password in its CamelURL.
Matthew Barnes [Sun, 25 Sep 2011 23:01:59 +0000 (19:01 -0400)]
CamelNNTPStore: Use camel_service_set_password().
Instead of stashing the password in its CamelURL.
Matthew Barnes [Sun, 25 Sep 2011 22:57:01 +0000 (18:57 -0400)]
CamelIMAPXServer: Use camel_service_set_password().
Instead of stashing the password in its CamelURL.
Matthew Barnes [Sun, 25 Sep 2011 22:49:56 +0000 (18:49 -0400)]
CamelImapStore: Use camel_service_set_password().
Instead of stashing the password in its CamelURL.
Matthew Barnes [Sun, 25 Sep 2011 22:39:50 +0000 (18:39 -0400)]
CamelSaslPlain: Use camel_service_get_password().
Matthew Barnes [Sun, 25 Sep 2011 22:38:14 +0000 (18:38 -0400)]
CamelSaslNTLM: Use camel_service_get_password().
Matthew Barnes [Sun, 25 Sep 2011 22:30:26 +0000 (18:30 -0400)]
CamelSaslLogin: Use camel_service_get_password().
Matthew Barnes [Sun, 25 Sep 2011 22:27:58 +0000 (18:27 -0400)]
CamelSaslDigestMd5: Use camel_service_get_password().
Matthew Barnes [Sun, 25 Sep 2011 22:23:16 +0000 (18:23 -0400)]
CamelSaslCramMd5: Use camel_service_get_password().
Matthew Barnes [Sun, 25 Sep 2011 19:40:05 +0000 (15:40 -0400)]
CamelService: Add "password" property.
This is meant to be an alternative to caching passwords in CamelURLs.
Matthew Barnes [Mon, 26 Sep 2011 01:03:48 +0000 (21:03 -0400)]
CamelNNTPStore: Remove unused 'base_url' member.
Matthew Barnes [Mon, 26 Sep 2011 01:03:06 +0000 (21:03 -0400)]
CamelIMAPXStore: Remove unused 'base_url' member.
Matthew Barnes [Mon, 26 Sep 2011 01:02:23 +0000 (21:02 -0400)]
CamelImapStore: Remove unused 'base_url' member.
Inaki Larranaga Murgoitio [Mon, 26 Sep 2011 13:25:45 +0000 (15:25 +0200)]
Updated Basque language
Carles Ferrando [Mon, 26 Sep 2011 12:39:01 +0000 (14:39 +0200)]
[l10n]Updated Catalan (Valencian) translation
Milan Crha [Mon, 26 Sep 2011 10:40:56 +0000 (12:40 +0200)]
Bug #659568 - One day delay in calendar view
Christophe Dumez [Tue, 20 Sep 2011 12:34:51 +0000 (15:34 +0300)]
e_util_utf8_make_valid: Remove dead code