2007-06-08 Murray Cumming <murrayc@murrayc.com>
[modest] / ChangeLog2
1 2007-06-08  Murray Cumming  <murrayc@murrayc.com>
2
3         * src/modest-tny-send-queue.c: (modest_tny_send_queue_add),
4         (modest_tny_send_queue_class_init):
5         Do not use the priv struct because it is empty, to avoid g_warnings 
6         about a non-existant priv struct.
7         
8         * src/modest-tny-account-store.c:
9         (modest_tny_account_store_get_server_account),
10         (modest_tny_account_store_get_transport_account_for_open_connection
11         ): Do not try to get transport server accounts for local folders, 
12         because they don't have any. This avoids a g_warning().
13         
14         * src/maemo/modest-main-window.c:
15         (modest_main_window_notify_send_receive_initied),
16         (on_configuration_key_changed):
17         * src/maemo/modest-msg-edit-window.c: (on_delete_event):
18         * src/modest-defs.h:
19         * src/modest-mail-operation.c:
20         (modest_mail_operation_update_account):
21         * src/modest-tny-account-store.h:
22         * src/modest-tny-account.c:
23         (modest_tny_account_get_special_folder),
24         (modest_tny_account_new_for_local_folders),
25         (modest_tny_account_new_for_per_account_local_outbox_folder):
26         * src/modest-tny-folder.c: (modest_tny_folder_is_local_folder):
27         * src/modest-tny-local-folders-account.c:
28         (add_account_folders_to_merged_folder):
29         * src/modest-ui-actions.c: (modest_ui_actions_on_new_msg),
30         (reply_forward_cb), (modest_ui_actions_on_save_to_drafts),
31         (modest_ui_actions_on_send):
32         * src/widgets/modest-folder-view.c: (update_model):
33         Rename MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID to 
34         MODEST_LOCAL_FOLDERS_ACCOUNT_ID and rename 
35         modest_tny_account_store_get_tny_account_by_account() to 
36         modest_tny_account_store_get_server_account() to make the code clearer.
37
38 2007-06-07  Marcus Bauer  <marcusb@openismus.com>
39
40         * src/dbus_api/modest-dbus-api.h:
41         changed MODEST_DBUS_NAME in order to get dbus auto-activation to work
42         * src/maemo/modest-msg-edit-window.c:
43         (modest_msg_edit_window_attach_file_noninteractive):
44         added g_warning in case the file to be attached does not exist
45         * tests/dbus_api/test_compose_mail.c: (main):
46         removed obsolete comment, added generic files as test case
47
48 2007-06-07  Murray Cumming  <murrayc@murrayc.com>
49
50         * src/modest-tny-account-store.c: (get_server_accounts): 
51         Create the local folders account only once, not once for each outbox, and 
52         not only when there are some outboxes.
53
54 2007-06-07  Murray Cumming  <murrayc@murrayc.com>
55
56         * src/widgets/modest-folder-view.c: (update_model): Comment out some 
57         code that is causing a crash at startup. Sergio says that he is fixing this.
58
59 2007-06-07  Johannes Schmid <johannes.schmid@openismus.com>
60
61         * src/maemo/easysetup/modest-easysetup-wizard.c: (on_before_next):
62         * src/maemo/modest-account-settings-dialog.c:
63         (create_page_outgoing),
64         (modest_account_settings_dialog_set_account_name),
65         (save_configuration):
66         - Fixed handling of the "Use secure authentication" toggle to comply with
67         the ui specification. See also projects.maemo.org bug NB#58400
68         
69         - Restore the Secure connection setting combo correctly when loading
70         the settings dialog
71         
72         * src/maemo/modest-maemo-utils.c:
73         (on_camel_account_get_supported_secure_authentication),
74         (modest_maemo_utils_get_supported_secure_authentication_methods):
75         Fixed a crasher if operation is canceled
76         
77         * src/modest-protocol-info.c: (modest_protocol_info_is_secure),
78         (modest_protocol_info_auth_is_secure):
79         * src/modest-protocol-info.h:
80         
81         Added two new methods to determine if a protocol/auth method is secure/encrypted in 
82         the sense of the "Use secure authentication" toggle.
83
84 2007-06-07  Murray Cumming  <murrayc@murrayc.com>
85
86         * src/modest-tny-account-store.h:
87         * src/modest-tny-account-store.c:
88         Added modest_tny_account_store_get_local_folders_account().
89         
90         * src/modest-tny-folder.h:
91         * src/modest-tny-folder.c:
92         (modest_tny_folder_get_account):
93         Added this replacement for tny_folder_get_account() which returns 
94         the local-folders account for TnyMergeFolders, to avoid the 
95         warning about the unimplemented get_account_func() vfunc().
96         
97         (modest_tny_folder_get_rules),
98         * src/modest-ui-actions.c:
99         (modest_ui_actions_on_folder_selection_changed):
100         * src/modest-mail-operation.c:
101         (modest_mail_operation_remove_folder),
102         (modest_mail_operation_xfer_folder),
103         (modest_mail_operation_rename_folder),
104         (modest_mail_operation_get_msg),
105         (modest_mail_operation_get_msgs_full),
106         (modest_mail_operation_remove_msg),
107         (modest_mail_operation_xfer_msgs),
108         (modest_mail_operation_refresh_folder):
109         Use modest_tny_folder_get_account() instead of tny_folder_get_account().
110         
111 2007-06-07  Murray Cumming  <murrayc@murrayc.com>
112
113         * src/modest-account-mgr-helpers.c: (get_security_for_conf_string),
114         (modest_server_account_set_security): 
115         * src/modest-defs.h: Add comments explaining that our 
116         UI spec means TLS when it says Normal, so these do not look like errors.
117         
118         * src/modest-tny-account.c:
119         (modest_tny_account_new_from_server_account): Use the new tinymail 
120         'wrapped' option for regular SSL, and use the new tinymail 'tls' option 
121         for TLS. This should fix projects.maemo.org bug NB#58460.
122
123 2007-06-06  Murray Cumming  <murrayc@murrayc.com>
124
125         * src/maemo/easysetup/modest-easysetup-wizard.c:
126         (create_account): Correct the position of the gconf sanity check warning.
127         (on_button_edit_advanced_settings): Show the dialog immediately, instead 
128         of using the g_idle_add() hack, because this does not seem to be necessary 
129         on osso 1.1. It might even work on Maemo Bora if the problems were actually 
130         caused by something other than maemo's gconf.
131         This fixes projects.maemo.org bug #59022.
132
133 2007-06-06  Murray Cumming  <murrayc@murrayc.com>
134
135         * src/modest-account-mgr-helpers.c:
136         (modest_account_mgr_get_default_account): Do not check that the account 
137         exists if there is no default account (NULL), to fix a runtime warning.
138
139 2007-06-06  Murray Cumming  <murrayc@murrayc.com>
140
141         * src/widgets/modest-folder-view.c: (update_model):
142         Do not unref the treemodel before we have finished with it.
143         This prevents a valgrind warning and an occasional crash at startup.
144         
145 2007-06-06  Marcus Bauer  <marcusb@openismus.com>
146
147         * libmodest-dbus-client/libmodest-dbus-client.h:
148         added libmodest_dbus_client_compose_mail()
149         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_compose_mail),
150         (on_compose_mail):
151         added functions needed for SendAsMail() functionality
152         * src/maemo/modest-msg-edit-window.c:
153         (modest_msg_edit_window_attach_file_noninteractive):
154         non interactively attaching files to message edit window
155         * src/widgets/modest-msg-edit-window.h:
156         * tests/dbus_api/Makefile.am:
157         added test_compose_mail.c
158         * tests/dbus_api/test_compose_mail.c: (main):
159
160 2007-06-05  Johannes Schmid <johannes.schmid@openismus.com>
161
162         * src/modest-account-view.c:
163         Fixed bug projects.maemo.org bug NB#59307
164
165 2007-06-05  Johannes Schmid <johannes.schmid@openismus.com>
166
167         * src/maemo/easysetup/modest-easysetup-wizard.c:
168         (get_serverport_incoming), (on_before_next), (create_account):
169         * src/maemo/modest-account-settings-dialog.c:
170         (modest_account_settings_dialog_set_account_name):
171         * src/maemo/modest-maemo-utils.c:
172         (on_camel_account_get_supported_secure_authentication_status),
173         (on_camel_account_get_supported_secure_authentication),
174         (on_secure_auth_cancel),
175         (modest_maemo_utils_get_supported_secure_authentication_methods):
176
177         Implemented security authentication for settings and easysetup.
178
179 2007-06-05  Murray Cumming  <murrayc@murrayc.com>
180
181         * src/maemo/modest-main-window.c: (create_details_widget):
182         Show the total size for memory card accounts too, instead of showing 
183         the name again. Fixes bug projects.maemo.org bug NB#59307.
184
185 2007-06-05  Murray Cumming  <murrayc@murrayc.com>
186
187         * src/Makefile.am:
188         * src/modest-tny-simple-folder-store.c:
189         * src/modest-tny-simple-folder-store.h: Removed.
190         
191         * src/modest-tny-local-folders-account.h
192         * src/modest-tny-local-folders-account.c: Added a derived TnyAccount 
193         for the local-folders maildir, with an extra TnyMergedFolder containing 
194         the folders of the per-account outbox store accounts.
195         * src/modest-tny-account-store.c: (get_server_accounts):
196         Add the outboxes to the special local folders account after creating it.
197                 
198         * src/modest-tny-account.c:
199         (modest_tny_account_new_for_local_folders): Create the derived 
200         account when creating the main local-folders account.
201         
202         * src/maemo/modest-main-window.c: (create_details_widget),
203         (modest_main_window_set_contents_style):
204         Adapted to the use of the derived account instead of the folder store.
205         
206         * src/modest-ui-actions.c:
207         (modest_ui_actions_on_folder_selection_changed):
208         * src/modest-ui-dimming-rules.c:
209         (modest_ui_dimming_rules_on_new_folder):
210         * src/widgets/modest-folder-view.c: (text_cell_data),
211         (icon_cell_data), (filter_row), (update_model),
212         (get_cmp_rows_type_pos):
213         
214
215         * src/modest-tny-send-queue.c: (modest_tny_send_queue_new): 
216         Do not get the priv struct, because no priv struct has been set, 
217         to avoid a runtime warning.
218         
219         * src/maemo/modest-platform.c: (modest_platform_show_help): Replace 
220         #ifelse with #else, to fix a warning, to fix the build.
221         
222         
223 2007-06-05  Christian Kellner  <ckellner@openismus.com> 
224
225         * libmodest-dbus-client/libmodest-dbus-client.c:
226         Fix small typo in doc (why do you always see them
227         AFTER committing stuff?)
228
229
230 2007-06-05  Christian Kellner  <ckellner@openismus.com> 
231
232         * libmodest-dbus-client/libmodest-dbus-client.c:
233         (libmodest_dbus_client_search):
234         Initialize hit list with NULL. Also set folder list 
235         to "" if NULL was supplied. 
236         Add documentation.
237
238 2007-06-03  Christian Kellner  <ckellner@openismus.com> 
239
240         * libmodest-dbus-client/libmodest-dbus-client.c:
241         (modest_search_hit_list_free):
242         Make it save to call it with NULL.
243
244         * src/dbus_api/modest-dbus-callbacks.c:
245         * src/modest-search.c:
246         Return full ModestSearchHits as the search result list not TnyHeader
247         since can't be around withouth the correspoding TnyFolder.
248
249 2007-06-03  Johannes Schmid <johannes.schmid@openismus.com>
250
251         * src/maemo/easysetup/modest-easysetup-wizard.c: (on_before_next):
252         Added currently commented code to check for secure auth
253         
254         * src/maemo/modest-account-settings-dialog.c: (on_response),
255         (save_configuration), (show_ok):
256         Fixed projects.maemo.org bugs NB #59248 and #59251
257         
258         * src/maemo/modest-maemo-utils.c:
259         (on_camel_account_get_supported_secure_authentication_status),
260         (on_camel_account_get_supported_secure_authentication),
261         (modest_maemo_utils_get_supported_secure_authentication_methods):
262         * src/maemo/modest-maemo-utils.h:
263         Moved get_supported_secure_authentication() method here to be able
264         to use it from easysetup wizard.
265         
266         * src/modest-pair.c: (on_pair_compare_as_string):
267         Should compare string with first part of pair and not
268         strcmp pairs which will crash.
269         
270         * src/modest-protocol-info.c:
271         (modest_protocol_info_protocol_is_store):
272         * src/modest-protocol-info.h:
273         Added modest_protocol_info_get_auth_protocol_name()
274
275 2007-06-03  Armin Burgmeier  <armin@openismus.com>
276
277         * src/modest-mail-operation.c:
278         (modest_mail_operation_get_msgs_full): Set priv->account also when
279         only retrieving a single message. This avoids a crash when canceling
280         the operation.
281
282         (modest_mail_operation_notify_end): Do not explicitely remove the
283         operation from the queue but only emit the progress_changed signal.
284         The queue itself listens to that signal to remove the operation when
285         it is finished. This reduces coupling and removes a potential deadlock
286         when modest_mail_operation_notify_end() is called from the queue
287         itself. If that is a problem performance-wise, I would suggest to
288         implement a status-changed signal or something.
289
290         * src/modest-mail-operation-queue.c: Make sure to never call a
291         function from another file while the queue is locked. This (hopefully)
292         fixes another deadlock when exiting the application while retrieving
293         mail.
294
295 2007-06-03  Johannes Schmid <johannes.schmid@openismus.com>
296
297         * src/dbus_api/modest-dbus-callbacks.c: (modest_dbus_req_filter):
298         Fixed build if libogs is not available
299         
300 2007-06-03  Christian Kellner  <ckellner@openismus.com>
301
302         * libmodest-dbus-client/libmodest-dbus-client.h:
303         * libmodest-dbus-client/libmodest-dbus-client.c:
304         (libmodest_dbus_client_delete_message):
305         Implement deletion of messages (Client side).
306
307         (modest_search_hit_free),
308         (modest_search_hit_list_free):
309         Utility functions to free the result hits.
310
311         * src/dbus_api/modest-dbus-api.h:
312         * src/dbus_api/modest-dbus-callbacks.c:
313         (on_delete_message),
314         (modest_dbus_req_handler):
315         Implement deletion of messages (Server side).
316         
317         * tests/dbus_api/test_search.c: (main):
318         Free the hits.
319
320         * tests/dbus_api/Makefile.am:
321         * tests/dbus_api/test_delete_message:
322         Add little test for the message deletion logic
323
324 2007-06-03  Armin Burgmeier  <armin@openismus.com>
325
326         * src/modest-mail-operation-queue.c: Fixed a deadlock in finalize()
327         when the operation queue was not empty. projects.maemo.org bug
328         NB#58976.
329
330 2007-06-03  Armin Burgmeier  <armin@openismus.com>
331
332         * src/widgets/modest-account-view.c
333         (on_account_default_toggled): Toggle default account column
334         explicitely instead of waiting for gconf notification (which is
335         currently ignored). This should fix projects.maemo.org bug NB#56910
336         for now. It should probably be removed when gconf notifications are
337         re-enabled.
338
339 2007-06-03  Christian Kellner  <ckellner@openismus.com>
340
341         * libmodest-dbus-client/libmodest-dbus-client.c:
342         Removed debugging spew.
343
344         * src/dbus_api/modest-dbus-callbacks.c:
345         Added debugging info.
346
347         * src/modest-search.c: 
348         (modest_search_all_accounts):
349         Use tny_account_store_get_accounts () on the account store
350         to get all accounts which is the way to get all accounts.
351
352         * tests/dbus_api/test_search.c: (main):
353         Make it possible to supply the search term on the command line.
354
355 2007-06-03  Christian Kellner  <ckellner@openismus.com>
356
357         * libmodest-dbus-client/libmodest-dbus-client.c:
358         * libmodest-dbus-client/libmodest-dbus-client.h:
359         Implement searching for mesages over raw dbus. (Client side)
360         
361         * src/dbus_api/Makefile.am:
362         * src/dbus_api/modest-dbus-api.h:
363         * src/dbus_api/modest-dbus-callbacks.c:
364         * src/dbus_api/modest-dbus-callbacks.h:
365         Search framework (Server side). Also implement on_idle_open_message().
366
367         * src/maemo/modest-platform.c: (modest_platform_init):
368         Prepare for raw dbus/osso rpc interaction.
369
370         * src/modest-search.h:
371         Changed minsize from unspecific guint to guint32.
372
373         * src/modest-search.c: 
374         (add_header):
375         Added strange hack which magically made tnymail work.
376         
377         (modest_search_folder),
378         (modest_search_account),
379         (modest_search_all_accounts):
380         Implement helper functions to search all accounts, specific account
381         and folder.
382
383         * tests/dbus_api/Makefile.am:
384         * tests/dbus_api/test_open_message.c:
385         Read url to open from commandline.
386
387         * tests/dbus_api/test_search.c:
388         Implement small test for dbus search stuff
389
390 2007-06-02  Armin Burgmeier  <armin@openismus.com>
391
392         * src/maemo/modest-account-settings-dialog.c: Changed window title to
393         include account type and account title. This fixes projects.maemo.org
394         bug NB#59000.
395
396         * src/maemo/modest-account-view-window.c: Set a title for the window.
397
398 2007-06-02  Armin Burgmeier  <armin@openismus.com>
399
400         * src/maemo/easysetup/modest-easysetup-wizard.c: Always prefill
401         incoming and outgoing server name based on email address and server
402         types as long as the names have not been edited manually. This fixes
403         projects.maemo.org bug NB#58671.
404
405 2007-06-02  Armin Burgmeier  <armin@openismus.com>
406
407         * src/maemo/easysetup/modest-easysetup-wizard.c: Added a note that the
408         server type cannot be changed in future to the incoming details page
409         when creating an account. This fixes projects.maemo.org bug NB#59029.
410
411 2007-06-02  Armin Burgmeier  <armin@openismus.com>
412
413         * src/maemo/easysetup/modest-easysetup-wizard.c: Made labels wrapping
414         and assigned max width chars so that they wrap instead of being
415         truncated. Fixes projects.maemo.org bug NB#56126.
416
417 2007-06-02  Armin Burgmeier  <armin@openismus.com>
418
419         * src/maemo/modest-connection-specific-smtp-window.c: Add an
420         introductory note to the connection specific smtp servers dialog, as
421         section 8.12 of the email UI specification requires. This fixes
422         projects.maemo.org bug NB#59212.
423
424 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
425
426         * src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
427         Check for running mail operations, and offer to cancel them, as per the UI 
428         spec. This fixes projects.maemo.org bug NB#59041 .
429         However, I suspect that tinymail may still use the network connection 
430         in ways that we cannot detect or cancel. But it should at least adapt to 
431         changes fairly well.
432
433 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
434
435         * src/modest-tny-account-store.c: (recreate_all_accounts),
436         (get_cached_accounts), (get_server_accounts): Do more sensible 
437         ref-counting of the temporarily-cached outbox accounts list. This seems 
438         to fix a crash when entering the password when the password was wrong.
439
440 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
441
442         * src/gnome/modest-main-window.c: (connect_signals):
443         * src/modest-tny-account-store.c: (get_password),
444         (modest_tny_account_store_alert): Added comments and clues and 
445         commented-out code about how we currently fail to deal with connection 
446         errors and wrong passwords, and how we should.
447
448 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
449
450         * src/widgets/modest-retrieve-combo-box.c:
451         (modest_retrieve_combo_box_fill): Correc the choices for POP and IMAP.
452         This fixes projects.maemo.org bug NB#58472 .
453
454 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
455
456         * src/maemo/easysetup/modest-easysetup-wizard.c:
457         (create_page_complete_easysetup): 
458         (create_page_complete_custom): Correct the last commit, 
459         putting the correct sentences in the correct pages.
460
461 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
462
463         * src/maemo/easysetup/modest-easysetup-wizard.c:
464         (create_page_complete_custom): Show the second sentence of text 
465         (mcen_ia_easysetup_complete). This fixes projects.maemo.org bug 
466         NB#59023 .
467
468 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
469
470         * src/modest-account-mgr.c: (modest_account_mgr_add_account):
471         Set the leave-on-server conf key by default. This fixes 
472         projects.maemo.org bug NB#59258 .
473
474 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
475
476         * src/maemo/modest-account-view-window.c:
477         (on_delete_button_clicked): Use the new emev_nc_delete_mailboximap 
478         logical ID for the confirmation messages. Fixed projects.maemo.org bug 
479         NB#59037 .
480
481 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
482
483         * src/maemo/easysetup/modest-easysetup-wizard.c:
484         (create_caption_new_with_asterisk): 
485         * src/maemo/modest-account-settings-dialog.c:
486         (create_caption_new_with_asterisk):
487         Uncomment the code to add the asterisk, because they are no longer in the 
488         translated text in the .po file. Fixes projects.maemo.org bug NB#59202 .
489         (update_incoming_server_title): Add an asterisk here too.
490
491 2007-06-01  Murray Cumming  <murrayc@murrayc.com>
492
493         * src/maemo/modest-maemo-global-settings-dialog.c:
494         (current_connection): Check that we are even connected before trying to 
495         get the current connection name, to prevent a warning.
496         
497         * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
498         Change the comments because tny_maemo_conic_device_connect() is now meant to 
499         block.
500         * src/modest-mail-operation.c:
501         (modest_mail_operation_update_account): Call modest_platform_connect_and_wait() to 
502         make sure we have a connection and fail if we can't connect.
503
504 2007-05-31  Murray Cumming  <murrayc@murrayc.com>
505
506         * src/maemo/modest-main-window.c:
507         (on_account_store_connecting_finished): Do not try to get the 
508         connection ID if we are not really connected. I am surprised that 
509         this signal handler is called when we are not connected.
510
511 2007-05-31  Murray Cumming  <murrayc@murrayc.com>
512
513         * src/modest-error.h: 
514         * src/modest-ui-actions.c:
515         (modest_ui_actions_get_msgs_full_error_handler):
516         Renamed an enum, added comments, added an enum 
517         for retrieve-limit errors.
518         
519         * src/modest-mail-operation.c: (foreach_add_item),
520         (internal_folder_observer_update), (update_account_thread),
521         (modest_mail_operation_get_msgs_full):
522         (modest_mail_operation_update_account),
523         Added comments about how this works, and some code that should 
524         (but does not) check the retrieve-limit. See the TODO comment.
525
526 2007-05-31  Murray Cumming  <murrayc@murrayc.com>
527
528         * src/modest-ui-actions.c: (modest_ui_actions_on_help):
529         Initialize help_id to fix the build. Warnings are good.
530
531 2007-05-31  Murray Cumming  <murrayc@murrayc.com>
532
533         * src/widgets/modest-hbox-cell-renderer.c:
534         (modest_hbox_cell_renderer_append):
535         * src/widgets/modest-vbox-cell-renderer.c:
536         (modest_vbox_cell_renderer_append):
537         Fix the last commit by doing an extra ref.
538
539 2007-05-31  Murray Cumming  <murrayc@murrayc.com>
540
541         * src/widgets/modest-hbox-cell-renderer.c:
542         (modest_hbox_cell_renderer_append):
543         * src/widgets/modest-vbox-cell-renderer.c:
544         (modest_vbox_cell_renderer_append):
545         For glib < 2.10, use gtk_object_sink() instead of g_object_ref_sink(), 
546         to fix the build with Maemo Bora.
547         However, there seems to be a remaining crash, probably due to reference 
548         counting errors.
549
550 2007-05-30  Murray Cumming  <murrayc@murrayc.com>
551
552         * src/modest-tny-account.c:
553         (modest_tny_account_new_for_local_folders):
554         Use hildon_file_system_info_async_new() to get a better name for 
555         the memory card account, setting it as the account name.
556         The timing seems to work, but this is probably 
557         not the best place to do this. See the TODO comment.
558         * src/maemo/modest-main-window.c: (create_details_widget):
559         * src/widgets/modest-folder-view.c: (text_cell_data):
560         Use the tny account name instead of hardcoding a name.
561
562 2007-05-30  Christian Kellner  <ckellner@openismus.com>
563
564         * src/modest-search.c: (modest_search):
565         Correctly set part_search_func even if we have already parsed
566         the query and thus a valid OgsTextSearcher object.
567
568 2007-05-30  Christian Kellner  <ckellner@openismus.com>
569
570         * configure.ac:
571         Search and check for libogs.
572
573         * src/Makefile.am:
574         Incooparte the ogs build env.
575
576         * src/modest-mime-part-search-stream.c:
577         * src/modest-mime-part-search-stream.h:
578         Removed since we do the real searching now in modest-search.c.
579
580         * src/modest-search.c:
581         * src/modest-search.h:
582         Implement support for ogs. We use that if available and requested
583         and fall back to modest_text_utils_utf8_strcmp (). The search logic
584         should now handle the corner case when the search term is spread
585         across multiple reads.
586         Also the logic in modest_search () was corrected to search all
587         requested fields until one is found.
588
589 2007-05-30  Murray Cumming  <murrayc@murrayc.com>
590
591         * src/modest-defs.h: Define MODEST_MCC1_VOLUMEPATH and MODEST_MCC1_VOLUMEPATH_URI.
592         
593         * src/modest-init.h:
594         * src/modest-init.c: Made modest_init_local_folders() take a
595         path and be public so we can iniitialize maildir folders on 
596         arbitrary volumes.
597
598         * src/modest-local-folder-info.h:
599         * src/modest-local-folder-info.c:
600         (modest_local_folder_info_get_maildir_path): Add a path parameter.
601
602         * src/modest-tny-account.c:
603         (modest_tny_account_new_for_local_folders): Take a path parameter, though NULL 
604         still means the standard local-folders path on the local volume.
605         
606         * src/modest-tny-account-store.c:
607         (modest_tny_account_store_instance_init): Connect to GnomeVfsVolumeMonitor 
608         signal so we can detect mount/unmount of the MMC1 card, and do an update of 
609         all accounts when that happens.
610         (get_server_accounts): If the MMC1 card is mounted, create a store account for 
611         this too, so it shows up in the treeview.
612
613 2007-05-28  Murray Cumming  <murrayc@murrayc.com>
614
615         * src/maemo/modest-maemo-global-settings-dialog.c:
616         (current_connection):
617         * src/widgets/modest-global-settings-dialog.c:
618         (current_connection_default):
619         Use the enum values instead of 0, 1 and -1,
620         to make the code clearer.
621         
622         * src/modest-account-mgr-helpers.c:
623         (modest_account_mgr_get_connection_specific_smtp): Make this code 
624         more robust.
625         
626         * src/modest-runtime.h:
627         * src/modest-runtime.c:
628         Added modest_runtime_remove_all_send_queues().
629         * src/maemo/modest-main-window.c:
630         (on_account_store_connecting_finished): Recreate the send queues, 
631         using the appropriate transport accounts for this new connection.
632         Some futher adapting might be needed if the old send queues are not 
633         automatically stopped at this point.
634
635         * src/modest-tny-account-store.c: (get_server_accounts):
636         Create the connection-specific transport accounts, so that they can 
637         be found later by their ID.
638         
639         * src/modest-tny-account.h:
640         * src/modest-tny-account.c:
641         Added modest_tny_account_new_from_server_account_name().
642         modest_tny_account_new_from_server_account(): Do not create the 
643         send queues here, because they will be 
644         recreated anyway when the connection changes for the first time.
645
646 2007-05-28  Murray Cumming  <murrayc@murrayc.com>
647
648         * src/modest-local-folder-info.h:
649         * src/modest-local-folder-info.c:
650         (modest_per_account_local_outbox_folder_info_get_maildir_path),
651         (modest_per_account_local_outbox_folder_info_get_maildir_path_to_ou
652         tbox_folder): Take a modest account name instead of a server TnyAccount,
653         so we can have per-modest-account rather than per-transport-account 
654         outboxes.
655         We must make sure that we change or recreate the exisitng send queues 
656         when the connection changes for connection-specific transport accounts.
657         
658         * src/modest-tny-account-store.c:
659         (create_per_account_local_outbox_folders): Create outboxed per modest 
660         account, not per transport account.
661         
662         * src/modest-tny-account.h:
663         * src/modest-tny-account.c:
664         (modest_tny_account_get_special_folder): For outboxes, get the 
665         parent modest account name. The account is ignored for other folders.
666         (modest_tny_account_new_for_per_account_local_outbox_folder): Take a 
667         modest account name rather than a server TnyAccount.
668
669 2007-05-25  Murray Cumming  <murrayc@murrayc.com>
670
671         * src/modest-tny-account.c:
672         (modest_tny_account_new_from_server_account): 
673         Call modest_runtime_get_send_queue() immediately after creating transport 
674         accounts, so that they start trying to send email from the outbox as soon 
675         as possible at startup. This is probably what we want.
676         
677         * src/modest-mail-operation.c: (update_account_thread):
678         * src/modest-runtime.c: (modest_runtime_get_send_queue):
679         * src/modest-tny-send-queue.c: (modest_tny_send_queue_try_to_send):
680         * src/modest-tny-send-queue.h:
681         * src/modest-ui-actions.c: (modest_ui_actions_do_send_receive),
682         (modest_ui_actions_on_send):
683         Added comments about how sending works, though it needs some more work.
684
685 2007-05-25  Murray Cumming  <murrayc@murrayc.com>
686
687         * src/modest-tny-account.c:
688         (modest_tny_account_get_special_folder): Add TODO because this fails when 
689         the network is busy.
690         (modest_tny_folder_store_get_local_size):  Fix an incorrect type check.
691         * src/modest-ui-actions.c: (modest_ui_actions_on_smtp_servers): 
692         Do not try to show this window when there is no active account. The UI 
693         specs does not tell us what to do in this case.
694
695 2007-05-24  Murray Cumming  <murrayc@murrayc.com>
696
697         * Makefile.am:
698         * po/POTFILES.in:
699         * src/maemo/Makefile.am:
700         * src/widgets/Makefile.am: Some dist fixes.
701
702 2007-05-24  Murray Cumming  <murrayc@murrayc.com>
703
704         * src/maemo/modest-connection-specific-smtp-window.c:
705         (on_button_edit): Make the code clearer, to prevent a double free.
706
707 2007-05-24   Murray Cumming  <murrayc@murrayc.com>
708
709         * src/maemo/modest-account-settings-dialog.c:
710         (modest_account_settings_dialog_set_account_name),
711         Check the connection-specific smtp servers checkbox if there are any.
712         
713         * src/maemo/modest-connection-specific-smtp-edit-window.c:
714         (modest_connection_specific_smtp_edit_window_init): 
715         Start with a suitable port number.
716         
717         * src/modest-account-mgr-helpers.h:
718         * src/modest-account-mgr-helpers.c: Added 
719         modest_account_mgr_get_has_connection_specific_smtp().
720         
721         (modest_account_mgr_set_connection_specific_smtp),
722         (modest_account_mgr_remove_connection_specific_smtp),
723         (modest_account_mgr_get_has_connection_specific_smtp),
724         (modest_account_mgr_get_connection_specific_smtp): Set/Get the list of 
725         connection-specific smtp server accounts in the account, rather than 
726         the server account conf dir.
727         
728         This fixes bug projects.maemo.org bug NB#58263 .
729
730         * src/modest-tny-account-store.c:
731         (create_per_account_local_outbox_folders): Do not call get_server_accounts() 
732         if there are no server accounts yet, to prevent an infinite loop when there 
733         are no accounts. Document that one must be called before the other.
734
735 2007-05-24  Murray Cumming  <murrayc@murrayc.com>
736
737         * src/modest-account-mgr-helpers.c:
738         (modest_account_mgr_get_default_account): Make sure that at least 
739         one account is always the default, if there are any enabled accounts. 
740         This is just a sanity check that shouldn't be necessary.
741         
742         * src/modest-account-mgr-priv.c:
743         (_modest_account_mgr_account_from_key): Unescape the conf key to 
744         get the real account name. For instance, this is an issue if a space 
745         was in the account name, which can happen because the account name 
746         is generated from the display name.
747         (_modest_account_mgr_get_account_keyname): Always escape the 
748         account name.
749         * src/modest-account-mgr.c: (modest_account_mgr_account_names): 
750         Unescape the conf keys to get the real account names.
751         
752         For instance, previously the is-default radio button in the accounts 
753         list was not checked for any accounts at first. This fixes that,
754         and might fix several similar bugs.
755
756 2007-05-23  Murray Cumming  <murrayc@murrayc.com>
757
758         * src/modest-ui-actions.c: (set_active_account_from_tny_account):
759         Removed some debug printfs.
760
761 2007-05-23  Murray Cumming  <murrayc@murrayc.com>
762
763         Modest on-disk outbox directories are now here, for instance:
764         $HOME/.modest/outboxes/<account-id-1>/outbox
765         $HOME/.modest/outboxes/<account-id-2>/outbox
766         instead of here:
767         $HOME/.modest/local-folders/outbox
768         so we can have a separate outbox for each account.
769         But they are shown as one outbox in the GtkTreeView, by using a 
770         TnyMergeFolder in a ModestTnySimpleFolderStore.
771         
772         * src/Makefile.am:
773         * src/modest-tny-simple-folder-store.c:
774         * src/modest-tny-simple-folder-store.h:
775         Added ModestTnySimpleFolderStore, used to contain folders from 
776         other folder stores, such as other accounts.
777         
778         * src/modest-tny-outbox-account.h:
779         * src/modest-tny-outbox-account.c:
780         Added ModestTnyOutboxAccount, derived from TnyCamelStoreAccount, 
781         used for the per-account local outbox folders.
782         
783         * src/modest-defs.h: Rename MODEST_LOCAL_FOLDERS_ACCOUNT_ID to 
784         MODEST_ACTUAL_LOCAL_FOLDERS_ACCOUNT_ID, to make it clearer that we 
785         only use this (internally) now for the non-outbox local folders.
786
787         * src/modest-init.h:
788         * src/modest-init.c: Added modest_init_one_local_folder(), for 
789         setting up the directory structure for each local folder.
790
791         * src/modest-local-folder-info.c:
792         (modest_per_account_local_outbox_folder_info_get_maildir_path),
793         (modest_per_account_local_outbox_folder_info_get_maildir_path_to_ou
794         tbox_folder):
795         * src/modest-local-folder-info.h:
796         * src/modest-tny-account-store.c: (on_account_removed),
797         (on_account_changed), (create_per_account_local_outbox_folders),
798         (get_server_accounts), (modest_tny_account_store_get_accounts),
799         (modest_tny_account_store_get_tny_account_by_account),
800         (modest_tny_folder_store_is_virtual_local_folders):
801
802         * src/modest-tny-account.h:
803         * src/modest-tny-account.c:
804         Added modest_tny_account_new_for_per_account_local_outbox_folder(), 
805         to create an on-disk per-account local outbox folder for each 
806         transport account.
807         (create_per_account_local_outbox_folders): Create a local outbox folder 
808         for each transport account.
809         (modest_tny_account_new_for_local_folders): Do not create an outbox folder 
810         for all local folders.
811         
812         Added modest_tny_account_get/set_parent_modest_account_name_for_server_account() 
813         instead of using g_object_get/set() directly. It is clearer.
814         
815         (modest_tny_folder_store_get_message_count),
816         (modest_tny_folder_store_get_local_size
817         (modest_tny_folder_store_get_folder_count): Renamed from modest_tny_account*, 
818         because we now use these with non-acount folder stores.
819         
820         (modest_tny_account_get_special_folder),
821         (modest_tny_account_new_from_server_account),
822         (modest_tny_account_new_from_account):
823         (recurse_folders): Adjust to the new outbox system.
824         
825         * src/modest-tny-folder.h:
826         * src/modest-tny-folder.c: 
827         (modest_tny_folder_is_local_folder),
828         (modest_tny_folder_get_local_folder_type),
829         (modest_tny_folder_is_outbox_for_account): Adjust for the new outbox system.
830         
831         * src/widgets/modest-main-window.h:
832         * src/maemo/modest-main-window.c: (create_details_widget),
833         (modest_main_window_set_contents_style): Show details for any folder store, 
834         not just accounts.
835         
836         (modest_tny_folder_get_rules): 
837         Remove the const. C does not support constness enough for this.
838         
839         * src/modest-ui-actions.c:
840         update_model(): Use a ModestTnySimpleListStore and a TnyMergeFolder to 
841         make all outboxes appear as one, in the usual local-folders tree node.
842         
843         (set_active_account_from_tny_account),
844         (modest_ui_actions_on_folder_selection_changed):
845         * src/widgets/modest-folder-view.c: (text_cell_data),
846         (icon_cell_data), (filter_row),
847         (add_account_folders_to_merged_folder),
848         (add_account_folders_to_simple_folder_store), (),
849         (get_cmp_rows_type_pos), (cmp_rows),
850         (modest_folder_view_set_account_id_of_visible_server_account):
851         Adjust to the new outbox system, using generic folder stores and folders 
852         in the GtkTreeModel.
853
854 2007-05-23  Christian Kellner  <ckellner@openismus.com>
855
856         * src/modest-mail-operation.c:
857         (modest_mail_operation_update_account):
858         Use info->max_size instead of unintialized local var [small
859         build fix]. (Added TODO to review that change since I don't
860         know the code)
861
862 2007-05-23  Marcus Bauer  <marcusb@openismus.com>
863
864         * libmodest-dbus-client/libmodest-dbus-client.c:
865         (libmodest_dbus_client_compose_mail): function added
866         * src/dbus_api/modest-dbus-api.h:
867         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_compose_mail),
868         (on_compose_mail): Implementation of the SendAsMail functionality
869
870 2007-05-22 Murray Cumming  <murrayc@murrayc.com>
871
872         * src/modest-account-mgr.c:
873         (modest_account_mgr_add_server_account): Set the secure-connection 
874         conf key for transport accounts as well as store accounts. I don't know 
875         why the if was there. For instance, this makes sure that we use SSL 
876         for the gmail preset from the easysetup wizard.
877
878 2007-05-22 Murray Cumming  <murrayc@murrayc.com>
879
880         * src/gnome/modest-main-window.c:
881         (on_account_store_connecting_finished), (connect_signals):
882         * src/maemo/modest-main-window.c:
883         (on_account_store_connecting_finished), (connect_signals),
884         (modest_main_window_new):
885         Handle TnyAccountStore::connecting-finished instead of 
886         TnyDevice::connection-changed, because we cannot actually perform 
887         operations on accounts until TnyAccountStore has itself responded to 
888         the TnyDevice::connection-changed signal. This prevents a GError from 
889         tinymail.
890         Do not try to update at startup, because we (at least on scratchbox) 
891         already do an update at startup when the device goes online. 
892         This prevents a GError from tinymail.
893         * src/modest-ui-actions.c: (modest_ui_actions_do_send_receive): 
894         Added TODO about stopping simultaneous operations.
895
896 2007-05-21  Murray Cumming  <murrayc@murrayc.com>
897
898         * src/modest-account-mgr.c: (modest_account_mgr_add_account):
899         * src/modest-mail-operation-queue.c:
900         (modest_mail_operation_queue_remove):
901         * src/modest-tny-account-store.c: When GErrors happen, give more clues 
902         about where they happened.
903
904 2007-05-21  Murray Cumming  <murrayc@murrayc.com>
905
906         * src/modest-ui-actions.c:
907         (modest_ui_actions_on_password_requested): Make sure that the remember 
908         output parameter is always TRUE.
909
910 2007-05-21  Murray Cumming  <murrayc@murrayc.com>
911
912         * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
913         Show a OK/Cancel dialog if the error is a question, though we still do not 
914         know anything more about what we are asking the user.
915         * src/widgets/modest-folder-view.c: (on_drag_data_received):
916         Fix an uninitialized variable (helper). This is a logic error, however.
917
918 2007-05-21  Christian Kellner  <ckellner@openismus.com>
919         
920         * src/modest-search.h:
921         Correct bit shifting in the ModestSearchFlags enum.
922
923 2007-05-21  Murray Cumming  <murrayc@murrayc.com>
924
925         * src/modest-tny-account.c:
926         (modest_tny_account_new_from_server_account): Do not use the lsub and 
927         check-all hard-coded IMAP options when using POP.
928
929 2007-05-21  Murray Cumming  <murrayc@murrayc.com>
930
931         * src/modest-tny-account.c:
932         (modest_tny_account_new_from_server_account): 
933         Use NULL for the secure-auth method for POP when Password auth has been 
934         specified by the user, as we already do for IMAP. "auth=Login" causes 
935         an error from camel or the server.
936
937 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
938
939         * src/maemo/modest-account-settings-dialog.c:
940         (create_page_account_details),
941         (modest_account_settings_dialog_set_account_name):
942         * src/maemo/modest-account-settings-dialog.h: Hide the whole caption 
943         for the leave-on-server checkbox, rathr than just the checkbox, when 
944         the protocol is not POP.
945
946 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
947
948         * src/widgets/modest-account-view.c:
949         * src/widgets/modest-account-view.h:
950         Added modest_account_view_select_account() which will be useful later 
951         to asynchronously re-select the edited account.
952
953 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
954
955         * src/maemo/modest-account-settings-dialog.c:
956         (modest_account_settings_dialog_set_account_name): 
957         Automatically choose the port numbers based on the secure authentication 
958         methods, if they have not been chosen before.
959         This fixes projects.maemo.org bug NB#56273 .
960
961 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
962
963         * src/maemo/modest-main-window-ui.h:
964         * src/modest-ui-actions.c:
965         * src/modest-ui-actions.h:
966         Connect the Tools/SMTP Servers menu item to 
967         modest_ui_actions_on_smtp_servers(), which shows the connection-specific 
968         SMTP servers dialog, as in the UI specification and saves changes when it 
969         is closed. This fixed  projects.maemo.org bug NB#56305 .
970
971 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
972
973         * src/maemo/modest-connection-specific-smtp-window.c:
974         (modest_connection_specific_smtp_window_init):
975         Use gtk_window_set_default_size() to make this window big enough, so 
976         we see more of the GtkTreeView. This fixes projects.maemo.org bug NB#55497 .
977
978 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
979
980         * src/maemo/modest-connection-specific-smtp-edit-window.h:
981         * src/maemo/modest-connection-specific-smtp-edit-window.c:
982         (modest_connection_specific_smtp_edit_window_init),
983         Do not try to connect to a combobox signal before the combobox exists.
984         This fixes the cras in projects.maemo.org bug NB#56288 .
985         (modest_connection_specific_smtp_edit_window_get_settings):
986         Remove the server_account_name parameter which was being checked for NULL 
987         though it was not used.
988
989         * src/maemo/modest-connection-specific-smtp-window.c:
990         (modest_connection_specific_smtp_window_fill_with_connections),
991         (on_button_edit), (modest_connection_specific_smtp_window_init):
992         Correct the number of treemodel columns to prevent a warning.
993         Added DEBUG_WITHOUT_LIBCONIC #define, for debugging on scratchbox, where 
994         libconic does not work.
995
996 2007-05-16  Murray Cumming  <murrayc@murrayc.com>
997
998         * src/modest-tny-account.c:
999         (modest_tny_account_new_from_server_account):
1000         Explicitly use ANONYMOUS secure authentication, instead of "PLAIN" for 
1001         SMTP when "None" was chosen by the user. However, with my SMTP server that 
1002         does not support ANONYMOUS, the emails do not leave the Outbox and I see 
1003         no error dialog.
1004
1005 2007-05-16  Murray Cumming  <murrayc@murrayc.com>
1006
1007         * src/modest-pair.h: Improve the documentation for modest_combo_box_new() 
1008         to explain the memory management issue with the ID in the ModestPair.
1009         
1010         * src/gnome/modest-account-assistant.c: (add_receiving_page),
1011         (add_sending_page), (modest_account_assistant_finalize):
1012         * src/gnome/modest-gnome-global-settings-dialog.c:
1013         (create_updating_page), (create_composing_page):
1014         * src/gnome/modest-msg-edit-window.c: (get_transports),
1015         (init_window), (modest_msg_edit_window_finalize),
1016         (modest_msg_edit_window_get_msg_data):
1017         * src/gnome/modest-store-widget.c: (imap_pop_configuration):
1018         * src/gnome/modest-transport-widget.c:
1019         (modest_transport_widget_finalize), (smtp_configuration):
1020         * src/maemo/modest-maemo-global-settings-dialog.c:
1021         (create_updating_page), (create_composing_page):
1022         * src/maemo/modest-msg-edit-window.c: (get_transports),
1023         (init_window), (modest_msg_edit_window_finalize),
1024         (modest_msg_edit_window_get_msg_data),
1025         (modest_msg_edit_window_free_msg_data):
1026         * src/maemo/modest-store-widget.c: (imap_pop_configuration),
1027         (modest_store_widget_finalize):
1028         * src/maemo/modest-transport-widget.c:
1029         (modest_transport_widget_finalize), (smtp_configuration):
1030         * src/modest-main.c: (send_mail):
1031         * src/widgets/modest-combo-box.h:
1032         * src/widgets/modest-global-settings-dialog-priv.h:
1033         * src/widgets/modest-global-settings-dialog.c:
1034         (modest_global_settings_dialog_finalize):
1035         * src/widgets/modest-msg-edit-window.h:
1036         Whenever using modest_combo_box_new(), keep the ModestPairList alive
1037         as long as the combo box, to prevent use of freed memory for the ID.
1038
1039 2007-05-15  Murray Cumming  <murrayc@murrayc.com>
1040
1041         * src/modest-tny-account-store.c: (get_server_accounts): Renamed from 
1042         get_accounts(), to make this clearer. Do not check for the enabled gconf
1043         key, because we do not use this for server accounts (at least, not yet).
1044         This allows us to send email again.
1045
1046 2007-05-15  Murray Cumming  <murrayc@murrayc.com>
1047
1048         * src/maemo/modest-platform.c:
1049         (on_modest_conf_update_interval_changed), (modest_platform_init):
1050         Only respond to this particular key change. All these strcmp()s cannot be 
1051         efficient.
1052
1053 2007-05-15  Murray Cumming  <murrayc@murrayc.com>
1054
1055         * src/maemo/modest-maemo-global-settings-dialog.c:
1056         (current_connection): Prevent a crash in scratchbox when 
1057         ny_maemo_conic_device_get_current_iap_id() returns NULL.
1058         * src/maemo/modest-platform.c:
1059         (on_modest_conf_update_interval_changed), (modest_platform_init):
1060         Get the update interval from gconf and reset it when the gconf key changes.
1061
1062 2007-05-15  Murray Cumming  <murrayc@murrayc.com>
1063
1064         * src/modest-protocol-info.c:
1065         * src/modest-protocol-info.h: Adde enum-specific get functions, 
1066         instead of using a ModestProtocolType enum parameter.
1067         
1068         * src/gnome/modest-account-assistant.c:
1069         * src/gnome/modest-store-widget.c:
1070         * src/gnome/modest-store-widget.h:
1071         * src/gnome/modest-transport-widget.c:
1072         * src/gnome/modest-transport-widget.h:
1073         * src/maemo/easysetup/modest-easysetup-servertype-combo-box.c:
1074         * src/maemo/easysetup/modest-easysetup-servertype-combo-box.h:
1075         * src/maemo/easysetup/modest-easysetup-wizard.c:
1076         * src/maemo/modest-account-settings-dialog.c:
1077         * src/maemo/modest-account-settings-dialog.h:
1078         * src/maemo/modest-store-widget.c:
1079         * src/maemo/modest-store-widget.h:
1080         * src/maemo/modest-transport-widget.c:
1081         * src/maemo/modest-transport-widget.h:
1082         * src/modest-account-mgr-helpers.c:
1083         * src/modest-account-mgr-helpers.h:
1084         * src/modest-account-mgr.c:
1085         * src/modest-account-mgr.h:
1086         * src/modest-tny-account.c:
1087         * src/modest-tny-folder.c: 
1088         * src/widgets/modest-account-view.c:
1089         * src/widgets/modest-retrieve-combo-box.c:
1090         * src/widgets/modest-retrieve-combo-box.h:
1091         * src/widgets/modest-secureauth-combo-box.c:
1092         * src/widgets/modest-serversecurity-combo-box.c:
1093         * src/widgets/modest-serversecurity-combo-box.h:
1094         * tests/check_account-mgr.c: 
1095         Use the specific functions, and use the re-renamed enum values for GNOME too.
1096
1097 2007-05-15  Murray Cumming  <murrayc@murrayc.com>
1098
1099         * src/modest-pair.h: 
1100         * src/modest-pair.c: Added modest_pair_list_find_by_first_as_string(),
1101         so we can get the second based on the first.
1102
1103         * src/maemo/modest-account-settings-dialog.h: 
1104         * src/maemo/modest-account-settings-dialog.c:
1105         Added get_supported_secure_authentication_methods(), though it is mostly 
1106         commented-out for now until the necessary API is committed to tinymail.
1107         (modest_account_settings_dialog_set_account_name),
1108         (save_configuration): Request the supported authentication methods from the 
1109         server, so we can choose a working method.
1110         
1111         * src/modest-tny-account-store.h:
1112         * src/modest-tny-account-store.c:
1113         (modest_tny_account_store_get_session): Rename from 
1114         tny_account_store_get_session().
1115
1116 2007-05-14  Murray Cumming  <murrayc@murrayc.com>
1117
1118         * src/modest-protocol-info.h: Split the ModestProtocol enum 
1119         into ModestProtocol, ModestSecureConnection, and ModestSecureAuthentication.
1120         There was no need to have these unrelated values in one enum.
1121         
1122         * src/: many files: Adapted to changed enum. This makes the code a bit
1123         clearer, and the compiler could catch some errors.
1124
1125 2007-05-14  Murray Cumming  <murrayc@murrayc.com>
1126
1127         * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
1128         Show the detailed internal camel error message when an error happens 
1129         during the configuration, so that our testers can give us more clues.
1130         For instance, in projects.maemo.org bug NB#56910 .
1131
1132 2007-05-14  Murray Cumming  <murrayc@murrayc.com>
1133
1134         * src/modest-tny-account.c:
1135         (modest_tny_account_new_from_server_account): Adapt to changed tinymail API: 
1136         change tny_account_set_mech() to tny_account_set_secure_auth_mech().
1137
1138 2007-05-14  Murray Cumming  <murrayc@murrayc.com>
1139
1140         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
1141         * src/maemo/modest-account-settings-dialog.c:
1142         (modest_account_settings_dialog_set_account_name),
1143         (save_configuration): For the incoming secure authentication checkbox, 
1144         use PASSWORD for unchecked, and CRAM-MD5 for checked, after I reread 
1145         the UI specification. PLAIN does not seem to be supported for most IMAP 
1146         servers anyway, and I am not sure what it would mean.
1147         However, we probably need to discover which of the secure-authentication 
1148         mechanisms are supported by the server, instead of hard-coding CRAM-MD5.
1149         * src/modest-account-mgr-helpers.c:
1150         (modest_account_mgr_get_server_account_data):
1151
1152         * src/modest-tny-account.c:
1153         (modest_tny_account_new_from_server_account):
1154         Use tny_account_set_mech() to set secure-authentication methods, 
1155         with some special-casing for IMAP, based on my observations of how 
1156         evolution behaves.
1157         
1158         * src/modest-account-mgr-helpers.h:
1159         * src/modest-account-mgr.c:
1160         * src/modest-defs.h: Comment that the URI is only used for local folders.
1161
1162 2007-05-11  Murray Cumming  <murrayc@murrayc.com>
1163
1164         * src/maemo/modest-main-window.c: (on_account_update): Make the gchar* 
1165         parameter const, just to be neat.
1166         * src/modest-text-utils.c: (modest_text_utils_inline):
1167         End g_strconcat() with NULL, as its documentation says. This is almost 
1168         certainly the cause of my crash at startup on the device. Interestingly, 
1169         valgrind doesn't tell us about these errors.
1170
1171 2007-05-11  Murray Cumming  <murrayc@murrayc.com>
1172
1173         * scripts/build-packages: Added more precise comments about how to use 
1174         this script, though I still get this error:
1175         dpkg-genchanges: error: cannot open .dsc file ../tinymail_1.0-svn1938.dsc: No such file or directory
1176         error building tinymail
1177         
1178 2007-05-11  Murray Cumming  <murrayc@murrayc.com>
1179
1180         * src/maemo/modest-main-window.c: (on_account_update):
1181         Very slight cleanup, hoping to make it simpler to discover what causes 
1182         a crash here sometimes.
1183         
1184         * src/modest-tny-account.c:
1185         (modest_tny_account_new_from_server_account): Set the port. Added 
1186         comments about the options and a TODO comment because I need to find out 
1187         how to specify the secure authentication method.
1188
1189 2007-05-11  Marcus Bauer  <marcusb@openismus.com>
1190
1191         * libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
1192         changed CFlags paths form modest to libmodest
1193
1194 2007-05-10  Murray Cumming  <murrayc@murrayc.com>
1195
1196         * src/modest-account-mgr-helpers.c:
1197         (modest_account_mgr_get_server_account_data),
1198         (modest_account_mgr_free_server_account_data):
1199         * src/modest-account-mgr-helpers.h:
1200         * src/modest-account-mgr.c:
1201         (modest_account_mgr_add_server_account):
1202         * src/modest-defs.h:
1203         * src/modest-tny-account.c:
1204         (modest_tny_account_new_from_server_account):
1205         Determine the options for tny_camel_account_add_option() here, 
1206         based on the settings, rather than storing them directly in gconf.
1207
1208 2007-05-10  Murray Cumming  <murrayc@murrayc.com>
1209
1210         * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
1211         Show a more friendly error dialog now that we expect (from the tinymail 
1212         documentation) to get the UNKNOWN_ALERT error. Add explanatory comments.
1213
1214 2007-05-10  Murray Cumming  <murrayc@murrayc.com>
1215
1216         * src/maemo/modest-main-window.c: (on_account_update): Check that 
1217         account_name is not NULL, to prevent a crash at startup that I am 
1218         seeing on the N800. I do wonder why it is NULL.
1219         
1220         * src/maemo/easysetup/modest-easysetup-wizard.c:
1221         (create_page_user_details):
1222         * src/maemo/modest-account-settings-dialog.c:
1223         (create_page_user_details), (create_page_outgoing):
1224         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1225         (modest_connection_specific_smtp_edit_window_init):
1226         * src/modest-ui-actions.c:
1227         (modest_ui_actions_on_password_requested):
1228         Use HILDON_GTK_INPUT_MODE_INVISIBLE with password entries, which 
1229         might do something useful with the on-screen keyboard.
1230
1231 2007-05-10  Murray Cumming  <murrayc@murrayc.com>
1232
1233         * src/maemo/modest-main-window.c: (on_account_update):
1234         Avoid adding a menu item to priv->accounts_popup if accounts_popup is 
1235         NULL, to avoid lots of warnings. However, it probably should not be NULL.
1236
1237 2007-05-09  Murray Cumming  <murrayc@murrayc.com>
1238
1239         * src/modest-tny-account-store.c: (on_account_changed): 
1240         Correct the signature of this signal handler.
1241
1242 2007-05-09  Murray Cumming  <murrayc@murrayc.com>
1243
1244         * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
1245         Show a HildonNote instead of a GtkDialog for Maemo.
1246
1247 2007-05-09  Murray Cumming  <murrayc@murrayc.com>
1248
1249         * src/widgets/modest-account-view.h:
1250         * src/widgets/modest-account-view.c: (on_account_changed),
1251         (on_account_removed). Added a boolean flag, set/unset by 
1252         modest_account_view_block_conf_updates(), 
1253         modest_account_view_unblock_conf_updates() to prevent unnecessary 
1254         updates, but this is not very useful because the gconf notifications are 
1255         so delays (maybe only on Maemo Bora).
1256         So auto-updating is turned off, and these functions do an explicit 
1257         update when necessary.
1258         However, something else is still doing too much work when adding/removing 
1259         accounts, probably in another part of the application.
1260         
1261         * src/maemo/modest-account-view-window.c:
1262         (on_delete_button_clicked), (on_edit_button_clicked),
1263         (on_new_button_clicked): Use the new functions.
1264
1265 2007-05-09  Murray Cumming  <murrayc@murrayc.com>
1266
1267         * src/modest-account-mgr-helpers.c:
1268         (modest_account_mgr_set_first_account_as_default):
1269         Sort the list of names alphabetically-by-title, so we choose the first one 
1270         based on that.
1271         * src/widgets/modest-account-view.c: (init_view): Sort the TreeModel 
1272         alphabetically by the title.
1273         
1274         This fixes projects.maemo.org bug NB#56418 .
1275         
1276         * src/modest-account-mgr-priv.c:
1277         (_modest_account_mgr_account_from_key):
1278         * src/modest-account-mgr.c: (on_key_change): Initialize variables to 
1279         avoid a valgrind error, and possible random behaviour.
1280
1281 2007-05-09  Murray Cumming  <murrayc@murrayc.com>
1282
1283         * src/modest-tny-account-store.c: (modest_tny_account_store_alert):
1284         Handle the new TNY_ACCOUNT_STORE_ERROR error domain. I will update the 
1285         tinymail documentation to say that this can be expected.
1286         Handle the new TNY_ACCOUNT_STORE_ERROR_UNKNOWN_ALERT error code. It is not 
1287         pretty, and should not happen, but I would prefer to know when it does.
1288
1289 2007-05-09  Murray Cumming  <murrayc@murrayc.com>
1290
1291         * configure.ac: When using the older hildon version, probably on Bora, 
1292         require gnome-vfs-module-2.0, which is the old provider of gnome-vfs-mime.h,
1293         to fix the build.
1294         * src/widgets/modest-attachment-view.c:
1295         (modest_attachment_view_set_part_default): Initialize variables, to fix the 
1296         build.
1297
1298 2007-05-09  Marcus Bauer  <marcusb@openismus.com>
1299
1300         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_open_message):
1301         Implemented the prototype. Can be tested with
1302         tests/dbus_api/test_open_message: 
1303
1304 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1305
1306         * src/modest-tny-account-store.c:
1307         (modest_tny_account_store_instance_init), (get_password):
1308         * src/modest-ui-actions.c:
1309         (modest_ui_actions_on_password_requested):
1310         Do not store the password in gconf, because this function is called 
1311         for non-remembered passwords. Actually use the cached (in the hash map) 
1312         password instead of releasing it.
1313         The password will now not be remembered if it is asked via the protected 
1314         password dialog, as per the UI spec.
1315
1316 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1317
1318         * src/modest-defs.h:
1319         * src/modest-account-mgr-helpers.h:
1320         * src/modest-account-mgr-helpers.c:
1321         Added modest_server_account_get_username_has_succeeded(),
1322         modest_server_account_set_username_has_succeeded().
1323         (modest_server_account_set_username),
1324         Reset the has-succeeded flag if the username changes.
1325         
1326         * src/maemo/modest-account-settings-dialog.c: (save_configuration):
1327         * src/maemo/modest-connection-specific-smtp-window.c:
1328         (modest_connection_specific_smtp_window_save_server_accounts):
1329         Use modest_server_account_set_username() instead of using 
1330         modest_conf_set_string() directly, so that the has-succeeded flag is always 
1331         reset.
1332         
1333         * src/modest-ui-actions.c:
1334         (modest_ui_actions_on_password_requested): Dim the username entry if 
1335         the username has ever worked, as per the UI spec.
1336
1337 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1338
1339         * src/modest-tny-account-store.c: (get_password):
1340         * src/modest-ui-actions.c:
1341         (modest_ui_actions_on_password_requested):
1342         Allow the username to be changed too, though there is more work to 
1343         be done on exactly how this behaves.
1344
1345 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1346
1347         * src/modest-account-mgr-helpers.h:
1348         * src/modest-account-mgr-helpers.c:
1349         Added modest_account_mgr_get_display_name(),
1350         modest_server_account_get_username(),
1351         modest_server_account_set_username(),
1352         modest_server_account_set_password(),
1353         modest_server_account_get_hostname() functions so we do not need to 
1354         use the conf API directly.
1355         
1356         * src/maemo/modest-main-window.c: (connect_signals):
1357         Actually connect ot the ModestAccountStore::request-password signal, 
1358         so that we show the dialog when the password is requested by Tinymail, 
1359         for isntance if it is empty.
1360
1361         * src/modest-marshal.list:
1362         * src/modest-tny-account-store.c:
1363         (modest_tny_account_store_class_init), (get_password),
1364         (modest_tny_account_store_alert):
1365         * src/modest-tny-account-store.h:
1366         * src/modest-ui-actions.h:
1367         * src/modest-ui-actions.c:
1368         (modest_ui_actions_on_password_requested):
1369         Change the signal parameters, so it is obvious that we are providing 
1370         the non human-readable server name, and receiving both the username 
1371         and password, though changing of the username is not yet implemented.
1372         Change the dialog UI to match the Maemo UI specifications, with #idfefing 
1373         for the GNOME version.
1374         
1375         This should fix the projects.maemo.org bug NB#56209, though it does not 
1376         work on Bora, because the gconf_client_get() for the password fails 
1377         immediately after we save it with gconf_client_set().
1378
1379 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1380
1381         * configure.ac:
1382         * src/Makefile.am: Reverted the use of AM_CONDITIONAL(), because it 
1383         caused an undefined symbol error:
1384         modest-platform.c:84: undefined reference to `modest_osso_cb_hw_state_handler
1385
1386 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1387
1388         * src/modest-tny-account-store.c:
1389         (modest_tny_account_store_alert): Adapt to the changed tinymail API, 
1390         using a GError instead of a string message, so we can translate it in 
1391         Modest.
1392
1393 2007-05-08  Murray Cumming  <murrayc@murrayc.com>
1394
1395         * src/maemo/modest-address-book.c:
1396         (modest_address_book_check_names):
1397         * src/maemo/modest-msg-view-window.c:
1398         (modest_msg_view_window_clipboard_owner_change):
1399         * src/modest-init.c: (modest_init_init_ui):
1400         * src/modest-mail-operation.c: (modest_mail_operation_send_mail),
1401         (update_folders_cb), (modest_mail_operation_update_account):
1402         * src/modest-ui-actions.c: (modest_ui_actions_on_msg_link_hover),
1403         (modest_ui_actions_on_msg_attachment_clicked),
1404         (modest_ui_actions_on_msg_recpt_activated):
1405         * src/widgets/modest-header-view.c: (drag_data_get_cb):
1406         * src/widgets/modest-msg-view.c: (modest_msg_view_search),
1407         (modest_msg_view_search_next):
1408         * src/widgets/modest-recpt-editor.c:
1409         (modest_recpt_editor_on_button_release_event),
1410         (modest_recpt_editor_on_key_press_event): Commented-out unnecessary calls to 
1411         g_message(). At this point we should only be seeing interesting errors on 
1412         stdout. Debugging messages could be #ifdefed-out if they are still useful.
1413
1414 2007-05-07  Murray Cumming  <murrayc@murrayc.com>
1415         
1416         (modest_wizard_dialog_force_title_update):
1417         * src/maemo/easysetup/modest-wizard-dialog.h:
1418         * src/maemo/easysetup/modest-wizard-dialog.c: (set_property):
1419         For GTK+ 2.10, when present, connect to the GtkNotebook signals so we 
1420         can update the title when appropriate. Otherwise the title is wrong if the 
1421         pages are added after adding the notebook to the dialog.
1422         This must be a problem in HildonWizardDialog too.
1423         Added modest_wizard_dialog_force_title_update() for GTK+ 2.6.
1424         
1425         * src/maemo/easysetup/modest-easysetup-wizard.c:
1426         (create_subsequent_customsetup_pages),
1427         (create_subsequent_easysetup_pages): 
1428         Call modest_wizard_dialog_force_title_update() so that the title is 
1429         correct even with GTK+ < 2.10.
1430         This fixes projects.maemo.org bug NB#56145 .
1431         
1432 2007-05-07  Murray Cumming  <murrayc@murrayc.com>
1433
1434         * src/maemo/modest-platform.c:
1435         (modest_platform_set_update_interval): Use the ALARM_EVENT_NO_DIALOG 
1436         flag (awful lack of namespacing in this API) to prevent a useless %s dialog 
1437         from being shown.
1438
1439 2007-05-07  Murray Cumming  <murrayc@murrayc.com>
1440
1441         * src/widgets/modest-window.h:  
1442         * src/widgets/modest-window.c: Added a save_state_func vfunc, 
1443         and modest_window_save_state(), which invokes it.
1444
1445         * src/widgets/modest-window-mgr.h:
1446         * src/widgets/modest-window-mgr.c:
1447         Added modest_window_mgr_save_state_for_all_windows(), which calls 
1448         the save_state vfunc on all registered windows, if implemented.
1449         
1450         * src/gnome/modest-msg-edit-window.c:
1451         * src/gnome/modest-msg-view-window.c:
1452         * src/maemo/modest-msg-edit-window.c:
1453         * src/maemo/modest-msg-view-window.c:
1454         * src/maemo/modest-main-window.c: 
1455         Specify the existing save_settings functions as implementations of 
1456         ModestWindow::save_state_func().
1457
1458         * src/maemo/modest-osso-state-saving.c: modest_osso_save_state():
1459         Call modest_window_mgr_save_state_for_all_windows(). This happens before 
1460         enabling hibernation, for instance.
1461         
1462         We may need to do the same thing for restoring settings.
1463
1464
1465 2007-05-07  Murray Cumming  <murrayc@murrayc.com>
1466
1467         * src/widgets/modest-window-mgr.c: 
1468         * src/widgets/modest-window-mgr.h:
1469         Added modest_window_mgr_prevent_hibernation_while_window_is_shown() and
1470         modest_window_mgr_get_hibernation_is_prevented().
1471         
1472         * src/maemo/modest-main-window.c:
1473         (on_hildon_program_is_topmost_notify): Prevent hibernation 
1474         (possible when the application goes to the background in the WM), 
1475         if modest_window_mgr_get_hibernation_is_prevented() is TRUE.
1476         
1477         * src/maemo/easysetup/modest-easysetup-wizard.c:
1478         (modest_easysetup_wizard_dialog_init):
1479         * src/maemo/modest-account-settings-dialog.c:
1480         (modest_account_settings_dialog_init):
1481         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1482         (modest_connection_specific_smtp_edit_window_init):
1483         * src/maemo/modest-connection-specific-smtp-window.c:
1484         (modest_connection_specific_smtp_window_init):
1485         * src/maemo/modest-signature-editor-dialog.c:
1486         (modest_signature_editor_dialog_init):
1487         Call modest_window_mgr_prevent_hibernation_while_window_is_shown() to 
1488         prevent hibernation while any of these account settings dialogs are open.
1489
1490 2007-05-04  Murray Cumming  <murrayc@murrayc.com>
1491
1492         * src/maemo/Makefile.am:
1493         * src/maemo/modest-osso-state-saving.c: 
1494         * src/maemo/modest-osso-state-saving.h: Added 
1495         modest_osso_load_state() and modest_osso_save_state() though they do 
1496         nothing now. They should iterate through all the open windows and load/save 
1497         their state.
1498         * src/modest-ui-actions.c: (modest_ui_actions_on_quit): For Mameo, 
1499         save state when closing.
1500         
1501         * src/maemo/modest-main-window.c:
1502         (on_hildon_program_is_topmost_notify), (modest_main_window_new):
1503         Add a notification handler for the HildonProgram::is-topmost property, 
1504         so we can allow hibernation when the application goes into the background.
1505         But we still need to detect when the accounts setup windows are open so 
1506         we can stop hibernation when they are open.
1507         To do this, I also added the main window the HildonProgram. This might have 
1508         other side-effects/benefits, and should maybe be done for other windows.
1509
1510         * src/maemo/modest-osso-autosave-callbacks.h:
1511         * src/maemo/modest-osso-autosave-callbacks.c:
1512         (modest_on_osso_application_autosave): Add a libosso auto-save callback, 
1513         though it does not do anything yet, and we might never need this to do 
1514         anything. For instance, we already save drafts.
1515         
1516         * src/maemo/modest-platform.c: (modest_platform_init):
1517         Specify the libosso auto-save callback.
1518
1519 2007-05-03  Murray Cumming  <murrayc@murrayc.com>
1520
1521         * src/maemo/modest-platform.c:
1522         (modest_platform_set_update_interval):
1523         * src/modest-defs.h: Store the alarmd cookie ID in gconf, because it 
1524         aparently stays valid between application instances, so we can use this 
1525         to remove and reset it later. According to a maemo-developers email from 
1526         David Weinehall.
1527
1528 2007-05-03  Murray Cumming  <murrayc@murrayc.com>
1529
1530         * configure.ac: Depend on libalarm for Maemo.
1531
1532         * src/dbus_api/modest-dbus-api.h:
1533         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_send_receive),
1534         (on_send_receive), (modest_dbus_req_handler):
1535         Handle a SEND_RECEIVE D-Bus method.
1536         
1537         * libmodest-dbus-client/libmodest-dbus-client.c:
1538         (libmodest_dbus_client_send_and_receive):
1539         * libmodest-dbus-client/libmodest-dbus-client.h:
1540         Add C convenience functions for calling the new D-Bus method.
1541         
1542         * src/modest-platform.h:
1543         * src/gnome/modest-platform.c:
1544         * src/maemo/modest-platform.c: 
1545         Added modest_platform_set_update_interval(), which uses the 
1546         alarmd API on Maemo.
1547         (modest_platform_init),
1548         Call modest_platform_set_update_interval(), using a hard-coded 
1549         interval for now (until the global settings dialog is implemented), 
1550         though I am not sure that this makes sense yet.
1551
1552 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
1553
1554         * src/dbus_api/modest-dbus-callbacks.c:
1555         (modest_osso_cb_hw_state_handler):
1556         * src/dbus_api/modest-dbus-callbacks.h:
1557         * src/maemo/modest-platform.c: (modest_platform_init):
1558         Registered (empty) callbacks for the osso hardware state D-Bus signals, 
1559         in case this has some effect on the ability for Maemo to ping the 
1560         application.
1561
1562 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
1563
1564         * src/modest-text-utils.c: (modest_text_utils_validate_recipient):
1565         Comment out an if() that checks a gchar for < 0, causing a build-breaking 
1566         warning. It is probably a logic error, but I need to fix the build.
1567
1568 2007-05-02  Murray Cumming  <murrayc@murrayc.com>
1569
1570         * src/modest-account-mgr.h:
1571         * src/modest-account-mgr.c: 
1572         (modest_account_mgr_account_names): Add a gboolean enabled_only 
1573         parameter, so we can get lists of onlt the enabled accounts.
1574         
1575         (modest_account_mgr_add_account),,
1576         (modest_account_mgr_account_with_display_name_exists):
1577         * src/maemo/modest-msg-edit-window.c: (get_transports):
1578         * src/modest-account-mgr-helpers.c:
1579         (modest_account_mgr_set_first_account_as_default):
1580         * src/modest-init.c: (init_default_account_maybe):
1581         * src/modest-tny-account-store.c: (get_accounts):
1582         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
1583         (do_send_receive_auto), (modest_ui_actions_on_send_receive):
1584         * tests/check_account-mgr.c: (START_TEST):
1585         Provide the extra parameter, as appropriate.
1586         
1587         * src/widgets/modest-account-view.c: (update_account_view):
1588         Do not show disabled accounts (meaning that there is no way to 
1589         enable/disable accounts in the UI (the feature is not in our UI 
1590         specification), so we can use this internally only to mark unfinished 
1591         or temporary account data.
1592         
1593         * src/maemo/easysetup/modest-easysetup-wizard.c:
1594         (create_account): Add boolean enable parameter, so we can specify FALSE 
1595         to create the temporary account.
1596         (on_button_edit_advanced_settings): Create the temporary account as disabled.
1597         (on_before_next): When finishing, when there is a temporary account, just 
1598         set it as enabled.
1599         Also, use a timeout to delay the showing of the dialog until gconf is likely 
1600         to return correct information, due to a maemo gconf bug that is fixed in 
1601         osso 1.1, but not yet in Bora.
1602         However, the dialog stays on screen after it is destroyed.
1603         
1604         * src/maemo/modest-account-settings-dialog.c: on_response(): Do not check 
1605         for invalid data when cancelling. Use a hildon note instead of a dialog 
1606         to complain about invalid data. Do not show the account-saved note if the 
1607         account is disabled (a temporary account that will not really be saved for use 
1608         until later.)
1609
1610 2007-04-30  Murray Cumming  <murrayc@murrayc.com>
1611
1612         * src/modest-account-mgr-helpers.h:
1613         * src/modest-account-mgr-helpers.c:
1614         Added modest_account_mgr_unset_default_account(),
1615         Added modest_account_mgr_set_first_account_as_default().
1616
1617         * src/modest-account-mgr.c: (modest_account_mgr_remove_account): 
1618         If it was the default account, unset the default account name.
1619         
1620         * src/maemo/modest-account-view-window.c:
1621         (on_delete_button_clicked): If it was the default account, 
1622         set the first remaining account as the default instead.
1623         
1624         * src/maemo/modest-main-window.c: (on_account_update): Do not try to use 
1625         a NULL account or a NULL default account, to prevent a crash. This should 
1626         not happen now anyway. Bug #55343 in projects.maemo.org/bugzilla.
1627         
1628
1629 2007-04-30  Murray Cumming  <murrayc@murrayc.com>
1630
1631         * src/widgets/modest-recpt-editor.c:
1632         (modest_recpt_editor_on_key_press_event): Put an #ifdef around the 
1633         use of gtk_text_buffer_get_has_selection() (from GTK+ 2.10), and add a 
1634         TODO comment for this. This fixes the build.
1635         
1636         * src/modest-ui-actions.c: Add do_send_receive(), though it might not 
1637         be the best place for it. This will in future update all auto-update accounts, 
1638         rather than just the current/default account, when that gconf key exists.
1639         (modest_ui_actions_on_send_receive): Offer the settings dialog (or wizard) 
1640         if there are no accounts, before calling do_send_receive().
1641         * src/modest-ui-actions.h: Specify the callback for the Send/Recieve menu item.
1642         
1643         * src/gnome/modest-main-window.c: (on_online_toggle_toggled):
1644         * src/maemo/modest-main-window-ui.h:
1645         * src/maemo/modest-main-window.c: (on_connection_changed),
1646         (sync_accounts_cb): Use do_send_receive() instead of calling the signal handler 
1647         directly, becaue the signal handler does more.
1648
1649 2007-04-30  Murray Cumming  <murrayc@murrayc.com>
1650
1651         * src/modest-account-mgr-helpers.c:
1652         (modest_account_mgr_get_account_data): Add a more helpful error message, and comment, 
1653         for the case that the account does not exist.
1654         
1655         * src/widgets/modest-folder-view.c: (filter_row): Use the tinymail account ID 
1656         (equivalent to the modest account name) rather than the tinymail account name 
1657         (equivalent to the modest account title - human readable) to get the account data.
1658         Check for null account data to prevent the crash, and add a TODO comment saying that 
1659         this needs fixing because it is using the server account name instead of the account name.
1660
1661 2007-04-29  Murray Cumming  <murrayc@murrayc.com>
1662
1663         * src/maemo/easysetup/modest-easysetup-wizard.c: (show_error):
1664         * src/maemo/modest-account-settings-dialog.c: (show_error),
1665         (show_ok):
1666         Use hildon_note_new_information() for informative and error messages, 
1667         which seems to be expected for Maemo applications (no documentation that I know of 
1668         says this). I am surprised that there is no distinction between info and error 
1669         dialogs.
1670
1671 2007-04-29  Murray Cumming  <murrayc@murrayc.com>
1672
1673         * src/maemo/modest-maemo-ui-constants.h: Add a MODEST_MARGIN_NONE constant, so 
1674         it is easy to find where this is used.
1675         
1676         * src/maemo/easysetup/modest-easysetup-wizard.c:
1677         (create_page_welcome), (create_page_account_details),
1678         (create_page_user_details), (create_page_complete_easysetup),
1679         (create_page_custom_incoming), (create_page_custom_outgoing),
1680         (create_page_complete_custom):
1681         * src/maemo/modest-account-settings-dialog.c:
1682         (create_page_account_details), (create_page_user_details),
1683         (create_page_incoming), (create_page_outgoing):
1684         * src/maemo/modest-account-view-window.c: (window_vbox_new):
1685         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1686         (modest_connection_specific_smtp_edit_window_init):
1687         * src/maemo/modest-connection-specific-smtp-window.c:
1688         (modest_connection_specific_smtp_window_init):
1689         * src/maemo/modest-signature-editor-dialog.c:
1690         (modest_signature_editor_dialog_init): Use the correct padding/spacing/borders 
1691         and scrolling policy as per the Email Application Layout Guide, if I have 
1692         understood it.
1693
1694 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1695
1696         * src/modest-tny-account-store.c: (modest_tny_account_store_init): 
1697         Remove the add_transport_account_func and add_store_account_func vfunc implementations, 
1698         which were empty, because these vfuncs have been removed from TnyAccountStore.
1699         This fixes the build.
1700
1701 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1702
1703         * src/maemo/modest-main-window.c:
1704         (modest_main_window_show_toolbar): Check that a toolbar item is not NULL before 
1705         showing/hiding it. Added TODO because it probably should not be NULL.
1706         * src/modest-init.c: (modest_init_init_ui): Use a g_message() instead of a g_warning() 
1707         because unnecessary g_warnings() make degugging difficult.
1708
1709 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1710
1711         * src/maemo/modest-msg-edit-window.c:
1712         (modest_msg_edit_window_select_color),
1713         (modest_msg_edit_window_select_background_color): 2 const corrections and 
1714         moving 2 #endifs before closing brackets, to fix the build.
1715
1716 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1717
1718         * src/maemo/easysetup/modest-easysetup-wizard.h:
1719         * src/maemo/easysetup/modest-easysetup-wizard.c:
1720         (modest_easysetup_wizard_dialog_finalize),
1721         (on_button_edit_advanced_settings), (create_page_complete_custom),
1722         (on_response), (create_account):
1723         Implement the Advanced Settings edit button, by saving the account information, 
1724         for the Advanded Settings dialog to use directly from gconf, and removing it 
1725         if Finish is never clicked. There is still some UI strangeness, so this is not finished.
1726         Bug #5533 in the projects.maemo.org bugzilla.
1727
1728 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1729
1730         * src/maemo/modest-msg-view-window.c:
1731         (modest_msg_view_window_show_toolbar): Prevent hide/show of a NULL toolbar widget, 
1732         when opening a message window.
1733
1734 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1735
1736         * src/maemo/easysetup/modest-easysetup-wizard.c:
1737         (create_page_custom_outgoing): Correct the position of the horizontal separator to 
1738         match the UI spec.
1739         
1740         * src/maemo/modest-main-window.c: (set_toolbar_mode): Check that widgets are not NULL 
1741         before showing/hiding them, to avoid a crash when clicking on folders when there are no 
1742         gconf settings. I probably added more checks than necessary, but that is safer.
1743         
1744         * src/modest-ui-actions.c: (modest_ui_actions_on_move_to): Initialize the mail_op 
1745         variable to fix the build, but this seems to be used when it is still NULL.
1746
1747 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1748
1749         * src/modest-platform.h:
1750         * src/gnome/modest-platform.c: (modest_platform_connect_and_wait):
1751         * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
1752         * src/modest-main.c: Implement this function so we can avoid using 
1753         maemo-specific API from cross-platform code.
1754         (main):
1755         * src/modest-tny-account-store.c:
1756         (get_smtp_specific_transport_account_for_open_connection):
1757         * src/modest-ui-actions.c: (check_for_connection),
1758         (modest_ui_actions_on_item_not_found):
1759         Use modest_platform_connect_and_wait() and put #idefs around other 
1760         maemo-specific code, because only maemo currently has a way to 
1761         identify connection names.
1762
1763 2007-04-27  Murray Cumming  <murrayc@murrayc.com>
1764
1765         * src/modest-tny-account-store.h:
1766         * src/modest-tny-account-store.c:
1767         Added modest_tny_account_store_get_transport_account_for_open_connection(), which respects 
1768         the connection-specific SMTP server settings in the configuration.
1769         
1770         * src/dbus_api/modest-dbus-callbacks.c: (on_idle_send_mail),
1771         (on_idle_mail_to):
1772         * src/maemo/modest-main-window.c: (on_connection_changed),
1773         (connect_signals):
1774         * src/modest-main.c: (main), (start_ui), (send_mail):
1775         Use tny_maemo_conic_device_connect() instead of tny_maemo_conic_force_online(), when 
1776         that is what is intended.
1777         
1778         * src/modest-ui-actions.c: (action_send), (action_receive),
1779         (modest_ui_actions_on_item_not_found), (modest_ui_actions_on_send):
1780         Use modest_tny_account_store_get_transport_account_for_open_connection() instead of 
1781         modest_tny_account_store_get_tny_account_by_account() so that the connection-specific 
1782         SMTP server is used when it is specified.
1783         
1784         (modest_ui_actions_on_send_receive): 
1785         Check that a connection is open before proceeding.
1786         Receive and then send, instead of vice-versa, as per the specification.
1787
1788 2007-04-26  Murray Cumming  <murrayc@murrayc.com>
1789
1790         * src/modest-mail-operation.c:
1791         (modest_mail_operation_remove_folder): Intialize the parent variable, to fix the build, 
1792         though I guess it should be something other than NULL.
1793
1794 2007-04-26  Murray Cumming  <murrayc@murrayc.com>
1795
1796         * src/maemo/easysetup/modest-easysetup-wizard.c:
1797         (create_page_custom_incoming): Add the checkbox to the caption instead of adding the 
1798         combo twice, to avoid an g_warning and to make it visible again.
1799         * src/maemo/modest-main-window.c: (on_account_update): Check whether the popup_menu is 
1800         attached before detaching it, to avoid a g_warning, and add comment about the implicit 
1801         (already intended) dereference when detaching, because we then recreate the menu.
1802         But I am not sure why the warning was happening, and it is possible that this is a memory 
1803         leak.
1804
1805 2007-04-25  Murray Cumming  <murrayc@murrayc.com>
1806
1807         * src/dbus_api/modest-dbus-callbacks.c: Added uri_unescape(),
1808         and uri_parse_mailto() utility functions.
1809         (on_idle_mail_to): Parse, unescape, and use the subject, cc, bcc, and body items in 
1810         the mailto URI.
1811         * tests/dbus_api/test_mail_to.c: (main): Add escaped spaces in the URI to test this.
1812
1813 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
1814
1815         * src/dbus_api/modest-dbus-api.h:
1816         * src/dbus_api/modest-dbus-callbacks.c:
1817         Use an idle callback to execute the modest code in the application's own thread.
1818         Remove the helloworld example method.
1819         Handle mail-to and open-message D-Bus methods, though the mail-to format needs to be 
1820         parsed, and the open-message method is not implemented because this is not yet implemented in 
1821         modest itself.
1822         * libmodest-dbus-client/libmodest-dbus-client.c:
1823         (libmodest_dbus_client_send_mail), (libmodest_dbus_client_mail_to),
1824         (libmodest_dbus_client_open_message):
1825         * libmodest-dbus-client/libmodest-dbus-client.h: New functions for the new methods.
1826         
1827         * src/modest-tny-msg.c: (modest_tny_msg_new), (add_body_part): Handle NULLs for subject and 
1828         body without crashing.
1829         
1830         * tests/dbus_api/Makefile.am:
1831         * tests/dbus_api/test_mail_to.c:
1832         * tests/dbus_api/test_open_message.c: New tests for the new methods.
1833
1834 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
1835
1836         * libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
1837         Added file to fix the build. Sorry.
1838         
1839         * src/dbus_api/Makefile.am:
1840         * src/dbus_api/modest-dbus-api.h:
1841         * src/dbus_api/modest-dbus-callbacks.h:
1842         * src/dbus_api/modest-dbus-callbacks.c: (on_send_mail),
1843         (modest_dbus_req_handler):
1844         Put constants in a separate header so it can be reused by the 
1845         client library, without duplication
1846         
1847         * libmodest-dbus-client/Makefile.am:
1848         * libmodest-dbus-client/libmodest-dbus-client.c:
1849         (libmodest_dbus_client_call_helloworld),
1850         (libmodfest_dbus_client_send_mail),
1851         (libmodfest_dbus_client_mailto),
1852         (libmodfest_dbus_client_open_message):
1853         * libmodest-dbus-client/libmodest-dbus-client.h:
1854         (Partly) Implement a send_mail D-Bus method.
1855         
1856         * tests/dbus_api/Makefile.am:
1857         * tests/dbus_api/test_send_mail.c: (main): Added a test for 
1858         the send_email D-Bus method.
1859
1860 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
1861
1862         * Makefile.am:
1863         * configure.ac:
1864         * libmodest-dbus-client/Makefile.am:
1865         * libmodest-dbus-client/libmodest-dbus-client.c:
1866         * libmodest-dbus-client/libmodest-dbus-client.h:
1867         * tests/dbus_api/Makefile.am:
1868         * tests/dbus_api/test_hello.c: (main): Added directory structure for a C convenience library 
1869         for using the modest D-Bus API, and used that from the test. It is still just a helloworld.
1870
1871 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
1872
1873         * src/maemo/easysetup/modest-easysetup-wizard.c:
1874         (create_page_account_details):
1875         * src/maemo/modest-account-settings-dialog.c:
1876         (create_page_account_details): Explicitly set auto-capitalization mode for the title 
1877         widgets, because this might not be the default in future versions of the Maemo GTK+. 
1878         However, I can not not get capitalization to work even in a simple test case.
1879
1880 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
1881
1882         * src/maemo/easysetup/modest-easysetup-wizard.c:
1883         (create_page_custom_incoming), (create_page_custom_outgoing):
1884         * src/maemo/modest-account-settings-dialog.c:
1885         (create_page_account_details), (create_page_incoming),
1886         (create_page_outgoing): Use a separate label in a caption for GtkCheckButtons, 
1887         instead of using gtk_check_button_with_label(), so they are aligned like the other 
1888         widgets, as per the UI spec.
1889
1890 2007-04-24  Murray Cumming  <murrayc@murrayc.com>
1891
1892         * src/maemo/easysetup/modest-easysetup-wizard.c:
1893         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1894         * src/widgets/modest-validating-entry.c:
1895         * src/widgets/modest-validating-entry.h: Rename the validating widget so it has a 
1896         Modest prefix instead of an EasySetup prefix.
1897
1898 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1899
1900         * src/widgets/modest-validating-entry.h:
1901         * src/widgets/modest-validating-entry.c: (on_insert_text),
1902         Added easysetup_validating_entry_set_max_func(), used to set a callback 
1903         to call when the max number of characters is reached. GtkEntry has a max-length 
1904         already but is silent about it.
1905
1906         * src/maemo/easysetup/modest-easysetup-wizard.c: (on_entry_max),
1907         (create_page_account_details), (create_page_user_details),
1908         (create_account):
1909         * src/maemo/modest-account-settings-dialog.c: (on_entry_max),
1910         (create_page_account_details), (create_page_user_details),
1911         (create_page_outgoing):
1912         * src/modest-ui-actions.c: (modest_ui_actions_on_details): 
1913         Use easysetup_validating_entry_set_max_func() to show the warning dialog, as per 
1914         the UI spec, when the user tries to enter more than the max number of characters.
1915
1916 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1917
1918         * src/maemo/easysetup/modest-easysetup-wizard.c:
1919         (create_page_user_details), (create_page_custom_incoming),
1920         (create_page_custom_outgoing):
1921         * src/maemo/modest-account-settings-dialog.c:
1922         (create_page_user_details), (create_page_incoming),
1923         (create_page_outgoing):
1924         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1925         (modest_connection_specific_smtp_edit_window_init):
1926         Use hildon_gtk_entry_set_input_mode() to turn off auto-capitalization where it is 
1927         not appropriate. Bad Maemo-specific defaults!.
1928
1929 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1930
1931         * src/maemo/modest-signature-editor-dialog.c: (enable_widgets),
1932         (on_toggle_button_changed), (modest_signature_editor_dialog_init),
1933         (modest_signature_editor_dialog_set_settings): 
1934         Disable the label and textview when the checkbox is disabled, and use the 
1935         specified (UI spec) default signature text.
1936
1937 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1938
1939         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1940         (modest_connection_specific_smtp_edit_window_init): Use spacing constants.
1941         
1942         * src/modest-defs.h:
1943         * src/modest-account-mgr-helpers.h:
1944         * src/modest-account-mgr-helpers.c:
1945         Added modest_account_mgr_get/set_signature(), using new gconf keys.
1946         
1947         * src/maemo/Makefile.am:
1948         * src/maemo/modest-signature-editor-dialog.c:
1949         * src/maemo/modest-signature-editor-dialog.h: New dialog for editing signatures, 
1950         as per the UI spec.
1951         
1952         * src/maemo/modest-account-settings-dialog.h:
1953         * src/maemo/modest-account-settings-dialog.c:
1954         (modest_account_settings_dialog_finalize), (on_button_signature),
1955         (save_configuration): Use the new dialog when the Edit button is pressed, and 
1956         save the changes if necessary, as per the UI spec.
1957
1958 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1959
1960         * src/maemo/Makefile.am:
1961         * src/maemo/modest-maemo-ui-constants.h: New header with some defines for widget spacing, 
1962         based on maemo-develoers email from Dirk.
1963         
1964         * src/maemo/easysetup/modest-easysetup-wizard.c:
1965         (create_page_welcome), (create_page_account_details),
1966         (create_page_user_details), (create_page_complete_easysetup),
1967         (create_page_custom_incoming), (create_page_custom_outgoing),
1968         (create_page_complete_custom),
1969         (modest_easysetup_wizard_dialog_init):
1970         * src/maemo/modest-account-settings-dialog.c:
1971         (create_page_account_details), (create_page_user_details),
1972         (create_page_incoming), (create_page_outgoing),
1973         (modest_account_settings_dialog_init):
1974         * src/maemo/modest-connection-specific-smtp-window.c:
1975         (modest_connection_specific_smtp_window_init): Used the smallest of the spacing constants.
1976
1977 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1978
1979         * src/maemo/easysetup/modest-easysetup-wizard.c:
1980         (create_page_account_details), (create_page_custom_outgoing),
1981         (create_page_complete_custom):
1982         * src/maemo/modest-account-settings-dialog.c:
1983         (create_page_user_details), (create_page_incoming),
1984         (create_page_outgoing):
1985         * src/maemo/modest-connection-specific-smtp-edit-window.c:
1986         (modest_connection_specific_smtp_edit_window_init): 
1987         Use the correct (UI spec) port min/max, and use horizontal separators, 
1988         as per the UI spec.
1989
1990 2007-04-23  Murray Cumming  <murrayc@murrayc.com>
1991
1992         * src/maemo/easysetup/modest-easysetup-wizard.c:
1993         (set_default_custom_servernames):
1994         * src/maemo/modest-account-settings-dialog.c:
1995         (create_page_incoming), (on_combo_outgoing_security_changed),
1996         (on_combo_incoming_security_changed), (create_page_outgoing),
1997         (modest_account_settings_dialog_set_account_name),
1998         (save_configuration):
1999         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2000         (on_combo_security_changed),
2001         (modest_connection_specific_smtp_edit_window_init),
2002         (modest_connection_specific_smtp_edit_window_set_connection),
2003         (modest_connection_specific_smtp_edit_window_get_settings): 
2004         Use HildonNumberEditor instead of GtkEntry for the port numbers so it has the - and + buttons,
2005         as per the UI spec.
2006
2007 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2008
2009         * po/en_GB.po:
2010         * src/maemo/easysetup/modest-easysetup-wizard.c:
2011         (create_page_custom_outgoing), (create_page_complete_custom):
2012         * src/maemo/modest-account-settings-dialog.c:
2013         (create_page_user_details), (create_page_outgoing):
2014         * src/maemo/modest-account-view-window.c: (button_box_new):
2015         Use changed logical IDs as per the most recent UI spec:
2016         mcen_bd_emailsetup_edit -> mcen_bd_edit
2017         mcen_bd_emailsetup_delete -> mcen_bd_delete
2018         mcen_bd_emailsetup_close -> mcen_bd_close
2019
2020 2007-04-20  2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2021
2022         * configure.ac:
2023         * src/Makefile.am:
2024         * src/dbus_api/Makefile.am:
2025         * src/dbus_api/modest-dbus-callbacks.c:
2026         * src/dbus_api/modest-dbus-callbacks.h:
2027         * src/maemo/modest-platform.c: (modest_platform_init):
2028         Added the beginnings of a D-Bus API. At the moment it just has a HelloWorld 
2029         method.
2030         * tests/Makefile.am:
2031         * tests/dbus_api/Makefile.am:
2032         * tests/dbus_api/test_hello.c: (main): Very simple test of the D-Bus API.
2033
2034 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2035
2036         * src/maemo/modest-account-settings-dialog.c:
2037         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2038         Removed unnecessary includes.
2039
2040 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2041
2042         * src/maemo/easysetup/modest-easysetup-wizard.c:
2043         * src/maemo/modest-account-settings-dialog.c:
2044         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2045         * src/widgets/Makefile.am:
2046         * src/widgets/modest-easysetup-secureauth-combo-box.c:
2047         * src/widgets/modest-easysetup-secureauth-combo-box.h:
2048         * src/widgets/modest-easysetup-serversecurity-combo-box.c:
2049         * src/widgets/modest-easysetup-serversecurity-combo-box.h:
2050         * src/widgets/modest-secureauth-combo-box.c:
2051         * src/widgets/modest-secureauth-combo-box.h:
2052         * src/widgets/modest-serversecurity-combo-box.c:
2053         * src/widgets/modest-serversecurity-combo-box.h: Renamed the files and 
2054         made the GObject names more consistent with the rest of the Modest code.
2055
2056 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2057
2058         * src/maemo/easysetup/Makefile.am:
2059         * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c:
2060         * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.h:
2061         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
2062         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
2063         * src/maemo/easysetup/modest-easysetup-wizard.c:
2064         * src/maemo/easysetup/modest-validating-entry.c:
2065         * src/maemo/easysetup/modest-validating-entry.h:
2066         * src/maemo/modest-account-settings-dialog.c:
2067         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2068         * src/widgets/Makefile.am: Moved these widgets from maemo/easysetup into 
2069         widgets/ because they are used outside of easysetup too. After checking in, 
2070         svn will allow me to rename them too.
2071
2072 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2073
2074         * src/gnome/modest-msg-edit-window.c:
2075         (modest_msg_edit_window_set_priority_flags): Added an empty implementation to fix a 
2076         linker error, to fix the build on the GNOME platform.
2077         modest_msg_edit_window_set_zoom(), modest_msg_edit_window_get_zoom(), 
2078         modest_msg_edit_window_zoom_plus(), modest_msg_edit_window_zoom_minus():
2079         ifdefed out to avoid a warning.
2080
2081 2007-04-20  Murray Cumming  <murrayc@murrayc.com>
2082
2083         * src/widgets/modest-header-view.c: (on_focus_in): Use GTK_CHECK_VERSION to #ifdef around the 
2084         use of gtk_tree_view_get_visible_range(), to fix the build on Mameo. This code probably needs 
2085         some alternative for GTK+ 2.6.
2086
2087 2007-04-19  Murray Cumming  <murrayc@murrayc.com>
2088
2089         * src/maemo/modest-address-book.c: Added include to avoid a warning.
2090
2091         * po/en_GB.po: Added missing mcen_bd_emailsetup_close string, 
2092         specified for EmailAccountsDialog in UI spec.
2093         
2094         * src/maemo/easysetup/modest-easysetup-wizard.c:
2095         * src/maemo/easysetup/modest-easysetup-wizard.h:
2096         * src/maemo/modest-account-settings-dialog.c:
2097         * src/maemo/modest-account-settings-dialog.h:
2098         Reuse a member window widget for the connection-specific SMTP server accounts, 
2099         so we can tell it to create/save the accounts only if we actually save changes.
2100
2101         * src/maemo/modest-connection-specific-smtp-edit-window.h:      
2102         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2103         (modest_connection_specific_smtp_edit_window_get_settings): 
2104         Return a struct instance for temporarily remembering the entered data.
2105
2106         * src/maemo/modest-connection-specific-smtp-window.h:
2107         * src/maemo/modest-connection-specific-smtp-window.c:
2108         (modest_connection_specific_smtp_window_finalize),
2109         (modest_connection_specific_smtp_window_fill_with_connections),
2110         (on_button_edit),
2111         (modest_connection_specific_smtp_window_save_server_accounts),
2112         (update_model_server_names): Do not actually save data until asked, 
2113         when the caller calls modest_connection_specific_smtp_window_save_server_accounts().
2114         
2115         (on_selection_changed),
2116         (modest_connection_specific_smtp_window_init): Disable the edit 
2117         button when nothing is selected.
2118         
2119         * src/modest-account-mgr-helpers.c:
2120         * src/modest-account-mgr-helpers.h: 
2121         Put modest_account_mgr_free_server_account_data() in the header now that I use the struct 
2122         elsewhere.
2123
2124 2007-04-19  Murray Cumming  <murrayc@murrayc.com>
2125
2126         * src/modest-account-mgr-helpers.h:
2127         * src/modest-account-mgr-helpers.c:
2128         (modest_account_mgr_get_unused_account_name),
2129         (modest_account_mgr_get_unused_account_display_name): Added these 
2130         utility functions, to avoid code duplication.
2131
2132         * src/maemo/easysetup/modest-easysetup-wizard.c:
2133         (create_page_account_details), (create_account):
2134         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2135         (on_combo_security_changed),
2136         (modest_connection_specific_smtp_edit_window_init),
2137         (modest_connection_specific_smtp_edit_window_save_settings):
2138         * src/maemo/modest-connection-specific-smtp-edit-window.h:
2139         * src/maemo/modest-connection-specific-smtp-window.c:
2140         (modest_connection_specific_smtp_window_finalize),
2141         (modest_connection_specific_smtp_window_fill_with_connections),
2142         (on_button_edit), (modest_connection_specific_smtp_window_init):
2143         * src/maemo/modest-connection-specific-smtp-window.h:
2144         Implementing saving of connection-specific server accounts.
2145         
2146         But I need to refactor this so we can save the data for each 
2147         possible connection-specific account and only actually create the server accounts 
2148         when the easysetup finished, or the OK button is pressed on the account settings 
2149         dialog.
2150
2151 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
2152
2153         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2154         (on_combo_security_changed): 
2155         (modest_connection_specific_smtp_edit_window_init):
2156         Auto-fill the port number as in the account settings.
2157         
2158         (modest_connection_specific_smtp_edit_window_set_connection):
2159         * src/maemo/modest-connection-specific-smtp-edit-window.h:
2160         * src/maemo/modest-connection-specific-smtp-window.c:
2161         (fill_with_connections), (on_button_edit),
2162         (modest_connection_specific_smtp_window_init): 
2163         Turn the edit window into a dialog to simplify the code, and 
2164         set a WM hint as in a GtkDialog, because only a popup can be on top of 
2165         another window in Maemo, and popups usually have no WM decoration.
2166         
2167         * src/modest-defs.h:
2168         * src/modest-account-mgr-helpers.c:
2169         (modest_account_mgr_set_connection_specific_smtp),
2170         (modest_account_mgr_remove_connection_specific_smtp),
2171         (modest_account_mgr_get_connection_specific_smtp):
2172         * src/modest-account-mgr-helpers.h: Some functions to write the 
2173         connection-specific SMTP server information. Not yet used.
2174
2175         
2176         * src/widgets/modest-folder-view.c: (text_cell_data):
2177         Fix a warning about an uninitialized variable.
2178         (on_configuration_key_changed): Put an #ifdef around the use 
2179         of gtk_tree_view_column_queue_resize() because it is new in GTK+ 2.10.
2180
2181 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
2182
2183         * src/maemo/modest-account-settings-dialog.h:
2184         * src/maemo/modest-account-settings-dialog.c:
2185         Added connect_for_modified() utility function to mark the new modified boolean.
2186         
2187         (create_page_account_details), (create_page_user_details),
2188         (create_page_incoming), (create_page_outgoing), (on_response),
2189         (modest_account_settings_dialog_init),
2190         (modest_account_settings_dialog_set_account_name):
2191         Only warn about unsaved changes when there are actually unsaved changes.
2192         
2193         * src/modest-account-mgr-helpers.c:
2194         * src/modest-account-mgr-helpers.h: Put the port, secure-auth, and security information 
2195         into the ModestServerAccountData struct. I do not use it yet, but someone might expect 
2196         to get the data from there in future.
2197
2198 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
2199
2200         * src/modest-defs.h:
2201
2202         * src/modest-account-mgr-helpers.h:
2203         * src/modest-account-mgr-helpers.c:
2204         Store the security account setting in a single conf key instead of using 
2205         the options list, so that the list is left for just the to-be-removed camel hack, 
2206         and because gconf_client_set_list() is failing for some reason.
2207
2208         * src/modest-account-mgr.c:
2209         (modest_account_mgr_add_server_account):
2210         * src/maemo/modest-account-settings-dialog.c:
2211         (modest_account_settings_dialog_set_account_name),
2212         (save_configuration): Use the renamed functions.
2213
2214
2215 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
2216
2217         * src/widgets/Makefile.am:
2218         * src/widgets/modest-limit-retrieve-combo-box.c:
2219         * src/widgets/modest-limit-retrieve-combo-box.h:
2220         * src/widgets/modest-retrieve-combo-box.c:
2221         * src/widgets/modest-retrieve-combo-box.h: Added new widgets for use in 
2222         the account settings dialog.
2223         
2224         * src/modest-defs.h:
2225         * src/modest-account-mgr-helpers.h:
2226         * src/modest-account-mgr-helpers.c:
2227         (modest_server_account_get_option_secure_auth),
2228         (modest_server_account_set_option_secure_auth):
2229         * src/modest-account-mgr.c:
2230         (modest_account_mgr_add_server_account):
2231         Use the existing AUTH_MECH conf key for the secure-auth setting, 
2232         instead of putting it in the list options, because this was actually used already.
2233         
2234         * src/maemo/modest-account-settings-dialog.c:
2235         (create_page_account_details),
2236         (modest_account_settings_dialog_set_account_name),
2237         (save_configuration):
2238         * src/maemo/modest-account-settings-dialog.h:
2239         Add the retrieve and retrieve-limit combo boxes, as per the UI spec.
2240         Hide the leave-messages checkbox for non-POP accounts, as per the UI spec.
2241
2242 2007-04-18  Murray Cumming  <murrayc@murrayc.com>
2243
2244         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
2245         * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
2246         Added easysetup_serversecurity_combo_box_get_active_serversecurity_port()
2247
2248         * src/modest-defs.h:
2249         * src/maemo/modest-account-settings-dialog.c:
2250         (create_page_incoming), (on_combo_outgoing_security_changed),
2251         (on_combo_incoming_security_changed), (create_page_outgoing),
2252         (modest_account_settings_dialog_set_account_name),
2253         (save_configuration): Load/Save the port number, and change it when the 
2254         security combo changes, to suitable defaults.
2255
2256 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
2257
2258         * src/modest-account-mgr.c:
2259         (modest_account_mgr_add_server_account): Set the security and secure-auth 
2260         options, and add a comment saying that the other camel-specific options should be 
2261         removed in future.
2262
2263 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
2264
2265         * src/maemo/modest-account-settings-dialog.c: (check_data): Always return something, 
2266         found by valgrind.
2267         * src/modest-tny-account-store.c: (account_list_free),
2268         (on_account_changed): Add a TODO comment about a valgrind error, caused by using 
2269         cursor->data after unreffing it. But there is some strange stuff there so it might not be 
2270         easy to fix.
2271
2272 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
2273
2274         * src/modest-protocol-info.c:
2275         * src/modest-protocol-info.h: Added a MODEST_PROTOCOL_AUTH_CRAMMD5 enum value, because it 
2276         is required by our UI spec. Maybe something in our implementation will use this eventually.
2277         * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c: 
2278         (easysetup_secureauth_combo_box_fill): Use the CRAM MD5 enum value 
2279         instead of the previous 0 placeholder.
2280         
2281         * src/modest-defs.h: Added gconf list pair key names and value strings for the security and 
2282         secure-auth settings.
2283         * src/modest-account-mgr-helpers.h:
2284         * src/modest-account-mgr-helpers.c:
2285         (modest_server_account_data_get_option_secure_auth),
2286         (modest_server_account_set_option_secure_auth),
2287         (modest_server_account_data_get_option_security),
2288         (modest_server_account_set_option_security): Added this API for getting and setting the security 
2289         and secure-auth settings.
2290         
2291         * src/maemo/modest-account-settings-dialog.h:
2292         * src/maemo/modest-account-settings-dialog.c:
2293         (modest_account_settings_dialog_finalize), (check_data),
2294         (on_response): Store the original title as well as the name, to avoid unnececessary warnings 
2295         about changing titles.
2296         (modest_account_settings_dialog_set_account_name): Load the security and secure-auth settings.
2297         (save_configuration): Save the security and secure-auth settings.
2298
2299         * src/modest-conf.c: (modest_conf_set_list): Get the list after setting it, to show that this 
2300         is failing sometimes (though reporting success). I fear I may need to debug gconf to fix this.
2301
2302 2007-04-17  Murray Cumming  <murrayc@murrayc.com>
2303
2304         * src/modest-defs.h: 
2305         * src/modest-account-mgr.c:
2306         (modest_account_mgr_add_server_account):
2307         Added and used defines for the options key and value pair strings, 
2308         that are used so far, though they do not seem to correspond to anything in our 
2309         UI specs or ModestProtocol enum.
2310         
2311         * src/modest-account-mgr-helpers.h:
2312         * src/modest-account-mgr-helpers.c:
2313         (compare_option_strings_for_name),
2314         (modest_server_account_data_get_option_value),
2315         (modest_server_account_data_get_option_bool),
2316         (modest_account_mgr_get_server_account_option):
2317         Added helper functions for parsing the options GSList.
2318
2319 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
2320
2321         * src/modest-account-mgr-helpers.c: Clarified the documentation to say that the initial 
2322         display name is based on the supplied account name.
2323         * src/modest-account-mgr.c:
2324         * src/modest-account-mgr.h: Added modest_account_mgr_account_with_display_name_exists(), 
2325         with an inefficient, but good-enough, implementation.
2326         
2327         * src/maemo/easysetup/modest-easysetup-wizard.c:
2328         (create_page_account_details), (on_before_next), (create_account): 
2329         Check for existing display names rather than (non-user-visible) account names, and just 
2330         create and set a unique account name at the end.
2331         
2332         * src/maemo/modest-account-settings-dialog.c:
2333         (modest_account_settings_dialog_init),
2334         (modest_account_settings_dialog_set_account_name),
2335         (create_page_incoming): Show the display name, instead of the account name.
2336         (on_response): Do some (not all) extra checks, as in the UI spec.
2337         (save_configuration): Save the display name if it was changed.
2338
2339 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
2340
2341         * po/en_GB.po: Added needed logical ID and translation.
2342         * src/widgets/modest-account-view.c: (on_account_default_toggled),
2343         (init_view): Made the is-default column clicking work.
2344
2345 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
2346
2347         * configure.ac:
2348         * src/maemo/easysetup/Makefile.am:
2349         * src/maemo/easysetup/modest-easysetup-wizard.c:
2350         (modest_easysetup_wizard_dialog_init):
2351         * src/maemo/easysetup/provider-data-test.keyfile:
2352         * src/maemo/easysetup/provider-data.keyfile: 
2353         Moved the provider data file to the new modest-providers-data package and used it from there.
2354
2355 2007-04-16  Murray Cumming  <murrayc@murrayc.com>
2356
2357         * src/modest-local-folder-info.c:
2358         (modest_local_folder_info_get_type_display_name): Use _() to actually get the translated string. 
2359         N_() was already used on the static strings, but this just marks it for translation without 
2360         using the translation.
2361
2362 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
2363
2364         * src/maemo/modest-account-settings-dialog.c:
2365         (create_page_incoming),
2366         (modest_account_settings_dialog_set_account_name): 
2367         Added comments about the need for new API in ModestAccountMgr to handle the authentication 
2368         and secure-connection stuff that is stored in the options GSList* with hard-coded names.
2369         I will do this if nobody else gets there first.
2370
2371 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
2372
2373         * src/maemo/modest-account-settings-dialog.c: (save_configuration): 
2374         Saved much of the incoming and outgoing data too, though I cannot yet see how to 
2375         save the security stuff.
2376
2377 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
2378
2379         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): 
2380         Set the email address and user fullname, which I now see must be 
2381         done separately.
2382         
2383         * src/maemo/modest-account-settings-dialog.h:
2384         * src/maemo/modest-account-settings-dialog.c:
2385          (on_response),
2386         (modest_account_settings_dialog_set_account_name): Show the email address, fullname, 
2387         leave-on-server and authentication.
2388         (save_configuration): Save most of the non-server-account specific stuff, but I don't see 
2389         how to do the rest.
2390
2391 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
2392
2393
2394         * src/maemo/modest-account-settings-dialog.c:
2395         * src/maemo/modest-account-settings-dialog.h:
2396         Most (but not all) of the widgets are now present as specified by the UI spec.
2397         No changes are yet saved, and some details are not properly shown yet.
2398         
2399         * po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.
2400
2401 2007-04-06  Murray Cumming  <murrayc@murrayc.com>
2402
2403         * src/maemo/Makefile.am:
2404         * src/maemo/modest-account-settings-dialog.c:
2405         * src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit 
2406         an existing account. Doesn't do much yet.
2407         
2408         * src/maemo/modest-account-view-window.c: (on_edit_button_clicked): 
2409         Open the accounts settings dialog when Edit is clicked.
2410
2411 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
2412
2413         * src/maemo/easysetup/Makefile.am:
2414         * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
2415         (load_from_file): 
2416         * src/maemo/easysetup/modest-easysetup-wizard.c:
2417         (modest_easysetup_wizard_dialog_init):
2418         Try to get the source directory from the build system,
2419         instead of hard-coding "./" into the source code, when opening our local 
2420         copies of the configuration files.
2421         But this still fails when opening the wizard from the Accounts window, 
2422         maybe because the working directory seems to change at runtime.
2423         So the wizard will fail the second time unless you copy the files into their 
2424         proper locations - see the stdout warnings for the paths.
2425         
2426         (create_page_account_details),(on_before_next): 
2427         Check for existing non-server accounts instead of server accounts, 
2428         so the default account name is useful again, and to prevent trying to 
2429         recreate accounts.
2430         
2431         * src/maemo/modest-account-view-window.c: (on_new_button_clicked): 
2432         Show the wizard when New is clicked.
2433         
2434         * src/widgets/modest-account-view.c: (on_account_default_toggled),
2435         (init_view): Show the column headers, and show the columns that are 
2436         specified in the UI specs. However, something in Maemo's GTK+ prevents 
2437         us from handling the GtkCellRendererToggle::toggled signal, so we cannot 
2438         change the default account. This is despite unsetting the special properties.
2439
2440 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
2441
2442         * docs/reference/modest-design.sgml: Corrected spelling mistake.
2443         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account): 
2444         Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
2445         This seems to be how this should be used. If it is, then I will update the AccountMgr documentation 
2446         to make that clearer.
2447         * src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.
2448
2449 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
2450
2451         * src/maemo/modest-account-view-window.c:
2452         (modest_account_view_window_init),
2453         (modest_account_view_window_new):
2454         Use the same buttons as specified in the 
2455         UI spec. Add the widgets to the vbox and action_area instead of just assigning them to 
2456         the existing widgets, which never had a chance of working.
2457         Put the ModestAccountView treeview in a scrolled window.
2458         Do not repeat the initialization in both _init() and _new().
2459         
2460         * src/widgets/modest-account-view.c: (update_account_view):
2461         Add a warning about modest_account_mgr_account_names() returning NULL, which is why 
2462         this widget and window shows no accounts.
2463         
2464         * po/en_GB.po: Added translations needed for the dialog button logical IDs.
2465         
2466 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
2467
2468         * src/maemo/easysetup/modest-easysetup-wizard.c:
2469         (set_default_custom_servernames): Avoid a dereference of a destroyed widget.
2470         (create_account): Do a sanity check, showing that modest_account_mgr_account_names() 
2471         returns NULL after modest_account_mgr_add_server_account() returned TRUE, 
2472         which seems wrong.
2473         
2474         * src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
2475         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no 
2476         accounts exist yet, as in the UI spec.
2477         
2478         * src/modest-account-mgr.h: Add TODO comment about a possible memory leak.
2479
2480 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
2481
2482         * src/maemo/Makefile.am:
2483         * src/maemo/modest-connection-specific-smtp-edit-window.c:
2484         * src/maemo/modest-connection-specific-smtp-edit-window.h: 
2485         New window for editing connection-specific smtp details.
2486         Not fully implemented.
2487
2488         * src/maemo/modest-connection-specific-smtp-window.c:
2489         (modest_connection_specific_smtp_window_finalize) :
2490         unref the tree model.
2491         (on_button_edit): Show the edit window.
2492
2493 2007-04-05  Murray Cumming  <murrayc@murrayc.com>
2494
2495         * src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol 
2496         error for me.
2497         
2498         * src/maemo/Makefile.am:
2499         * src/maemo/modest-connection-specific-smtp-window.c:
2500         * src/maemo/modest-connection-specific-smtp-window.h:
2501         New window for showing the list of connections, for connection-specific 
2502         SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
2503         * src/maemo/easysetup/modest-easysetup-wizard.c:
2504         (create_page_custom_outgoing): Show the new window when the button is clicked.
2505
2506 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
2507
2508         * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
2509         * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
2510         * src/maemo/modest-msg-edit-window.c:
2511         (modest_msg_edit_window_insert_image):
2512         * src/modest-conf.c: (modest_conf_key_escape):
2513         * src/modest-mail-operation.c:
2514         (modest_mail_operation_send_new_mail):
2515         * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
2516         (modest_ui_actions_on_new_account):
2517         * src/widgets/modest-attachment-view.c: (update_filename_request):
2518         * src/widgets/modest-mail-header-view.c: 
2519         Corrected warnings that were breaking the build, by commenting out unused variables, 
2520         and a function, and by including a header.
2521
2522 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
2523
2524         * configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h, 
2525         so we can #ifdef around platform-specific code when necessary.
2526         * src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO 
2527         to allow this to build for the GNOME platform too.
2528
2529 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
2530
2531         * src/maemo/easysetup/modest-easysetup-wizard.c:
2532         Added util_increment_name() and used it in create_page_account_details() 
2533         to make sure that the default account name is always a new name.
2534         
2535         (modest_easysetup_wizard_dialog_init), 
2536         (set_default_custom_servernames): Some minor memory management fixes.
2537
2538 2007-04-04  Murray Cumming  <murrayc@murrayc.com>
2539
2540         * Makefile.am:
2541         * configure.ac:
2542         * src/modest-runtime.c: (init_i18n): Restored the translation 
2543         infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR 
2544         are defined in config.h, and the translations are installed.
2545         
2546         * src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE 
2547         is defined for translation.
2548
2549 2007-04-03  Murray Cumming  <murrayc@murrayc.com>
2550
2551         * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
2552         (load_from_file):
2553         * src/maemo/easysetup/modest-easysetup-wizard.c:
2554         (modest_easysetup_wizard_dialog_init):
2555         * src/maemo/easysetup/modest-presets.c: (modest_presets_new): 
2556         Use realistic paths (though they should use $prefix generically) to the 
2557         mcc_mapping and provider-data.keyfile files which might work when they 
2558         are installed by the future version of the operator-wizard package, 
2559         and then fallback to paths in our source code, with an explanatory 
2560         warning.
2561
2562 2007-04-03  Murray Cumming  <murrayc@murrayc.com>
2563
2564         * configure.ac:
2565         * src/Makefile.am:
2566         * src/maemo/Makefile.am:
2567         * src/maemo/easysetup/: Added files from the previously-exernal 
2568         osso-modest-easysetup.
2569         * src/maemo/modest-main-window-ui.h:
2570         * src/modest-ui-actions.c: 
2571         * src/modest-ui-actions.h:
2572         Added modest_ui_actions_on_new_account() as a signal handler for the 
2573         New Account menu item. It shows the easysetup wizard.
2574         * po/en_GB.po: Added additional needed logical IDs and translations.
2575         
2576 Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
2577 Apparently ChangeLog is not used for some vague Nokia legal reasons.