4 added prefs_filtering.c
8 removed action : forward_news and forward_news_as_attachement
9 (forward and forward_as_attachement can be used instead)
12 added menu option to access filtering configuration
15 changed mail_command default to /usr/sbin/sendmail
17 * added src/prefs_filtering.[ch]
18 dialog box for filtering configuration
21 added function prefs_matcher_get_criteria_from_matching()
24 reset the dialog when register or substitute is clicked
31 using filering.[ch] instead of filter.[ch]
33 reading new filtering configuration
35 added some filtering actions
36 and fixed a bug for headers and mail body matching
38 using filering.[ch] instead of filter.[ch]
40 handling invalid MsgInfo in mh_copy_msg() and mh_move_msg()
42 some fixes for filtering
46 * src/send.c: fixed some weird indentations.
47 send_message_with_command(): call pclose() only if p != NULL.
48 * src/textview.c: get_email_part(): modified the code for readability.
54 src/md5ify.h: removed from the cvs.
58 * src/main.c: include rfc2015.h to avoid compiler warnings.
59 * src/alertpanel.c (alertpanel_message_with_disable): return 0 if
60 the panel is already on screen.
61 * src/prefs_customheader.c (prefs_custom_header_delete_cb): treat
62 closing the alert window by ESC as "No".
63 * src/prefs_common.c (prefs_interface_create): moved return
64 receipt check button to the correct place.
69 moved return receipt check button to the Send tab. (prefs_send_create)
70 removed the date format ui related globals. (prefs_display_create)
74 * sync with sylpheed 0.4.67cvs5-6
78 * added Alfons' font selection patch
87 changed version of cache
90 added additionnal matching criteria
94 added references in MsgInfo
99 prepared some things for new filtering
101 added some matching properties
102 inreplyto need to be enhanced
103 prepared some things for new filtering
105 added Return-Receipt-To handling
106 * src/prefs_folder_item.c
107 changed default value to TRUE
108 * src/prefs_matcher.c
109 added some matching properties
110 * src/prefs_scoring.[ch]
111 the scoring dialog is finished
113 added Return-Receipt-To handling
114 Reference need to be added
116 added Return-Receipt-To handling
117 added threadscore to get a better score sorting when
120 suppressed a bug when we sort the list
121 when no folder is opened.
122 better score sorting when threads are enabled
126 * reverted previous patch because of potential errors
130 * src/inc.c, src/prefs_common.c, src/prefs_common.h:
131 applied "toggle mail-retrieval dialog window" patch submitted
132 by Eric Limpens <eric@qnt.net>
134 * sync with sylpheed 0.4.67cvs4
138 * src/matcher.c, src/scoring.c: changed "#ifdef 0" to "#if 0" for
139 some picky compilers.
140 * src/rfc2015.h: provide prototype for rfc2015_disable_all().
141 * src/grouplist_dialog.c: include alertpanel.h.
142 * src/prefs_headers.c (prefs_headers_deleted): added GTK_BUTTON to
144 * src/scoring.c, src/prefs_folder_item.c, src/matcher.c: brought
145 #include "defs.h" before others to prevent the warning of `MIN'
146 and `MAX' redefinition.
152 * src/prefs_account.c
153 * src/prefs_display_header.c
156 added prefs_scoring.[ch]
157 * src/grouplist_dialog.c
158 display an error dialog box if the group list
160 * src/mainwindow.[ch]
161 added main_window_set_thread_option() function
162 scoring dialog box enabled
164 added flags matching unread /new / marked
165 / deleted / replied / forwarded
167 newsgroups are now finally in newscache
168 * src/prefs_matcher.[ch]
169 finished preferences for matching dialog
170 * added src/prefs_scoring.[ch]
171 scoring dialog box completed
173 conversion to string : added scoringprop_to_string()
174 write config for preferences :
175 added prefs_scoring_write_config()
177 threads can be enabled/disabled independently
185 thought it would be nice to have a list of all
186 contributors (used Changelog as a reference)
189 messed up version numbering...
193 * sync with sylpheed 0.4.67cvs1-3
197 * src/prefs_common.c:
198 better UI for strftime format, double clicking
199 on format now inserts the format in text entry
200 replaced close button with standard OK/Cancel
201 moved date format button to the right of the
207 Ctrl-Home / Ctrl-End have proper cursor navigation
211 * src/prefs_matcher.c
212 finished UI to define matching properties
213 added ok and cancel button
215 added ok and cancel button
217 fixed some bug in xhdr parsing
222 fixed a bug in textview_show_header(), which displayed two colons (':');
223 cleaned up some warnings
228 added prefs_matcher.[ch]
229 compilation with -W -Wall
231 ungrab the mouse events if grabbed - does it
232 fix the bug for disposition notification ?
234 added a menu option to open the matching dialog.
236 added matcherprop_to_string() and matcherlist_to_string()
237 fixed some bugs, changed the name of some options
238 age_sup and age_inf becomes age_greater and age_lower,
239 body and messageheaders becomes body_part and headers_part,
240 changed the names of constants from SCORING_XXX to MATCHING_XXX
241 * src/prefs_display_header.c
242 * src/prefs_headers.c
243 fixed a bug that accidentally destroyed dialogs
244 when closed them with delete_event
245 Added *_deleted() which handle delete_event signal correctly.
246 * src/prefs_folder_item.[ch]
247 added "enable_thread" field for future customization
248 * added src/prefs_matcher.[ch]
249 sample of the UI to define matching properties
251 using procheader_headername_equal instead of str*cmp functions
252 using procheader_parse_header() function
254 using MATCHING_XXX instead of SCORING_XXX
256 display the sender of the news even if this is ourself
257 when this is a news message.
259 using headername_equal() instead of str*cmp functions
265 * sync with sylpheed 0.4.66
266 * src/gtkstext.c: trace logs added
270 * src/prefs_common.[ch]: added option to enable/disable GnuPG
271 signature check popup.
272 * src/rfc2015.c (check_signature): show signature check popup only
273 if it is enabled in preferences.
279 * sync with sylpheed 0.4.66cvs6
283 * src/prefs_common.[ch]: added option to enable/disable
284 looking up sender name in address book for summary pane
285 * src/summaryview.c: look up sender in the address book
286 by using Alfons' address completion code
288 2001-05-07 [hiroyuki]
291 src/pop.c: pop3_retr_recv(): removed cur_msg_bytes from the
293 * src/news.c: brought #include "defs.h" before #include <glib.h>
294 to prevent the warning of `MIN' and `MAX' redefinition.
298 * removed src/headers_display.[ch]
299 * removed src/prefs_display_headers.[ch]
301 use a temporary file in the user directory for mbox import
303 added XHDR support to get "To" and "Cc" headers
304 (in order to match news with to or cc field for
306 added function news_parse_xhdr() to get XHDR response
308 added function nntp_xhdr()
310 fetch the message if necessary
316 * sync with sylpheed 0.4.66cvs3-5
321 added function itos_buf() to enable use of several buffers
323 use of itos_buf() instead of itos() in summary list
324 to fix the broken display of message number.
328 * src/gtkstext.c: bug in cursor up navigation fixed,
329 fixed another unsigned / signed comparison (we're getting there :-)
334 added scoring.c scoring.h
335 prefs_folder_item.c prefs_folder_item.h
338 added FOLDERITEM_RC SCORING_RC
340 added prefs field in FolderItem :
341 properties for each folder (PrefsFolderItem),
342 sorting type and mode were added as the first properties.
344 read config for scoring
345 * added src/matcher.[ch]
346 gives functions to parse configuration file to do
347 matching on mails with a list of conditions.
349 add option to sort by score
350 * src/prefs_common.[ch]
351 added preference option to show score and for
352 the score column size
353 * added src/prefs_folder_item.[ch]
354 properties for each folder (PrefsFolderItem),
355 sorting type and mode were added as the first properties.
356 * src/procheader.[ch]
357 added procheader_parse_header()
358 added procheader_header_free()
359 added procheader_headername_equal()
360 and made modification to use them.
362 added score field to MsgInfo structure
363 * added src/scoring.[ch]
364 gives functions to parse configuration file to do
365 scoring on mails with a list of conditions.
366 * src/summaryview.[ch]
367 save the sorting type and mode for the folder
368 added column to display the score of the mail
369 added function summary_score_clicked()
370 sorting type and mode are restored to the folder
373 use procheader_parse_header(), procheader_headername_equal()
374 removed memory leak in text_scan_header when freeing headers
376 changed the function to match names of headers
377 using procheader_headername_equal()
379 Scoring functions are implemented, an interface is needed
385 hopefully fixed the row up navigation bug,
386 removed adding back / forward lines to cache
390 * src/prefs_display_headers.c: user interface changes:
391 (prefs_display_headers_create): remove unused "Show" check button;
392 allow reordering of headers by dragging.
393 (prefs_display_headers_write_config): remove unused variables.
394 (prefs_display_headers_set_dialog): do not insert "(New)" at top
395 of lists (not needed with the new UI).
396 (prefs_display_headers_set_list): scan lists starting from row 0,
397 not 1 (do not skip "(New)").
398 (prefs_display_headers_find_header): new function.
399 (prefs_display_headers_clist_set_row): do not allow duplicates.
400 (prefs_display_headers_delete_cb): do not skip row 0; treat
401 closing the alert window by ESC as "No".
402 (prefs_display_headers_up): do not protect row 0.
403 (prefs_display_headers_down): do not protect row 0.
407 * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
411 (summary_find_next_marked_msg, summary_find_prev_marked_msg,
412 summary_select_next_marked, summary_select_prev_marked): new
417 * src/news.c: fixed a bug when no article can be fetched after
418 server timeout if the connection was restored by news_post():
419 (news_select_group): new function.
420 (news_fetch_msg): call news_select_group() before fetching
422 (news_get_uncached_articles): set session->group after successful
430 changed version of cache, added cc field
432 * src/prefs_display_headers.c
433 the interface was changed
435 * src/prefs_headers.c
440 * completed sync of sylpheed cvs2
441 * src/gtkstext.c: updated row up / down cursor navigation
442 * src/textview.c: re-edited, prepared for fixing the email address
447 * src/prefs_common.c: use alfons' strftime ui code
448 entry_datefmt and datefmt_sample widgets have to be
449 global in this module because of this change
454 * src/prefs_common.[ch] added option to activate the return receipt
459 * src/gtkstext.c: fix for row up/down cursor navigation.
463 * sync with 0.4.66cvs2
467 added add-sender-to-addressbook patch
475 * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
478 * src/alertpanel.c (alertpanel_create): new argument can_disable,
479 all existing callers changed to pass FALSE; create a check button
480 to disable the message.
481 (alertpanel_message_with_disable): new function.
482 (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
483 (alertpanel_button_toggled): new function.
484 (alertpanel_button_clicked, alertpanel_close): set value using
487 * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
489 * src/prefs_common.c (prefs_privacy_create): new check button
490 checkbtn_gpgme_warning.
492 * src/main.c (main): moved preferences reading before gpgme
493 initialization; check prefs_common.gpgme_warning before giving the
494 GnuPG warning and set it to FALSE if the user wants to disable the
497 2001-05-02 [hiroyuki]
499 * src/prefs_display_headers.c: modified the layout and some labels.
503 * src/prefs_account.c (prefs_account_fix_size): new function.
504 (prefs_account_create): call prefs_account_fix_size(); use
505 gtk_widget_show instead of gtk_widget_show_all (fixes too large
506 size when the window is shown for the first time).
507 (prefs_account_basic_create): changed layout of serv_table; moved
508 localmbox_entry above smtpserv_entry (logically it replaces
510 (prefs_account_protocol_activated): set sensitivity of
511 nntpauth_chkbtn according to the protocol (in addition to
512 hide/show); commented out gtk_table_set_row_spacing() calls.
513 (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
514 not sensitive (fixes a bug with disabled username/password boxes
515 when editing POP3 account after NNTP with authentication).
521 * src/prefs_account.[ch]
523 removed local account without SMTP server
524 added option to use mail command instead of a connexion
525 to SMTP server when a local account is used
526 * src/prefs_headers.c
529 fixed a bug when connexion immediately closed
539 * src/prefs_account.c (Basic, prefs_account_basic_create): new
540 widget nntpauth_chkbtn.
541 (prefs_account_protocol_activated): handle nntpauth_chkbtn
543 (prefs_account_nntpauth_toggled): new function.
545 * src/news.c (news_session_new_for_folder): use NNTP
546 authentication only if ac->use_nntp_auth is set.
550 * src/Makefile.am changed headers.[ch] in customheader.[ch]
551 * src/prefs_display_headers.c changed the UI
552 * src/prefs_headers.c changed account_name to account_id
553 * src/compose.c using customheader.h
555 2001-05-01 [hiroyuki]
559 src/nntp.c: changed sock_read() to sock_gets(), they've been left
564 * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
565 * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
566 for displaying of headers
567 * src/grouplist_dialog.[ch] minor changes to remove warnings
568 * src/prefs_display_headers.[ch] dialog to choose the
569 headers to display in the mail viewer.
570 * src/headers.h correction of #define
571 * src/headers_display.[ch] configuration for displaying of headers.
572 * src/main.c read config of displaying of headers
573 * src/prefs_common.c add a button to access the config dialog
574 for displaying of headers
575 * src/prefs_display_headers.[ch] dialog for configuration for
576 displaying of the headers.
577 * src/prefs_headers.c cleaning of code
578 * src/procheader.c comments added to code
579 * src/textview.c changes to reorder the headers depending
580 on the config for displaying of headers
586 * sync with 0.4.65cvs12
588 NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
592 * src/nntp.h (NNTPSockInfo): new field auth_failed.
594 * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
595 is set to force reconnection after authentication failure.
596 (nntp_gen_command): set sock->auth_failed on authentication
597 failure, or if sock->userid and sock->passwd are not set.
599 * src/news.c (news_session_new_for_folder): set userid=NULL if
600 password dialog is cancelled.
604 * src/nntp.h (NNTPSockInfo): new type.
606 * src/nntp.c: all functions updated to use NNTPSockInfo instead of
608 (nntp_open_auth, nntp_close): new functions.
609 (nntp_gen_command): new function to handle authentication; all
610 NNTP command functions updated to use it.
611 (nntp_authinfo_user, nntp_authinfo_pass): deleted.
612 (nntp_list): removed old useless code.
614 * src/news.h (NNTPSession): new field nntp_sock.
616 * src/news.c: all functions updated to use NNTPSockInfo instead of
618 (news_session_new): new arguments (userid, passwd); made static;
619 use nntp_open_auth() if needed.
620 (news_session_destroy): use nntp_close() instead of sock_close().
621 (news_query_password): changed arguments.
622 (news_session_new_for_folder): new function.
623 (news_session_get): use news_session_new_for_folder().
624 (news_authenticate): deleted.
625 (news_get_uncached_articles): removed old authentication code.
629 * src/news.c: reverted my previous changes (need to do NNTP
630 authentication in a cleaner way).
634 * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
635 news_nntp_post, news_nntp_mode): new functions (wrappers with
636 authentication support).
637 (news_get_article_cmd, news_get_article, news_get_header): new
638 argument "folder"; all callers changed.
639 (news_get_article_cmd): added authentication support.
640 (news_session_get): use news_nntp_mode() instead of nntp_mode().
641 (news_post): use news_nntp_post() instead of nntp_post().
642 (news_get_uncached_articles): use news_nntp_group() instead of
643 nntp_group() and news_nntp_xover() instead of nntp_xover();
644 removed old authentication code.
645 (news_get_group_list): use news_nntp_list() instead of nntp_list().
647 * src/nntp.c (nntp_list): return real error code instead of
652 * configure.in: fixed wint_t typedef detection again
656 * src/prefs_account.[ch], added A_LOCAL_CMD
657 (send mail with mail command)
658 * src/send.c added function send_message_with_command()
659 * src/inc.c made a more secure get_spool() function with
660 mktemp() but maybe mkstemp() or something more
665 * src/textview.c, colorization of email addresses in headers
669 * bug sync with sylpheed
670 * prefs_common.c: created date format ui for darko
671 * sync with 0.4.65cvs11
672 * configure.in: corrected to have the new gpg checks
676 * completed sync with 0.4.65cvs10
677 * minor debug things added to gtkstext.c
681 * configure.in: remove check for availability of
682 strftime() as advised by Hiroyuki
683 * src/prefs_common.[ch], src/procheader.c:
684 synch strftime() code with Hiroyki's main branch
688 * src/news.c: news_query_password(), news_authenticate(): new
690 news_get_uncached_articles(): added NNTP authentication
692 * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
694 * src/prefs_account.c: prefs_account_protocol_activated():
695 enable userid and password fields for NNTP.
699 * configure.in: check for availability of strftime()
701 * src/prefs_common.[ch], src/procheader.c: use
702 strftime() for displaying date in summary pane if it
707 * more .cvsignore cleanups [alfons]
711 * ac/sv-check-type.m4: new autoconf macro.
712 * configure.in: fixed wint_t typedef detection (did not work
717 * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
721 * modified gtkstext.c : buggy cursor navigation fixed,
722 and font descent also taken in account when drawing
726 * added comments in src/news.c src/nntp.c
727 * added src/prefs_headers.[ch]
728 * added src/headers.[ch]
729 * modified compose.c to activate custom headers
730 added function is_in_custom_headers
731 * modified prefs_account.[ch]
732 added function prefs_account_customhdr_edit
733 * modified src/defs.h :
734 added HEADERS_RC : name of the config file
735 for the custom headers
746 added gtkstext with configure.in patch by Hiroyuki which
747 should fix the XIM detection [alfons]
749 * more clean up of cvs [alfons]
751 * removed all Makefile.in files to attic.
753 * updated all .cvsignores to really ignore things that could
754 be unintentionally committed by a recursive commit.
757 * added src/grouplist_dialog.[ch]
758 * changed src/folderview.c to call grouplist_dialog instead
761 added functions news_reset_group_list
762 and news_get_group_list
764 added function nntp_list
766 added GROUPLIST_FILE : name of the newsgroup list cache file
770 * added option to warn about queued messages on exit [sergey]:
772 * src/compose.c: compose_queue(): call folder_item_scan()
773 and folderview_update_item() after queueing.
774 * src/folderview.c: folderview_update_node(): draw the queue
775 folder in bold font if there are queued messages.
776 * src/mainwindow.c: queued_messages(): new function.
777 app_exit_cb(): display warning if there are queued messages
778 if warn_queued_on_exit is set.
779 * prefs_common.[ch]: add warn_queued_on_exit option.
781 * enhanced GnuPG key selection support [sergey]:
783 * src/select-keys.c: updated to newer version from Win32
784 branch with support for selecting arbitrary keys.
785 * src/prefs_account.c: added the Privacy tab to the account
787 prefs_account_privacy_create(),
788 prefs_account_sign_key_set_data_from_radiobtn(),
789 prefs_account_sign_key_set_radiobtn(): new functions.
790 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
791 * src/rfc2015.c: set_signers(): new function.
792 pgp_sign(): add the account parameter, call set_signers().
793 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
794 * src/rfc2015.h: rfc2015_sign(): updated prototype.
795 * src/compose.c: pass the current account to rfc2015_sign().
797 * tag name claws added to prevent confusion with main branch [alfons]
799 * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
801 * autogen.sh: Added "--enable-maintainer-mode". [sergey]
803 * sync with recent sylpheed cvs. Untested though. [alfons]