modest
16 years ago2007-07-11 Murray Cumming <murrayc@murrayc-desktop>
Murray Cumming [Wed, 11 Jul 2007 13:34:57 +0000 (13:34 +0000)]
2007-07-11  Murray Cumming  <murrayc@murrayc-desktop>

* src/modest-main.c: (main): Only show the UI at the start if
the showui command line option was given. For instance,
run-standalone src/modest showui
Otherwise, we wait for the top_application D-Bus method to
be sent by hildon-desktop when the application is selected
from the menu.
This allows us to run without a UI when osso-global-search
uses our D-Bus methods.

pmo-trunk-r2697

16 years ago* src/modest-ui-actions.c:
Jose Dapena Paz [Wed, 11 Jul 2007 12:43:35 +0000 (12:43 +0000)]
* src/modest-ui-actions.c:
        * Removed annoying warning for check retrieval in message open
          handler. THis was appearing everytime we cancelled a
          message retrieval.
* src/modest-mail-operation.c:
        * Now we notify the end of the mail operation before
          unreferencing. This prevents a crash.
        * Now we do a tny_account_cancel in status handler when we
          get a cancel status. This way we properly cancel the
          message download (and then we can try again to open the
          message as expected (fixes NB#62444).

pmo-trunk-r2696

16 years ago* improve modest_folder_view_select_folder:
Dirk-Jan C. Binnema [Wed, 11 Jul 2007 12:08:59 +0000 (12:08 +0000)]
* improve modest_folder_view_select_folder:
  - move the cursor as well (this fixes the seemingly double selection prob
  - expand the the treeview if we created an invisible subfolder

pmo-trunk-r2695

16 years ago2007-07-11 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Wed, 11 Jul 2007 11:50:59 +0000 (11:50 +0000)]
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

16 years ago* src/maemo/modest-msg-view-window.c:
Jose Dapena Paz [Wed, 11 Jul 2007 09:35:02 +0000 (09:35 +0000)]
* src/maemo/modest-msg-view-window.c:
        * Refactored the save_attachments dialog construction to share
          more code for checkings and file chooser management.
        * Now saving attachments is asynchronous, and then we can show a
          proper information banner while saving (fixes NB#62823).
        * Added information banner for "saved".
        * Removed some leaks.

pmo-trunk-r2693

16 years ago* Fixed some bugs about last revision of dimming rules.
Javier Fernandez Garcia-Boente [Wed, 11 Jul 2007 09:16:50 +0000 (09:16 +0000)]
* Fixed some bugs about last revision of dimming rules.

pmo-trunk-r2692

16 years ago* Review dimming rules, according new specs about
Javier Fernandez Garcia-Boente [Wed, 11 Jul 2007 09:09:10 +0000 (09:09 +0000)]
* Review dimming rules, according new specs about
main view and viewer windows toolbar and menu items.

pmo-trunk-r2691

16 years ago * Updated the help ids to the new specs
Sergio Villar Senin [Wed, 11 Jul 2007 08:43:54 +0000 (08:43 +0000)]
* Updated the help ids to the new specs
* Fixed an issue when detecting the type of the folder when showing the help

pmo-trunk-r2690

16 years ago * Refactored the "Move to" stuff in the ui actions
Sergio Villar Senin [Wed, 11 Jul 2007 08:10:51 +0000 (08:10 +0000)]
* Refactored the "Move to" stuff in the ui actions
* Added a next_row_reference field to help the viewer when the current message is transfered
* Fixes NB#61931 consecutive move operations from the viewer are working now
* Fixes NB#62925 trying to move to root folders shows an error dialog and no longer crashes

pmo-trunk-r2689

16 years agoAdded all the bugs in resolved fixed status for w28.
Dirk-Jan C. Binnema [Wed, 11 Jul 2007 07:39:12 +0000 (07:39 +0000)]
Added all the bugs in resolved fixed status for w28.

pmo-trunk-r2688

16 years ago* switch the focus to the renamed folder... fixes NB#63002
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 23:59:26 +0000 (23:59 +0000)]
* switch the focus to the renamed folder... fixes NB#63002

pmo-trunk-r2687

16 years ago* compilation fix
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 23:58:41 +0000 (23:58 +0000)]
* compilation fix

pmo-trunk-r2686

16 years ago* let the dbus-invoked msgs use the same uids as other messages,
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 23:13:08 +0000 (23:13 +0000)]
* let the dbus-invoked msgs use the same uids as other messages,
  so, modest-window-mgr will do the right thing.

also fixed up modest-window-mgr a bit.

  fixes: NB#62897

pmo-trunk-r2685

16 years ago* select the newly created folder.
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 19:04:52 +0000 (19:04 +0000)]
* select the newly created folder.
  when creating a new folder, we do a
modest_folder_view_select_folder (view, folder, TRUE)
   the TRUE means that we will register the changed
   folder in the folder view, and it will be selected
   as soon as the folder view is updated

pmo-trunk-r2684

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Tue, 10 Jul 2007 19:03:29 +0000 (19:03 +0000)]
* src/maemo/modest-msg-edit-window.c:
* Changed max width of images as using the thumbable scrollbar
  we have less space for the editor (fixes NB#62804).

pmo-trunk-r2683

16 years ago* select the inbox of the newly selected account; fixes NB#58667
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 18:46:40 +0000 (18:46 +0000)]
* select the inbox of the newly selected account; fixes NB#58667

pmo-trunk-r2682

16 years ago2007-07-10 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 10 Jul 2007 18:24:30 +0000 (18:24 +0000)]
2007-07-10  Murray Cumming  <murrayc@murrayc.com>

* src/modest-ui-dimming-rules.c:
(modest_ui_dimming_rules_on_new_msg),
(modest_ui_dimming_rules_on_reply_msg),
(modest_ui_dimming_rules_on_delete_msg),
(modest_ui_dimming_rules_on_details),
(modest_ui_dimming_rules_on_view_window_move_to),
(modest_ui_dimming_rules_on_view_previous),
(modest_ui_dimming_rules_on_view_next),
(_invalid_folder_for_purge): Added checks before
casting the window. This looks like an actual
logic error in _invalid_folder_for_purge(), because it
tries to use a ModestMainWindow as a message window.

pmo-trunk-r2681

16 years ago2007-07-10 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 10 Jul 2007 17:13:46 +0000 (17:13 +0000)]
2007-07-10  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-account-settings-dialog.c:
(show_error): Use the same implementation as in
modest-easysetup-wizard.c:
(on_entry_invalid_character): The logical ID contains a %s.
Guessed what it should be.
(on_entry_max), (check_data), (on_response): Adapt to
changed show_error().
(create_page_account_details): Really call
modest_validating_entry_set_func() on the correct widgets.
* src/maemo/easysetup/modest-easysetup-wizard.c:
(on_entry_invalid_character): Fix the logical ID here too.
 (create_page_account_details),
(create_page_user_details):
Really call
modest_validating_entry_set_func() on the correct widgets.

* src/modest-tny-account-store.c: (modest_tny_account_store_alert):
Do not try to use the account if it is NULL.

pmo-trunk-r2680

16 years ago2007-07-10 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 10 Jul 2007 17:13:37 +0000 (17:13 +0000)]
2007-07-10  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-account-settings-dialog.c:
(show_error): Use the same implementation as in
modest-easysetup-wizard.c:
(on_entry_invalid_character): The logical ID contains a %s.
Guessed what it should be.
(on_entry_max), (check_data), (on_response): Adapt to
changed show_error().
(create_page_account_details): Really call
modest_validating_entry_set_func() on the correct widgets.
* src/maemo/easysetup/modest-easysetup-wizard.c:
(on_entry_invalid_character): Fix the logical ID here too.
 (create_page_account_details),
(create_page_user_details):
Really call
modest_validating_entry_set_func() on the correct widgets.

* src/modest-tny-account-store.c: (modest_tny_account_store_alert):
Do not try to use the account if it is NULL.

pmo-trunk-r2679

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Tue, 10 Jul 2007 16:42:33 +0000 (16:42 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * Now we load the pixbuf that goes to the buffer before adding
          the attachment, as this causes reads to the vfs stream, and
          then, corruption of data.

pmo-trunk-r2678

16 years ago* Call refilter function on header view only when header delete
Javier Fernandez Garcia-Boente [Tue, 10 Jul 2007 16:25:36 +0000 (16:25 +0000)]
* Call refilter function on header view only when header delete
change is notified.
* Fixes: NB#60389

pmo-trunk-r2677

16 years ago* src/modest-mail-operation.[ch]:
Jose Dapena Paz [Tue, 10 Jul 2007 16:13:57 +0000 (16:13 +0000)]
* src/modest-mail-operation.[ch]:
        * New mail operation "get_mime_part_size", asynchronous. This
          is used to show the mime part size in attachment view without
          blocking the UI when the size is big enough.
        * New mail operation "create_msg", asynchronous, that contains
          the old work done in save to drafts and send new mail for
          creating a valid TnyMsg instance to send. This is required
          because the operation can take long when the attachments are
          big enough. This operation is private.
        * Now send_new_mail and save_to_drafts use the new "create_msg"
          mail operation to avoid stalling the UI.
* src/widgets/modest-attachment-view.c:
        * Now we use the new mail operation for getting the attachment
          size. This way we don't block on attaching big files or
          from slow folders (as shared folders). We also remove the
          old synchronous implementation.
* src/modest-tny-msg.[ch]:
        * Now the constructors get a GList of attachments, not a (really
          fake) GSList.
* src/modest-ui-actions.c:
        * Now the save to drafts action does not remove the old draft
          itself, as it's now done internally in the mail operation. We
          also provide the edit window.
* src/maemo/modest-msg-edit-window.c:
        * We don't hang looping when there's an error in mime parts.
        * Now we check if the widget is visible on clipboard owner
          handler to prevent crashes on calling the handler after
          destroiying and before finalizing.

pmo-trunk-r2676

16 years ago2007-07-10 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Tue, 10 Jul 2007 16:00:52 +0000 (16:00 +0000)]
2007-07-10  Johannes Schmid <johannes.schmid@openismus.com>

* src/modest-ui-actions.c: (create_move_to_dialog),
(modest_ui_actions_on_main_window_move_to),
(modest_ui_actions_on_msg_view_window_move_to):
* src/widgets/modest-folder-view.c: (modest_folder_view_init),
(filter_row), (modest_folder_view_show_non_move_folders):
* src/widgets/modest-folder-view.h:

Hide Sent & Outbox folder in \"move to\"-dialog. Does not work for
the Sent folder yet as it does not report the correct folder type.

pmo-trunk-r2675

16 years ago* Review status management of OUTBOX messages while
Javier Fernandez Garcia-Boente [Tue, 10 Jul 2007 14:59:21 +0000 (14:59 +0000)]
* Review status management of OUTBOX messages while
are being processed by TnySendQueue.
* Connect handlers to 'msg-sending' and 'msg-sent'
signals emmited by TnyCamelSendQueue.

pmo-trunk-r2674

16 years ago* fixes NB#62982 (wrong logical id)
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 14:33:15 +0000 (14:33 +0000)]
* fixes NB#62982 (wrong logical id)
* add NULL check to modest_maemo_utils_folder_writable as it *always* seemed
  to crash in my sbox

pmo-trunk-r2673

16 years agoUpdated to the new tny_session_camel_set_initialized API
Philip Van Hoof [Tue, 10 Jul 2007 14:32:16 +0000 (14:32 +0000)]
Updated to the new tny_session_camel_set_initialized API

pmo-trunk-r2672

16 years ago2007-07-10 Johannes Schmid <johannes.schmid@openismus.com>
Johannes Schmid [Tue, 10 Jul 2007 14:29:21 +0000 (14:29 +0000)]
2007-07-10  Johannes Schmid <johannes.schmid@openismus.com>

* src/maemo/modest-msg-edit-window.c: (init_window):
Fixed bora build

pmo-trunk-r2671

16 years ago2007-07-10 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 10 Jul 2007 13:02:22 +0000 (13:02 +0000)]
2007-07-10   Murray Cumming  <murrayc@murrayc.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: (show_error):
Take a parent widget instead of a parent window, and
implement this with hildon_banner_show_information() instead.
Non-Maemo builds can just ifdef that there.
This fixed projects.maemo.org bug NB#62766.

(on_entry_invalid_character): Use show_error() again instead
of using hildon directly, and use the _CS() macro to use the correct
translation domain.
(create_account), (check_for_supported_auth_methods), (on_entry_max):
Pass a widget instead od a window to show_error().

pmo-trunk-r2670

16 years ago* trivial fix to show the right banner, fixes NB#60521
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 11:58:12 +0000 (11:58 +0000)]
* trivial fix to show the right banner, fixes NB#60521

pmo-trunk-r2669

16 years ago2007-07-10 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 10 Jul 2007 11:54:11 +0000 (11:54 +0000)]
2007-07-10  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.c: (modest_tny_account_store_alert):
Adapt to the changed tinymail API, using the new TnyAccount* parameter.
This allows us to show the server name in the error message, fixing
projects.maemo.org bug NB#62904.
Also, use the appropriate logical ID message for the account protocol.

pmo-trunk-r2668

16 years ago * Added gdk_threads_enter/leave stuff to the idle that shows the password dialog
Sergio Villar Senin [Tue, 10 Jul 2007 10:19:01 +0000 (10:19 +0000)]
* Added gdk_threads_enter/leave stuff to the idle that shows the password dialog
* Replaced the tny_folder_sync by the async version
* The toggle button of the toolbar and the View->Folders menu share now the same GtkAction. Fixes the problem of the toolbar button not pressed when starting

pmo-trunk-r2667

16 years agoPatch for bug 60551.
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 09:25:38 +0000 (09:25 +0000)]
Patch for bug 60551.

pmo-trunk-r2666

16 years ago* show Ok/Cancel instead of Yes/No, fixes NB#59428
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 09:20:16 +0000 (09:20 +0000)]
* show Ok/Cancel instead of Yes/No, fixes NB#59428

pmo-trunk-r2665

16 years ago* Set focus on next row after delete selected headers
Javier Fernandez Garcia-Boente [Tue, 10 Jul 2007 08:51:20 +0000 (08:51 +0000)]
* Set focus on next row after delete selected headers
on main window.
* Add a check for msg_id after get it from header just
after moved it to OUTBOX folder.
* Fixes: NB#61937

pmo-trunk-r2664

16 years ago2007-07-10 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Tue, 10 Jul 2007 08:13:22 +0000 (08:13 +0000)]
2007-07-10  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.c: (on_idle_wrong_password):
A compilation fix, though the build wasn't broken for me.

pmo-trunk-r2663

16 years agoPerformance improvement and bugfix for 62489
Philip Van Hoof [Tue, 10 Jul 2007 08:03:48 +0000 (08:03 +0000)]
Performance improvement and bugfix for 62489

pmo-trunk-r2662

16 years ago* src/maemo/modest-platform.c:
Jose Dapena Paz [Tue, 10 Jul 2007 07:06:00 +0000 (07:06 +0000)]
* src/maemo/modest-platform.c:
        * Fixed a crash that happened on moving messages to outbox.
          The code to connect and wait, didn't consider the case of
          a message from a folder without an account (fixes NB#62872).

pmo-trunk-r2661

16 years ago* fix for the logical string part of NB#62872
Dirk-Jan C. Binnema [Tue, 10 Jul 2007 06:11:53 +0000 (06:11 +0000)]
* fix for the logical string part of NB#62872

pmo-trunk-r2660

16 years ago2007-07-09 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 9 Jul 2007 21:26:20 +0000 (21:26 +0000)]
2007-07-09  Murray Cumming  <murrayc@murrayc.com>

* src/modest-ui-actions.c: (modest_ui_actions_on_send_receive):
Do not try to unref a NULL folder store, to avoid a runtime warning.
This seems to happen sometimes when changing accounts settings.

pmo-trunk-r2659

16 years ago2007-07-09 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 9 Jul 2007 20:25:32 +0000 (20:25 +0000)]
2007-07-09  Murray Cumming  <murrayc@murrayc.com>

* src/modest-tny-account-store.c:
(modest_tny_account_store_instance_init),
(modest_tny_account_store_finalize),
(on_account_settings_hide), (on_idle_wrong_password):
Use a GHashTable to ensure that we only show one account settings
dialog per modest account. This avoids us having a dialog open for
both the store and transport accounts, or due to repeated get_password()
calls that shouldn't happen anyway.

pmo-trunk-r2658

16 years ago2007-07-09 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 9 Jul 2007 19:29:53 +0000 (19:29 +0000)]
2007-07-09  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-maemo-utils.c: (on_hide),
(modest_maemo_show_dialog_and_forget): Handle the response, because
the window is not even hidden by default.

* src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
* src/modest-ui-actions.c: (modest_ui_actions_on_accounts):
Use modest_maemo_show_dialog_and_forget() instead of gtk_dialog_run()
which seems to prevent some modality problems.

* src/maemo/modest-main-window.c: (on_sendqueue_error_happened):
Ignore user cancellation errors.

* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
Added modest_server_account_get_password() and
modest_server_account_get_has_password() to avoid direct use of
conf enums.

* src/maemo/modest-account-settings-dialog.h:
* src/maemo/modest-account-settings-dialog.c:
(modest_account_settings_dialog_init): Store the notebook so we can
use it later.
Added modest_account_settings_dialog_switch_to_user_info().

* src/modest-tny-account-store.c:
(get_password): When the password in the account settings is wrong (we think),
show the relevant page of the account settings dialog, in the mainloop.
However, we currently get many of these at once because cancel does not
seem to cancel.
(forget_password): Do not forget the password
from the account settings, because this causes side-effects when
tinymail seems to call it at strange time, maybe because of how we
are cancelling get_password().
(modest_tny_account_store_alert): Ignore user cancellations.

pmo-trunk-r2657

16 years ago * The set_first_account_as_default does no longer select the same account than the...
Sergio Villar Senin [Mon, 9 Jul 2007 17:18:32 +0000 (17:18 +0000)]
* The set_first_account_as_default does no longer select the same account than the one it currently has

pmo-trunk-r2656

16 years ago* set the uber-ugly thumbable scrollbar as required by the spec. for main, viewer...
Dirk-Jan C. Binnema [Mon, 9 Jul 2007 16:19:53 +0000 (16:19 +0000)]
* set the uber-ugly thumbable scrollbar as required by the spec. for main, viewer and editor
  fixes: NB#62858

pmo-trunk-r2655

16 years ago * Removed some comments
Sergio Villar Senin [Mon, 9 Jul 2007 15:59:12 +0000 (15:59 +0000)]
* Removed some comments
* Fixed the removal of accounts, now the cache is deleted again
* Fixed a bug when retrieving server accouns, that could cause crashes when refreshing the accounts

pmo-trunk-r2654

16 years ago* src/modest-ui-dimming-rules.c:
Jose Dapena Paz [Mon, 9 Jul 2007 14:59:28 +0000 (14:59 +0000)]
* src/modest-ui-dimming-rules.c:
        * We also dim if there's no folder nor message selected
          (fixes NB#60595).

pmo-trunk-r2653

16 years ago* src/modest-ui-dimming-rules.c:
Jose Dapena Paz [Mon, 9 Jul 2007 14:47:45 +0000 (14:47 +0000)]
* src/modest-ui-dimming-rules.c:
        * Dim delete action for archive folder.

pmo-trunk-r2652

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Mon, 9 Jul 2007 14:26:18 +0000 (14:26 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * Now we truncate multiline pastes to first line in
          subject (fixes NB#62320).

pmo-trunk-r2651

16 years ago* src/widgets/modest-header-view-render.c:
Jose Dapena Paz [Mon, 9 Jul 2007 14:12:42 +0000 (14:12 +0000)]
* src/widgets/modest-header-view-render.c:
        * Change the way we set the grey color in the field that
          require this. This way when we select a header, it does not
          get black color.
* src/widgets/modest-header-view.c:
        * Added alignments to fields of the header, to make the message
          appear clearly separated (fixes NB#62262).

pmo-trunk-r2650

16 years ago* src/modest-ui-actions.c:
Jose Dapena Paz [Mon, 9 Jul 2007 13:25:42 +0000 (13:25 +0000)]
* src/modest-ui-actions.c:
        * Now we really copy from GtkHTML widgets (this widget was
          not considered in _on_copy) (fixes NB#61491).
* src/modest-msg-edit-window.c:
        * Now we update the dimming status of "paste" only on showing
          edit menu.

pmo-trunk-r2649

16 years ago* src/maemo/modest-icon-names.h:
Jose Dapena Paz [Mon, 9 Jul 2007 12:59:07 +0000 (12:59 +0000)]
* src/maemo/modest-icon-names.h:
        * Add maemo icons for next, previous and find in page.
* src/maemo/modest-main-window-ui.h, src/maemo/modest-msg-view-window.c:
        * Use the maemo theme icons for next, previous and find in page
          toolbar buttons (fixes NB#61158).

pmo-trunk-r2648

16 years agoThe set_pass_func is not always the last to set
Philip Van Hoof [Mon, 9 Jul 2007 11:44:11 +0000 (11:44 +0000)]
The set_pass_func is not always the last to set

pmo-trunk-r2647

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Mon, 9 Jul 2007 11:23:24 +0000 (11:23 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * Improved the way we get the files to attach. Now we get
          correctly the filenames if they come from a remote uri. Now
          the filenames get the escapes removed too. And we get the
          mime types better.

pmo-trunk-r2646

16 years agoUpdate ChangeLog2: This fixes projects.maemo.org bug NB#62646
Murray Cumming [Mon, 9 Jul 2007 11:15:51 +0000 (11:15 +0000)]
Update ChangeLog2: This fixes projects.maemo.org bug NB#62646

pmo-trunk-r2645

16 years ago2007-07-09 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 9 Jul 2007 11:14:59 +0000 (11:14 +0000)]
2007-07-09  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-maemo-utils.h:
* src/maemo/modest-maemo-utils.c:
Added modest_maemo_show_information_note_and_forget() for use instead of
gtk_dialog_run() when the response is not needed, to avoid an extra
mainloop which could cause a hang.

* src/maemo/modest-main-window.c: (on_sendqueue_error_happened):
Use the logical IDs for the error message, though they are not
specific enough. Note that I used modest_maemo_show_information_note_and_forget()
because gtk_dialog_run() caused a hang here (the window did not close).

pmo-trunk-r2644

16 years agoAdded the fixes made.
Dirk-Jan C. Binnema [Mon, 9 Jul 2007 10:39:06 +0000 (10:39 +0000)]
Added the fixes made.

pmo-trunk-r2643

16 years ago* Some changes to cancel sending operation
Javier Fernandez Garcia-Boente [Mon, 9 Jul 2007 10:37:14 +0000 (10:37 +0000)]
* Some changes to cancel sending operation
using ModestTnySendQueue.

pmo-trunk-r2642

16 years ago* add some argument checking to
Dirk-Jan C. Binnema [Mon, 9 Jul 2007 09:14:29 +0000 (09:14 +0000)]
* add some argument checking to
  modest_tny_account_store_get_transport_account_for_open_connection
  that might help with #62210

pmo-trunk-r2641

16 years ago * Fixes NB#60725 which affects systest, now an information note is shown instead...
Sergio Villar Senin [Mon, 9 Jul 2007 08:50:13 +0000 (08:50 +0000)]
* Fixes NB#60725 which affects systest, now an information note is shown instead of a information banner when notifying the user that an attachments has no registered viewer

pmo-trunk-r2640

16 years agoSetting the headers to SEEN after deleting them
Philip Van Hoof [Mon, 9 Jul 2007 08:32:44 +0000 (08:32 +0000)]
Setting the headers to SEEN after deleting them

pmo-trunk-r2639

16 years ago* Enable modest-tny-send-queue to store information about
Javier Fernandez Garcia-Boente [Mon, 9 Jul 2007 08:30:17 +0000 (08:30 +0000)]
* Enable modest-tny-send-queue to store information about
mails to be sent.
* Sending operation wont show progress information.
* Implement cancel sending operation by setting SUSPENDED priority
flags on all outbox headers.
* Fixes: NB#58571, NB#60517, NB#60916, NB#62448

pmo-trunk-r2638

16 years ago2007-07-09 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Mon, 9 Jul 2007 08:28:11 +0000 (08:28 +0000)]
2007-07-09  Murray Cumming  <murrayc@murrayc.com>

* src/modest-account-mgr-helpers.h:
* src/modest-account-mgr-helpers.c:
Added modest_account_mgr_get_store_protocol().

* src/maemo/modest-account-view-window.c:
(on_delete_button_clicked): Show different warning text depending on
the protocol (IMAP or POP) as per the UI spec. Use a HildonNote instead
of a GtkDialog, which fixes the truncation, fixing projects.maemo.org bug
NB#59037.

pmo-trunk-r2637

16 years ago * Fixes NB#62776 which affects systest, now the root folders shows the main view...
Sergio Villar Senin [Mon, 9 Jul 2007 08:20:08 +0000 (08:20 +0000)]
* Fixes NB#62776 which affects systest, now the root folders shows the main view help when help is clicked in their CSM

pmo-trunk-r2636

16 years ago* src/widgets/modest-details-dialog.c:
Jose Dapena Paz [Mon, 9 Jul 2007 07:45:10 +0000 (07:45 +0000)]
* src/widgets/modest-details-dialog.c:
        * Now we show the "created" field for all types. In particular
          it shows proper date information for outbox and drafts folder
          (fixes NB#58615).

pmo-trunk-r2635

16 years ago * Modest was not replying to messages in the msg view window due to the lack of...
Sergio Villar Senin [Mon, 9 Jul 2007 07:13:14 +0000 (07:13 +0000)]
* Modest was not replying to messages in the msg view window due to the lack of this check

pmo-trunk-r2634

16 years ago* restore the window-icons
Dirk-Jan C. Binnema [Mon, 9 Jul 2007 05:47:10 +0000 (05:47 +0000)]
* restore the window-icons

pmo-trunk-r2633

16 years ago* unbreak deleting messages from the viewer
Dirk-Jan C. Binnema [Mon, 9 Jul 2007 05:33:06 +0000 (05:33 +0000)]
* unbreak deleting messages from the viewer

pmo-trunk-r2632

16 years ago2007-07-09 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Sun, 8 Jul 2007 22:20:11 +0000 (22:20 +0000)]
2007-07-09  Murray Cumming  <murrayc@murrayc.com>

* src/maemo/modest-msg-edit-window.c:
(modest_msg_edit_window_attach_file): Set the file chooser dialog title
as per the UI spec. This fixes proejcts.maemo.org bug NB#59056.

pmo-trunk-r2631

16 years agovery minor stuff.
Murray Cumming [Sun, 8 Jul 2007 22:11:41 +0000 (22:11 +0000)]
very minor stuff.

pmo-trunk-r2630

16 years ago* fix for tiny reply-toolbar-csm bug, thanks to leonid's comment.
Dirk-Jan C. Binnema [Sun, 8 Jul 2007 14:09:21 +0000 (14:09 +0000)]
* fix for tiny reply-toolbar-csm bug, thanks to leonid's comment.
  fixes: NB#59001

pmo-trunk-r2629

16 years ago* modest-folder-view.c: change sorting for remote folders: make Inbox be the first...
Dirk-Jan C. Binnema [Sun, 8 Jul 2007 12:12:37 +0000 (12:12 +0000)]
* modest-folder-view.c: change sorting for remote folders: make Inbox be the first folder in remote
* modest-tny-folder: don't try to be too smart about guessing folder types. a local folder
   called "Inbox" should not be treated as an Inbox folder.

pmo-trunk-r2628

16 years ago* include artificial breakpoints in very long (>256 chars) lines; this will make...
Dirk-Jan C. Binnema [Sun, 8 Jul 2007 10:32:26 +0000 (10:32 +0000)]
* include artificial breakpoints in very long (>256 chars) lines; this will make sure the regexp parsing is not DoS'ing modest in some pathological cases.

the problem was that we do a text->html conversion for showing messages, and
  run some regexps to hyperlinkify things that look like email addresses etc.,
  when lines are really long, this takes a *lot* of time.

  Fixes: NB#62530

pmo-trunk-r2627

16 years ago2007-07-07 Armin Burgmeier <armin@openismus.com>
Armin Burgmeier [Sat, 7 Jul 2007 18:28:59 +0000 (18:28 +0000)]
2007-07-07  Armin Burgmeier  <armin@openismus.com>

* src/maemo/easysetup/modest-easysetup-wizard.c: Translate
ckdg_ib_maximum_characters_reached from correct package.

* src/modest-ui-actions.c: Show an error message when a folder could
not be created. Tinymail does not give us specific error codes about
what has gone wrong, so we assume that a folder with that name
already exists, though there might be other reasons.

pmo-trunk-r2626

16 years ago* when pushing the delete toolbar button in the main window, or choosing
Dirk-Jan C. Binnema [Sat, 7 Jul 2007 16:29:16 +0000 (16:29 +0000)]
* when pushing the delete toolbar button in the main window, or choosing
  the delete menu item, delete either message or folder, depending on the
  focus. the dimming rules already implemented this.

Fixes: NB#62765, NB#62748

pmo-trunk-r2625

16 years ago* fix logical ID bug #62763.
Dirk-Jan C. Binnema [Sat, 7 Jul 2007 14:26:10 +0000 (14:26 +0000)]
* fix logical ID bug #62763.
* while tracking this bug down, found that modest-platform was
  measuring string character lengths with strlen, changed this
  in g_utf8_strlen. also make the length check greater-than
  instead of equal, as copy-paste may change the length with
  more than one at a time.

pmo-trunk-r2624

16 years ago* trivial: make the zoomlevels in the editor follow the UI guidelines.
Dirk-Jan C. Binnema [Sat, 7 Jul 2007 13:19:28 +0000 (13:19 +0000)]
* trivial: make the zoomlevels in the editor follow the UI guidelines.
  fixes: NB#62269

pmo-trunk-r2623

16 years ago2007-07-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Jul 2007 21:17:55 +0000 (21:17 +0000)]
2007-07-06  Murray Cumming <murrayc@murrayc.com>

* src/modest-tny-account-store.c: (modest_tny_account_store_alert):
        Use the new TNY_ACCOUNT_ERROR_TRY_CONNECT_CERTIFICATE error code to
        give a more exact error message that can be partly translated.

pmo-trunk-r2622

16 years ago * Added msg-changed signal to the viewer window, to notify about the change in the...
Sergio Villar Senin [Fri, 6 Jul 2007 19:38:21 +0000 (19:38 +0000)]
* Added msg-changed signal to the viewer window, to notify about the change in the message that it is shown
* Fixes NB#62532, only prevent the message currently being shown from deleting

pmo-trunk-r2621

16 years ago* Fixed bug on header-view-render, getting header flags.
Javier Fernandez Garcia-Boente [Fri, 6 Jul 2007 18:03:36 +0000 (18:03 +0000)]
* Fixed bug on header-view-render, getting header flags.

pmo-trunk-r2620

16 years ago* Uncomment flush call to tny_send_queue.
Javier Fernandez Garcia-Boente [Fri, 6 Jul 2007 17:51:08 +0000 (17:51 +0000)]
* Uncomment flush call to tny_send_queue.
* Implement cancel sending operation, seting the
TNY_HEADER_FLAG_SUSPENDED_PRIORITY flag.

pmo-trunk-r2619

16 years ago* src/widgets/modest-attachment-view.c:
Jose Dapena Paz [Fri, 6 Jul 2007 16:26:31 +0000 (16:26 +0000)]
* src/widgets/modest-attachment-view.c:
        * Now purged attachments are shown in grey and italics.

pmo-trunk-r2618

16 years ago* src/widgets/modest-attachment-view.c:
Jose Dapena Paz [Fri, 6 Jul 2007 16:15:40 +0000 (16:15 +0000)]
* src/widgets/modest-attachment-view.c:
        * Now it retrieves the mime part size properly even when it was
          local.

pmo-trunk-r2617

16 years ago* src/modest-mail-operation.c:
Jose Dapena Paz [Fri, 6 Jul 2007 15:59:17 +0000 (15:59 +0000)]
* src/modest-mail-operation.c:
        * Now we store the attachments flag in the header of the
          message to store. This way the attachment gets correctly stored
          in local folders (fixes NB#61809).

pmo-trunk-r2616

16 years ago * Execute all pending gtk+ events before destroying the dialogs
Sergio Villar Senin [Fri, 6 Jul 2007 15:27:32 +0000 (15:27 +0000)]
* Execute all pending gtk+ events before destroying the dialogs

pmo-trunk-r2615

16 years ago* src/widgets/modest-attachment-view.c:
Jose Dapena Paz [Fri, 6 Jul 2007 14:43:49 +0000 (14:43 +0000)]
* src/widgets/modest-attachment-view.c:
        * Count the decoded attachment size instead of the encoded size.
          This should make the size be the expected one (fixes NB#61088).

pmo-trunk-r2614

16 years agoAdded the fixes made on july 6th.
Dirk-Jan C. Binnema [Fri, 6 Jul 2007 14:31:14 +0000 (14:31 +0000)]
Added the fixes made on july 6th.

pmo-trunk-r2613

16 years ago2007-07-06 Murray Cumming <murrayc@murrayc.com>
Murray Cumming [Fri, 6 Jul 2007 13:52:59 +0000 (13:52 +0000)]
2007-07-06  Murray Cumming  <murrayc@murrayc.com>

* libtinymail/tny-enums.h:
* libtinymail/tny-error.h: Added
TNY_ACCOUNT_ERROR_TRY_CONNECT_HOST_LOOKUP_FAILED,
TNY_ACCOUNT_ERROR_TRY_CONNECT_SERVICE_UNAVAILABLE and
TNY_ACCOUNT_ERROR_TRY_CONNECT_AUTHENTICATION_NOT_SUPPORTED so
that the TnyAccountStore::alert_func() callback can sometimes get
more specific information, so that it doesn't need to just blindly show
the camel internal error message.
* libtinymail/tny-error.c: Updated tny_error_get_type(), though this should be
generated code as in GTK+.

* libtinymail-camel/tny-camel-account-priv.h:
* libtinymail-camel/tny-camel-account.c:
Added _tny_camel_account_get_tny_error_code_for_camel_exception_id() for
choosing a suitable tinymail GError code.
(_tny_camel_account_try_connect), (_tny_camel_account_set_online):
Use a specific error code for the GErrors.

* libtinymail-camel/tny-session-camel.c:
(tny_session_camel_alert_user): Add a TODO noting that this is where we
lose some specific error codes, and where we do a dodgy string comparison
on the message text.

* camel/camel-exception-list.def: Added a
CAMEL_EXCEPTION_SYSTEM_HOST_LOOKUP_FAILED error code enum value.
* camel/camel-net-utils.c: (camel_getaddrinfo):
Use the new error code when appropriate.

pmo-trunk-r2612

16 years agoApplied patch for NB#59107.
Dirk-Jan C. Binnema [Fri, 6 Jul 2007 13:39:12 +0000 (13:39 +0000)]
Applied patch for NB#59107.

pmo-trunk-r2611

16 years agoApplied patch for NB#57631
Dirk-Jan C. Binnema [Fri, 6 Jul 2007 13:38:43 +0000 (13:38 +0000)]
Applied patch for NB#57631

pmo-trunk-r2610

16 years agoApplied the patch sent for NB#59004. changes to en_GB.po and src/maemo/modest-msg...
Dirk-Jan C. Binnema [Fri, 6 Jul 2007 13:33:04 +0000 (13:33 +0000)]
Applied the patch sent for NB#59004. changes to en_GB.po and src/maemo/modest-msg-view-window.c

pmo-trunk-r2609

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Fri, 6 Jul 2007 13:22:09 +0000 (13:22 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * Removed all insenstive handlers for menu actions, as we don't show
          insensitive information banners from menus, only from toolbar
* src/widgets/modest-attachments-view.c:
        * Lose selection when the window focus leaves (fixes NB#61455).

pmo-trunk-r2608

16 years ago* src/maemo/modest-msg-edit-window.c:
Jose Dapena Paz [Fri, 6 Jul 2007 11:02:04 +0000 (11:02 +0000)]
* src/maemo/modest-msg-edit-window.c:
        * The base font scale of wpeditor is 1.5, and not one. Then, we multiply
          by 1.5 all the zooms set to the wptextbuffer. This way we get the proper
          font scale.

pmo-trunk-r2607

16 years ago * Fixes NB#57458, now the currently selected folder is refreshed when doing a send...
Sergio Villar Senin [Fri, 6 Jul 2007 10:05:32 +0000 (10:05 +0000)]
* Fixes NB#57458, now the currently selected folder is refreshed when doing a send&receive

pmo-trunk-r2606

16 years ago* Disable notifications for dimmed menu items.
Javier Fernandez Garcia-Boente [Fri, 6 Jul 2007 09:28:52 +0000 (09:28 +0000)]
* Disable notifications for dimmed menu items.
* Fixes: NB#62283, NB#62392, NB#62398, NB#61244, NB#61501

pmo-trunk-r2605

16 years ago* check the parameters for
Dirk-Jan C. Binnema [Fri, 6 Jul 2007 09:13:00 +0000 (09:13 +0000)]
* check the parameters for
   modest_tny_account_store_get_transport_account_for_open_connection
  this fixes the crasher when other applications where invoking email over dbus
  while there were no accounts yet (bug #61676)

pmo-trunk-r2604

16 years ago* unitialize modest-window-mgr before the other singletons, so
Dirk-Jan C. Binnema [Fri, 6 Jul 2007 07:10:51 +0000 (07:10 +0000)]
* unitialize modest-window-mgr before the other singletons, so
  it can still save it's settings etc. in its finalize
  (this was causing GLib-Criticals upon exit in some cases,
  as well as forgetting settings)
* before doing gtk_main_quit in modest-window-mgr, check that we
  haven't already done that (not sure if we actually *ever* should
  call gtk_main_quit there, but at least now this clears up
  another Glib-Critical upon exit in some cases

pmo-trunk-r2603

16 years ago* src/maemo/modest-msg-view-window.c:
Jose Dapena Paz [Thu, 5 Jul 2007 20:32:12 +0000 (20:32 +0000)]
* src/maemo/modest-msg-view-window.c:
        * (..._find_toolbar_search): invalidate search if there are no
          matches, just as we do with search complete (fixes NB#62257).

pmo-trunk-r2602

16 years agoWork to improve drafts handling, mainly from the UI pov. This, with
Jose Dapena Paz [Thu, 5 Jul 2007 20:23:03 +0000 (20:23 +0000)]
Work to improve drafts handling, mainly from the UI pov. This, with
the last changes in tinymail, fixes NB#62652.
* src/widgets/modest-platform.h, src/maemo/modest-platform.c:
        * Added new function modest_platform_run_yes_no_dialog. It's
          required in some dialogs in specs.
* src/widgets/modest-msg-edit-window.h,
  src/maemo/modest-msg-edit-window.c:
        * New method to set the draft message from outside. This is used
          to properly update the draft message when it's a new one.
        * On setting a new draft message, it replaces the registered
          header in the window manager. This way we can open a drafts
          message more than one time.
* src/widgets/modest-window-mgr.c:
        * Now the save to drafts confirmation dialog shows Yes/no
          alternatives instead of Ok/Cancel.
* src/modest-ui-actions.c:
        * Now, when a draft is saved from the editor, we set the
          created draft as the new draft message of editor. This
          should make saving drafts more than one time work as
          expected.
* src/modest-mail-operation.[ch]:
        * Now ..._save_to_drafts returns the newly created message.

pmo-trunk-r2601

16 years ago* Set focus on next header after drag&drop operaiton.
Javier Fernandez Garcia-Boente [Thu, 5 Jul 2007 19:08:12 +0000 (19:08 +0000)]
* Set focus on next header after drag&drop operaiton.
* Fixes: NB#61502

pmo-trunk-r2600

16 years ago* Delete dimming rule about NON_WRITABLE folders.
Javier Fernandez Garcia-Boente [Thu, 5 Jul 2007 18:36:35 +0000 (18:36 +0000)]
* Delete dimming rule about NON_WRITABLE folders.
* Fixes: NB#62603

pmo-trunk-r2599

16 years ago* Add a new check of toolbar dimming rules
Javier Fernandez Garcia-Boente [Thu, 5 Jul 2007 18:03:53 +0000 (18:03 +0000)]
* Add a new check of toolbar dimming rules
on 'focus-in' event of both, folder view
and headers view windows.
* Fixes: NB#61029

pmo-trunk-r2598