aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers/evolution-outlook-importer.c
Commit message (Collapse)AuthorAgeFilesLines
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-021-1/+1
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-031-0/+1
| | | | | | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/evolution-mbox-importer.c (load_file_fn): * importers/evolution-outlook-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. * importers/elm-importer.c (elm_import_file): pass empty string for "folder_type" argument to GNOME_Evolution_Importer_loadFile. * importers/pine-importer.c (pine_import_file): ditto. * importers/netscape-importer.c (netscape_import_file): ditto. svn path=/trunk/; revision=20645
* ** for mail part of bug #38461.Not Zed2003-03-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-21 Not Zed <NotZed@Ximian.com> ** for mail part of bug #38461. * importers/evolution-outlook-importer.c (load_file_fn): dont pass in create flag to uri_to_folder, the folder must already exist. * importers/evolution-mbox-importer.c (folder_created_cb): Removed, we now force the caller to create the destination folder first. (load_file_fn): Dont try and create a folder if it doesn't exist. Also, use the uri directly as the destination uri, so we can import into any folder. (process_item_fn): If we dont have a folder, thats just an error, return BAD_FILE. * importers/netscape-importer.c (netscape_import_file): As below for elm_import_file. (import_next): similarly as for pine import_next. (importer_cb): just record result. (importer_timeout_fn): removed. * importers/pine-importer.c (import_next): Similar to below for the elm import_next. (pine_import_file): As below for elm_import_file. (importer_timeout_fn): removed. (importer_cb): just record the result, and exit. (import_next): change around to behave more like the elm importer, cleaning up when we're done. * importers/elm-importer.c (elm_import_file): Create the destination folder ourselves, dont pass it onto the mbox importer. Simplify logic, just do the import within a while loop, polling the g main loop as necessary, remove need for idle callbacks and other crap. (import_next): If elm_import_file fails, then just go straight to the next folder, stops it falling in a heap. (import_item_idle): removed. (importer_cb): just record result/exit. * mail-importer.c (mail_importer_create_folder): removed. (mail_importer_make_local_folder): new function to create a local-only folder from a path. It runs synchronously by using a recursive main loop. (folder_created_cb): callback for make_local_folder. svn path=/trunk/; revision=20379
* provide a proper implicit rule for building .server.in from .server.in.in.Not Zed2002-11-201-7/+5
| | | | | | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * importers/Makefile.am (%.server.in): provide a proper implicit rule for building .server.in from .server.in.in. The other one just copied the first target to all destinations(!). * importers/evolution-outlook-importer.c (outlook_factory_fn): destroy -> weak ref. svn path=/trunk/; revision=18855
* Added back libevolution-importer stuff. (SUBDIRS): Added back importers.Not Zed2002-11-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * Makefile.am (evolution_mail_LDADD): Added back libevolution-importer stuff. (SUBDIRS): Added back importers. * importers/evolution-mbox-importer.c (load_file_fn): build the uri without deprecated funcs. (load_file_fn): dont free/alloc a camel_exception for no obvious purpose. (mbox_factory_fn): use weak_ref rather than destroy. (importer_destroy_cb): fix signature for weak ref notify. (mbox_factory_fn): add cid param. * importers/*.[ch]: ran fix script over everything. * importers/*.server.in.in: Added bonobo activation files. Moved evolution-mail to @LIBEXEC@ as below. * importers/Makefile.am: oaf->bonobo activation stuff. * importers/evolution-outlook-importer.c (outlook_factory_fn): Add component id to callback. svn path=/trunk/; revision=18822
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-3/+2
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14191
* Pass an empty flags argument to mail_tool_uri_to_folder.Jeffrey Stedfast2001-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-02 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_setup_do): Pass an empty flags argument to mail_tool_uri_to_folder. (vfolder_adduri_do): Same. * mail-session.c (get_folder): Pass an empty flags argument to mail_tool_uri_to_folder. * mail-send-recv.c (receive_get_folder): Pass an empty flags argument to mail_tool_uri_to_folder. * mail-ops.c (get_folder_get): Pass the flags to mail_tool_uri_to_folder. (mail_get_folder): Now takes a flags argument. (remove_folder_get): Pass an empty flags argument to mail_tool_uri_to_folder. (mail_send_message): Pass an empty argument flag to mail_tool_uri_to_folder. (transfer_messages_transfer): Same. Destination folder should already be created by this time. * folder-info.c (do_get_info): Pass an empty flags argument to mail_tool_uri_to_folder. * importers/evolution-mbox-importer.c (folder_created_cb): Pass the CREATE flag here too. (load_file_fn): And here. (load_file_fn): And here too. * importers/evolution-outlook-importer.c (load_file_fn): Pass the CREATE flag to mail_tool_uri_to_folder. * folder-browser.c (folder_browser_new): Pass an empty flags argument. (x_evolution_message_parse): Pass an empty flags argument to mail_tool_uri_to_folder. * component-factory.c (create_folder): Pass a CREATE flag to mail_get_folder here too. (owner_set_cb): And here. (xfer_folder): Shouldn't need the CREATE flag here, so not passing any flags. (destination_folder_handle_drop): Same. * mail-local.c (mail_local_store_add_folder): Pass a CREATE flag to mail_get_folder. (reconfigure_folder_reconfigure): Pass an empty flags argument to mail_tool_uri_to_folder. * mail-tools.c (mail_tool_uri_to_folder): Take a flags argument. (mail_tool_get_local_inbox): Pass an empty flags argument to mail_tool_uri_to_folder. svn path=/trunk/; revision=13353
* Fix a crash when the evolution-importer-client tries to pass NULL for the ↵Iain Holmes2001-03-311-1/+1
| | | | | | folderpath. svn path=/trunk/; revision=9055
* Cleaned up #includes. Remove unneccesary includes of <gnome.h>,Kjartan Maraas2001-03-301-2/+10
| | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * *.*: Cleaned up #includes. Remove unneccesary includes of <gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more fine grained headers where needed. Also marked a bunch of strings for translations and added some missing prototypes. svn path=/trunk/; revision=9025
* Fix some warnings, Allow the importers to import into any folder. UpdateIain Holmes2001-03-231-1/+5
| | | | | | | | | | Fix some warnings, Allow the importers to import into any folder. Update all importers for this change. Don't emit the create_folder callback if the folder to be created already exists. This should fix the libibex crash when importing. svn path=/trunk/; revision=8912
* All my changes to get the folder creation working, and the magic NetscapeIain Holmes2001-03-131-0/+307
importer. svn path=/trunk/; revision=8661