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