2007-04-27 Murray Cumming <murrayc@murrayc.com>
[modest] / ChangeLog2
index 9ebb61f..080b38d 100644 (file)
@@ -1,3 +1,90 @@
+2007-04-27  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-platform.h:
+       * src/gnome/modest-platform.c: (modest_platform_connect_and_wait):
+       * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
+       * src/modest-main.c: Implement this function so we can avoid using 
+       maemo-specific API from cross-platform code.
+       (main):
+       * src/modest-tny-account-store.c:
+       (get_smtp_specific_transport_account_for_open_connection):
+       * src/modest-ui-actions.c: (check_for_connection),
+       (modest_ui_actions_on_item_not_found):
+       Use modest_platform_connect_and_wait() and put #idefs around other 
+       maemo-specific code, because only maemo currently has a way to 
+       identify connection names.
+
+2007-04-27  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-tny-account-store.h:
+       * src/modest-tny-account-store.c:
+       Added modest_tny_account_store_get_transport_account_for_open_connection(), which respects 
+       the connection-specific SMTP server settings in the configuration.
+       
+       * src/dbus_api/modest-dbus-callbacks.c: (on_idle_send_mail),
+       (on_idle_mail_to):
+       * src/maemo/modest-main-window.c: (on_connection_changed),
+       (connect_signals):
+       * src/modest-main.c: (main), (start_ui), (send_mail):
+       Use tny_maemo_conic_device_connect() instead of tny_maemo_conic_force_online(), when 
+       that is what is intended.
+       
+       * src/modest-ui-actions.c: (action_send), (action_receive),
+       (modest_ui_actions_on_item_not_found), (modest_ui_actions_on_send):
+       Use modest_tny_account_store_get_transport_account_for_open_connection() instead of 
+       modest_tny_account_store_get_tny_account_by_account() so that the connection-specific 
+       SMTP server is used when it is specified.
+       
+       (modest_ui_actions_on_send_receive): 
+       Check that a connection is open before proceeding.
+       Receive and then send, instead of vice-versa, as per the specification.
+
+2007-04-26  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-mail-operation.c:
+       (modest_mail_operation_remove_folder): Intialize the parent variable, to fix the build, 
+       though I guess it should be something other than NULL.
+
+2007-04-26  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/easysetup/modest-easysetup-wizard.c:
+       (create_page_custom_incoming): Add the checkbox to the caption instead of adding the 
+       combo twice, to avoid an g_warning and to make it visible again.
+       * src/maemo/modest-main-window.c: (on_account_update): Check whether the popup_menu is 
+       attached before detaching it, to avoid a g_warning, and add comment about the implicit 
+       (already intended) dereference when detaching, because we then recreate the menu.
+       But I am not sure why the warning was happening, and it is possible that this is a memory 
+       leak.
+
+2007-04-25  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-callbacks.c: Added uri_unescape(),
+       and uri_parse_mailto() utility functions.
+       (on_idle_mail_to): Parse, unescape, and use the subject, cc, bcc, and body items in 
+       the mailto URI.
+       * tests/dbus_api/test_mail_to.c: (main): Add escaped spaces in the URI to test this.
+
+2007-04-24  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-api.h:
+       * src/dbus_api/modest-dbus-callbacks.c:
+       Use an idle callback to execute the modest code in the application's own thread.
+       Remove the helloworld example method.
+       Handle mail-to and open-message D-Bus methods, though the mail-to format needs to be 
+       parsed, and the open-message method is not implemented because this is not yet implemented in 
+       modest itself.
+       * libmodest-dbus-client/libmodest-dbus-client.c:
+       (libmodest_dbus_client_send_mail), (libmodest_dbus_client_mail_to),
+       (libmodest_dbus_client_open_message):
+       * libmodest-dbus-client/libmodest-dbus-client.h: New functions for the new methods.
+       
+       * src/modest-tny-msg.c: (modest_tny_msg_new), (add_body_part): Handle NULLs for subject and 
+       body without crashing.
+       
+       * tests/dbus_api/Makefile.am:
+       * tests/dbus_api/test_mail_to.c:
+       * tests/dbus_api/test_open_message.c: New tests for the new methods.
+
 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
 
        * libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in: