sync with sylpheed 0.4.66cvs3-5
[claws.git] / ChangeLog.claws
1 2001-05-06 [alfons]
2
3         0.4.66claws3
4
5         * sync with sylpheed 0.4.66cvs3-5
6
7 2001-05-06 [hoa]
8
9         * src/utils.[ch]
10                 added function itos_buf() to enable use of several buffers
11         * src/summaryview.c
12                 use of itos_buf() instead of itos() in summary list
13                 to fix the broken display of message number.
14
15 2001-05-06 [alfons]
16
17         * src/gtkstext.c: bug in cursor up navigation fixed,
18                 fixed another unsigned / signed comparison (we're getting there :-)
19
20 2001-05-06 [hoa]
21
22         * src/Makefile.am
23                 added scoring.c scoring.h
24                 prefs_folder_item.c prefs_folder_item.h
25                 matcher.c matcher.h
26         * src/defs.h
27                 added FOLDERITEM_RC SCORING_RC
28         * src/folder.[ch]
29                 added prefs field in FolderItem :
30                 properties for each folder (PrefsFolderItem),
31                 sorting type and mode were added as the first properties.
32         * src/main.c
33                 read config for scoring
34         * added src/matcher.[ch]
35                 gives functions to parse configuration file to do
36                 matching on mails with a list of conditions.
37         * src/mainwindow.c
38                 add option to sort by score
39         * src/prefs_common.[ch]
40                 added preference option to show score and for
41                 the score column size
42         * added src/prefs_folder_item.[ch]
43                 properties for each folder (PrefsFolderItem),
44                 sorting type and mode were added as the first properties.
45         * src/procheader.[ch]
46                 added procheader_parse_header()
47                 added procheader_header_free()
48                 added procheader_headername_equal()
49                 and made modification to use them.
50         * src/procmsg.[ch]
51                 added score field to MsgInfo structure
52         * added src/scoring.[ch]
53                 gives functions to parse configuration file to do
54                 scoring on mails with a list of conditions.
55         * src/summaryview.[ch]
56                 save the sorting type and mode for the folder
57                 added column to display the score of the mail
58                 added function summary_score_clicked()
59                 sorting type and mode are restored to the folder
60                 when it is reopen
61         * src/textview.c
62                 use procheader_parse_header(), procheader_headername_equal()
63                 removed memory leak in text_scan_header when freeing headers
64         * src/filter.c
65                 changed the function to match names of headers
66                 using procheader_headername_equal()
67
68         Scoring functions are implemented, an interface is needed
69         to configure that.
70
71 2001-05-04 [alfons]
72
73         * src/gtkstext.c: 
74                 hopefully fixed the row up navigation bug,
75                 removed adding back / forward lines to cache
76
77 2001-05-04 [sergey]
78
79         * src/prefs_display_headers.c: user interface changes:
80         (prefs_display_headers_create): remove unused "Show" check button;
81         allow reordering of headers by dragging.
82         (prefs_display_headers_write_config): remove unused variables.
83         (prefs_display_headers_set_dialog): do not insert "(New)" at top
84         of lists (not needed with the new UI).
85         (prefs_display_headers_set_list): scan lists starting from row 0,
86         not 1 (do not skip "(New)").
87         (prefs_display_headers_find_header): new function.
88         (prefs_display_headers_clist_set_row): do not allow duplicates.
89         (prefs_display_headers_delete_cb): do not skip row 0; treat
90         closing the alert window by ESC as "No".
91         (prefs_display_headers_up): do not protect row 0.
92         (prefs_display_headers_down): do not protect row 0.
93
94 2001-05-04 [sergey]
95
96         * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
97         functions.  
98
99         * src/summaryview.c
100         (summary_find_next_marked_msg, summary_find_prev_marked_msg,
101         summary_select_next_marked, summary_select_prev_marked): new
102         functions.
103
104 2001-05-03 [sergey]
105
106         * src/news.c: fixed a bug when no article can be fetched after
107         server timeout if the connection was restored by news_post():
108         (news_select_group): new function.
109         (news_fetch_msg): call news_select_group() before fetching
110         article.
111         (news_get_uncached_articles): set session->group after successful
112         GROUP command.
113
114 2001-05-03 [hoa]
115
116         * src/defs.h
117         * src/procmsg.[ch]
118         * src/procheader.c
119                  changed version of cache, added cc field
120
121         * src/prefs_display_headers.c
122                 the interface was changed
123
124         * src/prefs_headers.c
125                 added cancel button
126
127 2001-05-03 [alfons]
128
129         * completed sync of sylpheed cvs2
130         * src/gtkstext.c: updated row up / down cursor navigation
131         * src/textview.c: re-edited, prepared for fixing the email address
132                 scanner.
133
134 2001-05-03 [darko]
135
136         * src/prefs_common.c: use alfons' strftime ui code
137         entry_datefmt and datefmt_sample widgets have to be
138         global in this module because of this change
139
140 2001-05-03 [hoa]
141
142         * src/messageview.c
143         * src/prefs_common.[ch] added option to activate the return receipt
144                 feature.
145
146 2001-05-02 [alfons]
147
148         * src/gtkstext.c: fix for row up/down cursor navigation. 
149
150         0.4.66claws2
151         
152         * sync with 0.4.66cvs2
153
154 2001-05-02 [paul]
155
156         added add-sender-to-addressbook patch
157
158         * src/addressbook.c
159         * src/addressbook.h
160         * src/summaryview.c
161
162 2001-05-02 [sergey]
163
164         * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
165         G_ALERTDISABLE.
166
167         * src/alertpanel.c (alertpanel_create): new argument can_disable,
168         all existing callers changed to pass FALSE; create a check button
169         to disable the message.
170         (alertpanel_message_with_disable): new function.
171         (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
172         (alertpanel_button_toggled): new function.
173         (alertpanel_button_clicked, alertpanel_close): set value using
174         G_ALERT_VALUE_MASK.
175
176         * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
177
178         * src/prefs_common.c (prefs_privacy_create): new check button
179         checkbtn_gpgme_warning.
180
181         * src/main.c (main): moved preferences reading before gpgme
182         initialization; check prefs_common.gpgme_warning before giving the
183         GnuPG warning and set it to FALSE if the user wants to disable the
184         warning.
185
186 2001-05-02 [hiroyuki]
187
188         * src/prefs_display_headers.c: modified the layout and some labels.
189
190 2001-05-02 [sergey]
191
192         * src/prefs_account.c (prefs_account_fix_size): new function.
193         (prefs_account_create): call prefs_account_fix_size(); use
194         gtk_widget_show instead of gtk_widget_show_all (fixes too large
195         size when the window is shown for the first time).
196         (prefs_account_basic_create): changed layout of serv_table; moved
197         localmbox_entry above smtpserv_entry (logically it replaces
198         POP3/IMAP server).
199         (prefs_account_protocol_activated): set sensitivity of
200         nntpauth_chkbtn according to the protocol (in addition to
201         hide/show); commented out gtk_table_set_row_spacing() calls.
202         (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
203         not sensitive (fixes a bug with disabled username/password boxes
204         when editing POP3 account after NNTP with authentication).
205
206 2001-05-02 [hoa]
207
208         * src/account.c
209         * src/inc.c
210         * src/prefs_account.[ch]
211         * src/send.c
212                 removed local account without SMTP server
213                 added option to use mail command instead of a connexion
214                 to SMTP server when a local account is used
215         * src/prefs_headers.c
216                 fixed a bug
217         * src/news.c
218                 fixed a bug when connexion immediately closed
219
220 2001-05-01 [alfons]
221
222         0.4.66claws1
223         
224         * sync with 0.4.65
225
226 2001-05-01 [sergey]
227
228         * src/prefs_account.c (Basic, prefs_account_basic_create): new
229         widget nntpauth_chkbtn.
230         (prefs_account_protocol_activated): handle nntpauth_chkbtn
231         visibility.
232         (prefs_account_nntpauth_toggled): new function.
233
234         * src/news.c (news_session_new_for_folder): use NNTP
235         authentication only if ac->use_nntp_auth is set.
236
237 2001-05-01 [hoa]
238
239         * src/Makefile.am changed headers.[ch] in customheader.[ch]
240         * src/prefs_display_headers.c changed the UI
241         * src/prefs_headers.c changed account_name to account_id
242         * src/compose.c using customheader.h
243
244 2001-05-01 [hiroyuki]
245
246         * src/esmtp.c
247           src/news.c
248           src/nntp.c: changed sock_read() to sock_gets(), they've been left
249           unsynched.
250
251 2001-05-01 [hoa]
252
253         * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
254         * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
255                 for displaying of headers
256         * src/grouplist_dialog.[ch] minor changes to remove warnings
257         * src/prefs_display_headers.[ch] dialog to choose the
258         headers to display in the mail viewer.
259         * src/headers.h correction of #define
260         * src/headers_display.[ch] configuration for displaying of headers.
261         * src/main.c read config of displaying of headers
262         * src/prefs_common.c add a button to access the config dialog
263                 for displaying of headers
264         * src/prefs_display_headers.[ch] dialog for configuration for
265                 displaying of the headers.
266         * src/prefs_headers.c cleaning of code
267         * src/procheader.c comments added to code
268         * src/textview.c changes to reorder the headers depending
269                 on the config for displaying of headers
270
271 2001-04-30 [alfons]
272
273         0.4.65claws7
274
275         * sync with 0.4.65cvs12
276
277         NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
278
279 2001-04-30 [sergey]
280
281         * src/nntp.h (NNTPSockInfo): new field auth_failed.
282
283         * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
284         is set to force reconnection after authentication failure.
285         (nntp_gen_command): set sock->auth_failed on authentication
286         failure, or if sock->userid and sock->passwd are not set.
287
288         * src/news.c (news_session_new_for_folder): set userid=NULL if
289         password dialog is cancelled.
290
291 2001-04-30 [sergey]
292
293         * src/nntp.h (NNTPSockInfo): new type.
294
295         * src/nntp.c: all functions updated to use NNTPSockInfo instead of
296         SockInfo.
297         (nntp_open_auth, nntp_close): new functions.
298         (nntp_gen_command): new function to handle authentication; all
299         NNTP command functions updated to use it.
300         (nntp_authinfo_user, nntp_authinfo_pass): deleted.
301         (nntp_list): removed old useless code.
302
303         * src/news.h (NNTPSession): new field nntp_sock.
304
305         * src/news.c: all functions updated to use NNTPSockInfo instead of
306         SockInfo.
307         (news_session_new): new arguments (userid, passwd); made static;
308         use nntp_open_auth() if needed.
309         (news_session_destroy): use nntp_close() instead of sock_close().
310         (news_query_password): changed arguments.
311         (news_session_new_for_folder): new function.
312         (news_session_get): use news_session_new_for_folder().
313         (news_authenticate): deleted.
314         (news_get_uncached_articles): removed old authentication code.
315
316 2001-04-30 [sergey]
317
318         * src/news.c: reverted my previous changes (need to do NNTP
319         authentication in a cleaner way).
320         
321 2001-04-29 [sergey]
322
323         * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
324         news_nntp_post, news_nntp_mode): new functions (wrappers with
325         authentication support).
326         (news_get_article_cmd, news_get_article, news_get_header): new
327         argument "folder"; all callers changed.
328         (news_get_article_cmd): added authentication support.
329         (news_session_get): use news_nntp_mode() instead of nntp_mode().
330         (news_post): use news_nntp_post() instead of nntp_post().
331         (news_get_uncached_articles): use news_nntp_group() instead of
332         nntp_group() and news_nntp_xover() instead of nntp_xover();
333         removed old authentication code.
334         (news_get_group_list): use news_nntp_list() instead of nntp_list().
335
336         * src/nntp.c (nntp_list): return real error code instead of
337         hardcoded NN_ERROR.
338
339 2001-04-29 [sergey]
340
341         * configure.in: fixed wint_t typedef detection again
342
343 2001-04-28 [hoa]
344
345         * src/prefs_account.[ch], added A_LOCAL_CMD
346                 (send mail with mail command)
347         * src/send.c added function send_message_with_command()
348         * src/inc.c made a more secure get_spool() function with
349                 mktemp() but maybe mkstemp() or something more
350                 secure can be used.
351
352 2001-04-28 [alfons]
353
354         * src/textview.c, colorization of email addresses in headers
355
356         0.4.65claws6
357
358         * bug sync with sylpheed
359         * prefs_common.c: created date format ui for darko
360         * sync with 0.4.65cvs11
361         * configure.in: corrected to have the new gpg checks
362
363 2001-04-27 [alfons]
364
365         * completed sync with 0.4.65cvs10
366         * minor debug things added to gtkstext.c
367
368 2001-04-27 [darko]
369
370         * configure.in: remove check for availability of
371           strftime() as advised by Hiroyuki
372         * src/prefs_common.[ch], src/procheader.c:
373           synch strftime() code with Hiroyki's main branch
374
375 2001-04-26 [sergey]
376
377         * src/news.c: news_query_password(), news_authenticate(): new
378           functions.
379           news_get_uncached_articles(): added NNTP authentication
380           handling.
381         * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
382           new functions.
383         * src/prefs_account.c: prefs_account_protocol_activated():
384           enable userid and password fields for NNTP.
385
386 2001-04-26
387
388         * configure.in: check for availability of strftime()
389           [darko]
390         * src/prefs_common.[ch], src/procheader.c: use
391           strftime() for displaying date in summary pane if it
392           is available
393
394 2001-04-25
395
396         * more .cvsignore cleanups [alfons]
397
398 2001-04-25
399
400         * ac/sv-check-type.m4: new autoconf macro.
401         * configure.in: fixed wint_t typedef detection (did not work
402           with gcc-2.96).
403
404 2001-04-25
405
406         * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
407           [hiroyuki]
408
409 2001-04-24
410         * modified gtkstext.c : buggy cursor navigation fixed, 
411           and font descent also taken in account when drawing
412           cursor. [alfons]
413
414 2001-04-24 [hoa]
415         * added comments in src/news.c src/nntp.c
416         * added src/prefs_headers.[ch]
417         * added src/headers.[ch]
418         * modified compose.c to activate custom headers
419                 added function is_in_custom_headers
420         * modified prefs_account.[ch]
421                 added function prefs_account_customhdr_edit
422         * modified src/defs.h :
423                 added HEADERS_RC : name of the config file
424                 for the custom headers
425
426 2001-04-24
427
428     0.4.65claws5
429
430         * configure.in
431           src/gtkstext.[ch]
432           src/compose.c
433           src/Makefile.am
434           
435           added gtkstext with configure.in patch by Hiroyuki which
436           should fix the XIM detection [alfons]
437
438         * more clean up of cvs [alfons]
439
440                  * removed all Makefile.in files to attic.
441
442                  * updated all .cvsignores to really ignore things that could
443                    be unintentionally committed by a recursive commit.
444
445 2001-04-23 [hoa]
446         * added src/grouplist_dialog.[ch]
447         * changed src/folderview.c to call grouplist_dialog instead
448                 of inputdialog
449         * src/news.c :
450                 added functions news_reset_group_list
451                 and news_get_group_list
452         * src/nntp.c :
453                 added function nntp_list
454         * src/defs.h :
455                 added GROUPLIST_FILE : name of the newsgroup list cache file
456
457 2001-04-21
458
459         * added option to warn about queued messages on exit [sergey]:
460
461           * src/compose.c: compose_queue(): call folder_item_scan()
462             and folderview_update_item() after queueing.
463           * src/folderview.c: folderview_update_node(): draw the queue
464             folder in bold font if there are queued messages.
465           * src/mainwindow.c: queued_messages(): new function.
466             app_exit_cb(): display warning if there are queued messages
467             if warn_queued_on_exit is set.
468           * prefs_common.[ch]: add warn_queued_on_exit option.
469
470         * enhanced GnuPG key selection support [sergey]:
471
472           * src/select-keys.c: updated to newer version from Win32
473             branch with support for selecting arbitrary keys.
474           * src/prefs_account.c: added the Privacy tab to the account
475             options window.
476             prefs_account_privacy_create(),
477             prefs_account_sign_key_set_data_from_radiobtn(),
478             prefs_account_sign_key_set_radiobtn(): new functions.
479           * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
480           * src/rfc2015.c: set_signers(): new function.
481             pgp_sign(): add the account parameter, call set_signers().
482             rfc2015_sign(): add the account parameter, pass it to pgp_sign().
483           * src/rfc2015.h: rfc2015_sign(): updated prototype.
484           * src/compose.c: pass the current account to rfc2015_sign().
485
486         * tag name claws added to prevent confusion with main branch [alfons]
487
488         * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
489
490         * autogen.sh: Added "--enable-maintainer-mode". [sergey]
491
492         * sync with recent sylpheed cvs. Untested though. [alfons]
493