platform/upstream/evolution-data-server.git
20 years agoref in the assignment. (e_book_response_get_supported_fields): same.
Chris Toshok [Thu, 24 Jun 2004 01:20:40 +0000 (01:20 +0000)]
ref in the assignment. (e_book_response_get_supported_fields): same.

2004-06-23  Chris Toshok  <toshok@ximian.com>

* libebook/e-book.c (e_book_response_add_contact): ref in the
assignment.
(e_book_response_get_supported_fields): same.
(e_book_response_get_supported_auth_methods): same.
(emit_async_get_contact_response): unref the book before
returning.
(e_book_response_get_contact): ref the book in the assignment.
(emit_async_get_book_view_response): unref the book before
returning.
(e_book_response_get_book_view): ref the book in the assignment.
(e_book_response_get_contacts): same.
(emit_async_get_changes_response): unref the book before
returning.
(e_book_response_get_changes): ref the book in the assignment.
(emit_async_generic_response): we ref before registering the idle
handler.
(e_book_response_generic): ref the book in the assignment.
(emit_async_open_response): unref the book before returning
(e_book_response_open): ref the book in the assignment.
(e_book_response_remove): same.

20 years agoRegister a segv handler to popup bug-buddy or whatever. Fixes bug #51165.
Jeffrey Stedfast [Wed, 23 Jun 2004 21:12:53 +0000 (21:12 +0000)]
Register a segv handler to popup bug-buddy or whatever. Fixes bug #51165.

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* src/server.c (main): Register a segv handler to popup bug-buddy
or whatever. Fixes bug #51165.

20 years agoKeep a ref on the book while we're accessing it, since the callback might
Hans Petter Jansson [Wed, 23 Jun 2004 21:03:58 +0000 (21:03 +0000)]
Keep a ref on the book while we're accessing it, since the callback might

2004-06-23  Hans Petter Jansson  <hpj@ximan.com>

* libebook/e-book.c (emit_async_generic_response): Keep a ref on
the book while we're accessing it, since the callback might unref
it to zero, causing a crash.

20 years agoHide password, etc info in the fi->uri's. (imap4_create_folder): Don't
Jeffrey Stedfast [Wed, 23 Jun 2004 20:26:56 +0000 (20:26 +0000)]
Hide password, etc info in the fi->uri's. (imap4_create_folder): Don't

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Hide password, etc info in the fi->uri's.
(imap4_create_folder): Don't bother to use
imap4_get_folder_info(), we can construct the fi ourselves.
(imap4_delete_folder): Emit the folder_deleted signal and
construct an fi ourselves.
(imap4_subscribe_folder): Same.
(imap4_unsubscribe_folder): Same.

* providers/imap4/camel-imap4-provider.c: Specify that the
fragment is the path.

20 years agoHide password, etc info in the fi->uri's.
Jeffrey Stedfast [Wed, 23 Jun 2004 20:07:07 +0000 (20:07 +0000)]
Hide password, etc info in the fi->uri's.

2004-06-23  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Hide password, etc info in the fi->uri's.

* providers/imap4/camel-imap4-provider.c: Specify that the
fragment is the path.

20 years agoAdd preconditions. Make sure garbage or NULL data doesn't get used.
Hans Petter Jansson [Tue, 22 Jun 2004 19:12:13 +0000 (19:12 +0000)]
Add preconditions. Make sure garbage or NULL data doesn't get used.

2004-06-22  Hans Petter Jansson  <hpj@ximian.com>

* misc/e-source-selector.c (e_source_selector_peek_primary_selection):
Add preconditions. Make sure garbage or NULL data doesn't get used.

20 years agoallow consumers of EDataBookView to control the thresholds used in
Chris Toshok [Tue, 22 Jun 2004 18:52:03 +0000 (18:52 +0000)]
allow consumers of EDataBookView to control the thresholds used in

2004-06-22  Chris Toshok  <toshok@ximian.com>

* libedata-book/e-data-book-view.c
(e_data_book_view_set_thresholds): allow consumers of
EDataBookView to control the thresholds used in aggregating
contacts before sending them to the gui.  allows us to implement
the different thresholds that were used in the 1.4.x ldap and file
backends.

* libedata-book/e-data-book-view.h: add prototype for
e_data_book_view_set_thresholds.

20 years agoclamp the search result limit to the ldap backend's limit.
Chris Toshok [Tue, 22 Jun 2004 02:20:54 +0000 (02:20 +0000)]
clamp the search result limit to the ldap backend's limit.

2004-06-21  Chris Toshok  <toshok@ximian.com>

* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_search): clamp the search result limit to the
ldap backend's limit.

20 years agoi2004-06-21 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 22 Jun 2004 01:27:53 +0000 (01:27 +0000)]
i2004-06-21  Chris Toshok  <toshok@ximian.com>

* libebook/e-contact.c (e_contact_get_const): reorder some stuff
so we only generate 1 free per string on object destruction.

20 years agocache the most recently fetched const pointer so we can hand it out more
Chris Toshok [Tue, 22 Jun 2004 00:52:56 +0000 (00:52 +0000)]
cache the most recently fetched const pointer so we can hand it out more

2004-06-21  Chris Toshok  <toshok@ximian.com>

* libebook/e-contact.c (e_contact_get_const): cache the most
recently fetched const pointer so we can hand it out more than
once (unless there's an intervening _set).  Should substantially
lessen the number of allocations we do because of this function.
(e_contact_set): clear the cached slot for this field, so we'll
allocate/return a new const string from e_contact_get_const.

20 years agoReally set the path if tag is CAMEL_SERVICE_PATH.
Christian Kellner [Mon, 21 Jun 2004 15:48:06 +0000 (15:48 +0000)]
Really set the path if tag is CAMEL_SERVICE_PATH.

2004-06-21  Christian Kellner <gicmo@xatom.net>

* camel-service.c (service_setv): Really set the path if tag is
CAMEL_SERVICE_PATH.

20 years agoFixed a number of issues described in bug #49497.
Jeffrey Stedfast [Mon, 21 Jun 2004 15:43:06 +0000 (15:43 +0000)]
Fixed a number of issues described in bug #49497.

2004-06-21  Jeffrey Stedfast  <fejj@novell.com>

* camel-mime-filter-enriched.c (enriched_to_html): Fixed a number
of issues described in bug #49497.

20 years ago[ fixes #59978 ]
Chris Toshok [Fri, 18 Jun 2004 22:34:54 +0000 (22:34 +0000)]
[ fixes #59978 ]

2004-06-18  Chris Toshok  <toshok@ximian.com>

[ fixes #59978 ]

* backends/ldap/e-book-backend-ldap.c (photo_ber): implement
(photo_compare): same.
(prop_info): set add ber/compare functions for E_CONTACT_PHOTO.

20 years agomake camel_shutdown() an atexit handler again
Jeffrey Stedfast [Fri, 18 Jun 2004 21:11:18 +0000 (21:11 +0000)]
make camel_shutdown() an atexit handler again

20 years agoCall camel_mime_utils_shutdown() and camel_operation_shutdown().
Jeffrey Stedfast [Fri, 18 Jun 2004 21:08:05 +0000 (21:08 +0000)]
Call camel_mime_utils_shutdown() and camel_operation_shutdown().

2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

* camel.c (camel_shutdown): Call camel_mime_utils_shutdown() and
camel_operation_shutdown().
(camel_init): Don't register camel_shutdown() as an atexit
handler.

* camel-operation.c (camel_operation_shutdown): New function.

* camel-mime-utils.c (camel_mime_utils_shutdown): New function to
clean up the compiled regexes.

20 years agoCall camel_mime_utils_shutdown() and camel_operation_shutdown().
Jeffrey Stedfast [Fri, 18 Jun 2004 20:07:09 +0000 (20:07 +0000)]
Call camel_mime_utils_shutdown() and camel_operation_shutdown().

2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

* camel.c (camel_shutdown): Call camel_mime_utils_shutdown() and
camel_operation_shutdown().

* camel-operation.c (camel_operation_shutdown): New function.

* camel-mime-utils.c (camel_mime_utils_shutdown): New function to
clean up the compiled regexes.

20 years agoNeed to re-init sbf->ptr and sbf->end too, or we'll be sorrryy!
Jeffrey Stedfast [Fri, 18 Jun 2004 18:13:22 +0000 (18:13 +0000)]
Need to re-init sbf->ptr and sbf->end too, or we'll be sorrryy!

2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

* camel-stream-buffer.c (set_vbuf): Need to re-init sbf->ptr and
sbf->end too, or we'll be sorrryy!

20 years ago"oops".
Chris Toshok [Fri, 18 Jun 2004 14:51:38 +0000 (14:51 +0000)]
"oops".

2004-06-18  Chris Toshok  <toshok@ximian.com>

* libebook/e-book.c (e_book_new_system_addressbook): "oops".

20 years ago[ fixes #57628 ]
Chris Toshok [Fri, 18 Jun 2004 13:14:31 +0000 (13:14 +0000)]
[ fixes #57628 ]

2004-06-18  Chris Toshok  <toshok@ximian.com>

[ fixes #57628 ]

* libebook/e-book.c (e_book_new_system_addressbook): use the
new_default_addressbook model, and search for a property on
sources (system=true).  If we find one, use that source, otherwise
default to ~/.evolution/local/system.

20 years agosetup for static inititialisation.
Not Zed [Fri, 18 Jun 2004 08:48:32 +0000 (08:48 +0000)]
setup for static inititialisation.

2004-06-18  Not Zed  <NotZed@Ximian.com>

        * camel-exception.h (CAMEL_EXCEPTION_INITIALISER): setup for
        static inititialisation.

20 years agomake 'colon' a const char *
Jeffrey Stedfast [Fri, 18 Jun 2004 02:48:53 +0000 (02:48 +0000)]
make 'colon' a const char *

20 years agoinit tail->last to (guint32) -1, so that index = tail->last + 1 will start
Jeffrey Stedfast [Fri, 18 Jun 2004 02:42:37 +0000 (02:42 +0000)]
init tail->last to (guint32) -1, so that index = tail->last + 1 will start

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (uidset_init): init
tail->last to (guint32) -1, so that index = tail->last + 1 will
start at 0 :-)

20 years agodown with e-book-async.h, up with e-book.h.
Chris Toshok [Thu, 17 Jun 2004 21:45:34 +0000 (21:45 +0000)]
down with e-book-async.h, up with e-book.h.

2004-06-17  Chris Toshok  <toshok@ximian.com>

* tests/ebook/test-ebook-async.c: down with e-book-async.h, up
with e-book.h.

* libedata-book/e-data-book.h: add @opid args to all the
e_data_book_respond* functions.

* libedata-book/e-data-book.c
(impl_GNOME_Evolution_Addressbook_Book_open): add @opid arg and
pass it on.
(impl_GNOME_Evolution_Addressbook_Book_remove): same.
(impl_GNOME_Evolution_Addressbook_Book_getContact): same.
(impl_GNOME_Evolution_Addressbook_Book_getContactList): same.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): same.
(impl_GNOME_Evolution_Addressbook_Book_addContact): same.
(impl_GNOME_Evolution_Addressbook_Book_removeContacts): same.
(impl_GNOME_Evolution_Addressbook_Book_modifyContact): same.
(impl_GNOME_Evolution_Addressbook_Book_getBookView): same.
(impl_GNOME_Evolution_Addressbook_Book_getChanges): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): same.
(impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): same.
(e_data_book_respond_open): same.
(e_data_book_respond_remove): same.
(e_data_book_respond_create): same.
(e_data_book_respond_remove_contacts): same.
(e_data_book_respond_modify): same.
(e_data_book_respond_authenticate_user): same.
(e_data_book_respond_get_supported_fields): same.
(e_data_book_respond_get_supported_auth_methods): same.
(e_data_book_respond_get_book_view): same.
(e_data_book_respond_get_contact): same.
(e_data_book_respond_get_contact_list): same.
(e_data_book_respond_get_changes): same.

* libedata-book/e-book-backend.h: add @opid args everywhere.

* libedata-book/e-book-backend.c (e_book_backend_open): add @opid
arg, and pass it along to the backend subclass, as well as all
calls to e_data_book_respond_*.
(e_book_backend_remove): same.
(e_book_backend_create_contact): same.
(e_book_backend_remove_contacts): same.
(e_book_backend_modify_contact): same.
(e_book_backend_get_contact): same.
(e_book_backend_get_contact_list): same.
(e_book_backend_start_book_view): same.
(e_book_backend_stop_book_view): same.
(e_book_backend_get_changes): same.
(e_book_backend_authenticate_user): same.
(e_book_backend_get_supported_fields): same.
(e_book_backend_get_supported_auth_methods): same.

* libedata-book/e-book-backend-sync.h: add @opid args everywhere.

* libedata-book/e-book-backend-sync.c
(e_book_backend_sync_create_contact): add @opid arg and pass it
along to subclass.
(e_book_backend_sync_remove): same.
(e_book_backend_sync_remove_contacts): same.
(e_book_backend_sync_modify_contact): same.
(e_book_backend_sync_get_contact): same.
(e_book_backend_sync_get_contact_list): same.
(e_book_backend_sync_get_changes): same.
(e_book_backend_sync_authenticate_user): same.
(e_book_backend_sync_get_supported_fields): same.
(e_book_backend_sync_get_supported_auth_methods): same.
(_e_book_backend_remove): same.
(_e_book_backend_create_contact): same.
(_e_book_backend_remove_contacts): same.
(_e_book_backend_modify_contact): same.
(_e_book_backend_get_contact): same.
(_e_book_backend_get_contact_list): same.
(_e_book_backend_get_changes): same.
(_e_book_backend_authenticate_user): same.
(_e_book_backend_get_supported_fields): same.
(_e_book_backend_get_supported_auth_methods): same.

* libebook/e-book.c (struct EBookOp): augment this structure with
enough info to handle the asynchronous operations.
(struct _EBookPrivate): remove the current_op pointer and add a
hashtable mapping ids to ops.  The current sync op is always id 0.
(e_book_new_op): add @sync arg.
(e_book_get_op): add @opid arg, and look up the op in the
hashtable.
(e_book_get_current_sync_op): convenience function to lookup the
current sync op.
(e_book_op_remove): remove the op from the hashtable.
(do_add_contact): split out all the code from e_book_add_contact
here, and make it handle both synchronous and async calling
sequences.
(e_book_add_contact): call do_add_contact.
(e_book_async_add_contact): same.
(e_book_response_add_contact): handle both sync/async ops.  sync =
notify on our cvar and return.  async = add idle handler that will
call the op's callback.
(emit_async_add_contact_response): idle handler for adding
contacts asynchronously.
(do_commit_contact): same pattern as above...
(do_get_supported_fields): same.
(do_get_supported_auth_methods): same.
(do_authenticate_user): same.
(do_get_contact): same.
(do_remove_contacts): same.
(do_get_book_view): same.
(do_get_contacts): same.
(do_get_changes): same.
(do_open): same.
(do_remove): same.

* libebook/e-book.h: move all the async api foo here.

* libebook/e-book-listener.h (struct _EBookListenerResponse): add
opid slot.

* libebook/e-book-listener.c
(impl_BookListener_respond_create_contact): add @opid arg and add
it to the response struct.
(impl_BookListener_respond_remove_contacts): same.
(impl_BookListener_respond_modify_contact): same.
(impl_BookListener_respond_get_contact): same.
(impl_BookListener_respond_get_contact_list): same.
(impl_BookListener_respond_get_view): same.
(impl_BookListener_respond_get_changes): same
(impl_BookListener_respond_open_book): same.
(impl_BookListener_respond_remove_book): same.
(impl_BookListener_respond_authentication_result): same.
(impl_BookListener_respond_get_supported_fields): same.
(impl_BookListener_respond_get_supported_auth_methods): same.

* libebook/Makefile.am (libebook_la_SOURCES): remove
e-book-async.c
(libebookinclude_HEADERS): remove e-book-async.h

* idl/Evolution-DataServer-Addressbook.idl: add opid args to all
the oneway void Book methods, and to all the responses in
BookListener.

* backends/vcf/e-book-backend-vcf.c
(e_book_backend_vcf_create_contact)
(e_book_backend_vcf_remove_contacts)
(e_book_backend_vcf_modify_contact)
(e_book_backend_vcf_get_contact)
(e_book_backend_vcf_get_contact_list)
(e_book_backend_vcf_authenticate_user)
(e_book_backend_vcf_get_supported_fields): add @opid arg.
(init_closure): make this more like the file:// backend.
(closure_destroy): free the cvar.
(book_view_thread): move the search code into another thread.
(e_book_backend_vcf_start_book_view): steal this from the file
backend.
(e_book_backend_vcf_stop_book_view): same.

* backends/ldap/e-book-backend-ldap.c (struct LDAPOp): add opid.
(ldap_op_add): add @opid arg.
(create_contact_handler): use op->opid in calls to
e_data_book_respond_*.
(e_book_backend_ldap_create_contact): same.
(remove_contact_handler): same.
(e_book_backend_ldap_remove_contacts): same.
(modify_contact_modify_handler): same.
(modify_contact_search_handler): same.
(e_book_backend_ldap_modify_contact): same.
(get_contact_handler): same.
(e_book_backend_ldap_get_contact): same.
(contact_list_handler): same.
(e_book_backend_ldap_get_contact_list): same.
(e_book_backend_ldap_authenticate_user): same.
(e_book_backend_ldap_get_supported_fields): same.
(e_book_backend_ldap_get_supported_auth_methods): same.
(e_book_backend_ldap_get_changes): add @opid arg.
(e_book_backend_ldap_remove): same.

* backends/groupwise/e-book-backend-groupwise.c
(e_book_backend_groupwise_create_contact)
(e_book_backend_groupwise_remove_contacts)
(e_book_backend_groupwise_modify_contact)
(e_book_backend_groupwise_get_contact)
(e_book_backend_groupwise_get_contact_list)
(e_book_backend_groupwise_get_changes)
(e_book_backend_groupwise_authenticate_user)
(e_book_backend_groupwise_get_supported_fields)
(e_book_backend_groupwise_get_supported_auth_methods)
(e_book_backend_groupwise_remove): : add @opid arg, and pass it to
e_data_book_respond_* functions.

* backends/file/e-book-backend-file.c
(e_book_backend_file_create_contact)
(e_book_backend_file_remove_contacts)
(e_book_backend_file_modify_contact)
(e_book_backend_file_get_contact)
(e_book_backend_file_get_contact_list)
(e_book_backend_file_get_changes)
(e_book_backend_file_authenticate_user)
(e_book_backend_file_get_supported_fields)
(e_book_backend_file_remove): add @opid arg.

20 years agoAdd support for the webcal, callto, and h323 URIs when we get them in
Rodney Dawes [Thu, 17 Jun 2004 21:29:54 +0000 (21:29 +0000)]
Add support for the webcal, callto, and h323 URIs when we get them in

2004-06-17  Rodney Dawes  <dobey@novell.com>

* camel-mime-filter-tohtml.c: Add support for the webcal, callto, and
h323 URIs when we get them in mails

20 years agoDon't foolishly unmunge From_ lines. First off, we don't even know if our
Jeffrey Stedfast [Thu, 17 Jun 2004 20:27:23 +0000 (20:27 +0000)]
Don't foolishly unmunge From_ lines. First off, we don't even know if our

2004-06-17  Jeffrey Stedfast  <fejj@novell.com>

* camel-mime-filter-tohtml.c: Don't foolishly unmunge From_
lines. First off, we don't even know if our input stream came from
an mbox file and secondly, the ">From " may have been intentional
by the author. We Just Don't Know (tm).

20 years agoMake sure we have elements in the array, if not then we're done (return a
Jeffrey Stedfast [Thu, 17 Jun 2004 16:59:44 +0000 (16:59 +0000)]
Make sure we have elements in the array, if not then we're done (return a

2004-06-15  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
Make sure we have elements in the array, if not then we're done
(return a NULL fi).

20 years agoFixed to work properly. It was getting ranges wrong before sometimes which
Jeffrey Stedfast [Thu, 17 Jun 2004 16:37:41 +0000 (16:37 +0000)]
Fixed to work properly. It was getting ranges wrong before sometimes which

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (imap4_get_uid_set): Fixed
to work properly. It was getting ranges wrong before sometimes
which was making me lose mail! Ugh.

20 years agoThanks to Christian Kellner for pointing out these bugs (and submitting
Jeffrey Stedfast [Thu, 17 Jun 2004 16:13:47 +0000 (16:13 +0000)]
Thanks to Christian Kellner for pointing out these bugs (and submitting

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

Thanks to Christian Kellner for pointing out these bugs (and
submitting the original patch for service_setv)

* camel-service.c (service_setv): Don't use (tag &
CAMEL_ARG_IGNORE) to determine if we should ignore this
tag. CAMEL_ARG_IGNORE is not a bit flag.

* providers/imap/camel-imap-store.c (imap_setv): Don't use (tag &
CAMEL_ARG_IGNORE) to determine if we should ignore this
tag. CAMEL_ARG_IGNORE is not a bit flag.

20 years agosimplified further
Jeffrey Stedfast [Thu, 17 Jun 2004 14:25:14 +0000 (14:25 +0000)]
simplified further

20 years agoOnly ignore if (tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &
Jeffrey Stedfast [Thu, 17 Jun 2004 14:24:28 +0000 (14:24 +0000)]
Only ignore if (tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &

2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-store.c (imap_setv): Only ignore if
(tag & CAMEL_ARG_TAG) == CAMEL_ARG_IGNORE, not if (tag &
CAMEL_ARG_IGNORE) is true.

20 years agoOnly force a re-update of all FLAGS if this folder wasn't in the SELECTED
Jeffrey Stedfast [Thu, 17 Jun 2004 03:11:23 +0000 (03:11 +0000)]
Only force a re-update of all FLAGS if this folder wasn't in the SELECTED

2004-06-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (imap4_refresh_info): Only
force a re-update of all FLAGS if this folder wasn't in the
SELECTED state. Otherwise, simply send a NOOP.

20 years agoAdded a 'first' member to the imap_fetch_all_t struct so we can use that
Jeffrey Stedfast [Thu, 17 Jun 2004 02:08:16 +0000 (02:08 +0000)]
Added a 'first' member to the imap_fetch_all_t struct so we can use that

2004-06-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c: Added a 'first' member to
the imap_fetch_all_t struct so we can use that as a base offset in
our GPtrArray, allowing us to limit resource consumption which
could otherwise get quite large. Also added a ChangeInfo member
that was needed for changes to untagged_fetch_all().
(imap4_fetch_all_add): Use fetch->first as a base offset and
change int i to guint32 i. Also updated to sue the fetch->changes.
(imap4_fetch_all_update): Same.
(untagged_fetch_all): Same - this is where it is really valuable,
since we can avoid adding elements to the GPtrArray that we won't
even use. Also needed to change code a big in case index <
fetch->first (which could happen if a server notified us of a
FLAGS change for a message we didn't request info about).
(imap4_fetch_all_free): Free the ChangeInfo.
(imap4_summary_fetch_all): Init fetch->changes and fetch->first.
(imap4_summary_fetch_flags): Same.
(camel_imap4_summary_flush_updates): Only request envelope info if
first <= summary->exists. Avoids needless queries.
(info_uid_sort): #if 0'd
(camel_imap4_summary_flush_updates): No need to sort the summary -
this should never have been needed. I can't remember why I did
this...

20 years agoAdded a 'first' member to the imap_fetch_all_t struct so we can use that
Jeffrey Stedfast [Thu, 17 Jun 2004 01:11:07 +0000 (01:11 +0000)]
Added a 'first' member to the imap_fetch_all_t struct so we can use that

2004-06-16  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c: Added a 'first' member to
the imap_fetch_all_t struct so we can use that as a base offset in
our GPtrArray, allowing us to limit resource consumption which
could otherwise get quite large. Also added a ChangeInfo member
that was needed for changes to untagged_fetch_all().
(imap4_fetch_all_add): Use fetch->first as a base offset and change
int i to guint32 i. Also updated to sue the fetch->changes.
(imap4_fetch_all_update): Same.
(untagged_fetch_all): Same - this is where it is really valuable,
since we can avoid adding elements to the GPtrArray that we won't
even use. Also needed to change code a big in case index <
fetch->first (which could happen if a server notified us of a
FLAGS change for a message we didn't request info about).
(imap4_fetch_all_free): Free the ChangeInfo.
(imap4_summary_fetch_all): Init fetch->changes and fetch->first.
(imap4_summary_fetch_flags): Same.

20 years agofix a path leak and maek the code more structured.
Not Zed [Wed, 16 Jun 2004 06:58:21 +0000 (06:58 +0000)]
fix a path leak and maek the code more structured.

2004-06-16  Not Zed  <NotZed@Ximian.com>

        * e-source-selector.c (cell_toggled_callback): fix a path leak and
        maek the code more structured.
        (e_source_selector_set_toggle_selection): set the mode on whether
        you can toggle the currnet selection or not.
        (cell_toggled_callback): implement set_toggle_selection behaviour.

20 years agoimplement, noop currently. Saves an assert exploding the server.
Not Zed [Wed, 16 Jun 2004 06:12:09 +0000 (06:12 +0000)]
implement, noop currently. Saves an assert exploding the server.

2004-06-16  Not Zed  <NotZed@Ximian.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (e_book_backend_groupwise_cancel_operation): implement, noop
        currently.  Saves an assert exploding the server.

        * backends/ldap/e-book-backend-ldap.c
        (e_book_backend_ldap_cancel_operation): implement.
        (ldap_cancel_op): cancel each operation synchronously (?).
        Related to #56479.

20 years agoabort and fail if we get an xml error setting up the new_source entries.
Not Zed [Wed, 16 Jun 2004 05:43:21 +0000 (05:43 +0000)]
abort and fail if we get an xml error setting up the new_source entries.

2004-06-14  Not Zed  <NotZed@Ximian.com>

        * libedataserver/e-source-group.c
        (e_source_group_new_from_xmldoc): abort and fail if we get an xml
        error setting up the new_source entries.  #59592.

20 years agoFixes #59352. Adds the EGwItemOrganizer structure and functions to convert
Harish Krishnaswamy [Tue, 15 Jun 2004 15:59:07 +0000 (15:59 +0000)]
Fixes #59352. Adds the EGwItemOrganizer structure and functions to convert
it to/from the <from> element in <distribution> soap element.

20 years agoUse camel_multipart_signed_get_content_stream() rather than getting the
Jeffrey Stedfast [Tue, 15 Jun 2004 15:19:23 +0000 (15:19 +0000)]
Use camel_multipart_signed_get_content_stream() rather than getting the

2004-06-15  Jeffrey Stedfast  <fejj@ximian.com>

* camel-gpg-context.c (gpg_verify): Use
camel_multipart_signed_get_content_stream() rather than getting
the first part and canonicalising it ourselves. Fixes bug #60159.

20 years agoInit have_unget to FALSE. Don't set unget to NULL, it's no longer a
Jeffrey Stedfast [Tue, 15 Jun 2004 13:36:34 +0000 (13:36 +0000)]
Init have_unget to FALSE. Don't set unget to NULL, it's no longer a

2004-06-15  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-stream.c (camel_imap4_stream_init):
Init have_unget to FALSE. Don't set unget to NULL, it's no longer
a pointer.
(camel_imap4_stream_finalize): No need to g_free() unget anymore.
(camel_imap4_stream_next_token): Check have_unget rather than
unget != NULL. Set have_unget to FALSE if we get an unget'd token.
(camel_imap4_stream_unget_token): Don't malloc space for an unget
token. The unget token is no longer a pointer.

20 years agoset EVC_X_DEST_CONTACT_UID EVC_X_DEST_NAME parameters also
Sivaiah Nallagatla [Tue, 15 Jun 2004 10:11:20 +0000 (10:11 +0000)]
set EVC_X_DEST_CONTACT_UID EVC_X_DEST_NAME parameters also

2004-06-15 Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (populate_contact_members) : set EVC_X_DEST_CONTACT_UID
        EVC_X_DEST_NAME parameters also
        (set_members_in_gw_item) : read the uid's of contacts
        and use them instead of searching based on email values

20 years agoadded "name" member ot EGroupMember structure free the newly added member
Sivaiah Nallagatla [Tue, 15 Jun 2004 09:28:28 +0000 (09:28 +0000)]
added "name" member ot EGroupMember structure free the newly added member

004-06-15 Sivaiah Nallagatla   <snallagatla@novell.com>

        * e-gw-item.h : added "name" member ot EGroupMember structure
        * e-gw-item.c (free_memeber) : free the newly added member also
         (set_group_fields_from_soap_parameter) : read name also
        from soap response

20 years agoFixes #57088
Rodrigo Moya [Mon, 14 Jun 2004 16:30:25 +0000 (16:30 +0000)]
Fixes #57088

2004-06-14  Rodrigo Moya <rodrigo@novell.com>

Fixes #57088

* backends/contacts/e-cal-backend-contacts.c (source_group_added_cb):
only add sources from local addressbook backends.

20 years agoupdate
Dan Winship [Mon, 14 Jun 2004 13:36:41 +0000 (13:36 +0000)]
update

20 years agoadd this
Dan Winship [Mon, 14 Jun 2004 13:35:57 +0000 (13:35 +0000)]
add this

20 years ago: add support for recurrences in events.
Harish Krishnaswamy [Mon, 14 Jun 2004 05:53:23 +0000 (05:53 +0000)]
: add support for recurrences in events.

* backends/groupwise/e-cal-backend-groupwise-utils.c:
(get_recur_instance), (resolve_tzid_cb) : add support for recurrences
in events.
(set_properties_from_cal_component), (e_gw_item_to_cal_component),
(e_gw_item_set_changes): Recipient_list handling code is now common to
both events and todos.
* backends/groupwise/e-cal-backend-groupwise.c: (populate_cache): Add
recipientStatus to the view element.
(receive_object): Send found_comp as argument to modify_object.
* e-gw-item.c: (e_gw_item_dispose), (e_gw_item_init),
(set_recipient_list_from_soap_parameter),
(e_gw_item_get_recurrence_dates), (e_gw_item_set_recurrence_dates),
(e_gw_item_append_to_soap_message):
Add support for recurrence in events.
(add_distribution_to_soap_message): Make recipient list handling code
common to both calendar and task items to support assignment in tasks.
* e-gw-item.h: add get/set methods for recurrences, status field to
EGwRecipient.

20 years agouse g_ascii_strcasecmp. (smtp_connect): do not re-helo after we've
Not Zed [Mon, 14 Jun 2004 02:46:03 +0000 (02:46 +0000)]
use g_ascii_strcasecmp. (smtp_connect): do not re-helo after we've

2004-06-14  Not Zed  <NotZed@Ximian.com>

        * providers/smtp/camel-smtp-transport.c (smtp_data): use
        g_ascii_strcasecmp.
        (smtp_connect): do not re-helo after we've authenticated.  This
        was a misreading of the spec.  We must only re-helo after a
        transport layer negotiation.

20 years agoTranslation updated by Mətin Əmirov.
Metin Amiroff [Sun, 13 Jun 2004 12:54:01 +0000 (12:54 +0000)]
Translation updated by Mətin Əmirov.

2004-06-13  Metin Amiroff  <metin@karegen.com>

* az.po: Translation updated by Mətin Əmirov.

20 years agoUpdated Simplified Chinese translation
Funda Wang [Sun, 13 Jun 2004 05:10:26 +0000 (05:10 +0000)]
Updated Simplified Chinese translation

20 years agoFlush summary updates for the currently selected folder. (imap4_noop):
Jeffrey Stedfast [Sat, 12 Jun 2004 17:27:51 +0000 (17:27 +0000)]
Flush summary updates for the currently selected folder. (imap4_noop):

2004-06-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary
updates for the currently selected folder.
(imap4_noop): Sync the currently selected folder before sending
NOOP.

20 years agoFlush summary updates for the currently selected folder.
Jeffrey Stedfast [Sat, 12 Jun 2004 15:08:10 +0000 (15:08 +0000)]
Flush summary updates for the currently selected folder.

2004-06-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-store.c (imap4_noop): Flush summary
updates for the currently selected folder.

20 years agoDon't bother with exists_changed. We don't need it afterall.
Jeffrey Stedfast [Sat, 12 Jun 2004 14:25:30 +0000 (14:25 +0000)]
Don't bother with exists_changed. We don't need it afterall.

2004-06-12  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_set_exists): Don't bother with
exists_changed. We don't need it afterall.
(camel_imap4_summary_flush_updates): Instead of updating flags if
update_flags or exists_changed is set, only bother if update_flags
is set or if exists is smaller than the summary count (since
updating flags is also sueful for determining which messages have
been removed).

20 years agoForce updating of the emsage flags (normally this only happens if
Jeffrey Stedfast [Fri, 11 Jun 2004 21:54:10 +0000 (21:54 +0000)]
Force updating of the emsage flags (normally this only happens if

2004-06-11  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-folder.c (imap4_refresh_info): Force
updating of the emsage flags (normally this only happens if
something has changed that warrants rescanning them).

20 years ago (pixbuf_cell_data_func): fix the appearance a little.
Larry Ewing [Fri, 11 Jun 2004 18:20:45 +0000 (18:20 +0000)]
(pixbuf_cell_data_func): fix the appearance a little.

20 years ago (pixbuf_cell_data_func): clean up warnings. (double bad larry).
Larry Ewing [Fri, 11 Jun 2004 18:07:54 +0000 (18:07 +0000)]
(pixbuf_cell_data_func): clean up warnings.  (double bad larry).

20 years ago (pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).
Larry Ewing [Fri, 11 Jun 2004 18:06:25 +0000 (18:06 +0000)]
(pixbuf_cell_data_func): actually initialize the pixbuf (bad larry).

20 years agomake the source selector use a colock block instead of setting the
Larry Ewing [Fri, 11 Jun 2004 18:01:25 +0000 (18:01 +0000)]
make the source selector use a colock block instead of setting the

2004-06-11  Larry Ewing  <lewing@ximian.com>

* misc/e-source-selector.c: make the source selector use a colock
block instead of setting the foreground to indicate the source
color.

20 years agoadded new schemas from Tim.
Rodrigo Moya [Fri, 11 Jun 2004 16:12:58 +0000 (16:12 +0000)]
added new schemas from Tim.

2004-06-11  Rodrigo Moya <rodrigo@novell.com>

* doc/gw-soap-methods.xsd:
* doc/gw-soap-types.xsd: added new schemas from Tim.

20 years agoif the deletion is successful, check if the object still exists, in which
Rodrigo Moya [Fri, 11 Jun 2004 15:54:15 +0000 (15:54 +0000)]
if the deletion is successful, check if the object still exists, in which

2004-06-11  Rodrigo Moya <rodrigo@novell.com>

* libedata-cal/e-cal-backend-sync.c (_e_cal_backend_remove_object): if
the deletion is successful, check if the object still exists, in which
case it means we removed an instance of a recurring event. Fixed
memory leak also.

* backends/file/e-cal-backend-file.c (e_cal_backend_file_remove_object):
return the old_object output argument in all cases.

20 years agoHandle getting FLAGS even though we didn't request it (server can send us
Jeffrey Stedfast [Fri, 11 Jun 2004 15:00:12 +0000 (15:00 +0000)]
Handle getting FLAGS even though we didn't request it (server can send us

2004-06-11  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-folder.c (untagged_fetch): Handle
getting FLAGS even though we didn't request it (server can send us
FLAGS info if another client changed them recently, for
example). Also fixed to handle the fact that not every bit of info
has to be in a single untagged FETCH response - it may come in
several untagged responses.

* providers/imap4/camel-imap4-summary.c (envelope_decode_address):
Decode the email address name token.
(envelope_decode_nstring): rfc2047 decode strings if requested.
(decode_envelope): Request that the subject string be rfc2047
decoded.

20 years agoif we scan from "" or top == NULL, then we really want to scan from "."
Not Zed [Fri, 11 Jun 2004 08:28:41 +0000 (08:28 +0000)]
if we scan from "" or top == NULL, then we really want to scan from "."

2004-06-11  Not Zed  <NotZed@Ximian.com>

        * providers/local/camel-maildir-store.c (get_folder_info): if we
        scan from "" or top == NULL, then we really want to scan from "."
        instead.

        * camel-url.c (camel_url_new_with_base): don't check the for a
        character after the # before extracting the fragment.  An empty
        fragment is still allowed and # should never be added to the path.
        See Rfc1808 2.4.1.

20 years ago some test code
Michael Zucci [Fri, 11 Jun 2004 08:27:25 +0000 (08:27 +0000)]
some test code

20 years ago (camel_imap4_summary_flush_updates): Added some logic to
Jeffrey Stedfast [Fri, 11 Jun 2004 06:08:04 +0000 (06:08 +0000)]
(camel_imap4_summary_flush_updates): Added some logic to
distinguish between EXISTS value changing because it changed and
because messages got expunged.

20 years agoDon't bother scanning summary info if EXISTS was 0.
Jeffrey Stedfast [Fri, 11 Jun 2004 05:56:35 +0000 (05:56 +0000)]
Don't bother scanning summary info if EXISTS was 0.

2004-06-11  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_flush_updates): Don't bother scanning summary
info if EXISTS was 0.
(camel_imap4_summary_set_uidvalidity): Emit the folder_changed
event after clearing the summary.
(camel_imap4_summary_expunge): Emit the folder_changed event after
removing the message from the summary.
(camel_imap4_summary_set_exists): Only set exists_changed if the
new and old exists values are different.
(imap4_fetch_all_add): Emit a folder_changed signal if any new
info's were added.
(imap4_fetch_all_update): Emit a folder_changed event if any uids
were removed or otherwise updated.
(camel_imap4_summary_expunge): Use seqid-1 to determine the actual
summary index.

20 years agoDon't bother scanning summary info if EXISTS was 0.
Jeffrey Stedfast [Fri, 11 Jun 2004 05:33:51 +0000 (05:33 +0000)]
Don't bother scanning summary info if EXISTS was 0.

2004-06-11  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-summary.c
(camel_imap4_summary_flush_updates): Don't bother scanning summary
info if EXISTS was 0.
(camel_imap4_summary_set_uidvalidity): Emit the folder_changed
event after clearing the summary.
(camel_imap4_summary_expunge): Emit the folder_changed event after
removing the message from the summary.

* providers/imap4/camel-imap4-folder.c (imap4_sync): Flush updates
after an EXPUNGE and don't unset expunge if we didn't delete
anything (the logic was wrong anyway).
(imap4_refresh_info): Implemented.

20 years agoDon't always try and parse a RESP-CODE in the BYE case as the RESP-CODE is
Jeffrey Stedfast [Fri, 11 Jun 2004 01:36:16 +0000 (01:36 +0000)]
Don't always try and parse a RESP-CODE in the BYE case as the RESP-CODE is

2004-06-10  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-engine.c
(camel_imap4_engine_handle_untagged_1): Don't always try and parse
a RESP-CODE in the BYE case as the RESP-CODE is optional.

20 years agoreplace strcasecmp with g_ascii_strcasecmp
Jeffrey Stedfast [Thu, 10 Jun 2004 23:19:48 +0000 (23:19 +0000)]
replace strcasecmp with g_ascii_strcasecmp

20 years agosome code cleanup
Jeffrey Stedfast [Thu, 10 Jun 2004 23:15:39 +0000 (23:15 +0000)]
some code cleanup

20 years agoIf flags does not include FOLDER_INFO_FAST, get the total/unread counts
Jeffrey Stedfast [Thu, 10 Jun 2004 19:47:46 +0000 (19:47 +0000)]
If flags does not include FOLDER_INFO_FAST, get the total/unread counts

2004-06-10  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (imap4_build_folder_info):
If flags does not include FOLDER_INFO_FAST, get the total/unread
counts for the folder-info.

* providers/imap4/camel-imap4-engine.c (engine_parse_status):
Removed.
(camel_imap4_engine_handle_untagged_1): Don't handle untagged
STATUS responses anymore. Let the STATUS requestor handle them
instead.

* providers/imap4/camel-imap4-utils.c
(camel_imap4_untagged_status): New function to parse untagged
status events.

20 years agoTranslation updated by Mətin Əmirov.
Metin Amiroff [Thu, 10 Jun 2004 18:32:18 +0000 (18:32 +0000)]
Translation updated by Mətin Əmirov.

2004-06-10  Metin Amiroff  <metin@karegen.com>

* az.po: Translation updated by Mətin Əmirov.

20 years agoadd some :filter debug. (open_folder): only ignore the get_folder
Not Zed [Thu, 10 Jun 2004 04:19:55 +0000 (04:19 +0000)]
add some :filter debug. (open_folder): only ignore the get_folder

2004-06-10  Not Zed  <NotZed@Ximian.com>

        * camel-filter-driver.c (camel_filter_driver_filter_message): add
        some :filter debug.
        (open_folder): only ignore the get_folder exception if we have a
        default folder, otherwise don't.  See #59727.

20 years agoUpdated finnish translation (again)
Ilkka Tuohela [Thu, 10 Jun 2004 03:29:52 +0000 (03:29 +0000)]
Updated finnish translation (again)

20 years agoUpdated finnish translation
Ilkka Tuohela [Thu, 10 Jun 2004 03:21:14 +0000 (03:21 +0000)]
Updated finnish translation

20 years ago[ probable fix for #58803 ]
Chris Toshok [Thu, 10 Jun 2004 03:05:08 +0000 (03:05 +0000)]
[ probable fix for #58803 ]

2004-06-09  Chris Toshok  <toshok@ximian.com>

[ probable fix for #58803 ]

* backends/ldap/e-book-backend-ldap.c (ldap_search_handler):
remove the ref/unref of the book view here.
(e_book_backend_ldap_search): move the dup_ref of the book view
here.
(ldap_search_dtor): and the release_unref to here.

20 years agomove the stream based checking into the loop, after we connect. Fixes a
Not Zed [Thu, 10 Jun 2004 02:13:24 +0000 (02:13 +0000)]
move the stream based checking into the loop, after we connect. Fixes a

2004-06-10  Not Zed  <NotZed@Ximian.com>

* providers/nntp/camel-nntp-store.c (camel_nntp_command): move the
stream based checking into the loop, after we connect.  Fixes a
crash.

20 years agowe don't need to lock/unlock the view's mutex anymore.
Chris Toshok [Thu, 10 Jun 2004 01:15:51 +0000 (01:15 +0000)]
we don't need to lock/unlock the view's mutex anymore.

2004-06-09  Chris Toshok  <toshok@ximian.com>

* backends/ldap/e-book-backend-ldap.c (ldap_search_dtor): we don't
need to lock/unlock the view's mutex anymore.

20 years agoFixed a case where it was possible to double-free the gpg context.
Jeffrey Stedfast [Wed, 9 Jun 2004 15:26:35 +0000 (15:26 +0000)]
Fixed a case where it was possible to double-free the gpg context.

2004-06-09  Jeffrey Stedfast  <fejj@novell.com>

* camel-gpg-context.c (gpg_verify): Fixed a case where it was
possible to double-free the gpg context.
(gpg_verify): If we don't have a public key, then the signature is
just BAD always.

20 years agooops, we already did a NODATA check. just save the state there rather than creating...
Jeffrey Stedfast [Wed, 9 Jun 2004 12:39:54 +0000 (12:39 +0000)]
oops, we already did a NODATA check. just save the state there rather than creating a new NODATA check :-)

20 years agooops, decrement the gpg->padding width
Jeffrey Stedfast [Wed, 9 Jun 2004 12:36:31 +0000 (12:36 +0000)]
oops, decrement the gpg->padding width

20 years agoDon't assign trust to be UNKNOWN if gpg sent us a NODATA status.
Jeffrey Stedfast [Wed, 9 Jun 2004 12:30:44 +0000 (12:30 +0000)]
Don't assign trust to be UNKNOWN if gpg sent us a NODATA status.

2004-06-09  Jeffrey Stedfast  <fejj@ximian.com>

* camel-gpg-context.c (gpg_verify): Don't assign trust to be
UNKNOWN if gpg sent us a NODATA status.

20 years ago[ fixes bug #58606 ]
Chris Toshok [Mon, 7 Jun 2004 21:03:32 +0000 (21:03 +0000)]
[ fixes bug #58606 ]

2004-06-07  Chris Toshok  <toshok@ximian.com>

[ fixes bug #58606 ]

* libebook/e-vcard.c (read_attribute_params): actually do what the
commend above this block says - if there aren't values, free the
parameter and skip past the character (unless it's a :).

20 years agoLoad the entire summary, not just the summary header. This way when the
Jeffrey Stedfast [Mon, 7 Jun 2004 19:29:09 +0000 (19:29 +0000)]
Load the entire summary, not just the summary header. This way when the

2004-06-07  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-folder.c (camel_imap4_folder_new):
Load the entire summary, not just the summary header. This way
when the user opens the folder, we don't do a complete re-sync
with the server unnecessarily.

* providers/imap4/camel-imap4-summary.c (untagged_fetch_all): New
info's always have a uid of "", so don't checkagainst NULL.

20 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Mon, 7 Jun 2004 18:48:26 +0000 (18:48 +0000)]
Updated Polish translation by GNOME PL Team.

2004-06-07  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

20 years agoImplemented, mostly. Still need to update state on the renamed folder
Jeffrey Stedfast [Mon, 7 Jun 2004 00:30:49 +0000 (00:30 +0000)]
Implemented, mostly. Still need to update state on the renamed folder

2004-06-06  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap4/camel-imap4-store.c (imap4_rename_folder):
Implemented, mostly. Still need to update state on the renamed
folder object if instantiated and rename the on-disk cache
directory.

* providers/imap4/camel-imap4-folder.c
(camel_imap4_folder_finalize): Free the cachedir.
(camel_imap4_folder_new): Init the cachedir and load the saved
summary before updating it against the server summary.

* providers/imap4/camel-imap4-store.c
(camel_imap4_store_finalize): Free the storage_path.
(imap4_construct): Init the storage_path.

20 years agoUpdated Catalan translation by Xavier Conde Rueda <xaviconde@eresmas.com>.
Jordi Mallach [Sat, 5 Jun 2004 20:59:28 +0000 (20:59 +0000)]
Updated Catalan translation by Xavier Conde Rueda <xaviconde@eresmas.com>.

20 years agoUpdated Albanian translation
Laurent Dhima [Sat, 5 Jun 2004 16:37:42 +0000 (16:37 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Sat, 5 Jun 2004 16:36:19 +0000 (16:36 +0000)]
Updated

20 years agoremoved debug printfs
Jeffrey Stedfast [Fri, 4 Jun 2004 19:32:10 +0000 (19:32 +0000)]
removed debug printfs

20 years agoInitialise the folder->summary and force an update of the message info
Jeffrey Stedfast [Fri, 4 Jun 2004 19:10:15 +0000 (19:10 +0000)]
Initialise the folder->summary and force an update of the message info

2004-06-04  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-folder.c (camel_imap4_folder_new):
Initialise the folder->summary and force an update of the message
info cache by selecting the folder and flushing the updates to the
imap4 summary object.

* providers/imap4/camel-imap4-store.c (imap4_get_folder_info):
Lock the connect_lock before we check if the engine is NULL and
after we connect (assuming we need to), initialise the engine
pointer again.
(imap4_get_folder_info): Doh. Need to escape the "'s in the LIST
command string.
(imap4_get_folder): Same.

20 years agoFixed to work properly. After we've flushed the buffer, we want to set
Jeffrey Stedfast [Fri, 4 Jun 2004 18:48:20 +0000 (18:48 +0000)]
Fixed to work properly. After we've flushed the buffer, we want to set

2004-06-04  Jeffrey Stedfast  <fejj@novell.com>

* camel-stream-buffer.c (stream_flush): Fixed to work
properly. After we've flushed the buffer, we want to set sbf->ptr
to sbf->buf, we don't want to do sbf->ptr += written, that'll just
corrupt our next write.

20 years agoDuh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER, not
Jeffrey Stedfast [Fri, 4 Jun 2004 18:37:13 +0000 (18:37 +0000)]
Duh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER, not

2004-06-04  Jeffrey Stedfast  <fejj@novell.com>

* providers/imap4/camel-imap4-store.c (connect_to_server_wrapper):
Duh. If the user doesn't care about SSL/TLS - use USE_SSL_NEVER,
not USE_SSL_ALWAYS.

20 years agoAlways just return 0, don't try to PR_Sync() - fsync on a socket causes an
Jeffrey Stedfast [Fri, 4 Jun 2004 18:04:07 +0000 (18:04 +0000)]
Always just return 0, don't try to PR_Sync() - fsync on a socket causes an

2004-06-04  Jeffrey Stedfast  <fejj@novell.com>

* camel-tcp-stream-ssl.c (stream_flush): Always just return 0,
don't try to PR_Sync() - fsync on a socket causes an error.

* providers/imap4/camel-imap4-command.c
(camel_imap4_command_step): Set exceptions when write/flush fail.

* providers/imap4/camel-imap4-engine.c
(camel_imap4_engine_take_stream): Set an exception in the case
where we get an unexpected greeting from the server.

* providers/imap4/camel-imap4-store.c (imap4_create_folder):
store->dir_sep no longer exists, so query the engine for the
directory separator for the parent_folder.
(imap4_build_folder_info): CamelFolderInfo no longer has a path
component.

20 years agoUpdated Hungarian translation.
Andras Timar [Fri, 4 Jun 2004 10:05:04 +0000 (10:05 +0000)]
Updated Hungarian translation.

2004-06-04  Andras Timar  <timar@gnome.hu>

* hu.po: Updated Hungarian translation.

20 years agoMerge from release branch.
JP Rosevear [Thu, 3 Jun 2004 17:13:09 +0000 (17:13 +0000)]
Merge from release branch.

20 years agonew function to update the summary after getting the changes from server
Sivaiah Nallagatla [Thu, 3 Jun 2004 13:48:36 +0000 (13:48 +0000)]
new function to update the summary after getting the changes from server

2004-06-03 Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (update_summary) : new function to update the summary
        after getting the changes from server

20 years agoreset current folder. (connect_to_server): and here too just to make sure.
Not Zed [Thu, 3 Jun 2004 12:06:48 +0000 (12:06 +0000)]
reset current folder. (connect_to_server): and here too just to make sure.

2004-06-03  Not Zed  <NotZed@Ximian.com>

        * providers/nntp/camel-nntp-store.c
        (nntp_disconnect_online): reset current folder.
        (connect_to_server): and here too just to make sure.

20 years agodisconnect if we get an io error or user cancellation.
Not Zed [Thu, 3 Jun 2004 11:30:52 +0000 (11:30 +0000)]
disconnect if we get an io error or user cancellation.

2004-06-03  Not Zed  <NotZed@Ximian.com>

        * providers/nntp/camel-nntp-store.c (camel_nntp_command):
        disconnect if we get an io error or user cancellation.

20 years agoonly save the summary, don't update from server, thats what refresh info
Not Zed [Thu, 3 Jun 2004 09:29:08 +0000 (09:29 +0000)]
only save the summary, don't update from server, thats what refresh info

2004-06-03  Not Zed  <NotZed@Ximian.com>

* providers/nntp/camel-nntp-folder.c (nntp_folder_sync_online):
only save the summary, don't update from server, thats what
refresh info does.
(nntp_folder_download_message): fix exception handling.
(nntp_folder_cache_message): same.
(nntp_folder_get_message): ditto, plus major cleanup.
(nntp_folder_download_message): take combined uid so it can cache
and lookup properly.  duh.

* providers/nntp/camel-nntp-store.c
(nntp_store_get_subscribed_folder_info): if not fast, then open
the folder, and update it.  Yeah i've given up trying to worry
about performance vs usability.

* providers/nntp/camel-nntp-summary.c (camel_nntp_summary_check):
update the storesummary if we update the folder summary.  Hmm,
isn't duplicated data meant to be a bad thing? :P

* providers/nntp/camel-nntp-store.c (camel_nntp_store_set_folder):
removed, now handled by nntp_command.
(nntp_connected): removed, now handled by nntp_command.

* camel-string-utils.c (camel_tolower): added ascii to-lower
function.
(camel_toupper): and upper, for completeness.

* camel-store-summary.c (CAMEL_STORE_SUMMARY_VERSION): bumped file
version by 1.  This is a mess, version 1 files treated the
bitfield 'flags' with bit number values not bits.  Messy.

* providers/nntp/camel-nntp-store-summary.c (store_info_save):
write last/first count.
(CAMEL_NNTP_STORE_SUMMARY_VERSION): bump version to 1.
(store_info_load): if we're loading >= version 1, then load
last/first counts.

* providers/nntp/camel-nntp-store.c
(nntp_store_get_folder_info_all): pass the whole line to
store_info_from_line, dont strip last/first info.
(nntp_store_info_update): renamed from info_new_from_line.  only
add if not present.  handle updates, try and handle unread counts
and readonly status.

2004-06-02  Not Zed  <NotZed@Ximian.com>

* providers/nntp/camel-nntp-store.c: setup xover once we've
started.

* providers/nntp/camel-nntp-summary.c: (xover_setup): moved to
nntp store.

* providers/nntp/camel-nntp-folder.c (folder_check)
(folder_check_free, camel_nntp_folder_new): remove async summary
stuff.

* providers/nntp/camel-nntp-store.c (camel_nntp_command): take
exception argument again, and folder argument.  do retry logic and
auth logic differently.
(camel_nntp_raw_command): raw command interface, dont try
reconnect or anything fancy.  pass i/o errors straight out, etc.
(camel_nntp_try_authenticate): change to return return codes &
take exception.

* providers/nntp/camel-nntp-summary.c (camel_nntp_summary_new):
just take path argument.
(camel_nntp_summary_check): take a store, and a folder name.
(add_range_head, add_range_xover): remove the time based update
events, they never had any effect anyway.  Take store argument.
(xover_setup): take store argument.

* camel-folder-search.c (search_match_threads): remove debug.

20 years agobump to 0.0.93.1 so we can rev evo's dep.
Chris Toshok [Wed, 2 Jun 2004 20:45:50 +0000 (20:45 +0000)]
bump to 0.0.93.1 so we can rev evo's dep.

2004-06-02  Chris Toshok  <toshok@ximian.com>

* configure.in: bump to 0.0.93.1 so we can rev evo's dep.

20 years agoonly allow values from 0 to time_t's maximum value.
Rodrigo Moya [Wed, 2 Jun 2004 16:15:00 +0000 (16:15 +0000)]
only allow values from 0 to time_t's maximum value.

2004-06-02  Rodrigo Moya <rodrigo@novell.com>

* libecal/e-cal.c (e_cal_generate_instances,
e_cal_generate_instances_for_object, e_cal_get_alarms_in_range,
e_cal_get_alarms_for_object): only allow values from 0 to time_t's
maximum value.

* libecal/e-cal.h: added missing prototype.

20 years agomoved all the logic... (generate_instances): ...here, so that we can
Rodrigo Moya [Tue, 1 Jun 2004 23:09:41 +0000 (23:09 +0000)]
moved all the logic... (generate_instances): ...here, so that we can

2004-06-01  Rodrigo Moya <rodrigo@novell.com>

* libecal/e-cal.c (e_cal_generate_instances): moved all the logic...
(generate_instances): ...here, so that we can specify a UID to
generate instances only for that UID.
(e_cal_generate_instances_for_object): use generate_instances
function and specify the UID of the object.

* libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_match_comp):
added checks for arguments.