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.
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.
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.
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.
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.
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.
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.
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.
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.
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
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
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.
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 :)
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.
Adam Weinberger [Mon, 31 May 2004 20:24:13 +0000 (20:24 +0000)]
Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
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
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
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.
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
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
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
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.
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.
--------------------------------------------------------------------
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).
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.
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.
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.
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
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.
Sushma Rai [Thu, 27 May 2004 13:23:55 +0000 (13:23 +0000)]
e-source with absoulute uri changes
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.
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
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
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
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
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.
Gareth Owen [Tue, 25 May 2004 23:24:17 +0000 (23:24 +0000)]
Updated British English translation
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
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
Chris Toshok [Tue, 25 May 2004 18:04:54 +0000 (18:04 +0000)]
encode the values we place in the sexp.
2004-05-25 Chris Toshok <toshok@ximian.com>
* libebook/e-book-query.c (e_book_query_to_string): encode the
values we place in the sexp.
Sivaiah Nallagatla [Tue, 25 May 2004 18:02:20 +0000 (18:02 +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
Harish Krishnaswamy [Tue, 25 May 2004 13:06:15 +0000 (13:06 +0000)]
Fixes #57218 and #54280
* backends/groupwise/e-cal-backend-groupwise-utils.c:
(start_freebusy_session): removed FIXME comments (the code had been
fixed much earlier).
(e_gw_item_set_changes):use the SET_DELTA macro to get accept_level
changes.
* backends/groupwise/e-cal-backend-groupwise.c:
(e_cal_backend_groupwise_modify_object),
(e_cal_backend_groupwise_remove_object),
(e_cal_backend_groupwise_send_objects): set return arguments correctly.
and removed dead code in remove_object.
* e-gw-item.c: (append_event_changes_to_soap_message):
use accept_level instead of AcceptLevel as the hash key
Rodrigo Moya [Tue, 25 May 2004 12:05:08 +0000 (12:05 +0000)]
return ObjectNotFound error instead of InvalidObject when the object is
2004-05-25 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_modify_object): return ObjectNotFound error
instead of InvalidObject when the object is not found.
Sivaiah Nallagatla [Tue, 25 May 2004 12:04:35 +0000 (12:04 +0000)]
add a case of organization type also, its handling is same as contact
2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>
* e-gw-item.c (e_gw_item_append_changes_to_soap_message) : add a case of
organization type also, its handling is same as contact
Rodrigo Moya [Tue, 25 May 2004 09:34:01 +0000 (09:34 +0000)]
make sure we process correctly the detached instances.
2004-05-22 Rodrigo Moya <rodrigo@ximian.com>
* backends/file/e-cal-backend-file.c (add_component): make sure we
process correctly the detached instances.
(match_object_sexp): deal with hash table entries not containing
a full_object (ie, detached recurrences).
Not Zed [Mon, 24 May 2004 08:02:10 +0000 (08:02 +0000)]
fix/rearrange logic. It was using the wrong working pointer.
2004-05-24 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (camel_header_newsgroups_decode):
fix/rearrange logic. It was using the wrong working pointer.
Sivaiah Nallagatla [Mon, 24 May 2004 06:47:26 +0000 (06:47 +0000)]
added CAMEL_PROVIDER_CONF_HIDDEN to conf item type enum. This is used by
2004-05-24 Sivaiah Nallagatla <snallagatla@novell.com>
* camel-provider.h : added CAMEL_PROVIDER_CONF_HIDDEN to
conf item type enum. This is used by groupwise provider
* providers/groupwise/camel-groupwise-provider.c : Added CAMEL_PROVIDER_CONF_HIDDEN
to groupwise_conf_entries to pass the auth-domain value
* providers/imap/camel-imap-store.c (imap_auth_loop) : read the auth-domain
property from imap url and pass it camel sesstion apis
Priit Laes [Sat, 22 May 2004 08:14:39 +0000 (08:14 +0000)]
Translation updated.
2004-05-22 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated.
Updated ja.po. T.Aihana [Sat, 22 May 2004 04:40:52 +0000 (04:40 +0000)]
2004-05-22 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Not Zed [Sat, 22 May 2004 01:37:22 +0000 (01:37 +0000)]
oops, forgot folder_created. Removed locking, the object bag serialises
2004-05-22 Not Zed <NotZed@Ximian.com>
* camel-store.c: oops, forgot folder_created. Removed locking, the
object bag serialises stuff for us.
(camel_store_get_junk): same.
Not Zed [Sat, 22 May 2004 00:44:40 +0000 (00:44 +0000)]
** Another unread count bug, #58814.
2004-05-22 Not Zed <NotZed@Ximian.com>
** Another unread count bug, #58814.
* camel-store.c (camel_store_class_init): added a folder_opened
event.
(camel_store_get_folder): emit a folder_opened event whenever we
[re] open the physical folder.
Jeffrey Stedfast [Fri, 21 May 2004 16:36:27 +0000 (16:36 +0000)]
Added a workaround for broken IMAP. Hopefully by forcing only the IMAP4
2004-05-21 Jeffrey Stedfast <fejj@novell.com>
* providers/imap/camel-imap-store.c (connect_to_server): Added a
workaround for broken IMAP. Hopefully by forcing only the IMAP4
command subst, we can work around their suckage.
Miloslav Trmac [Fri, 21 May 2004 14:45:16 +0000 (14:45 +0000)]
Updated Czech translation.
2004-05-21 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
JP Rosevear [Fri, 21 May 2004 13:18:56 +0000 (13:18 +0000)]
make sure we only handle the type of objects the backend is set up for
2004-05-21 JP Rosevear <jpr@novell.com>
* backends/file/e-cal-backend-file.c
(e_cal_backend_file_receive_objects): make sure we only handle
the
type of objects the backend is set up for plus timezones;
directly
add the objects rather than using other functions
Not Zed [Fri, 21 May 2004 09:08:09 +0000 (09:08 +0000)]
added a 'domain' argument, and rearragned arguments to be prettier and
2004-05-21 Not Zed <NotZed@Ximian.com>
* camel-session.c (camel_session_get_password): added a 'domain'
argument, and rearragned arguments to be prettier and more
consistent. Fixed all callers.
(camel_session_forget_password): added a domain argument. Fixed
all callers.
** See #58376.
* camel-folder.c (set_message_flags): if system flags change, then
don't trigger a folder changed event.
* camel-folder-summary.h (CAMEL_MESSAGE_SYSTEM_MASK): added this
to indicate which flags are internal/apps not interested in.
* camel-folder.c (filter_free): rearrange and use some helpers.
(folder_changed): if we're frozen, dont go firing off threads to
do any processing on each change, wait until we're called
unfrozen. Slight code rearragnement.
(filter_filter): add progress to junk learn/unlearn, and separate
them.
Not Zed [Fri, 21 May 2004 03:30:00 +0000 (03:30 +0000)]
re-arrange the code so exception debug will print the expanded
2004-05-20 Not Zed <NotZed@Ximian.com>
* camel-exception.c (camel_exception_setv): re-arrange the code so
exception debug will print the expanded description.
(camel_exception_set): print exception debug.
* providers/pop3/camel-pop3-folder.c (pop3_get_message): same.
* providers/local/camel-mh-folder.c (mh_get_message) *
providers/local/camel-mbox-folder.c (mbox_get_message): *
providers/local/camel-maildir-folder.c (maildir_get_message):
Don't use INVALID_UID for errors which are more system related.
And sync up all the error messages.
Suresh Chandrasekharan [Thu, 20 May 2004 20:34:59 +0000 (20:34 +0000)]
Fix for #58738 ja_JP.UTF-8: Evolution crashes when certain ASCII/non-ASCII
2004-05-19 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com>
Fix for #58738 ja_JP.UTF-8: Evolution crashes when certain
ASCII/non-ASCII combination is used in mail subject
* camel-mime-utils.c: (camel_header_encode_string) Use
camel_mime_is_lwsp for determining word separators,
according to rfc822 (which's also same for rfc2047).
g_unichar_isspace as word separator is illegal.
Jeffrey Stedfast [Thu, 20 May 2004 19:16:53 +0000 (19:16 +0000)]
Fixes bug #42295 and the infinite loop part of bug #58766 (these 2 bugs
2004-05-20 Jeffrey Stedfast <fejj@novell.com>
Fixes bug #42295 and the infinite loop part of bug #58766 (these 2
bugs are almost identical, except the server responses are broken
in different ways).
* providers/imap/camel-imap-folder.c (imap_update_summary): Remove
the kludge to re-SELECT the folder to force a re-FETCH of
message-info's. This 1) doesn't do what it was meant to do and 2)
has a tendency to cause infinite loops with broken servers such as
Courier-IMAP.
(imap_update_summary): Rework the loop that adds messages to the
summary such that if we encounetr an error, we break out and set
an exception (we can keep the messages up to the point of failure,
but none after that because otherwise our uid-to-seqid mapping
would be inconsistant with that of the server and could
potentially cause data loss).
Chris Toshok [Thu, 20 May 2004 18:22:20 +0000 (18:22 +0000)]
[ fixes bug #58495 ]
2004-05-20 Chris Toshok <toshok@ximian.com>
[ fixes bug #58495 ]
* libebook/e-book-async.c (worker): this is now a thread pool
function, so there's no to_worker_queue to pop things off of.
(init_async): create the thread pool with MAX_WORKERS threads
maximum.
(e_book_async_open, e_book_async_get_supported_fields)
(e_book_async_get_supported_auth_methods)
(e_book_async_authenticate_user, e_book_async_get_contact)
(e_book_async_remove_contacts, e_book_async_add_contact)
(e_book_async_commit_contact, e_book_async_get_book_view)
(e_book_async_get_contacts): use g_thread_pool_push here.
Not Zed [Thu, 20 May 2004 02:30:46 +0000 (02:30 +0000)]
oops, poke the right uid to get the article number.
2004-05-20 Not Zed <NotZed@Ximian.com>
* providers/nntp/camel-nntp-folder.c (nntp_folder_get_message):
oops, poke the right uid to get the article number.
(nntp_folder_cache_message): & here too. Somehow fixes #58700,
but i don't know why.
Not Zed [Thu, 20 May 2004 02:19:16 +0000 (02:19 +0000)]
copy the messageinfo rather than reference the source folder's one, we
2004-05-19 Not Zed <NotZed@Ximian.com>
* camel-folder.c (transfer_message_to): copy the messageinfo
rather than reference the source folder's one, we poke its flags
variable if the message is deleted. And dont re-delete the
message if its already deleted.
Chris Toshok [Thu, 20 May 2004 01:14:10 +0000 (01:14 +0000)]
use new e_book_new/e_book_open apis.
2004-05-19 Chris Toshok <toshok@ximian.com>
* backends/contacts/e-cal-backend-contacts.c (book_record_new):
use new e_book_new/e_book_open apis.
Chris Toshok [Thu, 20 May 2004 01:13:01 +0000 (01:13 +0000)]
port to new e_book_new/e_book_open apis.
2004-05-19 Chris Toshok <toshok@ximian.com>
* tests/ebook/*.c: port to new e_book_new/e_book_open apis.
* libebook/e-book-types.h (EBookStatus): URI -> SOURCE.
* libebook/e-book-async.c (e_book_async_open): new function,
mostly the same as e_book_async_load_source was.
(e_book_async_load_local_addressbook, e_book_async_load_source,
e_book_async_load_uri, e_book_async_get_default_addressbook):
nuke.
* libebook/e-book-async.h: remove prototypes for
e_book_async_load_uri/source/local_address, and
e_book_async_get_default_addressbook.
* libebook/e-book.c (EBookLoadState): URI -> SOURCE.
(e_book_add_contact): URI -> SOURCE, and "e_book_load_uri" ->
"e_book_open"
(e_book_commit_contact): same.
(e_book_get_supported_fields): same.
(e_book_get_supported_auth_methods): same.
(e_book_authenticate_user): same.
(e_book_get_contact): same.
(e_book_remove_contacts): same.
(e_book_get_book_view): same.
(e_book_get_contacts): same.
(e_book_get_changes): same.
(e_book_open): new function, mostly split out from the old
contents of fetch_corba_book. call Book::open here.
(e_book_remove): we no longer require the book is loaded here, as
the source (and corba book) is associated at e_book_new time.
(e_book_unload_uri): URI -> SOURCE.
(backend_died_cb): same.
(fetch_corba_book): split out roughly half of the inner loop (the
part that calls Book::open). This does nothing more than find a
factory that will hand us a reference to a corba book.
(e_book_load_source, e_book_load_uri,
e_book_load_local_addressbook, e_book_get_default_addressbook):
nuke.
(e_book_get_static_capabilities): URI -> SOURCE.
(e_book_get_self): use new e_book_new* api.
(e_book_set_default_addressbook): URI -> SOURCE.
(e_book_new): set the source and call fetch_corba_book here.
(e_book_new_from_uri): new function, implement in terms of the new
e_book_new.
(e_book_new_system_addressbook): new function, implement in terms
of e_book_new_from_uri.
(e_book_new_default_addressbook): new function, implement in terms
of the new e_book_new.
(e_book_init): URI -> SOURCE.
(e_book_dispose): same.
* libebook/e-book.h: rework the e_book_new_* api to be more like
the calendar. gone is the constructor with no args. now you
associate a source/uri/etc with an ebook at creation time. Also,
add e_book_open, and remove all the e_book_load_* calls.
Hans Petter Jansson [Thu, 20 May 2004 00:44:15 +0000 (00:44 +0000)]
Add EMAIL_4 field. (email_ids): Add EMAIL_4. (email_populate): Ditto.
2004-05-19 Hans Petter Jansson <hpj@ximian.com>
* backends/ldap/e-book-backend-ldap.c (add_to_supported_fields):
Add EMAIL_4 field.
(email_ids): Add EMAIL_4.
(email_populate): Ditto.
(email_ber): Ditto.
* libebook/e-contact.c (field_info): Add EMAIL_4 field.
* libebook/e-contact.h: Add EMAIL_4 field.
* libedata-book/e-book-backend-sexp.c (compare_email): Add
EMAIL_4.
* libedata-book/e-book-backend-summary.c: Add EMAIL_4 to structs,
bump version to 5000 (5.0).
(free_summary_item): Add EMAIL_4.
(e_book_backend_summary_load_item): Ditto.
(e_book_backend_summary_save_item): Ditto.
(e_book_backend_summary_add_contact): Ditto.
(do_compare): Ditto.
(e_book_backend_summary_get_summary_vcard): Ditto.
JP Rosevear [Wed, 19 May 2004 18:23:24 +0000 (18:23 +0000)]
bump version, libtool numbers
2004-05-19 JP Rosevear <jpr@novell.com>
* configure.in: bump version, libtool numbers
Rodrigo Moya [Wed, 19 May 2004 12:17:00 +0000 (12:17 +0000)]
Removes 100s of error dialogs as reported in #54211
2004-05-19 Rodrigo Moya <rodrigo@ximian.com>
Removes 100s of error dialogs as reported in #54211
* backends/http/e-cal-backend-http.c: added a flag to know when the
backend has been opened.
(reload_cb): set the "opened" flag to TRUE when we reload.
(retrieval_done): only notify errors when opening the backend, not
on each reload, or we'll get many error message dialogs when left
running for a few hours.
Not Zed [Wed, 19 May 2004 07:06:10 +0000 (07:06 +0000)]
use the article number instead of the messageid. Some servers are just
2004-05-19 Not Zed <NotZed@Ximian.com>
* providers/nntp/camel-nntp-folder.c (nntp_folder_get_message):
use the article number instead of the messageid. Some servers are
just broken.
(nntp_folder_cache_message): same. See #58655.
* camel-smime-context.c (sm_verify_cmsg): import the certs as
UsageEmailRecipient as well as signer, and also save the certs
always.
Not Zed [Wed, 19 May 2004 02:17:48 +0000 (02:17 +0000)]
** See #58641.
2004-05-19 Not Zed <NotZed@Ximian.com>
** See #58641.
* camel-vee-folder.c (vee_sync): don't rebuild auto-type vfolders.
they should always be consistent and it saves a lot of unecessary
work.
* camel-store.c (store_sync): we don't want to sync any vfolders
as part of the store sync call. its used for a different purpose
in vFolders. oh well its a hack.
Chris Toshok [Tue, 18 May 2004 19:10:30 +0000 (19:10 +0000)]
[ fixes #58522, and some other misc update problems ]
2004-05-18 Chris Toshok <toshok@ximian.com>
[ fixes #58522, and some other misc update problems ]
* libedata-book/evolutionperson.schema: make both evolutionPerson
and evolutionPersonList AUXILIARY classes, so they can be added to
inetOrgPerson objects in openldap 2.1.x+ servers.
* backends/ldap/e-book-backend-ldap.c (free_mods): guard against
mod->mod_bvalues/mod->mod_values being NULL... this shouldn't ever
happen, but it seem to, and is causing a crash.
(category_ber): simpler check to see if there are categories - get
the CATEGORIES property and check if it's NULL/0-length.
* libebook/e-contact.c (e_contact_set_property): remove the
CATEGORIES attribute if the string is empty or NULL, and do the
same for non-synthetic string attributes.
Harish Krishnaswamy [Tue, 18 May 2004 17:16:54 +0000 (17:16 +0000)]
Fixes #56320 and related timezone issues.
All datetime related fields are stored as strings and
not as time_t structures.
Rodrigo Moya [Tue, 18 May 2004 14:51:51 +0000 (14:51 +0000)]
always use a valid timezone.
2004-05-18 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range): always
use a valid timezone.
Rodrigo Moya [Tue, 18 May 2004 14:42:48 +0000 (14:42 +0000)]
don't use invalid timezones.
2004-05-18 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal-recur.c (cal_object_time_from_time): don't use invalid
timezones.
Rodrigo Moya [Tue, 18 May 2004 14:38:24 +0000 (14:38 +0000)]
make sure we always have a default timezone.
2004-05-18 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (e_cal_generate_instances): make sure we always have
a default timezone.
Not Zed [Tue, 18 May 2004 07:26:10 +0000 (07:26 +0000)]
do the same load of mailbox if we're in slow mode as we did for maildir.
2004-05-18 Not Zed <NotZed@Ximian.com>
* providers/local/camel-maildir-store.c (fill_fi): do the same
load of mailbox if we're in slow mode as we did for maildir.
#58294.
Sivaiah Nallagatla [Tue, 18 May 2004 05:51:35 +0000 (05:51 +0000)]
make sure not to add more than one item id for single email Fixes #58369
2004-05-18 Sivaiah Nallagatla <snallagatla@novell.com>
* backends/groupwise/e-book-backend-groupwise.c (set_members_in_gw_item) :
make sure not to add more than one item id for single email
Fixes #58369
(set_organization_in_gw_item) (set_organization_changes_in_gw_item) :
new functions to add organization field le storing contact on server
Fixes #57846
Sivaiah Nallagatla [Tue, 18 May 2004 05:37:16 +0000 (05:37 +0000)]
read organization_id also from soap response just append org_name of
2004-05-18 Sivaiah Nallagatla <snallagatla@novell.com>
* e-gw-item.c (set_contact_fields_from_soap_parameter) : read organization_id
also from soap response
* e-gw-item.c (append_office_info_to_soap_message) : just append org_name of organization-id
is not present
Rodney Dawes [Tue, 18 May 2004 03:29:25 +0000 (03:29 +0000)]
Add $(E_DATA_SERVER_LIBS) to link all the right dependencies for the mono
2004-05-17 Rodney Dawes <dobey@ximian.com>
* libedataserver/Makefile.am (libedataserver_la_LIBADD):
Add $(E_DATA_SERVER_LIBS) to link all the right dependencies for the
mono bindings to work correctly
Fixes #58615
2004-05-17 Rodney Dawes <dobey@ximian.com>
* libebook/Makefile.am (libebook_la_LIBADD):
* libedata-book/Makefile.am (libedata_book_la_LIBADD):
Add $(EVOLUTION_ADDRESSBOOK_LIBS) to link to all the right dependencies
so that the mono bindings will work correctly
Fixes #58615
2004-05-17 Rodney Dawes <dobey@ximian.com>
* libecal/Makefile.am (libecal_la_LIBADD):
* libedata-cal/Makefile.am (libedata_cal_la_LIBADD):
Add $(EVOLUTION_CALENDAR_LIBS) to link to all the right dependencies
so that the mono bindings will work correctly
Fixes #58615
2004-05-17 Rodney Dawes <dobey@ximian.com>
* Makefile.am (libegroupwise_la_LIBADD): Add $(E_DATA_SERVER_LIBS)
to link all the right dependencies for the mono bindings to work
correctly
Fixes #58615
Not Zed [Tue, 18 May 2004 03:18:21 +0000 (03:18 +0000)]
check for NULL implementation before calling it. (disco_sync): similar.
2004-05-18 Not Zed <NotZed@Ximian.com>
* camel-disco-folder.c (disco_expunge_uids): check for NULL
implementation before calling it.
(disco_sync): similar. Fixes crash #58278.
Chris Toshok [Mon, 17 May 2004 18:32:11 +0000 (18:32 +0000)]
[ fixes bug #57505 ]
2004-05-17 Chris Toshok <toshok@ximian.com>
[ fixes bug #57505 ]
* backends/ldap/e-book-backend-ldap.c (category_ber): only include
category list elements in the ber if they're non-empty.
(category_compare): don't free the const char*'s.
(address_ber): make static.
(add_to_supported_fields): make sure "categories" gets included in
the list if we support "category_list", since the contact editor
uses the former, not the latter (and they're really the same thing
as far as the backend is concerned.)
Jeffrey Stedfast [Mon, 17 May 2004 16:40:07 +0000 (16:40 +0000)]
Fixed a string type-o.
2004-05-17 Jeffrey Stedfast <fejj@novell.com>
* camel-folder-search.c (search_match_threads): Fixed a string type-o.
* camel-smime-context.c (sm_verify_cmsg): Fixed some spelling mistakes.
Jeffrey Stedfast [Mon, 17 May 2004 16:35:21 +0000 (16:35 +0000)]
If the encrypted block was also signed, set the signature verification
2004-05-17 Jeffrey Stedfast <fejj@novell.com>
* camel-gpg-context.c (gpg_decrypt): If the encrypted block was
also signed, set the signature verification status on the Validity
structure as well.
Rodrigo Moya [Mon, 17 May 2004 15:01:17 +0000 (15:01 +0000)]
Fixes #51412
2004-05-17 Rodrigo Moya <rodrigo@ximian.com>
Fixes #51412
* backends/file/e-cal-backend-file.c (remove_instance): re-add the
modified objects to the top-level icalcomponent after removing
instances.
(e_cal_backend_file_remove_object): manage the CALOBJ_MOD_THIS case
for an event with no RECURRENCE-ID.
Not Zed [Mon, 17 May 2004 05:38:30 +0000 (05:38 +0000)]
** Bug #56050.
2004-05-17 Not Zed <NotZed@Ximian.com>
** Bug #56050.
* providers/imap/camel-imap-store.c (imap_get_trash)
(imap_get_junk): similar to below.
* providers/local/camel-local-store.c (local_get_trash)
(local_get_junk): set state file on trash/junk to something we know
about.
Not Zed [Mon, 17 May 2004 05:12:17 +0000 (05:12 +0000)]
if we have no folder in-memory, load it if we're not doing it fast to get
2004-05-17 Not Zed <NotZed@Ximian.com>
* providers/local/camel-mh-store.c (fill_fi): if we have no folder
in-memory, load it if we're not doing it fast to get really up to
date unread counts. #57616.
Not Zed [Mon, 17 May 2004 03:44:27 +0000 (03:44 +0000)]
don't allow creation of Trash or Junk folders.
2004-05-14 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_create_folder): don't allow creation
of Trash or Junk folders.
(camel_store_rename_folder): similar for rename. #57250.
2004-05-13 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (summary_build_content_info): set secure
flag if we have a known security type.
(flag_names[]): Added secure bit.
(summary_build_content_info_message): set secure flag as
appropriate.
(summary_build_content_info_message): dont set attachments for
simple types (non text), only base it on multipart/* stuff.
(summary_build_content_info): same.
* camel-folder-summary.h: added SECURE flag. Indicates signed or
encrypted content.
Duarte Loreto [Sun, 16 May 2004 15:46:41 +0000 (15:46 +0000)]
Updated Portuguese translation.
2004-05-16 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated Portuguese translation.
Funda Wang [Sat, 15 May 2004 18:09:14 +0000 (18:09 +0000)]
Updated Simplified Chinese translation
Sivaiah Nallagatla [Fri, 14 May 2004 14:22:56 +0000 (14:22 +0000)]
set item type to E_GW_ITEM_TYPE_ORGANISATION when item type attribute is
2004-05-14 Sivaiah Nallagatla <snallagatla@novell.com>
* e-gw-item.c (e_gw_item_new_from_soap_parameter) : set item type to
E_GW_ITEM_TYPE_ORGANISATION when item type attribute is Organization
* e-gw-item.c (e_gw_item_append_to_soap_message) : add E_GW_ITEM_TYPE_ORGANISATION
case to create organization type items
Rodrigo Moya [Fri, 14 May 2004 12:29:09 +0000 (12:29 +0000)]
Fixes #56870
2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
Fixes #56870
* libedata-cal/e-cal-backend-sync.c (e_cal_backend_sync_create_object,
e_cal_backend_sync_modify_object, e_cal_backend_sync_remove_object,
e_cal_backend_sync_discard_alarm, e_cal_backend_sync_receive_objects,
e_cal_backend_sync_send_objects): don't g_assert if the method is not
implemented on the underlying backend, just return an UnsupportedMethod
error.
Rodrigo Moya [Fri, 14 May 2004 12:20:37 +0000 (12:20 +0000)]
added extra check for function arguments.
2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-cal-backend-sexp.c (e_cal_backend_sexp_func_make_time):
added extra check for function arguments.
Rodrigo Moya [Fri, 14 May 2004 12:18:30 +0000 (12:18 +0000)]
added missing implementation from recurreces-work-branch.
2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-cal-backend-cache.c (e_cal_backend_cache_put_timezone):
added missing implementation from recurreces-work-branch.
Rodrigo Moya [Fri, 14 May 2004 12:08:35 +0000 (12:08 +0000)]
use the default timezone if we can't get timezones for the start and end
2004-05-14 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal-recur.c (e_cal_recur_generate_instances_of_rule):
use the default timezone if we can't get timezones for the start
and end dates.
Jeffrey Stedfast [Thu, 13 May 2004 15:03:39 +0000 (15:03 +0000)]
added more headers to camel.h
Rodrigo Moya [Thu, 13 May 2004 10:31:36 +0000 (10:31 +0000)]
Fixes #54094
2004-05-13 Rodrigo Moya <rodrigo@ximian.com>
Fixes #54094
* backends/file/e-cal-backend-file.c (e_cal_backend_file_modify_object):
deal correctly with CALOBJ_MOD_THIS for master objects.
Rodrigo Moya [Thu, 13 May 2004 09:34:09 +0000 (09:34 +0000)]
fixed gtk-doc comments, and process correctly detached instances.
2004-05-12 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (e_cal_generate_instances): fixed gtk-doc comments,
and process correctly detached instances.
(e_cal_generate_instances_for_object): new function.
(e_cal_set_default_timezone): set the internal default timezone when
the call to the backend is successful.
(process_detached_instances): process correctly the detached instances.
Jeffrey Stedfast [Wed, 12 May 2004 20:55:44 +0000 (20:55 +0000)]
type-o fix for bug #58404
Jeffrey Stedfast [Wed, 12 May 2004 20:07:07 +0000 (20:07 +0000)]
eliminate the need for another variable
Jeffrey Stedfast [Wed, 12 May 2004 20:05:39 +0000 (20:05 +0000)]
oops, tiny fix
Jeffrey Stedfast [Wed, 12 May 2004 20:05:08 +0000 (20:05 +0000)]
Ignore PERMANENTFLAGS if it gives us an empty set. Works around broken
2004-05-12 Jeffrey Stedfast <fejj@novell.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_selected):
Ignore PERMANENTFLAGS if it gives us an empty set. Works around
broken IMAP servers like the one in bug #58355.
Harish Krishnaswamy [Wed, 12 May 2004 14:37:07 +0000 (14:37 +0000)]
Added implementation of modification of calendar items