Removed debug printf.
[modest] / ChangeLog2
index 54946f1..352b088 100644 (file)
@@ -1,3 +1,257 @@
+2007-06-01  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/easysetup/modest-easysetup-wizard.c:
+       (create_caption_new_with_asterisk): 
+       * src/maemo/modest-account-settings-dialog.c:
+       (create_caption_new_with_asterisk):
+       Uncomment the code to add the asterisk, because they are no longer in the 
+       translated text in the .po file. Fixes projects.maemo.org bug NB#59202 .
+       (update_incoming_server_title): Add an asterisk here too.
+
+2007-06-01  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-maemo-global-settings-dialog.c:
+       (current_connection): Check that we are even connected before trying to 
+       get the current connection name, to prevent a warning.
+       
+       * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
+       Change the comments because tny_maemo_conic_device_connect() is now meant to 
+       block.
+       * src/modest-mail-operation.c:
+       (modest_mail_operation_update_account): Call modest_platform_connect_and_wait() to 
+       make sure we have a connection and fail if we can't connect.
+
+2007-05-31  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-main-window.c:
+       (on_account_store_connecting_finished): Do not try to get the 
+       connection ID if we are not really connected. I am surprised that 
+       this signal handler is called when we are not connected.
+
+2007-05-31  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-error.h: 
+       * src/modest-ui-actions.c:
+       (modest_ui_actions_get_msgs_full_error_handler):
+       Renamed an enum, added comments, added an enum 
+       for retrieve-limit errors.
+       
+       * src/modest-mail-operation.c: (foreach_add_item),
+       (internal_folder_observer_update), (update_account_thread),
+       (modest_mail_operation_get_msgs_full):
+       (modest_mail_operation_update_account),
+       Added comments about how this works, and some code that should 
+       (but does not) check the retrieve-limit. See the TODO comment.
+
+2007-05-31  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-actions.c: (modest_ui_actions_on_help):
+       Initialize help_id to fix the build. Warnings are good.
+
+2007-05-31  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/widgets/modest-hbox-cell-renderer.c:
+       (modest_hbox_cell_renderer_append):
+       * src/widgets/modest-vbox-cell-renderer.c:
+       (modest_vbox_cell_renderer_append):
+       Fix the last commit by doing an extra ref.
+
+2007-05-31  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/widgets/modest-hbox-cell-renderer.c:
+       (modest_hbox_cell_renderer_append):
+       * src/widgets/modest-vbox-cell-renderer.c:
+       (modest_vbox_cell_renderer_append):
+       For glib < 2.10, use gtk_object_sink() instead of g_object_ref_sink(), 
+       to fix the build with Maemo Bora.
+       However, there seems to be a remaining crash, probably due to reference 
+       counting errors.
+
+2007-05-30  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account.c:
+       (modest_tny_account_new_for_local_folders):
+       Use hildon_file_system_info_async_new() to get a better name for 
+       the memory card account, setting it as the account name.
+       The timing seems to work, but this is probably 
+       not the best place to do this. See the TODO comment.
+       * src/maemo/modest-main-window.c: (create_details_widget):
+       * src/widgets/modest-folder-view.c: (text_cell_data):
+       Use the tny account name instead of hardcoding a name.
+
+2007-05-30  Christian Kellner  <ckellner@openismus.com>
+
+       * src/modest-search.c: (modest_search):
+       Correctly set part_search_func even if we have already parsed
+       the query and thus a valid OgsTextSearcher object.
+
+2007-05-30  Christian Kellner  <ckellner@openismus.com>
+
+       * configure.ac:
+       Search and check for libogs.
+
+       * src/Makefile.am:
+       Incooparte the ogs build env.
+
+       * src/modest-mime-part-search-stream.c:
+       * src/modest-mime-part-search-stream.h:
+       Removed since we do the real searching now in modest-search.c.
+
+       * src/modest-search.c:
+       * src/modest-search.h:
+       Implement support for ogs. We use that if available and requested
+       and fall back to modest_text_utils_utf8_strcmp (). The search logic
+       should now handle the corner case when the search term is spread
+       across multiple reads.
+       Also the logic in modest_search () was corrected to search all
+       requested fields until one is found.
+
+2007-05-30  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-defs.h: Define MODEST_MCC1_VOLUMEPATH and MODEST_MCC1_VOLUMEPATH_URI.
+       
+       * src/modest-init.h:
+       * src/modest-init.c: Made modest_init_local_folders() take a
+       path and be public so we can iniitialize maildir folders on 
+       arbitrary volumes.
+
+       * src/modest-local-folder-info.h:
+       * src/modest-local-folder-info.c:
+       (modest_local_folder_info_get_maildir_path): Add a path parameter.
+
+       * src/modest-tny-account.c:
+       (modest_tny_account_new_for_local_folders): Take a path parameter, though NULL 
+       still means the standard local-folders path on the local volume.
+       
+       * src/modest-tny-account-store.c:
+       (modest_tny_account_store_instance_init): Connect to GnomeVfsVolumeMonitor 
+       signal so we can detect mount/unmount of the MMC1 card, and do an update of 
+       all accounts when that happens.
+       (get_server_accounts): If the MMC1 card is mounted, create a store account for 
+       this too, so it shows up in the treeview.
+
+2007-05-28  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-maemo-global-settings-dialog.c:
+       (current_connection):
+       * src/widgets/modest-global-settings-dialog.c:
+       (current_connection_default):
+       Use the enum values instead of 0, 1 and -1,
+       to make the code clearer.
+       
+       * src/modest-account-mgr-helpers.c:
+       (modest_account_mgr_get_connection_specific_smtp): Make this code 
+       more robust.
+       
+       * src/modest-runtime.h:
+       * src/modest-runtime.c:
+       Added modest_runtime_remove_all_send_queues().
+       * src/maemo/modest-main-window.c:
+       (on_account_store_connecting_finished): Recreate the send queues, 
+       using the appropriate transport accounts for this new connection.
+       Some futher adapting might be needed if the old send queues are not 
+       automatically stopped at this point.
+
+       * src/modest-tny-account-store.c: (get_server_accounts):
+       Create the connection-specific transport accounts, so that they can 
+       be found later by their ID.
+       
+       * src/modest-tny-account.h:
+       * src/modest-tny-account.c:
+       Added modest_tny_account_new_from_server_account_name().
+       modest_tny_account_new_from_server_account(): Do not create the 
+       send queues here, because they will be 
+       recreated anyway when the connection changes for the first time.
+
+2007-05-28  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-local-folder-info.h:
+       * src/modest-local-folder-info.c:
+       (modest_per_account_local_outbox_folder_info_get_maildir_path),
+       (modest_per_account_local_outbox_folder_info_get_maildir_path_to_ou
+       tbox_folder): Take a modest account name instead of a server TnyAccount,
+       so we can have per-modest-account rather than per-transport-account 
+       outboxes.
+       We must make sure that we change or recreate the exisitng send queues 
+       when the connection changes for connection-specific transport accounts.
+       
+       * src/modest-tny-account-store.c:
+       (create_per_account_local_outbox_folders): Create outboxed per modest 
+       account, not per transport account.
+       
+       * src/modest-tny-account.h:
+       * src/modest-tny-account.c:
+       (modest_tny_account_get_special_folder): For outboxes, get the 
+       parent modest account name. The account is ignored for other folders.
+       (modest_tny_account_new_for_per_account_local_outbox_folder): Take a 
+       modest account name rather than a server TnyAccount.
+
+2007-05-25  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account.c:
+       (modest_tny_account_new_from_server_account): 
+       Call modest_runtime_get_send_queue() immediately after creating transport 
+       accounts, so that they start trying to send email from the outbox as soon 
+       as possible at startup. This is probably what we want.
+       
+       * src/modest-mail-operation.c: (update_account_thread):
+       * src/modest-runtime.c: (modest_runtime_get_send_queue):
+       * src/modest-tny-send-queue.c: (modest_tny_send_queue_try_to_send):
+       * src/modest-tny-send-queue.h:
+       * src/modest-ui-actions.c: (modest_ui_actions_do_send_receive),
+       (modest_ui_actions_on_send):
+       Added comments about how sending works, though it needs some more work.
+
+2007-05-25  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account.c:
+       (modest_tny_account_get_special_folder): Add TODO because this fails when 
+       the network is busy.
+       (modest_tny_folder_store_get_local_size):  Fix an incorrect type check.
+       * src/modest-ui-actions.c: (modest_ui_actions_on_smtp_servers): 
+       Do not try to show this window when there is no active account. The UI 
+       specs does not tell us what to do in this case.
+
+2007-05-24  Murray Cumming  <murrayc@murrayc.com>
+
+       * Makefile.am:
+       * po/POTFILES.in:
+       * src/maemo/Makefile.am:
+       * src/widgets/Makefile.am: Some dist fixes.
+
+2007-05-24  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-connection-specific-smtp-window.c:
+       (on_button_edit): Make the code clearer, to prevent a double free.
+
+2007-05-24   Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/modest-account-settings-dialog.c:
+       (modest_account_settings_dialog_set_account_name),
+       Check the connection-specific smtp servers checkbox if there are any.
+       
+       * src/maemo/modest-connection-specific-smtp-edit-window.c:
+       (modest_connection_specific_smtp_edit_window_init): 
+       Start with a suitable port number.
+       
+       * src/modest-account-mgr-helpers.h:
+       * src/modest-account-mgr-helpers.c: Added 
+       modest_account_mgr_get_has_connection_specific_smtp().
+       
+       (modest_account_mgr_set_connection_specific_smtp),
+       (modest_account_mgr_remove_connection_specific_smtp),
+       (modest_account_mgr_get_has_connection_specific_smtp),
+       (modest_account_mgr_get_connection_specific_smtp): Set/Get the list of 
+       connection-specific smtp server accounts in the account, rather than 
+       the server account conf dir.
+       
+       This fixes bug projects.maemo.org bug NB#58263 .
+
+       * src/modest-tny-account-store.c:
+       (create_per_account_local_outbox_folders): Do not call get_server_accounts() 
+       if there are no server accounts yet, to prevent an infinite loop when there 
+       are no accounts. Document that one must be called before the other.
+
 2007-05-24  Murray Cumming  <murrayc@murrayc.com>
 
        * src/modest-account-mgr-helpers.c: