Commit Graph

129 Commits

Author SHA1 Message Date
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
a49955fbe8 Fix for 389664 - Adding pilot-link 0.12 compatibility.
* Fix for 389664 - Adding pilot-link 0.12 compatibility.

svn path=/trunk/; revision=33125
2007-01-08 15:14:25 +00:00
b7c92420df Authenticate by reading the store-password for calendars that has "auth"
* conduits/addressbook-conduit.c: (pre_sync):
        Authenticate by reading the store-password for calendars that has
        "auth" property set.
        * conduits/addressbook-conduit.c: (addressbook_authenticate):
        Implement authentication using e-passwords.

svn path=/trunk/; revision=30730
2005-12-06 08:43:37 +00:00
b94073e8d4 remove camel, add ADDRESSBOOK_LIBS.
2004-11-16  Not Zed  <NotZed@Ximian.com>

        * util/Makefile.am (libeabutil_la_LIBADD): remove camel, add
        ADDRESSBOOK_LIBS.

        * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): remove
        camel.

        * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD):
        remove camel.

2004-11-15  Not Zed  <NotZed@Ximian.com>

        * *.c: Moved various things from e-util to libedataserver, where
        appropriate.

svn path=/trunk/; revision=28048
2004-12-03 03:39:53 +00:00
332bf4c430 only set the file as address to the company if no full name exists
2004-09-23  JP Rosevear  <jpr@novell.com>

 	* conduit/address-conduit.c (ecard_from_remote_record): only set
 	the file as address to the company if no full name exists
 	(delete_record): don't bail out if the record simply isn't found

 	Fixes #59725

 	* conduit/address-conduit.c (local_record_from_uid): remove
 	extraneous semicolon

svn path=/trunk/; revision=27344
2004-09-23 18:50:17 +00:00
30ffb7c72b get source uid (addrconduit_dupe_configuration): copy source_uid
2004-08-02  JP Rosevear  <jpr@novell.com>

	* conduit/address-conduit.c (addrconduit_load_configuration): get
	source uid
	(addrconduit_dupe_configuration): copy source_uid
	(addrconduit_destroy_configuration): free source_uid
	(e_addr_context_new): get the source list
	(e_addr_context_destroy): unref the source list
	(pre_sync): open the source that was set earlier
	(fill_widgets): set the source option menu value
	(create_settings_window): pass source list to pilot settings
	(save_settings): save source uid

	* conduit/Makefile.am: link to and include misc. widgets

svn path=/trunk/; revision=26799
2004-08-02 18:34:30 +00:00
9226ae567f Make sure the UIDs match. Should fix bug #59725.
2004-06-21  Jeffrey Stedfast  <fejj@novell.com>

	* conduit/address-conduit.c (local_record_from_uid): Make sure the
	UIDs match. Should fix bug #59725.

svn path=/trunk/; revision=26438
2004-06-21 15:01:38 +00:00
6a61cbb421 Always set the File_As attribute in case the pilot attrib changed. Fixes
2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

	* conduit/address-conduit.c (ecard_from_remote_record): Always set
	the File_As attribute in case the pilot attrib changed. Fixes bug
	#59723.

svn path=/trunk/; revision=26426
2004-06-18 20:36:12 +00:00
7c0d72183d Protect against a NULL uid. Fixes bug #57619. (ecard_from_remote_record):
2004-06-03  Jeffrey Stedfast  <fejj@novell.com>

	* conduit/address-conduit.c (set_status_cleared): Protect against
	a NULL uid. Fixes bug #57619.
	(ecard_from_remote_record): Set the full_name of the contact so
	that we can use that as the FILE_AS rather than the company name,
	which sucked. Fixes a bug I may or may not have reported months
	ago.

svn path=/trunk/; revision=26202
2004-06-03 20:05:32 +00:00
b3f5c26f5c Protect against a NULL uid. Fixes bug #57619.
2004-06-03  Jeffrey Stedfast  <fejj@novell.com>

	* conduit/address-conduit.c (set_status_cleared): Protect against
	a NULL uid. Fixes bug #57619.

svn path=/trunk/; revision=26175
2004-06-03 17:30:58 +00:00
47c3838fee use the new e_book_new and e_book_open apis.
2004-05-19  Chris Toshok  <toshok@ximian.com>

	* importers/evolution-vcard-importer.c (load_file_fn): use the new
	e_book_new and e_book_open apis.

	* importers/evolution-ldif-importer.c (load_file_fn): use the new
	e_book_new and e_book_open apis.

	* gui/widgets/eab-gui-util.c (eab_transfer_contacts): use the new
	e_book_new and e_book_async_open apis.

	* gui/contact-editor/e-contact-editor.c (cancel_load):
	addressbook_load_source_cancel -> addressbook_load_cancel.
	(source_selected): use the new e_book_new and addressbook_load.

	* gui/component/select-names/e-select-names.c
	(addressbook_model_set_source): use the new e_book_new and
	addressbook_load.

	* gui/component/select-names/e-select-names-manager.c
	(update_completion_books): use the new e_book_new and
	addressbook_load.

	* gui/component/addressbook.h: rename
	addressbook_load_source{_cancel} to addressbook_load{_cancel}, and
	remove the source arg.

	* gui/component/addressbook.c (addressbook_load): rename since we
	aren't passing a source anymore.
	(addressbook_load_cancel): same.
	(addressbook_load_default_book): use the new e_book_new_* apis.

	* gui/component/addressbook-view.c (delete_addressbook_cb): just
	use e_book_new, not e_book_load_source.
	(selector_tree_drag_data_received): switch to new
	e_book_new_*/e_book_open apis.
	(activate_source): same, and addressbook_load_source ->
	addressbook_load.

	* gui/component/addressbook-migrate.c
	(migrate_contact_folder_to_source): switch to new
	e_book_new_*/e_book_open apis.
	(migrate_contact_lists_for_local_folders): same.
	(migrate_company_phone_for_local_folders): same.

	* conduit/address-conduit.c (pre_sync): switch to new
	e_book_new_*/e_book_open apis.

svn path=/trunk/; revision=25999
2004-05-20 01:16:30 +00:00
d4e1f59062 Fixed a type-o.
2004-04-30  Enver ALTIN  <enver.altin@frontsite.com.tr>

	* gui/component/GNOME_Evolution_Addressbook.server.in.in: Fixed a
	type-o.

svn path=/trunk/; revision=25716
2004-04-30 16:07:28 +00:00
80c1192313 The firt EMAIL item is EMAIL_1, not EMAIL (assuming we want simple
2004-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* conduit/address-conduit.c (get_next_mail): The firt EMAIL item
	is EMAIL_1, not EMAIL (assuming we want simple strings).
	(local_record_from_ecard): Use e_contact_get() for getting the
	EContactAddress. Loop from FIRST_ADDRESS_ID up to and *including*
	LAST_ADDRESS_ID.
	(ecard_from_remote_record): When searching for an address field,
	loop from FIRST_ADDRESS_ID up to and *including* LAST_ADDRESS_ID.
	(pre_sync): Use e_book_query_any_field_contains() rather than
	e_book_query_from_string ("#t") which doesn't work anyway.

2004-04-20  Jeffrey Stedfast  <fejj@ximian.com>

	* conduit/address-conduit.c (map_name): Updated to use
	~/.evolution as the evolution directory rather than ~/evolution.

svn path=/trunk/; revision=25603
2004-04-23 22:29:05 +00:00
54e2fae377 Added a dialog for adding a new IM account. Added the previously mentioned
2004-01-11  Christian Hammond  <chipx86@gnupdate.org>

	* addressbook/gui/contact-editor/e-contact-editor-im.[ch],
	  addressbook/gui/contact-editor/im.glade: Added a dialog for
	  adding a new IM account.
	* addressbook/gui/contact-editor/Makefile.am: Added the previously
	  mentioned files, and depend on camel for necessary MIME parsing.

	* addressbook/gui/contact-editor/contact-editor.[ch],
	  addressbook/gui/contact-editor/contact-editor.glade: Add and implement

svn path=/trunk/; revision=24162
2004-01-12 03:35:25 +00:00
66e21e8c49 use privconduitdir
2003-12-01  JP Rosevear <jpr@ximian.com>

	* conduit/Makefile.am: use privconduitdir

	* conduit/e-address.conduit.in: subst right thing

svn path=/trunk/; revision=23537
2003-12-01 19:49:07 +00:00
f05388edf5 specify privlibdir as the location
2003-12-01  JP Rosevear <jpr@ximian.com>

	* conduit/e-address.conduit.in: specify privlibdir as the location

	* conduit/Makefile.am: install the conduit to privlibdir

svn path=/trunk/; revision=23532
2003-12-01 19:08:05 +00:00
c7aacab267 version the .conduit file
2003-12-01  JP Rosvear <jpr@ximian.com>

	* conduit/Makefile.am: version the .conduit file

svn path=/trunk/; revision=23531
2003-12-01 19:02:19 +00:00
200606f928 Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
2003-11-07 05:52:24 +00:00
c1103e4a29 make it work with the new ebook api
003-10-21  JP Rosevear <jpr@ximian.com>

 	* conduit/address-conduit.c: make it work with the new ebook api

 	* backend/pas/pas-book.c (pas_book_respond_get_changes): put the
 	vcard in for every change

 	* backend/pas/pas-backend.c (pas_backend_change_add_new): just use
 	the vcard field
 	(pas_backend_change_modify_new): ditto
 	(pas_backend_change_delete_new): ditto

 	* backend/pas/pas-backend-file.c
 	(pas_backend_file_changes_foreach_key): create a fake contact with
 	the uid
 	(pas_backend_file_get_changes): add the card to the changes

 	* backend/ebook/tests/ebook/test-changes.c (main): just print the
 	uid

 	* backend/ebook/e-book.c (e_book_free_change_list): unref the
 	contact

 	* backend/ebook/e-book-types.h: the change struct contains an
 	EContact now

 	* backend/ebook/e-book-listener.c
 	(impl_BookListener_respond_get_changes): create the contact from
 	the vcard string

 	* backend/idl/addressbook.idl: Book change item is no longer a
 	union, it always gives back a card

svn path=/trunk/; revision=23031
2003-10-23 12:52:46 +00:00
d64c2ec239 Remove libebook-static.la
* backend/ebook/Makefile.am (privlib_LTLIBRARIES): Remove
	libebook-static.la

	* conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Use
	non-static versions of libraries: the static ones were only needed
	for libtool 1.3.

svn path=/trunk/; revision=22515
2003-09-11 14:55:52 +00:00
16a7339e72 duplicate the extra address lines
2003-08-26  JP Rosevear  <jpr@ximian.com>

 	* conduit/address-conduit.c (ecard_from_remote_record): duplicate
 	the extra address lines

svn path=/trunk/; revision=22370
2003-08-26 17:47:15 +00:00
d08d5d0fab Fixes #40252.
2003-04-07  Not Zed  <NotZed@Ximian.com>

 	Fixes #40252.

 	* conduit/address-conduit.c:  Change the LOG macro to a
 	single arg macro which copies its arg.  Fix all callers.  Change
 	WARN and INFO to simply g_warning/g_message.  Init G_LOG_DOMAIN
 	before including anything.

svn path=/trunk/; revision=20715
2003-04-07 17:08:27 +00:00
2b1b1cefe9 it emits a list now
2003-03-31  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (card_removed): it emits a list now

svn path=/trunk/; revision=20598
2003-03-31 15:44:56 +00:00
b5834ca407 append the second line to the address if necessary
2003-03-26  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (local_record_from_ecard): append the
	second line to the address if necessary
	(ecard_from_remote_record): split the address line in two if
	necessary

svn path=/trunk/; revision=20526
2003-03-26 21:28:24 +00:00
189c597d15 kill warning by sinking objects
2003-03-18  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (addrconduit_load_configuration): kill
	warning by sinking objects

svn path=/trunk/; revision=20338
2003-03-18 16:55:27 +00:00
7b9c6c0baa link to libversit libtool object
2003-02-27  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: link to libversit libtool object

svn path=/trunk/; revision=20093
2003-02-27 23:05:39 +00:00
aeec7106f7 check the status, not the book, and unref the book here.
2003-02-06  Chris Toshok  <toshok@ximian.com>

	* gui/component/e-address-popup.c (email_table_save_card_cb):
	check the status, not the book, and unref the book here.
	(contact_editor_cb): same.
	(start_query): unref the book in the failure case.
	(add_card_idle_cb): addressbook_load_default_book returns void
	now.
	(edit_contact_info_cb): same.
	(e_address_popup_query): same.

	* gui/component/addressbook.c (control_activate_cb): track change
	to addressbook_load_uri return type.
	(set_prop): same.
	(addressbook_load_uri): return type is void now.
	(addressbook_load_default_book): same.

	* gui/component/addressbook.h:
	addressbook_load_uri/addressbook_load_default_book return void
	now.

	* conduit/address-conduit.c (start_addressbook_server):
	e_book_load_default_book returns void now.

	* backend/ebook/e-book-util.h: track changes to return types.

	* backend/ebook/e-book-util.c (e_book_load_address_book_by_uri):
	fallout from change to e_book_load_uri.  return type for this
	function is void now too.
	(e_book_use_address_book_by_uri): same.
	(e_book_use_default_book): same.
	(e_book_load_default_book): same.
	(got_uri_book_cb): if unsuccessful and book is non-NULL, unref it
	here.
	(got_default_book_cb): same.

	* backend/ebook/e-book.c (e_book_load_uri): no longer return a
	gboolean.  any error is communicated to the callback.

	* backend/ebook/e-book.h: e_book_load_uri no longer returns a
	gboolean (it's void.)

	* backend/ebook/evolution-ldif-importer.c (ebook_create): track
	change to the e_book_load_uri family of functions.

	* backend/ebook/test-client-list.c (ebook_create): same.

	* backend/ebook/test-client.c (ebook_create): same.

	* backend/ebook/load-pine-addressbook.c (ebook_create): same.

	* backend/ebook/evolution-vcard-importer.c (ebook_create): same.

svn path=/trunk/; revision=19839
2003-02-07 07:14:34 +00:00
e3cc8849e5 Remove cruft
* conduit/Makefile.am (INCLUDES): Remove cruft

svn path=/trunk/; revision=19787
2003-02-05 23:49:02 +00:00
8127537c39 GObjectify the stuff in here that refers to addressbook objects. the
2003-01-25  Chris Toshok  <toshok@ximian.com>

	* conduit/address-conduit.c: GObjectify the stuff in here that
	refers to addressbook objects.  the gnome-pilot stuff is still
	GtkObject for the moment.

svn path=/trunk/; revision=19630
2003-01-26 04:32:03 +00:00
aa26b395ae add libeutil to the link and link with libcamel instead of
2002-09-23  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: add libeutil to the link and link with
	libcamel instead of libcamel-static.la

svn path=/trunk/; revision=18171
2002-09-23 18:32:15 +00:00
f64bfabfa5 take and pass the CallStatus to our listener.
2002-08-19  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-book-view.c (pas_book_view_notify_complete):
	take and pass the CallStatus to our listener.

	* backend/pas/pas-book-view.h: change the prototype for
	notify_complete to include the CallStatus.

	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_seq_complete_cb): add the status arg.

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_class_init): init the search_result signal.
	(e_addressbook_view_init): connect to the model's search_result
	signal.
	(emit_search_result): emit our search_result signal.
	(search_result): call emit_search_result.

	* gui/widgets/e-addressbook-view.h (struct
	_EAddressbookViewClass): add the search_result signal.

	* gui/widgets/e-addressbook-model.c (sequence_complete): emit both
	a "search_result" as well as the "stop_state_changed" signal.
	(e_addressbook_model_class_init): init the search_result signal.

	* gui/widgets/e-addressbook-model.h: add search_result signal.

	* gui/component/addressbook.c (search_result): pop up a dialog
	telling the user why the search failed or was truncated.
	(addressbook_factory_new_control): connect to the "search_result"
	signal on the view.

	* conduit/address-conduit.c (sequence_complete): add the status
	parameter to sequence_complete.

	* backend/idl/addressbook.idl: add BookViewListener_CallStatus,
	and change notifySequenceComplete to take a CallStatus.

	* backend/pas/pas-backend-ldap.c (create_card_handler): pass
	status back in the notify_complete call.
	(remove_card_handler): same.
	(modify_card_modify_handler): same
	(ldap_search_handler): same, and parse out the ldap return code so
	we can report limits being properly.

	* backend/pas/pas-backend-file.c (do_summary_query): pass status
	back in the notify_complete call.
	(pas_backend_file_search): same, and get rid of the
	status_message, as the status is passed back properly.
	(pas_backend_file_search): pass status
	back in the notify_complete call.
	(pas_backend_file_changes): same.
	(pas_backend_file_process_create_card): same.
	(pas_backend_file_process_remove_card): same.
	(pas_backend_file_process_modify_card): same.

	* backend/ebook/e-book-util.c (simple_query_sequence_complete_cb):
	add status parameter.

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_queue_status_event): change name from
	_queue_empty_event, and take a status arg.
	(e_book_view_listener_queue_id_event): init resp->status (to
	SUCCESS).
	(e_book_view_listener_queue_sequence_event): same.
	(e_book_view_listener_queue_message_event): same.
	(impl_BookViewListener_notify_sequence_complete): call
	queue_status_event, and convert the corba status to
	EBookViewStatus.
	(e_book_view_listener_convert_status): new function, conver the
	corba status to EBookViewStatus.

	* backend/ebook/e-book-view-listener.h: add a "status" slot to
	EBookViewListenerResponse.

	* backend/ebook/e-book-view.h: change prototype for
	sequence_complete signal.

	* backend/ebook/e-book-view.c (e_book_view_do_complete_event):
	sequence_complete takes a parameter now (EBookViewStatus).
	(e_book_view_class_init): add the enum arg to the signal.

	* backend/ebook/e-book-types.h: add EBookViewStatus enum.

svn path=/trunk/; revision=17814
2002-08-20 02:00:45 +00:00
d4a60e8fa5 Change libversit.la -> libversit.a for danw's changes.
2002-07-24  Peter Williams  <peterw@ximian.com>

	* conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Change
	libversit.la -> libversit.a for danw's changes.

svn path=/trunk/; revision=17572
2002-07-24 17:15:47 +00:00
710ba7ca95 s/libversit_lt/libversit/
* conduit/Makefile.am (libeaddress_conduit_la_LIBADD):
	s/libversit_lt/libversit/

svn path=/trunk/; revision=17569
2002-07-24 14:07:27 +00:00
9e759ac6e1 Add include lines to get ebook headers relative to <ebook/foo.h>, not
2002-07-09  Peter Williams  <peterw@ximian.com>

	* tools/Makefile.am (INCLUDES): Add include lines to get
	ebook headers relative to <ebook/foo.h>, not "foo.h".


addressbook:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so
	that the installed headers will work sanely.

	* backend/ebook/e-card-cursor.h:
	* backend/ebook/e-book-view.h:
	* backend/ebook/e-card-simple.h:
	* backend/ebook/e-card.h:
	* backend/ebook/e-destination.h: Same.

	* printing/Makefile.am (INCLUDES): add -Iaddressbook/backend
	to access the ebook headers. Also the builddir version to get
	the generated addressbook.h

	* gui/widgets/Makefile.am (INCLUDES): Same builddir fix.

	* gui/merging/e-card-merging.c: Fix an ebook #include.

	* gui/merging/Makefile.am (INCLUDES): Same idea.

	* gui/contact-list-editor/Makefile.am (INCLUDES): Same.

	* gui/contact-editor/Makefile.am (INCLUDES): Same builddir
	change.


calendar:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* gui/Makefile.am (INCLUDES): Change the -I flags to get
	it to play nicely with the new Ebook header paradigm.

	* gui/dialogs/Makefile.am: Same.

	* gui/e-meeting-model.c: More of the same.

	* gui/dialogs/e-delegate-dialog.c:
	* gui/dialogs/e-meeting-model.c:
	* gui/dialogs/comp-editor-util.c: Fix include lines to get
	ebook headers.

	* pcs/Makefile.am: Same.


composer:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* Makefile.am (INCLUDES): Fix cflags for ebook header namespacing.


importers:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* Makefile.am: Fix cflags to get at ebook headers correctly.

	* pine-importer.c: Fix include lines to get ebook headers the "right"
	way.

	* evolution-gnomecard-importer.c: Same.


mail:

2002-07-08  Peter Williams  <peterw@ximian.com>

	* Makefile.am (INCLUDES): Add -I flags to get the ebook headers.

svn path=/trunk/; revision=17411
2002-07-10 21:34:37 +00:00
9622bc19df link against the libtool version of libversit
2002-05-08  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: link against the libtool version of
	libversit

svn path=/trunk/; revision=16722
2002-05-08 14:03:54 +00:00
b6459e0c36 Don't link to libibex anymore.
2002-04-26  Jeffrey Stedfast  <fejj@ximian.com>

	* printing/Makefile.am: Don't link to libibex anymore.

	* conduit/Makefile.am: Same.

svn path=/trunk/; revision=16611
2002-04-27 00:08:44 +00:00
9bd7740327 link to the static libversit
2002-04-04  JP Rosevear  <jpr@ximian.com>

	* conduit/Makefile.am: link to the static libversit

svn path=/trunk/; revision=16358
2002-04-04 22:10:46 +00:00
91b27c9b35 tidy
2002-02-04  JP Rosevear  <jpr@ximian.com>

	* gui/contact-editor/e-contact-editor.c (find_address_mailing): tidy

	* conduit/address-conduit.c (addrconduit_load_configuration): load
	default address setting
	(addrconduit_save_configuration): save default address setting
	(e_addr_gui_new): new gui routine for conduit settings
	(e_addr_gui_fill_widgets): ditto
	(e_addr_gui_fill_config): ditto
	(e_addr_gui_destroy): ditto
	(e_addr_context_destroy): destroy the gui and new_cfg
	(local_record_from_ecard): reinstate commented out bits, determine
	which address to sync to pilot
	(ecard_from_remote_record): determine which address to sync from
	pilot
	(fill_widgets): put the gui widgets in
	(create_settings_window): create gui
	(save_settings): fill gui

svn path=/trunk/; revision=15568
2002-02-04 20:45:42 +00:00
4ba09274d6 Clean up some of the Makefiles so we dont' link every library multiple
times, causing big libtool 1.4 pain.

svn path=/trunk/; revision=15461
2002-01-24 23:16:18 +00:00
ac62bd1485 move all functions here, get rid of header files, use e-pilot-settings to
2002-01-16  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c: move all functions here, get rid of
	header files, use e-pilot-settings to display gui

svn path=/trunk/; revision=15342
2002-01-16 17:31:05 +00:00
b64f547cdd go slow and clear the map if the last uri and the current uri do not match
2001-12-18  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (check_for_slow_setting): go slow and
	clear the map if the last uri and the current uri do not match
	(post_sync): save the last uri

	* conduits/address-conduit-config.h: handle a last uri config
	option

2001-12-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (addressbook_default_book_open):
	change this to match its e-book counterpart, and only failover to
	the local addressbook if the protocol wasn't supported.  that way
	errors like "failure to connect" are still reported to the user.

	* backend/ebook/e-book-util.h: add prototypes for
	e_book_load_default_book and e_book_get_config_database.

	* backend/ebook/e-book-util.c (e_book_default_book_open): new
	function, basically cut and paste addressbook_default_book_open
	from addressbook.c here.
	(e_book_load_default_book): cut and past
	addressbook_load_default_book here, pretty much, except leave off
	the auth stuff.
	(e_book_get_config_database): new function, returns the
	Bonobo_ConfigDatabase for e_book_load_default_book to use.

	* conduit/address-conduit.c (start_addressbook_server): use
	e_book_load_default_book here.

svn path=/trunk/; revision=15178
2001-12-19 15:16:32 +00:00
81d26e01cb don't free the hash table keys, we didn't allocate them and free the
2001-12-15  JP Rosevear  <jpr@ximian.com>

 	* conduit/address-conduit.c (e_addr_context_destroy): don't free
 	the hash table keys, we didn't allocate them and free the change
 	objects and unref the associated cards
 	(local_record_from_uid): unref the temp card we create
 	(replace_record): ref the new card associated with the card change
 	and unref the old one

svn path=/trunk/; revision=15091
2001-12-15 16:17:32 +00:00
597556884c Make sure to copy the custom fields so they are not overwritten
2001-12-13  JP Rosevear  <jpr@ximian.com>

 	* conduit/address-conduit.c (local_record_from_ecard): Make sure
 	to copy the custom fields so they are not overwritten

svn path=/trunk/; revision=15034
2001-12-14 04:25:57 +00:00
fa693dec65 Use ordering of the pilot's phone label list to find fields we sync in
2001-11-04  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c: Use ordering of the pilot's phone
	label list to find fields we sync in order to avoid strcmp'ing the
	pilot's labels rendering phone syncing usable only for english
	language pilots

svn path=/trunk/; revision=14583
2001-11-04 23:05:38 +00:00
bff44ae49b make sure to translate the character sets of the names
2001-10-30  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (ecard_from_remote_record): make sure
	to translate the character sets of the names

svn path=/trunk/; revision=14463
2001-10-30 16:17:48 +00:00
b3e9e54480 Comment out spew.
2001-10-29  Jon Trowbridge  <trow@ximian.com>

	* conduit/address-conduit.c (pre_sync): Comment out spew.

	* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
	Comment out spew.

	* gui/component/addressbook-component.c
	(destination_folder_handle_drop): Comment out spew.
	(get_dnd_selection): Comment out spew.

	* gui/widgets/e-addressbook-table-adapter.c
	(addressbook_set_value_at): Comment out spew.

svn path=/trunk/; revision=14401
2001-10-30 01:57:42 +00:00
1bb0876289 fix bug that allowed for phone's not to be in priority order and the item
2001-10-29  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (is_syncable): fix bug that allowed
	for phone's not to be in priority order and the item to still be
	syncable

	* conduit/address-conduit-config.h
	(addrconduit_load_configuration): get management by id

svn path=/trunk/; revision=14350
2001-10-29 18:47:09 +00:00
8650735ac6 a card also needs to have its phone nums in priority order to be
2001-10-29  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (is_syncable): a card also needs to
	have its phone nums in priority order to be "syncable"

svn path=/trunk/; revision=14344
2001-10-29 16:39:09 +00:00
8155b1b56c move the syncable checking code to a different function
2001-10-29  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.c (is_syncable): move the syncable
	checking code to a different function
	(ecard_from_remote_record): set the name parts individually
	(local_record_from_ecard): use is_syncable

svn path=/trunk/; revision=14343
2001-10-29 14:27:31 +00:00
7978de7903 tidy
2001-10-28  JP Rosevear  <jpr@ximian.com>

	* conduit/address-conduit.h: tidy

	* conduit/address-conduit-config.h: ditto

	* conduit/address-conduit.c (add_record): unref ecard when done

svn path=/trunk/; revision=14317
2001-10-29 02:36:35 +00:00