aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/evolution-ldif-importer.c
Commit message (Collapse)AuthorAgeFilesLines
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-592/+0
| | | | svn path=/trunk/; revision=23206
* Fix lots of leaks, update for correct use of g_object_get. Some cleanups.Larry Ewing2003-06-141-1/+5
| | | | | | | | | | | | | | | 2003-06-14 Larry Ewing <lewing@ximian.com> * gui/backend/ebook/e-card-simple.c: * gui/backend/ebook/e-card.c: * gui/backend/ebook/evolution-ldif-importer.c: * gui/backend/ebook/load-pine-addressbook.c: * gui/backend/ebook/test-card.c: * gui/backend/pas/pas-backend-card-sexp.c: * gui/backend/pas/pas-backend-ldap.c: Fix lots of leaks, update for correct use of g_object_get. Some cleanups. svn path=/trunk/; revision=21443
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-031-0/+1
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/evolution-ldif-importer.c (load_file_fn): * backend/ebook/evolution-vcard-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20644
* [ fixes bug #19178 ] use e_book_load_address_book_by_uri on the passed inChris Toshok2003-03-271-17/+4
| | | | | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #19178 ] * backend/ebook/evolution-ldif-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. * backend/ebook/evolution-vcard-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. svn path=/trunk/; revision=20543
* Likewise. Likewise. Likewise. Likewise. Likewise. (ebook_create):Ettore Perazzoli2003-03-071-1/+1
| | | | | | | | | | | | | | | | | * backend/ebook/load-pine-addressbook.c (ebook_create): Likewise. * backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise. * backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise. * backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise. * backend/ebook/test-client.c (get_cursor_cb): Likewise. (ebook_create): Likewise. * gui/widgets/e-minicard.c (e_minicard_set_property): Likewise. (card_modified_cb): Likewise. (e_minicard_event): Likewise. * gui/widgets/gal-view-minicard.c (column_width_changed): Likewise. * gui/widgets/test-minicard-view.c (ebook_create): Likewise. * gui/widgets/gal-view-treeview.c (column_width_changed): Likewise. svn path=/trunk/; revision=20203
* check the status, not the book, and unref the book here.Chris Toshok2003-02-071-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove cruft. (libebookincludedir): Use privincludedir.Dan Winship2003-02-061-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | * backend/ebook/Makefile.am (INCLUDES): Remove cruft. (libebookincludedir): Use privincludedir. * backend/ebook/e-book-util.c: #include <string.h> * backend/ebook/e-card-compare.c: Likewise * backend/ebook/load-pine-addressbook.c: Likewise * backend/ebook/test-client.c: Likewise * backend/ebook/evolution-vcard-importer.c: #include <e-book-util.h> (factory_fn): Fix this to actually return the importer. * backend/ebook/evolution-ldif-importer.c (parseLine): #include <e-book-util.h> and <bonobo/bonobo-main.h>. Use g_ascii_strcmp. * backend/ebook/e-card.c (e_card_email_match_single_string): (e_card_email_find_number): s/g_str/g_ascii_str/ * backend/ebook/e-destination.c (e_destination_equal): Likewise. Also, add an "else return FALSE;" svn path=/trunk/; revision=19778
* reenable all the importers/loaders.Chris Toshok2003-01-161-46/+20
| | | | | | | | | | | | | | | | 2003-01-15 Chris Toshok <toshok@ximian.com> * backend/ebook/Makefile.am (bin_PROGRAMS): reenable all the importers/loaders. * backend/ebook/evolution-ldif-importer.c, backend/ebook/evolution-vcard-importer.c: Finish gnome2 port issues, and get these to compile. * backend/ebook/load-gnomecard-addressbook.c, backend/ebook/load-pine-addressbook.c: same. svn path=/trunk/; revision=19485
* [ roll forward Sean.Gao@sun.com's fix for #16870 from the 1.2 branch ]Chris Toshok2002-11-231-1/+1
| | | | | | | | | | | 2002-11-22 Chris Toshok <toshok@ximian.com> [ roll forward Sean.Gao@sun.com's fix for #16870 from the 1.2 branch ] * backend/ebook/evolution-ldif-importer.c (getNextLDIFEntry): check for both LR and CRLF as empty line markers. svn path=/trunk/; revision=18899
* just include glib.h instead of the gtk stuff.Chris Toshok2002-11-031-21/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-02 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-types.h: just include glib.h instead of the gtk stuff. * backend/ebook/e-book-listener.[ch]: convert to GObject/bonobo-activation/etc/etc. * e-book-util.[ch]: same. * e-book-view-listener.[ch]: same. * e-book-view.[ch]: same. * e-book.[ch]: same. * e-card-compare.[ch]: same. * e-card-cursor.[ch]: same. * e-card-simple.[ch]: same. * e-card.[ch]: same. * e-destination.[ch]: same. * evolution-ldif-importer.c: same. * evolution-vcard-importer.c: same. * load-gnomecard-addressbook.c: same. * load-pine-addressbok.c: same. * test-card.c: same. * test-client-list.c: same. * test-client.c: same. * backend/ebook/Makefile.am: add e-book-marshal.c to SOURCES, add e-book-marshal.[ch] to CLEANFILES, and add e-book-marshal.list to EXTRA_DIST. Also, remove the camel libs from the test LDADD's, and leave e-destination.[ch] out of the build. * backend/ebook/.cvsignore: ignore e-book-marshal.[ch] * backend/ebook/e-book-marshal.list: marshallers for e-book. svn path=/trunk/; revision=18505
* Import into the default book not the local oneIain Holmes2002-08-161-1/+6
| | | | svn path=/trunk/; revision=17788
* [ fixes bug # 16864 ] create and return a GString here, instead of writingChris Toshok2002-01-231-24/+25
| | | | | | | | | | | 2002-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug # 16864 ] * backend/ebook/evolution-ldif-importer.c (getValue): create and return a GString here, instead of writing to a fixed size buffer. (parseLine): use a GString here instead of a fixed size buffer. svn path=/trunk/; revision=15427
* Check for no extensionIain Holmes2001-10-171-0/+4
| | | | svn path=/trunk/; revision=13710
* commit the importer originally from Michael M. Morrison, with fixups byChris Toshok2001-10-131-0/+619
2001-10-12 Chris Toshok <toshok@ximian.com> * backend/ebook/evolution-ldif-importer.c: commit the importer originally from Michael M. Morrison, with fixups by toshok. * backend/ebook/Makefile.am (bin_PROGRAMS): add evolution-ldif-importer. (oaf_in_files): add GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in. * backend/ebook/e-card-simple.h: add WANTS_HTML and IS_LIST. * backend/ebook/e-card-simple.c (field_data): add WANTS_HTML and IS_LIST. (e_card_simple_set): fix typo. * backend/ebook/.cvsignore: ignore GNOME_Evolution_Addressbook_LDIF_Importer.oaf and evolution-ldif-importer. * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.oaf.in: ldif importer oafinfo. svn path=/trunk/; revision=13627