platform/upstream/evolution-data-server.git
20 years agoreturn a proper GError and boolean
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

20 years agoUpdated Albanian translation
Laurent Dhima [Sun, 1 Feb 2004 01:05:16 +0000 (01:05 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Sun, 1 Feb 2004 01:03:17 +0000 (01:03 +0000)]
Updated

20 years agoSame as below.
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.

20 years agoUpdated Korean translation.
Changwoo Ryu [Sat, 31 Jan 2004 15:23:47 +0000 (15:23 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoUpdated and revised Portuguese 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.

20 years agoAdd argument preconditions.
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.

20 years agoadd ref/unref around this function body so that we don't get unreffed by
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.

20 years agoFix spelling error in provider description
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

20 years agoProtect against multiple camel_init() calls. Remember if we've already
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.

20 years agoupdate for new office location, and change the FILE-AS/ORG fields to say
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.

20 years agorequire libsoup >= 2.1.6.
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.

20 years agofixes few critical error warnings
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

20 years agofixes few crashers in ldap backend
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

20 years agoLOG_DOMAIN is ...http, not ...file.
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.

20 years agoUpdated Norwegian translation.
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.

20 years agodon't start a new updload if we're already uploading.
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.

20 years agoTranslation updated by Mətin Əmirov.
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.

20 years agoUpdate Czech translaiton
Miloslav Trmac [Fri, 30 Jan 2004 11:10:00 +0000 (11:10 +0000)]
Update Czech translaiton

20 years agocopy the old_name that comes in, since it might be the actual folder_name,
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.

20 years agoClear the is_loading flag. (begin_retrieval_cb): Set the is_loading flag,
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.

20 years agofixed potfile merge conflicts
Jeffrey Stedfast [Thu, 29 Jan 2004 21:30:56 +0000 (21:30 +0000)]
fixed potfile merge conflicts

20 years agoUpdated Spanish translation.
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.

20 years agoupdate for new office location, and change the FILE-AS/ORG fields to say
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.

20 years agowrite all properties to the message.
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.

20 years agonew functions. (e_gw_item_new_from_cal_component): renamed. Don't keep the
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.

20 years agohonor the @only_if_exists arg before creating the db or directory. i.e.
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.

20 years agofixed typo
Radek Doulik [Thu, 29 Jan 2004 16:28:56 +0000 (16:28 +0000)]
fixed typo

20 years agouse "CATEORIES" instead of null vcard_field_name (e_contact_set_property):
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

20 years ago** See bug #53269.
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.

20 years agoadded a doc comment.
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.

20 years agoUpdated Polish translation by GNOME PL Team.
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.

20 years agooutput scan->name and scan->value for writing metadata, rather than
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.

20 years agozero out passwd/user/host before freeing them.
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.

20 years agoUpdate
Kjartan Maraas [Wed, 28 Jan 2004 19:34:30 +0000 (19:34 +0000)]
Update

20 years agoadded missing header.
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.

20 years agoMake sure the new dir path exists before trying to rename files to avoid
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.

20 years agoUpdated Norwegian Nynorsk translation.
Å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.

20 years agoFixes #53465
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.

20 years agoUpdated Serbian translation.
Danilo Šegan [Wed, 28 Jan 2004 16:08:31 +0000 (16:08 +0000)]
Updated Serbian translation.

20 years agonew function.
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.

20 years agoPass the correct arguments to the callback function : Initialize
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.

20 years agoadd protos
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

20 years agoadd port and /soap parts to relative uri while updating it when account
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

20 years agonew class to contain all information about containers in the server.
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().

20 years agoUpdated French translation.
Christophe Merlet [Wed, 28 Jan 2004 12:22:38 +0000 (12:22 +0000)]
Updated French translation.

20 years agoFixed Czech translation
Miloslav Trmac [Wed, 28 Jan 2004 10:38:53 +0000 (10:38 +0000)]
Fixed Czech translation

20 years agoUpdated Polish translation by GNOME PL Team.
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.

20 years agonuke the prototype for e_book_async_unload_uri.
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.

20 years agoUpdated french translation.
Christophe Merlet [Wed, 28 Jan 2004 00:33:57 +0000 (00:33 +0000)]
Updated french translation.

20 years agoremove the prototype for e_book_unload_uri. If you want to unload the uri,
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.

20 years agochange the local addressbook path to .evolution/addressbook/local/system,
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.

20 years agoIf the load_state is E_BOOK_URI_LOADING, don't try to kill the book, just
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.

20 years agoupdate proto
JP Rosevear [Tue, 27 Jan 2004 18:51:15 +0000 (18:51 +0000)]
update proto

2004-01-27  JP Rosevear <jpr@ximian.com>

* libecal/e-cal.h: update proto

* libecal/e-cal.c (e_cal_remove): rename from
e_cal_remove_calendar
(e_cal_get_error_message): key on new status name

* libecal/e-cal-types.h: rename
E_CALENDAR_STATUS_CARD_ID_ALREADY_EXISTS to
E_CALENDAR_STATUS_OBJECT_ID_ALREADY_EXISTS, delete duplicate enum

* idl/Evolution-DataServer-Calendar.idl: rename
CardIdAlreadyExists to ObjectIdAlreadyExists

* libecal/e-cal-listener.c (convert_status): key on new name

* backends/file/e-cal-backend-file.c
(e_cal_backend_file_create_object): return object id already
exists

20 years agoset CAMEL_FOLDER_SUPRESS_JUNK_TEST flag (imap_update_summary): update
Radek Doulik [Tue, 27 Jan 2004 14:21:40 +0000 (14:21 +0000)]
set CAMEL_FOLDER_SUPRESS_JUNK_TEST flag (imap_update_summary): update

2004-01-27  Radek Doulik  <rodo@ximian.com>

* providers/imap/camel-imap-folder.c (camel_imap_folder_new): set
CAMEL_FOLDER_SUPRESS_JUNK_TEST flag
(imap_update_summary): update CAMEL_FOLDER_SUPRESS_JUNK_TEST flag

* camel-folder.c (folder_changed): use
CAMEL_FOLDER_SUPRESS_JUNK_TEST flag instead of check_junk_for_imap

* camel-folder.h (CAMEL_FOLDER_SUPRESS_JUNK_TEST): added new flag

20 years agonot having the priority or dueDate properties is not an error.
Rodrigo Moya [Tue, 27 Jan 2004 12:02:42 +0000 (12:02 +0000)]
not having the priority or dueDate properties is not an error.

2004-01-27  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-gw-connection.c
(get_e_cal_component_from_soap_parameter): not having the priority
or dueDate properties is not an error.

20 years ago** See bug #53373.
Not Zed [Tue, 27 Jan 2004 04:13:10 +0000 (04:13 +0000)]
** See bug #53373.

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

        ** See bug #53373.

        * camel-store.c (camel_store_rename_folder): use object_bag_rekey
        to rename the object.  object_bag use was broken.

        * camel-object.c (camel_object_bag_rekey): new api to atomically re-key

20 years agoadd test-untyped-phones. (test_untyped_phones_LDADD): new variable.
Chris Toshok [Mon, 26 Jan 2004 20:18:43 +0000 (20:18 +0000)]
add test-untyped-phones. (test_untyped_phones_LDADD): new variable.

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

* tests/ebook/Makefile.am (noinst_PROGRAMS): add
test-untyped-phones.
(test_untyped_phones_LDADD): new variable.

* tests/ebook/test-untyped-phones.c: new test for 40013.

20 years ago[ fixes bug #53228 ]
Chris Toshok [Mon, 26 Jan 2004 19:57:00 +0000 (19:57 +0000)]
[ fixes bug #53228 ]

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

[ fixes bug #53228 ]

* tests/ebook/test-categories.c: new test.

* tests/ebook/Makefile.am (noinst_PROGRAMS): add test-categories.

* libebook/e-vcard.c (e_vcard_to_string_vcard_30): this is really
gross.  We don't escape the ,'s if we're generating the value for
a CATEGORIES attribute.  I can't believe the RFC specifies commas
for use as a toplevel list separator for CATEGORIES.  That's what
;'s are for.
(read_attribute_value): split the CATEGORIES attribute up like a
normal list would be, only use ','s for it.

* libebook/e-contact.c (e_contact_set_property): implement the
setter portion of CATEGORIES support.
(e_contact_get_property): implement the CATEGORIES getter.

20 years agoBump libtool versions, version, soup requirement
JP Rosevear [Mon, 26 Jan 2004 19:27:21 +0000 (19:27 +0000)]
Bump libtool versions, version, soup requirement

2004-01-26  JP Rosevear  <jpr@ximian.com>

* configure.in: Bump libtool versions, version, soup requirement

20 years agoimplement this the right way by searching for the "default" property over
Chris Toshok [Mon, 26 Jan 2004 17:51:47 +0000 (17:51 +0000)]
implement this the right way by searching for the "default" property over

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

* libebook/e-book.c (e_book_get_default_addressbook): implement
this the right way by searching for the "default" property over
all sources, and returning that source, or the local addressbook
if there isn't a default source.
(e_book_set_default_addressbook): new function.
(e_book_set_default_source): new function.

* libebook/e-book.h: add prototypes for
e_book_set_default_addressbook/e_book_set_default_source.

20 years agodon't allocate memory for ECalComponentAttendee's fields, make them just
Rodrigo Moya [Mon, 26 Jan 2004 15:12:33 +0000 (15:12 +0000)]
don't allocate memory for ECalComponentAttendee's fields, make them just

2004-01-27  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-gw-connection.c
(get_attendee_list_from_soap_parameter): don't allocate memory for
ECalComponentAttendee's fields, make them just point to the values
contained in the SoupSoapResponse.
(get_e_cal_component_from_soap_parameter): don't free
ECalComponentAttendee's fields, free the structure.
(e_gw_connection_send_item): fixed warnings.

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_get_object):
(e_cal_backend_groupwise_remove): lock/unlock the mutex when accessing
private fields.

20 years agotake a const uri (e_cal_backend_cache_set_property): pass a const value
JP Rosevear [Mon, 26 Jan 2004 14:55:08 +0000 (14:55 +0000)]
take a const uri (e_cal_backend_cache_set_property): pass a const value

2004-01-26  JP Rosevear <jpr@ximian.com>

* libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): take
a const uri
(e_cal_backend_cache_set_property): pass a const value
(e_cal_backend_cache_constructor): uri is const
(e_cal_backend_cache_put_component): rid is const
(e_cal_backend_cache_get_components): distinguish between GList
and GSList

* libedata-cal/e-cal-backend-sexp.c (func_uid): make sure we
always set a return value

20 years agodescription is not const
JP Rosevear [Mon, 26 Jan 2004 14:46:43 +0000 (14:46 +0000)]
description is not const

2004-01-26  JP Rosevear <jpr@ximian.com>

* backends/groupwise/e-gw-connection.c
(get_e_cal_component_from_soap_parameter): description is not
const

20 years agofixed memory leaks and use g_list_* functions for GList's, not g_slist_*.
Rodrigo Moya [Mon, 26 Jan 2004 13:32:23 +0000 (13:32 +0000)]
fixed memory leaks and use g_list_* functions for GList's, not g_slist_*.

2004-01-27  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_start_query): fixed memory leaks and use
g_list_* functions for GList's, not g_slist_*.
(match_object_sexp, match_recurrence_sexp): removed unneeded functions,
we match the object directly in get_object_list.
(e_cal_backend_groupwise_start_query): call get_object_list to retrieve
the matched objects and call e_data_cal_view_notify_* functions
appropriately.

20 years ago: added and implemented. (e_cal_backend_groupwise_get_object_list) : fixed
Harish Krishnaswamy [Mon, 26 Jan 2004 07:36:25 +0000 (07:36 +0000)]
: added and implemented. (e_cal_backend_groupwise_get_object_list) : fixed

* calendar/backends/groupwise/e-cal-backend-groupwise.c :
(e_cal_backend_groupwise_internal_get_default_timezone,
e_cal_backend_groupwise_internal_get_timezone) : added and
implemented.
(e_cal_backend_groupwise_get_object_list) : fixed incorrect
access to the list.
(e_cal_backend_groupwise_start_query) : fixed compiler warnings.
* calendar/backends/groupwise/e-gw-connection.c :
(e_gw_connection_get_container_id) : Modified elements 'Folders' to
the 'folders' due to change in the server implementation.
Fixed compiler warnings.

20 years agoAdded Mongolian translation
Sanlig Badral [Sun, 25 Jan 2004 23:22:56 +0000 (23:22 +0000)]
Added Mongolian translation

20 years agoUpdated the Greek translation
Kostas Papadimas [Sun, 25 Jan 2004 12:04:36 +0000 (12:04 +0000)]
Updated the Greek translation

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 25 Jan 2004 09:56:07 +0000 (09:56 +0000)]
Translation updated by Tino Meinen.

2004-01-25  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agomake it use ECalBackendCache for its cache, and libsoup for the HTTP
Rodrigo Moya [Sat, 24 Jan 2004 22:03:56 +0000 (22:03 +0000)]
make it use ECalBackendCache for its cache, and libsoup for the HTTP

2004-01-24  Rodrigo Moya <rodrigo@ximian.com>

* calendar/backends/http/e-cal-backend-http.c: make it use
ECalBackendCache for its cache, and libsoup for the HTTP
retrieval.
(retrieval_progress_cb, uri_to_cache_dir, ensure_cache_dir): removed
unneeded functions.
(e_cal_backend_http_finalize): cancel Soup message here, if any, and
close Soup session.
(begin_retrieval_cb): use soup_session_queue_message() to send the
HTTP request to the server.
(retrieval_done): update the cache on success, and changed to be the
callback for the Soup async message.
(e_cal_backend_http_open): create a ECalBackendCache, not an
ECalBackendFile.
(e_cal_backend_http_remove): remove the cache.
(e_cal_backend_http_is_loaded, e_cal_backend_http_get_default_object,
e_cal_backend_http_get_object, e_cal_backend_http_get_timezone,
e_cal_backend_http_add_timezone,
e_cal_backend_http_set_default_timezone,
e_cal_backend_http_get_object_list, e_cal_backend_http_start_query,
e_cal_backend_http_get_default_timezone,
e_cal_backend_http_get_timezone):
dont proxy calls to the file backend, use the cache instead.
(e_cal_backend_http_create_object, e_cal_backend_http_modify_object,
e_cal_backend_http_remove_object, e_cal_backend_http_receive_objects,
e_cal_backend_http_send_objects):
the HTTP backend is read only, return permission denied error.

* backends/http/Makefile.am: added SOUP_CFLAGS|LIBS.

* backends/groupwise/Makefile.am: s/GROUPWISE/SOUP.

20 years agos/GROUPWISE/SOUP.
Rodrigo Moya [Sat, 24 Jan 2004 22:03:31 +0000 (22:03 +0000)]
s/GROUPWISE/SOUP.

2004-01-24  Rodrigo Moya <rodrigo@ximian.com>

* configure.in: s/GROUPWISE/SOUP.

20 years agoif the source is primary, don't allow it to be un-selected
JP Rosevear [Sat, 24 Jan 2004 05:36:53 +0000 (05:36 +0000)]
if the source is primary, don't allow it to be un-selected

2004-01-24  JP Rosevear <jpr@ximian.com>

* e-source-selector.c (cell_toggled_callback): if the source is
primary, don't allow it to be un-selected

20 years agomake public. (e_vcard_escape_string): same. (e_vcard_to_string_vcard_30):
Chris Toshok [Fri, 23 Jan 2004 20:16:12 +0000 (20:16 +0000)]
make public. (e_vcard_escape_string): same. (e_vcard_to_string_vcard_30):

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

* libebook/e-vcard.c (e_vcard_unescape_string): make public.
(e_vcard_escape_string): same.
(e_vcard_to_string_vcard_30): use the public escape_string
function.
(e_vcard_dump_structure): same.

* libebook/e-vcard.h (e_vcard_unescape_string): expose this
(e_vcard_escape_string): and this.

* libebook/e-contact.h: rearrange the enum again, to keep
strings/structs separate.

* libebook/e-book.c (e_book_get_default_addressbook): might as
well switch this to the new folder layout.
(e_book_load_local_addressbook): same.

* libebook/e-contact.c (e_contact_find_attribute_with_types): only
find the attribute that matches the types explicitly.  this is the
only way to implement "other phone/fax" currently.
(e_contact_set_property): same.

20 years agoUpdated Brazilian Portuguese translation done by Gustavo Maciel Dias
Gustavo Maciel Dias Vieira [Fri, 23 Jan 2004 19:42:43 +0000 (19:42 +0000)]
Updated Brazilian Portuguese translation done by Gustavo Maciel Dias

2004-01-23  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>.

20 years agouse check_junk_for_imap flag
Radek Doulik [Fri, 23 Jan 2004 17:16:47 +0000 (17:16 +0000)]
use check_junk_for_imap flag

2004-01-23  Radek Doulik  <rodo@ximian.com>

* camel-folder.c (folder_changed): use check_junk_for_imap flag

* camel-session.c: add check_junk_for_imap flag

20 years ago*** empty log message ***
Harish Krishnaswamy [Fri, 23 Jan 2004 16:05:08 +0000 (16:05 +0000)]
*** empty log message ***

20 years agouse g_new0 instead of g_malloc0 and added NULL check for
Harish Krishnaswamy [Fri, 23 Jan 2004 16:02:48 +0000 (16:02 +0000)]
use g_new0 instead of g_malloc0 and added NULL check for
validating the soap responses.
(get_e_cal_component_from_soap_parameter) added code to
parse 'message' into description.

20 years agoRemoved update_cache function and refactored the call-back
Harish Krishnaswamy [Fri, 23 Jan 2004 16:01:51 +0000 (16:01 +0000)]
Removed update_cache function and refactored the call-back
to use e-gw-connection_get_deltas instead of update_cache.

20 years agoFix leak.
Thomas Cataldo [Fri, 23 Jan 2004 10:58:45 +0000 (10:58 +0000)]
Fix leak.

2004-01-22  Thomas Cataldo  <tcataldo@users.sourceforge.net>

* libedataserver/e-xml-hash-utils.c: (e_xml_to_hash):
Fix leak.

20 years ago (imap_get_message): revert peterw's change of 2002-07-15, instead
Michael Zucci [Fri, 23 Jan 2004 04:23:58 +0000 (04:23 +0000)]
(imap_get_message): revert peterw's change of 2002-07-15, instead
of checking for online mode here, let get_message do it when you
retrieve the parts.  This lets a multi-fetch (i.e. large) message
work more betterer in offline mode.

20 years agoremoved the meaningless fixme, a butt-retrieved-number is as good as any
Not Zed [Fri, 23 Jan 2004 04:06:50 +0000 (04:06 +0000)]
removed the meaningless fixme, a butt-retrieved-number is as good as any

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

        * providers/imap/camel-imap-folder.c (IMAP_SMALL_BODY_SIZE):
        removed the meaningless fixme, a butt-retrieved-number is as good
        as any in this case.
        (imap_get_message): revert peterw's change of 2002-07-15, instead
        of checking for online mode here, let get_message do it when you
        retrieve the parts.  This lets a multi-fetch (i.e. large) message
        work more betterer in offline mode.

20 years agoFix prototype to be consistent.
Jeremy Katz [Thu, 22 Jan 2004 18:00:55 +0000 (18:00 +0000)]
Fix prototype to be consistent.

2004-01-22  Jeremy Katz  <katzj@redhat.com>

       * camel-mime-part.c: Fix prototype to be consistent.

20 years agoUpdated Brazilian Portuguese translation done by Gustavo Maciel Dias
Gustavo Maciel Dias Vieira [Thu, 22 Jan 2004 15:51:17 +0000 (15:51 +0000)]
Updated Brazilian Portuguese translation done by Gustavo Maciel Dias

2004-01-22  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>.

20 years ago*** empty log message ***
Rodrigo Moya [Thu, 22 Jan 2004 10:53:44 +0000 (10:53 +0000)]
*** empty log message ***

20 years agoChanged declaration to use GList instead of GSList
Harish Krishnaswamy [Thu, 22 Jan 2004 06:39:02 +0000 (06:39 +0000)]
Changed declaration to use GList instead of GSList

20 years agocalendar/backends/groupwise/e-cal-backend-groupwise.c
Harish Krishnaswamy [Thu, 22 Jan 2004 06:25:01 +0000 (06:25 +0000)]
calendar/backends/groupwise/e-cal-backend-groupwise.c
          (populate_cache, e_cal_backend_groupwise_get_object_list,
          e_cal_backend_groupwise_get_free_busy ) :changed implementation
          to use GList instead of GSList, aligning to the rest of the
          backends.
          (e_cal_backend_groupwise_get_changes, update_cache): implemented.
        * calendar/backends/groupwise/e-gw-connection.c
          (get_attendee_list_from_soap_parameter) : modified
          get_attendee_list_from_string to handle recipients element.
          (get_e_cal_component_from_soap_parameter) -fixed memory leaks.
          (update_cache_item) : implemented.
          (e_gw_connection_get_freebusy_info, start_freebusy_session)
          GSList to GList changes.
        * calendar/backends/groupwise/e-gw-connection.h : updated
          declarations for the above changes.
        * calendar/libedata-cal/e-cal-backend-cache.[ch] :
          (e_cal_backend_cache_get_components) : return GList instead of
          GSList.

20 years ago(e_cal_backend_cache_get_components) : return GList instead of
Harish Krishnaswamy [Thu, 22 Jan 2004 06:23:21 +0000 (06:23 +0000)]
(e_cal_backend_cache_get_components) : return GList instead of
GSList.

20 years ago(get_attendee_list_from_soap_parameter) : modified
Harish Krishnaswamy [Thu, 22 Jan 2004 06:20:38 +0000 (06:20 +0000)]
(get_attendee_list_from_soap_parameter) : modified
get_attendee_list_from_string to handle recipients element.
(get_e_cal_component_from_soap_parameter) -fixed memory leaks.
(update_cache_item) : implemented.
(e_gw_connection_get_freebusy_info, start_freebusy_session)
GSList to GList changes.

20 years agopopulate_cache, e_cal_backend_groupwise_get_object_list,
Harish Krishnaswamy [Thu, 22 Jan 2004 06:19:22 +0000 (06:19 +0000)]
populate_cache, e_cal_backend_groupwise_get_object_list,
e_cal_backend_groupwise_get_free_busy ) :changed implementation
to use GList instead of GSList, aligning to the rest of the
backends.
(e_cal_backend_groupwise_get_changes, update_cache): implemented.

20 years agoremove the cache from disk when removing the calendar.
Rodrigo Moya [Wed, 21 Jan 2004 23:37:43 +0000 (23:37 +0000)]
remove the cache from disk when removing the calendar.

2004-01-21  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_remove): remove the cache from disk
when removing the calendar.

* backends/file/e-cal-backend-file.c
(e_cal_backend_file_remove): added missing call to g_dir_close().

20 years agonew function to remove the file cache from disk.
Rodrigo Moya [Wed, 21 Jan 2004 23:37:20 +0000 (23:37 +0000)]
new function to remove the file cache from disk.

2004-01-21  Rodrigo Moya <rodrigo@ximian.com>

* libedataserver/e-file-cache.[ch] (e_file_cache_remove): new function
to remove the file cache from disk.

20 years agoNew function to allow searching of IM fields. Likewise. Likewise.
Nat Friedman [Wed, 21 Jan 2004 23:29:01 +0000 (23:29 +0000)]
New function to allow searching of IM fields. Likewise. Likewise.

2004-01-21  Nat Friedman <nat@novell.com>

* libedata-book/e-book-backend-sexp.c (compare_im): New function
to allow searching of IM fields.
* libedata-book/e-book-backend-sexp.c (compare_im_aim): Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_msn): Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_icq): Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_yahoo):
Likewise.
* libedata-book/e-book-backend-sexp.c (compare_im_jabber):
Likewise.
* libedata-book/e-book-backend-sexp.c (prop_info_table): Added
entries for IM field searching.

20 years agouse the full path when removing files.
Rodrigo Moya [Wed, 21 Jan 2004 23:14:30 +0000 (23:14 +0000)]
use the full path when removing files.

2004-01-21  Rodrigo Moya <rodrigo@ximian.com>

* backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
use the full path when removing files.

20 years agodon't build client test
JP Rosevear [Wed, 21 Jan 2004 19:10:53 +0000 (19:10 +0000)]
don't build client test

2004-01-21  JP Rosevear <jpr@ximian.com>

* libecal/Makefile.am: don't build client test

20 years agoinclude calendar test stuff in AC_OUTPUT
JP Rosevear [Wed, 21 Jan 2004 18:52:24 +0000 (18:52 +0000)]
include calendar test stuff in AC_OUTPUT

2004-01-21  JP Rosevear <jpr@ximian.com>

* configure.in: include calendar test stuff in AC_OUTPUT

20 years agothe beginnings of a test client
JP Rosevear [Wed, 21 Jan 2004 18:51:04 +0000 (18:51 +0000)]
the beginnings of a test client

2004-01-21  JP Rosevear <jpr@ximian.com>

* tests/ecal/test-ecal.c: the beginnings of a test client

* tests/ecal/Makefile.am: build the test client

* tests/Makefile.am: add ecal subdir

* Makefile.am: add tests subdir

20 years agoShush.
JP Rosevear [Wed, 21 Jan 2004 18:46:17 +0000 (18:46 +0000)]
Shush.

20 years agocreate the component listener here, so that backend_died_cb gets called
Rodrigo Moya [Wed, 21 Jan 2004 18:36:14 +0000 (18:36 +0000)]
create the component listener here, so that backend_died_cb gets called

2004-01-21  Rodrigo Moya <rodrigo@ximian.com>

* libecal/e-cal.c (e_cal_new): create the component listener
here, so that backend_died_cb gets called when the backend dies.

20 years agoadded code for retrieving the container ID for tasks also.
Rodrigo Moya [Wed, 21 Jan 2004 18:16:05 +0000 (18:16 +0000)]
added code for retrieving the container ID for tasks also.

2004-01-21  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-cal-backend-groupwise.c
(connect_to_server): added code for retrieving the container ID
for tasks also.

20 years agoadded missing g_mutex_unlock call.
Rodrigo Moya [Wed, 21 Jan 2004 18:05:07 +0000 (18:05 +0000)]
added missing g_mutex_unlock call.

2004-01-21  Rodrigo Moya <rodrigo@ximian.com>

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_open): added missing g_mutex_unlock
call.