1 2007-04-27 Murray Cumming <murrayc@murrayc.com>
3 * src/maemo/modest-msg-edit-window.c:
4 (modest_msg_edit_window_select_color),
5 (modest_msg_edit_window_select_background_color): 2 const corrections and
6 moving 2 #endifs before closing brackets, to fix the build.
8 2007-04-27 Murray Cumming <murrayc@murrayc.com>
10 * src/maemo/easysetup/modest-easysetup-wizard.h:
11 * src/maemo/easysetup/modest-easysetup-wizard.c:
12 (modest_easysetup_wizard_dialog_finalize),
13 (on_button_edit_advanced_settings), (create_page_complete_custom),
14 (on_response), (create_account):
15 Implement the Advanced Settings edit button, by saving the account information,
16 for the Advanded Settings dialog to use directly from gconf, and removing it
17 if Finish is never clicked. There is still some UI strangeness, so this is not finished.
18 Bug #5533 in the projects.maemo.org bugzilla.
20 2007-04-27 Murray Cumming <murrayc@murrayc.com>
22 * src/maemo/modest-msg-view-window.c:
23 (modest_msg_view_window_show_toolbar): Prevent hide/show of a NULL toolbar widget,
24 when opening a message window.
26 2007-04-27 Murray Cumming <murrayc@murrayc.com>
28 * src/maemo/easysetup/modest-easysetup-wizard.c:
29 (create_page_custom_outgoing): Correct the position of the horizontal separator to
32 * src/maemo/modest-main-window.c: (set_toolbar_mode): Check that widgets are not NULL
33 before showing/hiding them, to avoid a crash when clicking on folders when there are no
34 gconf settings. I probably added more checks than necessary, but that is safer.
36 * src/modest-ui-actions.c: (modest_ui_actions_on_move_to): Initialize the mail_op
37 variable to fix the build, but this seems to be used when it is still NULL.
39 2007-04-27 Murray Cumming <murrayc@murrayc.com>
41 * src/modest-platform.h:
42 * src/gnome/modest-platform.c: (modest_platform_connect_and_wait):
43 * src/maemo/modest-platform.c: (modest_platform_connect_and_wait):
44 * src/modest-main.c: Implement this function so we can avoid using
45 maemo-specific API from cross-platform code.
47 * src/modest-tny-account-store.c:
48 (get_smtp_specific_transport_account_for_open_connection):
49 * src/modest-ui-actions.c: (check_for_connection),
50 (modest_ui_actions_on_item_not_found):
51 Use modest_platform_connect_and_wait() and put #idefs around other
52 maemo-specific code, because only maemo currently has a way to
53 identify connection names.
55 2007-04-27 Murray Cumming <murrayc@murrayc.com>
57 * src/modest-tny-account-store.h:
58 * src/modest-tny-account-store.c:
59 Added modest_tny_account_store_get_transport_account_for_open_connection(), which respects
60 the connection-specific SMTP server settings in the configuration.
62 * src/dbus_api/modest-dbus-callbacks.c: (on_idle_send_mail),
64 * src/maemo/modest-main-window.c: (on_connection_changed),
66 * src/modest-main.c: (main), (start_ui), (send_mail):
67 Use tny_maemo_conic_device_connect() instead of tny_maemo_conic_force_online(), when
68 that is what is intended.
70 * src/modest-ui-actions.c: (action_send), (action_receive),
71 (modest_ui_actions_on_item_not_found), (modest_ui_actions_on_send):
72 Use modest_tny_account_store_get_transport_account_for_open_connection() instead of
73 modest_tny_account_store_get_tny_account_by_account() so that the connection-specific
74 SMTP server is used when it is specified.
76 (modest_ui_actions_on_send_receive):
77 Check that a connection is open before proceeding.
78 Receive and then send, instead of vice-versa, as per the specification.
80 2007-04-26 Murray Cumming <murrayc@murrayc.com>
82 * src/modest-mail-operation.c:
83 (modest_mail_operation_remove_folder): Intialize the parent variable, to fix the build,
84 though I guess it should be something other than NULL.
86 2007-04-26 Murray Cumming <murrayc@murrayc.com>
88 * src/maemo/easysetup/modest-easysetup-wizard.c:
89 (create_page_custom_incoming): Add the checkbox to the caption instead of adding the
90 combo twice, to avoid an g_warning and to make it visible again.
91 * src/maemo/modest-main-window.c: (on_account_update): Check whether the popup_menu is
92 attached before detaching it, to avoid a g_warning, and add comment about the implicit
93 (already intended) dereference when detaching, because we then recreate the menu.
94 But I am not sure why the warning was happening, and it is possible that this is a memory
97 2007-04-25 Murray Cumming <murrayc@murrayc.com>
99 * src/dbus_api/modest-dbus-callbacks.c: Added uri_unescape(),
100 and uri_parse_mailto() utility functions.
101 (on_idle_mail_to): Parse, unescape, and use the subject, cc, bcc, and body items in
103 * tests/dbus_api/test_mail_to.c: (main): Add escaped spaces in the URI to test this.
105 2007-04-24 Murray Cumming <murrayc@murrayc.com>
107 * src/dbus_api/modest-dbus-api.h:
108 * src/dbus_api/modest-dbus-callbacks.c:
109 Use an idle callback to execute the modest code in the application's own thread.
110 Remove the helloworld example method.
111 Handle mail-to and open-message D-Bus methods, though the mail-to format needs to be
112 parsed, and the open-message method is not implemented because this is not yet implemented in
114 * libmodest-dbus-client/libmodest-dbus-client.c:
115 (libmodest_dbus_client_send_mail), (libmodest_dbus_client_mail_to),
116 (libmodest_dbus_client_open_message):
117 * libmodest-dbus-client/libmodest-dbus-client.h: New functions for the new methods.
119 * src/modest-tny-msg.c: (modest_tny_msg_new), (add_body_part): Handle NULLs for subject and
120 body without crashing.
122 * tests/dbus_api/Makefile.am:
123 * tests/dbus_api/test_mail_to.c:
124 * tests/dbus_api/test_open_message.c: New tests for the new methods.
126 2007-04-24 Murray Cumming <murrayc@murrayc.com>
128 * libmodest-dbus-client/libmodest-dbus-client-1.0.pc.in:
129 Added file to fix the build. Sorry.
131 * src/dbus_api/Makefile.am:
132 * src/dbus_api/modest-dbus-api.h:
133 * src/dbus_api/modest-dbus-callbacks.h:
134 * src/dbus_api/modest-dbus-callbacks.c: (on_send_mail),
135 (modest_dbus_req_handler):
136 Put constants in a separate header so it can be reused by the
137 client library, without duplication
139 * libmodest-dbus-client/Makefile.am:
140 * libmodest-dbus-client/libmodest-dbus-client.c:
141 (libmodest_dbus_client_call_helloworld),
142 (libmodfest_dbus_client_send_mail),
143 (libmodfest_dbus_client_mailto),
144 (libmodfest_dbus_client_open_message):
145 * libmodest-dbus-client/libmodest-dbus-client.h:
146 (Partly) Implement a send_mail D-Bus method.
148 * tests/dbus_api/Makefile.am:
149 * tests/dbus_api/test_send_mail.c: (main): Added a test for
150 the send_email D-Bus method.
152 2007-04-24 Murray Cumming <murrayc@murrayc.com>
156 * libmodest-dbus-client/Makefile.am:
157 * libmodest-dbus-client/libmodest-dbus-client.c:
158 * libmodest-dbus-client/libmodest-dbus-client.h:
159 * tests/dbus_api/Makefile.am:
160 * tests/dbus_api/test_hello.c: (main): Added directory structure for a C convenience library
161 for using the modest D-Bus API, and used that from the test. It is still just a helloworld.
163 2007-04-24 Murray Cumming <murrayc@murrayc.com>
165 * src/maemo/easysetup/modest-easysetup-wizard.c:
166 (create_page_account_details):
167 * src/maemo/modest-account-settings-dialog.c:
168 (create_page_account_details): Explicitly set auto-capitalization mode for the title
169 widgets, because this might not be the default in future versions of the Maemo GTK+.
170 However, I can not not get capitalization to work even in a simple test case.
172 2007-04-24 Murray Cumming <murrayc@murrayc.com>
174 * src/maemo/easysetup/modest-easysetup-wizard.c:
175 (create_page_custom_incoming), (create_page_custom_outgoing):
176 * src/maemo/modest-account-settings-dialog.c:
177 (create_page_account_details), (create_page_incoming),
178 (create_page_outgoing): Use a separate label in a caption for GtkCheckButtons,
179 instead of using gtk_check_button_with_label(), so they are aligned like the other
180 widgets, as per the UI spec.
182 2007-04-24 Murray Cumming <murrayc@murrayc.com>
184 * src/maemo/easysetup/modest-easysetup-wizard.c:
185 * src/maemo/modest-connection-specific-smtp-edit-window.c:
186 * src/widgets/modest-validating-entry.c:
187 * src/widgets/modest-validating-entry.h: Rename the validating widget so it has a
188 Modest prefix instead of an EasySetup prefix.
190 2007-04-23 Murray Cumming <murrayc@murrayc.com>
192 * src/widgets/modest-validating-entry.h:
193 * src/widgets/modest-validating-entry.c: (on_insert_text),
194 Added easysetup_validating_entry_set_max_func(), used to set a callback
195 to call when the max number of characters is reached. GtkEntry has a max-length
196 already but is silent about it.
198 * src/maemo/easysetup/modest-easysetup-wizard.c: (on_entry_max),
199 (create_page_account_details), (create_page_user_details),
201 * src/maemo/modest-account-settings-dialog.c: (on_entry_max),
202 (create_page_account_details), (create_page_user_details),
203 (create_page_outgoing):
204 * src/modest-ui-actions.c: (modest_ui_actions_on_details):
205 Use easysetup_validating_entry_set_max_func() to show the warning dialog, as per
206 the UI spec, when the user tries to enter more than the max number of characters.
208 2007-04-23 Murray Cumming <murrayc@murrayc.com>
210 * src/maemo/easysetup/modest-easysetup-wizard.c:
211 (create_page_user_details), (create_page_custom_incoming),
212 (create_page_custom_outgoing):
213 * src/maemo/modest-account-settings-dialog.c:
214 (create_page_user_details), (create_page_incoming),
215 (create_page_outgoing):
216 * src/maemo/modest-connection-specific-smtp-edit-window.c:
217 (modest_connection_specific_smtp_edit_window_init):
218 Use hildon_gtk_entry_set_input_mode() to turn off auto-capitalization where it is
219 not appropriate. Bad Maemo-specific defaults!.
221 2007-04-23 Murray Cumming <murrayc@murrayc.com>
223 * src/maemo/modest-signature-editor-dialog.c: (enable_widgets),
224 (on_toggle_button_changed), (modest_signature_editor_dialog_init),
225 (modest_signature_editor_dialog_set_settings):
226 Disable the label and textview when the checkbox is disabled, and use the
227 specified (UI spec) default signature text.
229 2007-04-23 Murray Cumming <murrayc@murrayc.com>
231 * src/maemo/modest-connection-specific-smtp-edit-window.c:
232 (modest_connection_specific_smtp_edit_window_init): Use spacing constants.
235 * src/modest-account-mgr-helpers.h:
236 * src/modest-account-mgr-helpers.c:
237 Added modest_account_mgr_get/set_signature(), using new gconf keys.
239 * src/maemo/Makefile.am:
240 * src/maemo/modest-signature-editor-dialog.c:
241 * src/maemo/modest-signature-editor-dialog.h: New dialog for editing signatures,
244 * src/maemo/modest-account-settings-dialog.h:
245 * src/maemo/modest-account-settings-dialog.c:
246 (modest_account_settings_dialog_finalize), (on_button_signature),
247 (save_configuration): Use the new dialog when the Edit button is pressed, and
248 save the changes if necessary, as per the UI spec.
250 2007-04-23 Murray Cumming <murrayc@murrayc.com>
252 * src/maemo/Makefile.am:
253 * src/maemo/modest-maemo-ui-constants.h: New header with some defines for widget spacing,
254 based on maemo-develoers email from Dirk.
256 * src/maemo/easysetup/modest-easysetup-wizard.c:
257 (create_page_welcome), (create_page_account_details),
258 (create_page_user_details), (create_page_complete_easysetup),
259 (create_page_custom_incoming), (create_page_custom_outgoing),
260 (create_page_complete_custom),
261 (modest_easysetup_wizard_dialog_init):
262 * src/maemo/modest-account-settings-dialog.c:
263 (create_page_account_details), (create_page_user_details),
264 (create_page_incoming), (create_page_outgoing),
265 (modest_account_settings_dialog_init):
266 * src/maemo/modest-connection-specific-smtp-window.c:
267 (modest_connection_specific_smtp_window_init): Used the smallest of the spacing constants.
269 2007-04-23 Murray Cumming <murrayc@murrayc.com>
271 * src/maemo/easysetup/modest-easysetup-wizard.c:
272 (create_page_account_details), (create_page_custom_outgoing),
273 (create_page_complete_custom):
274 * src/maemo/modest-account-settings-dialog.c:
275 (create_page_user_details), (create_page_incoming),
276 (create_page_outgoing):
277 * src/maemo/modest-connection-specific-smtp-edit-window.c:
278 (modest_connection_specific_smtp_edit_window_init):
279 Use the correct (UI spec) port min/max, and use horizontal separators,
282 2007-04-23 Murray Cumming <murrayc@murrayc.com>
284 * src/maemo/easysetup/modest-easysetup-wizard.c:
285 (set_default_custom_servernames):
286 * src/maemo/modest-account-settings-dialog.c:
287 (create_page_incoming), (on_combo_outgoing_security_changed),
288 (on_combo_incoming_security_changed), (create_page_outgoing),
289 (modest_account_settings_dialog_set_account_name),
290 (save_configuration):
291 * src/maemo/modest-connection-specific-smtp-edit-window.c:
292 (on_combo_security_changed),
293 (modest_connection_specific_smtp_edit_window_init),
294 (modest_connection_specific_smtp_edit_window_set_connection),
295 (modest_connection_specific_smtp_edit_window_get_settings):
296 Use HildonNumberEditor instead of GtkEntry for the port numbers so it has the - and + buttons,
299 2007-04-20 Murray Cumming <murrayc@murrayc.com>
302 * src/maemo/easysetup/modest-easysetup-wizard.c:
303 (create_page_custom_outgoing), (create_page_complete_custom):
304 * src/maemo/modest-account-settings-dialog.c:
305 (create_page_user_details), (create_page_outgoing):
306 * src/maemo/modest-account-view-window.c: (button_box_new):
307 Use changed logical IDs as per the most recent UI spec:
308 mcen_bd_emailsetup_edit -> mcen_bd_edit
309 mcen_bd_emailsetup_delete -> mcen_bd_delete
310 mcen_bd_emailsetup_close -> mcen_bd_close
312 2007-04-20 2007-04-20 Murray Cumming <murrayc@murrayc.com>
316 * src/dbus_api/Makefile.am:
317 * src/dbus_api/modest-dbus-callbacks.c:
318 * src/dbus_api/modest-dbus-callbacks.h:
319 * src/maemo/modest-platform.c: (modest_platform_init):
320 Added the beginnings of a D-Bus API. At the moment it just has a HelloWorld
323 * tests/dbus_api/Makefile.am:
324 * tests/dbus_api/test_hello.c: (main): Very simple test of the D-Bus API.
326 2007-04-20 Murray Cumming <murrayc@murrayc.com>
328 * src/maemo/modest-account-settings-dialog.c:
329 * src/maemo/modest-connection-specific-smtp-edit-window.c:
330 Removed unnecessary includes.
332 2007-04-20 Murray Cumming <murrayc@murrayc.com>
334 * src/maemo/easysetup/modest-easysetup-wizard.c:
335 * src/maemo/modest-account-settings-dialog.c:
336 * src/maemo/modest-connection-specific-smtp-edit-window.c:
337 * src/widgets/Makefile.am:
338 * src/widgets/modest-easysetup-secureauth-combo-box.c:
339 * src/widgets/modest-easysetup-secureauth-combo-box.h:
340 * src/widgets/modest-easysetup-serversecurity-combo-box.c:
341 * src/widgets/modest-easysetup-serversecurity-combo-box.h:
342 * src/widgets/modest-secureauth-combo-box.c:
343 * src/widgets/modest-secureauth-combo-box.h:
344 * src/widgets/modest-serversecurity-combo-box.c:
345 * src/widgets/modest-serversecurity-combo-box.h: Renamed the files and
346 made the GObject names more consistent with the rest of the Modest code.
348 2007-04-20 Murray Cumming <murrayc@murrayc.com>
350 * src/maemo/easysetup/Makefile.am:
351 * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c:
352 * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.h:
353 * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
354 * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
355 * src/maemo/easysetup/modest-easysetup-wizard.c:
356 * src/maemo/easysetup/modest-validating-entry.c:
357 * src/maemo/easysetup/modest-validating-entry.h:
358 * src/maemo/modest-account-settings-dialog.c:
359 * src/maemo/modest-connection-specific-smtp-edit-window.c:
360 * src/widgets/Makefile.am: Moved these widgets from maemo/easysetup into
361 widgets/ because they are used outside of easysetup too. After checking in,
362 svn will allow me to rename them too.
364 2007-04-20 Murray Cumming <murrayc@murrayc.com>
366 * src/gnome/modest-msg-edit-window.c:
367 (modest_msg_edit_window_set_priority_flags): Added an empty implementation to fix a
368 linker error, to fix the build on the GNOME platform.
369 modest_msg_edit_window_set_zoom(), modest_msg_edit_window_get_zoom(),
370 modest_msg_edit_window_zoom_plus(), modest_msg_edit_window_zoom_minus():
371 ifdefed out to avoid a warning.
373 2007-04-20 Murray Cumming <murrayc@murrayc.com>
375 * src/widgets/modest-header-view.c: (on_focus_in): Use GTK_CHECK_VERSION to #ifdef around the
376 use of gtk_tree_view_get_visible_range(), to fix the build on Mameo. This code probably needs
377 some alternative for GTK+ 2.6.
379 2007-04-19 Murray Cumming <murrayc@murrayc.com>
381 * src/maemo/modest-address-book.c: Added include to avoid a warning.
383 * po/en_GB.po: Added missing mcen_bd_emailsetup_close string,
384 specified for EmailAccountsDialog in UI spec.
386 * src/maemo/easysetup/modest-easysetup-wizard.c:
387 * src/maemo/easysetup/modest-easysetup-wizard.h:
388 * src/maemo/modest-account-settings-dialog.c:
389 * src/maemo/modest-account-settings-dialog.h:
390 Reuse a member window widget for the connection-specific SMTP server accounts,
391 so we can tell it to create/save the accounts only if we actually save changes.
393 * src/maemo/modest-connection-specific-smtp-edit-window.h:
394 * src/maemo/modest-connection-specific-smtp-edit-window.c:
395 (modest_connection_specific_smtp_edit_window_get_settings):
396 Return a struct instance for temporarily remembering the entered data.
398 * src/maemo/modest-connection-specific-smtp-window.h:
399 * src/maemo/modest-connection-specific-smtp-window.c:
400 (modest_connection_specific_smtp_window_finalize),
401 (modest_connection_specific_smtp_window_fill_with_connections),
403 (modest_connection_specific_smtp_window_save_server_accounts),
404 (update_model_server_names): Do not actually save data until asked,
405 when the caller calls modest_connection_specific_smtp_window_save_server_accounts().
407 (on_selection_changed),
408 (modest_connection_specific_smtp_window_init): Disable the edit
409 button when nothing is selected.
411 * src/modest-account-mgr-helpers.c:
412 * src/modest-account-mgr-helpers.h:
413 Put modest_account_mgr_free_server_account_data() in the header now that I use the struct
416 2007-04-19 Murray Cumming <murrayc@murrayc.com>
418 * src/modest-account-mgr-helpers.h:
419 * src/modest-account-mgr-helpers.c:
420 (modest_account_mgr_get_unused_account_name),
421 (modest_account_mgr_get_unused_account_display_name): Added these
422 utility functions, to avoid code duplication.
424 * src/maemo/easysetup/modest-easysetup-wizard.c:
425 (create_page_account_details), (create_account):
426 * src/maemo/modest-connection-specific-smtp-edit-window.c:
427 (on_combo_security_changed),
428 (modest_connection_specific_smtp_edit_window_init),
429 (modest_connection_specific_smtp_edit_window_save_settings):
430 * src/maemo/modest-connection-specific-smtp-edit-window.h:
431 * src/maemo/modest-connection-specific-smtp-window.c:
432 (modest_connection_specific_smtp_window_finalize),
433 (modest_connection_specific_smtp_window_fill_with_connections),
434 (on_button_edit), (modest_connection_specific_smtp_window_init):
435 * src/maemo/modest-connection-specific-smtp-window.h:
436 Implementing saving of connection-specific server accounts.
438 But I need to refactor this so we can save the data for each
439 possible connection-specific account and only actually create the server accounts
440 when the easysetup finished, or the OK button is pressed on the account settings
443 2007-04-18 Murray Cumming <murrayc@murrayc.com>
445 * src/maemo/modest-connection-specific-smtp-edit-window.c:
446 (on_combo_security_changed):
447 (modest_connection_specific_smtp_edit_window_init):
448 Auto-fill the port number as in the account settings.
450 (modest_connection_specific_smtp_edit_window_set_connection):
451 * src/maemo/modest-connection-specific-smtp-edit-window.h:
452 * src/maemo/modest-connection-specific-smtp-window.c:
453 (fill_with_connections), (on_button_edit),
454 (modest_connection_specific_smtp_window_init):
455 Turn the edit window into a dialog to simplify the code, and
456 set a WM hint as in a GtkDialog, because only a popup can be on top of
457 another window in Maemo, and popups usually have no WM decoration.
460 * src/modest-account-mgr-helpers.c:
461 (modest_account_mgr_set_connection_specific_smtp),
462 (modest_account_mgr_remove_connection_specific_smtp),
463 (modest_account_mgr_get_connection_specific_smtp):
464 * src/modest-account-mgr-helpers.h: Some functions to write the
465 connection-specific SMTP server information. Not yet used.
468 * src/widgets/modest-folder-view.c: (text_cell_data):
469 Fix a warning about an uninitialized variable.
470 (on_configuration_key_changed): Put an #ifdef around the use
471 of gtk_tree_view_column_queue_resize() because it is new in GTK+ 2.10.
473 2007-04-18 Murray Cumming <murrayc@murrayc.com>
475 * src/maemo/modest-account-settings-dialog.h:
476 * src/maemo/modest-account-settings-dialog.c:
477 Added connect_for_modified() utility function to mark the new modified boolean.
479 (create_page_account_details), (create_page_user_details),
480 (create_page_incoming), (create_page_outgoing), (on_response),
481 (modest_account_settings_dialog_init),
482 (modest_account_settings_dialog_set_account_name):
483 Only warn about unsaved changes when there are actually unsaved changes.
485 * src/modest-account-mgr-helpers.c:
486 * src/modest-account-mgr-helpers.h: Put the port, secure-auth, and security information
487 into the ModestServerAccountData struct. I do not use it yet, but someone might expect
488 to get the data from there in future.
490 2007-04-18 Murray Cumming <murrayc@murrayc.com>
494 * src/modest-account-mgr-helpers.h:
495 * src/modest-account-mgr-helpers.c:
496 Store the security account setting in a single conf key instead of using
497 the options list, so that the list is left for just the to-be-removed camel hack,
498 and because gconf_client_set_list() is failing for some reason.
500 * src/modest-account-mgr.c:
501 (modest_account_mgr_add_server_account):
502 * src/maemo/modest-account-settings-dialog.c:
503 (modest_account_settings_dialog_set_account_name),
504 (save_configuration): Use the renamed functions.
507 2007-04-18 Murray Cumming <murrayc@murrayc.com>
509 * src/widgets/Makefile.am:
510 * src/widgets/modest-limit-retrieve-combo-box.c:
511 * src/widgets/modest-limit-retrieve-combo-box.h:
512 * src/widgets/modest-retrieve-combo-box.c:
513 * src/widgets/modest-retrieve-combo-box.h: Added new widgets for use in
514 the account settings dialog.
517 * src/modest-account-mgr-helpers.h:
518 * src/modest-account-mgr-helpers.c:
519 (modest_server_account_get_option_secure_auth),
520 (modest_server_account_set_option_secure_auth):
521 * src/modest-account-mgr.c:
522 (modest_account_mgr_add_server_account):
523 Use the existing AUTH_MECH conf key for the secure-auth setting,
524 instead of putting it in the list options, because this was actually used already.
526 * src/maemo/modest-account-settings-dialog.c:
527 (create_page_account_details),
528 (modest_account_settings_dialog_set_account_name),
529 (save_configuration):
530 * src/maemo/modest-account-settings-dialog.h:
531 Add the retrieve and retrieve-limit combo boxes, as per the UI spec.
532 Hide the leave-messages checkbox for non-POP accounts, as per the UI spec.
534 2007-04-18 Murray Cumming <murrayc@murrayc.com>
536 * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.h:
537 * src/maemo/easysetup/modest-easysetup-serversecurity-combo-box.c:
538 Added easysetup_serversecurity_combo_box_get_active_serversecurity_port()
541 * src/maemo/modest-account-settings-dialog.c:
542 (create_page_incoming), (on_combo_outgoing_security_changed),
543 (on_combo_incoming_security_changed), (create_page_outgoing),
544 (modest_account_settings_dialog_set_account_name),
545 (save_configuration): Load/Save the port number, and change it when the
546 security combo changes, to suitable defaults.
548 2007-04-17 Murray Cumming <murrayc@murrayc.com>
550 * src/modest-account-mgr.c:
551 (modest_account_mgr_add_server_account): Set the security and secure-auth
552 options, and add a comment saying that the other camel-specific options should be
555 2007-04-17 Murray Cumming <murrayc@murrayc.com>
557 * src/maemo/modest-account-settings-dialog.c: (check_data): Always return something,
559 * src/modest-tny-account-store.c: (account_list_free),
560 (on_account_changed): Add a TODO comment about a valgrind error, caused by using
561 cursor->data after unreffing it. But there is some strange stuff there so it might not be
564 2007-04-17 Murray Cumming <murrayc@murrayc.com>
566 * src/modest-protocol-info.c:
567 * src/modest-protocol-info.h: Added a MODEST_PROTOCOL_AUTH_CRAMMD5 enum value, because it
568 is required by our UI spec. Maybe something in our implementation will use this eventually.
569 * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c:
570 (easysetup_secureauth_combo_box_fill): Use the CRAM MD5 enum value
571 instead of the previous 0 placeholder.
573 * src/modest-defs.h: Added gconf list pair key names and value strings for the security and
574 secure-auth settings.
575 * src/modest-account-mgr-helpers.h:
576 * src/modest-account-mgr-helpers.c:
577 (modest_server_account_data_get_option_secure_auth),
578 (modest_server_account_set_option_secure_auth),
579 (modest_server_account_data_get_option_security),
580 (modest_server_account_set_option_security): Added this API for getting and setting the security
581 and secure-auth settings.
583 * src/maemo/modest-account-settings-dialog.h:
584 * src/maemo/modest-account-settings-dialog.c:
585 (modest_account_settings_dialog_finalize), (check_data),
586 (on_response): Store the original title as well as the name, to avoid unnececessary warnings
587 about changing titles.
588 (modest_account_settings_dialog_set_account_name): Load the security and secure-auth settings.
589 (save_configuration): Save the security and secure-auth settings.
591 * src/modest-conf.c: (modest_conf_set_list): Get the list after setting it, to show that this
592 is failing sometimes (though reporting success). I fear I may need to debug gconf to fix this.
594 2007-04-17 Murray Cumming <murrayc@murrayc.com>
597 * src/modest-account-mgr.c:
598 (modest_account_mgr_add_server_account):
599 Added and used defines for the options key and value pair strings,
600 that are used so far, though they do not seem to correspond to anything in our
601 UI specs or ModestProtocol enum.
603 * src/modest-account-mgr-helpers.h:
604 * src/modest-account-mgr-helpers.c:
605 (compare_option_strings_for_name),
606 (modest_server_account_data_get_option_value),
607 (modest_server_account_data_get_option_bool),
608 (modest_account_mgr_get_server_account_option):
609 Added helper functions for parsing the options GSList.
611 2007-04-16 Murray Cumming <murrayc@murrayc.com>
613 * src/modest-account-mgr-helpers.c: Clarified the documentation to say that the initial
614 display name is based on the supplied account name.
615 * src/modest-account-mgr.c:
616 * src/modest-account-mgr.h: Added modest_account_mgr_account_with_display_name_exists(),
617 with an inefficient, but good-enough, implementation.
619 * src/maemo/easysetup/modest-easysetup-wizard.c:
620 (create_page_account_details), (on_before_next), (create_account):
621 Check for existing display names rather than (non-user-visible) account names, and just
622 create and set a unique account name at the end.
624 * src/maemo/modest-account-settings-dialog.c:
625 (modest_account_settings_dialog_init),
626 (modest_account_settings_dialog_set_account_name),
627 (create_page_incoming): Show the display name, instead of the account name.
628 (on_response): Do some (not all) extra checks, as in the UI spec.
629 (save_configuration): Save the display name if it was changed.
631 2007-04-16 Murray Cumming <murrayc@murrayc.com>
633 * po/en_GB.po: Added needed logical ID and translation.
634 * src/widgets/modest-account-view.c: (on_account_default_toggled),
635 (init_view): Made the is-default column clicking work.
637 2007-04-16 Murray Cumming <murrayc@murrayc.com>
640 * src/maemo/easysetup/Makefile.am:
641 * src/maemo/easysetup/modest-easysetup-wizard.c:
642 (modest_easysetup_wizard_dialog_init):
643 * src/maemo/easysetup/provider-data-test.keyfile:
644 * src/maemo/easysetup/provider-data.keyfile:
645 Moved the provider data file to the new modest-providers-data package and used it from there.
647 2007-04-16 Murray Cumming <murrayc@murrayc.com>
649 * src/modest-local-folder-info.c:
650 (modest_local_folder_info_get_type_display_name): Use _() to actually get the translated string.
651 N_() was already used on the static strings, but this just marks it for translation without
652 using the translation.
654 2007-04-06 Murray Cumming <murrayc@murrayc.com>
656 * src/maemo/modest-account-settings-dialog.c:
657 (create_page_incoming),
658 (modest_account_settings_dialog_set_account_name):
659 Added comments about the need for new API in ModestAccountMgr to handle the authentication
660 and secure-connection stuff that is stored in the options GSList* with hard-coded names.
661 I will do this if nobody else gets there first.
663 2007-04-06 Murray Cumming <murrayc@murrayc.com>
665 * src/maemo/modest-account-settings-dialog.c: (save_configuration):
666 Saved much of the incoming and outgoing data too, though I cannot yet see how to
667 save the security stuff.
669 2007-04-06 Murray Cumming <murrayc@murrayc.com>
671 * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
672 Set the email address and user fullname, which I now see must be
675 * src/maemo/modest-account-settings-dialog.h:
676 * src/maemo/modest-account-settings-dialog.c:
678 (modest_account_settings_dialog_set_account_name): Show the email address, fullname,
679 leave-on-server and authentication.
680 (save_configuration): Save most of the non-server-account specific stuff, but I don't see
683 2007-04-06 Murray Cumming <murrayc@murrayc.com>
686 * src/maemo/modest-account-settings-dialog.c:
687 * src/maemo/modest-account-settings-dialog.h:
688 Most (but not all) of the widgets are now present as specified by the UI spec.
689 No changes are yet saved, and some details are not properly shown yet.
691 * po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.
693 2007-04-06 Murray Cumming <murrayc@murrayc.com>
695 * src/maemo/Makefile.am:
696 * src/maemo/modest-account-settings-dialog.c:
697 * src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit
698 an existing account. Doesn't do much yet.
700 * src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
701 Open the accounts settings dialog when Edit is clicked.
703 2007-04-05 Murray Cumming <murrayc@murrayc.com>
705 * src/maemo/easysetup/Makefile.am:
706 * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
708 * src/maemo/easysetup/modest-easysetup-wizard.c:
709 (modest_easysetup_wizard_dialog_init):
710 Try to get the source directory from the build system,
711 instead of hard-coding "./" into the source code, when opening our local
712 copies of the configuration files.
713 But this still fails when opening the wizard from the Accounts window,
714 maybe because the working directory seems to change at runtime.
715 So the wizard will fail the second time unless you copy the files into their
716 proper locations - see the stdout warnings for the paths.
718 (create_page_account_details),(on_before_next):
719 Check for existing non-server accounts instead of server accounts,
720 so the default account name is useful again, and to prevent trying to
723 * src/maemo/modest-account-view-window.c: (on_new_button_clicked):
724 Show the wizard when New is clicked.
726 * src/widgets/modest-account-view.c: (on_account_default_toggled),
727 (init_view): Show the column headers, and show the columns that are
728 specified in the UI specs. However, something in Maemo's GTK+ prevents
729 us from handling the GtkCellRendererToggle::toggled signal, so we cannot
730 change the default account. This is despite unsetting the special properties.
732 2007-04-05 Murray Cumming <murrayc@murrayc.com>
734 * docs/reference/modest-design.sgml: Corrected spelling mistake.
735 * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
736 Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
737 This seems to be how this should be used. If it is, then I will update the AccountMgr documentation
738 to make that clearer.
739 * src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.
741 2007-04-05 Murray Cumming <murrayc@murrayc.com>
743 * src/maemo/modest-account-view-window.c:
744 (modest_account_view_window_init),
745 (modest_account_view_window_new):
746 Use the same buttons as specified in the
747 UI spec. Add the widgets to the vbox and action_area instead of just assigning them to
748 the existing widgets, which never had a chance of working.
749 Put the ModestAccountView treeview in a scrolled window.
750 Do not repeat the initialization in both _init() and _new().
752 * src/widgets/modest-account-view.c: (update_account_view):
753 Add a warning about modest_account_mgr_account_names() returning NULL, which is why
754 this widget and window shows no accounts.
756 * po/en_GB.po: Added translations needed for the dialog button logical IDs.
758 2007-04-05 Murray Cumming <murrayc@murrayc.com>
760 * src/maemo/easysetup/modest-easysetup-wizard.c:
761 (set_default_custom_servernames): Avoid a dereference of a destroyed widget.
762 (create_account): Do a sanity check, showing that modest_account_mgr_account_names()
763 returns NULL after modest_account_mgr_add_server_account() returned TRUE,
766 * src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
767 * src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no
768 accounts exist yet, as in the UI spec.
770 * src/modest-account-mgr.h: Add TODO comment about a possible memory leak.
772 2007-04-05 Murray Cumming <murrayc@murrayc.com>
774 * src/maemo/Makefile.am:
775 * src/maemo/modest-connection-specific-smtp-edit-window.c:
776 * src/maemo/modest-connection-specific-smtp-edit-window.h:
777 New window for editing connection-specific smtp details.
778 Not fully implemented.
780 * src/maemo/modest-connection-specific-smtp-window.c:
781 (modest_connection_specific_smtp_window_finalize) :
782 unref the tree model.
783 (on_button_edit): Show the edit window.
785 2007-04-05 Murray Cumming <murrayc@murrayc.com>
787 * src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol
790 * src/maemo/Makefile.am:
791 * src/maemo/modest-connection-specific-smtp-window.c:
792 * src/maemo/modest-connection-specific-smtp-window.h:
793 New window for showing the list of connections, for connection-specific
794 SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
795 * src/maemo/easysetup/modest-easysetup-wizard.c:
796 (create_page_custom_outgoing): Show the new window when the button is clicked.
798 2007-04-04 Murray Cumming <murrayc@murrayc.com>
800 * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
801 * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
802 * src/maemo/modest-msg-edit-window.c:
803 (modest_msg_edit_window_insert_image):
804 * src/modest-conf.c: (modest_conf_key_escape):
805 * src/modest-mail-operation.c:
806 (modest_mail_operation_send_new_mail):
807 * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
808 (modest_ui_actions_on_new_account):
809 * src/widgets/modest-attachment-view.c: (update_filename_request):
810 * src/widgets/modest-mail-header-view.c:
811 Corrected warnings that were breaking the build, by commenting out unused variables,
812 and a function, and by including a header.
814 2007-04-04 Murray Cumming <murrayc@murrayc.com>
816 * configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h,
817 so we can #ifdef around platform-specific code when necessary.
818 * src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO
819 to allow this to build for the GNOME platform too.
821 2007-04-04 Murray Cumming <murrayc@murrayc.com>
823 * src/maemo/easysetup/modest-easysetup-wizard.c:
824 Added util_increment_name() and used it in create_page_account_details()
825 to make sure that the default account name is always a new name.
827 (modest_easysetup_wizard_dialog_init),
828 (set_default_custom_servernames): Some minor memory management fixes.
830 2007-04-04 Murray Cumming <murrayc@murrayc.com>
834 * src/modest-runtime.c: (init_i18n): Restored the translation
835 infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR
836 are defined in config.h, and the translations are installed.
838 * src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE
839 is defined for translation.
841 2007-04-03 Murray Cumming <murrayc@murrayc.com>
843 * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
845 * src/maemo/easysetup/modest-easysetup-wizard.c:
846 (modest_easysetup_wizard_dialog_init):
847 * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
848 Use realistic paths (though they should use $prefix generically) to the
849 mcc_mapping and provider-data.keyfile files which might work when they
850 are installed by the future version of the operator-wizard package,
851 and then fallback to paths in our source code, with an explanatory
854 2007-04-03 Murray Cumming <murrayc@murrayc.com>
858 * src/maemo/Makefile.am:
859 * src/maemo/easysetup/: Added files from the previously-exernal
860 osso-modest-easysetup.
861 * src/maemo/modest-main-window-ui.h:
862 * src/modest-ui-actions.c:
863 * src/modest-ui-actions.h:
864 Added modest_ui_actions_on_new_account() as a signal handler for the
865 New Account menu item. It shows the easysetup wizard.
866 * po/en_GB.po: Added additional needed logical IDs and translations.
868 Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
869 Apparently ChangeLog is not used for some vague Nokia legal reasons.