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