2004-08-02  Chenthill Palanisamy <pchenthill@novell.com>

	Fixes #57127
	* e-gw-item.c
	(e_gw_item_new_from_soap_parameter),(e_gw_item_append_to_soap_message), 
	(append_event_changes_to_soap_message): Made the required changes to 
        send/receive the category information to/from the soap message.

2004-07-26  Harish Krishnaswamy  <kharish@novell.com>

	* e-gw-item.c: (e_gw_item_set_calendar_item_elements):
	Do not set the icalid on the request while saving recurring calender 
	events. The icalids for the created objects are obtained subsequently
	from the server through a getItemsRequest call. 

2004-07-12  Harish Krishnaswamy  <kharish@novell.com>

	* e-gw-connection.c: 
	(e_gw_connection_new) : Fix for #59471 by getting around the server 
	defect. Substitute the first . by @.
	(e_gw_connection_get_deltas): Fix for #56853. The server may indicate
	that there are changes but not provide deltas if they are outside our 
	interest. This is now considered a valid response.
	(e_gw_connection_send_item): Handle the change in the SOAP interface.
	The sendItemResponse now returns a list of ids.
	(e_gw_connection_accept_request), (e_gw_connection_decline_request),
	(e_gw_connection_retract_request), (e_gw_connection_complete_request):
	Implemented.

	* e-gw-connection.h: Declaration for the added functions.

	* e-gw-item.c: 
	(e_gw_item_new_from_soap_parameter): Add organizer only if the item
	source is not 'personal'. Use 'priority' instead of Taskpriority for
	Todos as recommended by the server team.
	(e_gw_item_set_calendar_item_elements): Organize common properties
	to Appointments and todo-s into a separate function.
	(e_gw_item_append_to_soap_message),
	(append_event_changes_to_soap_message),
	(e_gw_item_append_changes_to_soap_message): reorder soap elements
	in the sequence specified by the schema. The server does not enforce this 
	but doing it right anyway..


2004-06-15  Harish Krishnaswamy  <kharish@novell.com>

	Fixes #59352
	* e-gw-item.c: 
	(e_gw_item_init), (e_gw_item_dispose),
	(e_gw_item_new_from_soap_parameter), (e_gw_item_get_organizer),
	(e_gw_item_set_organizer), (add_distribution_to_soap_message):
	Convert EGwItemOrganizer to/from the <from> soap element.		

	(e_gw_item_append_to_soap_message): Add the <from> element explicitly 
	to <distribution> element, in addition to the <recipients> element.

	* e-gw-item.h: Add EGwItemOrganizer structure and get/set functions
	for the same.
	
2004-06-15 Sivaiah Nallagatla   <snallagatla@novell.com>

	* e-gw-item.h : added "name" member ot EGroupMember structure
	* e-gw-item.c (free_memeber) : free the newly added member also
	 (set_group_fields_from_soap_parameter) : read name also
	from soap response

2004-06-14  Harish Krishnaswamy  <kharish@novell.com>

	* e-gw-item.c: (e_gw_item_dispose), (e_gw_item_init),
	(set_recipient_list_from_soap_parameter),
	(e_gw_item_get_recurrence_dates), (e_gw_item_set_recurrence_dates),
	(e_gw_item_append_to_soap_message):
	Add support for recurrence in events.
	(add_distribution_to_soap_message): Make recipient list handling code
	common to both calendar and task items to support assignment in tasks.
	* e-gw-item.h: add get/set methods for recurrences, status field to 
	EGwRecipient.

2004-06-11  Rodrigo Moya <rodrigo@novell.com>

	* doc/gw-soap-methods.xsd:
	* doc/gw-soap-types.xsd: added new schemas from Tim.

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

	* e-gw-connection.[ch]  (e_gw_connection_remove_items):
	new function to delete many items on server at onece instead 
	sending one request for each item, removal pretty fast :)

	
2004-05-31  Sivaiah Nallagatla <snallagatla@novel.com>

	* e-gw-connection.c (set_group_fields_from_soap_parameter) :
	separate out group handling from contact code and make a 
	separate function 

2004-05-28  Sivaiah Nallagatla <snallagatla@novell.com>

	* e-gw-connection.[ch] (e_gw_connection_get_items_from_ids) :
	new function to retrive items when ids are given instead of filter
	
2004-05-25  Sivaiah Nallagatla <snallagatla@novell.com>
	
	* e-gw-item.c (free_im_address) : check for NULL
	before freeing as service can be null in case of 
	other type of im 

2004-05-25  Harish Krishnaswamy  <kharish@novell.com>


	* e-gw-item.c: (append_event_changes_to_soap_message):
	use accept_level instead of AcceptLevel as the hash key
	as the SET_DELTA macro is being used to set the changes.

2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com>

	* e-gw-item.c (e_gw_item_append_changes_to_soap_message) : add a case of 
	organization type also, its handling is same as contact  

2004-05-18  Harish Krishnaswamy  <kharish@novell.com>
	
	Fixes #56320 and related timezone issues.
	All datetime related fields are stored as strings and
	not as time_t structures.
       
	* e-gw-connection.c: (e_gw_connection_format_date_string):
	Convert the Groupwise datetime string into the format preferred
	by the ical library.
	* e-gw-connection.h:
	* e-gw-item.c: (e_gw_item_init),
	(e_gw_item_new_from_soap_parameter), (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_end_date),
	(e_gw_item_set_end_date), (e_gw_item_get_due_date),
	(e_gw_item_set_due_date), (e_gw_item_append_to_soap_message),
	(append_event_changes_to_soap_message):
	Replace all time_t related conversions with string<->icaltimetype.
	* e-gw-item.h: Update arguments and return values on the get/set
	functions.

2004-05-18  Sivaiah Nallagatla <snallagatla@novell.com>

	* e-gw-item.c (set_contact_fields_from_soap_parameter) : read organization_id
	also from soap response
	* e-gw-item.c (append_office_info_to_soap_message) : just append org_name of organization-id
	 is not present

2004-05-17  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am (libegroupwise_la_LIBADD): Add $(E_DATA_SERVER_LIBS)
	to link all the right dependencies for the mono bindings to work
	correctly

	Fixes #58615

2004-05-14  Sivaiah Nallagatla  <snallagatla@novell.com>
	
	* e-gw-item.c (e_gw_item_new_from_soap_parameter) : set item type to 
	E_GW_ITEM_TYPE_ORGANISATION when item type attribute is Organization
	* e-gw-item.c (e_gw_item_append_to_soap_message) : add E_GW_ITEM_TYPE_ORGANISATION
	case to create organization type items

2004-05-12  Harish Krishnaswamy  <kharish@novell.com>

	* e-gw-item.c: (append_event_changes_to_soap_message) :
	check for added, modified and deleted fields and update
	the soap message.
	(e_gw_item_append_changes_to_soap_message):
	Add handlers for Appointment and Task items

2004-05-10  Sivaiah Nallagatla  <snallagatla@novell.com>
	
	* e-gw-container.[ch] (e_gw_container_get_is_frequent_contacts)
	(e_gw_container_set_is_frequent_contacts) : new apis to get and set
	whther the container is Frequent Contacts folder 
	
	* e-gw-connection.c (e_gw_connection_get_addressbook_list) : read 
	isFrequentContacts parameter from soap response and set it in container 

2004-05-04  Sivaiah Nallagatla  <snallagatla@novell.com>
	* e-gw-item.c  (free_full_name) : make it as function as we 
	have to at more than one place
	(set_contact_fields_from_soap_parameter) : do not duplicate
	the string returned form soup_soap_parameter_get_string_value.
	* e-gw-connection.c (e_gw_connection_get_categories) : ditto	
 

2004-05-04  Harish Krishnaswamy  <kharish@novell.com>

	* e-gw-item.c: (e_gw_item_init),
	(set_recipient_list_from_soap_parameter),
	(e_gw_item_new_from_soap_parameter),
	(e_gw_item_get_recipient_list), (e_gw_item_set_recipient_list),
	(e_gw_item_get_trigger), (add_distribution_to_soap_message),
	(e_gw_item_append_to_soap_message): Patch the FIXMEs in the code 
	handling recipient_list and message bodies in events.
	* e-gw-item.h: Added get/set functions for recipient_list.

2004-04-28  Sivaiah Nallagatla   <snallagatla@novell.com>

	* e-gw-connection.[ch]  (e_gw_connection_add_members)
	(e_gw_connection_remove_members) : new apis to modify a group item 
	* e-gw-item.[ch] : defined a new struct EGRoupMember to have both id 
	email of a member. Used the new Struct instead of just id 
	(free_group_member) : function to free EGroupMember

2004-04-27  Harish Krishnaswamy  <kharish@novell.com>

	Fixes #56535.

	* e-gw-item.c: (e_gw_item_init),
	(e_gw_item_new_from_soap_parameter), (e_gw_item_get_trigger),
	(e_gw_item_set_trigger), (e_gw_item_append_to_soap_message):
	Added support for saving Alarms in the GW server as well as 
	read the alarm information during retrieval.
	* e-gw-item.h: Added get/set functions for alarm trigger.

2004-04-23 Sivaiah Nallagatla   <snallagatla@novell.com>
	
	* e_gw_item.c ( append_group_fields_to_soap_message) : add id, distType
	itemType in the request 
	 
2004-04-15 Sivaiah nallagatla   <snallagatla@novell.com>
	
	* e-gw-connection.c (e_gw_connection_get_categories)
	* e_gw_item.c (set_common_addresbook_item_fields_from_soap_parameter) : strip off
	the part present after "@" symbol in categories ids 

	
2004-04-07  Sivaiah Nallagatla  <snallagatla@novell.com>

	* e-gw-connection.c  (e_gw_connection_create_book) :
	Add type "AddresBook" to item element and remove book element
	(e_gw_connection_remove_item) : remove the extra end element call
	 	
2004-04-03  Sivaiah Nallagatla  <snallagatla@novell.com>

	* e-gw-filter.[ch] : changed implementation to take care of nested filter 
	condtions. added new e_gw_filter_group_condtions api 

2004-04-02  Sivaiah Nallagatla <snallagatla@novell.com>

	* e-gw-message.c (e_gw_message_write_string-parameter_with_attribute) :
	append the passed in attribute name and value to message 

2004-04-01  Sivaiah nallagatla <snallagatla@novell.com>
                                                                                                                              
        * e-gw-connection.c (e_gw_connection_remove_item) : remove items and item from
        the request and add  container id to request


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

	* e-gw-item.c (e_gw_item_append_to_soap_message): s/iCalID/iCalId.
	Use the correct "length" attribute value.
	
2004-03-27  Sivaiah Nallagatla <snallagatla@novell.com>

	* e_gw_connection.[ch]:  added new api e_gw_connection_get_categories
	to read categories of an item 
	* e_gw_item.[ch] : added the folloiwng apis
	e_gw_item_get_categories, e_gw_item_set_categories
	e_gw_item_set_category_name, e_gw_item_get_category_name
	Also added the logic to get/set categories from/to soap message 
	respectively

2004-03-27  Sivaiah Nallagatla <snallagatla@novell.com>

	* e-gw-container.c  (e_gw_container_is-writable) : return
        correct types in g_return_val_if_fail macros.

2004-03-26  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-item.c (e_gw_item_append_to_soap_message): set the <container>
	property if it's set.

2004-03-22  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-connection.[ch] (e_gw_connection_send_item): added 'char **id'
	parameter to pass the server-generated ID to the caller. Get the ID from
	the sendItemResponse message.

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

	* e-gw-connection.c: include gnome-i18n.h

2004-03-19  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-connection.[ch] (e_gw_connection_get_error_message): new function.

2004-03-19  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-connection.c (e_gw_connection_remove_item): fixed SOAP message
	format for not confusing the server.

2004-03-18  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-item.c (e_gw_item_append_to_soap_message): add "length" attribute
	for "message" property.

2004-03-18  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-message.[ch] (e_gw_message_write_base64_parameter): new function.

	* e-gw-item.[ch] (e_gw_item_append_to_soap_message): send "message"
	property as base64.
	(e_gw_item_new_from_soap_parameter): retrieve the "iCalId" property.
	(e_gw_item_dispose): free the icalid property.
	(e_gw_item_get_icalid, e_gw_item_set_icalid): new functions.
	(e_gw_item_append_to_soap_message): add "iCalId" property for events and
	tasks. Add only the ID property if it's not empty.

2004-03-18  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-message.[ch]
	(e_gw_message_write_string_parameter_with_attribute): use const
	for attribute-related arguments.

2004-03-18  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-connection.c (e_gw_connection_send_message): parse the
	response on all error codes.

	* e-gw-message.c (e_gw_message_new_with_header): fixed typo.

	* create-account.c: updated to create the sources properly.

2004-03-17  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-message.c: use an environment variable for debugging.
	(e_gw_message_new_with_header): setup debugging for message if
	GROUPWISE_DEBUG environment variable is defined.
	(e_gw_message_write_footer): ditto.

	* Makefile.am: remove DEBUG_CFLAGS.

2004-03-14  Harish K <kharish@novell.com>

	* e-gw-connection.[ch] : Make view element an argument to the 
	get_items call so the addressbook component can use it as well.
	
2004-03-11  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-connection.c (e_gw_connection_get_address_book_id): return
	correct types in g_return_val_if_fail macros.

2004-03-05 Harish K <kharish@novell.com>

	* e-gw-connection.c : (timet_from_string):
	1900 should be subtracted from the year value and 1 from the 
	month value in struct tm. Added include for ctype.h to remove
	compiler warning.	

2004-03-02 Sivaiah Nallagatla <snallagatla@novell.com>

	* doc/gw-soap-types.xml :
	* doc/gw-soap-methods.xml : checked in latest  version of these files 

2004-02-13  JP Rosevear <jpr@ximian.com>

	* Makefile.am: additional includes for builddir != srcdir

2004-02-18  Rodrigo Moya <rodrigo@ximian.com>

	* soap-test.c: added code to get the containers list and display all
	info for each container.

	* e-gw-item.c (e_gw_item_new_from_soap_parameter): free the value
	returned by soup_soap_parameter_get_property.

2004-02-06  Rodrigo Moya <rodrigo@ximian.com>

	* Makefile.am:
	* e-gw-connection.c: removed calendar specific code.
	(e_gw_connection_get_date_from_string): use time_t's instead of
	icaltimetype's.
	(start_freebusy_session, close_freebusy_session,
	e_gw_connection_get_freebusy_info): moved to the calendar backend.
	(e_gw_connection_get_uri, e_gw_connection_get_session_id): new
	functions.
	(e_gw_parse_response_status): made public.

	* e-gw-item.[ch]
	(e_gw_item_get_creation_date, e_gw_set_creation_date,
	e_gw_item_get_start_date, e_gw_item_set_start_date,
	e_gw_item_get_end_date, e_gw_item_set_end_date,
	e_gw_item_get_due_date, e_gw_item_set_due_date):
	use time_t's not icaltimetype's.
	(e_gw_item_append_to_soap_message): use the time_t's.
	(e_gw_item_get_classification, e_gw_item_set_classification):
	don't use ECalComponentClassification, but a string, which is what
	the server returns.
	(e_gw_item_dispose): free the classification, which is now a string.
	(set_recipent_list_from_soap_parameter): renamed from set_attendee_...
	to not be calendar-specific.
	(e_gw_item_new_from_soap_parameter): s/attendee/recipient.

2004-02-06  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-item.[ch] (e_gw_item_new_from_cal_component,
	e_gw_item_to_cal_component): removed all calendar-specific code.
	(e_gw_item_get_item_type, e_gw_item_set_item_type,
	e_gw_item_get_container_id, e_gw_item_set_container_id): new functions.
	(e_gw_item_new_empty): new function to create empty EGwItem's.

	* e-gw-connection.[ch] (e_gw_connection_send_appointment): removed
	calendar-specific code.

2004-02-06  Rodrigo Moya <rodrigo@ximian.com>

	* Makefile.am: re-enabled create-account test program, it does not need
	the calendar libraries.

2004-02-06  Rodrigo Moya <rodrigo@ximian.com>

	* e-gw-container.h: fixed typo in function name.

	* e-gw-item.c (e_gw_item_to_cal_component): return NULL if the item
	type is not supported.

	* Makefile.am: disable test programs until we remove all calendar
	dependencies.

2004-02-06  Rodrigo Moya <rodrigo@ximian.com>

	Moved Groupwise API library to its own directory, for easy reuse in
	both calendar and addressbook backends.
