aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit/address-conduit.c
Commit message (Collapse)AuthorAgeFilesLines
* More whitespace cleanup.Matthew Barnes2009-07-191-17/+17
|
* Fix excessive whitespace.Matthew Barnes2009-07-131-1/+0
|
* Fix coding style.Matthew Barnes2009-06-141-2/+2
|
* Fix even more compiler warnings and disable one for format stringsMilan Crha2009-06-051-5/+5
|
* More code cleanup.Matthew Barnes2009-06-021-3/+3
|
* Whitespace cleanup.Matthew Barnes2009-05-291-27/+27
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-85/+85
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* Fix compiler warnings in addressbook.Matthew Barnes2009-05-261-5/+5
|
* Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-2/+2
|
* Bug #570730 - Get rid of gnome-config in EvolutionMilan Crha2009-04-301-23/+124
|
* GN-bug #572348 - Removed deprecated Gtk+ symbolsMilan Crha2009-04-241-16/+8
| | | | Some still left, because those gone in kill-bonobo branch.
* ** Fix for bugs #201167 and #269342 Add support for category syncing.Matt Davey2009-01-081-0/+220
| | | | | | | | | | | | 2009-01-07 Matt Davey <mcdavey@mrao.cam.ac.uk> ** Fix for bugs #201167 and #269342 * conduit/address-conduit.c: Add support for category syncing. Also, retain an existing given/first name split if it exists in the pilot record. svn path=/trunk/; revision=37008
* Change License from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-10-141-15/+17
| | | | svn path=/trunk/; revision=36617
* Remove improper FSF copyright statements; was never signed over to themSankarasivasubramanian Pasupathilingam2008-10-141-1/+0
| | | | | | * Remove improper FSF copyright statements; was never signed over to them and was incorrectly added to this file due to a mistake made by the original developer. svn path=/trunk/; revision=36616
* ** Fix for bug #534762Philip Withnall2008-08-271-2/+2
| | | | | | | | | | | 2008-08-27 Philip Withnall <philip@tecnocode.co.uk> ** Fix for bug #534762 Change "addressbook" to "address book" in translatable strings. svn path=/trunk/; revision=36117
* Patch from Keith Packard <keithp@keithp.com>: Fix for bug #541355 (Remove ↵Suman Manjunath2008-07-131-0/+2
| | | | | | freed objects from the 'locals' list in each conduit which otherwise frees them again when the conduit is closed.) svn path=/trunk/; revision=35742
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-0/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Fixes bug #534360Matthew Barnes2008-05-231-23/+23
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-150/+150
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Zero out the GnomePilotRecord struct to silence a compiler warning.Matthew Barnes2007-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | 2007-10-26 Matthew Barnes <mbarnes@redhat.com> * addressbook/conduit/address-conduit.c (local_record_to_pilot_record): * calendar/conduits/calendar/calendar-conduit.c (local_record_to_pilot_record): * calendar/conduits/memo/memo-conduit.c (local_record_to_pilot_record): * calendar/conduits/todo/todo-conduit.c (local_record_to_pilot_record): Zero out the GnomePilotRecord struct to silence a compiler warning. * calendar/gui/dialogs/memo-page.c (memo_page_select_organizer): Initialize def_address. * calendar/gui/e-itip-control.c: Use unions to avoid strict-aliasing violations. svn path=/trunk/; revision=34434
* ** Fixes bug #437579Matthew Barnes2007-10-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Fix compiler warnings in addressbook folder. (#440272)Matthew Barnes2007-06-031-11/+11
| | | | svn path=/trunk/; revision=33630
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-5/+3
| | | | svn path=/trunk/; revision=33432
* Fix for 389664 - Adding pilot-link 0.12 compatibility.Veerapuram Varadhan2007-01-081-6/+95
| | | | | | * Fix for 389664 - Adding pilot-link 0.12 compatibility. svn path=/trunk/; revision=33125
* Authenticate by reading the store-password for calendars that has "auth"Veerapuram Varadhan2005-12-061-2/+60
| | | | | | | | | | * 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
* only set the file as address to the company if no full name existsJP Rosevear2004-09-241-4/+8
| | | | | | | | | | | | | | | 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
* get source uid (addrconduit_dupe_configuration): copy source_uidJP Rosevear2004-08-031-7/+42
| | | | | | | | | | | | | | | | | | | 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
* Make sure the UIDs match. Should fix bug #59725.Jeffrey Stedfast2004-06-211-2/+6
| | | | | | | | | 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
* Always set the File_As attribute in case the pilot attrib changed. FixesJeffrey Stedfast2004-06-191-4/+1
| | | | | | | | | | 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
* Protect against a NULL uid. Fixes bug #57619. (ecard_from_remote_record):Jeffrey Stedfast2004-06-041-6/+10
| | | | | | | | | | | | | 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
* Protect against a NULL uid. Fixes bug #57619.Jeffrey Stedfast2004-06-041-2/+5
| | | | | | | | | 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
* use the new e_book_new and e_book_open apis.Chris Toshok2004-05-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed a type-o.Enver ALTIN2004-05-011-1/+1
| | | | | | | | | 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
* The firt EMAIL item is EMAIL_1, not EMAIL (assuming we want simpleJeffrey Stedfast2004-04-241-38/+43
| | | | | | | | | | | | | | | | | | | | | 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
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-1/+1
| | | | svn path=/trunk/; revision=23206
* make it work with the new ebook apiJP Rosevear2003-10-231-528/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* duplicate the extra address linesJP Rosevear2003-08-271-1/+1
| | | | | | | | | 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
* Fixes #40252.Not Zed2003-04-081-45/+43
| | | | | | | | | | | | | 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
* it emits a list nowJP Rosevear2003-03-311-17/+22
| | | | | | | | 2003-03-31 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (card_removed): it emits a list now svn path=/trunk/; revision=20598
* append the second line to the address if necessaryJP Rosevear2003-03-271-3/+18
| | | | | | | | | | | 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
* kill warning by sinking objectsJP Rosevear2003-03-191-0/+4
| | | | | | | | | 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
* check the status, not the book, and unref the book here.Chris Toshok2003-02-071-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* GObjectify the stuff in here that refers to addressbook objects. theChris Toshok2003-01-261-52/+29
| | | | | | | | | | 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
* take and pass the CallStatus to our listener.Chris Toshok2002-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* tidyJP Rosevear2002-02-051-19/+158
| | | | | | | | | | | | | | | | | | | | | | | | 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
* move all functions here, get rid of header files, use e-pilot-settings toJP Rosevear2002-01-171-70/+249
| | | | | | | | | 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
* go slow and clear the map if the last uri and the current uri do not matchJP Rosevear2001-12-191-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* don't free the hash table keys, we didn't allocate them and free theJP Rosevear2001-12-161-13/+14
| | | | | | | | | | | | | 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
* Make sure to copy the custom fields so they are not overwrittenJP Rosevear2001-12-141-0/+5
| | | | | | | | | 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
* Use ordering of the pilot's phone label list to find fields we sync inJP Rosevear2001-11-051-61/+57
| | | | | | | | | | | 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
* make sure to translate the character sets of the namesJP Rosevear2001-10-311-4/+2
| | | | | | | | | 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
* Comment out spew.Jon Trowbridge2001-10-301-1/+1
| | | | | | | | | | | | | | | | | | 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
* fix bug that allowed for phone's not to be in priority order and the itemJP Rosevear2001-10-301-52/+33
| | | | | | | | | | | | | 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
* a card also needs to have its phone nums in priority order to beJP Rosevear2001-10-301-1/+25
| | | | | | | | | 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
* move the syncable checking code to a different functionJP Rosevear2001-10-291-86/+109
| | | | | | | | | | | 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
* tidyJP Rosevear2001-10-291-0/+2
| | | | | | | | | | | | 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
* Fixing the license text.Ettore Perazzoli2001-10-281-4/+3
| | | | svn path=/trunk/; revision=14214
* copy phone labels and show phone as well, clear correct entry text andJP Rosevear2001-10-281-20/+10
| | | | | | | | | | 2001-10-27 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): copy phone labels and show phone as well, clear correct entry text and correctly detect unsyncable cases svn path=/trunk/; revision=14213
* touch the record on lookup (check_for_slow_setting): write touched only ifJP Rosevear2001-10-271-5/+7
| | | | | | | | | | | | | 2001-10-27 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): touch the record on lookup (check_for_slow_setting): write touched only if we are doing a slow sync (card_removed): don't touch on lookup (match): touch on lookup svn path=/trunk/; revision=14209
* remove the merges as valid sync typesJP Rosevear2001-10-271-0/+3
| | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduit/e-address.conduit.in: remove the merges as valid sync types * conduit/address-conduit.c (pre_sync): write out only the touched records if we are doing copies * conduit/address-conduit-config.h (addrconduit_load_configuration): get the sync type svn path=/trunk/; revision=14197
* make debug info more accurateJP Rosevear2001-10-271-10/+8
| | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (check_for_slow_setting): make debug info more accurate svn path=/trunk/; revision=14153
* prevent double unref (cursor_cb): correct typo (card_removed): remove theJP Rosevear2001-10-271-11/+14
| | | | | | | | | | | | 001-10-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (e_addr_context_destroy): prevent double unref (cursor_cb): correct typo (card_removed): remove the card from the map if was archived and is now deleted svn path=/trunk/; revision=14150
* new memberJP Rosevear2001-10-261-31/+112
| | | | | | | | | | | | | | | | | | | | | | | 2001-10-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.h: new member * conduit/address-conduit.c (print_remote): free the struct after using it (e_addr_context_new): make consistent with other conduits (e_addr_context_destroy): properly destroy the context (cursor_cb): no need to ref the card, its done for us (clear_entry_text): util function to free a field (free_local): free a local record (local_record_to_pilot_record): use a static buffer so we don't have to free it later (local_record_from_ecard): only fill in the fields we might not sync, clear a field before replacing the contents (for_each): track locals (for_each_modified): ditto (free_match): use free_local svn path=/trunk/; revision=14138
* sync all the fields we can, with out overwritingJP Rosevear2001-10-181-110/+361
| | | | | | | | | | | | 2001-10-17 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): sync all the fields we can, with out overwriting (local_record_from_ecard): write the fields to the pilot in priority order unless there are fields on the pilot we can't store, then fill in the fields as they are on the pilot svn path=/trunk/; revision=13728
* don't set the phone info if it is blank (ecard_from_remote_record): saveJP Rosevear2001-10-171-10/+23
| | | | | | | | | | 2001-10-16 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): don't set the phone info if it is blank (ecard_from_remote_record): save up to 3 fax numbers svn path=/trunk/; revision=13694
* if there was no first name or last name, file as the company.JP Rosevear2001-10-021-0/+2
| | | | | | | | | 2001-10-01 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): if there was no first name or last name, file as the company. svn path=/trunk/; revision=13293
* g_strdup (pas_backend_file_changes): ditto, make sure to free all data andJP Rosevear2001-09-291-4/+9
| | | | | | | | | | | | | | | | 2001-09-28 JP Rosevear <jpr@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key): g_strdup (pas_backend_file_changes): ditto, make sure to free all data and do a hash write after each add/remove * conduit/address-conduit.c (local_record_to_pilot_record): use the local record category (local_record_from_ecard): ndle the fields and category we don't sync by making sure we don't overwrite them svn path=/trunk/; revision=13232
* use the old record (if there was one) so as not to overwrite fields weJP Rosevear2001-09-271-4/+14
| | | | | | | | | | | | 2001-09-27 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): use the old record (if there was one) so as not to overwrite fields we don't sync (pre_sync): store the dbi in the context and don't make it object data svn path=/trunk/; revision=13187
* set the last_use and use_score fields of the card to known values so theJP Rosevear2001-09-271-8/+41
| | | | | | | | | | | | | | | | 2001-09-26 JP Rosevear <jpr@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_changes): set the last_use and use_score fields of the card to known values so the card doesn't register as changed when only they have changed 2001-09-26 Peter Williams <peterw@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): Fix this function to set email addresses properly, and handle multiple occurrences of email addresses, home phone numbers, and business phone numbers. svn path=/trunk/; revision=13153
* sync the note the to pilot and make sure to blank fields when appropriateJP Rosevear2001-09-241-25/+25
| | | | | | | | | | 2001-09-23 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): sync the note the to pilot and make sure to blank fields when appropriate (local_record_from_ecard): sync the note to the desktop svn path=/trunk/; revision=13091
* don't add to the complete list of cards if the card is a listJP Rosevear2001-09-201-5/+24
| | | | | | | | | | | | | 2001-09-19 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (cursor_cb): don't add to the complete list of cards if the card is a list (card_added): don't add to the list of changes if the card is a list (card_changed): ditto (card_removed): ditto svn path=/trunk/; revision=13002
* fix warnings, get compiling againJP Rosevear2001-08-201-8/+16
| | | | | | | | | | | | | | 2001-08-20 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c: fix warnings, get compiling again * conduit/address-conduit-config.h: remove c/p typos * conduit/address-conduit.h: ditto * conduit/Makefile.am: link against the static camel svn path=/trunk/; revision=12288
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-2/+2
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* tweaked for some gnome-pilot api changesEskil Heyn Olsen2001-06-191-4/+1
| | | | svn path=/trunk/; revision=10284
* put the business address into the pilot record as that is what we put intoJP Rosevear2001-04-131-8/+10
| | | | | | | | | | | | | | | | | | 2001-04-12 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): put the business address into the pilot record as that is what we put into the desktop record (ecard_from_remote_record): set both the address label and delivery address to avoid bad parser guessing, fixes #2143 * backend/ebook/e-card-types.h: remove deprecated pilot code * backend/ebook/e-card.c: ditto * backend/ebook/e-card.h: ditto svn path=/trunk/; revision=9279
* Don't add more than five phone numbers and set the remaining blank entriesJP Rosevear2001-04-121-3/+4
| | | | | | | | | | 2001-04-11 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): Don't add more than five phone numbers and set the remaining blank entries to some reasonable defaults svn path=/trunk/; revision=9249
* Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> withKjartan Maraas2001-03-301-2/+2
| | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and <gtk/gtk.h> with more finegrained headers where needed. svn path=/trunk/; revision=9026
* properly ref the ecard. still need to kill some memory leaks.JP Rosevear2001-01-231-0/+1
| | | | | | | | | 2001-01-23 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): properly ref the ecard. still need to kill some memory leaks. svn path=/trunk/; revision=7742
* remove vfs dependencyJP Rosevear2001-01-231-1/+1
| | | | | | | | 2001-01-22 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: remove vfs dependency svn path=/trunk/; revision=7727
* Remove deleted records from the pilot map so we don't have dupes in theJP Rosevear2001-01-231-1/+2
| | | | | | | | | 001-01-21 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (delete_record): Remove deleted records from the pilot map so we don't have dupes in the future svn path=/trunk/; revision=7720
* always free the delivery elements and correct embarrassingly stupid memoryJP Rosevear2001-01-191-16/+13
| | | | | | | | | | | | | | | | | 2001-01-19 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): always free the delivery elements and correct embarrassingly stupid memory error that was causing the addressbook conduit problems. * backend/ebook/e-book-view-listener.c (e_book_view_listener_check_queue): ref/unref ourself when processing in case someone we signal unrefs us. * conduit/address-conduit.c (sequence_complete): disconnect signals when complete svn path=/trunk/; revision=7641
* '2001-01-15 JP Rosevear <jpr@ximian.com>JP Rosevear2001-01-161-8/+14
| | | | | | | | | | | | | | | | * conduit/address-conduit.c (print_local): prevent segfaults and buffer overflows (print_remote): ditto 2001-01-15 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (print_local): prevent segfaults and buffer overflows. (print_remote): ditto * conduits/calendar/calendar-conduit.c: as above svn path=/trunk/; revision=7504
* remove old config messageJP Rosevear2001-01-151-2/+3
| | | | | | | | 2001-01-14 JP Rosevear <jpr@ximian.com> * configure.in: remove old config message svn path=/trunk/; revision=7492
* Ref the cards that get put in the change list (next_changed_item): utilJP Rosevear2000-12-221-50/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-21 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (cursor_cb): Ref the cards that get put in the change list (next_changed_item): util function to get the real next changed item (compute_status): really compute the status of the record (local_record_from_uid): Set the id of the temporary card (check_for_slow_setting): Make this check a little saner (card_added): Only record the CardObjectChange if the card is not archived (card_changed): ditto (card_removed): ditto (set_status_cleared): actually clear the status (for_each_modified): Clean out cruft and use next_changed_item (add_record): Set the new id properly in our local card copy (replace_record): handle the case where the record has been deleted and we need to call add. need to update the changed_hash entry (delete_record): Don't panic if the card is not found, its already been deleted. * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): The change_context no longer has a del_cards member (pas_backend_file_book_view_free): ditto (pas_backend_file_process_get_changes): ditto (pas_backend_file_changes_foreach_key): just record the id (pas_backend_file_changes): notify_remove needs an id not a vcard svn path=/trunk/; revision=7120
* Check for null strings (e_pilot_utf8_from_pchar): dittoJP Rosevear2000-12-211-3/+5
| | | | | | | | | 2000-12-20 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Check for null strings (e_pilot_utf8_from_pchar): ditto svn path=/trunk/; revision=7106
* Use my own wrapper functions instead of trying to *directly* access theJP Rosevear2000-12-211-2/+9
| | | | | | | | | | | 2000-12-20 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (match): Use my own wrapper functions instead of trying to *directly* access the the data structures my self (post_sync): Put in hack to prevent syncing the same records twice svn path=/trunk/; revision=7104
* Remove pointless commentJP Rosevear2000-12-201-40/+66
| | | | | | | | | | | | | | | | 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c: Remove pointless comment * conduits/todo/todo-conduit.c (is_empty_time): add utility function (comp_from_remote_record): use it 2000-12-19 JP Rosevear <jpr@helixcode.com> *conduit/address-conduit.c (ecard_from_remote_record): Convert pilot strings to utf for the e-cards. svn path=/trunk/; revision=7093
* Convert cal component strings to pilot character setJP Rosevear2000-12-201-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (local_record_from_comp): Convert cal component strings to pilot character set (comp_from_remote_record): vice versa * conduits/todo/todo-conduit.c: Same as above 2000-12-19 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_from_ecard): Convert ecard strings to pilot encodings 2000-12-19 JP Rosevear <jpr@helixcode.com> * e-pilot-util.c (e_pilot_utf8_to_pchar): Convert utf8 strings to pilot character set (e_pilot_utf8_from_pchar): vice versa * Makefile.am: Conditionally build e-pilot-util.[hc] because they depend on pilot-link stuff svn path=/trunk/; revision=7090
* Pass "" rather than NULL to e_card_new. (local_record_from_ecard): MakeJP Rosevear2000-12-081-13/+14
| | | | | | | | | | | | | 2000-12-07 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_from_uid): Pass "" rather than NULL to e_card_new. (local_record_from_ecard): Make sure ecard->name is valid (check_for_slow_setting): Remove hard coded test value (card_added): g_strdup the resul of e_card_get_id (card_changed): ditto svn path=/trunk/; revision=6859
* Create an empty vcard with the appropriate id for deleted cardsJP Rosevear2000-12-051-35/+19
| | | | | | | | | | | | 2000-12-05 JP Rosevear <jpr@helixcode.com> * backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key): Create an empty vcard with the appropriate id for deleted cards * conduit/address-conduit.c (ecard_from_remote_record): Ensure the address fields are added sensibly svn path=/trunk/; revision=6793
* Return a struct rather than a pointer to a struct (compare):JP Rosevear2000-11-291-37/+16
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-28 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (local_record_to_pilot_record): Return a struct rather than a pointer to a struct (compare): local_record_to_pilot_record now returns a struct (prepare): ditto (free_prepare): remove as per gnome-pilot changes (conduit_get_gpilot_conduit): don't listen for free_prepare signal * conduits/calendar/calendar-conduit.c: Same as above 2000-11-28 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (local_record_to_pilot_record): Return a struct rather than a pointer to a struct (view_cb): kill warning (compare): local_record_to_pilot_record now returns a struct (prepare): ditto (free_prepare): remove as per gnome-pilot changes (conduit_get_gpilot_conduit): don't listen for free_prepare signal svn path=/trunk/; revision=6708
* Remove "complete" fieldJP Rosevear2000-11-281-58/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Remove "complete" field * conduit/address-conduit.c (print_local): Make it print useful debug info (print_remote): ditto (local_record_from_ecard): Make sure phone numbers get out to the pilot (ecard_from_remote_record): Set phone strings to "" if they are null (sequence_complete): unref the book view (view_cb): ref the book view (free_prepare): do nothing * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): Destroy the card lists with the rest of the view. (pas_backend_file_changes): Don't destroy the card lists here (pas_backend_file_book_view_free): Free the card/id lists in the change context here, the correct place. (pas_backend_file_changes): instead of here... 2000-11-27 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.c (free_prepare): Ditto * conduits/calendar/calendar-conduit.c (free_prepare): Adjust free_prepare to the correct signal parameters. Don't actually do anything - there is a semantic discrepancy that needs to be resolved. 2000-11-27 JP Rosevear <jpr@helixcode.com> * providers/local/.cvsignore: shush svn path=/trunk/; revision=6681
* Add changed_hash, change list and complete boolJP Rosevear2000-11-101-75/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-09 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Add changed_hash, change list and complete bool * conduit/address-conduit.c (local_record_from_ecard): Add empty field checks (card_added): callback for book view (card_changed): ditto (card_removed): ditto (sequence_complete): ditto (view_cb): callback for the get changes call (pre_sync): force synchronous loading of book view (for_each): we already have the card so create the local record directly (for_each_modified): Uncomment and fix (delete_record): ditto * conduit/Makefile.am: link against gal for ebook - needs fixing * backend/ebook/e-book.c (e_book_do_response_get_changes): Properly respond to a get_changes call (e_book_check_listener_queue): define the get changes response operation * backend/ebook/e-book-listener.c (e_book_listener_queue_get_changes_response): Queue up a get changes response (impl_BookListener_respond_get_changes): Implement the get_changes method (e_book_listener_get_epv): add get_changes implementation to epv * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): Only copy the search_context and change_context elements if they actually exist (pas_backend_file_changes): Hard code a path for now, only notify if there is something to notify about svn path=/trunk/; revision=6524
* Let the warning make sense (compute_pid): removeJP Rosevear2000-11-011-214/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-31 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (cursor_cb): Let the warning make sense (compute_pid): remove (local_record_from_ecard): Create local record from ecard - not finished (local_record_from_uid): Obtain local_record from uid with the proper e-book way (set_status_cleared): Add empty callback (add_archive_record): kill (delete_archive_record): kill (archive_record): Add empty callback (conduit_get_gpilot_conduit): Update signal connects * backend/pas/pas-backend-file.c (vcard_change_type): Function to determine the type of change - not finished (pas_backend_file_search_changes): Create a view and callback based on how the cards have changed (pas_backend_file_process_get_changes): Implement the get changes operation for files (pas_backend_file_process_client_requests): Add GetChanges method for processing * backend/pas/pas-book.c (pas_book_queue_get_changes): Add changes to the list (impl_Evolution_Book_get_changes): implement object method (pas_book_get_epv): Add get changes to epv (pas_book_respond_get_changes): Respond to the get changes operation * backend/pas/pas-book.h: Add GetChanges PASOperation * backend/idl/addressbook.idl: add get_changes and respond_get_changes methods * backend/ebook/e-book.c (e_book_get_changes): Client function to a view of the changed objects * backend/ebook/e-book.h: New prototype 2000-10-31 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Remove add/del/mod hashes and add changed_hash. * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit.c (next_changed_item): Utility function to get the next "really" changed item (changed status can be cleared now) (compute_status): Compute status based on changed_hash (pre_sync): Fill changed_hash and counts adds/mods/dels (set_status_cleared): New callback handler - avoid double syncing (for_each_modified): Use next_changed_item to iterate (add_archive_record): kill (delete_archive_record): kill (archive_record): New callback handler - mark/unmark archive status (conduit_get_gpilot_conduit): Adjust signal connects * conduits/calendar/calendar-conduit.c: ditto svn path=/trunk/; revision=6297
* Use new libeconduit calls and abstractionJP Rosevear2000-10-241-22/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: Use new libeconduit calls and abstraction * conduit/address-conduit.c: ditto 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduits/todo/todo-conduit.h: Use new libeconduit calls and abstraction * conduits/calendar/calendar-conduit.c: ditto * conduits/calendar/calendar-conduit.h: ditto * conduits/todo/todo-conduit.c: ditto * conduits/calendar/Makefile.am: Add libeconduit-static.la * conduits/calendar/calendar-conduit.c (post_sync): Use e_pilot_map_write (pre_sync): Use e_pilot_map_read 2000-10-23 JP Rosevear <jpr@helixcode.com> * e-pilot-map.c: Operate with EPilotMap structure so things are abstract to the caller (e_pilot_map_pid_is_archived): Infrastructure for marking records as archived (e_pilot_map_uid_is_archived): ditto * e-pilot-map.h: Add more to public interface, including EPilotMap structure svn path=/trunk/; revision=6134
* Use e_pilot_map_read (post_sync): Use e_pilot_map_writeJP Rosevear2000-10-241-124/+13
| | | | | | | | | | | 2000-10-23 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.c (pre_sync): Use e_pilot_map_read (post_sync): Use e_pilot_map_write * conduit/Makefile.am: Link libeconduit and not libical svn path=/trunk/; revision=6121
* New structure of file - similar to calendar/todo conduitsJP Rosevear2000-10-211-842/+809
| | | | | | | | | | | | | | | | | | | | | | 2000-10-20 JP Rosevear <jpr@helixcode.com> * conduit/address-conduit.h: New structure of file - similar to calendar/todo conduits * conduit/address-conduit.c: ditto * conduit/address-conduit-config.h: Config stuff for conduit * conduit/.cvsignore: Update * conduit/Makefile.am: Build fixes * conduit/address-conduit-control-applet.desktop: Renamed to e-address-conduit-control-applet.desktop * conduit/address.conduit.in: Renamed to e-address.conduit.in svn path=/trunk/; revision=6081
* Changed this to use ECardSimple.Christopher James Lahey2000-08-201-70/+84
| | | | | | | | | | | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * conduit/address-conduit.c, conduit/address-conduit.h: Changed this to use ECardSimple. * contact-editor/e-contact-editor.c: Fixed a memory leak. * gui/component/addressbook.c: Added stuff to the right click menu. Activated the new search dialog that doesn't quite work yet. * gui/minicard/e-minicard-view.c: Fixed some run time warnings. svn path=/trunk/; revision=4882
* add special oaf initialization hack so conduit can find wombat, and acceptChris Toshok2000-08-141-2/+34
| | | | | | | | | | 2000-08-13 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (conduit_get_gpilot_conduit): add special oaf initialization hack so conduit can find wombat, and accept all cookies so that we can actually talk to oaf. svn path=/trunk/; revision=4829
* implement code to encode the first email address and send to the pilot.Chris Toshok2000-08-121-11/+34
| | | | | | | | | | | 2000-08-11 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (transmit): implement code to encode the first email address and send to the pilot. (get_phone_label_by_flag): rename find_phone_label_for_flags to this, and implement by calling get_phone_label_by_name. svn path=/trunk/; revision=4761
* add code for handling email addresses from pilot (which stores it as aChris Toshok2000-08-121-34/+44
| | | | | | | | | | | | | | | | 2000-08-11 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (ecard_from_remote_record): add code for handling email addresses from pilot (which stores it as a phone number entry. go figure.) (check_for_slow_setting): #if 0 out, since we don't use it (yet). (update_record): un #if 0 the code to handle the case where the pilot info has changed for a local record. (merge_ecard_with_remote_record): implement function, but for now just return the existing (desktop) record - we still don't allow merge from the pilot. svn path=/trunk/; revision=4758
* flesh out ifdef'ed out code. need to write merge_ecard_with_remote_record.Seth Alves2000-07-271-12/+10
| | | | svn path=/trunk/; revision=4383
* add handling for phone labels, going either direction (from pilot and to pilot.)Seth Alves2000-07-271-5/+56
| | | | svn path=/trunk/; revision=4382
* remove double freeSeth Alves2000-07-271-4/+1
| | | | svn path=/trunk/; revision=4379
* bug fixesSeth Alves2000-07-271-4/+4
| | | | svn path=/trunk/; revision=4378
* more work on addressbook syncerSeth Alves2000-07-271-17/+104
| | | | svn path=/trunk/; revision=4377
* add enum for e-card pilot status.Chris Toshok2000-07-261-88/+104
| | | | | | | | | | | | | | | | | | | | | | 2000-07-25 Chris Toshok <toshok@helixcode.com> * backend/ebook/e-card-types.h: add enum for e-card pilot status. * conduit/address-conduit.c: #ifdef out all the archiving code with SUPPORT_ARCHIVING. (purge): implement correctly - deleting ecards whose pilot status is DELETED. (set_status): implement. (set_pilot_id): add gtk_main call here to change commit_card into a synchronous (delete_all): implement correctly - don't delete the records, just set their status to DELETED. (local_record_from_ecard): get the current status from the ecard. * backend/ebook/e-card.c (e_card_get_vcard): add vcard support for pilot status. (parse_pilot_status): new function. (e_card_class_init): add pilot status object arg. (e_card_set_arg): add pilot status support. (e_card_get_arg): same. (e_card_init): initialize pilot_status to 0. svn path=/trunk/; revision=4340
* add comment headers to signals that didn't have any.Chris Toshok2000-07-261-3/+88
| | | | | | | | | 2000-07-25 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c: add comment headers to signals that didn't have any. svn path=/trunk/; revision=4338
* use the user's Contact db. not toshok's.Chris Toshok2000-07-261-2/+10
| | | | | | | | | 2000-07-25 Chris Toshok <toshok@helixcode.com> * conduit/address-conduit.c (start_address_server): use the user's Contact db. not toshok's. svn path=/trunk/; revision=4337
* build static versions of some util libraries for the conduit to link withSeth Alves2000-07-261-2/+4
| | | | svn path=/trunk/; revision=4320
* more stuff. too much to use a changelog for.Chris Toshok2000-07-251-389/+271
| | | | svn path=/trunk/; revision=4306
* a building but non-functional address conduitSeth Alves2000-07-151-0/+1069
svn path=/trunk/; revision=4174