platform/upstream/evolution-data-server.git
16 years agoSave the db, only if it is a db based search.
Srinivasa Ragavan [Mon, 18 Aug 2008 05:02:21 +0000 (05:02 +0000)]
Save the db, only if it is a db based search.

2008-08-18  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-search.c: Save the db, only if it is a db based
search.

svn path=/trunk/; revision=9367

16 years agoFix counts while expunging.
Srinivasa Ragavan [Mon, 18 Aug 2008 05:02:01 +0000 (05:02 +0000)]
Fix counts while expunging.

2008-08-18  Srinivasa Ragavan  <sragavan@novell.com>

* camel/providers/local/camel-mbox-summary.c: Fix counts while
expunging.

svn path=/trunk/; revision=9366

16 years agoMilan Crha <mcrha@redhat.com> ** Part of fix for bug #324203 (New function to retrie...
Suman Manjunath [Mon, 18 Aug 2008 04:59:37 +0000 (04:59 +0000)]
Milan Crha  <mcrha@redhat.com> ** Part of fix for bug #324203 (New function to retrieve account's source url params easily, Update GAL source's can-browse property properly).

svn path=/trunk/; revision=9365

16 years agoPatch from Priit Laes <plaes@plaes.org>: Fix for bug #548059 (NULL check message...
Suman Manjunath [Mon, 18 Aug 2008 04:11:54 +0000 (04:11 +0000)]
Patch from Priit Laes  <plaes@plaes.org>: Fix for bug #548059 (NULL check message-id before accessing its elements).

svn path=/trunk/; revision=9364

16 years agoMilan Crha <mcrha@redhat.com> ** Fix for bug #547786 (Test events against search...
Suman Manjunath [Mon, 18 Aug 2008 03:56:40 +0000 (03:56 +0000)]
Milan Crha  <mcrha@redhat.com> ** Fix for bug #547786 (Test events against search expression when required).

svn path=/trunk/; revision=9363

16 years ago** Fixes bug #547952
Matthew Barnes [Mon, 18 Aug 2008 03:27:00 +0000 (03:27 +0000)]
** Fixes bug #547952

2008-08-17  Matthew Barnes  <mbarnes@redhat.com>

** Fixes bug #547952

* libedataserverui/e-source-selector.c (rebuild_model):
Don't display empty source groups.

svn path=/trunk/; revision=9362

16 years agoPatch from Sergio Villar Senín <svillar@igalia.com>: Fix for bug #546444 (Don't...
Suman Manjunath [Mon, 18 Aug 2008 03:24:22 +0000 (03:24 +0000)]
Patch from Sergio Villar Senín  <svillar@igalia.com>: Fix for bug #546444 (Don't loop infinitely when the network connection is lost, instead exit with a connection error).

svn path=/trunk/; revision=9361

16 years agoDon't reset last notified percent value in each iteration (related to bug #531930).
Suman Manjunath [Mon, 18 Aug 2008 03:14:08 +0000 (03:14 +0000)]
Don't reset last notified percent value in each iteration (related to bug #531930).

svn path=/trunk/; revision=9360

16 years ago (google_book_construct_base_uri):
Jörgen Scheibengruber [Sat, 16 Aug 2008 19:10:05 +0000 (19:10 +0000)]
(google_book_construct_base_uri):
* backends/google/util.c (_add_type_param_from_google_rel):

Fix a small bug

svn path=/trunk/; revision=9359

16 years agoImprove the conversion between google rel field and vcard TYPE; use
Jörgen Scheibengruber [Sat, 16 Aug 2008 12:31:51 +0000 (12:31 +0000)]
Improve the conversion between google rel field and vcard TYPE; use

* backends/google/util.c (_gdata_entry_update_from_e_contact),
(_add_type_param_from_google_rel),
(add_type_param_from_google_rel_phone),
(add_type_param_from_google_rel), (add_label_param),
(_google_rel_from_types), (google_rel_from_types),
(google_rel_from_types_phone), (is_known_google_im_protocol),
(add_primary_param), (get_google_primary_type_label),
(attribute_from_gdata_entry_email_address),
(attribute_from_gdata_entry_im_address),
(attribute_from_gdata_entry_phone_number),
(attribute_from_gdata_entry_postal_address),
(gdata_entry_email_address_from_attribute),
(gdata_entry_im_address_from_attribute),
(gdata_entry_phone_number_from_attribute),
(gdata_entry_postal_address_from_attribute):

Improve the conversion between google rel field and vcard TYPE; use
X-EVOLUTION-UI-SLOT=1 as an indicator for primary; remove some unused code

* backends/google/google-book.c (google_book_cache_get_contacts),
(google_book_add_contact), (google_book_update_contact),
(google_book_get_contact), (google_book_error_from_soup_error):
* backends/google/google-book.h:

A bit of reformating and a new error code

svn path=/trunk/; revision=9358

16 years agoLet soup COPY the xml, since it's owned by the entry
Jörgen Scheibengruber [Sat, 16 Aug 2008 07:36:23 +0000 (07:36 +0000)]
Let soup COPY the xml, since it's owned by the entry

* gdata-google-service.c (gdata_google_service_insert_entry):
Let soup COPY the xml, since it's owned by the entry

svn path=/trunk/; revision=9357

16 years agoFix a call to a non-existent ECalBackend function name.
Matthew Barnes [Sat, 16 Aug 2008 04:22:45 +0000 (04:22 +0000)]
Fix a call to a non-existent ECalBackend function name.

2008-08-15  Matthew Barnes  <mbarnes@redhat.com>

* calendar/backends/groupwise/e-cal-backend-groupwise.c:
Fix a call to a non-existent ECalBackend function name.

* servers/google/libgdata-google/gdata-google-service.c
(gdata_google_service_authenticate):
Apparently this is public API now, since it's called from
google_book_connect_to_google().  Declare it as such.

* docs/reference: Fix the usual oversights.

svn path=/trunk/; revision=9356

16 years agoAdd missing files. Updated Norwegian bokmål translation.
Kjartan Maraas [Fri, 15 Aug 2008 12:58:56 +0000 (12:58 +0000)]
Add missing files. Updated Norwegian bokmål translation.

2008-08-15  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add missing files.
* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=9355

16 years agoPatch by Stanislav Slusny which adds variable to remember last notified
Tobias Mueller [Fri, 15 Aug 2008 02:44:45 +0000 (02:44 +0000)]
Patch by Stanislav Slusny which adds variable to remember last notified
value and method to set this new variable to zero. Notification is sent
only if new value is greater that last sent value.
Fixes bug 531930

svn path=/trunk/; revision=9354

16 years agoMake trash/junk close to a normal vee folder. Now their summaries are
Srinivasa Ragavan [Thu, 14 Aug 2008 19:40:00 +0000 (19:40 +0000)]
Make trash/junk close to a normal vee folder. Now their summaries are

2008-08-15  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vtrash-folder.c: Make trash/junk close to a normal vee
folder. Now their summaries are created, so it should be faster after
first touch.

svn path=/trunk/; revision=9353

16 years agoDebug the counts temporarily and don't try commit when therez nothing. We
Srinivasa Ragavan [Thu, 14 Aug 2008 19:39:29 +0000 (19:39 +0000)]
Debug the counts temporarily and don't try commit when therez nothing. We

2008-08-15  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Debug the counts temporarily and don't
try commit when therez nothing. We save lot of db calls.

svn path=/trunk/; revision=9352

16 years ago** Partial fix for bug #510949
Milan Crha [Thu, 14 Aug 2008 14:48:12 +0000 (14:48 +0000)]
** Partial fix for bug #510949

2008-08-14  Milan Crha  <mcrha@redhat.com>

** Partial fix for bug #510949

* servers/groupwise/e-gw-item.c: (e_gw_item_dispose), (e_gw_item_set_organizer):
Memory leak fix.

* calendar/backends/groupwise/e-cal-backend-groupwise.c: (get_deltas),
(e_cal_backend_groupwise_refresh_calendar):
Memory leak fix and compiler warnings fix.
* calendar/libecal/e-cal-component.c: (e_cal_component_get_recurid_as_string):
Possible memory leak fix.

svn path=/trunk/; revision=9351

16 years ago** Fix for bug #327851
Milan Crha [Thu, 14 Aug 2008 14:30:51 +0000 (14:30 +0000)]
** Fix for bug #327851

2008-08-14  Milan Crha  <mcrha@redhat.com>

** Fix for bug #327851

* libecal/e-cal.c: (generate_instances):
Skip detached instances which doesn't belong to requested time range.

svn path=/trunk/; revision=9350

16 years ago** Fix for bug #337503
Milan Crha [Thu, 14 Aug 2008 12:45:35 +0000 (12:45 +0000)]
** Fix for bug #337503

2008-08-14  Milan Crha  <mcrha@redhat.com>

** Fix for bug #337503

* storage/exchange-hierarchy-webdav.c: (xfer_folder):
Do not unref new folder, it's owned by the hierarchy.
* storage/exchange-account.c: (struct _ExchangeAccountPrivate), (init),
(dispose), (exchange_account_rescan_tree), (hierarchy_new_folder),
(exchange_account_get_folders), (exchange_account_get_folder_tree):
Removed unused variable and related code.
* storage/exchange-account.c: (hierarchy_removed_folder):
Do not unref more times than we actually reffed it before.

svn path=/trunk/; revision=9349

16 years ago** Fix for bug #547389
Srinivasa Ragavan [Thu, 14 Aug 2008 07:00:11 +0000 (07:00 +0000)]
** Fix for bug #547389

2008-08-14  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #547389

* camel/camel-vee-folder.c: Fix crash on account search. Unhook the
signals on finalize.

svn path=/trunk/; revision=9347

16 years agoUpdated Kannada Translation
Shankar Prasad [Thu, 14 Aug 2008 04:52:11 +0000 (04:52 +0000)]
Updated Kannada Translation

svn path=/trunk/; revision=9345

16 years agoClean up subfolders while finalizing.
Srinivasa Ragavan [Thu, 14 Aug 2008 04:12:29 +0000 (04:12 +0000)]
Clean up subfolders while finalizing.

2008-08-14  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c: Clean up subfolders while finalizing.

svn path=/trunk/; revision=9344

16 years agoAlways use non-ssl uri when adding entries to the feed; ssl does not seem
Jörgen Scheibengruber [Wed, 13 Aug 2008 21:53:46 +0000 (21:53 +0000)]
Always use non-ssl uri when adding entries to the feed; ssl does not seem

* backends/google/google-book.c (google_book_construct_base_uri),
(google_book_finalize), (google_book_add_contact):

Always use non-ssl uri when adding entries to the feed; ssl does not seem
to work for adding (not sure whether this is libsoup's or google's servers
fault).

* backends/google/util.c (_gdata_entry_update_from_e_contact):

Fix a small leak

svn path=/trunk/; revision=9343

16 years agoCreated new GoogleBook object that internally implements a local (either
Jörgen Scheibengruber [Wed, 13 Aug 2008 19:51:47 +0000 (19:51 +0000)]
Created new GoogleBook object that internally implements a local (either

* backends/google/Makefile.am:
* backends/google/e-book-backend-google.c
(e_book_backend_google_create_contact),
(e_book_backend_google_remove_contacts),
(e_book_backend_google_modify_contact),
(e_book_backend_google_get_contact),
(e_book_backend_google_get_contact_list),
(on_google_book_contact_added), (on_google_book_contact_removed),
(on_google_book_contact_changed),
(on_google_book_sequence_complete),
(e_book_backend_google_start_book_view),
(e_book_backend_google_stop_book_view),
(e_book_backend_google_authenticate_user),
(e_book_backend_google_remove), (on_google_book_auth_required),
(e_book_backend_google_load_source),
(e_book_backend_google_set_mode), (e_book_backend_google_dispose),
(e_book_backend_google_finalize),
(e_book_backend_status_from_google_book_error):
* backends/google/google-book.c (google_book_cache_init),
(google_book_cache_add_contact),
(google_book_cache_remove_contact),
(google_book_cache_get_contact), (_g_hash_table_to_list),
(google_book_cache_get_contacts), (google_book_cache_freeze),
(google_book_cache_thaw), (google_book_cache_get_last_update),
(google_book_cache_get_last_update_tv),
(google_book_cache_set_last_update),
(google_book_cache_needs_update),
(google_book_cache_refresh_if_needed), (on_refresh_timeout),
(google_book_cache_destroy), (google_book_construct_base_uri),
(google_book_get_property), (google_book_set_property),
(google_book_dispose), (google_book_finalize),
(google_book_emit_contact_added),
(google_book_emit_contact_changed),
(google_book_emit_contact_removed),
(google_book_emit_sequence_complete),
(google_book_emit_auth_required), (google_book_class_init),
(google_book_init), (google_book_new),
(google_book_connect_to_google), (google_book_set_offline_mode),
(google_book_add_contact), (google_book_update_contact),
(google_book_remove_contact), (process_subsequent_entry),
(process_initial_entry), (google_book_get_new_contacts_in_chunks),
(google_book_get_contact), (google_book_get_all_contacts),
(on_refresh_idle), (google_book_get_all_contacts_in_live_mode),
(google_book_set_live_mode), (google_book_error_from_soup_error):
* backends/google/google-book.h:

Created new GoogleBook object that internally implements a local (either
in-memory or on-disk) cache of the Google contacts list and updates it in
a specified interval.

* backends/google/util.c (_gdata_entry_new_from_e_contact),
(_gdata_entry_update_from_e_contact),
(_e_contact_new_from_gdata_entry),
(_e_contact_add_gdata_entry_xml),
(_e_contact_remove_gdata_entry_xml),
(_e_contact_get_gdata_entry_xml), (google_rel_label_from_type),
(attribute_from_gdata_entry_email_address),
(attribute_from_gdata_entry_im_address),
(attribute_from_gdata_entry_phone_number),
(attribute_from_gdata_entry_postal_address),
(get_google_primary_and_type),
(gdata_entry_email_address_from_attribute),
(gdata_entry_im_address_from_attribute),
(gdata_entry_phone_number_from_attribute),
(gdata_entry_postal_address_from_attribute):
* backends/google/util.h:

Removed some no longer needed utility functions. Use
e_contact_[get|_set]_name instead of custom fullname parsing. Try to
ensure that primary properities again land in the same slot after editing.

svn path=/trunk/; revision=9342

16 years agoBuild break and fix it better.
Srinivasa Ragavan [Wed, 13 Aug 2008 18:39:28 +0000 (18:39 +0000)]
Build break and fix it better.

2008-08-14  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Build break and fix it better.

svn path=/trunk/; revision=9341

16 years agoRevert junk/trash. It slows down. Needs reimpl.
Srinivasa Ragavan [Wed, 13 Aug 2008 17:25:12 +0000 (17:25 +0000)]
Revert junk/trash. It slows down. Needs reimpl.

2008-08-13  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vtrash-folder.c: Revert junk/trash. It slows down. Needs
reimpl.

svn path=/trunk/; revision=9340

16 years agoProperly unlock while aborting transaction.
Srinivasa Ragavan [Wed, 13 Aug 2008 17:24:46 +0000 (17:24 +0000)]
Properly unlock while aborting transaction.

2008-08-13  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Properly unlock while aborting transaction.

svn path=/trunk/; revision=9339

16 years agoAdd code to log better. It needs cleanup even now.
Srinivasa Ragavan [Wed, 13 Aug 2008 17:24:22 +0000 (17:24 +0000)]
Add code to log better. It needs cleanup even now.

2008-08-13  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Add code to log better. It needs cleanup even now.
* camel/camel-db.h:

svn path=/trunk/; revision=9338

16 years agoFix label search failure.
Srinivasa Ragavan [Wed, 13 Aug 2008 11:02:53 +0000 (11:02 +0000)]
Fix label search failure.

2008-08-13  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-search-sql.c: Fix label search failure.

svn path=/trunk/; revision=9337

16 years ago** Fix for bug #547469
Srinivasa Ragavan [Wed, 13 Aug 2008 03:55:08 +0000 (03:55 +0000)]
** Fix for bug #547469

2008-08-13  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #547469

* camel/camel-vee-folder.c: Count only when you have results.

svn path=/trunk/; revision=9335

16 years agoMake junk counts work well.
Srinivasa Ragavan [Tue, 12 Aug 2008 17:01:06 +0000 (17:01 +0000)]
Make junk counts work well.

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Make junk counts work well.

svn path=/trunk/; revision=9334

16 years agoMake vtrash folders almost same as vee folder.
Srinivasa Ragavan [Tue, 12 Aug 2008 17:00:12 +0000 (17:00 +0000)]
Make vtrash folders almost same as vee folder.

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vtrash-folder.c: Make vtrash folders almost same as vee
folder.

svn path=/trunk/; revision=9333

16 years agoFix invalid reads, by not double freeing.
Srinivasa Ragavan [Tue, 12 Aug 2008 16:59:17 +0000 (16:59 +0000)]
Fix invalid reads, by not double freeing.

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-search-sql.c: Fix invalid reads, by not double freeing.

svn path=/trunk/; revision=9332

16 years agoInitialize sql var to NULL
Srinivasa Ragavan [Tue, 12 Aug 2008 16:54:26 +0000 (16:54 +0000)]
Initialize sql var to NULL

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-search-sql.c: Initialize sql var to NULL

svn path=/trunk/; revision=9331

16 years ago** Fix for bug #547256
Srinivasa Ragavan [Tue, 12 Aug 2008 16:46:06 +0000 (16:46 +0000)]
** Fix for bug #547256

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #547256

* camel/camel-search-sql.c:  Handle plain match-all

svn path=/trunk/; revision=9330

16 years ago2.23.90
Chao-Hsiung Liao [Tue, 12 Aug 2008 12:14:25 +0000 (12:14 +0000)]
2.23.90

svn path=/trunk/; revision=9329

16 years ago** Part of fix for bug #547308
Milan Crha [Tue, 12 Aug 2008 08:42:51 +0000 (08:42 +0000)]
** Part of fix for bug #547308

2008-08-12  Milan Crha  <mcrha@redhat.com>

** Part of fix for bug #547308

* addressbook/libebook/e-book-types.h: New error of EBookStatus.
* addressbook/libebook/e-book-listener.c: (e_book_listener_convert_status):
Do recognize new error E_BOOK_ERROR_UNSUPPORTED_AUTHENTICATION_METHOD.

* servers/exchange/lib/e2k-global-catalog.c: (connect_ldap): Better warning on console.
* servers/exchange/lib/e2k-global-catalog-ldap.h: (e2k_global_catalog_get_ldap):
* servers/exchange/lib/e2k-global-catalog.c: (e2k_global_catalog_get_ldap):
Return also ldap error if requested.

svn path=/trunk/; revision=9327

16 years agoFix another search issue.
Srinivasa Ragavan [Tue, 12 Aug 2008 08:39:13 +0000 (08:39 +0000)]
Fix another search issue.

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-search-sql.c: Fix another search issue.

svn path=/trunk/; revision=9326

16 years agoComment out unused code with a reason.
Srinivasa Ragavan [Tue, 12 Aug 2008 08:36:19 +0000 (08:36 +0000)]
Comment out unused code with a reason.

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vtrash-folder.c: Comment out unused code with a reason.

svn path=/trunk/; revision=9325

16 years agoRevamp search with support for more cases.
Srinivasa Ragavan [Tue, 12 Aug 2008 05:19:09 +0000 (05:19 +0000)]
Revamp search with support for more cases.

2008-08-12  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-search-sql.c: Revamp search with support for more cases.

svn path=/trunk/; revision=9324

16 years agoUpdated Portuguese translation.
Duarte Loreto [Mon, 11 Aug 2008 15:27:48 +0000 (15:27 +0000)]
Updated Portuguese translation.

2008-08-11  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=9323

16 years agoUpdated Finnish translation
Ilkka Tuohela [Mon, 11 Aug 2008 11:48:04 +0000 (11:48 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=9322

16 years agoWords of warning
Sankar P [Mon, 11 Aug 2008 09:38:40 +0000 (09:38 +0000)]
Words of warning

2008-08-11  Sankar P  <psankar@novell.com>

* camel-db.c:
Words of warning

svn path=/trunk/; revision=9319

16 years agoSet HULA_DIR=hula if ENABLE_HULA. That was probably the intent but
Tor Lillqvist [Mon, 11 Aug 2008 09:26:41 +0000 (09:26 +0000)]
Set HULA_DIR=hula if ENABLE_HULA. That was probably the intent but

2008-08-11  Tor Lillqvist  <tml@novell.com>

* providers/Makefile.am: Set HULA_DIR=hula if ENABLE_HULA. That
was probably the intent but accidentally left out by mbarnes on
2008-07-31.

svn path=/trunk/; revision=9317

16 years agoRemove dummy db transactions.
Sankar P [Mon, 11 Aug 2008 08:08:44 +0000 (08:08 +0000)]
Remove dummy db transactions.

2008-08-11  Sankar P  <psankar@novell.com>

* camel-vee-folder.c (folder_changed_change):
Remove dummy db transactions.

svn path=/trunk/; revision=9316

16 years agoDo not attempt to print the full query when debug is on.
Sankar P [Mon, 11 Aug 2008 06:52:34 +0000 (06:52 +0000)]
Do not attempt to print the full query when debug is on.

2008-08-11  Sankar P  <psankar@novell.com>

* camel-db.c (cdb_sql_exec), (camel_db_count_message_info),
(camel_db_select):
Do not attempt to print the full query when debug is on.

svn path=/trunk/; revision=9315

16 years agoDo not attempt to delete non-existing uids from the db. Save some disk
Sankar P [Mon, 11 Aug 2008 06:45:47 +0000 (06:45 +0000)]
Do not attempt to delete non-existing uids from the db. Save some disk

2008-08-11  Sankar P  <psankar@novell.com>

* camel-folder-summary.c (summary_remove_uid),
(camel_folder_summary_remove), (camel_folder_summary_remove_uid):
Do not attempt to delete non-existing uids from the db.
Save some disk access and associated disk-head travel costs.

svn path=/trunk/; revision=9314

16 years agoSave the count on exit.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:24:57 +0000 (06:24 +0000)]
Save the count on exit.

2008-08-11  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c: Save the count on exit.

svn path=/trunk/; revision=9313

16 years agoRevamp vfolders and counts for it.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:24:33 +0000 (06:24 +0000)]
Revamp vfolders and counts for it.

2008-08-11  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c: Revamp vfolders and counts for it.
* camel/camel-vee-folder.h:

svn path=/trunk/; revision=9312

16 years agoMake the cache thread a bit intelligent and not to continue if the cache
Srinivasa Ragavan [Mon, 11 Aug 2008 06:24:13 +0000 (06:24 +0000)]
Make the cache thread a bit intelligent and not to continue if the cache

2008-08-11  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Make the cache thread a bit
intelligent and not to continue if the cache is nil and also start the
thread only if the contents are loaded.

svn path=/trunk/; revision=9311

16 years agoImplement replicated flags for vfolders.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:23:53 +0000 (06:23 +0000)]
Implement replicated flags for vfolders.

2008-08-09  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-summary.c: Implement replicated flags for vfolders.
* camel/camel-vee-summary.h:

svn path=/trunk/; revision=9310

16 years agoAdded summary reloaded event to camel object
Srinivasa Ragavan [Mon, 11 Aug 2008 06:23:32 +0000 (06:23 +0000)]
Added summary reloaded event to camel object

2008-08-09  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Added summary reloaded event to camel
object

svn path=/trunk/; revision=9309

16 years agoAdd API for vfolder tables migration.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:23:12 +0000 (06:23 +0000)]
Add API for vfolder tables migration.

2008-08-08  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Add API for vfolder tables migration.
* camel/camel-db.h:

svn path=/trunk/; revision=9308

16 years agoDisable custom getv function.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:22:51 +0000 (06:22 +0000)]
Disable custom getv function.

2008-08-08  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vtrash-folder.c: Disable custom getv function.

svn path=/trunk/; revision=9307

16 years agoRemove DIRTY message flag. It is redundant and in the wrong place.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:22:31 +0000 (06:22 +0000)]
Remove DIRTY message flag. It is redundant and in the wrong place.

2008-08-08  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.h: Remove DIRTY message flag. It is
redundant and in the wrong place.

svn path=/trunk/; revision=9306

16 years agoCheck the summary before using it. It crashes at some remote vtrash sort
Srinivasa Ragavan [Mon, 11 Aug 2008 06:22:05 +0000 (06:22 +0000)]
Check the summary before using it. It crashes at some remote vtrash sort

2008-08-08  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Check the summary before using it. It
crashes at some remote vtrash sort of folders.

svn path=/trunk/; revision=9305

16 years agoCheck exception before getting. You save lots of warnings.
Srinivasa Ragavan [Mon, 11 Aug 2008 06:21:43 +0000 (06:21 +0000)]
Check exception before getting. You save lots of warnings.

2008-08-08  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-search.c: Check exception before getting. You
save lots of warnings.

svn path=/trunk/; revision=9304

16 years agoAdd gthread-2.0 in CAMEL checking. Fixes bug #538074.
Jeff Cai [Mon, 11 Aug 2008 04:10:36 +0000 (04:10 +0000)]
Add gthread-2.0 in CAMEL checking. Fixes bug #538074.

2008-08-11  Jeff Cai <jeff.cai@sun.com>

        * configure.in: Add gthread-2.0 in CAMEL checking.
          Fixes bug #538074.

svn path=/trunk/; revision=9303

16 years agoMONITOR_DB_PERFORMANCE . Set this const int to non-zero, so as to know how
Sankar P [Sun, 10 Aug 2008 16:06:56 +0000 (16:06 +0000)]
MONITOR_DB_PERFORMANCE . Set this const int to non-zero, so as to know how

2008-08-11  Sankar P  <psankar@novell.com>

* camel-db.c (cdb_sql_exec), (camel_db_count_message_info),
(camel_db_select):
MONITOR_DB_PERFORMANCE . Set this const int to non-zero,
so as to know how much of time each db call takes.

svn path=/trunk/; revision=9301

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Fri, 8 Aug 2008 08:10:56 +0000 (08:10 +0000)]
Translation updated by Ivar Smolin

2008-08-08  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=9300

16 years agoFix a leak. Part of bgo #523103
Sankar P [Fri, 8 Aug 2008 06:51:31 +0000 (06:51 +0000)]
Fix a leak. Part of bgo #523103

2008-08-08  Sankar P  <psankar@novell.com>

* camel-groupwise-store.c (groupwise_folders_sync):
Fix a leak. Part of bgo #523103

svn path=/trunk/; revision=9299

16 years agoHarden e_account_get_* functions by checking for ea being NULL and some
Tobias Mueller [Thu, 7 Aug 2008 17:14:14 +0000 (17:14 +0000)]
Harden e_account_get_* functions by checking for ea being NULL and some
minor code cleanups suggested by mbarnes.
Fixes Bug 545021.

svn path=/trunk/; revision=9296

16 years ago** Fix for bug #324203
Milan Crha [Thu, 7 Aug 2008 12:06:51 +0000 (12:06 +0000)]
** Fix for bug #324203

2008-08-07  Milan Crha  <mcrha@redhat.com>

** Fix for bug #324203

* backends/ldap/e-book-backend-ldap.c: (can_browse),
(ldap_search_handler), (e_book_backend_ldap_search),
(e_book_backend_ldap_remove): Check for source option "can-browse"
in LDAP address books and if present, then search until reaches limits
for empty searches.

svn path=/trunk/; revision=9295

16 years ago** Part of fix for bug #535745
Milan Crha [Thu, 7 Aug 2008 09:17:19 +0000 (09:17 +0000)]
** Part of fix for bug #535745

2008-08-07  Milan Crha  <mcrha@redhat.com>

** Part of fix for bug #535745

* servers/google/libgdata/Makefile.am:
* servers/google/libgdata/libgdata.pc.in: Put public include files to google/libgdata.
* servers/google/libgdata/gdata-entry.c: (gdata_entry_new_from_xmlptr): When reading custom
values from the node, and the node doesn't contain text value, then
try to read its value from 'value' attribute.

* servers/google/libgdata-google/Makefile.am: Put public include files to google/libgdata-google.
* servers/google/libgdata-google/libgdata-google.pc.in: Do include also path to libgdata in CFLAGS.

svn path=/trunk/; revision=9294

16 years agoFixed a couple of warnings and removed the disabled debug printf's.
Chenthill Palanisamy [Thu, 7 Aug 2008 08:46:42 +0000 (08:46 +0000)]
Fixed a couple of warnings and removed the disabled debug printf's.

2008-08-08  Chenthill Palanisamy  <pchenthill@novell.com>

        * camel-imap-journal.c: (imap_entry_load), (imap_entry_write),
        (journal_decode_folder), (imap_entry_play):
        * camel-imap-search.c: (imap_body_contains): Fixed a couple of
        warnings and removed the disabled debug printf's.

svn path=/trunk/; revision=9293

16 years agoFix return values. Suppress No such table exception.
Srinivasa Ragavan [Thu, 7 Aug 2008 04:45:20 +0000 (04:45 +0000)]
Fix return values. Suppress No such table exception.

2008-08-07  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Fix return values.
* camel/camel-folder-search.c: Suppress No such table exception.

svn path=/trunk/; revision=9292

16 years agoStore to db intelligently.
Srinivasa Ragavan [Thu, 7 Aug 2008 04:44:19 +0000 (04:44 +0000)]
Store to db intelligently.

2008-08-07  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Store to db intelligently.

svn path=/trunk/; revision=9291

16 years agoFix load/save counts of vee folder.
Srinivasa Ragavan [Thu, 7 Aug 2008 04:43:22 +0000 (04:43 +0000)]
Fix load/save counts of vee folder.

2008-08-07  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c: Fix load/save counts of vee folder.
* camel/camel-vee-summary.c:

svn path=/trunk/; revision=9290

16 years ago** Fixes bug #545877
Matthew Barnes [Wed, 6 Aug 2008 16:57:37 +0000 (16:57 +0000)]
** Fixes bug #545877

2008-08-06  Matthew Barnes  <mbarnes@redhat.com>

** Fixes bug #545877

Use CamelDList instead of EDList throughout Camel.

svn path=/trunk/; revision=9288

16 years ago** Fix for bug #546613
Srinivasa Ragavan [Wed, 6 Aug 2008 16:44:00 +0000 (16:44 +0000)]
** Fix for bug #546613

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #546613

* camel/camel-vee-folder.c: return NULL, if unmatched folder is
requested.

svn path=/trunk/; revision=9287

16 years agoSome formatting changes. Set query only when it changes.
Srinivasa Ragavan [Wed, 6 Aug 2008 13:31:24 +0000 (13:31 +0000)]
Some formatting changes. Set query only when it changes.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Some formatting changes.
* camel/camel-vee-folder.c: Set query only when it changes.

svn path=/trunk/; revision=9286

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Wed, 6 Aug 2008 13:31:06 +0000 (13:31 +0000)]
Updated Japanese translation.

2008-08-06  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=9285

16 years agoRemove some unwanted code.
Srinivasa Ragavan [Wed, 6 Aug 2008 13:30:34 +0000 (13:30 +0000)]
Remove some unwanted code.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-summary.c: Remove some unwanted code.

svn path=/trunk/; revision=9284

16 years agoMark summary as dirty when it is.
Srinivasa Ragavan [Wed, 6 Aug 2008 13:30:01 +0000 (13:30 +0000)]
Mark summary as dirty when it is.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/providers/imap/camel-imap-folder.c: Mark summary as dirty when
it is.

svn path=/trunk/; revision=9283

16 years agoMark summary dirty when it is.
Srinivasa Ragavan [Wed, 6 Aug 2008 13:29:29 +0000 (13:29 +0000)]
Mark summary dirty when it is.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/providers/groupwise/camel-groupwise-folder.c: Mark summary
dirty when it is.

svn path=/trunk/; revision=9282

16 years agoRedo vfolders. It now works.
Srinivasa Ragavan [Wed, 6 Aug 2008 11:34:44 +0000 (11:34 +0000)]
Redo vfolders. It now works.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c: Redo vfolders. It now works.
* camel/camel-vee-folder.h:
* camel/camel-vee-summary.c:
* camel/camel-vtrash-folder.c:

svn path=/trunk/; revision=9281

16 years ago** Fix for bug #546544
Srinivasa Ragavan [Wed, 6 Aug 2008 11:34:25 +0000 (11:34 +0000)]
** Fix for bug #546544

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #546544

* camel/camel-folder-summary.c: Don't try print folder name, when
folder is NULL. Print the summary path for such debugging purposes.

svn path=/trunk/; revision=9280

16 years agoAdd apis to delete vuids in transaction and clean up add vuid api.
Srinivasa Ragavan [Wed, 6 Aug 2008 11:33:56 +0000 (11:33 +0000)]
Add apis to delete vuids in transaction and clean up add vuid api.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Add apis to delete vuids in transaction and clean
up add vuid api.
* camel/camel-db.h:

svn path=/trunk/; revision=9279

16 years agoStart fixing counts for vfolders.
Srinivasa Ragavan [Wed, 6 Aug 2008 11:33:36 +0000 (11:33 +0000)]
Start fixing counts for vfolders.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder.c: Start fixing counts for vfolders.

svn path=/trunk/; revision=9278

16 years agoAdded a api to drop and recreate vfolder table.
Srinivasa Ragavan [Wed, 6 Aug 2008 11:33:13 +0000 (11:33 +0000)]
Added a api to drop and recreate vfolder table.

2008-08-06  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-db.c: Added a api to drop and recreate vfolder table.
* camel/camel-db.h:

svn path=/trunk/; revision=9277

16 years ago** Part of fix for bug #546397
Milan Crha [Wed, 6 Aug 2008 09:17:47 +0000 (09:17 +0000)]
** Part of fix for bug #546397

2008-08-06  Milan Crha  <mcrha@redhat.com>

** Part of fix for bug #546397

* camel/camel-store.c: (construct): Do not use NULL in g_file_test.
* camel/camel-folder-search.c: (read_uid_callback): Cast to right type.
* camel/camel-folder-summary.c: (camel_folder_summary_remove_range):
Do not leak objects from loaded_infos array.

* camel/providers/nntp/camel-nntp-folder.c: (nntp_folder_search_free):
Guard access to 'search' member with its lock.

svn path=/trunk/; revision=9274

16 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Wed, 6 Aug 2008 08:30:01 +0000 (08:30 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=9273

16 years ago** Fix for bug #207728
Milan Crha [Wed, 6 Aug 2008 08:24:23 +0000 (08:24 +0000)]
** Fix for bug #207728

2008-08-06  Milan Crha  <mcrha@redhat.com>

** Fix for bug #207728

* e-name-selector-entry.c: (copy_or_cut_clipboard), (copy_clipboard),
(cut_clipboard), (e_name_selector_entry_init): Always cut/copy whole
address from the selector entry, when selected whole, thus paste will
be with correct address, not the text only.

svn path=/trunk/; revision=9272

16 years agoEvolution Data Server 2.23.6 release and version bump.
Srinivasa Ragavan [Wed, 6 Aug 2008 06:31:12 +0000 (06:31 +0000)]
Evolution Data Server 2.23.6 release and version bump.

2008-08-04  Srinivasa Ragavan  <sragavan@novell.com>

* NEWS: Evolution Data Server 2.23.6 release and version bump.

svn path=/trunk/; revision=9270

16 years agoRemove comment from camel-vee-folder.c
Srinivasa Ragavan [Tue, 5 Aug 2008 16:33:24 +0000 (16:33 +0000)]
Remove comment from camel-vee-folder.c

svn path=/trunk/; revision=9269

16 years ago** Fix for bug #545505
Srinivasa Ragavan [Tue, 5 Aug 2008 16:32:49 +0000 (16:32 +0000)]
** Fix for bug #545505

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #545505

* camel/camel-folder-summary.c: Don't bother starting cache kick off
threads for zombie summaries.
* camel/camel-folder.c: When we unref a folder, kick off the freeing
thread from summary.

svn path=/trunk/; revision=9268

16 years ago** Fix for bug #546415
Srinivasa Ragavan [Tue, 5 Aug 2008 16:32:02 +0000 (16:32 +0000)]
** Fix for bug #546415

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #546415

* camel/providers/imap/camel-imap-search.c: The summary is now uids.
So deal it that way.

svn path=/trunk/; revision=9267

16 years agoFixes part of #533823
Chenthill Palanisamy [Tue, 5 Aug 2008 08:42:35 +0000 (08:42 +0000)]
Fixes part of #533823

2008-08-05  Chenthill Palanisamy  <pchenthill@novell.com>

        Fixes part of #533823
        * camel-offline-store.c:
        * (camel_offline_store_get_network_state),
        (camel_offline_store_set_network_state): set the network state
        to online before calling camel_service_connect as the providers
        depend on that.
        * camel-offline-store.h:
        * providers/Makefile.am: Disco->Offline migration code.

svn path=/trunk/; revision=9266

16 years agoAdded libebook to the list of libraries to be linked with.
Bharath Acharya [Tue, 5 Aug 2008 08:30:09 +0000 (08:30 +0000)]
Added libebook to the list of libraries to be linked with.

2008-08-05  Bharath Acharya  <abharath@novell.com>

        * backends/webdav/Makefile.am: Added libebook to the list of
        libraries to be linked with.

svn path=/trunk/; revision=9265

16 years agoSafe guard against missing infos and protect them and added debug logs for
Srinivasa Ragavan [Tue, 5 Aug 2008 07:16:17 +0000 (07:16 +0000)]
Safe guard against missing infos and protect them and added debug logs for

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c:
* camel/camel-vee-summary.c: Safe guard against missing infos and
protect them and added debug logs for erring cases.

svn path=/trunk/; revision=9264

16 years agoLoad the summary from db, only if the searching length is more than in
Srinivasa Ragavan [Tue, 5 Aug 2008 05:25:06 +0000 (05:25 +0000)]
Load the summary from db, only if the searching length is more than in

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-folder-search.c: Load the summary from db, only if the
searching length is more than in memory cache.

svn path=/trunk/; revision=9263

16 years agoFix search by uids. Pro'lly a typo.
Srinivasa Ragavan [Tue, 5 Aug 2008 05:24:27 +0000 (05:24 +0000)]
Fix search by uids. Pro'lly a typo.

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-digest-folder.c: Fix search by uids. Pro'lly a typo.

svn path=/trunk/; revision=9262

16 years ago** Fix for bug #546184
Srinivasa Ragavan [Tue, 5 Aug 2008 05:23:49 +0000 (05:23 +0000)]
** Fix for bug #546184

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #546184

* camel/camel-folder-search.c: Search if we are under match_all.

svn path=/trunk/; revision=9261

16 years agoList sqlite3 as a requirement.
Matthew Barnes [Mon, 4 Aug 2008 20:30:42 +0000 (20:30 +0000)]
List sqlite3 as a requirement.

2008-08-04  Matthew Barnes  <mbarnes@redhat.com>

* camel.pc.in: List sqlite3 as a requirement.

svn path=/trunk/; revision=9260

16 years agoLoad spool's summary
Srinivasa Ragavan [Mon, 4 Aug 2008 19:04:15 +0000 (19:04 +0000)]
Load spool's summary

2008-08-05  Srinivasa Ragavan  <sragavan@novell.com>

* camel/providers/local/camel-spool-summary.c: Load spool's summary

svn path=/trunk/; revision=9259

16 years agoUpdate ChangeLog
Srinivasa Ragavan [Mon, 4 Aug 2008 17:29:50 +0000 (17:29 +0000)]
Update ChangeLog

svn path=/trunk/; revision=9258

16 years ago** Fix for bug #546194
Srinivasa Ragavan [Mon, 4 Aug 2008 17:29:32 +0000 (17:29 +0000)]
** Fix for bug #546194

2008-08-04  Srinivasa Ragavan  <sragavan@novell.com>

** Fix for bug #546194

* camel/camel-folder.c: Use the right path for spool a/c
* camel/camel-store.c: Use the right path for spool a/c

svn path=/trunk/; revision=9257

16 years agoFix some basic vfolder code for disk summary.
Srinivasa Ragavan [Mon, 4 Aug 2008 17:29:07 +0000 (17:29 +0000)]
Fix some basic vfolder code for disk summary.

2008-08-04  Srinivasa Ragavan  <sragavan@novell.com>

* camel/camel-vee-folder.c: Fix some basic vfolder code for disk
summary.

svn path=/trunk/; revision=9256

16 years agoFix while moving to offline.
Srinivasa Ragavan [Mon, 4 Aug 2008 07:09:53 +0000 (07:09 +0000)]
Fix while moving to offline.

2008-08-04  Srinivasa Ragavan  <sragavan@novell.com>

* camel-folder-search.c: (camel_folder_search_search): Fix while
moving to offline.
* camel-search-sql.c: (camel_sexp_to_sql):

svn path=/trunk/; revision=9255

16 years agoPatch from Matthias Braun <matze@braunis.de>: Fix for bug #544051 (WebDAV backend...
Suman Manjunath [Mon, 4 Aug 2008 04:21:54 +0000 (04:21 +0000)]
Patch from Matthias Braun <matze@braunis.de>: Fix for bug #544051 (WebDAV backend for addressbook).

svn path=/trunk/; revision=9254