Jeffrey Stedfast [Tue, 23 Mar 2004 17:14:00 +0000 (17:14 +0000)]
Reworked the else bit to fix a bug where if we had the BODY structure, we
2004-03-23 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (imap_get_message): Reworked
the else bit to fix a bug where if we had the BODY structure, we simply
wouldn't try fetching the actual message.
Not Zed [Tue, 23 Mar 2004 08:48:50 +0000 (08:48 +0000)]
use camel debug to add some debug here.
2004-03-23 Not Zed <NotZed@Ximian.com>
* camel-exception.c (camel_exception_setv): use camel debug to add
some debug here.
* camel.c (camel_init): call camel_debug_init().
* camel-debug.c (camel_debug_init, camel_debug): new util stuff
for extended debug options.
* providers/imap/camel-imap-folder.c (imap_get_message): if we're
supposed to be online, check we are online before proceeding.
Actually major restructure so we re-try the fetch a couple of
times first before failing. i.e. silent reconnect. See #55381.
Not Zed [Tue, 23 Mar 2004 06:16:23 +0000 (06:16 +0000)]
connect lock around this. was getting a race with mem corruption
2004-03-23 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (get_folder_info_online):
connect lock around this. was getting a race with mem corruption
otherwise.
Updated ja.po. T.Aihana [Tue, 23 Mar 2004 01:22:52 +0000 (01:22 +0000)]
2004-03-23 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Rodrigo Moya [Mon, 22 Mar 2004 11:07:32 +0000 (11:07 +0000)]
added a 'id' argument, to be passed to e_gw_connection_send_item.
2004-03-22 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.[ch]
(e_gw_connection_send_appointment): added a 'id' argument, to be
passed to e_gw_connection_send_item.
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_create_object,
e_cal_backend_groupwise_modify_object, send_object): added extra
argument to e_gw_connection_send_appointment.
Rodrigo Moya [Mon, 22 Mar 2004 11:07:14 +0000 (11:07 +0000)]
added 'char **id' parameter to pass the server-generated ID to the caller.
2004-03-22 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-connection.[ch] (e_gw_connection_send_item): added 'char **id'
parameter to pass the server-generated ID to the caller. Get the ID from
the sendItemResponse message.
Miloslav Trmac [Mon, 22 Mar 2004 09:14:06 +0000 (09:14 +0000)]
Update Czech translation
Not Zed [Mon, 22 Mar 2004 07:26:59 +0000 (07:26 +0000)]
decode newsgroups header into a list of newsgroups.
2004-03-22 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (camel_header_newsgroups_decode)
(camel_header_newsgroups_free): decode newsgroups header into a
list of newsgroups.
** See #55887.
* providers/nntp/camel-nntp-summary.c (camel_nntp_summary_check):
NOOP if we're offline.
* providers/nntp/camel-nntp-store.c (nntp_connected): spit a
warning if we try to do stuff whilst offline, rather than crash.
Vincent van Adrighem [Sun, 21 Mar 2004 16:09:00 +0000 (16:09 +0000)]
Translation updated by Daniel van Eeden.
2004-03-21 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Daniel van Eeden.
Denis Lackovic [Sat, 20 Mar 2004 21:39:56 +0000 (21:39 +0000)]
*** empty log message ***
Denis Lackovic [Sat, 20 Mar 2004 14:41:31 +0000 (14:41 +0000)]
*** empty log message ***
Chris Toshok [Sat, 20 Mar 2004 02:22:16 +0000 (02:22 +0000)]
don't unref the listener in the loop.
2004-03-19 Chris Toshok <toshok@ximian.com>
* libebook/e-book-view-listener.c (main_thread_get_response):
don't unref the listener in the loop.
(e_book_view_listener_queue_response): don't ref the listener for
every request.
(e_book_view_listener_dispose): add some debug spew.
JP Rosevear [Fri, 19 Mar 2004 20:38:28 +0000 (20:38 +0000)]
include gnome-i18n.h
2004-03-19 JP Rosevear <jpr@ximian.com>
* e-gw-connection.c: include gnome-i18n.h
Rodrigo Moya [Fri, 19 Mar 2004 18:44:12 +0000 (18:44 +0000)]
new function. (populate_cache, get_deltas, connect_to_server,
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.[ch]
(e_cal_backend_groupwise_notify_error_code): new function.
(populate_cache, get_deltas, connect_to_server,
e_cal_backend_groupwise_open): notify clients of any error.
Rodrigo Moya [Fri, 19 Mar 2004 18:43:52 +0000 (18:43 +0000)]
added $SOUP_CFLAGS, needed for e-cal-backend-groupwise.h.
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* src/Makefile.am: added $SOUP_CFLAGS, needed for
e-cal-backend-groupwise.h.
Rodrigo Moya [Fri, 19 Mar 2004 18:30:36 +0000 (18:30 +0000)]
new function.
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-connection.[ch] (e_gw_connection_get_error_message): new function.
Rodrigo Moya [Fri, 19 Mar 2004 17:53:36 +0000 (17:53 +0000)]
don't use the "types:" prefix for the <user> SOAP element.
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(start_freebusy_session): don't use the "types:" prefix for the
<user> SOAP element.
Rodrigo Moya [Fri, 19 Mar 2004 17:26:08 +0000 (17:26 +0000)]
fixed SOAP message format for not confusing the server.
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-connection.c (e_gw_connection_remove_item): fixed SOAP message
format for not confusing the server.
Rodrigo Moya [Fri, 19 Mar 2004 16:56:39 +0000 (16:56 +0000)]
remove the object from the cache in the remote case also.
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove_object): remove the object from the
cache in the remote case also.
Rodrigo Moya [Fri, 19 Mar 2004 13:07:48 +0000 (13:07 +0000)]
if we don't find the X-EVOLUTION-GROUPWISE-ID property, the object didn't
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove_object): if we don't find the
X-EVOLUTION-GROUPWISE-ID property, the object didn't come from
the server, so don't try to remove it.
Rodrigo Moya [Fri, 19 Mar 2004 13:05:39 +0000 (13:05 +0000)]
new functions to support timezones in the cache.
2004-03-19 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-cal-backend-cache.[ch]
(e_cal_backend_cache_get_timezone, e_cal_backend_cache_put_timezone,
e_cal_backend_cache_remove_timezone): new functions to support
timezones in the cache.
(e_cal_backend_cache_get_components): only append to the returned
list the VEVENT's and VTODO's components.
(e_cal_backend_cache_init): create a hash table to store all the
icaltimezone objects we create in e_cal_backend_cache_get_timezone.
(e_cal_backend_cache_finalize): free the timezones hash table.
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove_object): remove object based on the
Groupwise item ID, not the iCalendar ID.
Not Zed [Fri, 19 Mar 2004 05:44:26 +0000 (05:44 +0000)]
ref the diary before replaying it. it could get unreffed during replay if
2004-03-19 Not Zed <NotZed@Ximian.com>
* camel-disco-store.c (disco_connect): ref the diary before
replaying it. it could get unreffed during replay if there's an
error and we disconnect.
* camel-store.c (camel_store_get_folder): no longer use
folder_lock, we already have adequate serialisation code here or
below here. I hope.
(camel_store_get_folder_info): same here.
Not Zed [Fri, 19 Mar 2004 04:40:32 +0000 (04:40 +0000)]
remove async_thread thing.
2004-03-19 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.h: remove async_thread thing.
Rodrigo Moya [Fri, 19 Mar 2004 00:42:36 +0000 (00:42 +0000)]
add "length" attribute for "message" property.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-item.c (e_gw_item_append_to_soap_message): add "length" attribute
for "message" property.
Rodrigo Moya [Fri, 19 Mar 2004 00:28:18 +0000 (00:28 +0000)]
e-gw-item.c (e_gw_item_append_to_soap_message): add "length" attribute for
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
e-gw-item.c (e_gw_item_append_to_soap_message): add "length" attribute
for "message" property.
JP Rosevear [Fri, 19 Mar 2004 00:05:55 +0000 (00:05 +0000)]
send back "freeBusySessionId" rather than "session"
2004-03-18 JP Rosevear <jpr@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(e_gw_connection_get_freebusy_info): send back "freeBusySessionId"
rather than "session"
JP Rosevear [Thu, 18 Mar 2004 23:58:29 +0000 (23:58 +0000)]
put the xml prefixes back in, they weren't the issue
2004-03-18 JP Rosevear <jpr@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(start_freebusy_session): put the xml prefixes back in, they
weren't the issue
Rodrigo Moya [Thu, 18 Mar 2004 23:55:11 +0000 (23:55 +0000)]
set encoding on XML document.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* libedataserver/e-xml-hash-utils.c (e_xml_from_hash): set encoding
on XML document.
* libedataserver/e-file-cache.c (e_file_cache_set_property): if we fail
opening the cache file, just create it empty, don't fail.
Rodrigo Moya [Thu, 18 Mar 2004 23:54:34 +0000 (23:54 +0000)]
set the GW item ID based on the X-EVOLUTION-GROUPWISE-ID property.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(set_properties_from_cal_component): set the GW item ID based on the
X-EVOLUTION-GROUPWISE-ID property.
(e_gw_item_to_cal_component): add the above property to the created
ECalComponent, and use our iCalendar ID to set the "iCalId" property.
Rodrigo Moya [Thu, 18 Mar 2004 23:51:10 +0000 (23:51 +0000)]
new function.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-message.[ch] (e_gw_message_write_base64_parameter): new function.
* e-gw-item.[ch] (e_gw_item_append_to_soap_message): send "message"
property as base64.
(e_gw_item_new_from_soap_parameter): retrieve the "iCalId" property.
(e_gw_item_dispose): free the icalid property.
(e_gw_item_get_icalid, e_gw_item_set_icalid): new functions.
(e_gw_item_append_to_soap_message): add "iCalId" property for events and
tasks. Add only the ID property if it's not empty.
JP Rosevear [Thu, 18 Mar 2004 23:43:29 +0000 (23:43 +0000)]
remove xml prefixes
2004-03-18 JP Rosevear <jpr@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(start_freebusy_session): remove xml prefixes
JP Rosevear [Thu, 18 Mar 2004 23:19:03 +0000 (23:19 +0000)]
Remove conflict marker.
JP Rosevear [Thu, 18 Mar 2004 23:18:38 +0000 (23:18 +0000)]
list the the addresses in the <email> attribute
2004-03-18 JP Rosevear <jpr@ximian.com>
* backends/groupwise/e-cal-backend-groupwise-utils.c
(start_freebusy_session): list the the addresses in the <email>
attribute
2004-03-18 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.c: add e_return_error macro to fail more
gracefully as per ebook
Rodrigo Moya [Thu, 18 Mar 2004 22:16:35 +0000 (22:16 +0000)]
use const for attribute-related arguments.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-message.[ch]
(e_gw_message_write_string_parameter_with_attribute): use const
for attribute-related arguments.
Rodrigo Moya [Thu, 18 Mar 2004 21:56:03 +0000 (21:56 +0000)]
parse the response on all error codes.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-connection.c (e_gw_connection_send_message): parse the
response on all error codes.
Chris Toshok [Thu, 18 Mar 2004 21:48:05 +0000 (21:48 +0000)]
add test-stress-bookviews.
2004-03-18 Chris Toshok <toshok@ximian.com>
* tests/ebook/Makefile.am (noinst_PROGRAMS): add test-stress-bookviews.
* tests/ebook/test-stress-bookviews.c: create and dispose of a ton of
EBookViews very quickly. designed to flush out races/problems in
the way we use bonobo/orbit (and at the time of its writing it
does show a problem).
Rodrigo Moya [Thu, 18 Mar 2004 19:06:48 +0000 (19:06 +0000)]
fixed typo.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-message.c (e_gw_message_new_with_header): fixed typo.
Rodrigo Moya [Thu, 18 Mar 2004 18:53:57 +0000 (18:53 +0000)]
don't update the cache when we get an error from the server.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_create_object,
e_cal_backend_groupwise_modify_object): don't update the cache when we
get an error from the server.
Rodrigo Moya [Thu, 18 Mar 2004 18:07:56 +0000 (18:07 +0000)]
Fixes #55719
2004-03-17 Rodrigo Moya <rodrigo@ximian.com>
Fixes #55719
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_get_cal_address): deal with online/offline
modes.
(e_cal_backend_groupwise_finalize): free new private field.
Rodrigo Moya [Thu, 18 Mar 2004 17:51:26 +0000 (17:51 +0000)]
updated to create the sources properly.
2004-03-18 Rodrigo Moya <rodrigo@ximian.com>
* create-account.c: updated to create the sources properly.
Chris Toshok [Thu, 18 Mar 2004 16:27:44 +0000 (16:27 +0000)]
new function, mostly lifted from EBookBackendFile. (init_closure): same.
2004-03-17 Chris Toshok <toshok@ximian.com>
* backends/vcf/e-book-backend-vcf.c (closure_destroy): new
function, mostly lifted from EBookBackendFile.
(init_closure): same.
(get_closure): same.
(e_book_backend_vcf_start_book_view): mostly copy the file
backend's start/stop race fixing code.
(e_book_backend_vcf_stop_book_view): same.
(e_book_backend_vcf_load_source): create the directory before
trying to open the database if !only_if_exists.
Jeffrey Stedfast [Wed, 17 Mar 2004 21:17:14 +0000 (21:17 +0000)]
Checking that mi->content->type != NULL is no longer good enough to tell
2004-03-17 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (imap_get_message): Checking
that mi->content->type != NULL is no longer good enough to tell if
a ContentInfo is complete (ie. contains the parsed BODY
response). We need to check that th ContentInfo has children if
the part is a multipart of message/rfc822 part. Apparently Zucchi
didn't test his camel-folder-summary changes using IMAP.
Rodrigo Moya [Wed, 17 Mar 2004 20:45:45 +0000 (20:45 +0000)]
yank --enable-debug option, not needed anymore.
2004-03-17 Rodrigo Moya <rodrigo@ximian.com>
* configure.in: yank --enable-debug option, not needed anymore.
Rodrigo Moya [Wed, 17 Mar 2004 20:45:21 +0000 (20:45 +0000)]
use an environment variable for debugging. (e_gw_message_new_with_header):
2004-03-17 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-message.c: use an environment variable for debugging.
(e_gw_message_new_with_header): setup debugging for message if
GROUPWISE_DEBUG environment variable is defined.
(e_gw_message_write_footer): ditto.
* Makefile.am: remove DEBUG_CFLAGS.
Radek Doulik [Wed, 17 Mar 2004 19:47:52 +0000 (19:47 +0000)]
reverted last fix and:
2004-03-17 Radek Doulik <rodo@ximian.com>
* camel-folder-summary.h: use 1<<30 for CAMEL_MESSAGE_JUNK_LEARN,
1<<17 was already used by imap provider and maybe others
Jeffrey Stedfast [Wed, 17 Mar 2004 17:54:39 +0000 (17:54 +0000)]
Don't bloody junktest filter mail unless the user has configured Evolution
2004-03-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder.c (folder_changed): Don't bloody junktest filter
mail unless the user has configured Evolution to do so.
Not Zed [Wed, 17 Mar 2004 12:37:58 +0000 (12:37 +0000)]
Reverted jeff's fix for #55018, since it wasn't tested, and doesn't work.
2004-03-17 Not Zed <NotZed@Ximian.com>
* providers/local/camel-maildir-store.c: Reverted jeff's fix for
#55018, since it wasn't tested, and doesn't work. Wrote an
alternate implementation, and tested it at least once. Turns out
it was a one line error, it still wasn't tested. Oh well, its
rewritten now.
Not Zed [Wed, 17 Mar 2004 09:23:49 +0000 (09:23 +0000)]
See bug #55618.
2004-03-17 Not Zed <NotZed@Ximian.com>
* See bug #55618.
* camel-disco-diary.c (camel_disco_diary_new): seek to the end of
the file after we open it. c99 apparently says the file merely
adds to the end of the file when you write, not that it is opened
and positioned at the end of the file (linux's man pages are out
of date).
* camel-folder-summary.c (content_info_new): setup the content
type as well, from the headers.
* providers/imap/camel-imap-summary.c
(camel_imap_summary_add_offline): copy size from the source info.
Chris Toshok [Tue, 16 Mar 2004 21:35:19 +0000 (21:35 +0000)]
only look up the contact's UID if status == Success. otherwise, send "".
2004-03-15 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book.c (e_data_book_respond_create): only
look up the contact's UID if status == Success. otherwise, send
"".
Harish Krishnaswamy [Tue, 16 Mar 2004 16:29:47 +0000 (16:29 +0000)]
Move open_calendar call into async_idle_cb and rearrange mutex lock/unlock
* libecal/e-cal.c : Move open_calendar call into async_idle_cb
and rearrange mutex lock/unlock sequences. This fixes the calendar
authentication problems observed while using the Password Dialog.
Jeffrey Stedfast [Mon, 15 Mar 2004 20:02:11 +0000 (20:02 +0000)]
Always use '/' to derive the basename of the folder. folder->full_name is
2004-03-15 Jeffrey Stedfast <fejj@ximian.com>
* camel-folder.c (folder_rename): Always use '/' to derive the
basename of the folder. folder->full_name is always the UNIX-path
evrsion of the folder name, no matter what the actual path
delimeter is on the underlying store.
Rodrigo Moya [Mon, 15 Mar 2004 19:37:11 +0000 (19:37 +0000)]
expand recurrences for the given time range to be sure that we return the
2004-03-15 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-cal-backend-sexp.c (func_occur_in_time_range): expand
recurrences for the given time range to be sure that we return the
correct events.
(check_instance_time_range_cb): callback to check the expanded recurrences.
Jeffrey Stedfast [Mon, 15 Mar 2004 19:33:17 +0000 (19:33 +0000)]
If the initial SELECT fails and CREATE is specified, clear the exception
2004-03-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (get_folder_online): If the
initial SELECT fails and CREATE is specified, clear the exception
before attempting to CREATE, this way we don't have an exception
set even if the CREATE passes. Fixes bug #55607.
Rodney Dawes [Mon, 15 Mar 2004 17:33:25 +0000 (17:33 +0000)]
Add LIBBONOBO_REQUIRED, and AC_SUBST() it
2004-03-15 Rodney Dawes <dobey@ximian.com>
* configure.in: Add LIBBONOBO_REQUIRED, and AC_SUBST() it
* evolution-data-server-1.0.pc.in:
* libedataserver/libedataserver-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
the libbonobo dependency
2004-03-15 Rodney Dawes <dobey@ximian.com>
* libebook/libebook-1.0.pc.in:
* libedata-book/libedata-book-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
the libbonobo dependency
2004-03-15 Rodney Dawes <dobey@ximian.com>
* libecal/libecal-1.0.pc.in:
* libedata-cal/libedata-cal-1.0.pc.in: Add @LIBBONOBO_REQUIRED@ for
the libbonobo dependency
Not Zed [Mon, 15 Mar 2004 16:39:16 +0000 (16:39 +0000)]
rever previous patch. We don't want to set the default mime/type, it'll
2004-03-16 Not Zed <NotZed@Ximian.com>
* camel-mime-message.c (camel_mime_message_init): rever previous
patch. We don't want to set the default mime/type, it'll break
stuff.
Not Zed [Mon, 15 Mar 2004 14:37:47 +0000 (14:37 +0000)]
same as below for path.
2004-03-15 Not Zed <NotZed@Ximian.com>
* providers/local/camel-mbox-store.c (delete_folder): same as
below for path.
* providers/local/camel-local-store.c (delete_folder): NULL out
str before looking up the state file using it. Otherwise we
double-free str.
* camel-mime-parser.c (folder_scan_skip_line): we want to scan
till in-end-1. If we've been called we're either at the end of
data, or we know we have an end of line character within memory.
Another case in Bug #53355.
Not Zed [Mon, 15 Mar 2004 08:32:08 +0000 (08:32 +0000)]
set the mime-type field on the content the same way as
2004-03-15 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-folder.c (get_content, get_message):
set the mime-type field on the content the same way as
construct_from_stream does. Bug #55472.
* camel-mime-message.c (camel_mime_message_dump): utility function
to dump message content to stdout.
(camel_mime_message_init): default mime type to message/rfc822.
* camel.c (camel_init): change camel verbose debug to be an int, a
bitmask of debug options.
Not Zed [Mon, 15 Mar 2004 04:38:08 +0000 (04:38 +0000)]
drop embedded whitespace characters, and don't do unquoting, etc. See
2004-03-15 Not Zed <NotZed@Ximian.com>
* camel-mime-utils.c (camel_header_location_decode): drop embedded
whitespace characters, and don't do unquoting, etc. See rfc2557
4.4.2 and rfc2017 3.1.
Harish Krishnaswamy [Mon, 15 Mar 2004 03:53:43 +0000 (03:53 +0000)]
Make view element an argument to the get_items call so the addressbook
* e-gw-connection.[ch] : Make view element an argument to the
get_items call so the addressbook component can use it as well.
* calendar/backends/groupwise/e-cal-backend-groupwise.c :
Update calls to e_gw_connection_get_items with the new prototype.
* addressbook/backends/groupwise/e-book-backend-groupwise.c :
Update calls to e_gw_connection_get_items with the new prototype.
Chris Toshok [Sat, 13 Mar 2004 22:40:45 +0000 (22:40 +0000)]
add prototype for e_data_book_view_get_mutex.
2004-03-12 Chris Toshok <toshok@ximian.com>
* libedata-book/e-data-book-view.h: add prototype for
e_data_book_view_get_mutex.
* libedata-book/e-data-book-view.c (e_data_book_view_get_mutex):
new function, return the book view's mutex.
(e_data_book_view_dispose): free priv->mutex.
(e_data_book_view_init): init priv->mutex.
* backends/file/e-book-backend-file.c (closure_destroy):
GDestroyNotify to clear up the search closure.
(init_closure): initialize the object data we use to store search
information (just a "stopped" flag at the moment)
(get_closure): return the object data.
(e_book_backend_file_start_book_view): add code to deal with the
race between start and stop, locking the book_view's mutex around
the initial get/set of the closure. also, switch from using
g_object_ref to bonobo_object_ref on the book_view, and don't do
any freeing of the search closure here. it's handled
automatically for us by virtue of the GDestroyNotify.
(e_book_backend_file_stop_book_view): flesh this out to fix the
race between start/stop.
Chris Toshok [Sat, 13 Mar 2004 22:37:26 +0000 (22:37 +0000)]
in the CATEGORIES case when we're adding a new attribute to the vcard,
2004-03-12 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (e_contact_set_property): in the CATEGORIES
case when we're adding a new attribute to the vcard, make sure to
call e_vcard_add_attribute after creating it. also, use
EVC_CATEGORIES instead of hardcoding the string.
(e_contact_get_property): use EVC_CATEGORIES.
Jeffrey Stedfast [Sat, 13 Mar 2004 01:07:46 +0000 (01:07 +0000)]
Now takes an argument to specify whether disconnecting when respbuf is
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_set_exception): Now
takes an argument to specify whether disconnecting when respbuf is
NULL is safe (to prevent us from recursively disconnecting or
disconnecting during a connect).
Jeffrey Stedfast [Fri, 12 Mar 2004 22:36:06 +0000 (22:36 +0000)]
Fix for bug #53497.
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #53497.
* providers/smtp/camel-smtp-transport.c (smtp_helo): Instead of
unreffing the streams, call camel_service_disconnect().
(smtp_mail): Same.
(smtp_rcpt): Same.
(smtp_data): Same.
(smtp_send_to): Ignore exceptions for smtp_rset(). Also, check
that we are connected before we try to send (in Evolution's
current usage scenario, this isn't a problem but in the future if
we ever try to fire off several messages via the same smtp
connection, it may be - especially if RSET failed during the
previous send).
Chris Toshok [Fri, 12 Mar 2004 22:10:23 +0000 (22:10 +0000)]
test setting CATEGORIES as well as CATEGORY_LIST.
2004-03-12 Chris Toshok <toshok@ximian.com>
* tests/ebook/test-categories.c (main): test setting CATEGORIES as
well as CATEGORY_LIST.
Radek Doulik [Fri, 12 Mar 2004 21:36:49 +0000 (21:36 +0000)]
clearn the learn bit only if set
2004-03-12 Radek Doulik <rodo@ximian.com>
* camel-folder.c (folder_changed): clearn the learn bit only if set
Jeffrey Stedfast [Fri, 12 Mar 2004 21:28:41 +0000 (21:28 +0000)]
Fixes for bug #55018.
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #55018.
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Use camel_url_to_string() here
too, so we properly encode the fragment.
* providers/local/camel-mbox-store.c (get_folder_info): Use
CamelURL to properly encode the fi->uri. Pass the CamelURL into
scan_dir() so that scan_dir() can re-use it (rather than having to
malloc/parse/free for each file/dir)
(scan_dir): Use camel_url_to_string().
* providers/local/camel-maildir-store.c (get_folder_info): Same as
mbox.
(scan_dir): Same as mbox. We also need to set the
CAMEL_FOLDER_NOSELECT flag if appropriate.
* providers/local/camel-mh-store.c (get_folder_info): Same as mbox
and maildir.
(folders_scan): Now takes a url argument which we pass off to
folder_info_new().
(recursive_scan): Same.
(folder_info_new): Use camel_url_to_string().
Radek Doulik [Fri, 12 Mar 2004 18:26:01 +0000 (18:26 +0000)]
watch for setting JUNK flag, if JUNK_LEARN is not set as well then reset
2004-03-11 Radek Doulik <rodo@ximian.com>
* camel-folder.c (camel_folder_set_message_flags): watch for
setting JUNK flag, if JUNK_LEARN is not set as well then reset
JUNK_LEARN bit
(folder_changed): look for junk changes in uid_changed's messages,
if these changes request junk filter learning
(CAMEL_MESSAGE_JUNK_LEARN bit set) then prepare junk and nonjunk
uid arrays, clear CAMEL_MESSAGE_JUNK_LEARN bit so that we don't
process it again
(folder_changed): start filter thread if there's junk and/or
nonjunk arrays
(filter_filter): if junk/nonjunk arrays are non-NULL, call junk
filter report to learn junk/non-junk messages
(filter_free): free junk/nonjunk uids and arrays
* camel-folder-summary.h: added CAMEL_MESSAGE_JUNK_LEARN to
CamelMessageFlags, used when setting CAMEL_MESSAGE_JUNK flag to
say that we request junk plugin to learn that message as
junk/non-junk
Jeffrey Stedfast [Fri, 12 Mar 2004 17:43:00 +0000 (17:43 +0000)]
If errno is EINTR, set USER_CANCEL instead of SERVICE_UNAVAILABLE or
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* providers/smtp/camel-smtp-transport.c (connect_to_server): If
errno is EINTR, set USER_CANCEL instead of SERVICE_UNAVAILABLE or
whatever.
(smtp_helo): Same.
(smtp_auth): Same.
(smtp_mail): Same.
(smtp_rcpt): Same.
(smtp_data): Same.
(smtp_rset): Same.
(smtp_quit): Same.
(smtp_set_exception): Here too.
(smtp_auth): If the AUTH response code is not 334, then use
smtp_set_exception() to get the most accurate error report we can.
Jeffrey Stedfast [Thu, 11 Mar 2004 21:24:40 +0000 (21:24 +0000)]
fixed ChangeLog
Jeffrey Stedfast [Thu, 11 Mar 2004 21:24:20 +0000 (21:24 +0000)]
Sanity check that count is <1024 and also use g_try_malloc so that we can
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
* camel-object.c (cobject_state_read): Sanity check that count is
<1024 and also use g_try_malloc so that we can recover if malloc
fails.
Gustavo Maciel Dias Vieira [Thu, 11 Mar 2004 18:23:17 +0000 (18:23 +0000)]
Updated Brazilian Portuguese translation done by Gustavo Maciel Dias
2004-03-11 Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>
* pt_BR.po: Updated Brazilian Portuguese translation done by
Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>.
Rodrigo Moya [Thu, 11 Mar 2004 15:15:14 +0000 (15:15 +0000)]
guard against sending NULL strings to CORBA.
2004-03-11 Rodrigo Moya <rodrigo@ximian.com>
* libedata-cal/e-data-cal.c (e_data_cal_notify_objects_sent): guard
against sending NULL strings to CORBA.
* backends/contacts/e-cal-backend-contacts.c
(e_cal_backend_contacts_receive_objects,
e_cal_backend_contacts_send_objects): return PermissionDenied error.
Rodrigo Moya [Thu, 11 Mar 2004 11:51:05 +0000 (11:51 +0000)]
return correct types in g_return_val_if_fail macros.
2004-03-11 Rodrigo Moya <rodrigo@ximian.com>
* e-gw-connection.c (e_gw_connection_get_address_book_id): return
correct types in g_return_val_if_fail macros.
Sivaiah Nallagatla [Thu, 11 Mar 2004 10:59:02 +0000 (10:59 +0000)]
added groupwise to SUBDIR
Sivaiah Nallagatla [Thu, 11 Mar 2004 10:51:40 +0000 (10:51 +0000)]
comming e-gw-container cahnges form branch
Sivaiah Nallagatla [Thu, 11 Mar 2004 10:23:28 +0000 (10:23 +0000)]
merging groupwise-addressbook-backend with HEAD
Not Zed [Thu, 11 Mar 2004 07:47:41 +0000 (07:47 +0000)]
removed this. not sure what it was doing there, a 1 line funciton used
2004-03-11 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (no_such_folder): removed
this. not sure what it was doing there, a 1 line funciton used
once.
(get_folder_online): pass exception to camel_imap_command. if we
got a user cancel, pass it up.
(hash_folder_name, compare_folder_name): more g_ascii_strcasecmp
stuff.
Not Zed [Thu, 11 Mar 2004 07:33:52 +0000 (07:33 +0000)]
we need to add the folderinfo always if we're recursive from top. Should
2004-03-11 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (vee_get_folder_info): we need to add the
folderinfo always if we're recursive from top. Should fix #52965
and maybe the other vfolders not showing on startup bug.
Michael Zucci [Thu, 11 Mar 2004 04:24:02 +0000 (04:24 +0000)]
(imap_store_refresh_folders): check we're updating an imap folder,
we could also have trash folders in the store too.
Not Zed [Thu, 11 Mar 2004 03:04:45 +0000 (03:04 +0000)]
turn off NOINFERIORS always, translate to nochildren.
2004-03-11 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c (get_one_folder_offline):
(parse_list_response_as_folder_info): turn
off NOINFERIORS always, translate to nochildren.
2004-03-08 Not Zed <NotZed@Ximian.com>
* camel-vee-store.c (vee_get_folder_info): setup virtual/system
flags as appropriate.
(change_folder): setup flags properly.
* providers/nntp/camel-nntp-store.c
(nntp_store_get_subscribed_folder_info): mark all folders as
system folders.
* providers/local/camel-mh-store.c (fill_fi): add this to setup
folderinfo.
(folder_info_new): call fill_fi to fill unread/total.
(recursive_scan, folders_scan): ahh yeah, so wtf was i thinking,
store->flags != get_folder_info flags!!!!
* providers/local/camel-maildir-store.c (camel_folder_info_new):
remove unread count arg & setup total.
(fill_fi): setup total field.
(scan_dir): remove the code that checked the directory directly -
use fill_fi instead. It will more accurately reflect what you get
when you visit the folder.
(camel_folder_info_new): mark "." as a system folder.
(scan_dir): try to setup children/no children flags properly.
* providers/local/camel-mbox-store.c (fill_fi): setup total field.
(scan_dir): init total.
(get_folder_info): "
2004-03-05 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): mark INBOX as a system
folder. Can't be renamed/deleted.
(fill_fi): setup total field.
(get_folder_counts): ditto.
* camel-store.c (add_special_info): set the system folder flag.
* camel-store.h: time to fix up the camelfolderinfo mess. fix
some member names, and add some type fields. Fixed all uses.
JP Rosevear [Wed, 10 Mar 2004 15:48:22 +0000 (15:48 +0000)]
Fixes #55389
2004-03-09 JP Rosevear <jpr@ximian.com>
Fixes #55389
* backends/file/e-cal-backend-file.c
(e_cal_backend_file_send_objects): return the calendar object
properly
Rodrigo Moya [Wed, 10 Mar 2004 11:21:15 +0000 (11:21 +0000)]
don't default to UTC timezone, the default timezone is used by the
2004-03-09 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (e_cal_resolve_tzid): don't default to UTC timezone,
the default timezone is used by the timezone look up code.
Thomas Mirlacher [Tue, 9 Mar 2004 23:43:46 +0000 (23:43 +0000)]
Fixes #53885
2004-03-09 Thomas Mirlacher <dent@cosy.sbg.ac.at>
Fixes #53885
* backends/contacts/e-cal-backend-contacts.c:
intermediate fix for recurring entries starting before 1970
set the dtend for making valid whole-day entries
William Jon McCann [Tue, 9 Mar 2004 21:10:42 +0000 (21:10 +0000)]
Remove separator from dialogs per HIG.
2004-03-04 William Jon McCann <mccann@jhu.edu>
* e-dialog-utils.c (e_notice, e_notice_with_xid, save_ok):
* e-request.c (e_request_string):
* e-passwords.c (e_passwords_ask_password):
Remove separator from dialogs per HIG.
Kjartan Maraas [Tue, 9 Mar 2004 17:52:22 +0000 (17:52 +0000)]
Updated Norwegian translation.
2004-03-09 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
Vincent van Adrighem [Sun, 7 Mar 2004 16:19:16 +0000 (16:19 +0000)]
Translation updated by Daniel van Eeden.
2004-03-07 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Daniel van Eeden.
Laurent Dhima [Sat, 6 Mar 2004 16:55:03 +0000 (16:55 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Sat, 6 Mar 2004 16:53:03 +0000 (16:53 +0000)]
Updated
JP Rosevear [Fri, 5 Mar 2004 19:18:36 +0000 (19:18 +0000)]
bump version, libtool numbers and soup requiremen
2004-03-05 JP Rosevear <jpr@ximian.com>
* configure.in: bump version, libtool numbers and soup requiremen
Changwoo Ryu [Fri, 5 Mar 2004 17:52:18 +0000 (17:52 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Rodrigo Moya [Fri, 5 Mar 2004 10:18:48 +0000 (10:18 +0000)]
Fixes #54280
2004-03-05 Rodrigo Moya <rodrigo@ximian.com>
Fixes #54280
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_send_objects): added missing implementation.
Harish Krishnaswamy [Fri, 5 Mar 2004 06:26:17 +0000 (06:26 +0000)]
timezone values in ECalDateComponent structures should be set to "UTC" for
* backends/groupwise/e-cal-backend-groupwise-utils.c :
timezone values in ECalDateComponent structures should be
set to "UTC" for GW items.
* backends/groupwise/e-cal-backend-groupwise-utils.c :
timezone values in ECalDateComponent structures should be
set to "UTC" for GW items.
Michael Zucci [Thu, 4 Mar 2004 12:04:15 +0000 (12:04 +0000)]
fix all the warnings
Not Zed [Thu, 4 Mar 2004 02:00:43 +0000 (02:00 +0000)]
** See bug #53355.
2004-03-04 Not Zed <NotZed@Ximian.com>
** See bug #53355.
* providers/imap/camel-imap-folder.c (get_content): if the parent
isn't a message/rfc822 type, we don't want to get the section.TEXT
for multipart/signed, we just want to get section.
Miloslav Trmac [Wed, 3 Mar 2004 12:39:13 +0000 (12:39 +0000)]
Update Czech translation
Rodrigo Moya [Wed, 3 Mar 2004 11:16:48 +0000 (11:16 +0000)]
use "Calendar" and "Checklist" for the folder names, instead of "Default".
2004-03-03 Rodrigo Moya <rodrigo@ximian.com>
* providers/groupwise/camel-gw-listener.c
(add_calendar_tasks_sources): use "Calendar" and "Checklist" for the
folder names, instead of "Default".
(remove_calendar_tasks_sources): remove the correct folder.
Not Zed [Wed, 3 Mar 2004 08:44:10 +0000 (08:44 +0000)]
attempt at uncancelling a cancelled operation.
2004-03-03 Not Zed <NotZed@Ximian.com>
* camel-operation.c (camel_operation_uncancel): attempt at
uncancelling a cancelled operation.
Michael Zucci [Wed, 3 Mar 2004 06:37:03 +0000 (06:37 +0000)]
forgot to turn off voluminous debug
Not Zed [Wed, 3 Mar 2004 06:36:44 +0000 (06:36 +0000)]
fun dun diddley un fun. Since we're writing a const buffer, we need to
2004-03-03 Not Zed <NotZed@Ximian.com>
* camel-stream-filter.c (do_write, do_write): fun dun diddley un
fun. Since we're writing a const buffer, we need to copy it
first. See #54937.
2004-02-27 Not Zed <NotZed@Ximian.com>
** See bug #54755.
* camel-vtrash-folder.c (vtrash_append_message)
(vtrash_transfer_messages_to): error/fail out if the user tries to
copy messages to the trash.
(vtrash_transfer_messages_to): use the destination bit not the
source bit for moving messages to a vtrash folder.
* camel-gpg-context.c (gpg_ctx_parse_status): ignore NODATA
response, otherwise we abort in a meaningless way. See #52939.
* providers/imap/camel-imap-utils.c: use g_ascii_str[n]casecmp
everywhere.
* providers/imap/camel-imap-utils.c (imap_body_decode): fix the
sense of the nil check for the subtype of a mutlipart. See
#53355.
2004-02-26 Not Zed <NotZed@Ximian.com>
* camel-session.c (camel_session_check_junk_for_imap)
(camel_session_set_check_junk_for_imap): removed.
* providers/imap/camel-imap-provider.c: Add filter_junk and
filter_junk_inbox options to the receive option page.
* providers/imap/camel-imap-store.c (imap_setv, imap_getv): handle
FILTER_JUNK and FILTER_JUNK_INBOX parameters.
(imap_setv): conver to switch rather than if statement.
(construct): handle url args for filter_junk and
filter_junk_inbox.
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Set
the folder's flags based on the stores junk settings.
(imap_update_summary): remove the test for
session_check_junk_for_imap, its handled per-store now.
* camel-folder.c (folder_changed): only check for FILTER_RECENT or
FILTER_JUNK to see if we need to do filtering.
* camel-folder.h (CAMEL_FOLDER_FILTER_JUNK): renamed from
CAMEL_FOLDER_SUPRESS_JUNK_TEST (and obviously inverted logic).
Chris Toshok [Wed, 3 Mar 2004 05:19:38 +0000 (05:19 +0000)]
comment out the unsupported query types.
2004-03-02 Chris Toshok <toshok@ximian.com>
* libebook/e-book-query.h (EBookQueryTest): comment out the
unsupported query types.