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