2007-05-15 Murray Cumming <murrayc@murrayc.com>
[modest] / ChangeLog2
index a10f40a..f6b93dd 100644 (file)
@@ -1,3 +1,112 @@
+2007-05-15  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-protocol-info.c:
+       * src/modest-protocol-info.h: Adde enum-specific get functions, 
+       instead of using a ModestProtocolType enum parameter.
+       
+       * src/gnome/modest-account-assistant.c:
+       * src/gnome/modest-store-widget.c:
+       * src/gnome/modest-store-widget.h:
+       * src/gnome/modest-transport-widget.c:
+       * src/gnome/modest-transport-widget.h:
+       * src/maemo/easysetup/modest-easysetup-servertype-combo-box.c:
+       * src/maemo/easysetup/modest-easysetup-servertype-combo-box.h:
+       * src/maemo/easysetup/modest-easysetup-wizard.c:
+       * src/maemo/modest-account-settings-dialog.c:
+       * src/maemo/modest-account-settings-dialog.h:
+       * src/maemo/modest-store-widget.c:
+       * src/maemo/modest-store-widget.h:
+       * src/maemo/modest-transport-widget.c:
+       * src/maemo/modest-transport-widget.h:
+       * src/modest-account-mgr-helpers.c:
+       * src/modest-account-mgr-helpers.h:
+       * src/modest-account-mgr.c:
+       * src/modest-account-mgr.h:
+       * src/modest-tny-account.c:
+       * src/modest-tny-folder.c: 
+       * src/widgets/modest-account-view.c:
+       * src/widgets/modest-retrieve-combo-box.c:
+       * src/widgets/modest-retrieve-combo-box.h:
+       * src/widgets/modest-secureauth-combo-box.c:
+       * src/widgets/modest-serversecurity-combo-box.c:
+       * src/widgets/modest-serversecurity-combo-box.h:
+       * tests/check_account-mgr.c: 
+       Use the specific functions, and use the re-renamed enum values for GNOME too.
+
+2007-05-15  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-pair.h: 
+       * src/modest-pair.c: Added modest_pair_list_find_by_first_as_string(),
+       so we can get the second based on the first.
+
+       * src/maemo/modest-account-settings-dialog.h: 
+       * src/maemo/modest-account-settings-dialog.c:
+       Added get_supported_secure_authentication_methods(), though it is mostly 
+       commented-out for now until the necessary API is committed to tinymail.
+       (modest_account_settings_dialog_set_account_name),
+       (save_configuration): Request the supported authentication methods from the 
+       server, so we can choose a working method.
+       
+       * src/modest-tny-account-store.h:
+       * src/modest-tny-account-store.c:
+       (modest_tny_account_store_get_session): Rename from 
+       tny_account_store_get_session().
+
+2007-05-14  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-protocol-info.h: Split the ModestProtocol enum 
+       into ModestProtocol, ModestSecureConnection, and ModestSecureAuthentication.
+       There was no need to have these unrelated values in one enum.
+       
+       * src/: many files: Adapted to changed enum. This makes the code a bit
+       clearer, and the compiler could catch some errors.
+
+2007-05-14  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
+       Show the detailed internal camel error message when an error happens 
+       during the configuration, so that our testers can give us more clues.
+       For instance, in projects.maemo.org bug NB#56910 .
+
+2007-05-14  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account.c:
+       (modest_tny_account_new_from_server_account): Adapt to changed tinymail API: 
+       change tny_account_set_mech() to tny_account_set_secure_auth_mech().
+
+2007-05-14  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
+       * src/maemo/modest-account-settings-dialog.c:
+       (modest_account_settings_dialog_set_account_name),
+       (save_configuration): For the incoming secure authentication checkbox, 
+       use PASSWORD for unchecked, and CRAM-MD5 for checked, after I reread 
+       the UI specification. PLAIN does not seem to be supported for most IMAP 
+       servers anyway, and I am not sure what it would mean.
+       However, we probably need to discover which of the secure-authentication 
+       mechanisms are supported by the server, instead of hard-coding CRAM-MD5.
+       * src/modest-account-mgr-helpers.c:
+       (modest_account_mgr_get_server_account_data):
+
+       * src/modest-tny-account.c:
+       (modest_tny_account_new_from_server_account):
+       Use tny_account_set_mech() to set secure-authentication methods, 
+       with some special-casing for IMAP, based on my observations of how 
+       evolution behaves.
+       
+       * src/modest-account-mgr-helpers.h:
+       * src/modest-account-mgr.c:
+       * src/modest-defs.h: Comment that the URI is only used for local folders.
+
+2007-05-11  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-main-window.c: (on_account_update): Make the gchar* 
+       parameter const, just to be neat.
+       * src/modest-text-utils.c: (modest_text_utils_inline):
+       End g_strconcat() with NULL, as its documentation says. This is almost 
+       certainly the cause of my crash at startup on the device. Interestingly, 
+       valgrind doesn't tell us about these errors.
+
 2007-05-11  Murray Cumming  <murrayc@murrayc.com>
 
        * scripts/build-packages: Added more precise comments about how to use