aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-migrate.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove ESEvent.Matthew Barnes2013-07-081-15/+0
| | | | | | | | Nudging EPlugin closer to full removal. Nothing in Evolution uses this anymore and 3rd-party plugins should be using EShell's "event::ready-to-start" signal or else GApplication's "startup" signal.
* Fix mbox-to-Maildir conversion... again.Matthew Barnes2013-03-251-643/+2
| | | | | | | | | | | | | | Commit ee5671fc fixed mbox-to-Maildir conversion for users upgrading from Evolution 2.32, who had already migrated to XDG Base Directories. But turns out, mbox-to-Maildir conversion was still broken for users coming from Evolution 2.30 or earlier because the logic to move files into XDG Base Directories was running *after* the conversion routine. So the conversion routine found nothing to convert, and users were left with a broken "On This Computer" mail store. This commit runs the XDG Base Directory migration first on startup, followed by the mbox-to-Maildir conversion.
* libeshell documentation cleanups.Matthew Barnes2012-12-141-2/+2
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Delay saving Evolution version until later in initialization.Matthew Barnes2012-07-031-14/+68
| | | | | | | | | | | Save the version after the startup wizard has had a chance to run. If the user chooses to restore data and settings from a backup, Evolution will restart and the restored data may need to be migrated. If we save the version before the restart, then Evolution will think it has already migrated data and settings to the current version and the restored data may not be handled properly.
* Record the actual Evolution version after migration.Matthew Barnes2012-07-031-9/+7
| | | | | | Not the next stable version. If migration needs to occur multiple times during a development cycle for different reasons, we'll need an accurate last-used-version stamp.
* Remove UPGRADE_REVISION definition.Matthew Barnes2012-07-031-5/+3
| | | | | | This is always '0'. I've never changed it to anything else so it's a useless definition.
* Remove "last-upgraded-version" GSettings key.Matthew Barnes2012-07-021-19/+0
| | | | | | | | | AFAICT, this key does nothing useful and only confuses me every time I read the EShell migration code. The "version" key records the most recently used Evolution version. That's all we need for migration. And since downgrading Evolution is not supported, we can assume this value will only increase over time.
* Remove the last remaining usage of GConfMilan Crha2012-06-151-1/+1
|
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-1/+2
|
* Adapt libeshell to the new ESource API.Matthew Barnes2012-06-031-113/+0
|
* Adapt to libedataserver[ui] changes.Matthew Barnes2012-04-221-3/+3
|
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Coding style and whitespace cleanup.Matthew Barnes2012-02-201-2/+2
|
* Fix compiler warnings.Matthew Barnes2011-11-231-1/+0
|
* Build fixesRodrigo Moya2011-10-131-2/+5
|
* Migrate most of the shell code to GSettingsRodrigo Moya2011-10-131-15/+13
|
* Bug 661542 - Weird "Cannot upgrade from version 0.xxxx" on first useVincent Untz2011-10-121-6/+4
| | | | | | | | GConf's default value for the version key is an empty string, which causes "sscanf (string, "%d.%d.%d", major, minor, micro)" to fail and leaves the major/minor/micro variables uninitialized. Instead, initialize the up front before reading the GConf key.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-3/+4
|
* Coding style and whitespace cleanups.Matthew Barnes2011-06-091-1/+2
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Whitespace and coding style cleanups.Matthew Barnes2011-05-081-5/+9
|
* Bug #644107 - Local addressbooks created without relative_uri setMilan Crha2011-03-071-4/+18
|
* Typo in comment: s/datefime-formats/datetime-formats/Paul Menzel2011-03-071-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2011-03-061-2/+4
|
* Merge duplicate local sourcesMilan Crha2011-03-031-0/+88
|
* Bug #635087 - Leftover files after migration of config/data/cache to XDG ↵Mathieu Trudel-Lapierre2010-11-231-7/+11
| | | | directories
* Migrate the local store from mbox to maildir formatChenthill Palanisamy2010-11-231-8/+2
|
* Whitespace and coding style cleanup.Matthew Barnes2010-08-141-1/+0
|
* Bug 625761 - Folder views not preserved after migrationLucian Langa2010-08-031-4/+76
|
* Remove folder-tree-expand-state.xml while migrating.Matthew Barnes2010-07-301-2/+11
|
* Avoid overwriting files while migrating.Matthew Barnes2010-07-301-2/+20
|
* More XDG base directory migration tweaks.Matthew Barnes2010-07-291-32/+18
|
* Migrate ~/.evolution/cache/tmp.Matthew Barnes2010-07-291-0/+6
|
* Remove .goutputstream-XXXXXX files during migration.Matthew Barnes2010-07-291-0/+31
| | | | | | | GIO had a bug for awhile where it would leave behind an empty temp file with the pattern .goutputstream-XXXXXX if an output stream operation was cancelled. We've had several reports of these files in config directories, so remove any we find.
* Add more debug messages to basedir migration.Matthew Barnes2010-07-281-1/+18
| | | | | If directory removal fails because the directory is not empty, list the file names in that directory.
* Migrate ~/.evolution to XDG base directories.Matthew Barnes2010-07-271-0/+492
| | | | | Migration runs just before the main loop starts. It's just a sequence of local directory and file renames.
* Bug 619811 - Bogus "Cannot update from version 0.0" dialog on startMatthew Barnes2010-05-271-0/+4
|
* Drop support for migrating from Evolution < 2.0.Matthew Barnes2010-03-301-169/+25
| | | | | | | 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.
* Coding style and whitespace cleanup.Matthew Barnes2010-01-311-4/+4
|
* Bug 581604 - Permissions on mail/local folders are too openChenthill Palanisamy2010-01-301-0/+45
|
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-1/+1
|
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-1/+1
| | | | | | The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-5/+5
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* port shell/ over to the new EError APIJonathon Jongsma2009-12-011-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Test drive EIOActivity with a simple asynchronous function.Matthew Barnes2009-11-081-1/+1
| | | | | | | | | | | | | | Rename e-fsutils to e-file-utils. This is where we'll add asynchronous functions for common file I/O operations with EActivity integration. Start with e_file_replace_contents_async() (and corresponding finish() function). This is a simple wrapper for g_file_replace_contents_async() which also returns an EActivity. It replaces e_write_file_uri(). Also redesign EIOActivity to -contain- a GAsyncResult rather than implement the interface for itself. This is easier for now but I may change my mind again when I figure out how to tie centralized error reporting into the EActivity framework.
* Bug #594471 - Shouldn't call e_error_new/run with NULL 'parent'Milan Crha2009-10-131-4/+4
|
* Bug #593761 - Wrong dir for calendar local sourcesMilan Crha2009-09-021-2/+2
| | | | | | | | | | | | | | - using _get_data_dir, not _get_config_dir in calendar's and similar ensure_sources functions - current executable version is stored in gconf, thus not every start is migrating done - applied changes which were using e_source_list_ensure_group calls - e_source_list_sync is called at the end of those ensure_sources, as it didn't work to me to see the Personal source after start when I had no "On this computer" group (the group was added, but the source wasn't)
* Fix up EShell API documentation.Matthew Barnes2009-07-011-1/+0
|
* Get the "startup-wizard" plugin working again.Matthew Barnes2009-06-301-1/+18
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
* Convert EShellModule to EShellBackendMatthew Barnes2009-05-071-7/+7
| | | | | | | | Split the GTypeModule loader out of EShellModule as EModule, and rename EShellModule to EShellBackend. Backends (formerly modules) should now subclass EShellBackend. This commit converts EShell but breaks all the shell backends.
* Clean up the EMFormat stack. Add some GObject properties to bind to.Matthew Barnes2009-02-191-9/+5
| | | | | | Add some handy color conversion functions to e-util. svn path=/branches/kill-bonobo/; revision=37290
* Tweak the EShell API.Matthew Barnes2009-01-081-1/+1
| | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* Support migration in the new shell design.Matthew Barnes2008-10-051-0/+339
Some code got duplicated for calendars and tasks. Made a note to revisit. svn path=/branches/kill-bonobo/; revision=36560