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