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

20 years agocheck arguments before passing them to functions to avoid warnings at
Rodrigo Moya [Wed, 21 Jan 2004 17:21:07 +0000 (17:21 +0000)]
check arguments before passing them to functions to avoid warnings at

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

* backends/groupwise/e-gw-connection.c
(get_e_cal_component_from_soap_parameter): check arguments before
passing them to functions to avoid warnings at runtime.

20 years agocreate directory tree to contain the calendar.
Rodrigo Moya [Wed, 21 Jan 2004 17:03:19 +0000 (17:03 +0000)]
create directory tree to contain the calendar.

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

* backends/file/e-cal-backend-file.c (create_cal): create
directory tree to contain the calendar.

20 years agoFixed wrong file name
Rodrigo Moya [Wed, 21 Jan 2004 15:21:32 +0000 (15:21 +0000)]
Fixed wrong file name

20 years agoreturn error when the type of the component does not match the supported
Rodrigo Moya [Wed, 21 Jan 2004 13:19:11 +0000 (13:19 +0000)]
return error when the type of the component does not match the supported

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

* backends/groupwise/e-cal-backend-groupwise.c
(get_e_cal_component_from_soap_parameter): return error when
the type of the component does not match the supported ones.

20 years agoFixes #51705
Rodrigo Moya [Wed, 21 Jan 2004 13:01:49 +0000 (13:01 +0000)]
Fixes #51705

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

Fixes #51705

* backends/file/e-cal-backend-file.c (e_cal_backend_file_remove):
remove all files in the directory and the directory itself.

20 years agouse a GSList, which is what we are passed to
Rodrigo Moya [Wed, 21 Jan 2004 10:32:56 +0000 (10:32 +0000)]
use a GSList, which is what we are passed to

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

* backends/groupwise/e-cal-backend-groupwise.c (match_recurrence_sexp,
match_object_sexp): use a GSList, which is what we are passed
to e_cal_backend_groupwise_get_object_list.
(e_cal_backend_groupwise_start_query): fixed warning.

20 years agoFixes nasty crash in e-d-s
Rodrigo Moya [Wed, 21 Jan 2004 10:18:04 +0000 (10:18 +0000)]
Fixes nasty crash in e-d-s

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

Fixes nasty crash in e-d-s

* libedataserver/e-xml-hash-utils.[ch]: EXmlHashFunc gets 3 arguments.
(foreach_hash_func): pass the value also to the XML hash function.

* libedataserver/e-file-cache.c (add_object_to_list): use the correct
argument types.

20 years agoset a primary selection if there is one before the rebuild
JP Rosevear [Wed, 21 Jan 2004 03:04:08 +0000 (03:04 +0000)]
set a primary selection if there is one before the rebuild

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

* e-source-selector.c (rebuild_model): set a primary selection if
there is one before the rebuild
(e_source_selector_set_primary_selection): block the signals when
clearing the tree selection to make the op atomic; emit the
selection_changed signal if a hidden selection is not currently
selectecd

20 years ago** See bug #52996.
Not Zed [Wed, 21 Jan 2004 01:26:04 +0000 (01:26 +0000)]
** See bug #52996.

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

        ** See bug #52996.

        * camel-data-cache.c (camel_data_cache_add): put a do-loop around
        the object_bag_reserve stuff, otherwise we can add/abort out of
        sync (i.e. when object_bag_reserve returned a pointer we mustn't
        call add/abort).

        * camel-object.c (camel_object_bag_*): Added some inline doco.

~
~
~
~
~
~

20 years agoprovide parent iter in/out arg (test_collapse_row_callback): use priv
JP Rosevear [Tue, 20 Jan 2004 22:56:38 +0000 (22:56 +0000)]
provide parent iter in/out arg (test_collapse_row_callback): use priv

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

* e-source-selector.c (find_source_iter): provide parent iter
in/out arg
(test_collapse_row_callback): use priv shortcut
(e_source_selector_select_source): pass parent iter
(e_source_selector_unselect_source): ditto
(e_source_selector_peek_primary_selection): return the right thing
if the primary selection is currently hidden
(e_source_selector_set_primary_selection): set the primary
selection properly if the source node is currently hidden

20 years agoutil routine to clear the row reference to the saved primary selection
JP Rosevear [Tue, 20 Jan 2004 21:24:54 +0000 (21:24 +0000)]
util routine to clear the row reference to the saved primary selection

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

* e-source-selector.c (clear_saved_primary_selection): util
routine to clear the row reference to the saved primary selection
(find_source_iter): unref the model data retrieved
(rebuild_existing_cb): ditto
(toggle_cell_data_func): ditto
(text_cell_data_func): ditto
(selection_func): ditto; clear the saved primary selection if
something else is selected
(cell_toggled_callback): ditto
(test_collapse_row_callback): clear the toggled_last flag
(row_expanded_callback): once we've restored the saved primary
selection, clear it
(selector_button_press_event): unref the model data
(impl_dispose): use clear_saved_primary_selection
(init): the store column holds object not pointer type
(e_source_selector_peek_primary_selection): unref the model da

20 years agocheck if the collapsing node has its child selected, if so take a row
JP Rosevear [Tue, 20 Jan 2004 19:16:41 +0000 (19:16 +0000)]
check if the collapsing node has its child selected, if so take a row

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

* e-source-selector.c (test_collapse_row_callback): check if the
collapsing node has its child selected, if so take a row reference
to remember the selection
(row_expanded_callback): check if the expanding node has the saved
primary selection under it and re-select if so
(init): listen for signals
(impl_dispose): free the primary selection

20 years agoPass a threaded POA policy to g_object_new (). Fixes deadlocks.
Hans Petter Jansson [Tue, 20 Jan 2004 18:25:01 +0000 (18:25 +0000)]
Pass a threaded POA policy to g_object_new (). Fixes deadlocks.

2004-01-20  Hans Petter Jansson  <hpj@ximian.com>

* libedata-book/e-data-book-view.c (e_data_book_view_new): Pass a
threaded POA policy to g_object_new (). Fixes deadlocks.

20 years agoUpdated Korean translation.
Changwoo Ryu [Tue, 20 Jan 2004 17:29:32 +0000 (17:29 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agosplit out the connection code. (connect_to_server): and moved it here.
Rodrigo Moya [Tue, 20 Jan 2004 15:20:50 +0000 (15:20 +0000)]
split out the connection code. (connect_to_server): and moved it here.

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

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_set_mode): split out the connection code.
(connect_to_server): and moved it here.
(e_cal_backend_groupwise_open): call connect_to_server, not
set_mode, to avoid online/offline notifications.

20 years ago** See bug #52817.
Not Zed [Tue, 20 Jan 2004 05:33:12 +0000 (05:33 +0000)]
** See bug #52817.

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

        ** See bug #52817.

        * camel-session.c (camel_session_get_password): merged reprompt
        and secret into a flags field, and add more options.  Fixed all
        callers.

20 years ago** See bug #52899.
Not Zed [Mon, 19 Jan 2004 22:03:22 +0000 (22:03 +0000)]
** See bug #52899.

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

        ** See bug #52899.

        * camel-gpg-context.c (gpg_ctx_parse_status): use need_id as the
        password key, not userid.

20 years agocreate the data structure for rebuilding the model (free_rebuild_data):
JP Rosevear [Mon, 19 Jan 2004 19:28:34 +0000 (19:28 +0000)]
create the data structure for rebuilding the model (free_rebuild_data):

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

* e-source-selector.c (create_rebuild_data): create the data
structure for rebuilding the model
(free_rebuild_data): free it
(rebuild_existing_cb): check for the sources that are still
existing or deleted
(rebuild_model): do incremental updates
(selection_func): if the last thing we did was toggle, we don't
actually want to highlight and if the source is not checked, check
it
(cell_toggled_callback): indicate that a toggle just occurred
(init): initial toggled last to false
(e_source_selector_set_primary_selection): set some preconditions

Fixes #51787

20 years ago (get_e_cal_component_from_soap_parameter):
Harish Krishnaswamy [Mon, 19 Jan 2004 16:31:49 +0000 (16:31 +0000)]
 (get_e_cal_component_from_soap_parameter):
 'due' property set for TODOs instead of dtend.
 added code for mapping all values of GW data to
 percent, priority, classification, transparency
 properties in ECalComponent. Fixed compiler warnings.

20 years ago*** empty log message ***
Harish Krishnaswamy [Mon, 19 Jan 2004 16:27:27 +0000 (16:27 +0000)]
*** empty log message ***

20 years ago2004-01-19 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Mon, 19 Jan 2004 14:00:34 +0000 (14:00 +0000)]
2004-01-19 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

20 years agoadd port and "/soap" to source uri
Siviaah Nallagatla [Mon, 19 Jan 2004 11:14:08 +0000 (11:14 +0000)]
add port and "/soap" to source uri

2004-01-19  Siviaah Nallagatla <snallagatla@novell.com>

        * providers/groupwise/camel-gw-listener.c ( remove_calender_tasks_sources,
        modify_calender_tasks_sources) : add port and "/soap" to source uri

20 years agouse a CamelURL to properly encode the url we generate.
Not Zed [Mon, 19 Jan 2004 06:03:35 +0000 (06:03 +0000)]
use a CamelURL to properly encode the url we generate.

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

        * camel-vee-store.c (change_folder): use a CamelURL to properly
        encode the url we generate.
        (vee_get_folder_info): ditto.
        (vee_get_folder_info): removed unused variable/warning.

        * camel-session.c (vee_provider): Update the provider flags for
        URL_FRAGMENT_IS_PATH.

        * providers/imapp/camel-imapp-utils.c (imap_parse_addfress_list):
        namespaces fixes for HEADER_ADDRESS*

20 years agoAdded features Free/Busy and getDelta in GW backend
Harish Krishnaswamy [Sun, 18 Jan 2004 14:32:56 +0000 (14:32 +0000)]
Added features Free/Busy and getDelta in GW backend

20 years ago(e_cal_backend_groupwise_get_free_busy): Implemented.
Harish Krishnaswamy [Sun, 18 Jan 2004 14:31:53 +0000 (14:31 +0000)]
(e_cal_backend_groupwise_get_free_busy): Implemented.

20 years agoAdded declaration for e_gw_connection_get_freebusy_info and
Harish Krishnaswamy [Sun, 18 Jan 2004 14:31:15 +0000 (14:31 +0000)]
Added declaration for e_gw_connection_get_freebusy_info and
modified getDeltas signature to match the current server
implementation.

20 years ago(e_gw_connection_get_deltas) : Implemented parsing of the response.
Harish Krishnaswamy [Sun, 18 Jan 2004 14:29:00 +0000 (14:29 +0000)]
(e_gw_connection_get_deltas) : Implemented parsing of the response.
(e_gw_connection_get_free_busy_info) : Implemented including private
functions (get_attendee_list_from_string, start_freebusy_session and
 close_freebusy_session).
(e_gw_connection_get_container_id) : remove unused variable.
(get_e_cal_component_from_soap_parameter) : added code to
 set attendee_list to the e_cal_component.
(get_evo_date_from_string) : fixed typo.

20 years agoLimit the flags we set (or unset) to the folder's permanent flags.
Jeffrey Stedfast [Sat, 17 Jan 2004 15:26:52 +0000 (15:26 +0000)]
Limit the flags we set (or unset) to the folder's permanent flags.

2004-01-17  Jeffrey Stedfast  <fejj@ximian.com>

* providers/imap/camel-imap-folder.c (imap_sync_online): Limit the
flags we set (or unset) to the folder's permanent flags.

20 years agoremove test bits
JP Rosevear [Fri, 16 Jan 2004 22:55:06 +0000 (22:55 +0000)]
remove test bits

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

* backends/file/e-cal-backend-file.c (save): remove test bits

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Fri, 16 Jan 2004 19:40:15 +0000 (19:40 +0000)]
Updated Norwegian translation.

2004-01-16  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agoremove debug statement
JP Rosevear [Fri, 16 Jan 2004 19:00:15 +0000 (19:00 +0000)]
remove debug statement

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

* libecal/e-cal.c (categories_changed_idle_cb): remove debug
statement

20 years agoidle handler to emit the writable signal on the main thread
JP Rosevear [Fri, 16 Jan 2004 18:58:08 +0000 (18:58 +0000)]
idle handler to emit the writable signal on the main thread

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

* libebook/e-book.c (e_book_idle_writable): idle handler to emit
the writable signal on the main thread
(e_book_handle_response): use above

20 years agoreturn AUTH_REQUIRED error if we don't get a password from the
Rodrigo Moya [Fri, 16 Jan 2004 18:15:14 +0000 (18:15 +0000)]
return AUTH_REQUIRED error if we don't get a password from the

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

* libecal/e-cal.c (e_cal_open): return AUTH_REQUIRED error if
we don't get a password from the authentication function.

* backends/file/e-cal-backend-file.c
(e_cal_backend_file_modify_object): store the old object before
actually losing it.

20 years agoSame.
Jeffrey Stedfast [Fri, 16 Jan 2004 18:13:04 +0000 (18:13 +0000)]
Same.

2004-01-16  Jeffrey Stedfast  <fejj@ximian.com>

* camel-mime-message.c (camel_mime_message_build_mbox_from): Same.

* camel-internet-address.c (internet_decode): Same.

* camel-mime-utils.[c,h]: Namespaced camel_header_address_t enums
s/HEADER_ADDRESS_/CAMEL_HEADER_ADDRESS_/g

20 years agoname space the idle data structs properly
JP Rosevear [Fri, 16 Jan 2004 17:33:47 +0000 (17:33 +0000)]
name space the idle data structs properly

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

* libecal/e-cal.c: name space the idle data structs properly

20 years agoidle handler to actually proxy the signal emission to the main thread
JP Rosevear [Fri, 16 Jan 2004 17:29:26 +0000 (17:29 +0000)]
idle handler to actually proxy the signal emission to the main thread

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

* libecal/e-cal.c (backend_error_idle_cb): idle handler to
actually proxy the signal emission to the main thread
(backend_error_cb): use above
(categories_changed_idle_cb): idle handler for proxying
(categories_changed_cb): use above

Fixes #52743

20 years agoFix error message string (sexp backend).
Christian Neumair [Fri, 16 Jan 2004 15:42:47 +0000 (15:42 +0000)]
Fix error message string (sexp backend).

20 years agouse ~/.evolution/cache/calendar for the cache files.
Rodrigo Moya [Fri, 16 Jan 2004 15:23:28 +0000 (15:23 +0000)]
use ~/.evolution/cache/calendar for the cache files.

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

* libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): use
~/.evolution/cache/calendar for the cache files.

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_get_object_list): lock/unlock the
private mutex.

20 years agouse ~/.evolution/cache/calendar for the cache files.
Rodrigo Moya [Fri, 16 Jan 2004 15:22:27 +0000 (15:22 +0000)]
use ~/.evolution/cache/calendar for the cache files.

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

* libedata-cal/e-cal-backend-cache.c (get_filename_from_uri): use
~/.evolution/cache/calendar for the cache files.

20 years agofixed duplicated variable name.
Rodrigo Moya [Fri, 16 Jan 2004 13:31:13 +0000 (13:31 +0000)]
fixed duplicated variable name.

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

* backends/groupwise/e-gw-connection.c
(e_gw_connection_get_container_id): fixed duplicated variable name.

20 years agofixed duplicated variable name.
Rodrigo Moya [Fri, 16 Jan 2004 13:30:51 +0000 (13:30 +0000)]
fixed duplicated variable name.

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

* backends/groupwise/e-gw-connection.c
(e_gw_connection_get_container_id): fixed duplicated variable name.

20 years agoremoved check for 'only_if_exists', we'll return NoSuchCal error if we
Rodrigo Moya [Fri, 16 Jan 2004 13:23:16 +0000 (13:23 +0000)]
removed check for 'only_if_exists', we'll return NoSuchCal error if we

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

* backends/groupwise/e-cal-backend-groupwise.c
(e_cal_backend_groupwise_open): removed check for 'only_if_exists',
we'll return NoSuchCal error if we can't find the calendar to open.

20 years agoadded some conf entries for LDAP address setup added
Sivaiah Nallagatla [Fri, 16 Jan 2004 12:47:28 +0000 (12:47 +0000)]
added some conf entries for LDAP address setup added

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

        * providers/groupwise/camel-groupwise-provider.c: added some conf entries for
        LDAP address setup
        * providers/groupwise/camel-gw-listener.c: added add_ldap_addressbook_source,
        modify_ldap_addressbook_source, remove_ldap_addressbook_source functions for
        setting up  LDAP address book. Also setting "username" property on cal/tasks ESources

20 years ago*** empty log message ***
Rodrigo Moya [Fri, 16 Jan 2004 11:21:09 +0000 (11:21 +0000)]
*** empty log message ***

20 years ago added some hook debug h(x)
Michael Zucci [Fri, 16 Jan 2004 07:18:17 +0000 (07:18 +0000)]
added some hook debug h(x)

20 years agomake sure we don't derefence a NULL pointer
JP Rosevear [Thu, 15 Jan 2004 19:01:32 +0000 (19:01 +0000)]
make sure we don't derefence a NULL pointer

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

* libedataserver/e-source-list.c (e_source_list_peek_source_any):
make sure we don't derefence a NULL pointer

20 years agoUpdated Lithuanian translation by Tomas Kuliavas.
Zygimantas Berucka [Thu, 15 Jan 2004 17:41:13 +0000 (17:41 +0000)]
Updated Lithuanian translation by Tomas Kuliavas.

2004-01-15  Zygimantas Berucka  <uid0@tuxfamily.org>

* lt.po: Updated Lithuanian translation by Tomas Kuliavas.

20 years agoFix leak.
Mark McLoughlin [Thu, 15 Jan 2004 17:07:25 +0000 (17:07 +0000)]
Fix leak.

2004-01-15  Mark McLoughlin  <mark@skynet.ie>

        * libedataserver/e-source-list.c: (load_from_gconf):
        Fix leak.

        * libedataserver/e-source.c: (dump_common_to_xml_node):
        Don't output properties tag if there are no properties.

20 years agoRemove debugging spew.
Mark McLoughlin [Thu, 15 Jan 2004 17:07:09 +0000 (17:07 +0000)]
Remove debugging spew.

2004-01-15  Mark McLoughlin  <mark@skynet.ie>

        * libecal/e-cal-listener.c: (impl_notifyCalSetMode),
        (impl_notifyErrorOccurred), (impl_notifyCategoriesChanged):
        Remove debugging spew.

20 years agofix the return value, it was returning ECalendarStatus instead of bool, it
Radek Doulik [Thu, 15 Jan 2004 13:40:25 +0000 (13:40 +0000)]
fix the return value, it was returning ECalendarStatus instead of bool, it

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

* libecal/e-cal.c (e_cal_is_read_only): fix the return value, it
was returning ECalendarStatus instead of bool, it compares status
to E_CALENDAR_STATUS_OK now

20 years ago remove debugs, oops.
Michael Zucci [Thu, 15 Jan 2004 06:23:13 +0000 (06:23 +0000)]
remove debugs, oops.