5 * src/prefs_filtering.c
6 changed attachement into attachment
12 * sync with sylpheed 0.4.67cvs9
13 * sync with sylpheed 0.4.67cvs7-8
18 added prefs_filtering.c
22 removed action : forward_news and forward_news_as_attachement
23 (forward and forward_as_attachement can be used instead)
26 added menu option to access filtering configuration
29 changed mail_command default to /usr/sbin/sendmail
31 * added src/prefs_filtering.[ch]
32 dialog box for filtering configuration
35 added function prefs_matcher_get_criteria_from_matching()
38 reset the dialog when register or substitute is clicked
45 using filering.[ch] instead of filter.[ch]
47 reading new filtering configuration
49 added some filtering actions
50 and fixed a bug for headers and mail body matching
52 using filering.[ch] instead of filter.[ch]
54 handling invalid MsgInfo in mh_copy_msg() and mh_move_msg()
56 some fixes for filtering
60 * src/send.c: fixed some weird indentations.
61 send_message_with_command(): call pclose() only if p != NULL.
62 * src/textview.c: get_email_part(): modified the code for readability.
68 src/md5ify.h: removed from the cvs.
72 * src/main.c: include rfc2015.h to avoid compiler warnings.
73 * src/alertpanel.c (alertpanel_message_with_disable): return 0 if
74 the panel is already on screen.
75 * src/prefs_customheader.c (prefs_custom_header_delete_cb): treat
76 closing the alert window by ESC as "No".
77 * src/prefs_common.c (prefs_interface_create): moved return
78 receipt check button to the correct place.
83 moved return receipt check button to the Send tab. (prefs_send_create)
84 removed the date format ui related globals. (prefs_display_create)
88 * sync with sylpheed 0.4.67cvs5-6
92 * added Alfons' font selection patch
101 changed version of cache
103 * src/prefs_matcher.c
104 added additionnal matching criteria
108 added references in MsgInfo
113 prepared some things for new filtering
115 added some matching properties
116 inreplyto need to be enhanced
117 prepared some things for new filtering
119 added Return-Receipt-To handling
120 * src/prefs_folder_item.c
121 changed default value to TRUE
122 * src/prefs_matcher.c
123 added some matching properties
124 * src/prefs_scoring.[ch]
125 the scoring dialog is finished
127 added Return-Receipt-To handling
128 Reference need to be added
130 added Return-Receipt-To handling
131 added threadscore to get a better score sorting when
134 suppressed a bug when we sort the list
135 when no folder is opened.
136 better score sorting when threads are enabled
140 * reverted previous patch because of potential errors
144 * src/inc.c, src/prefs_common.c, src/prefs_common.h:
145 applied "toggle mail-retrieval dialog window" patch submitted
146 by Eric Limpens <eric@qnt.net>
148 * sync with sylpheed 0.4.67cvs4
152 * src/matcher.c, src/scoring.c: changed "#ifdef 0" to "#if 0" for
153 some picky compilers.
154 * src/rfc2015.h: provide prototype for rfc2015_disable_all().
155 * src/grouplist_dialog.c: include alertpanel.h.
156 * src/prefs_headers.c (prefs_headers_deleted): added GTK_BUTTON to
158 * src/scoring.c, src/prefs_folder_item.c, src/matcher.c: brought
159 #include "defs.h" before others to prevent the warning of `MIN'
160 and `MAX' redefinition.
166 * src/prefs_account.c
167 * src/prefs_display_header.c
170 added prefs_scoring.[ch]
171 * src/grouplist_dialog.c
172 display an error dialog box if the group list
174 * src/mainwindow.[ch]
175 added main_window_set_thread_option() function
176 scoring dialog box enabled
178 added flags matching unread /new / marked
179 / deleted / replied / forwarded
181 newsgroups are now finally in newscache
182 * src/prefs_matcher.[ch]
183 finished preferences for matching dialog
184 * added src/prefs_scoring.[ch]
185 scoring dialog box completed
187 conversion to string : added scoringprop_to_string()
188 write config for preferences :
189 added prefs_scoring_write_config()
191 threads can be enabled/disabled independently
199 thought it would be nice to have a list of all
200 contributors (used Changelog as a reference)
203 messed up version numbering...
207 * sync with sylpheed 0.4.67cvs1-3
211 * src/prefs_common.c:
212 better UI for strftime format, double clicking
213 on format now inserts the format in text entry
214 replaced close button with standard OK/Cancel
215 moved date format button to the right of the
221 Ctrl-Home / Ctrl-End have proper cursor navigation
225 * src/prefs_matcher.c
226 finished UI to define matching properties
227 added ok and cancel button
229 added ok and cancel button
231 fixed some bug in xhdr parsing
236 fixed a bug in textview_show_header(), which displayed two colons (':');
237 cleaned up some warnings
242 added prefs_matcher.[ch]
243 compilation with -W -Wall
245 ungrab the mouse events if grabbed - does it
246 fix the bug for disposition notification ?
248 added a menu option to open the matching dialog.
250 added matcherprop_to_string() and matcherlist_to_string()
251 fixed some bugs, changed the name of some options
252 age_sup and age_inf becomes age_greater and age_lower,
253 body and messageheaders becomes body_part and headers_part,
254 changed the names of constants from SCORING_XXX to MATCHING_XXX
255 * src/prefs_display_header.c
256 * src/prefs_headers.c
257 fixed a bug that accidentally destroyed dialogs
258 when closed them with delete_event
259 Added *_deleted() which handle delete_event signal correctly.
260 * src/prefs_folder_item.[ch]
261 added "enable_thread" field for future customization
262 * added src/prefs_matcher.[ch]
263 sample of the UI to define matching properties
265 using procheader_headername_equal instead of str*cmp functions
266 using procheader_parse_header() function
268 using MATCHING_XXX instead of SCORING_XXX
270 display the sender of the news even if this is ourself
271 when this is a news message.
273 using headername_equal() instead of str*cmp functions
279 * sync with sylpheed 0.4.66
280 * src/gtkstext.c: trace logs added
284 * src/prefs_common.[ch]: added option to enable/disable GnuPG
285 signature check popup.
286 * src/rfc2015.c (check_signature): show signature check popup only
287 if it is enabled in preferences.
293 * sync with sylpheed 0.4.66cvs6
297 * src/prefs_common.[ch]: added option to enable/disable
298 looking up sender name in address book for summary pane
299 * src/summaryview.c: look up sender in the address book
300 by using Alfons' address completion code
302 2001-05-07 [hiroyuki]
305 src/pop.c: pop3_retr_recv(): removed cur_msg_bytes from the
307 * src/news.c: brought #include "defs.h" before #include <glib.h>
308 to prevent the warning of `MIN' and `MAX' redefinition.
312 * removed src/headers_display.[ch]
313 * removed src/prefs_display_headers.[ch]
315 use a temporary file in the user directory for mbox import
317 added XHDR support to get "To" and "Cc" headers
318 (in order to match news with to or cc field for
320 added function news_parse_xhdr() to get XHDR response
322 added function nntp_xhdr()
324 fetch the message if necessary
330 * sync with sylpheed 0.4.66cvs3-5
335 added function itos_buf() to enable use of several buffers
337 use of itos_buf() instead of itos() in summary list
338 to fix the broken display of message number.
342 * src/gtkstext.c: bug in cursor up navigation fixed,
343 fixed another unsigned / signed comparison (we're getting there :-)
348 added scoring.c scoring.h
349 prefs_folder_item.c prefs_folder_item.h
352 added FOLDERITEM_RC SCORING_RC
354 added prefs field in FolderItem :
355 properties for each folder (PrefsFolderItem),
356 sorting type and mode were added as the first properties.
358 read config for scoring
359 * added src/matcher.[ch]
360 gives functions to parse configuration file to do
361 matching on mails with a list of conditions.
363 add option to sort by score
364 * src/prefs_common.[ch]
365 added preference option to show score and for
366 the score column size
367 * added src/prefs_folder_item.[ch]
368 properties for each folder (PrefsFolderItem),
369 sorting type and mode were added as the first properties.
370 * src/procheader.[ch]
371 added procheader_parse_header()
372 added procheader_header_free()
373 added procheader_headername_equal()
374 and made modification to use them.
376 added score field to MsgInfo structure
377 * added src/scoring.[ch]
378 gives functions to parse configuration file to do
379 scoring on mails with a list of conditions.
380 * src/summaryview.[ch]
381 save the sorting type and mode for the folder
382 added column to display the score of the mail
383 added function summary_score_clicked()
384 sorting type and mode are restored to the folder
387 use procheader_parse_header(), procheader_headername_equal()
388 removed memory leak in text_scan_header when freeing headers
390 changed the function to match names of headers
391 using procheader_headername_equal()
393 Scoring functions are implemented, an interface is needed
399 hopefully fixed the row up navigation bug,
400 removed adding back / forward lines to cache
404 * src/prefs_display_headers.c: user interface changes:
405 (prefs_display_headers_create): remove unused "Show" check button;
406 allow reordering of headers by dragging.
407 (prefs_display_headers_write_config): remove unused variables.
408 (prefs_display_headers_set_dialog): do not insert "(New)" at top
409 of lists (not needed with the new UI).
410 (prefs_display_headers_set_list): scan lists starting from row 0,
411 not 1 (do not skip "(New)").
412 (prefs_display_headers_find_header): new function.
413 (prefs_display_headers_clist_set_row): do not allow duplicates.
414 (prefs_display_headers_delete_cb): do not skip row 0; treat
415 closing the alert window by ESC as "No".
416 (prefs_display_headers_up): do not protect row 0.
417 (prefs_display_headers_down): do not protect row 0.
421 * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
425 (summary_find_next_marked_msg, summary_find_prev_marked_msg,
426 summary_select_next_marked, summary_select_prev_marked): new
431 * src/news.c: fixed a bug when no article can be fetched after
432 server timeout if the connection was restored by news_post():
433 (news_select_group): new function.
434 (news_fetch_msg): call news_select_group() before fetching
436 (news_get_uncached_articles): set session->group after successful
444 changed version of cache, added cc field
446 * src/prefs_display_headers.c
447 the interface was changed
449 * src/prefs_headers.c
454 * completed sync of sylpheed cvs2
455 * src/gtkstext.c: updated row up / down cursor navigation
456 * src/textview.c: re-edited, prepared for fixing the email address
461 * src/prefs_common.c: use alfons' strftime ui code
462 entry_datefmt and datefmt_sample widgets have to be
463 global in this module because of this change
468 * src/prefs_common.[ch] added option to activate the return receipt
473 * src/gtkstext.c: fix for row up/down cursor navigation.
477 * sync with 0.4.66cvs2
481 added add-sender-to-addressbook patch
489 * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
492 * src/alertpanel.c (alertpanel_create): new argument can_disable,
493 all existing callers changed to pass FALSE; create a check button
494 to disable the message.
495 (alertpanel_message_with_disable): new function.
496 (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
497 (alertpanel_button_toggled): new function.
498 (alertpanel_button_clicked, alertpanel_close): set value using
501 * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
503 * src/prefs_common.c (prefs_privacy_create): new check button
504 checkbtn_gpgme_warning.
506 * src/main.c (main): moved preferences reading before gpgme
507 initialization; check prefs_common.gpgme_warning before giving the
508 GnuPG warning and set it to FALSE if the user wants to disable the
511 2001-05-02 [hiroyuki]
513 * src/prefs_display_headers.c: modified the layout and some labels.
517 * src/prefs_account.c (prefs_account_fix_size): new function.
518 (prefs_account_create): call prefs_account_fix_size(); use
519 gtk_widget_show instead of gtk_widget_show_all (fixes too large
520 size when the window is shown for the first time).
521 (prefs_account_basic_create): changed layout of serv_table; moved
522 localmbox_entry above smtpserv_entry (logically it replaces
524 (prefs_account_protocol_activated): set sensitivity of
525 nntpauth_chkbtn according to the protocol (in addition to
526 hide/show); commented out gtk_table_set_row_spacing() calls.
527 (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
528 not sensitive (fixes a bug with disabled username/password boxes
529 when editing POP3 account after NNTP with authentication).
535 * src/prefs_account.[ch]
537 removed local account without SMTP server
538 added option to use mail command instead of a connexion
539 to SMTP server when a local account is used
540 * src/prefs_headers.c
543 fixed a bug when connexion immediately closed
553 * src/prefs_account.c (Basic, prefs_account_basic_create): new
554 widget nntpauth_chkbtn.
555 (prefs_account_protocol_activated): handle nntpauth_chkbtn
557 (prefs_account_nntpauth_toggled): new function.
559 * src/news.c (news_session_new_for_folder): use NNTP
560 authentication only if ac->use_nntp_auth is set.
564 * src/Makefile.am changed headers.[ch] in customheader.[ch]
565 * src/prefs_display_headers.c changed the UI
566 * src/prefs_headers.c changed account_name to account_id
567 * src/compose.c using customheader.h
569 2001-05-01 [hiroyuki]
573 src/nntp.c: changed sock_read() to sock_gets(), they've been left
578 * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
579 * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
580 for displaying of headers
581 * src/grouplist_dialog.[ch] minor changes to remove warnings
582 * src/prefs_display_headers.[ch] dialog to choose the
583 headers to display in the mail viewer.
584 * src/headers.h correction of #define
585 * src/headers_display.[ch] configuration for displaying of headers.
586 * src/main.c read config of displaying of headers
587 * src/prefs_common.c add a button to access the config dialog
588 for displaying of headers
589 * src/prefs_display_headers.[ch] dialog for configuration for
590 displaying of the headers.
591 * src/prefs_headers.c cleaning of code
592 * src/procheader.c comments added to code
593 * src/textview.c changes to reorder the headers depending
594 on the config for displaying of headers
600 * sync with 0.4.65cvs12
602 NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
606 * src/nntp.h (NNTPSockInfo): new field auth_failed.
608 * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
609 is set to force reconnection after authentication failure.
610 (nntp_gen_command): set sock->auth_failed on authentication
611 failure, or if sock->userid and sock->passwd are not set.
613 * src/news.c (news_session_new_for_folder): set userid=NULL if
614 password dialog is cancelled.
618 * src/nntp.h (NNTPSockInfo): new type.
620 * src/nntp.c: all functions updated to use NNTPSockInfo instead of
622 (nntp_open_auth, nntp_close): new functions.
623 (nntp_gen_command): new function to handle authentication; all
624 NNTP command functions updated to use it.
625 (nntp_authinfo_user, nntp_authinfo_pass): deleted.
626 (nntp_list): removed old useless code.
628 * src/news.h (NNTPSession): new field nntp_sock.
630 * src/news.c: all functions updated to use NNTPSockInfo instead of
632 (news_session_new): new arguments (userid, passwd); made static;
633 use nntp_open_auth() if needed.
634 (news_session_destroy): use nntp_close() instead of sock_close().
635 (news_query_password): changed arguments.
636 (news_session_new_for_folder): new function.
637 (news_session_get): use news_session_new_for_folder().
638 (news_authenticate): deleted.
639 (news_get_uncached_articles): removed old authentication code.
643 * src/news.c: reverted my previous changes (need to do NNTP
644 authentication in a cleaner way).
648 * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
649 news_nntp_post, news_nntp_mode): new functions (wrappers with
650 authentication support).
651 (news_get_article_cmd, news_get_article, news_get_header): new
652 argument "folder"; all callers changed.
653 (news_get_article_cmd): added authentication support.
654 (news_session_get): use news_nntp_mode() instead of nntp_mode().
655 (news_post): use news_nntp_post() instead of nntp_post().
656 (news_get_uncached_articles): use news_nntp_group() instead of
657 nntp_group() and news_nntp_xover() instead of nntp_xover();
658 removed old authentication code.
659 (news_get_group_list): use news_nntp_list() instead of nntp_list().
661 * src/nntp.c (nntp_list): return real error code instead of
666 * configure.in: fixed wint_t typedef detection again
670 * src/prefs_account.[ch], added A_LOCAL_CMD
671 (send mail with mail command)
672 * src/send.c added function send_message_with_command()
673 * src/inc.c made a more secure get_spool() function with
674 mktemp() but maybe mkstemp() or something more
679 * src/textview.c, colorization of email addresses in headers
683 * bug sync with sylpheed
684 * prefs_common.c: created date format ui for darko
685 * sync with 0.4.65cvs11
686 * configure.in: corrected to have the new gpg checks
690 * completed sync with 0.4.65cvs10
691 * minor debug things added to gtkstext.c
695 * configure.in: remove check for availability of
696 strftime() as advised by Hiroyuki
697 * src/prefs_common.[ch], src/procheader.c:
698 synch strftime() code with Hiroyki's main branch
702 * src/news.c: news_query_password(), news_authenticate(): new
704 news_get_uncached_articles(): added NNTP authentication
706 * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
708 * src/prefs_account.c: prefs_account_protocol_activated():
709 enable userid and password fields for NNTP.
713 * configure.in: check for availability of strftime()
715 * src/prefs_common.[ch], src/procheader.c: use
716 strftime() for displaying date in summary pane if it
721 * more .cvsignore cleanups [alfons]
725 * ac/sv-check-type.m4: new autoconf macro.
726 * configure.in: fixed wint_t typedef detection (did not work
731 * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
735 * modified gtkstext.c : buggy cursor navigation fixed,
736 and font descent also taken in account when drawing
740 * added comments in src/news.c src/nntp.c
741 * added src/prefs_headers.[ch]
742 * added src/headers.[ch]
743 * modified compose.c to activate custom headers
744 added function is_in_custom_headers
745 * modified prefs_account.[ch]
746 added function prefs_account_customhdr_edit
747 * modified src/defs.h :
748 added HEADERS_RC : name of the config file
749 for the custom headers
760 added gtkstext with configure.in patch by Hiroyuki which
761 should fix the XIM detection [alfons]
763 * more clean up of cvs [alfons]
765 * removed all Makefile.in files to attic.
767 * updated all .cvsignores to really ignore things that could
768 be unintentionally committed by a recursive commit.
771 * added src/grouplist_dialog.[ch]
772 * changed src/folderview.c to call grouplist_dialog instead
775 added functions news_reset_group_list
776 and news_get_group_list
778 added function nntp_list
780 added GROUPLIST_FILE : name of the newsgroup list cache file
784 * added option to warn about queued messages on exit [sergey]:
786 * src/compose.c: compose_queue(): call folder_item_scan()
787 and folderview_update_item() after queueing.
788 * src/folderview.c: folderview_update_node(): draw the queue
789 folder in bold font if there are queued messages.
790 * src/mainwindow.c: queued_messages(): new function.
791 app_exit_cb(): display warning if there are queued messages
792 if warn_queued_on_exit is set.
793 * prefs_common.[ch]: add warn_queued_on_exit option.
795 * enhanced GnuPG key selection support [sergey]:
797 * src/select-keys.c: updated to newer version from Win32
798 branch with support for selecting arbitrary keys.
799 * src/prefs_account.c: added the Privacy tab to the account
801 prefs_account_privacy_create(),
802 prefs_account_sign_key_set_data_from_radiobtn(),
803 prefs_account_sign_key_set_radiobtn(): new functions.
804 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
805 * src/rfc2015.c: set_signers(): new function.
806 pgp_sign(): add the account parameter, call set_signers().
807 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
808 * src/rfc2015.h: rfc2015_sign(): updated prototype.
809 * src/compose.c: pass the current account to rfc2015_sign().
811 * tag name claws added to prevent confusion with main branch [alfons]
813 * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
815 * autogen.sh: Added "--enable-maintainer-mode". [sergey]
817 * sync with recent sylpheed cvs. Untested though. [alfons]