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