modest
16 years ago2007-06-12 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 12 Jun 2007 10:46:25 +0000 (10:46 +0000)]
2007-06-12  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr.c: (on_key_change): Append to the list, not to
NULL, so that the signals get all the keys. This should not actually
change any behaviour because we currently update everything when anything
changes.

2007-06-12  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-folder-view.c: (text_cell_data),
(icon_cell_data), (filter_row), (on_selection_changed), (cmp_rows),
(find_inbox_iter): If tinymail tells us that the folder is
a non-specific TNY_FOLDER_TYPE_NORMAL then do an extra check on the name.
This causes the inbox to be selected at startup, fixing part of
projects.maemo.org bug NB#56305.

* src/modest-ui-dimming-rules.c:
(modest_ui_dimming_rules_on_tools_smtp_servers):
* src/modest-ui-dimming-rules.h: Added a callback function to dim
the SMTP servers menu item.
* src/maemo/modest-main-window-ui-dimming.h: Used the function, so
that the SMTP Servers menu item is dimmed when there are no accounts,
as a future version of the UI spec will require. This fixes
projects.maemo.org bug NB#56305.

pmo-trunk-r2178

16 years ago* remove my debug g_warnings from modest_tny_account_store
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:37:55 +0000 (10:37 +0000)]
* remove my debug g_warnings from modest_tny_account_store

pmo-trunk-r2177

16 years ago* small cosmetic cleanups, leak fix for modest_account_mgr_set_first_account_as_default
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:36:32 +0000 (10:36 +0000)]
* small cosmetic cleanups, leak fix for modest_account_mgr_set_first_account_as_default

pmo-trunk-r2176

16 years ago* use modest_account_mgr_set_first_account_as default; remove dupl code
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:34:12 +0000 (10:34 +0000)]
* use modest_account_mgr_set_first_account_as default; remove dupl code

pmo-trunk-r2175

16 years ago* no need to set a new default account explicitely anymore
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:32:57 +0000 (10:32 +0000)]
* no need to set a new default account explicitely anymore

pmo-trunk-r2174

16 years ago* set a new default account when removing the current one
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:31:24 +0000 (10:31 +0000)]
* set a new default account when removing the current one

pmo-trunk-r2173

16 years ago* add libnotify dep
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 10:29:19 +0000 (10:29 +0000)]
* add libnotify dep

pmo-trunk-r2172

16 years ago* src/maemo/modest-msg-view-window.c:
Jose Dapena Paz [Tue, 12 Jun 2007 09:31:02 +0000 (09:31 +0000)]
* src/maemo/modest-msg-view-window.c:
        * Now it updates the window title with the subject (fixes NB#58040).

pmo-trunk-r2171

16 years ago* src/maemo/modest-msg-view-window.c:
Jose Dapena Paz [Tue, 12 Jun 2007 08:31:31 +0000 (08:31 +0000)]
* src/maemo/modest-msg-view-window.c:
        * Added insensitive press handlers for view attachment and save attachment
        * Now Find Toolbar sets focus on itself on being shown.

pmo-trunk-r2170

16 years ago * Fixed a reference leak in the main window
Sergio Villar Senin [Tue, 12 Jun 2007 08:09:04 +0000 (08:09 +0000)]
* Fixed a reference leak in the main window
* The update_model function of the folder view is now public
* The main window now unregisters some signals that was causing a lot of problems
* The Move to dialog now shows contents even if the main window do not exists. Fixes NB#59468

pmo-trunk-r2169

16 years ago * The open menu item of the header view CSM now opens a message. Fixes NB#60246
Sergio Villar Senin [Tue, 12 Jun 2007 07:10:41 +0000 (07:10 +0000)]
* The open menu item of the header view CSM now opens a message. Fixes NB#60246

pmo-trunk-r2168

16 years ago * Updated the changelog with fixes made on Week 24 day 2
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 07:00:21 +0000 (07:00 +0000)]
  * Updated the changelog with fixes made on Week 24 day 2

pmo-trunk-r2167

16 years ago* add a forgotten g_object_uref(iter) to _modest_ui_actions_open
Dirk-Jan C. Binnema [Tue, 12 Jun 2007 06:49:36 +0000 (06:49 +0000)]
* add a forgotten g_object_uref(iter) to _modest_ui_actions_open

pmo-trunk-r2166

16 years ago2007-06-11 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Mon, 11 Jun 2007 21:21:33 +0000 (21:21 +0000)]
2007-06-11  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/modest-maemo-utils.c:
(modest_maemo_utils_get_supported_secure_authentication_methods):
Added label to dialog instead of unreadable title

* src/maemo/modest-main-window.c: (sync_accounts_cb),
(modest_main_window_new):
Fixed projects.maemo.org bug NB#58576 by moving previous fix out of
dead code.

* src/modest-account-mgr.c: (modest_account_mgr_has_accounts):
* src/modest-account-mgr.h:
Added method to avoid code duplication

* src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
(modest_ui_actions_on_send_receive):
Use modest_account_mgr_has_accounts

pmo-trunk-r2165

16 years ago* fix crasher when cancelling all operations ('operations_to_cancel' needs to be...
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 17:08:21 +0000 (17:08 +0000)]
* fix crasher when cancelling all operations ('operations_to_cancel' needs to be initialized)

pmo-trunk-r2164

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 16:50:17 +0000 (16:50 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-presets.c:
        (modest_presets_get_info_server_security): Do not report secure auth
        if there is none.
        * src/modest-protocol-info.c: Use the defines for the gconf key names
        for secure authentication. This was not working because we were writing
        Password and reading password, and the check was case sensitive.
        With this, gmail now works for receiving and sending when created via
        easysetup.

pmo-trunk-r2163

16 years ago* do a disconnect/reconnect with pop-servers upon send-receive, as they may not repor...
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:28:08 +0000 (16:28 +0000)]
* do a disconnect/reconnect with pop-servers upon send-receive, as they may not report new messages otherwise. needs the latest tinymail

pmo-trunk-r2162

16 years ago* do some extra checking to prevent a random segfault sometimes; small cleanup
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:26:20 +0000 (16:26 +0000)]
* do some extra checking to prevent a random segfault sometimes; small cleanup

pmo-trunk-r2161

16 years ago* in some cases, cancel_all would core, apparently because cur->data was invalid.
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:25:03 +0000 (16:25 +0000)]
* in some cases, cancel_all would core, apparently because cur->data was invalid.
  now, we don't crash, but give an error on stderr instead

pmo-trunk-r2160

16 years ago* some crash fixes - in some cases, modest core'd because of errors when copying...
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 16:23:20 +0000 (16:23 +0000)]
* some crash fixes - in some cases, modest core'd because of errors when copying/moving

pmo-trunk-r2159

16 years ago * Updated the changelog with fixes made on Week 24 day 01.
Dirk-Jan C. Binnema [Mon, 11 Jun 2007 15:48:29 +0000 (15:48 +0000)]
  * Updated the changelog with fixes made on Week 24 day 01.

pmo-trunk-r2158

16 years agoMurray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 15:43:20 +0000 (15:43 +0000)]
Murray Cumming  <murrayc@murrayc.com>

pmo-trunk-r2157

16 years ago * Changed the order of some CSM menu entries. This Fixes NB#60247
Sergio Villar Senin [Mon, 11 Jun 2007 14:32:05 +0000 (14:32 +0000)]
* Changed the order of some CSM menu entries. This Fixes NB#60247

pmo-trunk-r2154

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 13:30:29 +0000 (13:30 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-platform.c: (modest_platform_on_new_msg):
        Prevent use of the new notification feature for now, because it currently
        shows one dialog for each new email, which is annoying.

pmo-trunk-r2153

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 12:29:24 +0000 (12:29 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-provider-combo-box.c:
        (easysetup_provider_combo_box_fill): Ask for the providers for mmc=0
        when no country was selected, so that we show the global ones.
        * src/maemo/easysetup/modest-presets.c:
        (modest_presets_get_providers): Return only the global providers, not
        all providers when mmc=0 was requested.

pmo-trunk-r2152

16 years ago* src/modest-attachments-view.c:
Jose Dapena Paz [Mon, 11 Jun 2007 12:17:29 +0000 (12:17 +0000)]
* src/modest-attachments-view.c:
        * Fixed the calculation of the attachment clicked, that broke
          all the widget clicking code (fixes NB#59462).

pmo-trunk-r2151

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 11:42:14 +0000 (11:42 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-provider-combo-box.c:
        (easysetup_provider_combo_box_fill): Remove debug code that showed the
        provider ID in the combo.

        * src/maemo/easysetup/modest-wizard-dialog.c: (create_title):
        Do not show the page numbers, because it would be confusing when we add
        the 2 extra pages for the custom setup, when the user chooses the Other
        provider. This fixes projects.maemo.org bug NB#59028

        * src/modest-init.c: (modest_init_init_core),
        (modest_init_local_folders):
        * src/modest-init.h:
        * src/modest-tny-account.c:
        (modest_tny_account_new_for_local_folders): Do not create default folders
        for the memory card. This should fix projects.maemo.org bug NB#59328.

pmo-trunk-r2150

16 years agoFix for NB#58037. Not reply to all removes the user's address. To do it
Jose Dapena Paz [Mon, 11 Jun 2007 11:32:13 +0000 (11:32 +0000)]
Fix for NB#58037. Not reply to all removes the user's address. To do it
first it gets the address itself (the a@b.c part), and then it removes
all the Cc: addresses that match with this part:
* src/modest-text-utils.c:
        * Now remove_address takes into account the email address
          instead of the full address string.

pmo-trunk-r2149

16 years ago * Added a first implementation for new messages notifications
Sergio Villar Senin [Mon, 11 Jun 2007 11:08:36 +0000 (11:08 +0000)]
* Added a first implementation for new messages notifications

pmo-trunk-r2148

16 years agoFix for NB#59458 (should dim sort button when the selected folder
Jose Dapena Paz [Mon, 11 Jun 2007 11:01:23 +0000 (11:01 +0000)]
Fix for NB#59458 (should dim sort button when the selected folder
is a root folder).
* src/maemo/modest-main-window-ui-dimming.h:
        * Added dimming handler for sort dialog actions.
* src/modest-ui-dimming-rules.[ch]:
        * Added dimming handler for sort dialog actions. Should
          be dimmed when the folder is a root folder.

Restored the UI menu actions available in viewer.
* src/maemo/ui/modest-msg-view-window-ui.xml:
        * Readded show toolbar actions.
        * Readded find in page actions.

pmo-trunk-r2147

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 08:19:49 +0000 (08:19 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr.c: (modest_account_mgr_finalize):
        Free the changed_conf_keys string items. They are already freed in the
        idle handler if that runs first.

pmo-trunk-r2145

16 years ago * Removed a TODO
Sergio Villar Senin [Mon, 11 Jun 2007 08:11:07 +0000 (08:11 +0000)]
* Removed a TODO
* Fixed the account manager new batch notification system, it was not working
* Do not reload the accounts if only the last-updated key has changed, it was working but it seems that somebody commented it

pmo-trunk-r2144

16 years ago2007-06-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 11 Jun 2007 07:43:23 +0000 (07:43 +0000)]
2007-06-11  Murray Cumming  <murrayc@murrayc.com>

* src/modest-ui-actions.c:
        (modest_ui_actions_on_password_requested): Check that the server name
        is not NULL, because I just saw a password dialog with (null) as the
        server name.

        * src/modest-tny-folder.[h|c]: Added
        modest_tny_folder_is_memory_card_folder().
        * src/modest-ui-dimming-rules.c:
        (modest_ui_dimming_rules_on_new_folder): Do not dim the new folder context
        menu item for memory cards, as per the UI spec (section 7.4). This should
        fix projects.maemo.org bug NB#59297.

pmo-trunk-r2143

16 years agofixed a typo.
Murray Cumming [Mon, 11 Jun 2007 06:45:10 +0000 (06:45 +0000)]
fixed a typo.

pmo-trunk-r2142

16 years ago2007-06-10 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Sun, 10 Jun 2007 18:25:17 +0000 (18:25 +0000)]
2007-06-10  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/modest-main-window.c: (sync_accounts_cb):
Fixed projects.maemo.org bug NB#58576 (not yet activated as there
is another problem with the code, see Murray\'s comment at line 772)

pmo-trunk-r2141

16 years ago* add (c)-headers, forgotten g_object_unref
Dirk-Jan C. Binnema [Sun, 10 Jun 2007 18:06:21 +0000 (18:06 +0000)]
* add (c)-headers, forgotten g_object_unref

pmo-trunk-r2140

16 years ago2007-06-10 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Sun, 10 Jun 2007 17:44:43 +0000 (17:44 +0000)]
2007-06-10  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/modest-main-window.c: (sync_accounts_cb):
Fixed projects.maemo.org bug NB#56472 (not yet activated as there
is another problem with the code, see Murray\'s comment at line 772)

pmo-trunk-r2139

16 years ago* partial fix for NB#58220, waiting for desktop now
Dirk-Jan C. Binnema [Fri, 8 Jun 2007 16:17:28 +0000 (16:17 +0000)]
* partial fix for NB#58220, waiting for desktop now

pmo-trunk-r2138

16 years ago2007-06-08 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 8 Jun 2007 16:09:26 +0000 (16:09 +0000)]
2007-06-08  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-country-combo-box.h:
        * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
        (on_model_foreach_release), (easysetup_country_combo_box_finalize),
        (load_from_file), (easysetup_country_combo_box_init),
        (easysetup_country_combo_box_get_active_country_ids),
        (on_model_foreach_select_id): Store a GSList* of IDs in the model row,
        instead of just one ID, to avoid duplicate country names in the UI.

        * src/maemo/easysetup/modest-easysetup-provider-combo-box.h:
        * src/maemo/easysetup/modest-easysetup-provider-combo-box.c:
        (easysetup_provider_combo_box_fill): Adapt to use a list rather than
        a single ID, avoiding duplicate providers.
        * src/maemo/easysetup/modest-easysetup-wizard.c:
        (on_combo_account_country): Adapt to use a list.

pmo-trunk-r2137

16 years ago * updated the changelog with six new bug fixes.
Dirk-Jan C. Binnema [Fri, 8 Jun 2007 14:48:05 +0000 (14:48 +0000)]
  * updated the changelog with six new bug fixes.

pmo-trunk-r2135

16 years ago * Fixed a mistake in the last commit thanks to Murray's good sight
Sergio Villar Senin [Fri, 8 Jun 2007 14:08:05 +0000 (14:08 +0000)]
* Fixed a mistake in the last commit thanks to Murray's good sight

pmo-trunk-r2134

16 years ago * Deleted a priv .c file, it's enough with the .h file to make their methods protected
Sergio Villar Senin [Fri, 8 Jun 2007 13:49:22 +0000 (13:49 +0000)]
* Deleted a priv .c file, it's enough with the .h file to make their methods protected
* Fixed a crasher related to DBUS when setting the last update value
* Added an emission of the account_removed signal
* Fixes NB#56420, the account cache is now cleared when an account is removed

pmo-trunk-r2132

16 years ago2007-06-08 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 8 Jun 2007 12:45:59 +0000 (12:45 +0000)]
2007-06-08  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr-priv.h: Added a timeout id and a GSList of
keys changed in the last X seconds.

* src/modest-account-mgr.h:
* src/modest-account-mgr.c: (on_timeout_notify_changes),
(on_key_change), (modest_account_mgr_class_init),
(modest_account_mgr_init), (modest_account_mgr_finalize):
As the keys are changed, save them in a GSList* and signal that GSList*
further every X seconds, to batch changes, to allow us to do just one
update per batch. This should fix bug projects.maemo.org bug NB#56472 and
bug NB#56941 and other (UI-blocking) delays when changing account settings.

* src/modest-tny-account-store.c: (on_account_changed): Adapted to
changed signal signature.

* src/modest-conf.c: (modest_conf_set_list),
(modest_conf_on_change): Reenable notification.

(modest_conf_maemo_fake_on_change): Comment out the hack that
notified immediately instead of asynchronously.

* src/widgets/modest-account-view.h:
* src/widgets/modest-account-view.c:
(update_account_view): Select the previously-selected account ID,
if possible. This fixes projects.maemo.org bug NB#56933.

(on_account_changed), (on_account_removed),
(modest_account_view_select_account):

Remove the block/unblock functions
because they were not useful.

* src/maemo/modest-account-view-window.c:
(on_delete_button_clicked), (on_edit_button_clicked),
(on_new_button_clicked): Remove the use of the non-working block/unblock.

pmo-trunk-r2130

16 years ago* Fixes: NB#59378, NB#59389
Javier Fernandez Garcia-Boente [Fri, 8 Jun 2007 09:59:04 +0000 (09:59 +0000)]
* Fixes: NB#59378, NB#59389
* Implemented some pending dimming rules

pmo-trunk-r2129

16 years agoAdded some comments
Philip Van Hoof [Fri, 8 Jun 2007 09:45:33 +0000 (09:45 +0000)]
Added some comments

pmo-trunk-r2128

16 years ago2007-06-08 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 8 Jun 2007 09:39:31 +0000 (09:39 +0000)]
2007-06-08  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.c: (modest_tny_account_store_alert):
Improve the error dialog to show Incorrect Account Settings, which seems
clearer, and say that the internal error message (to be removed from the
dialog later) is often misleading.
I have confirmed that projects.maemo.org bug NB#58543 is no longer a problem.

* src/modest-tny-account.c:
(modest_tny_account_new_from_server_account): Uncomment the printf of the
URL because this is so useful for debugging on the device.

* src/widgets/modest-serversecurity-combo-box.c:
(modest_serversecurity_combo_box_fill): Correct a logical ID

pmo-trunk-r2127

16 years agoIn stead of using tny_folder_refresh, use tny_folder_poke_status in case folders...
Philip Van Hoof [Fri, 8 Jun 2007 09:19:28 +0000 (09:19 +0000)]
In stead of using tny_folder_refresh, use tny_folder_poke_status in case folders don't have to be fully downloaded

pmo-trunk-r2126

16 years ago* src/maemo/modest-main-window.c:
Jose Dapena Paz [Fri, 8 Jun 2007 09:16:49 +0000 (09:16 +0000)]
* src/maemo/modest-main-window.c:
        * Added search messages ui action handler to "Search..." folder
          CSM (fixes NB#59191).

pmo-trunk-r2125

16 years ago * Fixes NB#55338
Sergio Villar Senin [Fri, 8 Jun 2007 08:37:55 +0000 (08:37 +0000)]
* Fixes NB#55338

pmo-trunk-r2123

16 years ago2007-06-08 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 8 Jun 2007 08:10:00 +0000 (08:10 +0000)]
2007-06-08  Murray Cumming  <murrayc@murrayc.com>

* src/modest-mail-operation.c:
        (modest_mail_operation_send_new_mail):
        Added a comment about a nasty but apparently harmless message. Details
        added to the wiki g_warnings() page.

pmo-trunk-r2122

16 years ago* src/modest-mail-operation.c:
Jose Dapena Paz [Fri, 8 Jun 2007 08:08:47 +0000 (08:08 +0000)]
* src/modest-mail-operation.c:
        * ..._send_new_mail: added support to store the priority
          flags in mails sent. This is done adding the flags to
          the TnyHeader used to send the mail.
        * ..._save_to_drafts: same as in send_new_mail. Added support
          to set the priority flags (fixes NB#59253).

pmo-trunk-r2121

16 years ago2007-06-08 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 8 Jun 2007 07:38:25 +0000 (07:38 +0000)]
2007-06-08  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-send-queue.c: (modest_tny_send_queue_add),
        (modest_tny_send_queue_class_init):
        Do not use the priv struct because it is empty, to avoid g_warnings
        about a non-existant priv struct.

        * src/modest-tny-account-store.c:
        (modest_tny_account_store_get_server_account),
        (modest_tny_account_store_get_transport_account_for_open_connection
        ): Do not try to get transport server accounts for local folders,
        because they don't have any. This avoids a g_warning().

        * src/maemo/modest-main-window.c:
        (modest_main_window_notify_send_receive_initied),
        (on_configuration_key_changed):
        * src/maemo/modest-msg-edit-window.c: (on_delete_event):
        * src/modest-defs.h:
        * src/modest-mail-operation.c:
        (modest_mail_operation_update_account):
        * src/modest-tny-account-store.h:
        * src/modest-tny-account.c:
        (modest_tny_account_get_special_folder),
        (modest_tny_account_new_for_local_folders),
        (modest_tny_account_new_for_per_account_local_outbox_folder):
        * src/modest-tny-folder.c: (modest_tny_folder_is_local_folder):
        * src/modest-tny-local-folders-account.c:
        (add_account_folders_to_merged_folder):
        * src/modest-ui-actions.c: (modest_ui_actions_on_new_msg),
        (reply_forward_cb), (modest_ui_actions_on_save_to_drafts),
        (modest_ui_actions_on_send):
        * src/widgets/modest-folder-view.c: (update_model):
        Rename MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID to
        MODEST_LOCAL_FOLDERS_ACCOUNT_ID and rename
        modest_tny_account_store_get_tny_account_by_account() to
        modest_tny_account_store_get_server_account() to make the code clearer.

pmo-trunk-r2120

16 years ago * Fixes NB#59451
Sergio Villar Senin [Fri, 8 Jun 2007 07:07:54 +0000 (07:07 +0000)]
* Fixes NB#59451

pmo-trunk-r2116

16 years ago * Updated changelog with the lastest fixes in bugzilla
Dirk-Jan C. Binnema [Fri, 8 Jun 2007 06:39:19 +0000 (06:39 +0000)]
  * Updated changelog with the lastest fixes in bugzilla

pmo-trunk-r2114

16 years agoAdded support for opening the addressbook from the main window
Jose Dapena Paz [Thu, 7 Jun 2007 19:54:25 +0000 (19:54 +0000)]
Added support for opening the addressbook from the main window
through menu (fixes bug NB#57590):
* src/modest-platform.h:
        * Added method to show the addressbook UI.
* src/modest-ui-actions.[ch]:
        * Add action handler to open the addressbook UI.
* src/maemo/modest-main-window-ui.h:
        * Add callback handler to show addressbook from main
          window menu.
* src/maemo/modest-platform.c:
        * Added implementation to show the addressbook
          from modest using osso rpc.

pmo-trunk-r2113

16 years agoAdded implementation of "Find in page" in editor. This, with other
Jose Dapena Paz [Thu, 7 Jun 2007 17:26:27 +0000 (17:26 +0000)]
Added implementation of "Find in page" in editor. This, with other
previous fixes, fixes NB#56983.
* src/widgets/modest-msg-edit-window.h:
        * New function ..._toggle_find_toolbar, to show/hide the
          toolbar.
* src/widgets/modest-msg-edit-window-ui.h:
        * Added default callback for changing find toolbar
          visibility.
* src/modest-ui-actions.[ch]:
        * Added action ..._on_toggle_find_in_page, for responding
          to find in page toggle, and showing or hiding the find
          toolbar in the editor.
* src/maemo/modest-msg-edit-window.c:
        * Added find toolbar support with its callbacks. This
          enables the user to search strings in the text. Also
          made the scroll update properly when the found selection
          changes.
* src/maemo/modest-msg-edit-window-ui.xml:
        * Added separator between "remove attachments" action and
          the attachment insertion actions.

pmo-trunk-r2112

16 years ago* don't do autocaps in to/cc/bcc after tall...
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 15:59:43 +0000 (15:59 +0000)]
* don't do autocaps in to/cc/bcc after tall...

pmo-trunk-r2111

16 years ago2007-06-07 Marcus Bauer <marcusb@openismus.com>
Marcus Bauer [Thu, 7 Jun 2007 15:46:41 +0000 (15:46 +0000)]
2007-06-07  Marcus Bauer  <marcusb@openismus.com>

* src/dbus_api/modest-dbus-api.h:
changed MODEST_DBUS_NAME in order to get dbus auto-activation to work
* src/maemo/modest-msg-edit-window.c:
(modest_msg_edit_window_attach_file_noninteractive):
added g_warning in case the file to be attached does not exist
* tests/dbus_api/test_compose_mail.c: (main):
removed obsolete comment, added generic files as test case

pmo-trunk-r2110

16 years ago2007-06-07 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 7 Jun 2007 15:27:18 +0000 (15:27 +0000)]
2007-06-07  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.c: (get_server_accounts):
        Create the local folders account only once, not once for each outbox, and
        not only when there are some outboxes.

pmo-trunk-r2109

16 years ago* turn on autocapitalization for the address widgets; this fix the bug once autocapit...
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 15:24:30 +0000 (15:24 +0000)]
* turn on autocapitalization for the address widgets; this fix the bug once autocapitalization works
  in general...

pmo-trunk-r2108

16 years ago* Fixes: NB#59805
Javier Fernandez Garcia-Boente [Thu, 7 Jun 2007 15:23:38 +0000 (15:23 +0000)]
* Fixes: NB#59805
* Implement dimmig rules for Header View context sensitive menus.

pmo-trunk-r2107

16 years ago2007-06-07 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 7 Jun 2007 14:56:23 +0000 (14:56 +0000)]
2007-06-07  Murray Cumming  <murrayc@murrayc.com>

* src/widgets/modest-folder-view.c: (update_model): Comment out some
        code that is causing a crash at startup. Sergio says that he is fixing this.

pmo-trunk-r2106

16 years ago* set the focus correctly on the global settings tabs; this fixes *major* bug NB...
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 14:22:03 +0000 (14:22 +0000)]
* set the focus correctly on the global settings tabs; this fixes *major* bug NB#58756

pmo-trunk-r2105

16 years ago* Fixes: NB#56474
Javier Fernandez Garcia-Boente [Thu, 7 Jun 2007 14:08:32 +0000 (14:08 +0000)]
* Fixes: NB#56474
* New dimmig rule for tools menu options

pmo-trunk-r2102

16 years ago2007-06-07 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Thu, 7 Jun 2007 13:45:24 +0000 (13:45 +0000)]
2007-06-07  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: (on_before_next):
* src/maemo/modest-account-settings-dialog.c:
(create_page_outgoing),
(modest_account_settings_dialog_set_account_name),
(save_configuration):
- Fixed handling of the \"Use secure authentication\" toggle to comply with
the ui specification. See also projects.maemo.org bug NB#58400

- Restore the Secure connection setting combo correctly when loading
the settings dialog

* src/maemo/modest-maemo-utils.c:
(on_camel_account_get_supported_secure_authentication),
(modest_maemo_utils_get_supported_secure_authentication_methods):
Fixed a crasher if operation is canceled

* src/modest-protocol-info.c: (modest_protocol_info_is_secure),
(modest_protocol_info_auth_is_secure):
* src/modest-protocol-info.h:

Added two new methods to determine if a protocol/auth method is secure/encrypted in
the sense of the \"Use secure authentication\" toggle.

pmo-trunk-r2099

16 years ago * Updated the changelog with the new bugs fixed.
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 13:39:11 +0000 (13:39 +0000)]
 * Updated the changelog with the new bugs fixed.

pmo-trunk-r2098

16 years ago2007-06-07 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 7 Jun 2007 12:19:30 +0000 (12:19 +0000)]
2007-06-07  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.h:
        * src/modest-tny-account-store.c:
        Added modest_tny_account_store_get_local_folders_account().

        * src/modest-tny-folder.h:
        * src/modest-tny-folder.c:
        (modest_tny_folder_get_account):
        Added this replacement for tny_folder_get_account() which returns
        the local-folders account for TnyMergeFolders, to avoid the
        warning about the unimplemented get_account_func() vfunc().

        (modest_tny_folder_get_rules),
        * src/modest-ui-actions.c:
        (modest_ui_actions_on_folder_selection_changed):
        * src/modest-mail-operation.c:
        (modest_mail_operation_remove_folder),
        (modest_mail_operation_xfer_folder),
        (modest_mail_operation_rename_folder),
        (modest_mail_operation_get_msg),
        (modest_mail_operation_get_msgs_full),
        (modest_mail_operation_remove_msg),
        (modest_mail_operation_xfer_msgs),
        (modest_mail_operation_refresh_folder):
        Use modest_tny_folder_get_account() instead of tny_folder_get_account().

pmo-trunk-r2097

16 years agoCancelling the entire update_account_thread
Philip Van Hoof [Thu, 7 Jun 2007 11:24:13 +0000 (11:24 +0000)]
Cancelling the entire update_account_thread

pmo-trunk-r2096

16 years agoFixed some problems with synchronization between the attachments in
Jose Dapena Paz [Thu, 7 Jun 2007 10:39:55 +0000 (10:39 +0000)]
Fixed some problems with synchronization between the attachments in
the attachments view of the editor, and the internal attachments list
the editor contains (fixes NB#57756):
* src/widgets/modest-attachments-view.[ch]:
        * Added the method modest_attachments_view_get_attachments, that
          obtains the mime parts of all the attachments shown.
* src/maemo/modest-msg-edit-window.c:
        * Now, set_msg updates the list of attachments from the
          attachments view.
        * Fixed the code to hide and show the attachments caption.

pmo-trunk-r2095

16 years ago* use wpeditor, not libwpeditor-plus for osso 1.1
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 09:47:21 +0000 (09:47 +0000)]
* use wpeditor, not libwpeditor-plus for osso 1.1

pmo-trunk-r2094

16 years ago * Fixes NB#55338
Sergio Villar Senin [Thu, 7 Jun 2007 09:46:15 +0000 (09:46 +0000)]
* Fixes NB#55338

pmo-trunk-r2093

16 years ago2007-06-07 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Thu, 7 Jun 2007 08:11:07 +0000 (08:11 +0000)]
2007-06-07  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr-helpers.c: (get_security_for_conf_string),
        (modest_server_account_set_security):
        * src/modest-defs.h: Add comments explaining that our
        UI spec means TLS when it says Normal, so these do not look like errors.

        * src/modest-tny-account.c:
        (modest_tny_account_new_from_server_account): Use the new tinymail
        'wrapped' option for regular SSL, and use the new tinymail 'tls' option
        for TLS. This should fix projects.maemo.org bug NB#58460.

pmo-trunk-r2092

16 years agomodified changelog for week23
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 07:03:14 +0000 (07:03 +0000)]
modified changelog for week23

pmo-trunk-r2091

16 years ago* updated changelog
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 06:32:35 +0000 (06:32 +0000)]
* updated changelog

pmo-trunk-r2090

16 years ago* really turn off the launcher for now (integration still seemed to activate it throu...
Dirk-Jan C. Binnema [Thu, 7 Jun 2007 06:13:12 +0000 (06:13 +0000)]
* really turn off the launcher for now (integration still seemed to activate it through DEB_BUILD_OPTIONS), because the launcher seems to impact network connectivity in some way.
* add libhildonhelp-dev as a build dep

pmo-trunk-r2089

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Wed, 6 Jun 2007 16:43:11 +0000 (16:43 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * Before this change, only To: field was used to dim/undim
          the send button. Now also Cc: and Bcc: fields are used.
          Only when the three are empty, send button is dimmed
          (fixes NB#59387).

pmo-trunk-r2088

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Wed, 6 Jun 2007 15:06:50 +0000 (15:06 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * When you request to remove attachments, and you
          cancel in the confirmation dialog, the attachments
          were removed anyway. Now it respects the dialog
          response (fixes NB#57929).

pmo-trunk-r2087

16 years agoAdded detection of changes in subject and attachments, that lead
Jose Dapena Paz [Wed, 6 Jun 2007 14:59:41 +0000 (14:59 +0000)]
Added detection of changes in subject and attachments, that lead
to believe that the mail was modified (fixes bug NB#57688):
* src/maemo/modest-msg-edit-window.c:
        * Now changes to subject set the buffer as modified.
        * Adding or removing attachments set the buffer as modified.

pmo-trunk-r2086

16 years ago* set the right strings in the main area when local-root or account-root is selected
Dirk-Jan C. Binnema [Wed, 6 Jun 2007 14:05:50 +0000 (14:05 +0000)]
* set the right strings in the main area when local-root or account-root is selected
   (can't find a bug for this, did the tester not find it yet?)

pmo-trunk-r2085

16 years agoImprovements to show cc/bcc properties handling (fixed NB#57218).
Jose Dapena Paz [Wed, 6 Jun 2007 13:48:57 +0000 (13:48 +0000)]
Improvements to show cc/bcc properties handling (fixed NB#57218).
* src/maemo/modest-msg-edit-window.c:
        * Store properly the show_cc and show_bcc new values in
          gconf each time it's modified by the user.
        * Update the show_cc and show_bcc toggle menu items on
          startup with the value coming from gconf
        * Respect visibility of cc and bcc hiding them properly.

pmo-trunk-r2084

16 years ago* update the address icon to the newest UI spec; fixes NB#58872
Dirk-Jan C. Binnema [Wed, 6 Jun 2007 13:36:56 +0000 (13:36 +0000)]
* update the address icon to the newest UI spec; fixes NB#58872

pmo-trunk-r2083

16 years ago2007-06-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 6 Jun 2007 13:28:01 +0000 (13:28 +0000)]
2007-06-06  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c:
        (create_account): Correct the position of the gconf sanity check warning.
        (on_button_edit_advanced_settings): Show the dialog immediately, instead
        of using the g_idle_add() hack, because this does not seem to be necessary
        on osso 1.1. It might even work on Maemo Bora if the problems were actually
        caused by something other than maemo's gconf.
        This fixes projects.maemo.org bug #59022.

pmo-trunk-r2082

16 years ago* src/modest-ui-actions.c:
Jose Dapena Paz [Wed, 6 Jun 2007 13:07:00 +0000 (13:07 +0000)]
* src/modest-ui-actions.c:
        * Added a blank space in front of signature when it's added
          in a blank message. It makes easier to edit the blank message.
* src/maemo/modest-msg-edit-window.c:
        * Now changing the size also sets the font and text direction.
          Though it shouldn't be related, this makes setting size
          from toolbar work (fixes #56945).

pmo-trunk-r2081

16 years agoFix some compiling errors.
Javier Fernandez Garcia-Boente [Wed, 6 Jun 2007 12:59:55 +0000 (12:59 +0000)]
Fix some compiling errors.

pmo-trunk-r2080

16 years agoon_selection_changed signal handler takes into account selection
Javier Fernandez Garcia-Boente [Wed, 6 Jun 2007 12:06:03 +0000 (12:06 +0000)]
on_selection_changed signal handler takes into account selection
may be mutliple, and returns first header path.

Fixes: #NB56719

pmo-trunk-r2079

16 years ago2007-06-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 6 Jun 2007 11:24:01 +0000 (11:24 +0000)]
2007-06-06  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr-helpers.c:
        (modest_account_mgr_get_default_account): Do not check that the account
        exists if there is no default account (NULL), to fix a runtime warning.

pmo-trunk-r2078

16 years ago2007-06-06 Murray Cumming <murrayc@murrayc.come>
Murray Cumming [Wed, 6 Jun 2007 11:18:33 +0000 (11:18 +0000)]
2007-06-06  Murray Cumming  <murrayc@murrayc.come>

* src/widgets/modest-folder-view.c: (update_model):
        Do not unref the treemodel before we have finished with it.
        This prevents a valgrind warning and an occasional crash at startup.

pmo-trunk-r2077

16 years ago * Fixes NB#58679
Sergio Villar Senin [Wed, 6 Jun 2007 08:42:49 +0000 (08:42 +0000)]
* Fixes NB#58679

pmo-trunk-r2076

16 years ago2007-06-06 Marcus Bauer <marcusb@openismus.com>
Marcus Bauer [Tue, 5 Jun 2007 23:56:44 +0000 (23:56 +0000)]
2007-06-06  Marcus Bauer  <marcusb@openismus.com>

* libmodest-dbus-client/libmodest-dbus-client.h:
added libmodest_dbus_client_compose_mail()
* src/dbus_api/modest-dbus-callbacks.c: (on_idle_compose_mail),
(on_compose_mail):
added functions needed for SendAsMail() functionality
* src/maemo/modest-msg-edit-window.c:
(modest_msg_edit_window_attach_file_noninteractive):
non interactively attaching files to message edit window
* src/widgets/modest-msg-edit-window.h:
* tests/dbus_api/Makefile.am:
added test_compose_mail.c
* tests/dbus_api/test_compose_mail.c: (main):

pmo-trunk-r2075

16 years ago2007-06-05 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Tue, 5 Jun 2007 18:59:34 +0000 (18:59 +0000)]
2007-06-05  Johannes Schmid <johannes.schmid@openismus.com>

* src/modest-account-view.c:
Fixed bug projects.maemo.org bug NB#59307

pmo-trunk-r2074

16 years agodirty ChangeLog
Johannes Schmid [Tue, 5 Jun 2007 18:42:54 +0000 (18:42 +0000)]
dirty ChangeLog

pmo-trunk-r2073

16 years ago2007-06-05 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Tue, 5 Jun 2007 18:41:59 +0000 (18:41 +0000)]
2007-06-05  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/easysetup/modest-easysetup-wizard.c:
(get_serverport_incoming), (on_before_next), (create_account):
* src/maemo/modest-account-settings-dialog.c:
(modest_account_settings_dialog_set_account_name):
* src/maemo/modest-maemo-utils.c:
(on_camel_account_get_supported_secure_authentication_status),
(on_camel_account_get_supported_secure_authentication),
(on_secure_auth_cancel),
(modest_maemo_utils_get_supported_secure_authentication_methods):

Implemented security authentication for settings and easysetup.

pmo-trunk-r2072

16 years agoImplement "search messages" action (fixes NB#57209).
Jose Dapena Paz [Tue, 5 Jun 2007 15:28:49 +0000 (15:28 +0000)]
Implement "search messages" action (fixes NB#57209).
* src/modest-platform.h:
        * New method to invoke the search messages dialog
* src/gnome/modest-platform.c:
        * Stub implementation for ...show_search_messages
* src/widgets/modest_msg_edit_window-ui.h:
        * Added callback for search messages action
* src/modest-ui-actions.[ch]:
        * Added new ui action to show the search messages dialog,
          relying on modest platform implementation.
* src/maemo/modest-main-window-ui.h:
        * Added callback for search messages action
* src/maemo/modest-platform.c:
        * New ..._show_search_messages method. Shows the osso
          global search dialog for searching emails.
* src/maemo/ui/modest-msg-view-window-ui.xml:
        * Fix and show search messages action.

Other issues:
* libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
        * Fixed -l declaration.

pmo-trunk-r2071

16 years ago2007-06-05 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 5 Jun 2007 14:45:33 +0000 (14:45 +0000)]
2007-06-05  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-main-window.c: (create_details_widget):
Show the total size for memory card accounts too, instead of showing
the name again. Fixes bug projects.maemo.org bug NB#59307.

pmo-trunk-r2070

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Tue, 5 Jun 2007 13:03:26 +0000 (13:03 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * (..._attach_file): uses TnyVfsStream (and then gnome vfs)
          instead of TnyFsStream to support attaching files from
          vfs sources (fixes NB#59701).

pmo-trunk-r2069

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Tue, 5 Jun 2007 10:47:35 +0000 (10:47 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * There was an infinite loop in the code to search image attachments
          on removal. I fixed it (fixes NB#59440).

pmo-trunk-r2068

16 years agoWork to improve mime type detection in attachment view
Jose Dapena Paz [Tue, 5 Jun 2007 10:14:07 +0000 (10:14 +0000)]
Work to improve mime type detection in attachment view
(fixes NB#57213, NB#57671, NB#57575).
* src/modest-platform.h:
        * (modest_platform_activate_file): now it gets a mime_type parameter,
          in case it was detected previously.
* src/gnome/modest-platform.c:
        * (modest_platform_activate_file): updated API to get mime type
* src/maemo/modest-platform.c:
        * (guess_mime_type_from_file): fixed a trivial bug, that broke the
          detection.
        * (modest_platform_activate_file): use mime type to open the file
          if available, or uses guess_mime_type if no type is provided.
* src/maemo/modest-msg-view-window.c:
        * (..._view_attachment). Preserve the extension on saving the
          attachments to temporary file to view it.
        * (..._view_attachment). Get the mime type of the mime part, and
          pass it to the activate_file call.
* src/maemo/modest-maemo-utils.c:
        * (..._create_temp_stream): now accepts a preferred extension for
          the temporary file.

pmo-trunk-r2067

16 years ago2007-06-05 Murray Cumming <murrayc@murrayc.com>modest/trunk] > more ChangeLog2
Murray Cumming [Tue, 5 Jun 2007 07:42:54 +0000 (07:42 +0000)]
2007-06-05  Murray Cumming  <murrayc@murrayc.com>modest/trunk] > more ChangeLog2

* src/Makefile.am:
        * src/modest-tny-simple-folder-store.c:
        * src/modest-tny-simple-folder-store.h: Removed.

        * src/modest-tny-local-folders-account.h
        * src/modest-tny-local-folders-account.c: Added a derived TnyAccount
        for the local-folders maildir, with an extra TnyMergedFolder containing
        the folders of the per-account outbox store accounts.
        * src/modest-tny-account-store.c: (get_server_accounts):
        Add the outboxes to the special local folders account after creating it.

        * src/modest-tny-account.c:
        (modest_tny_account_new_for_local_folders): Create the derived
        account when creating the main local-folders account.

        * src/maemo/modest-main-window.c: (create_details_widget),
        (modest_main_window_set_contents_style):
        Adapted to the use of the derived account instead of the folder store.

        * src/modest-ui-actions.c:
        (modest_ui_actions_on_folder_selection_changed):
        * src/modest-ui-dimming-rules.c:
        (modest_ui_dimming_rules_on_new_folder):
        * src/widgets/modest-folder-view.c: (text_cell_data),
        (icon_cell_data), (filter_row), (update_model),
        (get_cmp_rows_type_pos):

        * src/modest-tny-send-queue.c: (modest_tny_send_queue_new):
        Do not get the priv struct, because no priv struct has been set,
        to avoid a runtime warning.

pmo-trunk-r2066

16 years ago2007-06-05 Christian Kellner <ckellner@openismus.com>
Christian Kellner [Mon, 4 Jun 2007 23:14:35 +0000 (23:14 +0000)]
2007-06-05  Christian Kellner  <ckellner@openismus.com>

* libmodest-dbus-client/libmodest-dbus-client.c:
Fix small typo in doc (why do you always see them
AFTER committing stuff?)

pmo-trunk-r2065

16 years ago2007-06-05 Christian Kellner <ckellner@openismus.com>
Christian Kellner [Mon, 4 Jun 2007 23:12:14 +0000 (23:12 +0000)]
2007-06-05  Christian Kellner  <ckellner@openismus.com>

* libmodest-dbus-client/libmodest-dbus-client.c:
(libmodest_dbus_client_search):
Initialize hit list with NULL. Also set folder list
to "" if NULL was supplied.
Add documentation.

pmo-trunk-r2064