1 2007-04-17 Murray Cumming <murrayc@murrayc.com>
3 * src/modest-account-mgr.c:
4 (modest_account_mgr_add_server_account): Set the security and secure-auth
5 options, and add a comment saying that the other camel-specific options should be
8 2007-04-17 Murray Cumming <murrayc@murrayc.com>
10 * src/maemo/modest-account-settings-dialog.c: (check_data): Always return something,
12 * src/modest-tny-account-store.c: (account_list_free),
13 (on_account_changed): Add a TODO comment about a valgrind error, caused by using
14 cursor->data after unreffing it. But there is some strange stuff there so it might not be
17 2007-04-17 Murray Cumming <murrayc@murrayc.com>
19 * src/modest-protocol-info.c:
20 * src/modest-protocol-info.h: Added a MODEST_PROTOCOL_AUTH_CRAMMD5 enum value, because it
21 is required by our UI spec. Maybe something in our implementation will use this eventually.
22 * src/maemo/easysetup/modest-easysetup-secureauth-combo-box.c:
23 (easysetup_secureauth_combo_box_fill): Use the CRAM MD5 enum value
24 instead of the previous 0 placeholder.
26 * src/modest-defs.h: Added gconf list pair key names and value strings for the security and
28 * src/modest-account-mgr-helpers.h:
29 * src/modest-account-mgr-helpers.c:
30 (modest_server_account_data_get_option_secure_auth),
31 (modest_server_account_set_option_secure_auth),
32 (modest_server_account_data_get_option_security),
33 (modest_server_account_set_option_security): Added this API for getting and setting the security
34 and secure-auth settings.
36 * src/maemo/modest-account-settings-dialog.h:
37 * src/maemo/modest-account-settings-dialog.c:
38 (modest_account_settings_dialog_finalize), (check_data),
39 (on_response): Store the original title as well as the name, to avoid unnececessary warnings
40 about changing titles.
41 (modest_account_settings_dialog_set_account_name): Load the security and secure-auth settings.
42 (save_configuration): Save the security and secure-auth settings.
44 * src/modest-conf.c: (modest_conf_set_list): Get the list after setting it, to show that this
45 is failing sometimes (though reporting success). I fear I may need to debug gconf to fix this.
47 2007-04-17 Murray Cumming <murrayc@murrayc.com>
50 * src/modest-account-mgr.c:
51 (modest_account_mgr_add_server_account):
52 Added and used defines for the options key and value pair strings,
53 that are used so far, though they do not seem to correspond to anything in our
54 UI specs or ModestProtocol enum.
56 * src/modest-account-mgr-helpers.h:
57 * src/modest-account-mgr-helpers.c:
58 (compare_option_strings_for_name),
59 (modest_server_account_data_get_option_value),
60 (modest_server_account_data_get_option_bool),
61 (modest_account_mgr_get_server_account_option):
62 Added helper functions for parsing the options GSList.
64 2007-04-16 Murray Cumming <murrayc@murrayc.com>
66 * src/modest-account-mgr-helpers.c: Clarified the documentation to say that the initial
67 display name is based on the supplied account name.
68 * src/modest-account-mgr.c:
69 * src/modest-account-mgr.h: Added modest_account_mgr_account_with_display_name_exists(),
70 with an inefficient, but good-enough, implementation.
72 * src/maemo/easysetup/modest-easysetup-wizard.c:
73 (create_page_account_details), (on_before_next), (create_account):
74 Check for existing display names rather than (non-user-visible) account names, and just
75 create and set a unique account name at the end.
77 * src/maemo/modest-account-settings-dialog.c:
78 (modest_account_settings_dialog_init),
79 (modest_account_settings_dialog_set_account_name),
80 (create_page_incoming): Show the display name, instead of the account name.
81 (on_response): Do some (not all) extra checks, as in the UI spec.
82 (save_configuration): Save the display name if it was changed.
84 2007-04-16 Murray Cumming <murrayc@murrayc.com>
86 * po/en_GB.po: Added needed logical ID and translation.
87 * src/widgets/modest-account-view.c: (on_account_default_toggled),
88 (init_view): Made the is-default column clicking work.
90 2007-04-16 Murray Cumming <murrayc@murrayc.com>
93 * src/maemo/easysetup/Makefile.am:
94 * src/maemo/easysetup/modest-easysetup-wizard.c:
95 (modest_easysetup_wizard_dialog_init):
96 * src/maemo/easysetup/provider-data-test.keyfile:
97 * src/maemo/easysetup/provider-data.keyfile:
98 Moved the provider data file to the new modest-providers-data package and used it from there.
100 2007-04-16 Murray Cumming <murrayc@murrayc.com>
102 * src/modest-local-folder-info.c:
103 (modest_local_folder_info_get_type_display_name): Use _() to actually get the translated string.
104 N_() was already used on the static strings, but this just marks it for translation without
105 using the translation.
107 2007-04-06 Murray Cumming <murrayc@murrayc.com>
109 * src/maemo/modest-account-settings-dialog.c:
110 (create_page_incoming),
111 (modest_account_settings_dialog_set_account_name):
112 Added comments about the need for new API in ModestAccountMgr to handle the authentication
113 and secure-connection stuff that is stored in the options GSList* with hard-coded names.
114 I will do this if nobody else gets there first.
116 2007-04-06 Murray Cumming <murrayc@murrayc.com>
118 * src/maemo/modest-account-settings-dialog.c: (save_configuration):
119 Saved much of the incoming and outgoing data too, though I cannot yet see how to
120 save the security stuff.
122 2007-04-06 Murray Cumming <murrayc@murrayc.com>
124 * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
125 Set the email address and user fullname, which I now see must be
128 * src/maemo/modest-account-settings-dialog.h:
129 * src/maemo/modest-account-settings-dialog.c:
131 (modest_account_settings_dialog_set_account_name): Show the email address, fullname,
132 leave-on-server and authentication.
133 (save_configuration): Save most of the non-server-account specific stuff, but I don't see
136 2007-04-06 Murray Cumming <murrayc@murrayc.com>
139 * src/maemo/modest-account-settings-dialog.c:
140 * src/maemo/modest-account-settings-dialog.h:
141 Most (but not all) of the widgets are now present as specified by the UI spec.
142 No changes are yet saved, and some details are not properly shown yet.
144 * po/en_GB.po: Added translations for logical IDs used by the Account Settings dialog.
146 2007-04-06 Murray Cumming <murrayc@murrayc.com>
148 * src/maemo/Makefile.am:
149 * src/maemo/modest-account-settings-dialog.c:
150 * src/maemo/modest-account-settings-dialog.h: The beginnings of the dialog to edit
151 an existing account. Doesn't do much yet.
153 * src/maemo/modest-account-view-window.c: (on_edit_button_clicked):
154 Open the accounts settings dialog when Edit is clicked.
156 2007-04-05 Murray Cumming <murrayc@murrayc.com>
158 * src/maemo/easysetup/Makefile.am:
159 * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
161 * src/maemo/easysetup/modest-easysetup-wizard.c:
162 (modest_easysetup_wizard_dialog_init):
163 Try to get the source directory from the build system,
164 instead of hard-coding "./" into the source code, when opening our local
165 copies of the configuration files.
166 But this still fails when opening the wizard from the Accounts window,
167 maybe because the working directory seems to change at runtime.
168 So the wizard will fail the second time unless you copy the files into their
169 proper locations - see the stdout warnings for the paths.
171 (create_page_account_details),(on_before_next):
172 Check for existing non-server accounts instead of server accounts,
173 so the default account name is useful again, and to prevent trying to
176 * src/maemo/modest-account-view-window.c: (on_new_button_clicked):
177 Show the wizard when New is clicked.
179 * src/widgets/modest-account-view.c: (on_account_default_toggled),
180 (init_view): Show the column headers, and show the columns that are
181 specified in the UI specs. However, something in Maemo's GTK+ prevents
182 us from handling the GtkCellRendererToggle::toggled signal, so we cannot
183 change the default account. This is despite unsetting the special properties.
185 2007-04-05 Murray Cumming <murrayc@murrayc.com>
187 * docs/reference/modest-design.sgml: Corrected spelling mistake.
188 * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
189 Create the 2 server accounts and then create the account, using the names of the 2 server accounts.
190 This seems to be how this should be used. If it is, then I will update the AccountMgr documentation
191 to make that clearer.
192 * src/modest-account-mgr.h: Corrected the modest_account_mgr_search_server_account() documentation.
194 2007-04-05 Murray Cumming <murrayc@murrayc.com>
196 * src/maemo/modest-account-view-window.c:
197 (modest_account_view_window_init),
198 (modest_account_view_window_new):
199 Use the same buttons as specified in the
200 UI spec. Add the widgets to the vbox and action_area instead of just assigning them to
201 the existing widgets, which never had a chance of working.
202 Put the ModestAccountView treeview in a scrolled window.
203 Do not repeat the initialization in both _init() and _new().
205 * src/widgets/modest-account-view.c: (update_account_view):
206 Add a warning about modest_account_mgr_account_names() returning NULL, which is why
207 this widget and window shows no accounts.
209 * po/en_GB.po: Added translations needed for the dialog button logical IDs.
211 2007-04-05 Murray Cumming <murrayc@murrayc.com>
213 * src/maemo/easysetup/modest-easysetup-wizard.c:
214 (set_default_custom_servernames): Avoid a dereference of a destroyed widget.
215 (create_account): Do a sanity check, showing that modest_account_mgr_account_names()
216 returns NULL after modest_account_mgr_add_server_account() returned TRUE,
219 * src/maemo/modest-main-window-ui.h: Specify the callback for the Accounts menu item.
220 * src/modest-ui-actions.c: (modest_ui_actions_on_accounts): Open the wizard if no
221 accounts exist yet, as in the UI spec.
223 * src/modest-account-mgr.h: Add TODO comment about a possible memory leak.
225 2007-04-05 Murray Cumming <murrayc@murrayc.com>
227 * src/maemo/Makefile.am:
228 * src/maemo/modest-connection-specific-smtp-edit-window.c:
229 * src/maemo/modest-connection-specific-smtp-edit-window.h:
230 New window for editing connection-specific smtp details.
231 Not fully implemented.
233 * src/maemo/modest-connection-specific-smtp-window.c:
234 (modest_connection_specific_smtp_window_finalize) :
235 unref the tree model.
236 (on_button_edit): Show the edit window.
238 2007-04-05 Murray Cumming <murrayc@murrayc.com>
240 * src/Makefile.am: Change sequence of sub-libraries, which fixed an undefined symbol
243 * src/maemo/Makefile.am:
244 * src/maemo/modest-connection-specific-smtp-window.c:
245 * src/maemo/modest-connection-specific-smtp-window.h:
246 New window for showing the list of connections, for connection-specific
247 SMTP servers. Not fully implemented, because it needs an enhancement to TnyMaemoDevice.
248 * src/maemo/easysetup/modest-easysetup-wizard.c:
249 (create_page_custom_outgoing): Show the new window when the button is clicked.
251 2007-04-04 Murray Cumming <murrayc@murrayc.com>
253 * src/maemo/easysetup/modest-easysetup-wizard.c: (create_account):
254 * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
255 * src/maemo/modest-msg-edit-window.c:
256 (modest_msg_edit_window_insert_image):
257 * src/modest-conf.c: (modest_conf_key_escape):
258 * src/modest-mail-operation.c:
259 (modest_mail_operation_send_new_mail):
260 * src/modest-ui-actions.c: (modest_ui_actions_on_accounts),
261 (modest_ui_actions_on_new_account):
262 * src/widgets/modest-attachment-view.c: (update_filename_request):
263 * src/widgets/modest-mail-header-view.c:
264 Corrected warnings that were breaking the build, by commenting out unused variables,
265 and a function, and by including a header.
267 2007-04-04 Murray Cumming <murrayc@murrayc.com>
269 * configure.ac: Define MODEST_PLATFORM_MAEMO and MODEST_PLATFORM_GNOME in config.h,
270 so we can #ifdef around platform-specific code when necessary.
271 * src/modest-ui-actions.c: (modest_ui_actions_on_new_account): Use MODEST_PLATFORM_MAEMO
272 to allow this to build for the GNOME platform too.
274 2007-04-04 Murray Cumming <murrayc@murrayc.com>
276 * src/maemo/easysetup/modest-easysetup-wizard.c:
277 Added util_increment_name() and used it in create_page_account_details()
278 to make sure that the default account name is always a new name.
280 (modest_easysetup_wizard_dialog_init),
281 (set_default_custom_servernames): Some minor memory management fixes.
283 2007-04-04 Murray Cumming <murrayc@murrayc.com>
287 * src/modest-runtime.c: (init_i18n): Restored the translation
288 infrastructure, so that GETTEXT_PACKAGE and MODEST_LOCALE_DIR
289 are defined in config.h, and the translations are installed.
291 * src/maemo/easysetup/: Include config.h so that GETTEXT_PACKAGE
292 is defined for translation.
294 2007-04-03 Murray Cumming <murrayc@murrayc.com>
296 * src/maemo/easysetup/modest-easysetup-country-combo-box.c:
298 * src/maemo/easysetup/modest-easysetup-wizard.c:
299 (modest_easysetup_wizard_dialog_init):
300 * src/maemo/easysetup/modest-presets.c: (modest_presets_new):
301 Use realistic paths (though they should use $prefix generically) to the
302 mcc_mapping and provider-data.keyfile files which might work when they
303 are installed by the future version of the operator-wizard package,
304 and then fallback to paths in our source code, with an explanatory
307 2007-04-03 Murray Cumming <murrayc@murrayc.com>
311 * src/maemo/Makefile.am:
312 * src/maemo/easysetup/: Added files from the previously-exernal
313 osso-modest-easysetup.
314 * src/maemo/modest-main-window-ui.h:
315 * src/modest-ui-actions.c:
316 * src/modest-ui-actions.h:
317 Added modest_ui_actions_on_new_account() as a signal handler for the
318 New Account menu item. It shows the easysetup wizard.
319 * po/en_GB.po: Added additional needed logical IDs and translations.
321 Started ChangeLog2 file, because I cannot work without a ChangeLog. murrayc.
322 Apparently ChangeLog is not used for some vague Nokia legal reasons.