* Changes in the autotools stuff affecting a lot of platform dependent code. Now we have a platform (maemo/gnome) and a toolkit (gtk, hildon1 and hildon2). * hildon2 is still pointing to maemo directory. But this change will enable us to begin the hildon2 port work in a different folder. * The change is also important for MID compatibility, as it's platform would be gnome, and the toolkit a hildon flavor. * Removed the HAVE_HILDON0_WIDGETS and similars. Now we have a MODEST_HILDON_API variable with the major number of the hildon library. pmo-trunk-r5822
2007-07-23 Murray Cumming <murrayc@murrayc.com> * src/dbus_api/modest-dbus-callbacks.c: (modest_dbus_req_handler), (add_folders_to_list), (on_dbus_method_get_folders), (modest_dbus_req_filter): * src/maemo/modest-maemo-utils.c: (on_camel_account_get_supported_secure_authentication): * src/maemo/modest-main-window.c: (modest_main_window_set_style), (on_header_view_focus_in): * src/modest-email-clipboard.c: (modest_email_clipboard_set_data): * src/modest-formatter.c: (modest_formatter_create_body_part): * src/modest-mail-operation.c: (recurse_folders), (update_account_thread), (get_msgs_full_thread), (modest_mail_operation_get_msgs_full), (modest_mail_operation_xfer_msgs): * src/modest-search.c: (search_mime_part_and_child_parts), (modest_search_account), (modest_search_all_accounts): * src/modest-tny-account.c: (modest_tny_account_get_special_folder), (recurse_folders): * src/modest-tny-local-folders-account.c: (modest_tny_local_folders_account_query_passes): * src/modest-tny-msg.c: (copy_mime_part), (modest_tny_msg_find_body_part_from_mime_part): * src/modest-tny-send-queue.c: (modest_tny_send_queue_cancel), (modest_tny_send_queue_try_to_send): * src/modest-ui-actions.c: (modest_ui_actions_on_delete_message), (_modest_ui_actions_open), (download_uncached_messages), (reply_forward), (modest_ui_actions_on_copy), (modest_ui_actions_on_details), (has_retrieved_msgs), (msgs_move_to_confirmation), (open_msg_for_purge_cb), (do_headers_action): * src/modest-ui-dimming-rules.c: (_already_opened_msg), (_selected_msg_marked_as), (_msg_download_completed), (_selected_msg_sent_in_progress): * src/widgets/modest-attachments-view.c: (modest_attachments_view_set_message): * src/widgets/modest-msg-view.c: (find_cid_image): * tests/check_folder-transfer.c: (find_folders): * tests/check_update-account.c: (func): * tests/dbus_api/test_get_folders.c: (main): Checked all uses of tny_iterator_get_current(), making sure that the object is unreferenced (3 or 4 places did not), and adding checks for NULL. pmo-trunk-r2776
2007-07-11 Murray Cumming <murrayc@murrayc.com> * src/dbus_api/modest-dbus-api.h: Added a define for a top-application D-Bus method. * src/dbus_api/modest-dbus-callbacks.c: (on_top_application), (modest_dbus_req_handler): Handle the top-application D-Bus method, which might be an undocumented D-Bus signal sent by hildon-desktop when it starts the application from the menu. But I am not sure and I need to test it on the device, because my scratchbox does not have the application in the menu now. This method shows the main window, so that it can be invisible when started, for instance, just for email searching from osso-global-search. * src/maemo/modest-main-window.c: (restore_settings), (modest_main_window_new): Do not show the window immediately upon creation. We show it later. * src/modest-widget-memory.c: (save_settings_paned): Try (unsuccessfully) to avoid saving the paned position when it is not even visible. (restore_settings_paned): Do not allow a silly paned position. This seems necessary when not showing the window at first. * tests/dbus_api/Makefile.am: * tests/dbus_api/test_top_application.c: (main): Test for the new D-Bus method. pmo-trunk-r2694
2007-06-26 Murray Cumming <murrayc@murrayc.com> * src/dbus_api/modest-dbus-callbacks.c: (on_idle_mail_to), (on_idle_compose_mail), (on_compose_mail), (on_idle_open_message), (on_idle_send_receive), (on_idle_open_default_inbox): * src/maemo/modest-msg-edit-window.c: (modest_msg_edit_window_attach_file_noninteractive): Use gdk_threads_enter() and gdk_threads_leave() in all the idle handlers, to prevent a hang. I don't quite understand why these are necessary, beause we should already be in the main loop. I guess something outside of the main loop is taking the lock. * tests/dbus_api/test_compose_mail.c: (main): Use file:// prefixes so we are really using URIs, and use files that are more likely to exist. pmo-trunk-r2427
2007-06-26 Murray Cumming <murrayc@murrayc.com> * libmodest-dbus-client/libmodest-dbus-client.c: * libmodest-dbus-client/libmodest-dbus-client.h: Removed libmodest_dbus_client_send_mail() because it is not used by anything. libmodest_dbus_client_compose_mail() is what things actually use. * src/dbus_api/modest-dbus-api.h: * src/dbus_api/modest-dbus-callbacks.c: (modest_dbus_req_handler): * tests/dbus_api/Makefile.am: * tests/dbus_api/test_send_mail.c: Removed the MODEST_DBUS_METHOD_SEND_MAIL D-Bus method. pmo-trunk-r2424