configuration for replying and forwarding
[claws.git] / ChangeLog.claws
1 2001-06-05 [hoa]
2
3         * added src/quote_fmt.y
4         * added src/quote_fmt.l
5         * added src/quote_fmt.tab.h
6         * added src/quote_fmt.tab.c
7         * added src/lex.quote_fmt.c
8                 parsing configuration for replying
9                 and forwarding
10
11         * src/Makefile.am
12         * src/prefs_common.[ch]
13                 added configuration UI for replying
14                 and forwarding
15
16         * src/compose.c
17                 using configuration for replying
18                 and forwarding
19
20 2001-06-04 [hoa]
21
22         * src/filtering.c
23         * src/matcher.c
24         * src/matcher.h
25         * src/prefs_filtering.c
26         * src/prefs_matcher.c
27         * src/prefs_matcher.h
28                 action "run a command" for filtering
29                 and matching with a command.
30                 fixed the "whole message" matching
31
32         * src/mbox_folder.c
33                 changed temporary filename for security
34
35         * src/messageview.c
36                 queue the notification if it fails to send.
37
38         * src/prefs_common.c
39         * src/prefs_folder_item.c
40                 changed the default important score             
41
42         * src/prefs_scoring.c
43         * src/scoring.c
44                 hide kill score input when the folder is not
45                 a newsgroup
46
47 2001-06-03 [alfons]
48
49         * src/prefs_common.c:
50
51                 (prefs_font_select): pass font name in font entry box to font
52                 selection dialog.
53
54 2001-06-03 [sergey]
55
56         * src/smtp.c (smtp_ok): fixed sock_gets() error handling.
57
58 2001-06-03 [paul]
59
60         * sync with sylpheed 0.4.99cvs4
61
62 2001-06-03 [alfons]
63
64         * src/headerwindow.c:
65
66                 (headerwindow_show_cb): use the selected summary view item, not
67                 the displayed item.
68
69 2001-06-02 [alfons]
70
71         * src/headerwindow.c:
72
73                 (headerwindow_show_cb): always try to show msginfo
74
75 2001-06-02 [hoa]
76
77         * src/compose.c
78                 keep attached parts when reediting or forwarding.
79
80 2001-06-01 [hoa]
81
82         * src/folderview.c
83         * src/prefs_folder_item.[ch]
84         * src/prefs_scoring.[ch]
85         * src/scoring.[ch]
86         * src/summaryview.[ch]
87         * src/main.c
88         * src/mainwindow.c
89         * src/prefs_common.[ch]
90                 support for folder scoring
91                 kill score and important score for messages
92         
93         * src/prefs_account.c
94                 some display bug fixed for local account
95                 preferences
96
97 2001-05-31 [alfons]
98
99         * src/summaryview.c:
100
101                 (add_sender_to_cb): don't crash when no or invalid sender; the add 
102                 sender to address book menu item is disabled.
103
104 2001-05-30 [hoa]
105
106         * src/filtering.[ch]
107         * src/summaryview.c
108                 handling summary menu / filter messages
109
110         * src/folder.[ch]
111                 add some stuff
112
113         * src/foldersel.c
114                 imap folders now appears in list
115
116         * src/mbox_folder.c
117                 doesn't crash if destination mail is not writeable
118
119 2001-05-29 [hoa]
120
121         * src/compose.c
122                 removed some warnings
123
124         * src/filtering.c
125         * src/folder.[ch]
126         * src/prefs_filtering.c
127                 global string to identify any folders           
128                 removed some debug info
129                 filtering to mbox folders is now possible
130
131         * src/mainwindow.c
132                 removed some warnings
133
134         * src/mbox_folder.c
135                 permission on files are changed to read/write for user only,
136                 nothing for other.
137                 creation of subfolder is handled better.
138
139 2001-05-28 [alfons]
140
141         Verified the sync for src/prefs_common.[ch] and
142         src/prefs_account.[ch]. I believe there were some
143         minor indentation differences.
144
145 2001-05-28 [paul]
146
147         0.4.99claws3
148
149         * sync with 0.4.99cvs3
150
151 2001-05-28 [hoa]
152
153         * src/compose.c
154                 handling flags for mbox format
155
156         * src/filtering.c
157                 use of mark file only for MH format
158                 handling flags for mbox format
159                 filtering cannot yet move or copy mails to mbox folders.
160
161         * src/folder.[ch]
162                 changed move_msg, copy_msg,
163                 move_msgs_with_dest, copy_msgs_with_dest functions
164                 uses only folder->copy_msg() function
165                 uses folder->finished_copy() to handle the destination
166                 folder at the end of the copy or move operation.
167
168         * src/foldersel.c
169                 included mbox directories.
170
171         * src/folderview.[ch]
172         * src/mainwindow.c
173                 handle folders operation for mbox format
174
175         * src/mbox.c
176                 disable conversion of "From " header
177
178         * src/mbox_folder.[ch]
179                 completion of mbox format handling
180
181         * src/mh.c
182                 changed mh_copy_msg() function and
183                 removed mh_move_msg(), mh_move_msgs_with_dest(),
184                 mh_copy_msgs_with_dest()
185
186         * src/prefs_filtering.c
187                 removed some warnings
188
189         * src/prefs_matcher.c
190                 default boolean operation is AND
191
192         * src/procheader.c
193                 handling flags for mbox format
194                 handling of "From " header
195
196         * src/procmsg.[ch]
197                 removed data field
198                 added MSG_REALLY_DELETED flags to handle deletion of
199                 messages in mbox format.
200
201         * src/summaryview.c
202                 handling flags for mbox format
203                 disable the MSG_DELETED flags when messages
204                 are deleted in mbox format
205
206         * src/textview.c
207                 "From " headers display fixed.
208
209 2001-05-27 [alfons]
210
211         * src/textview.c:
212                 
213                 (get_email_part): skip quoted email addresses, like in e.g.
214                 "'alfons@proteus.demon.nl'".
215
216 2001-05-26 [alfons]
217
218         Minor GUI fixes adding horizontal scrollbars to Hoa's matcher dialogs,
219         and fixing the persistence troubles when using separate windows.
220
221         * src/mainwindow.c:
222         
223             Added #define SEPARATE_ACTION used in the gtk item factory for 
224             the SEPARATE_FOLDER and SEPARATE_MESSAGE items, so we can
225                 use gtk_item_factory_get_widget_by_action() to get the items.
226                 
227             Removed separate_widget_cb from the gtk item factory data   
228           
229             (mainwindow_create): connect separate_widget_cb() to check
230             menu item "toggled" signal. also passing a MainWindow pointer
231                 as object data for both check menu items.
232                 
233             (separate_widget_cb): definition of separate_widget_cb() to match
234             GtkCheckMenuItem's "toggled" signal. Now get the pointer to the main 
235                 window using gtk_object_get_data(). The type of window separation 
236                 (SEPARATE_MESSAGE or SEPARATE_FOLDER) is passed as the signal's data
237         
238         * src/prefs_filtering.c,
239           src/prefs_matcher.c: added horizontal scrollbars
240
241 2001-05-25 [darko]
242
243         * src/headerview.c
244                 fix segfault with invalid bold font
245         * src/summaryview.c
246                 correctly display summary stats after row is marked
247
248 2001-05-23 [sergey]
249
250         * src/codeconv.c (conv_get_code_conv_func): fix for ISO-8859-*
251         encodings with libjconv.
252
253 2001-05-23 [hoa]
254
255         * src/Makefile.am
256                 added mbox_folder.[ch]
257         * src/defs.h
258                 mbox temporary folder
259         * src/folder.[ch]
260         * added src/mbox_folder.[ch]
261         * src/folderview.c
262         * src/procheader.[ch]
263                 added mbox support
264         * src/mbox.c
265                 bugfix for file incorporation filtering
266         * src/imap.c
267                 enable creation of MBOX
268         * src/prefs_display_header.c
269                 enable use of headers like "From "
270                 something that should be fixed :
271                         displaying of such headers add an extra space
272         * src/prefs_folder_item.c
273                 don't create folders because it is not necessary
274         * src/procmsg.h
275                 added data field to MsgInfo for mbox internal use
276         * src/summaryview.c
277                 added some support for mbox
278         * src/utils.[ch]
279                 added get_mbox_cache_dir() function
280
281 2001-05-23 [hiroyuki]
282
283         * src/headerwindow.c
284           src/inc.c
285           src/main.c
286           src/mh.c
287           src/nntp.c
288           src/procmsg.h
289           src/session.h
290           src/socket.[ch]
291           src/summaryview.c
292           src/textview.c
293           src/automaton.c
294           src/folderview.c: more sync with 0.4.99cvs2.
295
296         * src/headerwindow.c: reverted.
297
298 2001-05-22 [paul]
299
300         0.4.99claws2
301
302         * sync with sylpheed 0.4.99cvs2
303                 * src/news.[ch]
304                 * src/nntp.[ch]
305                 * INSTALL
306                 * INSTALL.jp
307
308 2001-05-22 [alfons]
309
310         * src/summaryview.c: bugfixed a premature assignment in  summaryview_add_sender_to_cb()
311
312 2001-05-21 [alfons]
313
314         Minor things:
315
316         * configure.in: if gnome-config not found, "no" is displayed
317         
318         * sylpheed.desktop: "Hello World" is replaced with "Sylpheed Mail"
319
320         * src/textview.c: now also possible to add mail addresses by right
321           clicking in the text view
322
323         * src/codeconv.c: merged patch which fixes endless loop when encountering
324           invalid wide characters; from Alte <010@imis.ru>  
325
326 2001-05-20 [alfons]
327
328         Added installation of gnome specific things:
329
330         * Makefile.am: gnome conditional
331
332         * configure.in: check for installed gnome
333
334         * added sylpheed.png, sylpheed.desktop
335
336 2001-05-20 [sergey]
337
338         * src/pixmaps/stock_mail_reply_to_author.xpm: new file.
339
340         * src/mainwindow.h (main_window_toolbar_create): created a button
341         for "Reply to all".
342         (main_window_set_toolbar_sensitive): enable/disable the new button
343         appropriately.
344         (toolbar_reply_to_author_cb): handle the new button.
345
346         * src/send.c (SEND_EXIT_IF_ERROR, SEND_EXIT_IF_NOTOK): call
347         send_progress_dialog_destroy() on failure (fixes hang on SMTP
348         failure).
349
350 2001-05-19 [sergey]
351
352         * src/compose.h (ComposeReplyMode): new modes
353         COMPOSE_REPLY_TO_AUTHOR, COMPOSE_REPLY_TO_AUTHOR_WITH_QUOTE,
354         COMPOSE_REPLY_TO_AUTHOR_WITHOUT_QUOTE.
355
356         * src/compose.c
357         (compose_send): move some code into a new function:
358         (compose_current_mail_account): new function.
359         (compose_reply): new argument to_author, all callers changed; if
360         to_author==TRUE and account->protocol==A_NNTP, find and use an
361         appropriate mail account for replying.
362         (compose_reply_set_entry): new argument to_author; ignore
363         compose->replyto if to_author==TRUE.
364
365         * src/mainwindow.c: new command "Message/Reply to author".
366         (main_window_set_menu_sensitive): enable/disable it.
367         (reply_cb): handle it.
368
369         * src/summaryview.c: new command "Reply to author".
370         (summary_set_menu_sensitive): enable/disable it.
371         (summary_reply_cb): handle it.
372
373         * src/account.c (account_find_mail_from_address): new function.
374
375 2001-05-18 [paul]
376
377         0.4.99claws1
378
379         * sync with sylpheed 0.4.99cvs1
380
381 2001-05-18 [hoa]
382
383         * src/compose.[ch]
384         * src/filtering.c
385         * src/summaryview.c
386                 new filtering action : forward and forward as attachment
387
388         * src/main.c
389                 no need for $DISPLAY when we run sylpheed --help
390                 call to parse_cmd_opt() is moved
391
392         * src/mainwindow.[ch]
393                 execute button is hidden when immediate execute
394                 is chosen
395
396         * src/mh.c
397         * src/news.c
398         * src/prefs_folder_item.c
399         * src/procmsg.c
400                 better handling of missing directories
401
402         * src/summaryview.c
403                 reedit is enabled in outbox
404                 reedit is enabled in queue
405
406 2001-05-17 [hoa]
407
408         * src/filtering.c
409         * src/matcher.[ch]
410         * src/prefs_filtering.c
411                 changed attachement into attachment
412
413 2001-05-17 [alfons]
414
415         0.4.67claws4    
416
417         * sync with sylpheed 0.4.67cvs9
418         * sync with sylpheed 0.4.67cvs7-8
419
420 2001-05-17 [hoa]
421
422         * src/Makefile.am
423                 added prefs_filtering.c
424
425         * src/filtering.[ch]
426         * src/matcher.[ch]
427                 removed action : forward_news and forward_news_as_attachement
428                 (forward and forward_as_attachement can be used instead)
429
430         * src/mainwindow.c
431                 added menu option to access filtering configuration
432
433         * src/prefs_account.c
434                 changed mail_command default to /usr/sbin/sendmail
435
436         * added src/prefs_filtering.[ch]
437                 dialog box for filtering configuration
438
439         * src/prefs_matcher.c
440                 added function prefs_matcher_get_criteria_from_matching()
441
442         * src/prefs_scoring.c
443                 reset the dialog when register or substitute is clicked
444
445 2001-05-15 [hoa]
446
447         * src/Makefile.am
448                 added filtering.[ch]
449         * src/inc.c
450                 using filering.[ch] instead of filter.[ch]
451         * src/main.c
452                 reading new filtering configuration
453         * src/matcher.[ch]
454                 added some filtering actions
455                 and fixed a bug for headers and mail body matching
456         * src/mbox.c
457                 using filering.[ch] instead of filter.[ch]
458         * src/mh.c
459                 handling invalid MsgInfo in mh_copy_msg() and mh_move_msg()
460         * src/summaryview.c
461                 some fixes for filtering
462
463 2001-05-14 [hiroyuki]
464
465         * src/send.c: fixed some weird indentations.
466           send_message_with_command(): call pclose() only if p != NULL.
467         * src/textview.c: get_email_part(): modified the code for readability.
468
469 2001-05-14 [hiroyuki]
470
471         * src/md5global.h
472           src/md5ify.c
473           src/md5ify.h: removed from the cvs.
474
475 2001-05-13 [sergey]
476
477         * src/main.c: include rfc2015.h to avoid compiler warnings.
478         * src/alertpanel.c (alertpanel_message_with_disable): return 0 if
479         the panel is already on screen.
480         * src/prefs_customheader.c (prefs_custom_header_delete_cb): treat
481         closing the alert window by ESC as "No".
482         * src/prefs_common.c (prefs_interface_create): moved return
483         receipt check button to the correct place.
484
485 2001-03-13 [alfons]
486
487         * src/prefs_common.c: 
488                 moved return receipt check button to the Send tab. (prefs_send_create)
489                 removed the date format ui related globals. (prefs_display_create)
490
491         0.4.67claws3
492         
493         * sync with sylpheed 0.4.67cvs5-6
494
495 2001-05-13 [paul]
496
497         * added Alfons' font selection patch
498
499         * src/defs.h
500         * src/headerwindow.c
501         * src/prefs_common.c
502         * src/prefs_common.h
503
504 2001-05-13 [hoa]
505         * src/defs.h
506                 changed version of cache
507         * src/matcher.[ch]
508         * src/prefs_matcher.c
509                 added additionnal matching criteria
510         * src/procheader.c
511         * src/procmsg.[ch]
512         * src/news.c
513                 added references in MsgInfo
514
515 2001-05-12 [hoa]
516
517         * src/defs.h
518                 prepared some things for new filtering
519         * src/matcher.[ch]
520                 added some matching properties
521                 inreplyto need to be enhanced
522                 prepared some things for new filtering
523         * src/messageview.c
524                 added Return-Receipt-To handling
525         * src/prefs_folder_item.c
526                 changed default value to TRUE
527         * src/prefs_matcher.c
528                 added some matching properties
529         * src/prefs_scoring.[ch]
530                 the scoring dialog is finished
531         * src/procheader.c
532                 added Return-Receipt-To handling
533                 Reference need to be added
534         * src/procmsg.[ch]
535                 added Return-Receipt-To handling
536                 added threadscore to get a better score sorting when
537                 threads are enabled
538         * src/summaryview.c
539                 suppressed a bug when we sort the list
540                 when no folder is opened.
541                 better score sorting when threads are enabled
542
543 2001-05-12 [alfons]
544
545         * reverted previous patch because of potential errors 
546
547         0.4.67claws2
548         
549         * src/inc.c, src/prefs_common.c, src/prefs_common.h: 
550                 applied "toggle mail-retrieval dialog window" patch submitted 
551                 by Eric Limpens <eric@qnt.net>
552
553         * sync with sylpheed 0.4.67cvs4
554
555 2001-05-12 [sergey]
556
557         * src/matcher.c, src/scoring.c: changed "#ifdef 0" to "#if 0" for
558         some picky compilers.
559         * src/rfc2015.h: provide prototype for rfc2015_disable_all().
560         * src/grouplist_dialog.c: include alertpanel.h.
561         * src/prefs_headers.c (prefs_headers_deleted): added GTK_BUTTON to
562         fix compile warning.
563         * src/scoring.c, src/prefs_folder_item.c, src/matcher.c: brought
564         #include "defs.h" before others to prevent the warning of `MIN'
565         and `MAX' redefinition.
566
567 2001-05-11 [hoa]
568
569         * src/main.c
570         * src/messageview.c
571         * src/prefs_account.c
572         * src/prefs_display_header.c
573                 removed warning
574         * src/Makefile.am
575                 added prefs_scoring.[ch]
576         * src/grouplist_dialog.c
577                 display an error dialog box if the group list
578                 cannot be fetched.
579         * src/mainwindow.[ch]
580                 added main_window_set_thread_option() function
581                 scoring dialog box enabled
582         * src/matcher.[ch]
583                 added flags matching unread /new / marked
584                 / deleted / replied / forwarded
585         * src/news.c
586                 newsgroups are now finally in newscache
587         * src/prefs_matcher.[ch]
588                 finished preferences for matching dialog
589         * added src/prefs_scoring.[ch]
590                 scoring dialog box completed
591         * src/scoring.[ch]
592                 conversion to string : added scoringprop_to_string()
593                 write config for preferences :
594                 added prefs_scoring_write_config()
595         * src/summaryview.c
596                 threads can be enabled/disabled independently
597                 for each folder
598
599 2001-05-10 [alfons]
600
601         0.4.67claws1
602         
603         * AUTHORS: 
604                 thought it would be nice to have a list of all
605                 contributors (used Changelog as a reference)
606         
607         * configure.in: 
608                 messed up version numbering...
609
610         0.4.66claws1
611
612         * sync with sylpheed 0.4.67cvs1-3
613
614 2001-05-10 [darko]
615
616         * src/prefs_common.c:
617                 better UI for strftime format, double clicking
618                 on format now inserts the format in text entry
619                 replaced close button with standard OK/Cancel
620                 moved date format button to the right of the
621                 text entry field
622
623 2001-05-09 [alfons]
624
625         * src/gtkstext.c:
626                 Ctrl-Home / Ctrl-End have proper cursor navigation
627
628 2001-05-09 [hoa]
629
630         * src/prefs_matcher.c
631                 finished UI to define matching properties
632                 added ok and cancel button
633         * src/prefs_filter.c
634                 added ok and cancel button
635         * src/news.c
636                 fixed some bug in xhdr parsing
637
638 2001-05-08 [alfons]
639
640         * src/textview.c: 
641                 fixed a bug in textview_show_header(), which displayed two colons (':');
642                 cleaned up some warnings
643
644 2001-05-08 [hoa]
645
646         * src/Makefile.am
647                 added prefs_matcher.[ch]
648                 compilation with -W -Wall
649         * src/alertpanel.c
650                 ungrab the mouse events if grabbed - does it
651                 fix the bug for disposition notification ?
652         * src/mainwindow.c
653                 added a menu option to open the matching dialog.
654         * src/matcher.[ch]
655                 added matcherprop_to_string() and matcherlist_to_string()
656                 fixed some bugs, changed the name of some options
657                 age_sup and age_inf becomes age_greater and age_lower,
658                 body and messageheaders becomes body_part and headers_part,
659                 changed the names of constants from SCORING_XXX to MATCHING_XXX
660         * src/prefs_display_header.c
661         * src/prefs_headers.c
662                 fixed a bug that accidentally destroyed dialogs
663                 when closed them with delete_event
664                 Added *_deleted() which handle delete_event signal correctly.
665         * src/prefs_folder_item.[ch]
666                 added "enable_thread" field for future customization
667         * added src/prefs_matcher.[ch]
668                 sample of the UI to define matching properties
669         * src/procheader.c
670                 using procheader_headername_equal instead of str*cmp functions
671                 using procheader_parse_header() function
672         * src/scoring.c
673                 using MATCHING_XXX instead of SCORING_XXX
674         * src/summaryview.c
675                 display the sender of the news even if this is ourself
676                 when this is a news message.
677         * src/textview.c
678                 using headername_equal() instead of str*cmp functions
679
680 2001-05-08 [alfons]
681
682         0.4.66claws
683
684         * sync with sylpheed 0.4.66
685         * src/gtkstext.c: trace logs added 
686
687 2001-05-08 [sergey]
688
689         * src/prefs_common.[ch]: added option to enable/disable GnuPG
690         signature check popup.
691         * src/rfc2015.c (check_signature): show signature check popup only
692         if it is enabled in preferences.
693
694 2001-05-07 [alfons]
695
696         0.4.66claws4
697         
698         * sync with sylpheed 0.4.66cvs6
699
700 2001-05-07 [darko]
701
702         * src/prefs_common.[ch]: added option to enable/disable
703           looking up sender name in address book for summary pane
704         * src/summaryview.c: look up sender in the address book
705           by using Alfons' address completion code
706
707 2001-05-07 [hiroyuki]
708
709         * src/inc.h
710           src/pop.c: pop3_retr_recv(): removed cur_msg_bytes from the
711           member of Pop3State.
712         * src/news.c: brought #include "defs.h" before #include <glib.h>
713           to prevent the warning of `MIN' and `MAX' redefinition.
714
715 2001-05-06 [hoa]
716
717         * removed src/headers_display.[ch]
718         * removed src/prefs_display_headers.[ch]
719         * src/inc.c
720                 use a temporary file in the user directory for mbox import
721         * src/news.c
722                 added XHDR support to get "To" and "Cc" headers
723                 (in order to match news with to or cc field for
724                 scoring)
725                 added function news_parse_xhdr() to get XHDR response
726         * src/nntp.[ch]
727                 added function nntp_xhdr()
728         * src/matcher.c
729                 fetch the message if necessary
730
731 2001-05-06 [alfons]
732
733         0.4.66claws3
734
735         * sync with sylpheed 0.4.66cvs3-5
736
737 2001-05-06 [hoa]
738
739         * src/utils.[ch]
740                 added function itos_buf() to enable use of several buffers
741         * src/summaryview.c
742                 use of itos_buf() instead of itos() in summary list
743                 to fix the broken display of message number.
744
745 2001-05-06 [alfons]
746
747         * src/gtkstext.c: bug in cursor up navigation fixed,
748                 fixed another unsigned / signed comparison (we're getting there :-)
749
750 2001-05-06 [hoa]
751
752         * src/Makefile.am
753                 added scoring.c scoring.h
754                 prefs_folder_item.c prefs_folder_item.h
755                 matcher.c matcher.h
756         * src/defs.h
757                 added FOLDERITEM_RC SCORING_RC
758         * src/folder.[ch]
759                 added prefs field in FolderItem :
760                 properties for each folder (PrefsFolderItem),
761                 sorting type and mode were added as the first properties.
762         * src/main.c
763                 read config for scoring
764         * added src/matcher.[ch]
765                 gives functions to parse configuration file to do
766                 matching on mails with a list of conditions.
767         * src/mainwindow.c
768                 add option to sort by score
769         * src/prefs_common.[ch]
770                 added preference option to show score and for
771                 the score column size
772         * added src/prefs_folder_item.[ch]
773                 properties for each folder (PrefsFolderItem),
774                 sorting type and mode were added as the first properties.
775         * src/procheader.[ch]
776                 added procheader_parse_header()
777                 added procheader_header_free()
778                 added procheader_headername_equal()
779                 and made modification to use them.
780         * src/procmsg.[ch]
781                 added score field to MsgInfo structure
782         * added src/scoring.[ch]
783                 gives functions to parse configuration file to do
784                 scoring on mails with a list of conditions.
785         * src/summaryview.[ch]
786                 save the sorting type and mode for the folder
787                 added column to display the score of the mail
788                 added function summary_score_clicked()
789                 sorting type and mode are restored to the folder
790                 when it is reopen
791         * src/textview.c
792                 use procheader_parse_header(), procheader_headername_equal()
793                 removed memory leak in text_scan_header when freeing headers
794         * src/filter.c
795                 changed the function to match names of headers
796                 using procheader_headername_equal()
797
798         Scoring functions are implemented, an interface is needed
799         to configure that.
800
801 2001-05-04 [alfons]
802
803         * src/gtkstext.c: 
804                 hopefully fixed the row up navigation bug,
805                 removed adding back / forward lines to cache
806
807 2001-05-04 [sergey]
808
809         * src/prefs_display_headers.c: user interface changes:
810         (prefs_display_headers_create): remove unused "Show" check button;
811         allow reordering of headers by dragging.
812         (prefs_display_headers_write_config): remove unused variables.
813         (prefs_display_headers_set_dialog): do not insert "(New)" at top
814         of lists (not needed with the new UI).
815         (prefs_display_headers_set_list): scan lists starting from row 0,
816         not 1 (do not skip "(New)").
817         (prefs_display_headers_find_header): new function.
818         (prefs_display_headers_clist_set_row): do not allow duplicates.
819         (prefs_display_headers_delete_cb): do not skip row 0; treat
820         closing the alert window by ESC as "No".
821         (prefs_display_headers_up): do not protect row 0.
822         (prefs_display_headers_down): do not protect row 0.
823
824 2001-05-04 [sergey]
825
826         * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
827         functions.  
828
829         * src/summaryview.c
830         (summary_find_next_marked_msg, summary_find_prev_marked_msg,
831         summary_select_next_marked, summary_select_prev_marked): new
832         functions.
833
834 2001-05-03 [sergey]
835
836         * src/news.c: fixed a bug when no article can be fetched after
837         server timeout if the connection was restored by news_post():
838         (news_select_group): new function.
839         (news_fetch_msg): call news_select_group() before fetching
840         article.
841         (news_get_uncached_articles): set session->group after successful
842         GROUP command.
843
844 2001-05-03 [hoa]
845
846         * src/defs.h
847         * src/procmsg.[ch]
848         * src/procheader.c
849                  changed version of cache, added cc field
850
851         * src/prefs_display_headers.c
852                 the interface was changed
853
854         * src/prefs_headers.c
855                 added cancel button
856
857 2001-05-03 [alfons]
858
859         * completed sync of sylpheed cvs2
860         * src/gtkstext.c: updated row up / down cursor navigation
861         * src/textview.c: re-edited, prepared for fixing the email address
862                 scanner.
863
864 2001-05-03 [darko]
865
866         * src/prefs_common.c: use alfons' strftime ui code
867         entry_datefmt and datefmt_sample widgets have to be
868         global in this module because of this change
869
870 2001-05-03 [hoa]
871
872         * src/messageview.c
873         * src/prefs_common.[ch] added option to activate the return receipt
874                 feature.
875
876 2001-05-02 [alfons]
877
878         * src/gtkstext.c: fix for row up/down cursor navigation. 
879
880         0.4.66claws2
881         
882         * sync with 0.4.66cvs2
883
884 2001-05-02 [paul]
885
886         added add-sender-to-addressbook patch
887
888         * src/addressbook.c
889         * src/addressbook.h
890         * src/summaryview.c
891
892 2001-05-02 [sergey]
893
894         * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
895         G_ALERTDISABLE.
896
897         * src/alertpanel.c (alertpanel_create): new argument can_disable,
898         all existing callers changed to pass FALSE; create a check button
899         to disable the message.
900         (alertpanel_message_with_disable): new function.
901         (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
902         (alertpanel_button_toggled): new function.
903         (alertpanel_button_clicked, alertpanel_close): set value using
904         G_ALERT_VALUE_MASK.
905
906         * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
907
908         * src/prefs_common.c (prefs_privacy_create): new check button
909         checkbtn_gpgme_warning.
910
911         * src/main.c (main): moved preferences reading before gpgme
912         initialization; check prefs_common.gpgme_warning before giving the
913         GnuPG warning and set it to FALSE if the user wants to disable the
914         warning.
915
916 2001-05-02 [hiroyuki]
917
918         * src/prefs_display_headers.c: modified the layout and some labels.
919
920 2001-05-02 [sergey]
921
922         * src/prefs_account.c (prefs_account_fix_size): new function.
923         (prefs_account_create): call prefs_account_fix_size(); use
924         gtk_widget_show instead of gtk_widget_show_all (fixes too large
925         size when the window is shown for the first time).
926         (prefs_account_basic_create): changed layout of serv_table; moved
927         localmbox_entry above smtpserv_entry (logically it replaces
928         POP3/IMAP server).
929         (prefs_account_protocol_activated): set sensitivity of
930         nntpauth_chkbtn according to the protocol (in addition to
931         hide/show); commented out gtk_table_set_row_spacing() calls.
932         (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
933         not sensitive (fixes a bug with disabled username/password boxes
934         when editing POP3 account after NNTP with authentication).
935
936 2001-05-02 [hoa]
937
938         * src/account.c
939         * src/inc.c
940         * src/prefs_account.[ch]
941         * src/send.c
942                 removed local account without SMTP server
943                 added option to use mail command instead of a connexion
944                 to SMTP server when a local account is used
945         * src/prefs_headers.c
946                 fixed a bug
947         * src/news.c
948                 fixed a bug when connexion immediately closed
949
950 2001-05-01 [alfons]
951
952         0.4.66claws1
953         
954         * sync with 0.4.65
955
956 2001-05-01 [sergey]
957
958         * src/prefs_account.c (Basic, prefs_account_basic_create): new
959         widget nntpauth_chkbtn.
960         (prefs_account_protocol_activated): handle nntpauth_chkbtn
961         visibility.
962         (prefs_account_nntpauth_toggled): new function.
963
964         * src/news.c (news_session_new_for_folder): use NNTP
965         authentication only if ac->use_nntp_auth is set.
966
967 2001-05-01 [hoa]
968
969         * src/Makefile.am changed headers.[ch] in customheader.[ch]
970         * src/prefs_display_headers.c changed the UI
971         * src/prefs_headers.c changed account_name to account_id
972         * src/compose.c using customheader.h
973
974 2001-05-01 [hiroyuki]
975
976         * src/esmtp.c
977           src/news.c
978           src/nntp.c: changed sock_read() to sock_gets(), they've been left
979           unsynched.
980
981 2001-05-01 [hoa]
982
983         * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
984         * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
985                 for displaying of headers
986         * src/grouplist_dialog.[ch] minor changes to remove warnings
987         * src/prefs_display_headers.[ch] dialog to choose the
988         headers to display in the mail viewer.
989         * src/headers.h correction of #define
990         * src/headers_display.[ch] configuration for displaying of headers.
991         * src/main.c read config of displaying of headers
992         * src/prefs_common.c add a button to access the config dialog
993                 for displaying of headers
994         * src/prefs_display_headers.[ch] dialog for configuration for
995                 displaying of the headers.
996         * src/prefs_headers.c cleaning of code
997         * src/procheader.c comments added to code
998         * src/textview.c changes to reorder the headers depending
999                 on the config for displaying of headers
1000
1001 2001-04-30 [alfons]
1002
1003         0.4.65claws7
1004
1005         * sync with 0.4.65cvs12
1006
1007         NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
1008
1009 2001-04-30 [sergey]
1010
1011         * src/nntp.h (NNTPSockInfo): new field auth_failed.
1012
1013         * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
1014         is set to force reconnection after authentication failure.
1015         (nntp_gen_command): set sock->auth_failed on authentication
1016         failure, or if sock->userid and sock->passwd are not set.
1017
1018         * src/news.c (news_session_new_for_folder): set userid=NULL if
1019         password dialog is cancelled.
1020
1021 2001-04-30 [sergey]
1022
1023         * src/nntp.h (NNTPSockInfo): new type.
1024
1025         * src/nntp.c: all functions updated to use NNTPSockInfo instead of
1026         SockInfo.
1027         (nntp_open_auth, nntp_close): new functions.
1028         (nntp_gen_command): new function to handle authentication; all
1029         NNTP command functions updated to use it.
1030         (nntp_authinfo_user, nntp_authinfo_pass): deleted.
1031         (nntp_list): removed old useless code.
1032
1033         * src/news.h (NNTPSession): new field nntp_sock.
1034
1035         * src/news.c: all functions updated to use NNTPSockInfo instead of
1036         SockInfo.
1037         (news_session_new): new arguments (userid, passwd); made static;
1038         use nntp_open_auth() if needed.
1039         (news_session_destroy): use nntp_close() instead of sock_close().
1040         (news_query_password): changed arguments.
1041         (news_session_new_for_folder): new function.
1042         (news_session_get): use news_session_new_for_folder().
1043         (news_authenticate): deleted.
1044         (news_get_uncached_articles): removed old authentication code.
1045
1046 2001-04-30 [sergey]
1047
1048         * src/news.c: reverted my previous changes (need to do NNTP
1049         authentication in a cleaner way).
1050         
1051 2001-04-29 [sergey]
1052
1053         * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
1054         news_nntp_post, news_nntp_mode): new functions (wrappers with
1055         authentication support).
1056         (news_get_article_cmd, news_get_article, news_get_header): new
1057         argument "folder"; all callers changed.
1058         (news_get_article_cmd): added authentication support.
1059         (news_session_get): use news_nntp_mode() instead of nntp_mode().
1060         (news_post): use news_nntp_post() instead of nntp_post().
1061         (news_get_uncached_articles): use news_nntp_group() instead of
1062         nntp_group() and news_nntp_xover() instead of nntp_xover();
1063         removed old authentication code.
1064         (news_get_group_list): use news_nntp_list() instead of nntp_list().
1065
1066         * src/nntp.c (nntp_list): return real error code instead of
1067         hardcoded NN_ERROR.
1068
1069 2001-04-29 [sergey]
1070
1071         * configure.in: fixed wint_t typedef detection again
1072
1073 2001-04-28 [hoa]
1074
1075         * src/prefs_account.[ch], added A_LOCAL_CMD
1076                 (send mail with mail command)
1077         * src/send.c added function send_message_with_command()
1078         * src/inc.c made a more secure get_spool() function with
1079                 mktemp() but maybe mkstemp() or something more
1080                 secure can be used.
1081
1082 2001-04-28 [alfons]
1083
1084         * src/textview.c, colorization of email addresses in headers
1085
1086         0.4.65claws6
1087
1088         * bug sync with sylpheed
1089         * prefs_common.c: created date format ui for darko
1090         * sync with 0.4.65cvs11
1091         * configure.in: corrected to have the new gpg checks
1092
1093 2001-04-27 [alfons]
1094
1095         * completed sync with 0.4.65cvs10
1096         * minor debug things added to gtkstext.c
1097
1098 2001-04-27 [darko]
1099
1100         * configure.in: remove check for availability of
1101           strftime() as advised by Hiroyuki
1102         * src/prefs_common.[ch], src/procheader.c:
1103           synch strftime() code with Hiroyki's main branch
1104
1105 2001-04-26 [sergey]
1106
1107         * src/news.c: news_query_password(), news_authenticate(): new
1108           functions.
1109           news_get_uncached_articles(): added NNTP authentication
1110           handling.
1111         * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
1112           new functions.
1113         * src/prefs_account.c: prefs_account_protocol_activated():
1114           enable userid and password fields for NNTP.
1115
1116 2001-04-26
1117
1118         * configure.in: check for availability of strftime()
1119           [darko]
1120         * src/prefs_common.[ch], src/procheader.c: use
1121           strftime() for displaying date in summary pane if it
1122           is available
1123
1124 2001-04-25
1125
1126         * more .cvsignore cleanups [alfons]
1127
1128 2001-04-25
1129
1130         * ac/sv-check-type.m4: new autoconf macro.
1131         * configure.in: fixed wint_t typedef detection (did not work
1132           with gcc-2.96).
1133
1134 2001-04-25
1135
1136         * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
1137           [hiroyuki]
1138
1139 2001-04-24
1140         * modified gtkstext.c : buggy cursor navigation fixed, 
1141           and font descent also taken in account when drawing
1142           cursor. [alfons]
1143
1144 2001-04-24 [hoa]
1145         * added comments in src/news.c src/nntp.c
1146         * added src/prefs_headers.[ch]
1147         * added src/headers.[ch]
1148         * modified compose.c to activate custom headers
1149                 added function is_in_custom_headers
1150         * modified prefs_account.[ch]
1151                 added function prefs_account_customhdr_edit
1152         * modified src/defs.h :
1153                 added HEADERS_RC : name of the config file
1154                 for the custom headers
1155
1156 2001-04-24
1157
1158     0.4.65claws5
1159
1160         * configure.in
1161           src/gtkstext.[ch]
1162           src/compose.c
1163           src/Makefile.am
1164           
1165           added gtkstext with configure.in patch by Hiroyuki which
1166           should fix the XIM detection [alfons]
1167
1168         * more clean up of cvs [alfons]
1169
1170                  * removed all Makefile.in files to attic.
1171
1172                  * updated all .cvsignores to really ignore things that could
1173                    be unintentionally committed by a recursive commit.
1174
1175 2001-04-23 [hoa]
1176         * added src/grouplist_dialog.[ch]
1177         * changed src/folderview.c to call grouplist_dialog instead
1178                 of inputdialog
1179         * src/news.c :
1180                 added functions news_reset_group_list
1181                 and news_get_group_list
1182         * src/nntp.c :
1183                 added function nntp_list
1184         * src/defs.h :
1185                 added GROUPLIST_FILE : name of the newsgroup list cache file
1186
1187 2001-04-21
1188
1189         * added option to warn about queued messages on exit [sergey]:
1190
1191           * src/compose.c: compose_queue(): call folder_item_scan()
1192             and folderview_update_item() after queueing.
1193           * src/folderview.c: folderview_update_node(): draw the queue
1194             folder in bold font if there are queued messages.
1195           * src/mainwindow.c: queued_messages(): new function.
1196             app_exit_cb(): display warning if there are queued messages
1197             if warn_queued_on_exit is set.
1198           * prefs_common.[ch]: add warn_queued_on_exit option.
1199
1200         * enhanced GnuPG key selection support [sergey]:
1201
1202           * src/select-keys.c: updated to newer version from Win32
1203             branch with support for selecting arbitrary keys.
1204           * src/prefs_account.c: added the Privacy tab to the account
1205             options window.
1206             prefs_account_privacy_create(),
1207             prefs_account_sign_key_set_data_from_radiobtn(),
1208             prefs_account_sign_key_set_radiobtn(): new functions.
1209           * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
1210           * src/rfc2015.c: set_signers(): new function.
1211             pgp_sign(): add the account parameter, call set_signers().
1212             rfc2015_sign(): add the account parameter, pass it to pgp_sign().
1213           * src/rfc2015.h: rfc2015_sign(): updated prototype.
1214           * src/compose.c: pass the current account to rfc2015_sign().
1215
1216         * tag name claws added to prevent confusion with main branch [alfons]
1217
1218         * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
1219
1220         * autogen.sh: Added "--enable-maintainer-mode". [sergey]
1221
1222         * sync with recent sylpheed cvs. Untested though. [alfons]
1223