| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-12 Jeffrey Stedfast <fejj@ximian.com>
* importers/netscape-importer.c: Removed unused variables.
* importers/pine-importer.c: Removed unused variables.
(parse_address): Removed - it's unused and we have CamelAddress
available to us anyway.
* importers/elm-importer.c: Removed unused variables.
* importers/evolution-mbox-importer.c (load_file_fn): Removed an
unused variable.
svn path=/trunk/; revision=19896
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-05 Not Zed <NotZed@Ximian.com>
* importers/netscape-importer.c: update from ../../importers/.
(main): Removed.
(mail_importer_module_init): Setup module init fn.
(factory_fn): api changes.
(is_dir_empty): deprecated changes, and clean up logic.
(importer_cb): pulse progress bar, use idle function for
processing next item.
(import_next): Remove link before recursing, also fix memleak, and
api changes.
(netscape_import_file): dont release importer.
(*): gconf'ify
* importers/elm-importer.c (elm_factory_fn): Track the
evolution_intelligent_importer, so we can unref it when done.
(*): gconf'ify.
* importers/pine-importer.c (parse_line): use gobject stuff rather
than gtkobject.
(import_addressfile): close down 'properly' when finished.
(importer_timeout_fn): Do most processing decisions here, either
from a timeout or idle function. This prevents us getting 1 stack
frame per message and per folder. Close down properly also.
(importer_cb): Add a timeout, ignore the callback, or add an idle
function to process the next item.
(pine_import_file): dont release the importer if we can't load it,
its released elsewhere, i think.
(import_addressfile): step the progress bar as we go.
(factory_fn): Track the evolution_intelligent_importer, so we can
unref when done.
(*): gconf'ify
2003-01-31 Not Zed <NotZed@Ximian.com>
* importers/elm-importer.c (elm_can_import): g_file_exists ->
lstat, and g_build_filename api changes.
* importers/pine-importer.c: moved from
../../importers/pine-importer.c
(factory_fn): oaf->bonobo_activation
(mail_importer_module_init): setup factory.
(main): Removed.
(*): REemove bonobo config stuff.
(factory_fn): destroy signal -> weak ref.
(pine_destroy_cb): Fix signature for weak ref notify.
(import_addressfile): use new glib filename stuff.
(import_addressbook): same.
(pine_can_import): and here.
(import_next): and here.
(scan_dir): and here
(pine_create_structure): And here.
(pine_can_import): g_file_exists -> lstat.
(importer_cb): If there are more items, use an idle handler to
drop back a few stack frames rather than recursing for each
message.
(import_next): unlink data from dir_list before recursing, and fix
leak.
2003-01-30 Not Zed <NotZed@Ximian.com>
* importers/elm-importer.c (elm_destroy_cb): Change for weak ref
setup.
(elm_factory_fn): destroy -> weak ref.
2003-01-29 Not Zed <NotZed@Ximian.com>
* importers/elm-importer.c (importer_cb): Pass processItem off to
an idle handler, so we dont blow our stacks. Also update to use
progress_bar_pulse().
(import_item_idle): Get the next message here instead.
(import_next): Fix a glist leak. Unlink the file before we import
it too. And close the dialogue and clean up when we've run out of
folders to import.
2003-01-17 Not Zed <NotZed@Ximian.com>
* importers/elm-importer.c (elm_create_structure): use/free elmdir
rather than double-free maildir.
2003-01-16 Not Zed <NotZed@Ximian.com>
* importers/elm-importer.c: update from ../importers/elm-importer.c
svn path=/trunk/; revision=19752
|
|
|
|
| |
svn path=/trunk/; revision=9722
|
|
|
|
| |
svn path=/trunk/; revision=9103
|
|
Pine compiles and is tested
Elm is not compiled yet, as I have not tested it.
svn path=/trunk/; revision=8833
|