aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-migrate.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compiler warnings.Matthew Barnes2012-12-151-1/+0
|
* e_mail_migrate(): Remove directory creation code.Matthew Barnes2012-12-141-11/+0
| | | | | | | e_shell_backend_get_data_dir() already creates the user's data directory for mail, so there's no need to try and create the directory again. This eliminates the only usage of the E_SHELL_MIGRATE_ERROR domain.
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-08-201-1/+1
|
* Run mbox-to-Maildir conversion before loading modules.Matthew Barnes2012-08-101-325/+0
| | | | | | | | | | | | | | Invoke the mbox-to-Maildir conversion directly from main(), just before the call to e_shell_load_modules(). The reason the code is here and not in the mail module is because we inform the user at startup of the impending mail conversion by displaying a popup dialog and waiting for confirmation. This has to be done before we load modules because some of the EShellBackends immediately add GMainContext sources that would otherwise get dispatched during gtk_dialog_run(), and we don't want then dispatched until after the conversion is complete.
* migrate_mbox_to_maildir(): Fix a reference counting error.Matthew Barnes2012-08-091-2/+3
| | | | | | The ESourceCamel extension owns the CamelSettings instance and the ESource instance owns the ESourceCamel extension. Unreference the ESource AFTER we're done with the CamelSettings.
* em_migrate_session_new(): Provide a user cache directory.Matthew Barnes2012-08-091-1/+8
|
* Remove the last remaining usage of GConfMilan Crha2012-06-151-225/+0
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-6/+0
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-031-472/+52
|
* Bug 676492 - Mail backend properties with underscores stopped working.David Woodhouse2012-05-211-0/+3
| | | | | Fix oal_selected and oab_offline properties for EWS, and account_uid for ActiveSync.
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-2/+2
| | | | libevolution-utils.
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-4/+9
|
* Bug #669097 - Cannot save column setup: File name too longMilan Crha2012-02-141-0/+82
|
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-9/+12
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-14/+19
| | | | | | | | | | | | | | | | | | | | | This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3. Account reordering is now done by drag-and-drop instead of up/down buttons. Turned out to be a wee bit more complicated than I initially thought. This scraps EAccountManager and EAccountTreeView and replaces them with new classes centered around EMailAccountStore, which EMailSession owns. EMailAccountStore is the model behind the account list in Preferences. The folder tree model now uses it to sort its own top-level rows using gtk_tree_path_compare(). It also broadcasts account operations through signals so we don't have to rely so heavily on EAccountList signals, since EAccountList is going away soon. Also as part of this work, the e-mail-local.h and e-mail-store.h APIs have been merged into EMailSession and MailFolderCache.
* Remove SQLite mail summary migration.Matthew Barnes2011-11-111-351/+1
| | | | | | It's been three years and it's standing in the way of our transition to keyfile-based accounts. Users brave enough to jump to version 3.4 from 2.22 or older will just have to re-generate their mail caches.
* e-mail-store.c: Take EMailSession instead of EMailBackend.Matthew Barnes2011-10-271-4/+8
| | | | | | | | | | | My apologies for flip-flopping the API again. e-mail-store.c functions used to take an EMailSession, then I changed it to take an EMailBackend in preparation for my account-mgmt branch. Having rethought some API decisions on the branch, however, the first flip-flop proved to be unnecessary. And now Srini needs the API to use EMailSession for his mail-factory branch, so I'm flip-flopping again.
* Adapt to CamelNetworkSettings changes.Matthew Barnes2011-10-251-40/+38
|
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-8/+4
| | | | | 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-041-10/+14
|
* Add migration routine for CamelURL param renames.Matthew Barnes2011-08-151-0/+241
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-5/+12
|
* Bug #638307 - Error when sending mail after converting to maildirMilan Crha2011-06-171-0/+76
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-091-2/+8
|
* Fix more places where old-style folder URIs are used.Matthew Barnes2011-06-011-7/+8
|
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Coding style and whitespace cleanup.Matthew Barnes2011-05-221-31/+86
|
* Coding style cleanups.Matthew Barnes2011-05-091-4/+4
|
* Bug 597082 - Crash while migrating folder infoMatthew Barnes2011-04-281-11/+25
| | | | | | | | In migrate_folders(), free the idle callback closure using a GDestroyNotify callback so we don't try to free the same memory repeatedly if the idle callback recurses while cycling the main loop. Why *are* we cycling the main loop anyway? I don't get that part.
* Adapt to CamelService changes.Matthew Barnes2011-04-211-30/+24
|
* Adapt to sealed up CamelService.Matthew Barnes2011-04-181-6/+12
|
* Bug #638307 - Error when sending mail after converting to maildirMilan Crha2011-02-171-2/+2
|
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-4/+0
| | | | GCC learned how to find dead assignments.
* Coding style and whitespace cleanup.Matthew Barnes2011-01-301-1/+0
|
* Improve Maildir migration.Matthew Barnes2011-01-081-85/+62
| | | | | The Maildir migration code was pretty busted. Trying to fix it for simple test cases and also clean up the code a bit.
* Avoid idle callbacks in EMailBackend initialization.Matthew Barnes2011-01-081-2/+9
| | | | | | | | If the migration phase has to show a dialog the idle callback for intializing mail stores will run too soon. Instead, hook it onto the EShellBackend start() method. Migration code can initialize mail stores early if it needs to.
* Check for the existence of .Outbox folder while migrating. Make sure the ↵Chenthill Palanisamy2010-12-071-14/+21
| | | | dummy account is created only once. Revert couple of fixes
* Do not always ask for migration to maildirMilan Crha2010-12-021-2/+4
| | | | | One can downgrade GConf key /apps/evolution/last_version to something below 2.92.0 and he/she will be asked again.
* Do not create local_mbox when user denied maildir migrationMilan Crha2010-12-011-3/+4
|
* Maildir migration: allow subfolders for InboxChenthill Palanisamy2010-11-231-13/+3
|
* Migrate the local store from mbox to maildir formatChenthill Palanisamy2010-11-231-0/+335
|
* Bug #632483 - [WinXP] Does not start when updated from 2.8Milan Crha2010-11-031-11/+4
|
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-1/+0
|
* Give MailSession a permanent home.Matthew Barnes2010-10-131-1/+8
| | | | | | | | | | | Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-4/+4
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-4/+17
|
* Coding style cleanups.Matthew Barnes2010-09-131-19/+19
|
* Bug #580623 - Mishandling of evolution's proxy ignore_hosts keyMilan Crha2010-09-031-0/+61
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-22/+21
|
* Camel is now GObject-based.Matthew Barnes2010-04-241-26/+10
|
* Bug 614813 - Crash during e-mail migrationJürg Billeter2010-04-071-2/+1
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-6/+0
|
* Drop support for migrating from Evolution < 2.0.Matthew Barnes2010-03-301-2330/+1
| | | | | | | There's too much ancient, crufty code there that we can't realistically support anymore. A workaround for those poor users still on 1.x is to upgrade to some 2.x release first, then upgrade again to 3.x. An error dialog explaining this will be shown at startup.
* Fix mismatched quotes.Matthew Barnes2010-03-291-15/+15
|
* Migration from other versions is not supported on WindowsFridrich Strba2010-03-061-0/+16
|
* Coding style and whitespace cleanup.Matthew Barnes2010-02-201-3/+3
|
* Fix bug #597082Jeff Cai2010-02-081-15/+30
| | | | | gtk_label_set_text should not be called in a thread function. This patch makes the UI operation is invoked in an idle function.
* Coding style and whitespace cleanup.Matthew Barnes2010-01-311-1/+1
|
* Bug 581604 - Permissions on mail/local folders are too openChenthill Palanisamy2010-01-301-10/+10
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-4/+2
|
* Replace alloca() with g_alloca().Matthew Barnes2009-12-281-2/+2
|
* Remove some obsolete GConf keys.Matthew Barnes2009-12-191-2/+0
| | | | | | | | | /apps/evolution/mail/display/show_preview /apps/evolution/mail/display/thread_list These keys are no longer needed since we're storing the settings by folder now in ~/.evolution/mail/config/state. To simplify things we use hard-coded defaults: TRUE for PreviewVisible, FALSE for GroupByThreads.
* Move mail migration code to libevolution-mail.so.Matthew Barnes2009-12-161-0/+3099
So Anjal can reuse it.