sync with 0.4.66cvs4, and incorporated EricL's no dialog patch.
[claws.git] / ChangeLog.claws
1 2001-05-12 [alfons]
2
3         0.4.67claws2
4         
5         * src/inc.c, src/prefs_common.c, src/prefs_common.h: 
6                 applied "toggle mail-retrieval dialog window" patch submitted 
7                 by Eric Limpens <eric@qnt.net>
8
9         * sync with sylpheed 0.4.67cvs4
10
11 2001-05-12 [sergey]
12
13         * src/matcher.c, src/scoring.c: changed "#ifdef 0" to "#if 0" for
14         some picky compilers.
15         * src/rfc2015.h: provide prototype for rfc2015_disable_all().
16         * src/grouplist_dialog.c: include alertpanel.h.
17         * src/prefs_headers.c (prefs_headers_deleted): added GTK_BUTTON to
18         fix compile warning.
19         * src/scoring.c, src/prefs_folder_item.c, src/matcher.c: brought
20         #include "defs.h" before others to prevent the warning of `MIN'
21         and `MAX' redefinition.
22
23 2001-05-11 [hoa]
24
25         * src/main.c
26         * src/messageview.c
27         * src/prefs_account.c
28         * src/prefs_display_header.c
29                 removed warning
30         * src/Makefile.am
31                 added prefs_scoring.[ch]
32         * src/grouplist_dialog.c
33                 display an error dialog box if the group list
34                 cannot be fetched.
35         * src/mainwindow.[ch]
36                 added main_window_set_thread_option() function
37                 scoring dialog box enabled
38         * src/matcher.[ch]
39                 added flags matching unread /new / marked
40                 / deleted / replied / forwarded
41         * src/news.c
42                 newsgroups are now finally in newscache
43         * src/prefs_matcher.[ch]
44                 finished preferences for matching dialog
45         * added src/prefs_scoring.[ch]
46                 scoring dialog box completed
47         * src/scoring.[ch]
48                 conversion to string : added scoringprop_to_string()
49                 write config for preferences :
50                 added prefs_scoring_write_config()
51         * src/summaryview.c
52                 threads can be enabled/disabled independently
53                 for each folder
54
55 2001-05-10 [alfons]
56
57         0.4.67claws1
58         
59         * AUTHORS: 
60                 thought it would be nice to have a list of all
61                 contributors (used Changelog as a reference)
62         
63         * configure.in: 
64                 messed up version numbering...
65
66         0.4.66claws1
67
68         * sync with sylpheed 0.4.67cvs1-3
69
70 2001-05-10 [darko]
71
72         * src/prefs_common.c:
73                 better UI for strftime format, double clicking
74                 on format now inserts the format in text entry
75                 replaced close button with standard OK/Cancel
76                 moved date format button to the right of the
77                 text entry field
78
79 2001-05-09 [alfons]
80
81         * src/gtkstext.c:
82                 Ctrl-Home / Ctrl-End have proper cursor navigation
83
84 2001-05-09 [hoa]
85
86         * src/prefs_matcher.c
87                 finished UI to define matching properties
88                 added ok and cancel button
89         * src/prefs_filter.c
90                 added ok and cancel button
91         * src/news.c
92                 fixed some bug in xhdr parsing
93
94 2001-05-08 [alfons]
95
96         * src/textview.c: 
97                 fixed a bug in textview_show_header(), which displayed two colons (':');
98                 cleaned up some warnings
99
100 2001-05-08 [hoa]
101
102         * src/Makefile.am
103                 added prefs_matcher.[ch]
104                 compilation with -W -Wall
105         * src/alertpanel.c
106                 ungrab the mouse events if grabbed - does it
107                 fix the bug for disposition notification ?
108         * src/mainwindow.c
109                 added a menu option to open the matching dialog.
110         * src/matcher.[ch]
111                 added matcherprop_to_string() and matcherlist_to_string()
112                 fixed some bugs, changed the name of some options
113                 age_sup and age_inf becomes age_greater and age_lower,
114                 body and messageheaders becomes body_part and headers_part,
115                 changed the names of constants from SCORING_XXX to MATCHING_XXX
116         * src/prefs_display_header.c
117         * src/prefs_headers.c
118                 fixed a bug that accidentally destroyed dialogs
119                 when closed them with delete_event
120                 Added *_deleted() which handle delete_event signal correctly.
121         * src/prefs_folder_item.[ch]
122                 added "enable_thread" field for future customization
123         * added src/prefs_matcher.[ch]
124                 sample of the UI to define matching properties
125         * src/procheader.c
126                 using procheader_headername_equal instead of str*cmp functions
127                 using procheader_parse_header() function
128         * src/scoring.c
129                 using MATCHING_XXX instead of SCORING_XXX
130         * src/summaryview.c
131                 display the sender of the news even if this is ourself
132                 when this is a news message.
133         * src/textview.c
134                 using headername_equal() instead of str*cmp functions
135
136 2001-05-08 [alfons]
137
138         0.4.66claws
139
140         * sync with sylpheed 0.4.66
141         * src/gtkstext.c: trace logs added 
142
143 2001-05-08 [sergey]
144
145         * src/prefs_common.[ch]: added option to enable/disable GnuPG
146         signature check popup.
147         * src/rfc2015.c (check_signature): show signature check popup only
148         if it is enabled in preferences.
149
150 2001-05-07 [alfons]
151
152         0.4.66claws4
153         
154         * sync with sylpheed 0.4.66cvs6
155
156 2001-05-07 [darko]
157
158         * src/prefs_common.[ch]: added option to enable/disable
159           looking up sender name in address book for summary pane
160         * src/summaryview.c: look up sender in the address book
161           by using Alfons' address completion code
162
163 2001-05-07 [hiroyuki]
164
165         * src/inc.h
166           src/pop.c: pop3_retr_recv(): removed cur_msg_bytes from the
167           member of Pop3State.
168         * src/news.c: brought #include "defs.h" before #include <glib.h>
169           to prevent the warning of `MIN' and `MAX' redefinition.
170
171 2001-05-06 [hoa]
172
173         * removed src/headers_display.[ch]
174         * removed src/prefs_display_headers.[ch]
175         * src/inc.c
176                 use a temporary file in the user directory for mbox import
177         * src/news.c
178                 added XHDR support to get "To" and "Cc" headers
179                 (in order to match news with to or cc field for
180                 scoring)
181                 added function news_parse_xhdr() to get XHDR response
182         * src/nntp.[ch]
183                 added function nntp_xhdr()
184         * src/matcher.c
185                 fetch the message if necessary
186
187 2001-05-06 [alfons]
188
189         0.4.66claws3
190
191         * sync with sylpheed 0.4.66cvs3-5
192
193 2001-05-06 [hoa]
194
195         * src/utils.[ch]
196                 added function itos_buf() to enable use of several buffers
197         * src/summaryview.c
198                 use of itos_buf() instead of itos() in summary list
199                 to fix the broken display of message number.
200
201 2001-05-06 [alfons]
202
203         * src/gtkstext.c: bug in cursor up navigation fixed,
204                 fixed another unsigned / signed comparison (we're getting there :-)
205
206 2001-05-06 [hoa]
207
208         * src/Makefile.am
209                 added scoring.c scoring.h
210                 prefs_folder_item.c prefs_folder_item.h
211                 matcher.c matcher.h
212         * src/defs.h
213                 added FOLDERITEM_RC SCORING_RC
214         * src/folder.[ch]
215                 added prefs field in FolderItem :
216                 properties for each folder (PrefsFolderItem),
217                 sorting type and mode were added as the first properties.
218         * src/main.c
219                 read config for scoring
220         * added src/matcher.[ch]
221                 gives functions to parse configuration file to do
222                 matching on mails with a list of conditions.
223         * src/mainwindow.c
224                 add option to sort by score
225         * src/prefs_common.[ch]
226                 added preference option to show score and for
227                 the score column size
228         * added src/prefs_folder_item.[ch]
229                 properties for each folder (PrefsFolderItem),
230                 sorting type and mode were added as the first properties.
231         * src/procheader.[ch]
232                 added procheader_parse_header()
233                 added procheader_header_free()
234                 added procheader_headername_equal()
235                 and made modification to use them.
236         * src/procmsg.[ch]
237                 added score field to MsgInfo structure
238         * added src/scoring.[ch]
239                 gives functions to parse configuration file to do
240                 scoring on mails with a list of conditions.
241         * src/summaryview.[ch]
242                 save the sorting type and mode for the folder
243                 added column to display the score of the mail
244                 added function summary_score_clicked()
245                 sorting type and mode are restored to the folder
246                 when it is reopen
247         * src/textview.c
248                 use procheader_parse_header(), procheader_headername_equal()
249                 removed memory leak in text_scan_header when freeing headers
250         * src/filter.c
251                 changed the function to match names of headers
252                 using procheader_headername_equal()
253
254         Scoring functions are implemented, an interface is needed
255         to configure that.
256
257 2001-05-04 [alfons]
258
259         * src/gtkstext.c: 
260                 hopefully fixed the row up navigation bug,
261                 removed adding back / forward lines to cache
262
263 2001-05-04 [sergey]
264
265         * src/prefs_display_headers.c: user interface changes:
266         (prefs_display_headers_create): remove unused "Show" check button;
267         allow reordering of headers by dragging.
268         (prefs_display_headers_write_config): remove unused variables.
269         (prefs_display_headers_set_dialog): do not insert "(New)" at top
270         of lists (not needed with the new UI).
271         (prefs_display_headers_set_list): scan lists starting from row 0,
272         not 1 (do not skip "(New)").
273         (prefs_display_headers_find_header): new function.
274         (prefs_display_headers_clist_set_row): do not allow duplicates.
275         (prefs_display_headers_delete_cb): do not skip row 0; treat
276         closing the alert window by ESC as "No".
277         (prefs_display_headers_up): do not protect row 0.
278         (prefs_display_headers_down): do not protect row 0.
279
280 2001-05-04 [sergey]
281
282         * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
283         functions.  
284
285         * src/summaryview.c
286         (summary_find_next_marked_msg, summary_find_prev_marked_msg,
287         summary_select_next_marked, summary_select_prev_marked): new
288         functions.
289
290 2001-05-03 [sergey]
291
292         * src/news.c: fixed a bug when no article can be fetched after
293         server timeout if the connection was restored by news_post():
294         (news_select_group): new function.
295         (news_fetch_msg): call news_select_group() before fetching
296         article.
297         (news_get_uncached_articles): set session->group after successful
298         GROUP command.
299
300 2001-05-03 [hoa]
301
302         * src/defs.h
303         * src/procmsg.[ch]
304         * src/procheader.c
305                  changed version of cache, added cc field
306
307         * src/prefs_display_headers.c
308                 the interface was changed
309
310         * src/prefs_headers.c
311                 added cancel button
312
313 2001-05-03 [alfons]
314
315         * completed sync of sylpheed cvs2
316         * src/gtkstext.c: updated row up / down cursor navigation
317         * src/textview.c: re-edited, prepared for fixing the email address
318                 scanner.
319
320 2001-05-03 [darko]
321
322         * src/prefs_common.c: use alfons' strftime ui code
323         entry_datefmt and datefmt_sample widgets have to be
324         global in this module because of this change
325
326 2001-05-03 [hoa]
327
328         * src/messageview.c
329         * src/prefs_common.[ch] added option to activate the return receipt
330                 feature.
331
332 2001-05-02 [alfons]
333
334         * src/gtkstext.c: fix for row up/down cursor navigation. 
335
336         0.4.66claws2
337         
338         * sync with 0.4.66cvs2
339
340 2001-05-02 [paul]
341
342         added add-sender-to-addressbook patch
343
344         * src/addressbook.c
345         * src/addressbook.h
346         * src/summaryview.c
347
348 2001-05-02 [sergey]
349
350         * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
351         G_ALERTDISABLE.
352
353         * src/alertpanel.c (alertpanel_create): new argument can_disable,
354         all existing callers changed to pass FALSE; create a check button
355         to disable the message.
356         (alertpanel_message_with_disable): new function.
357         (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
358         (alertpanel_button_toggled): new function.
359         (alertpanel_button_clicked, alertpanel_close): set value using
360         G_ALERT_VALUE_MASK.
361
362         * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
363
364         * src/prefs_common.c (prefs_privacy_create): new check button
365         checkbtn_gpgme_warning.
366
367         * src/main.c (main): moved preferences reading before gpgme
368         initialization; check prefs_common.gpgme_warning before giving the
369         GnuPG warning and set it to FALSE if the user wants to disable the
370         warning.
371
372 2001-05-02 [hiroyuki]
373
374         * src/prefs_display_headers.c: modified the layout and some labels.
375
376 2001-05-02 [sergey]
377
378         * src/prefs_account.c (prefs_account_fix_size): new function.
379         (prefs_account_create): call prefs_account_fix_size(); use
380         gtk_widget_show instead of gtk_widget_show_all (fixes too large
381         size when the window is shown for the first time).
382         (prefs_account_basic_create): changed layout of serv_table; moved
383         localmbox_entry above smtpserv_entry (logically it replaces
384         POP3/IMAP server).
385         (prefs_account_protocol_activated): set sensitivity of
386         nntpauth_chkbtn according to the protocol (in addition to
387         hide/show); commented out gtk_table_set_row_spacing() calls.
388         (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
389         not sensitive (fixes a bug with disabled username/password boxes
390         when editing POP3 account after NNTP with authentication).
391
392 2001-05-02 [hoa]
393
394         * src/account.c
395         * src/inc.c
396         * src/prefs_account.[ch]
397         * src/send.c
398                 removed local account without SMTP server
399                 added option to use mail command instead of a connexion
400                 to SMTP server when a local account is used
401         * src/prefs_headers.c
402                 fixed a bug
403         * src/news.c
404                 fixed a bug when connexion immediately closed
405
406 2001-05-01 [alfons]
407
408         0.4.66claws1
409         
410         * sync with 0.4.65
411
412 2001-05-01 [sergey]
413
414         * src/prefs_account.c (Basic, prefs_account_basic_create): new
415         widget nntpauth_chkbtn.
416         (prefs_account_protocol_activated): handle nntpauth_chkbtn
417         visibility.
418         (prefs_account_nntpauth_toggled): new function.
419
420         * src/news.c (news_session_new_for_folder): use NNTP
421         authentication only if ac->use_nntp_auth is set.
422
423 2001-05-01 [hoa]
424
425         * src/Makefile.am changed headers.[ch] in customheader.[ch]
426         * src/prefs_display_headers.c changed the UI
427         * src/prefs_headers.c changed account_name to account_id
428         * src/compose.c using customheader.h
429
430 2001-05-01 [hiroyuki]
431
432         * src/esmtp.c
433           src/news.c
434           src/nntp.c: changed sock_read() to sock_gets(), they've been left
435           unsynched.
436
437 2001-05-01 [hoa]
438
439         * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
440         * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
441                 for displaying of headers
442         * src/grouplist_dialog.[ch] minor changes to remove warnings
443         * src/prefs_display_headers.[ch] dialog to choose the
444         headers to display in the mail viewer.
445         * src/headers.h correction of #define
446         * src/headers_display.[ch] configuration for displaying of headers.
447         * src/main.c read config of displaying of headers
448         * src/prefs_common.c add a button to access the config dialog
449                 for displaying of headers
450         * src/prefs_display_headers.[ch] dialog for configuration for
451                 displaying of the headers.
452         * src/prefs_headers.c cleaning of code
453         * src/procheader.c comments added to code
454         * src/textview.c changes to reorder the headers depending
455                 on the config for displaying of headers
456
457 2001-04-30 [alfons]
458
459         0.4.65claws7
460
461         * sync with 0.4.65cvs12
462
463         NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
464
465 2001-04-30 [sergey]
466
467         * src/nntp.h (NNTPSockInfo): new field auth_failed.
468
469         * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
470         is set to force reconnection after authentication failure.
471         (nntp_gen_command): set sock->auth_failed on authentication
472         failure, or if sock->userid and sock->passwd are not set.
473
474         * src/news.c (news_session_new_for_folder): set userid=NULL if
475         password dialog is cancelled.
476
477 2001-04-30 [sergey]
478
479         * src/nntp.h (NNTPSockInfo): new type.
480
481         * src/nntp.c: all functions updated to use NNTPSockInfo instead of
482         SockInfo.
483         (nntp_open_auth, nntp_close): new functions.
484         (nntp_gen_command): new function to handle authentication; all
485         NNTP command functions updated to use it.
486         (nntp_authinfo_user, nntp_authinfo_pass): deleted.
487         (nntp_list): removed old useless code.
488
489         * src/news.h (NNTPSession): new field nntp_sock.
490
491         * src/news.c: all functions updated to use NNTPSockInfo instead of
492         SockInfo.
493         (news_session_new): new arguments (userid, passwd); made static;
494         use nntp_open_auth() if needed.
495         (news_session_destroy): use nntp_close() instead of sock_close().
496         (news_query_password): changed arguments.
497         (news_session_new_for_folder): new function.
498         (news_session_get): use news_session_new_for_folder().
499         (news_authenticate): deleted.
500         (news_get_uncached_articles): removed old authentication code.
501
502 2001-04-30 [sergey]
503
504         * src/news.c: reverted my previous changes (need to do NNTP
505         authentication in a cleaner way).
506         
507 2001-04-29 [sergey]
508
509         * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
510         news_nntp_post, news_nntp_mode): new functions (wrappers with
511         authentication support).
512         (news_get_article_cmd, news_get_article, news_get_header): new
513         argument "folder"; all callers changed.
514         (news_get_article_cmd): added authentication support.
515         (news_session_get): use news_nntp_mode() instead of nntp_mode().
516         (news_post): use news_nntp_post() instead of nntp_post().
517         (news_get_uncached_articles): use news_nntp_group() instead of
518         nntp_group() and news_nntp_xover() instead of nntp_xover();
519         removed old authentication code.
520         (news_get_group_list): use news_nntp_list() instead of nntp_list().
521
522         * src/nntp.c (nntp_list): return real error code instead of
523         hardcoded NN_ERROR.
524
525 2001-04-29 [sergey]
526
527         * configure.in: fixed wint_t typedef detection again
528
529 2001-04-28 [hoa]
530
531         * src/prefs_account.[ch], added A_LOCAL_CMD
532                 (send mail with mail command)
533         * src/send.c added function send_message_with_command()
534         * src/inc.c made a more secure get_spool() function with
535                 mktemp() but maybe mkstemp() or something more
536                 secure can be used.
537
538 2001-04-28 [alfons]
539
540         * src/textview.c, colorization of email addresses in headers
541
542         0.4.65claws6
543
544         * bug sync with sylpheed
545         * prefs_common.c: created date format ui for darko
546         * sync with 0.4.65cvs11
547         * configure.in: corrected to have the new gpg checks
548
549 2001-04-27 [alfons]
550
551         * completed sync with 0.4.65cvs10
552         * minor debug things added to gtkstext.c
553
554 2001-04-27 [darko]
555
556         * configure.in: remove check for availability of
557           strftime() as advised by Hiroyuki
558         * src/prefs_common.[ch], src/procheader.c:
559           synch strftime() code with Hiroyki's main branch
560
561 2001-04-26 [sergey]
562
563         * src/news.c: news_query_password(), news_authenticate(): new
564           functions.
565           news_get_uncached_articles(): added NNTP authentication
566           handling.
567         * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
568           new functions.
569         * src/prefs_account.c: prefs_account_protocol_activated():
570           enable userid and password fields for NNTP.
571
572 2001-04-26
573
574         * configure.in: check for availability of strftime()
575           [darko]
576         * src/prefs_common.[ch], src/procheader.c: use
577           strftime() for displaying date in summary pane if it
578           is available
579
580 2001-04-25
581
582         * more .cvsignore cleanups [alfons]
583
584 2001-04-25
585
586         * ac/sv-check-type.m4: new autoconf macro.
587         * configure.in: fixed wint_t typedef detection (did not work
588           with gcc-2.96).
589
590 2001-04-25
591
592         * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
593           [hiroyuki]
594
595 2001-04-24
596         * modified gtkstext.c : buggy cursor navigation fixed, 
597           and font descent also taken in account when drawing
598           cursor. [alfons]
599
600 2001-04-24 [hoa]
601         * added comments in src/news.c src/nntp.c
602         * added src/prefs_headers.[ch]
603         * added src/headers.[ch]
604         * modified compose.c to activate custom headers
605                 added function is_in_custom_headers
606         * modified prefs_account.[ch]
607                 added function prefs_account_customhdr_edit
608         * modified src/defs.h :
609                 added HEADERS_RC : name of the config file
610                 for the custom headers
611
612 2001-04-24
613
614     0.4.65claws5
615
616         * configure.in
617           src/gtkstext.[ch]
618           src/compose.c
619           src/Makefile.am
620           
621           added gtkstext with configure.in patch by Hiroyuki which
622           should fix the XIM detection [alfons]
623
624         * more clean up of cvs [alfons]
625
626                  * removed all Makefile.in files to attic.
627
628                  * updated all .cvsignores to really ignore things that could
629                    be unintentionally committed by a recursive commit.
630
631 2001-04-23 [hoa]
632         * added src/grouplist_dialog.[ch]
633         * changed src/folderview.c to call grouplist_dialog instead
634                 of inputdialog
635         * src/news.c :
636                 added functions news_reset_group_list
637                 and news_get_group_list
638         * src/nntp.c :
639                 added function nntp_list
640         * src/defs.h :
641                 added GROUPLIST_FILE : name of the newsgroup list cache file
642
643 2001-04-21
644
645         * added option to warn about queued messages on exit [sergey]:
646
647           * src/compose.c: compose_queue(): call folder_item_scan()
648             and folderview_update_item() after queueing.
649           * src/folderview.c: folderview_update_node(): draw the queue
650             folder in bold font if there are queued messages.
651           * src/mainwindow.c: queued_messages(): new function.
652             app_exit_cb(): display warning if there are queued messages
653             if warn_queued_on_exit is set.
654           * prefs_common.[ch]: add warn_queued_on_exit option.
655
656         * enhanced GnuPG key selection support [sergey]:
657
658           * src/select-keys.c: updated to newer version from Win32
659             branch with support for selecting arbitrary keys.
660           * src/prefs_account.c: added the Privacy tab to the account
661             options window.
662             prefs_account_privacy_create(),
663             prefs_account_sign_key_set_data_from_radiobtn(),
664             prefs_account_sign_key_set_radiobtn(): new functions.
665           * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
666           * src/rfc2015.c: set_signers(): new function.
667             pgp_sign(): add the account parameter, call set_signers().
668             rfc2015_sign(): add the account parameter, pass it to pgp_sign().
669           * src/rfc2015.h: rfc2015_sign(): updated prototype.
670           * src/compose.c: pass the current account to rfc2015_sign().
671
672         * tag name claws added to prevent confusion with main branch [alfons]
673
674         * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
675
676         * autogen.sh: Added "--enable-maintainer-mode". [sergey]
677
678         * sync with recent sylpheed cvs. Untested though. [alfons]
679