2007-07-12 Murray Cumming <murrayc@murrayc.com>
[modest] / ChangeLog2
index f86ce31..11cbbce 100644 (file)
@@ -1,3 +1,121 @@
+2007-07-12  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account-store.c: (get_password):
+       Show the password dialog (via the signal) only in the mainloop, via 
+       an idle handler that we wait for. This could theoretically prevent 
+       hangs, though I worry that it could introduce some too.
+
+2007-07-12  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/gnome/modest-platform.c: (modest_platform_connect_and_wait):
+       * src/maemo/modest-platform.c: 
+       (modest_platform_connect_and_wait):
+       Take a TnyAccount* parameter and try to set it to online 
+       (a TnyCamel-only API), because tinymail sets accounts to offline 
+       when the user cancels a password dialog, and doesn't ask again until 
+       it has been set to online.
+       However, this is commented out because it causes a hang now.
+
+       (modest_platform_connect_and_wait_if_network_account):
+       * src/modest-mail-operation.c:
+       (modest_mail_operation_update_account):
+       * src/modest-platform.h:
+       * src/modest-ui-actions.c: (_modest_ui_actions_open),
+       (download_uncached_messages), (modest_ui_actions_on_send): Adapted.
+
+2007-07-12  Armin Burgmeier  <armin@openismus.com>
+
+       * src/modest-error.h: Added MODEST_MAIL_OPERATION_FOLDER_EXISTS error.
+
+       * src/modest-mail-operation.c:
+       * src/modest-ui-actions.c: Check for already existing folder before
+       querying the server, show error message from camel if the request
+       still fails. This fixes projects.maemo.org bug NB#58701.
+
+2007-07-12  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account-store.h:
+       * src/modest-tny-account-store.c: 
+       Added modest_tny_account_store_forget_password_in_memory(),
+       (get_server_accounts): Called modest_tny_account_store_forget_password_in_memory() 
+       when creating a new account, so that new passwords will be used, instead of 
+       us thinking that it's a second request as a result of a failed password again.
+
+2007-07-12  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-callbacks.c:
+       (on_idle_open_message): If the message is in drafts then open it 
+       in an edit window instead of a view window. This fixes 
+       projects.maemo.org bug NB#63005.
+
+2007-07-12  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-callbacks.c: (on_idle_open_message):
+       Avoided a harmless g_warning().
+
+2007-07-12  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-callbacks.c: (on_idle_open_message),
+       Pass the modest account name, not the TnyAccount display name to 
+       modest_msg_view_window_new() so that the reply feature works,
+       fixing projects.maemo.org bug NB#62892.
+
+       * src/gnome/modest-msg-view-window.c: (modest_msg_view_window_new),
+       (modest_msg_view_window_new_with_header_model):
+       * src/maemo/modest-msg-view-window.c:
+       (modest_msg_view_window_new_with_header_model),
+       (modest_msg_view_window_new):
+       * src/modest-ui-actions.c: (reply_forward):
+       * src/widgets/modest-msg-view-window.h:
+       * src/widgets/modest-window.c: (modest_window_set_active_account):
+       Rename an account parameter to modest_account_name to make this clearer.
+
+2007-07-11  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-actions.h:
+       * src/modest-ui-actions.c: (headers_action_delete): Moved some code into 
+       modest_do_message_delete().
+       * src/dbus_api/modest-dbus-callbacks.c: (on_idle_delete_message):
+       Call modest_do_message_delete(), hoping that this would cause messages 
+       to be really deleted from search instead of just marked with strike through.
+       Does not seem to help.
+
+2007-07-11  Armin Burgmeier  <armin@openismus.com>
+
+       * src/widgets/maemo-folder-view.c (modest_folder_view_on_map): Set
+       priv->reselect to FALSE prior to calling
+       modest_folder_view_select_first_inbox_or_local() to prevent endless
+       recursion and thus a crash on startup.
+
+2007-07-11  Armin Burgmeier  <armin@openismus.com>
+
+       * src/maemo/modest-account-settings-dialog.h: Include
+       <gtk/gtknotebook.h> to fix the build (at least for me).
+
+       * src/maemo/modest-platform.c (modest_platform_run_new_folder_dialog):
+       Use "New FolderN" as default suggested name if "New folder" already
+       exists, with N being the first free number, though never exceed "New
+       folder99" in which case we just fall back to "New Folder" even though
+       it already exists. This fixes projects.maemo.org bug NB#58663.
+
+2007-07-11  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-account-view-window.c: (on_new_button_clicked):
+       Do not use gtk_dialog_run() to avoid modality hang problems. This fixes 
+       projects.maemo.org bug NB#62778.
+
+2007-07-11  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
+       Ignore the wrong (for now) secure-smtp setting in the presets - 
+       just default to requiring secure authentication for SMTP, because 
+       that is most common.
+
+2007-07-11  Johannes Schmid <johannes.schmid@openismus.com>
+
+       * src/widgets/modest-folder-view.c: (filter_row)
+       Do not show drafts folder (see UI specs)
+
 2007-07-11  Johannes Schmid <johannes.schmid@openismus.com>
 
        * src/modest-ui-actions.c:
        Guess folder type and hide Sent & Outbox if necessary.
        Fixed project.maemo.org NB#57328
 
-2007-07-11  Murray Cumming  <murrayc@murrayc-desktop>
+2007-07-11  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-actions.h:
+       * src/modest-ui-actions.c:
+       (modest_ui_actions_on_delete_message):
+       Move some code into a new 
+       modest_ui_actions_refresh_message_window_after_delete() 
+       function so we can use it from elsewhere.
+
+       * src/dbus_api/modest-dbus-callbacks.c:
+       (on_idle_delete_message), (on_delete_message): Used an idle 
+       handler, as we do for the other D-Bus method handlers.
+       Call modest_ui_actions_refresh_message_window_after_delete() 
+       if the deleted message was open in a window. This fixed 
+       projects.maemo.org bug NB#62862.
+
+2007-07-11  Murray Cumming  <murrayc@murrayc.com>
 
        * src/modest-main.c: (main): Only show the UI at the start if 
        the showui command line option was given. For instance,