aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/conduit
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'Release103'.Release103nobody2002-01-204-1838/+0
| | | | svn path=/tags/Release103/; revision=15390
* move all functions here, get rid of header files, use e-pilot-settings toJP Rosevear2002-01-175-280/+251
| | | | | | | | | 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-192-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-53/+34
| | | | | | | | | | | | | 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-293-2/+4
| | | | | | | | | | | | 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-283-12/+9
| | | | 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-273-5/+16
| | | | | | | | | | | | | | | 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-262-31/+113
| | | | | | | | | | | | | | | | | | | | | | | 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-272-5/+16
| | | | | | | | | | | | 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-204-25/+28
| | | | | | | | | | | | | | 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
* Tidy ldaddsJP Rosevear2001-07-281-4/+4
| | | | | | | | 2001-07-27 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: Tidy ldadds svn path=/trunk/; revision=11449
* libwombat:Peter Williams2001-06-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-25 Peter Williams <peterw@ximian.com> * Makefile.am (libwombat_static_la_SOURCES): Create a static libwombat for the conduits. calendar: 2001-06-25 Peter Williams <peterw@ximian.com> * conduits/calendar/Makefile.am (INCLUDES): Fixes for srcdir != builddir. Link to the static libwombat. * conduits/todo/Makefile.am (INCLUDES): Here too. addressbook: 2001-06-25 Peter Williams <peterw@ximian.com> * conduit/Makefile.am (INCLUDES): Fix for srcdir != builddir. svn path=/trunk/; revision=10511
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-233-6/+6
| | | | | | 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
* PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and removeJP Rosevear2001-03-133-378/+2
| | | | | | | | | 2001-03-09 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: PISOCK_INCLUDEDIR has become PISOCK_CFLAGS in gnome-pilot.m4 and remove capplet foo svn path=/trunk/; revision=8650
* install conduit iconsJP Rosevear2001-03-032-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | 2001-03-02 JP Rosevear <jpr@ximian.com> * art/Makefile.am: install conduit icons 2001-03-02 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: update sed script * conduit/e-address.conduit.in: update for new pilot foo 2001-03-02 JP Rosevear <jpr@ximian.com> * conduits/todo/e-todo.conduit.in: update for new pilot foo * conduits/calendar/e-calendar.conduit.in: ditto * conduits/todo/Makefile.am: update sed script * conduits/calendar/Makefile.am: ditto svn path=/trunk/; revision=8529
* Oops, forgotten bits from last commitJP Rosevear2001-02-201-1/+1
| | | | svn path=/trunk/; revision=8294
* Remove PISOCK_LIBDIRJP Rosevear2001-02-201-1/+1
| | | | | | | | | | | | | | 001-02-19 JP Rosevear <jpr@ximian.com> * conduits/todo/Makefile.am: Remove PISOCK_LIBDIR * conduits/calendar/Makefile.am: ditto 2001-02-19 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: Remove PISOCK_LIBDIR svn path=/trunk/; revision=8287
* Getting almost full and proper use of xml-i18n-tools.Gediminas Paulauskas2001-02-114-30/+12
| | | | | | | | | | | | | | | | | Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
* Added Slovak messagesStano Visnovsky2001-01-301-0/+2
| | | | svn path=/trunk/; revision=7893
* 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-232-11/+11
| | | | | | | | 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
* Updated sl translationsAndraz Tori2001-01-221-0/+2
| | | | svn path=/trunk/; revision=7701
* 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
* pass -module and -avoid-version to conduit linkerJP Rosevear2001-01-141-0/+1
| | | | | | | | | | | 2001-01-14 JP Rosevear <jpr@ximian.com> * conduits/calendar/Makefile.am: pass -module and -avoid-version to conduit linker * conduits/todo/Makefile.am: ditto svn path=/trunk/; revision=7490
* Remove non-existent fileJP Rosevear2001-01-051-2/+11
| | | | | | | | | | | | | | | | | | | 2001-01-04 JP Rosevear <jpr@helixcode.com> * POTFILES.in: Remove non-existent file 2001-01-04 JP Rosevear <jpr@helixcode.com> * conduit/Makefile.am: Fix hard coded library names that were accidentally committed (i'm looking at you miggie) * contact-editor/e-contact-editor.c (categories_clicked): Reflect renaming. * contact-editor/e-contact-editor-categories.[hc]: These are living in gal now svn path=/trunk/; revision=7261
* Set draw background to FALSE.Miguel de Icaza2000-12-252-11/+3
| | | | | | | | | | | | 2000-12-25 Miguel de Icaza <miguel@helixcode.com> * gui/widgets/e-minicard.c (e_minicard_realize): Set draw background to FALSE. * gui/widgets/e-minicard-label.c (e_minicard_label_construct): ditto. (e_minicard_label_construct): ditto svn path=/trunk/; revision=7164
* 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
* Another conduit build fixJP Rosevear2000-12-061-0/+1
| | | | | | | | 2000-12-06 JP Rosevear <jpr@helixcode.com> * conduit/Makefile.am: Another conduit build fix svn path=/trunk/; revision=6807
* 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-283-60/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-103-75/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated Spanish translationHector Garcia2000-11-031-0/+2
| | | | svn path=/trunk/; revision=6364
* 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-242-27/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-126/+16
| | | | | | | | | | | 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-217-1100/+984
| | | | | | | | | | | | | | | | | | | | | | 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
* Build fixJP Rosevear2000-10-203-0/+144
| | | | | | | | 2000-10-19 JP Rosevear <jpr@helixcode.com> * Makefile.am (DIST_SUBDIRS): Build fix svn path=/trunk/; revision=6068
* Updated Spanish translationHector Garcia2000-10-181-0/+2
| | | | svn path=/trunk/; revision=5990
* Updated French translation.Christophe Merlet2000-10-071-0/+2
| | | | svn path=/trunk/; revision=5764
* Fixed the Swedish translation.Christian Rose2000-09-201-1/+1
| | | | svn path=/trunk/; revision=5519
* Added Swedish translation.Christian Rose2000-09-131-0/+2
| | | | svn path=/trunk/; revision=5367
* Get the conduit to compile on my system.Ettore Perazzoli2000-09-011-2/+4
| | | | svn path=/trunk/; revision=5156
* Remove USING_OAF checksDan Winship2000-08-301-6/+1
| | | | svn path=/trunk/; revision=5099
* Changed this to use ECardSimple.Christopher James Lahey2000-08-202-70/+85
| | | | | | | | | | | | | | | | | 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 address-conduit.hChris Toshok2000-08-141-1/+2
| | | | | | | | | | | | 2000-08-13 Chris Toshok <toshok@helixcode.com> * conduit/Makefile.am (libaddress_conduit_la_SOURCES): add address-conduit.h * Makefile.am (CONDUIT_SUBDIR): only set subdir if ENABLE_PILOT_CONDUITS is set. svn path=/trunk/; revision=4834
* 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-272-5/+5
| | | | 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-262-4/+7
| | | | svn path=/trunk/; revision=4320
* more stuff. too much to use a changelog for.Chris Toshok2000-07-255-444/+326
| | | | svn path=/trunk/; revision=4306
* Added the Turkish desktop entryFatih Demir2000-07-201-0/+2
| | | | svn path=/trunk/; revision=4228
* a building but non-functional address conduitSeth Alves2000-07-156-0/+1642
svn path=/trunk/; revision=4174