* 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
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-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-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-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-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-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-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-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
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
* 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-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-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-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-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
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-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-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-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-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
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-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-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-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-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-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 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 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