* Added a callback to the update_account operation that notifies about the new messa...
[modest] / ChangeLog2
index 4ceec2a..7370d64 100644 (file)
@@ -1,4 +1,122 @@
-2007-06-19  Murray Cumming,,,  <murrayc@murrayc-desktop>
+2007-06-21  Murray Cumming  <murrayc@murrayc.com>
+
+       * libmodest-dbus-client/libmodest-dbus-client.h:
+       * libmodest-dbus-client/libmodest-dbus-client.c:
+       (modest_dbus_message_iter_get_search_hit),
+       (libmodest_dbus_client_search):
+       Reorganised and commented this.
+       Removed modest_search_hit_free() from the public API because it 
+       is not needed.
+       
+       Added libmodest_dbus_client_get_folders() and 
+       modest_folder_result_list_free().
+       
+       * src/dbus_api/modest-dbus-api.h:
+       * src/dbus_api/modest-dbus-callbacks.c: 
+       (modest_dbus_req_filter): Commented. Moved most code to 
+       on_dbus_method_search() and added on_dbus_method_get_folders().
+
+       * src/maemo/modest-platform.c: (modest_platform_init): Commented the use 
+       of the extra D-Bus handler.
+       
+       * tests/dbus_api/Makefile.am:
+       * tests/dbus_api/test_get_folders.c: New test for 
+       libmodest_dbus_client_get_folders(). This seems to return an empty list 
+       at the moment. That could be the same error that causes the message list 
+       to be empty sometimes.
+       This should help with projects.maemo.org bug NB#57740.
+
+2007-06-21  Armin Burgmeier  <armin@openismus.com>
+
+       * src/modest-mail-operation.c: Do not call
+       modest_mail_operation_queue_cancel_all() in _cancel() but do instead
+       notify the operation's end after having set the status to CANCELED for
+       the operation queue to listen on. This fixes a deadlock when there
+       were mail operations in the queue during its finalization.
+
+       * src/modest-singletons.c: Reordered uninitialization of the account
+       manager to happen after the mail operation queue was uninitialized
+       because the mail operation's in the queue might still try to access
+       the account manager (see modest_mail_operation_notify_end()). This
+       fixes a potential crash when terminating the application.
+
+2007-06-21  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-search.c: 
+       (search_mime_part_and_child_parts): Moved some code here so we 
+       can search recursively in child folders.
+       (modest_search_folder): Search in the message as a mime part, instead 
+       of just its child mime parts.
+       (read_chunk), (search_mime_part_ogs):
+       Check how many bytes were read, to prevent an endless loop.
+       Searching in message bodies now works. This finishes the fix for 
+       projects.maemo.org bug NB#61007.
+
+2007-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-actions.c: (modest_ui_actions_on_details):
+       Add a g_warning when the item is not a folder.
+       
+       * src/modest-ui-dimming-rules.c:
+       (modest_ui_dimming_rules_on_details): Dim the Email/Details menu item
+       when selected item is not a folder (for instance, an account), because 
+       the UI spec only talks about folders.
+       I am not sure what the UI spec wants, so this might not totally fix 
+       projects.maemo.org bug NB#60794.
+       
+2007-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
+       (load_from_file): Sort the list. The unsorted list would be more noticeable 
+       in non-English locales.
+       
+       * src/maemo/modest-msg-edit-window.c:
+       (modest_msg_edit_window_attach_file): Initialize a variable to avoid a
+       warning and fix the build.
+       
+       * src/maemo/modest-progress-bar-widget.c:
+       (modest_progress_bar_widget_set_progress): Avoid a division by zero, to 
+       avoid a g_warning, and probably to avoid a crash.
+
+2007-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-search.c: (modest_search_folder): Check for a GError 
+       when calling tny_folder_get_headers(), to show that this is not the cause 
+       of later failure.
+
+2007-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/dbus_api/modest-dbus-callbacks.c: (modest_dbus_req_filter):
+       Actually set the body query instead of the subject query.
+       
+       * src/modest-search.c: (search_mime_part_ogs),
+       (search_mime_part_strcmp): Remove extra space from the text/* regex,
+       which would probably cause it to fail if we got this far.
+               
+       (modest_search_folder): Use simple #ifdefs instead of the function pointer, 
+       to simplify the code.
+       Warn when tny_mime_part_get_parts() returns an empty list, which seems to 
+       be causing search-in-body to fail.
+
+2007-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * libmodest-dbus-client/libmodest-dbus-client.h: Document the folder 
+       struct item.
+       * src/dbus_api/modest-dbus-callbacks.c: (find_message_by_url):
+       Better debug message when the folder cannot be found.
+       This should help with fixing projects.maemo.org bug #61287.
+       * src/modest-search.c: (add_hit): Do not leak the furl string.
+
+2007-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * src/modest-ui-actions.c:
+       (modest_ui_actions_on_folder_selection_changed): 
+       Do not special-case TNY_MERGE_FOLDER here, because 
+       modest_tny_folder_get_account() already does that. This fixes 
+       projects.maemo.org bug NB#60955 (The smtp connections dialog was not 
+       shown when the Outbox was selected).
+
+2007-06-19  Murray Cumming,,,  <murrayc@murrayc.com>
 
        * libmodest-dbus-client/libmodest-dbus-client.c:
        (_dbus_iter_get_string_or_null): Initialize the string variable in 
        New Account menu item. It shows the easysetup wizard.
        * po/en_GB.po: Added additional needed logical IDs and translations.
        
-Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
-Apparently ChangeLog is not used for some vague Nokia legal reasons.