aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers
Commit message (Collapse)AuthorAgeFilesLines
* Rename libeshell to libevolution-shell.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-shell.
* Rename libeutil to libevolution-util.Matthew Barnes2013-05-281-1/+1
| | | | | | To make Evolution's shared libraries more consistent. Also rename the documentation module to evolution-util.
* Use e_book_client_connect().Matthew Barnes2013-01-303-27/+18
| | | | Instead of e_client_utils_open_new() and e_book_client_new().
* Bump GDK_VERSION_MIN_REQUIRED to GDK_VERSION_3_2.Matthew Barnes2013-01-203-3/+3
| | | | | Clean up resulting deprecation warnings, which were all related to GtkOrientable consolidation (e.g. gtk_hbox_new() -> gtk_box_new()).
* Avoid deprecated libedataserver APIs.Matthew Barnes2013-01-153-4/+4
| | | | I forgot to include this in 3.7.4, but no matter.
* Move the contact map widgets to addressbook/gui/widgets.Matthew Barnes2012-12-131-2/+0
| | | | | | | | | | | | Move the supporting widgets for the contact maps feature alongside EABContactDisplay. Removing them from libeutil helps isolate our usage of libchamplain so it's not imposed on the entire application, and even 3rd party software. That libchamplain is an optional dependency only further complicates the matter. Ideally I'd like to somehow isolate this feature in an extension module, but we currently lack sufficient hooks for such an extension. So this arrangement will have to suffice for now.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-134-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Coding style and whitespace cleanup.Matthew Barnes2012-11-112-22/+29
|
* Coding style and whitespace cleanup.Matthew Barnes2012-08-203-81/+81
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-043-17/+6
|
* Adapt addressbook/importers to the new ESource API.Matthew Barnes2012-06-034-42/+67
|
* Bug #668989 - Add a twitter username to IM in contactsMilan Crha2012-04-261-0/+2
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-223-9/+24
|
* WebKit port - port addressbook, calendar and update composer to keep working ↵Dan Vrátil2012-03-291-2/+3
| | | | with GtkHtml
* Bug 471795 - Clarify CSV importers as being for contact info onlyMatthew Barnes2012-02-181-6/+6
|
* Bug #591436 - Add -avoid-version to LDFLAGSH. Habighorst2012-02-151-1/+1
|
* Simplify library dependency flags.Matthew Barnes2011-10-051-2/+4
| | | | | | | | | We have a confusing array of nearly-identical CFLAGS/LIBS definitions in configure.ac. Time to simplify. Instead let's just have one definition that includes all the libraries provided by Evolution-Data-Server (incl. Camel). That, in combination with GNOME_PLATFORM, gives us most of what we need for compliation and linking, and we can sprinkle definitions for additional library dependencies in Makefile.am's as needed.
* Fix few 'may be used uninitialized' compiler warningsMilan Crha2011-09-301-2/+1
|
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-273-7/+10
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-044-103/+168
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-133-16/+13
|
* Do not use deprecated EBook/ECal APIMilan Crha2011-06-144-59/+94
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-093-6/+17
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2011-05-222-10/+29
|
* Coding style cleanups.Matthew Barnes2011-05-093-12/+12
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-082-4/+16
|
* More whitespace cleanup.Matthew Barnes2011-01-311-1/+1
|
* Use e_load_book_source_async() for all EBook loading.Matthew Barnes2011-01-223-60/+44
|
* Bug #635755 - Authenticate books in addressbook importers on openMilan Crha2010-12-043-42/+91
|
* Utilize the new ESourceSelector:primary-selection property.Matthew Barnes2010-11-023-3/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2010-10-041-2/+4
|
* Coding style cleanups.Matthew Barnes2010-09-134-181/+181
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-122-2/+2
|
* Coding style and whitespace cleanups.Matthew Barnes2010-06-071-3/+10
|
* Bug #573510 - Outlook type CSV import brokenMilan Crha2010-05-281-79/+143
|
* Coding style and whitespace cleanup.Matthew Barnes2010-05-271-12/+32
|
* On Windows, some LDIF files can have .ldi extensionFridrich Štrba2010-05-201-2/+2
|
* Consider full name and also the first part of e-mail address forFridrich Štrba2010-05-201-0/+15
| | | | contact description in the import dialogue.
* Bug #499320 - Preview before import from command lineMilan Crha2010-05-195-6/+488
|
* Bug #618177 - Mobile Phone of imported contact not shown in previewMilan Crha2010-05-101-11/+20
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-311-3/+3
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-7/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-052-6/+16
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-042-12/+25
|
* Prefer G_N_ELEMENTS over sizeof calculations.Matthew Barnes2009-10-271-2/+1
|
* Bug 596848 - Use per-target CPPFLAGS in automake filesH.Habighorst2009-10-011-4/+3
|
* More whitespace cleanup.Matthew Barnes2009-07-192-33/+33
|
* Fix excessive whitespace.Matthew Barnes2009-07-133-4/+0
|
* Use AM_CPPFLAGS instead of INCLUDE in all Makefile.am.Matthew Barnes2009-07-011-1/+1
|
* More code cleanup.Matthew Barnes2009-06-021-4/+4
|
* Whitespace cleanup.Matthew Barnes2009-05-292-4/+4
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-293-55/+55
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-294-4/+4
|
* Fix compiler warnings in addressbook.Matthew Barnes2009-05-262-4/+4
|
* Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-021-0/+2
|
* Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-012-14/+31
| | | | svn path=/trunk/; revision=36520
* Change License from GPL to LGPL. 2nd batch.Sankarasivasubramanian Pasupathilingam2008-09-031-12/+15
| | | | | | More changes to come. svn path=/trunk/; revision=36247
* License ChangesSankarasivasubramanian Pasupathilingam2008-08-271-0/+19
| | | | svn path=/trunk/; revision=36116
* ** Fix for bug #539755Milan Crha2008-06-241-23/+52
| | | | | | | | | | | | | | | 2008-06-24 Milan Crha <mcrha@redhat.com> ** Fix for bug #539755 * importers/evolution-csv-importer.c: (parseLine): Do not leak (introduced in bug #440818). * importers/evolution-csv-importer.c: (add_to_notes), (parseLine), (getNextCSVEntry): Do not access memory beyond the columns array. svn path=/trunk/; revision=35681
* ** Fix for bug #440818 (patch by Rodrigo Castro)Milan Crha2008-06-231-19/+25
| | | | | | | | | | | | | | 2008-06-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #440818 (patch by Rodrigo Castro) * importers/evolution-csv-importer.c: (parseLine): Convert line to UTF-8 if not a valid one. Pretend it to be an ISO-8859-1 line. * importers/evolution-csv-importer.c: (getNextCSVEntry): Append char-by-char and check for EOF too. svn path=/trunk/; revision=35677
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-212-2/+2
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-063-5/+3
| | | | | | | | | | 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
* Corrected misspelled instances of vCard in:Suman Manjunath2007-12-061-2/+2
| | | | | | | | | | M addressbook/gui/component/addressbook-view.c M addressbook/gui/widgets/eab-vcard-control.c M addressbook/gui/widgets/eab-gui-util.c M addressbook/gui/widgets/e-addressbook-view.c M addressbook/importers/evolution-vcard-importer.c svn path=/trunk/; revision=34657
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-153-63/+63
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Warning fixes: - mixing code and declarations - NULL vs 0 vs FALSE/TRUE -Kjartan Maraas2007-10-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-23 Kjartan Maraas <kmaraas@gnome.org> * gui/contact-editor/e-contact-editor-address.c: * gui/contact-editor/e-contact-editor-fullname.c: * gui/contact-editor/e-contact-editor-im.c: * gui/contact-editor/e-contact-editor.c: (save_contact), (app_delete_event_cb), (e_contact_editor_set_property), (e_contact_editor_create_date): * gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_new): * gui/merging/eab-contact-merging.c: (mergeit), (response): * gui/widgets/e-minicard.c: (e_minicard_event), (add_field), (get_email_location), (add_email_field), (remodel), (e_minicard_reflow), (e_minicard_compare): * gui/widgets/eab-config.c: (eab_config_new): * gui/widgets/eab-gui-util.c: (eab_load_error_dialog), (file_exists), (save_it), (contact_added_cb), (eab_send_to_contact_and_email_num_list): * gui/widgets/eab-menu.c: (eab_menu_new): * gui/widgets/eab-popup.c: (eab_popup_new): * importers/evolution-csv-importer.c: (parseLine), (getNextCSVEntry): * printing/e-contact-print-style-editor.c: * printing/test-contact-print-style-editor.c: * printing/test-print.c: * util/eab-book-util.c: (eab_get_config_database): Warning fixes: - mixing code and declarations - NULL vs 0 vs FALSE/TRUE - mark code static - some coding style fixes - if vs ifdef - Remove some unused bits - ANSIfication of declarations svn path=/trunk/; revision=34421
* ** Fixes bug #469657Matthew Barnes2007-10-021-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #469657 * addressbook/importers/evolution-ldif-importer.c: * calendar/gui/comp-editor-factory.c: * composer/e-msg-composer.c: * e-util/e-config-listener.c: * mail/em-composer-prefs.c: * mail/em-folder-tree-model.c: * mail/em-format.c: * mail/em-format-html.c: * mail/em-migrate.c: * mail/em-subscribe-editor.c: * mail/mail-component.c: * mail/mail-send-recv.c: * mail/message-list.c: * mail/importers/elm-importer.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/mono/mono-plugin.c: * shell/e-shell-settings-dialog.c: * tools/killev.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-selection-model.c: Use destroy functions in GHashTables to simplify memory management. svn path=/trunk/; revision=34344
* ** Fixes part of bug #474000Matthew Barnes2007-09-281-92/+8
| | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #474000 * addressbook/importers/evolution-ldif-importer.c: Remove redundant Base64 codec implementation. Use GLib's. * mail/em-format-html.c (efh_format_headers): * mail/em-migrate.c (upgrade_passwords_1_2): * plugins/face/face.c: Use GLib's Base64 API instead of Camel's. svn path=/trunk/; revision=34325
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-022-4/+4
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* 2007-08-06 mcrha Partial fix for bug #427469Milan Crha2007-08-061-3/+3
| | | | svn path=/trunk/; revision=33959
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-8/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* addressbook/importers/evolution-ldif-importer.cFrancisco Javier F. Serrador2006-10-152-2/+2
| | | | | | | | | | | | | | | | 2006-10-15 Francisco Javier F. Serrador <serrador@openshine.com> * addressbook/gui/widgets/eab-contact-display.c: addressbook/importers/evolution-ldif-importer.c addressbook/importers/evolution-vcard-importer.c calendar/importers/icalendar-importer.c plugins/groupwise-features/properties.glade plugins/mailing-list-actions/org-gnome-mailing-list-actions.eplug.xml plugins/save-attachments/org-gnome-save-attachments.xml shell/shell.error.xml : Make some string improvements to allow better use of gettext compendia. svn path=/trunk/; revision=32879
* Fix for Bug 332136.Devashish Sharma2006-03-063-17/+3
| | | | svn path=/trunk/; revision=31656
* Made some changes to evolution csv importer for fixing some bugs.Devashish Sharma2006-01-231-5/+108
| | | | svn path=/trunk/; revision=31279
* Small change to csv importer.Devashish Sharma2006-01-161-8/+4
| | | | svn path=/trunk/; revision=31207
* *** empty log message ***Devashish Sharma2006-01-161-8/+8
| | | | svn path=/trunk/; revision=31206
* CSV and TAB file importer for addressbook.Devashish Sharma2006-01-161-0/+749
| | | | svn path=/trunk/; revision=31198
* Added support for CSV and TAB file import.Devashish Sharma2006-01-162-0/+4
| | | | svn path=/trunk/; revision=31197
* Use gstdio wrappers. Use GDir API instead of dirent. Use GLib to convertTor Lillqvist2005-12-171-6/+24
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * importers/evolution-vcard-importer.c: Use gstdio wrappers. Use GDir API instead of dirent. Use GLib to convert file names to URIs and back. Open files in binary mode. svn path=/trunk/; revision=30799
* Proceeding with the import activity only if the book is writable.Sushma Rai2005-12-142-0/+14
| | | | | | Fixes #266003. svn path=/trunk/; revision=30772
* Use g_filename_from_uri() instead of just stripping off the "file://"Tor Lillqvist2005-11-251-2/+8
| | | | | | | | | | | 2005-11-25 Tor Lillqvist <tml@novell.com> * importers/evolution-ldif-importer.c (ldif_import): Use g_filename_from_uri() instead of just stripping off the "file://" prefix for Win32 portability. Use gstdio wrappers for better non-ASCII filename support on Windows. svn path=/trunk/; revision=30673
* Handling the attributed specified in the schema, and also mozilla schemaSushma Rai2005-09-301-27/+123
| | | | | | specific attributes. Fixes #316373 svn path=/trunk/; revision=30431
* Use privsolib instead of privlib (no difference on Unix, on Win32Tor Lillqvist2005-08-101-1/+4
| | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * importers/Makefile.am: Use privsolib instead of privlib (no difference on Unix, on Win32 privsolib means lib). Use NO_UNDEFINED. Link with libeabutil.la. svn path=/trunk/; revision=30059
* Fix for the crash while importing ldif file with more than fifty entries.Sushma Rai2005-08-051-1/+2
| | | | svn path=/trunk/; revision=29998
* Fix for address book import problems.Sushma Rai2005-07-132-5/+5
| | | | svn path=/trunk/; revision=29750
* Merge back eplugin-import-branch.Michael Zucci2005-07-126-431/+325
| | | | svn path=/trunk/; revision=29725
* gui/component/GNOME_Evolution_Addressbook.server.in.inTor Lillqvist2005-06-182-2/+2
| | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * gui/component/GNOME_Evolution_Addressbook.server.in.in * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Use SOEXT. svn path=/trunk/; revision=29534
* New functions which peeks at the conents of the file and guesses theChristophe Fergeau2005-02-091-15/+124
| | | | | | | | | | | | | | | | 2005-02-08 Christophe Fergeau <teuf@users.sourceforge.net> * importers/evolution-vcard-importer.c (has_bom) (fix_utf16_endianness) (utf16_to_utf8) guess_vcard_encoding) : New functions which peeks at the conents of the file and guesses the encoding and to convert UTF-16 strings to UTF-8. (load_file_fn) : check the encoding of the file and convert UTF-16 and locale encoding to UTF-8 Fixes #54825 svn path=/trunk/; revision=28750
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* Fix name attribute values to be identicalRodney Dawes2004-11-231-1/+1
| | | | | | | | | | | 2004-11-22 Rodney Dawes <dobey@novell.com> * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Fix name attribute values to be identical Fixes #61976 svn path=/trunk/; revision=27960
* find source selector and option menu in libedataserveruiJP Rosevear2004-10-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * importers/evolution-vcard-importer.c: find source selector and option menu in libedataserverui * importers/evolution-ldif-importer.c: ditto * gui/widgets/eab-popup.c: ditto * gui/widgets/eab-gui-util.c: ditto * gui/contact-list-editor/e-contact-list-editor.c: ditto * gui/contact-editor/e-contact-editor.c: ditto * gui/component/select-names/e-select-names.h: ditto * gui/component/autocompletion-config.c: ditto * gui/component/addressbook-view.c: ditto svn path=/trunk/; revision=27568
* handle LIST field types. (ldif_fields[]): Add a list type. E_CONTACT_EMAILNot Zed2004-06-141-1/+12
| | | | | | | | | | | 2004-06-14 Not Zed <NotZed@Ximian.com> * importers/evolution-ldif-importer.c (parseLine): handle LIST field types. (ldif_fields[]): Add a list type. E_CONTACT_EMAIL is a list field type. See #58855. svn path=/trunk/; revision=26333
* Fixes #55945JP Rosevear2004-06-054-10/+10
| | | | | | | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> Fixes #55945 * importers/*.server.in.in: ditto * importers/evolution-ldif-importer.c: fix OAFIIDs * importers/evolution-vcard-importer.c: ditto svn path=/trunk/; revision=26223
* [ fixes bug #32194 ]Chris Toshok2004-05-251-0/+40
| | | | | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> [ fixes bug #32194 ] * importers/evolution-vcard-importer.c (process_item_fn): make sure all ADR attributes have HOME/WORK/OTHER. svn path=/trunk/; revision=26064
* [ fixes bug #40013 ]Chris Toshok2004-05-251-0/+51
| | | | | | | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> [ fixes bug #40013 ] * importers/evolution-vcard-importer.c (process_item_fn): for TEL attribute that don't specify a location (HOME/WORK/OTHER), default to "OTHER". For TEL attributes that *only* specify a location, default to "VOICE". svn path=/trunk/; revision=26063
* Add helper func. (process_item_fn): Add undisplayed fields to notes.Hans Petter Jansson2004-05-212-0/+60
| | | | | | | | | | | | | | 2004-05-20 Hans Petter Jansson <hpj@ximian.com> * importers/evolution-ldif-importer.c (add_to_notes): Add helper func. (process_item_fn): Add undisplayed fields to notes. * importers/evolution-vcard-importer.c (add_to_notes): Add helper func. (process_item_fn): Add undisplayed fields to notes. svn path=/trunk/; revision=26025
* use the new e_book_new and e_book_open apis.Chris Toshok2004-05-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add "mobile" mapping to E_CONTACT_PHONE_MOBILE, which is what thunderbirdChris Toshok2004-04-261-0/+1
| | | | | | | | | | 2004-04-25 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (ldif_fields): add "mobile" mapping to E_CONTACT_PHONE_MOBILE, which is what thunderbird uses (and really what we should have always been using.) svn path=/trunk/; revision=25610
* use the new e_destination_export_to_vcard_attribute call to build up theChris Toshok2004-04-102-14/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (resolve_list_card): use the new e_destination_export_to_vcard_attribute call to build up the attributes. * importers/evolution-vcard-importer.c (process_item_fn): if we're importing a vcard that we wrote out previously containing xml in the EMAIL attributes, DTRT and strip it out and use e_destination_export_to_vcard_attribute to build up the proper attribute. * util/Makefile.am (libeabutil_la_SOURCES): remove eab-destination.[ch] and add e-destination.[ch]. * printing/e-contact-print.c (e_contact_print_contact): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the value as the address (since that's what it is) in the list case. * gui/widgets/eab-contact-display.c (render_contact_list): remove the EABDestination stuff from here. (eab_contact_display_render_compact): same. * gui/widgets/e-minicard.c (activiate_editor): fix warnings - use EAB_EDITOR instead of G_OBJECT. (add_field): we don't have to worry about the "<?xml..." EMAIL fields anymore. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): eab->e. (contact_list_model_dispose): we're not a GtkObject, we're a GObject. rename _destroy to _dispose, and chain up to the parent class's ::dispose. (e_contact_list_model_class_init): GtkObject -> GObject, and destroy -> dispose. (e_contact_list_model_init): GtkObject -> GObject, and EAB -> E. (e_contact_list_model_add_destination): EAB -> E. (e_contact_list_model_add_email): same. (e_contact_list_model_add_contact): same. (e_contact_list_model_get_destination): same. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): add email num arg to e_contact_list_model_add_contact. (extract_info): fill in the vcard attributes instead of just generating xml. (fill_in_info): extract the values from the vcard attributes. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): eab->e, and don't sometimes copy, sometimes ::new. always ::new. (e_select_names_text_model_delete): same. (e_select_names_text_model_obj_count): same. (nth_obj_index): same. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): eab -> e. * gui/component/select-names/e-select-names-popup.c (make_contact_editor_cb): eab -> e. (change_email_num_cb): same. (toggle_html_mail_cb): same. (populate_popup_contact): same, and remove code that checks for <?xml, then imports the EDestination. (quick_add_cb): eab -> e. (populate_popup_nocontact): same. (e_select_names_populate_popup): same. * gui/component/select-names/e-select-names-model.h: eab -> e, and remove prototypes for nuked functions. * gui/component/select-names/e-select-names-model.c (destination_changed_proxy, send_changed, connect_destination, disconnect_destination): nuke. (e_select_names_model_duplicate): EAB -> E. (e_select_names_model_get_textification): same. (e_select_names_model_get_address_text): same. (e_select_names_model_get_destination): same. (e_select_names_model_export_destinationv): same. (send_changed): same. (e_select_names_model_import_destinationv): same. (e_select_names_model_get_contact): same. (e_select_names_model_contains): same. (e_select_names_model_insert): same, and remove call to connect_destination. (e_select_names_model_append): same. (e_select_names_model_replace): same, and remove call to disconnect/connect_destination. (e_select_names_model_delete): same. (delete_all_iter): nuke. (e_select_names_model_delete_all): use g_object_unref for the foreach call. (e_select_names_model_merge): EAB -> E. (e_select_names_model_name_pos): same. (e_select_names_model_name_pos): same. (e_select_names_model_load_all_contacts): nuke. (e_select_names_model_cancel_all_contact_load): nuke. * gui/component/select-names/e-select-names-manager.c (clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke. (completion_handler): EAB -> E, and the signals are gone. * gui/component/select-names/e-select-names-completion.c: in general, s/eab_dest/e_dest and s/EABDest/EDest. (e_select_names_completion_got_book_view_cb): move the e_book_view_start to below the assignment of sequence_complete_received, just to put my mind at ease. (e_select_names_completion_stop_query): un-#if notyet the call to e_book_cancel. (e_select_names_completion_start_query): free the waiting_query before assigning to it. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): remove calls to e_select_names_model_load_all_contacts, since that function is dead. * gui/component/addressbook-migrate.c (setup_progress_dialog): take the label to display to the user as an arg. (migrate_contact_lists_for_local_folders): loop over all contacts in all local addressbooks looking for ones that have <?xml in their EMAIL attributes. for the ones we find, call e_destination_export_to_vcard_attribute to build up the proper attribute. (addressbook_migrate): add in a clause for all versions under 1.5.7 to convert contact lists. also, move the unrefs of the sources/groups to outside the if, as they're created outside it. * gui/component/Makefile.am (INCLUDES): remove the addressbook/backend/ dirs, since libebook isn't there anymore (nothing is, actually). Add addressbook/util/. svn path=/trunk/; revision=25390
* [ part of the fix for #54528, the other part is in e-d-s ]Chris Toshok2004-03-311-0/+16
| | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ part of the fix for #54528, the other part is in e-d-s ] * importers/evolution-vcard-importer.c (process_item_fn): get and set the PHOTO attribute before storing the contact in the book. this has the affect of making EContact sniff the image format. the apple addressbook doesn't give PHOTO's a TYPE. svn path=/trunk/; revision=25250
* only set the address if something in it's been filled in.Chris Toshok2004-02-072-22/+12
| | | | | | | | | | | | | | | | 2004-02-06 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (getNextLDIFEntry): only set the address if something in it's been filled in. (resolve_list_card): build up a separate list representing the xml formatted crud. (process_item_fn): remove FIXME. (factory_fn): use g_new0 since we test for NULL-ness later on. * importers/evolution-vcard-importer.c (factory_fn): use g_new0 since we test for NULL-ness later on. svn path=/trunk/; revision=24659
* implementJP Rosevear2004-02-071-1/+12
| | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-ldif-importer.c (importer_destroy_cb): implement svn path=/trunk/; revision=24655
* implement (load_file_fn): use g_file_get_contents to get a string we canJP Rosevear2004-02-071-7/+25
| | | | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-vcard-importer.c (importer_destroy_cb): implement (load_file_fn): use g_file_get_contents to get a string we can convert to a contact list with eab_contact_list_from_string svn path=/trunk/; revision=24654
* shlib importer infoJP Rosevear2004-02-076-0/+998
2004-02-06 JP Rosevear <jpr@ximian.com> * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: shlib importer info * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: ditto * importers/Makefile.am: build shlib addressbook importers * importers/evolution-ldif-importer.c: First crack at resurrecting * importers/evolution-vcard-importer.c: ditto svn path=/trunk/; revision=24652