Jeffrey Stedfast [Wed, 4 Feb 2004 20:24:45 +0000 (20:24 +0000)]
Fix for bug #53755 (local folders case)
2004-02-04 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #53755 (local folders case)
* providers/local/camel-mbox-store.c (xrename): No longer takes an
exception arg, we just set errno. Our caller can take care of
setting an exception.
(rename_folder): Don't pass an exception to xrename(), we always
overwrote if an error occured it anyway.
(rename_folder): Rename the .sbd as well.
Ilkka Tuohela [Wed, 4 Feb 2004 19:34:02 +0000 (19:34 +0000)]
Updated finnish translation
Chris Toshok [Wed, 4 Feb 2004 18:43:49 +0000 (18:43 +0000)]
there's no reason to search for the card before removing it. the error
2004-02-04 Chris Toshok <toshok@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_remove_contacts): there's no reason to search
for the card before removing it. the error condition is the same
anyway, and it'll slow us down.
Chris Toshok [Wed, 4 Feb 2004 18:42:17 +0000 (18:42 +0000)]
[ fixes bug #53130 ]
2004-02-04 Chris Toshok <toshok@ximian.com>
[ fixes bug #53130 ]
* libedata-book/e-data-book-view.c (MAKE_REALLOC): this might end
up being a bad assumption, but since it's only used for string
sequences, assume it always will be. We need to make a deep copy
of the sequence. a memcpy isn't enough, as freeing the buffer
causes the child strings to be freed.
Chris Toshok [Wed, 4 Feb 2004 17:40:15 +0000 (17:40 +0000)]
remove the misleading "XXX more here" comment from here - there's nothing
2004-02-04 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_op_free): remove the misleading "XXX
more here" comment from here - there's nothing else to free here.
Chris Toshok [Wed, 4 Feb 2004 17:34:45 +0000 (17:34 +0000)]
lock the book's mutex before checking load_state. Also, set the load_state
2004-02-04 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_load_source): lock the book's mutex
before checking load_state. Also, set the load_state to
E_BOOK_URI_LOADING before we relinquish the lock. It will be
reset to URI_NOT_LOADED in fetch_corba_book if there's a problem.
(e_book_load_uri): remove the e_return_error_if_fail about
load_state. It'll be handled by e_book_load_source.
(fetch_corba_book): reset load_state to E_BOOK_URI_NOT_LOADED in
all the cases where we return FALSE.
* libebook/e-contact.c (e_contact_set_property): for GETSET
properties that aren't STRUCT's, it's a string, not a pointer.
(e_contact_get_property): same.
Rodrigo Moya [Wed, 4 Feb 2004 16:36:06 +0000 (16:36 +0000)]
new function created from e_cal_open, without signal emissions.
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (open_calendar): new function created from
e_cal_open, without signal emissions.
(e_cal_open): call open_calendar() and emit signals.
(e_cal_open_async): changed to use a thread instead
of an idle callback.
(open_async): converted to a GThreadFunc, call open_calendar and
setup idle callback to emit the "cal_opened" signal.
(async_idle_cb): idle callback, notify listeners with the
"cal_opened" signal and free ECalAsyncData.
* backends/file/e-cal-backend-file.c: store an ordered list of all
detached recurrences, as well as the hash table, for each object.
(free_object): free the recurrences list, and the object's data.
(add_component, remove_instance): add the recurrences to the
recurrences list also.
(e_cal_backend_file_modify_object): remove the recurrence from the
list also, and it to the list when adding it to the hash table.
(remove_object_instance_cb): remove the recurrences from the list
also.
(e_cal_backend_file_receive_objects): remove cancelled meetings from the
received toplevel component before merging it. Add/Update received
objects approppriately for PUBLISH/REQUEST/REPLY.
Rodrigo Moya [Wed, 4 Feb 2004 16:35:55 +0000 (16:35 +0000)]
new function created from e_cal_open, without signal emissions.
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (open_calendar): new function created from
e_cal_open, without signal emissions.
(e_cal_open): call open_calendar() and emit signals.
(e_cal_open_async): changed to use a thread instead
of an idle callback.
(open_async): converted to a GThreadFunc, call open_calendar and
setup idle callback to emit the "cal_opened" signal.
(async_idle_cb): idle callback, notify listeners with the
"cal_opened" signal and free ECalAsyncData.
* backends/file/e-cal-backend-file.c: store an ordered list of all
detached recurrences, as well as the hash table, for each object.
(free_object): free the recurrences list, and the object's data.
(add_component, remove_instance): add the recurrences to the
recurrences list also.
(e_cal_backend_file_modify_object): remove the recurrence from the
list also, and it to the list when adding it to the hash table.
(remove_object_instance_cb): remove the recurrences from the list
also.
(e_cal_backend_file_receive_objects): remove cancelled meetings from the
received toplevel component before merging it. Add/Update received
objects approppriately for PUBLISH/REQUEST/REPLY.
Rodrigo Moya [Wed, 4 Feb 2004 12:48:36 +0000 (12:48 +0000)]
g_object_unref the ECal, not the ECalAsyncData structure.
2004-02-04 Rodrigo Moya <rodrigo@ximian.com>
* libecal/e-cal.c (open_async): g_object_unref the ECal, not the
ECalAsyncData structure.
Michael Meeks [Wed, 4 Feb 2004 10:46:12 +0000 (10:46 +0000)]
Fix a slew of bad-allocation / exception handling / crasher bugs.
Rodrigo Moya [Wed, 4 Feb 2004 10:21:34 +0000 (10:21 +0000)]
Updated SOAP API files
Michael Zucci [Wed, 4 Feb 2004 10:15:45 +0000 (10:15 +0000)]
(store_sync): duh, actually pass expunge to folder_sync.
Not Zed [Wed, 4 Feb 2004 10:13:02 +0000 (10:13 +0000)]
added 'expunge' parameter, easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_sync): added 'expunge' parameter,
easier 'empty trash on exit' call.
2004-02-04 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-store.c
(parse_list_response_as_folder_info): if we can't add the folder
to the summary {i.e. duplicate}, then ignore it. See #53836.
Artur Flinta [Wed, 4 Feb 2004 08:14:44 +0000 (08:14 +0000)]
Updated Polish translation by GNOME PL Team.
2004-02-04 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
Not Zed [Wed, 4 Feb 2004 05:57:21 +0000 (05:57 +0000)]
changed order around, first try to delete and only remove from the object
2004-02-04 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_delete_folder): changed order around,
first try to delete and only remove from the object bag if the
delete worked. If vjunk/vtrash enabled, don't allow those to be
deleted.
(cs_delete_cached_folder): helper to delete the folder if its in
the cache, remove it from trash/junk, etc.
(camel_store_unsubscribe_folder): changed similarly to
delete_folder.
* camel-vee-store.c (vee_delete_folder): dont do any trash/junk
processing anymore.
2004-02-03 Not Zed <NotZed@Ximian.com>
* camel-store.c: use the folders object bag to manage the trash
folder and junk folders. Remove the init_trash and init_junk
stuff, just use get_trash and get_junk to mean the same thing.
Get rid of the hacked up vjunk and vtrash "uri" stuff too.
* camel-object.c (camel_object_bag_add): null out the pair->func,
otherwise we get an uninitalised memory read during unhook event.
Jeffrey Stedfast [Wed, 4 Feb 2004 04:39:37 +0000 (04:39 +0000)]
updated last fix to use void* instead of gpointer
Jeffrey Stedfast [Wed, 4 Feb 2004 04:07:39 +0000 (04:07 +0000)]
Use macro casts from int to pointer.
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-vee-folder.c (vee_folder_build_folder): Use macro casts
from int to pointer.
* camel-folder.c (camel_folder_change_info_add_source): Same as below.
(camel_folder_change_info_add_source_list): Same.
* camel-folder-search.c (camel_folder_search_execute_expression):
Use GINT_TO_POINTER() to cast 1 to a pointer for
g_hash_table_insert().
* camel-vee-folder.c (vee_folder_remove_folder): 64bit fixes.
(folder_added_uid): Same.
(vee_folder_build_folder): Here too.
(folder_changed_add_uid): And here.
(folder_changed_remove_uid): Same.
Rodney Dawes [Tue, 3 Feb 2004 22:39:12 +0000 (22:39 +0000)]
Don't keep a global SoupMessage (e_cal_backend_http_fianlize): Abort the
2004-02-03 Rodney Dawes <dobey@ximian.com>
* backends/http/e-cal-backend-http.c: Don't keep a global SoupMessage
(e_cal_backend_http_fianlize): Abort the session, as we may have
multiple messages running
(webcal_to_http_method): Return a copy if we aren't parsing a webcal:,
as there is no need to return NULL, since we just check and copy the
original anyway
(retrieval_done): Handle redirection, and don't rely on a global
SoupMessage for things, and don't try to set the SoupMessage to NULL
(begin_retrieval_cb): Allow multiple messages, and disable automatic
redirect handling, as we need to handle it ourselves
(maybe_start_reload_timeout): We want minutes, not seconds, so we need
to multiply the refresh value by 60000 instead of 1000
Chris Toshok [Tue, 3 Feb 2004 20:11:51 +0000 (20:11 +0000)]
use "VCARD" instead of "vCard" because gnome-vfs is busted and doesn't use
2004-02-03 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_to_string_vcard_30): use "VCARD"
instead of "vCard" because gnome-vfs is busted and doesn't use a
case insensitive string check.
Jeffrey Stedfast [Tue, 3 Feb 2004 18:52:53 +0000 (18:52 +0000)]
New test suite for url scanning.
2004-02-03 Jeffrey Stedfast <fejj@ximian.com>
* tests/misc/url-scan.c: New test suite for url scanning.
* camel-url-scanner.c: Added single/double quotes to url_braces[]
in case the user is quoting the url.
(camel_url_web_end): Add "-;:" to list of punctuation to strip off
the end of urls. Also fixed to handle user@domain's
(camel_url_addrspec_start): Strip open brace characters from the
beginning of the addr.
(camel_url_web_start): Make sure "www" wasn't part of something
not a url (like "Ewww.Gross") by check that pos[-1] is either an
open brace or whitespace.
(camel_url_addrspec_end): Don't allow toplevel domain addr-specs
(if we encounter something that looks like it is a toplevel domain
addr, it is more likely to be bogus than correct).
Dan Winship [Tue, 3 Feb 2004 18:15:38 +0000 (18:15 +0000)]
Don't unref the soup message; that happens automatically after the
* backends/http/e-cal-backend-http.c (e_cal_backend_http_finalize,
retrieval_done): Don't unref the soup message; that happens
automatically after the callback runs. #53645
Chris Toshok [Tue, 3 Feb 2004 17:23:47 +0000 (17:23 +0000)]
add libxml-2.0 as the e-source* stuff needs it.
2004-02-03 Chris Toshok <toshok@ximian.com>
* libedataserver/libedataserver-1.0.pc.in (Requires): add
libxml-2.0 as the e-source* stuff needs it.
Harish Krishnaswamy [Tue, 3 Feb 2004 16:25:49 +0000 (16:25 +0000)]
added get_deltas function as the callback to update cache. Removed
* backends/groupwise/e-cal-backend-groupwise.c :
added get_deltas function as the callback to update cache.
* backends/groupwise/e-gw-connection.[ch] (parse_response_status):
Removed UpdateCacheHandle structure as
the callback is now local to e-cal-backend-groupwise.c
(e_gw_connection_get_deltas) : modified the function to return
list of EGwItems.
(set_attendee_list_from_soap_parameter) : moved to EGwItem.
* backends/groupwise/e-gw-item.c : Added attendee_list to priv
structure and updated e_gw_item_dispose to free it.
(e_gw_item_new_from_soap_parameter) : added code to parse 'changes'
element in item.
Chris Toshok [Tue, 3 Feb 2004 15:35:43 +0000 (15:35 +0000)]
ximian.com... ximian.com
Chris Toshok [Tue, 3 Feb 2004 15:35:15 +0000 (15:35 +0000)]
E_GW_CONNECTION_BAD_PARAMETER -> E_GW_CONNECTION_STATUS_BAD_PARAMETER.
2004-02-03 Chris Toshok <toshok@m198-139.dsl.rawbw.com>
* backends/groupwise/e-gw-connection.c (parse_response_status):
E_GW_CONNECTION_BAD_PARAMETER ->
E_GW_CONNECTION_STATUS_BAD_PARAMETER.
Chris Toshok [Tue, 3 Feb 2004 01:20:56 +0000 (01:20 +0000)]
these are also of type STRING. if you want a GETSET field that's a struct,
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (GETSET_FIELD): these are also of type
STRING. if you want a GETSET field that's a struct, use
STRUCT_FIELD. Fixes a problem with FULL_NAME reflection for
evolution-sharp.
Chris Toshok [Mon, 2 Feb 2004 21:36:40 +0000 (21:36 +0000)]
clear attr->encoding_set and attr->encoding, since that is just cached
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_remove_params): clear
attr->encoding_set and attr->encoding, since that is just cached
information from the attribute parameters. Fixes a spurious
g_warning.
Chris Toshok [Mon, 2 Feb 2004 21:33:16 +0000 (21:33 +0000)]
make sure to set attr->decoded_values to NULL as well. fixes oddness when
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-vcard.c (e_vcard_attribute_remove_values): make sure
to set attr->decoded_values to NULL as well. fixes oddness when
overwriting the PHOTO attribute.
Hans Petter Jansson [Mon, 2 Feb 2004 21:23:09 +0000 (21:23 +0000)]
Return NULL if image length is zero. (photo_setter): Warn and don't set
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (photo_getter): Return NULL if image length is
zero.
(photo_setter): Warn and don't set photo if image length is zero.
Hans Petter Jansson [Mon, 2 Feb 2004 20:02:38 +0000 (20:02 +0000)]
Handle NULL. (fn_setter): Handle NULL. (n_setter): Handle NULL.
2004-02-02 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-contact.c (photo_setter): Handle NULL.
(fn_setter): Handle NULL.
(n_setter): Handle NULL.
(adr_setter): Handle NULL.
(date_getter): Return NULL if attr present, but no value.
(date_setter): Handle NULL.
(cert_setter): Handle NULL.
(e_contact_set_property): Don't pass NULL data to setters, remove the
attribute (if present) instead.
Jeffrey Stedfast [Mon, 2 Feb 2004 19:25:16 +0000 (19:25 +0000)]
Fixes for bug #53091.
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #53091.
* providers/imap/camel-imap-store.c (create_folder): Set the new
folder's fi->flags to CAMEL_FOLDER_NOCHILDREN since we know it
doesn't have any (we just created it!).
(subscribe_folder): Same.
Jeffrey Stedfast [Mon, 2 Feb 2004 19:01:37 +0000 (19:01 +0000)]
Copy the flags too. Fixes the local folder case of bug #53091.
2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes
the local folder case of bug #53091.
Rodrigo Moya [Mon, 2 Feb 2004 17:09:56 +0000 (17:09 +0000)]
added new error code.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-connection.[ch] (parse_response_status):
added new error code.
Rodrigo Moya [Mon, 2 Feb 2004 16:26:20 +0000 (16:26 +0000)]
add all retrieved items to the cache, since calendar and tasks both use
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
add all retrieved items to the cache, since calendar and tasks
both use the same cache file.
(e_cal_backend_groupwise_get_object,
e_cal_backend_groupwise_get_object_list): only return items of the
same kind as the backend.
(e_cal_backend_groupwise_create_object): only allow storing of
items of the same kind as the backend.
Rodrigo Moya [Mon, 2 Feb 2004 16:08:30 +0000 (16:08 +0000)]
fixed argument ordering in call to e_gw_message_write_string_parameter.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
fixed argument ordering in call to e_gw_message_write_string_parameter.
Rodrigo Moya [Mon, 2 Feb 2004 15:56:02 +0000 (15:56 +0000)]
changed to have an ECalBackendGroupwise as argument, and only add to the
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
changed to have an ECalBackendGroupwise as argument, and only add
to the cache objects of the same kind as the backend.
(connect_to_server): pass the ECalBackendGroupwise to populate_cache.
Rodrigo Moya [Mon, 2 Feb 2004 15:53:43 +0000 (15:53 +0000)]
changed to have an ECalBackendGroupwise as argument, and only add to the
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (populate_cache):
changed to have an ECalBackendGroupwise as argument, and only add
to the cache objects of the same kind as the backend.
(connect_to_server): pass the ECalBackendGroupwise to populate_cache.
Rodrigo Moya [Mon, 2 Feb 2004 15:40:21 +0000 (15:40 +0000)]
set altrep to NULL on ECalComponentText's.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent):
set altrep to NULL on ECalComponentText's.
Rodrigo Moya [Mon, 2 Feb 2004 15:15:34 +0000 (15:15 +0000)]
moved calls to e_cal_component_set_new_vtype up, so that the internal
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_to_calcomponent): moved
calls to e_cal_component_set_new_vtype up, so that the internal
icalcomponent gets created. Added missing 'break' statement.
Rodrigo Moya [Mon, 2 Feb 2004 11:40:20 +0000 (11:40 +0000)]
fixed warning.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-connection.c
(e_gw_connection_get_freebusy_info): fixed warning.
Rodrigo Moya [Mon, 2 Feb 2004 11:38:29 +0000 (11:38 +0000)]
pass the container_id to e_gw_connection_remove_item.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove_object): pass the container_id to
e_gw_connection_remove_item.
Rodrigo Moya [Mon, 2 Feb 2004 11:05:00 +0000 (11:05 +0000)]
set the ESource's name to the name of the folder.
2004-02-02 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-cal-backend-groupwise.c (connect_to_server):
set the ESource's name to the name of the folder.
Michael Meeks [Mon, 2 Feb 2004 10:59:57 +0000 (10:59 +0000)]
unlock after taking a lock.
2004-02-02 Michael Meeks <michael@ximian.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_stop_book_view): unlock after
taking a lock.
Alastair McKinstry [Mon, 2 Feb 2004 10:28:49 +0000 (10:28 +0000)]
Updated Irish translation
JP Rosevear [Sun, 1 Feb 2004 20:51:23 +0000 (20:51 +0000)]
order the signals more sensibly
2004-02-01 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.h: order the signals more sensibly
* libecal/e-cal.c (destroy_factories): use G_STRLOC
(categories_changed_cb): set the size of the array so the length
is set
(e_cal_init): remove extra listener args, listen for new signals
* libecal/e-cal-marshal.list: add signal marshaller
* libecal/e-cal-listener.h: add new signals, remove function
callback protos, update protos
* libecal/e-cal-listener.c (impl_notifyErrorOccurred): emit error
signal
(impl_notifyCategoriesChanged): emit categories changed signal
(e_cal_listener_init): remove dead initializations
(e_cal_listener_finalize): remove dead finalizations
(e_cal_listener_class_init): add category and error signals
(e_cal_listener_construct): remove error and category function
params
(e_cal_listener_new): ditto
Danilo Šegan [Sun, 1 Feb 2004 18:37:41 +0000 (18:37 +0000)]
Updated Serbian translation.
2004-02-01 Danilo Šegan <dsegan@gmx.net>
* sr.po, sr@Latn.po: Updated Serbian translation.
* POTFILES.in: Removed src/GNOME_Evolution_DataServer.server.in.in.
Christian Neumair [Sun, 1 Feb 2004 09:48:06 +0000 (09:48 +0000)]
Updated German translation / added missing file to POTFILES.in.
JP Rosevear [Sun, 1 Feb 2004 04:32:01 +0000 (04:32 +0000)]
return a proper GError and boolean
2004-01-31 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.c (e_cal_is_read_only): return a proper GError and
boolean
* backends/contacts/e-cal-backend-contacts.c
(e_cal_backend_contacts_get_type): remove debug statements
Laurent Dhima [Sun, 1 Feb 2004 01:05:16 +0000 (01:05 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Sun, 1 Feb 2004 01:03:17 +0000 (01:03 +0000)]
Updated
Jeffrey Stedfast [Sat, 31 Jan 2004 21:07:58 +0000 (21:07 +0000)]
Same as below.
2004-01-31 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Same
as below.
* providers/smtp/camel-smtp-transport.c (smtp_connect): Instead of
using the form %s@%s in the password prompt, use %s on host %s,
hopefully this will be less confusing to users who have usernames
of the form user@vhost.
Changwoo Ryu [Sat, 31 Jan 2004 15:23:47 +0000 (15:23 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Duarte Loreto [Sat, 31 Jan 2004 13:54:44 +0000 (13:54 +0000)]
Updated and revised Portuguese translation.
2004-01-31 Duarte Loreto <happyguy_pt@hotmail.com>
* pt.po: Updated and revised Portuguese translation.
Hans Petter Jansson [Fri, 30 Jan 2004 23:52:09 +0000 (23:52 +0000)]
Add argument preconditions.
2004-01-30 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book-async.c (e_book_async_load_source)
(e_book_async_load_uri)
(e_book_async_get_default_addressbook)
(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_contact)
(e_book_async_remove_contact_by_id)
(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): Add argument preconditions.
* libebook/e-contact.c (e_contact_new_from_vcard)
(e_contact_duplicate)
(e_contact_name_from_string)
(e_contact_name_copy)
(e_contact_date_from_string): Add argument preconditions.
Chris Toshok [Fri, 30 Jan 2004 23:14:19 +0000 (23:14 +0000)]
add ref/unref around this function body so that we don't get unreffed by
2004-01-30 Chris Toshok <toshok@ximian.com>
* libedata-book/e-book-backend.c (e_book_backend_remove_client):
add ref/unref around this function body so that we don't get
unreffed by something below last_client_gone.
Rodney Dawes [Fri, 30 Jan 2004 22:16:05 +0000 (22:16 +0000)]
Fix spelling error in provider description
2004-01-30 Rodney Dawes <dobey@ximian.com>
* providers/groupwise/camel-groupwise-provider.c: Fix spelling error in
provider description
Fixes #53572
Jeffrey Stedfast [Fri, 30 Jan 2004 21:05:49 +0000 (21:05 +0000)]
Protect against multiple camel_init() calls. Remember if we've already
2004-01-30 Jeffrey Stedfast <fejj@ximian.com>
* camel.c (camel_init): Protect against multiple camel_init()
calls. Remember if we've already been called.
Chris Toshok [Fri, 30 Jan 2004 20:26:54 +0000 (20:26 +0000)]
update for new office location, and change the FILE-AS/ORG fields to say
2004-01-29 Chris Toshok <toshok@ximian.com>
* libedata-book/ximian-vcard.h (XIMIAN_VCARD): update for new
office location, and change the FILE-AS/ORG fields to say Novell
Ximian Group.
Rodrigo Moya [Fri, 30 Jan 2004 20:05:57 +0000 (20:05 +0000)]
require libsoup >= 2.1.6.
2004-01-30 Rodrigo Moya <rodrigo@ximian.com>
* configure.in: require libsoup >= 2.1.6.
Radek Doulik [Fri, 30 Jan 2004 16:37:01 +0000 (16:37 +0000)]
fixes few critical error warnings
2004-01-30 Radek Doulik <rodo@ximian.com>
* backends/contacts/e-cal-backend-contacts.c (contact_record_new):
make sure anniversary/birthday components were created before
using them
(contact_record_free): ditto
(contact_record_cb): ditto
Radek Doulik [Fri, 30 Jan 2004 16:32:17 +0000 (16:32 +0000)]
fixes few crashers in ldap backend
2004-01-30 Radek Doulik <rodo@ximian.com>
* backends/ldap/e-book-backend-ldap.c (contact_list_dtor): don't
g_object_unref contact list, it contains strings which are freed
in e_data_book_respond_get_contact_list, the list is freed there
as well
(category_compare): make sure categories != NULL before calling
strcmp
(build_mods_from_contacts): make sure we don't introduce new empty
fields
(build_mods_from_contacts): make sure the ber_func and
compare_func are non NULL before calling them
Rodrigo Moya [Fri, 30 Jan 2004 14:52:09 +0000 (14:52 +0000)]
LOG_DOMAIN is ...http, not ...file.
2004-01-30 Rodrigo Moya <rodrigo@ximian.com>
* backends/http/Makefile.am: LOG_DOMAIN is ...http, not ...file.
Kjartan Maraas [Fri, 30 Jan 2004 13:39:40 +0000 (13:39 +0000)]
Updated Norwegian translation.
2004-01-30 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
Rodrigo Moya [Fri, 30 Jan 2004 13:01:18 +0000 (13:01 +0000)]
don't start a new updload if we're already uploading.
2004-01-30 Rodrigo Moya <rodrigo@ximian.com>
* backends/http/e-cal-backend-http.c (reaload_cb): don't start a new
updload if we're already uploading.
Metin Amiroff [Fri, 30 Jan 2004 12:45:25 +0000 (12:45 +0000)]
Translation updated by Mətin Əmirov.
2004-01-30 Metin Amiroff <metin@karegen.com>
* az.po: Translation updated by Mətin Əmirov.
Miloslav Trmac [Fri, 30 Jan 2004 11:10:00 +0000 (11:10 +0000)]
Update Czech translaiton
Not Zed [Fri, 30 Jan 2004 04:37:28 +0000 (04:37 +0000)]
copy the old_name that comes in, since it might be the actual folder_name,
2004-01-30 Not Zed <NotZed@Ximian.com>
* camel-store.c (camel_store_rename_folder): copy the old_name
that comes in, since it might be the actual folder_name, which
will go away during processing. Related to #53123.
Hans Petter Jansson [Thu, 29 Jan 2004 21:50:23 +0000 (21:50 +0000)]
Clear the is_loading flag. (begin_retrieval_cb): Set the is_loading flag,
2004-01-29 Hans Petter Jansson <hpj@ximian.com>
* backends/http/e-cal-backend-http.c (retrieval_done): Clear the
is_loading flag.
(begin_retrieval_cb): Set the is_loading flag, maybe start the reload
timeout.
(reload_cb): Implement.
(maybe_start_reload_timeout): Implement.
(e_cal_backend_http_open): Init reload timeout ID.
Jeffrey Stedfast [Thu, 29 Jan 2004 21:30:56 +0000 (21:30 +0000)]
fixed potfile merge conflicts
Francisco Javier F. Serrador [Thu, 29 Jan 2004 20:47:40 +0000 (20:47 +0000)]
Updated Spanish translation.
2004-01-29 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Chris Toshok [Thu, 29 Jan 2004 19:51:23 +0000 (19:51 +0000)]
update for new office location, and change the FILE-AS/ORG fields to say
2004-01-29 Chris Toshok <toshok@ximian.com>
* libedata-book/ximian-vcard.h (XIMIAN_VCARD): update for new
office location, and change the FILE-AS/ORG fields to say Novell
Ximian Group.
Rodrigo Moya [Thu, 29 Jan 2004 19:19:56 +0000 (19:19 +0000)]
write all properties to the message.
2004-01-29 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c (e_gw_item_append_to_soap_message):
write all properties to the message.
Rodrigo Moya [Thu, 29 Jan 2004 18:49:55 +0000 (18:49 +0000)]
new functions. (e_gw_item_new_from_cal_component): renamed. Don't keep the
2004-01-29 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.[ch] (e_gw_item_new_from_soap_parameter,
e_gw_item_to_cal_component, e_gw_item_get_id, e_gw_item_set_id,
e_gw_item_get_creation_date, e_gw_item_set_creation_date,
e_gw_item_get_start_date, e_gw_item_set_start_date,
e_gw_item_get_classification, e_gw_item_set_classification,
e_gw_item_get_accept_level, e_gw_item_set_accept_level,
e_gw_item_get_subject, e_gw_item_set_subject,
e_gw_item_get_priority, e_gw_item_set_priority,
e_gw_item_get_message, e_gw_item_set_message,
e_gw_item_get_completed, e_gw_item_set_completed,
e_gw_item_get_due_date, e_gw_item_set_due_date,
e_gw_item_get_end_date, e_gw_item_set_end_date,
e_gw_item_get_place, e_gw_item_set_place): new functions.
(e_gw_item_new_from_cal_component): renamed. Don't keep the
ECalComponent, there's no need for it.
(append_appointment_properties): don't use the private ECalComponent,
it's not stored anymore.
(e_gw_item_dispose): free all properties.
(e_gw_item_append_to_soap_message): added support for tasks.
* backends/groupwise/e-gw-connection.c (e_gw_connection_get_items):
(e_gw_connection_send_appointment): use
e_gw_item_new_from_cal_component.
(get_e_cal_component_from_soap_parameter, get_evo_date_from_string):
removed.
(e_gw_item_get_deltas, update_cache_item): disabled until migrated to
use EGwItem's.
(e_gw_connection_get_date_from_string): new function.
* backends/groupwise/e-gw-container.c (e_gw_container_finalize): fixed
warnings.
Chris Toshok [Thu, 29 Jan 2004 17:48:01 +0000 (17:48 +0000)]
honor the @only_if_exists arg before creating the db or directory. i.e.
2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com>
* backends/file/e-book-backend-file.c
(e_book_backend_file_load_source): honor the @only_if_exists arg
before creating the db or directory. i.e. fix this so it's not
completely broken.
Radek Doulik [Thu, 29 Jan 2004 16:28:56 +0000 (16:28 +0000)]
fixed typo
Radek Doulik [Thu, 29 Jan 2004 15:27:20 +0000 (15:27 +0000)]
use "CATEORIES" instead of null vcard_field_name (e_contact_set_property):
2004-01-28 Radek Doulik <rodo@ximian.com>
* libebook/e-contact.c (e_contact_set_property): use "CATEORIES"
instead of null vcard_field_name
(e_contact_set_property): check for NULL string value, test for
single category
Not Zed [Thu, 29 Jan 2004 08:54:15 +0000 (08:54 +0000)]
** See bug #53269.
2004-01-29 Not Zed <NotZed@Ximian.com>
** See bug #53269.
* providers/nntp/camel-nntp-store.c
(nntp_store_get_cached_folder_info): don't dereference last before
checking if its null.
Not Zed [Thu, 29 Jan 2004 08:24:16 +0000 (08:24 +0000)]
added a doc comment.
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (camel_object_bag_rekey): added a doc comment.
** See bug #53520.
* camel-session.c (get_service): free the url once done, it now
gets copied by the service.
* camel-service.c (construct): copy the url that comes in, don't
just '0Wn34z' it. clena up exception handling too.
Artur Flinta [Thu, 29 Jan 2004 07:25:56 +0000 (07:25 +0000)]
Updated Polish translation by GNOME PL Team.
2004-01-29 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
Not Zed [Thu, 29 Jan 2004 05:53:05 +0000 (05:53 +0000)]
output scan->name and scan->value for writing metadata, rather than
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-object.c (cobject_state_write): output scan->name and
scan->value for writing metadata, rather than meta->name/value
which just duplicates the last entry, related to #53195.
Not Zed [Thu, 29 Jan 2004 05:18:33 +0000 (05:18 +0000)]
zero out passwd/user/host before freeing them.
2004-01-29 Not Zed <NotZed@Ximian.com>
* camel-url.c (camel_url_free): zero out passwd/user/host before
freeing them.
Kjartan Maraas [Wed, 28 Jan 2004 19:34:30 +0000 (19:34 +0000)]
Update
Rodrigo Moya [Wed, 28 Jan 2004 18:03:55 +0000 (18:03 +0000)]
added missing header.
2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.c: added missing header.
Jeffrey Stedfast [Wed, 28 Jan 2004 17:51:13 +0000 (17:51 +0000)]
Make sure the new dir path exists before trying to rename files to avoid
2004-01-28 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-mbox-store.c (rename_folder): Make sure
the new dir path exists before trying to rename files to avoid
ENOENT errors. Also save errno when we encounter errors so that we
can report the true error later rather than an error we may get
while reverting changes. Also, it is OK if the ibex files don't
exist, so check for that errno case.
Åsmund Skjæveland [Wed, 28 Jan 2004 17:37:40 +0000 (17:37 +0000)]
Updated Norwegian Nynorsk translation.
2004-01-28 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Rodrigo Moya [Wed, 28 Jan 2004 16:45:19 +0000 (16:45 +0000)]
Fixes #53465
2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
Fixes #53465
* libecal/e-cal.c (e_cal_get_error_message): fixed typo.
Danilo Šegan [Wed, 28 Jan 2004 16:08:31 +0000 (16:08 +0000)]
Updated Serbian translation.
Rodrigo Moya [Wed, 28 Jan 2004 15:29:32 +0000 (15:29 +0000)]
new function.
2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-item.[ch]
(e_gw_item_append_to_soap_message): new function.
* backends/groupwise/e-gw-connection.c (e_gw_connection_send_item):
finished implementation.
Harish Krishnaswamy [Wed, 28 Jan 2004 15:06:58 +0000 (15:06 +0000)]
Pass the correct arguments to the callback function : Initialize
* calendar/backends/groupwise/e-cal-backend-groupwise.c :
Pass the correct arguments to the callback function
* calendar/backends/groupwise/e-gw-connection.c :
(e_gw_connection_get_container_id) : Initialize container_list.
(e-gw-connection_get_deltas) : fixed the prototype to match
the callback prototype
(set_attendee_list_from_soap_param): modified
get_attendee_list_from_soap_param to update calendar component
within the same function.
(e-gw-connection_get_items) : check item types before creating
e-cal-components.
* calendar/backends/groupwise/e-gw-connection.h : added
CacheUpdateHandle structure.
JP Rosevear [Wed, 28 Jan 2004 14:03:33 +0000 (14:03 +0000)]
add protos
2004-01-28 JP Rosevear <jpr@ximian.com>
* libecal/e-cal.h: add protos
* libecal/e-cal.c (e_cal_new_system_calendar): return a pointer to
the system calendar
(e_cal_new_system_tasks): ditto for tasks
(get_default): gets the default calendar/tasks
(e_cal_get_default_calendar): gets the default calendar
(e_cal_get_default_tasks): ditto for tasks
(e_cal_set_default_calendar): sets the default calendar
(e_cal_set_default_tasks): ditto for tasks
(set_default_source): set the default calendar/tasks source
(e_cal_set_default_calendar_source): set the default calendar
source
(e_cal_set_default_tasks_source): ditto for tasks
(get_sources): get a source list given a gconf key
(e_cal_get_calendars): get the calendar source list
(e_cal_get_tasks): get the tasks source list
Sivaih Nallagatla [Wed, 28 Jan 2004 12:35:59 +0000 (12:35 +0000)]
add port and /soap parts to relative uri while updating it when account
2004-01-28 Sivaih Nallagatla <snallagatla@novell.com>
* providers/groupwise/camel-gw-listener.c (account_changed)
(modify_esources) : add port and /soap parts to relative uri while
updating it when account changed
Rodrigo Moya [Wed, 28 Jan 2004 12:23:58 +0000 (12:23 +0000)]
new class to contain all information about containers in the server.
2004-01-28 Rodrigo Moya <rodrigo@ximian.com>
* backends/groupwise/e-gw-container.[ch]: new class to contain all
information about containers in the server.
* backends/groupwise/e-gw-connection.[ch]
(e_ge_connection_free_container_list): new function.
(e_gw_connection_get_container_list): changed to return a list of
EGwContainer's.
(e_gw_connection_get_container_id): adapted to changes made in
e_gw_connection_get_container_list().
Christophe Merlet [Wed, 28 Jan 2004 12:22:38 +0000 (12:22 +0000)]
Updated French translation.
Miloslav Trmac [Wed, 28 Jan 2004 10:38:53 +0000 (10:38 +0000)]
Fixed Czech translation
Artur Flinta [Wed, 28 Jan 2004 07:07:28 +0000 (07:07 +0000)]
Updated Polish translation by GNOME PL Team.
2004-01-28 Artur Flinta <aflinta@cvs.gnome.org>
* pl.po: Updated Polish translation by GNOME PL Team.
Chris Toshok [Wed, 28 Jan 2004 01:38:39 +0000 (01:38 +0000)]
nuke the prototype for e_book_async_unload_uri.
2004-01-27 Chris Toshok <toshok@ximian.com>
* libebook/e-book-async.h: nuke the prototype for
e_book_async_unload_uri.
* libebook/e-book-async.c (e_book_async_unload_uri): nuke.
Christophe Merlet [Wed, 28 Jan 2004 00:33:57 +0000 (00:33 +0000)]
Updated french translation.
Chris Toshok [Tue, 27 Jan 2004 22:04:15 +0000 (22:04 +0000)]
remove the prototype for e_book_unload_uri. If you want to unload the uri,
2004-01-27 Chris Toshok <toshok@ximian.com>
* libebook/e-book.h: remove the prototype for e_book_unload_uri.
If you want to unload the uri, unref the book and create a new
one.
* libebook/e-book.c (e_book_cancel): add some preconditions.
(e_book_load_local_addressbook): same.
(e_book_get_source): same.
(e_book_get_static_capabilities): same. also, set the GError
instead of generating a g_warning. This should probably return
NULL in the error cases instead of g_strdup(""), but i'm not sure
if that'll break things.
(e_book_check_static_capability): add some preconditions.
(e_book_is_writable): same.
(e_book_set_self): same.
(e_book_is_self): same.
(e_book_set_default_addressbook): same.
(e_book_set_default_source): same.
(e_book_get_addressbooks): same.
(e_book_unload_uri): make this static.
* libebook/e-book-types.h (EBookStatus): add
E_BOOK_ERROR_NO_SUCH_SOURCE.
Chris Toshok [Tue, 27 Jan 2004 21:25:29 +0000 (21:25 +0000)]
change the local addressbook path to .evolution/addressbook/local/system,
2004-01-27 Chris Toshok <toshok@ximian.com>
* libebook/e-book.c (e_book_load_local_addressbook): change the
local addressbook path to .evolution/addressbook/local/system, and
pass FALSE for @only_if_exists, so it'll always be created if it's
not there already.
Hans Petter Jansson [Tue, 27 Jan 2004 21:10:19 +0000 (21:10 +0000)]
If the load_state is E_BOOK_URI_LOADING, don't try to kill the book, just
2004-01-27 Hans Petter Jansson <hpj@ximian.com>
* libebook/e-book.c (e_book_unload_uri): If the load_state is
E_BOOK_URI_LOADING, don't try to kill the book, just cancel the op
and let fetch_corba_book() take care of it.
(fetch_corba_book): Handle cancellation properly.