platform/upstream/evolution-data-server.git
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.

20 years agopermit NULL absolute_uri, so we can clear it.
Chris Toshok [Tue, 1 Jun 2004 18:50:28 +0000 (18:50 +0000)]
permit NULL absolute_uri, so we can clear it.

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

* libedataserver/e-source.c (e_source_set_absolute_uri): permit
NULL absolute_uri, so we can clear it.

20 years agoback out the change that causes this function to always add an
Chris Toshok [Tue, 1 Jun 2004 18:38:37 +0000 (18:38 +0000)]
back out the change that causes this function to always add an

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

* libedataserver/e-source.c (e_source_set_group): back out the
change that causes this function to always add an absolute_uri to
the ESource, as this uri is always used instead of the
relative_uri in e_source_get_uri, which is NOT what we want in 99%
of the cases.  If you want an absolute uri, call
e_source_set_absolute_uri - it should never happen implicitly.
(e_source_copy): when copying an ESource don't create an absolute
uri when @source might have had one.
(e_source_set_absolute_uri): use strcmp, not ==.  also,
"source->priv->readonly" governs whether or not data can be stored
in the folder represented by the ESource, not that the ESource
itself is readonly.

20 years agoallow -1 for the start and end times. (load_static_capabilities,
Rodrigo Moya [Tue, 1 Jun 2004 16:32:31 +0000 (16:32 +0000)]
allow -1 for the start and end times. (load_static_capabilities,

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

* libecal/e-cal.c (e_cal_generate_instances_for_object,
e_cal_generate_instances): allow -1 for the start and end times.
(load_static_capabilities, add_instance): fixed warnings.

20 years agoallow -1 for the start and end times.
Rodrigo Moya [Tue, 1 Jun 2004 16:30:07 +0000 (16:30 +0000)]
allow -1 for the start and end times.

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

* libecal/e-cal.c (e_cal_generate_instances_for_object,
e_cal_generate_instances): allow -1 for the start and end times.

20 years agoallow -1 for the start and end times.
Rodrigo Moya [Tue, 1 Jun 2004 16:17:24 +0000 (16:17 +0000)]
allow -1 for the start and end times.

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

* libecal/e-cal.c (e_cal_generate_instances_for_object): allow -1
for the start and end times.

20 years agorevert accidental commit
JP Rosevear [Tue, 1 Jun 2004 14:03:06 +0000 (14:03 +0000)]
revert accidental commit

2004-06-01  JP Rosevear  <jpr@novell.com>

* libecal/*: revert accidental commit

20 years agouse the new e_gw_connection_remove_items which removes all the items form
Sivaiah Nallagatla [Tue, 1 Jun 2004 10:25:48 +0000 (10:25 +0000)]
use the new e_gw_connection_remove_items which removes all the items form

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

        * backends/groupwise/e-book-backend-groupwise.c (
        (e_book_backend_groupwise_remove_contacts) : use
        the new e_gw_connection_remove_items which removes all the
        items form the server at once instead of sending one request for each item

20 years ago** A few fixes for better rfc compliance, and cleaner code.
Not Zed [Tue, 1 Jun 2004 10:07:13 +0000 (10:07 +0000)]
** A few fixes for better rfc compliance, and cleaner code.

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

        ** A few fixes for better rfc compliance, and cleaner code.

        * camel-mime-utils.c (header_encode_param): a bunch of logic
        cleanups with new util functions.
        (header_decode_init): setup a new type ATTR_CHAR, for
        attribute-char.

        * tests/misc/test2.c (main): new test for rfc2184 stuff.

        * camel-mime-utils.c (header_convert): helper to convert between
        charsets.
        (rfc2184_decode): fix a bunch of logic problems and use the helper
        above to simplify code.
        (decode_param_token): removed, not needed.
        (header_decode_rfc2184_param): removed, not needed.
        (header_decode_param): removed, not needed.  ugh.
        (header_decode_param_list): completely rewritten, hence lack of
        need of above.

20 years agonew function to delete many items on server at onece instead sending one
Sivaiah Nallagatla [Tue, 1 Jun 2004 06:58:22 +0000 (06:58 +0000)]
new function to delete many items on server at onece instead sending one

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

        * e-gw-connection.[ch]  (e_gw_connection_remove_items):
        new function to delete many items on server at onece instead
        sending one request for each item, removal pretty fast :)

20 years agoDon't leak the zlib stream internals.
Jeffrey Stedfast [Tue, 1 Jun 2004 03:40:24 +0000 (03:40 +0000)]
Don't leak the zlib stream internals.

2004-05-31  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-filter-gzip.c (camel_mime_filter_gzip_finalize):
Don't leak the zlib stream internals.

20 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 31 May 2004 20:24:13 +0000 (20:24 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

20 years agoseparate out group handling from contact code and make a separate function
Sivaiah Nallagatla [Mon, 31 May 2004 13:52:43 +0000 (13:52 +0000)]
separate out group handling from contact code and make a separate function

2004-05-31  Sivaiah Nallagatla <snallagatla@novel.com>

        * e-gw-connection.c (set_group_fields_from_soap_parameter) :
        separate out group handling from contact code and make a
        separate function

20 years agoUpdated Spanish translation
Francisco Javier F. Serrador [Sun, 30 May 2004 12:40:43 +0000 (12:40 +0000)]
Updated Spanish translation

2004-05-30  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation

20 years agoUpdated Czech translation.
Miloslav Trmac [Sat, 29 May 2004 16:43:59 +0000 (16:43 +0000)]
Updated Czech translation.

2004-05-29  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

20 years agoFixes #55524
JP Rosevear [Fri, 28 May 2004 14:06:45 +0000 (14:06 +0000)]
Fixes #55524

2004-05-28  JP Rosevear  <jpr@novell.com>

Fixes #55524

* backends/file/e-cal-backend-file.c
(e_cal_backend_file_receive_objects): don't sanitize the
component, we already check for valid timezones and the zones
aren't merged in yet anyhow

20 years agoform the summary (e_book_backend_groupwise_start_book_view),
Sivaiah Nallagatla [Fri, 28 May 2004 13:41:01 +0000 (13:41 +0000)]
form the summary (e_book_backend_groupwise_start_book_view),

2004-05-28 Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-book-backend-groupwise.c
        ( e_book_backend_groupwise_authenicate_user) : form the summary
        (e_book_backend_groupwise_start_book_view),
        (e_book_backend_groupwise_get_contact_list) : search over
        the summary to get ids and retrieve those items from the summary

20 years agonew function to retrive items when ids are given instead of filter
Sivaiah Nallagatla [Fri, 28 May 2004 13:36:40 +0000 (13:36 +0000)]
new function to retrive items when ids are given instead of filter

2004-05-28  Sivaiah Nallagatla <snallagatla@novell.com>

        * e-gw-connection.[ch] (e_gw_connection_get_items_from_ids) :
        new function to retrive items when ids are given instead of filter

20 years agodisconnect from signals on the removed backend.
Rodrigo Moya [Fri, 28 May 2004 10:14:24 +0000 (10:14 +0000)]
disconnect from signals on the removed backend.

2004-05-28  Rodrigo Moya <rodrigo@novell.com>

* libedata-cal/e-data-cal-factory.c (backend_last_client_gone_cb):
disconnect from signals on the removed backend.

20 years agoThrow in null checks on mandatory fields to bypass crashes in e-d-s while
Harish Krishnaswamy [Fri, 28 May 2004 06:18:40 +0000 (06:18 +0000)]
Throw in null checks on mandatory fields to bypass crashes in e-d-s while

* backends/groupwise/e-cal-backend-groupwise-utils.c:
(e_gw_item_to_cal_component): Throw in null checks on
mandatory fields to bypass crashes in e-d-s while the server
gets fixed.
--------------------------------------------------------------------

20 years agoFixes bug #59191.
Jeffrey Stedfast [Thu, 27 May 2004 17:56:51 +0000 (17:56 +0000)]
Fixes bug #59191.

2004-05-27  Jeffrey Stedfast  <fejj@novell.com>

Fixes bug #59191.

* providers/imap/camel-imap-store.c (camel_imap_store_readline):
Don't override the exception with g_strerror() since presumably
camel_imap_store_is_connected() will have set that for us (and
will have a much more accurate exception anyway).

20 years agoUpdated Canadian English translation.
Alexander Winston [Thu, 27 May 2004 17:05:23 +0000 (17:05 +0000)]
Updated Canadian English translation.

2004-05-27  Alexander Winston  <alexander.winston@comcast.net>

* en_CA.po: Updated Canadian English translation.

20 years agomake sure we clean up the cache, or old events will always be kept.
Rodrigo Moya [Thu, 27 May 2004 15:27:42 +0000 (15:27 +0000)]
make sure we clean up the cache, or old events will always be kept.

2004-05-27  Rodrigo Moya <rodrigo@novell.com>

* backends/http/e-cal-backend-http.c (retrieval_done): make sure
we clean up the cache, or old events will always be kept.

20 years agonew function.
Rodrigo Moya [Thu, 27 May 2004 15:26:30 +0000 (15:26 +0000)]
new function.

2004-05-27  Rodrigo Moya <rodrigo@novell.com>

* libedataserver/e-file-cache.[ch] (e_file_cache_clean): new function.

20 years agocheck for NULL before freeing as service can be null in case of other type
Sivaiah Nallagatla [Thu, 27 May 2004 14:09:52 +0000 (14:09 +0000)]
check for NULL before freeing as service can be null in case of other type

2004-05-25  Sivaiah Nallagatla <snallagatla@novell.com>

        * e-gw-item.c (free_im_address) : check for NULL
        before freeing as service can be null in case of
        other type of im

20 years agoIf the store is not a vtrash store, just invoke the virtual method. (In
Dan Winship [Thu, 27 May 2004 13:48:58 +0000 (13:48 +0000)]
If the store is not a vtrash store, just invoke the virtual method. (In

        * camel-store.c (camel_store_get_trash): If the store is not a
        vtrash store, just invoke the virtual method. (In particular,
        don't assume that the trash folder's name is CAMEL_VTRASH_NAME).
        If it is a vtrash store, just let camel_store_get_folder() do the
        work since it's duplicated there anyway. #57114
        (camel_store_get_junk): Likewise.

20 years agoe-source with absoulute uri changes
Sushma Rai [Thu, 27 May 2004 13:23:55 +0000 (13:23 +0000)]
e-source with absoulute uri changes

20 years agoFixes #58197
Rodrigo Moya [Thu, 27 May 2004 12:24:12 +0000 (12:24 +0000)]
Fixes #58197

2004-05-27  Rodrigo Moya <rodrigo@novell.com>

Fixes #58197

* libedata-cal/e-cal-backend.c (e_cal_backend_create_object,
e_cal_backend_modify_object): removed assertions on method
implementations, since backends can perfectly have unimplemented
methods. Instead, notify the error.

20 years agoMake the ORBit >= 2.9.8 requirement more obvious to work around a problem
Rodney Dawes [Wed, 26 May 2004 15:51:49 +0000 (15:51 +0000)]
Make the ORBit >= 2.9.8 requirement more obvious to work around a problem

2004-05-26  Rodney Dawes  <dobey@novell.com>

* configure.in: Make the ORBit >= 2.9.8 requirement more obvious to
work around a problem with the AM_PATH_ORBIT2() m4 function not failing
properly when < 2.9.8 is found

* libedataserver/libedataserver-1.0.pc.in (Requires): Add the ORBit
requirement here, so that dependents pick it up properly as well

20 years agoset port property on e-source
Sivaiah nallagatla [Wed, 26 May 2004 15:00:49 +0000 (15:00 +0000)]
set port property on e-source

2004-05-25 Sivaiah nallagatla <snallagatla@novell.com>
        * providers/groupwise/came;-gw-listener.c (add_addressbook_sources):
        set port property on  e-source

20 years agoreturn NULL when there is no existing gw account with same uid
Sivaiah Nallagatla [Wed, 26 May 2004 10:32:44 +0000 (10:32 +0000)]
return NULL when there is no existing gw account with same uid

2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>

        * providers/groupwise/camel-gw-listener.c (lookup_account_info):
        return NULL when there is no existing gw account with same uid

20 years agoremove /soap part from uri. make port as a e-source property instead of
Sivaiah Nallagatla [Wed, 26 May 2004 05:47:11 +0000 (05:47 +0000)]
remove /soap part from uri. make port as a e-source property instead of

2004-05-25  Sivaiah Nallagatla <snallagatla@novell.com>

        * providers/groupwise/camel-gw-listener.c (add_addressbook_sources)
        (add_calendar_tasks_sources) : remove /soap part from uri.
        make port as a e-source property instead of putting it in uri
        to amek the uris same as that of mail for password sharing

20 years agoremoved.
Not Zed [Wed, 26 May 2004 04:24:01 +0000 (04:24 +0000)]
removed.

2004-05-25  Not Zed  <NotZed@Ximian.com>

        * camel-store.c (camel_folder_info_build_path): removed.

        * camel-store.h (CamelFolderInfo): removed 'path', fixed all
        callers.
        (struct _CamelStore): removed 'dir_sep' fixed all uses.

20 years agoUpdated British English translation
Gareth Owen [Tue, 25 May 2004 23:24:17 +0000 (23:24 +0000)]
Updated British English translation

20 years agonew function to form the uri required for e_gw_connection
Sivaiah Nallagatla [Tue, 25 May 2004 18:19:23 +0000 (18:19 +0000)]
new function to form the uri required for e_gw_connection

2004-05-25  Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-cal-backends-groupwise.c (form_uri) :
        new function to form the uri required for e_gw_connection
         (connect_to_server) : use form_uri instead of convert_uri

20 years agoport is no longer part of uri, read it from e-source
Sivaiah Nallagatla [Tue, 25 May 2004 18:15:01 +0000 (18:15 +0000)]
port is no longer part of uri, read it from e-source

2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>

        * backends/groupwise/e-book-backend-groupwise.c
        (e_book_backend_groupwise_load_source) : port
        is no longer part of uri, read it from e-source
         (set_memebers_in_groupwise_item) : compare emails with ignore case
        fixes #58888