aboutsummaryrefslogtreecommitdiffstats
path: root/mail/upgrade-mailer.c
Commit message (Collapse)AuthorAgeFilesLines
* revert an earlier change that used the full account name as the folder name ↵Jeffrey Stedfast2002-09-101-9/+11
| | | | | | | | (oops) : ---------------------------------------------------------------------- svn path=/trunk/; revision=18023
* Don't look for an end quote, instead look for </item> to terminate theJeffrey Stedfast2002-09-101-1/+2
| | | | | | | | | | | 2002-09-09 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (shortcuts_upgrade_xml_file): Don't look for an end quote, instead look for </item> to terminate the uri. (shortcuts_upgrade_uri): Hex decode the imap folder name after we've constructed the final version of it. svn path=/trunk/; revision=18022
* Don't look for an end quote, instead look for </item> to terminate theJeffrey Stedfast2002-09-101-11/+7
| | | | | | | | | 2002-09-09 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (shortcuts_upgrade_xml_file): Don't look for an end quote, instead look for </item> to terminate the uri. svn path=/trunk/; revision=18021
* Hex decode imap folder names too. (shortcuts_upgrade_xml_file): Don't lookJeffrey Stedfast2002-09-101-18/+22
| | | | | | | | | | | 2002-09-09 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (shortcuts_upgrade_uri): Hex decode imap folder names too. (shortcuts_upgrade_xml_file): Don't look for an end quote, instead look for </item> to terminate the uri. svn path=/trunk/; revision=18020
* Don't modify the URL if the path doesn't start with "exchange". (MeansDan Winship2002-09-091-15/+20
| | | | | | | | | | | | | | | * upgrade-mailer.c (exchange_url_upgrade): Don't modify the URL if the path doesn't start with "exchange". (Means it's already a 1.2 URL.) (shortcuts_upgrade_uri): Need to hex-decode exchange URLs here too. (shortcuts_upgrade_xml_file): Fix an off-by-one error here (twice) so it actually works instead of always claiming shortcuts.xml doesn't need to be upgraded. (mailer_upgrade): Check the size of the accounts hash rather than imap_sources since we have work to do if the user has an exchange account but no imap accounts. svn path=/trunk/; revision=18018
* Sync the database after upgrading mailer stuff. (imap_url_upgrade): SinceJeffrey Stedfast2002-09-071-0/+2
| | | | | | | | | | | | | | | | 2002-09-06 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (upgrade): Sync the database after upgrading mailer stuff. (imap_url_upgrade): Since we need 'p' if we fail to find the folder, don't g_free it until later. (hex_encode): Don't forget to increment inptr after hex encoding a character. (exchange_url_upgrade): Apprently exchange uri's are rebelious and do not want to be hex encoded like every other url, so hex decode the folder names here before concatenating them onto the base url. svn path=/trunk/; revision=18009
* Sync the database after upgrading mailer stuff. (imap_url_upgrade): SinceJeffrey Stedfast2002-09-071-5/+16
| | | | | | | | | | | | | 2002-09-06 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (upgrade): Sync the database after upgrading mailer stuff. (imap_url_upgrade): Since we need 'p' if we fail to find the folder, don't g_free it until later. (hex_encode): Don't forget to increment inptr after hex encoding a character. svn path=/trunk/; revision=18003
* Hex decode the folder names when searching for them in the memory buffer,Jeffrey Stedfast2002-09-061-85/+188
| | | | | | | | | | | | 2002-09-05 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c (imap_url_upgrade): Hex decode the folder names when searching for them in the memory buffer, and re-hex encode them when combining them with the rst of the URL. (mailer_upgrade): Instead of reading in the storeinfo file as raw binary data, use the camel-file-utils to correctly parse it. svn path=/trunk/; revision=17994
* Return FALSE here. (get_base_url): Add a cast.Ettore Perazzoli2002-09-051-1/+3
| | | | | | | | | | | | * upgrade-mailer.c (upgrade): Return FALSE here. (get_base_url): Add a cast. * component-factory.c (storage_xfer_folder): Removed unused variables. * Makefile.am: Rename upgrade-mailer to evolution-mail-upgrade. svn path=/trunk/; revision=17981
* some fixesJeffrey Stedfast2002-09-051-13/+24
| | | | svn path=/trunk/; revision=17979
* Add upgrade-mailer.c to the build.Jeffrey Stedfast2002-09-051-0/+863
2002-09-04 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Add upgrade-mailer.c to the build. * upgrade-mailer.c: New program to upgrade configuration files from 1.0 to 1.2. svn path=/trunk/; revision=17975