Added an option to disable the startup warning about GnuPG (from
[claws.git] / ChangeLog.claws
1 2001-05-02 [sergey]
2
3         * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
4         G_ALERTDISABLE.
5
6         * src/alertpanel.c (alertpanel_create): new argument can_disable,
7         all existing callers changed to pass FALSE; create a check button
8         to disable the message.
9         (alertpanel_message_with_disable): new function.
10         (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
11         (alertpanel_button_toggled): new function.
12         (alertpanel_button_clicked, alertpanel_close): set value using
13         G_ALERT_VALUE_MASK.
14
15         * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
16
17         * src/prefs_common.c (prefs_privacy_create): new check button
18         checkbtn_gpgme_warning.
19
20         * src/main.c (main): moved preferences reading before gpgme
21         initialization; check prefs_common.gpgme_warning before giving the
22         GnuPG warning and set it to FALSE if the user wants to disable the
23         warning.
24
25 2001-05-02 [hiroyuki]
26
27         * src/prefs_display_headers.c: modified the layout and some labels.
28
29 2001-05-02 [sergey]
30
31         * src/prefs_account.c (prefs_account_fix_size): new function.
32         (prefs_account_create): call prefs_account_fix_size(); use
33         gtk_widget_show instead of gtk_widget_show_all (fixes too large
34         size when the window is shown for the first time).
35         (prefs_account_basic_create): changed layout of serv_table; moved
36         localmbox_entry above smtpserv_entry (logically it replaces
37         POP3/IMAP server).
38         (prefs_account_protocol_activated): set sensitivity of
39         nntpauth_chkbtn according to the protocol (in addition to
40         hide/show); commented out gtk_table_set_row_spacing() calls.
41         (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
42         not sensitive (fixes a bug with disabled username/password boxes
43         when editing POP3 account after NNTP with authentication).
44
45 2001-05-02 [hoa]
46
47         * src/account.c
48         * src/inc.c
49         * src/prefs_account.[ch]
50         * src/send.c
51                 removed local account without SMTP server
52                 added option to use mail command instead of a connexion
53                 to SMTP server when a local account is used
54         * src/prefs_headers.c
55                 fixed a bug
56         * src/news.c
57                 fixed a bug when connexion immediately closed
58
59 2001-05-01 [alfons]
60
61         0.4.66claws1
62         
63         * sync with 0.4.65
64
65 2001-05-01 [sergey]
66
67         * src/prefs_account.c (Basic, prefs_account_basic_create): new
68         widget nntpauth_chkbtn.
69         (prefs_account_protocol_activated): handle nntpauth_chkbtn
70         visibility.
71         (prefs_account_nntpauth_toggled): new function.
72
73         * src/news.c (news_session_new_for_folder): use NNTP
74         authentication only if ac->use_nntp_auth is set.
75
76 2001-05-01 [hoa]
77
78         * src/Makefile.am changed headers.[ch] in customheader.[ch]
79         * src/prefs_display_headers.c changed the UI
80         * src/prefs_headers.c changed account_name to account_id
81         * src/compose.c using customheader.h
82
83 2001-05-01 [hiroyuki]
84
85         * src/esmtp.c
86           src/news.c
87           src/nntp.c: changed sock_read() to sock_gets(), they've been left
88           unsynched.
89
90 2001-05-01 [hoa]
91
92         * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
93         * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
94                 for displaying of headers
95         * src/grouplist_dialog.[ch] minor changes to remove warnings
96         * src/prefs_display_headers.[ch] dialog to choose the
97         headers to display in the mail viewer.
98         * src/headers.h correction of #define
99         * src/headers_display.[ch] configuration for displaying of headers.
100         * src/main.c read config of displaying of headers
101         * src/prefs_common.c add a button to access the config dialog
102                 for displaying of headers
103         * src/prefs_display_headers.[ch] dialog for configuration for
104                 displaying of the headers.
105         * src/prefs_headers.c cleaning of code
106         * src/procheader.c comments added to code
107         * src/textview.c changes to reorder the headers depending
108                 on the config for displaying of headers
109
110 2001-04-30 [alfons]
111
112         0.4.65claws7
113
114         * sync with 0.4.65cvs12
115
116         NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
117
118 2001-04-30 [sergey]
119
120         * src/nntp.h (NNTPSockInfo): new field auth_failed.
121
122         * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
123         is set to force reconnection after authentication failure.
124         (nntp_gen_command): set sock->auth_failed on authentication
125         failure, or if sock->userid and sock->passwd are not set.
126
127         * src/news.c (news_session_new_for_folder): set userid=NULL if
128         password dialog is cancelled.
129
130 2001-04-30 [sergey]
131
132         * src/nntp.h (NNTPSockInfo): new type.
133
134         * src/nntp.c: all functions updated to use NNTPSockInfo instead of
135         SockInfo.
136         (nntp_open_auth, nntp_close): new functions.
137         (nntp_gen_command): new function to handle authentication; all
138         NNTP command functions updated to use it.
139         (nntp_authinfo_user, nntp_authinfo_pass): deleted.
140         (nntp_list): removed old useless code.
141
142         * src/news.h (NNTPSession): new field nntp_sock.
143
144         * src/news.c: all functions updated to use NNTPSockInfo instead of
145         SockInfo.
146         (news_session_new): new arguments (userid, passwd); made static;
147         use nntp_open_auth() if needed.
148         (news_session_destroy): use nntp_close() instead of sock_close().
149         (news_query_password): changed arguments.
150         (news_session_new_for_folder): new function.
151         (news_session_get): use news_session_new_for_folder().
152         (news_authenticate): deleted.
153         (news_get_uncached_articles): removed old authentication code.
154
155 2001-04-30 [sergey]
156
157         * src/news.c: reverted my previous changes (need to do NNTP
158         authentication in a cleaner way).
159         
160 2001-04-29 [sergey]
161
162         * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
163         news_nntp_post, news_nntp_mode): new functions (wrappers with
164         authentication support).
165         (news_get_article_cmd, news_get_article, news_get_header): new
166         argument "folder"; all callers changed.
167         (news_get_article_cmd): added authentication support.
168         (news_session_get): use news_nntp_mode() instead of nntp_mode().
169         (news_post): use news_nntp_post() instead of nntp_post().
170         (news_get_uncached_articles): use news_nntp_group() instead of
171         nntp_group() and news_nntp_xover() instead of nntp_xover();
172         removed old authentication code.
173         (news_get_group_list): use news_nntp_list() instead of nntp_list().
174
175         * src/nntp.c (nntp_list): return real error code instead of
176         hardcoded NN_ERROR.
177
178 2001-04-29 [sergey]
179
180         * configure.in: fixed wint_t typedef detection again
181
182 2001-04-28 [hoa]
183
184         * src/prefs_account.[ch], added A_LOCAL_CMD
185                 (send mail with mail command)
186         * src/send.c added function send_message_with_command()
187         * src/inc.c made a more secure get_spool() function with
188                 mktemp() but maybe mkstemp() or something more
189                 secure can be used.
190
191 2001-04-28 [alfons]
192
193         * src/textview.c, colorization of email addresses in headers
194
195         0.4.65claws6
196
197         * bug sync with sylpheed
198         * prefs_common.c: created date format ui for darko
199         * sync with 0.4.65cvs11
200         * configure.in: corrected to have the new gpg checks
201
202 2001-04-27 [alfons]
203
204         * completed sync with 0.4.65cvs10
205         * minor debug things added to gtkstext.c
206
207 2001-04-27 [darko]
208
209         * configure.in: remove check for availability of
210           strftime() as advised by Hiroyuki
211         * src/prefs_common.[ch], src/procheader.c:
212           synch strftime() code with Hiroyki's main branch
213
214 2001-04-26 [sergey]
215
216         * src/news.c: news_query_password(), news_authenticate(): new
217           functions.
218           news_get_uncached_articles(): added NNTP authentication
219           handling.
220         * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
221           new functions.
222         * src/prefs_account.c: prefs_account_protocol_activated():
223           enable userid and password fields for NNTP.
224
225 2001-04-26
226
227         * configure.in: check for availability of strftime()
228           [darko]
229         * src/prefs_common.[ch], src/procheader.c: use
230           strftime() for displaying date in summary pane if it
231           is available
232
233 2001-04-25
234
235         * more .cvsignore cleanups [alfons]
236
237 2001-04-25
238
239         * ac/sv-check-type.m4: new autoconf macro.
240         * configure.in: fixed wint_t typedef detection (did not work
241           with gcc-2.96).
242
243 2001-04-25
244
245         * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
246           [hiroyuki]
247
248 2001-04-24
249         * modified gtkstext.c : buggy cursor navigation fixed, 
250           and font descent also taken in account when drawing
251           cursor. [alfons]
252
253 2001-04-24 [hoa]
254         * added comments in src/news.c src/nntp.c
255         * added src/prefs_headers.[ch]
256         * added src/headers.[ch]
257         * modified compose.c to activate custom headers
258                 added function is_in_custom_headers
259         * modified prefs_account.[ch]
260                 added function prefs_account_customhdr_edit
261         * modified src/defs.h :
262                 added HEADERS_RC : name of the config file
263                 for the custom headers
264
265 2001-04-24
266
267     0.4.65claws5
268
269         * configure.in
270           src/gtkstext.[ch]
271           src/compose.c
272           src/Makefile.am
273           
274           added gtkstext with configure.in patch by Hiroyuki which
275           should fix the XIM detection [alfons]
276
277         * more clean up of cvs [alfons]
278
279                  * removed all Makefile.in files to attic.
280
281                  * updated all .cvsignores to really ignore things that could
282                    be unintentionally committed by a recursive commit.
283
284 2001-04-23 [hoa]
285         * added src/grouplist_dialog.[ch]
286         * changed src/folderview.c to call grouplist_dialog instead
287                 of inputdialog
288         * src/news.c :
289                 added functions news_reset_group_list
290                 and news_get_group_list
291         * src/nntp.c :
292                 added function nntp_list
293         * src/defs.h :
294                 added GROUPLIST_FILE : name of the newsgroup list cache file
295
296 2001-04-21
297
298         * added option to warn about queued messages on exit [sergey]:
299
300           * src/compose.c: compose_queue(): call folder_item_scan()
301             and folderview_update_item() after queueing.
302           * src/folderview.c: folderview_update_node(): draw the queue
303             folder in bold font if there are queued messages.
304           * src/mainwindow.c: queued_messages(): new function.
305             app_exit_cb(): display warning if there are queued messages
306             if warn_queued_on_exit is set.
307           * prefs_common.[ch]: add warn_queued_on_exit option.
308
309         * enhanced GnuPG key selection support [sergey]:
310
311           * src/select-keys.c: updated to newer version from Win32
312             branch with support for selecting arbitrary keys.
313           * src/prefs_account.c: added the Privacy tab to the account
314             options window.
315             prefs_account_privacy_create(),
316             prefs_account_sign_key_set_data_from_radiobtn(),
317             prefs_account_sign_key_set_radiobtn(): new functions.
318           * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
319           * src/rfc2015.c: set_signers(): new function.
320             pgp_sign(): add the account parameter, call set_signers().
321             rfc2015_sign(): add the account parameter, pass it to pgp_sign().
322           * src/rfc2015.h: rfc2015_sign(): updated prototype.
323           * src/compose.c: pass the current account to rfc2015_sign().
324
325         * tag name claws added to prevent confusion with main branch [alfons]
326
327         * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
328
329         * autogen.sh: Added "--enable-maintainer-mode". [sergey]
330
331         * sync with recent sylpheed cvs. Untested though. [alfons]
332