5 * sync with sylpheed 0.4.99cvs2
13 * src/summaryview.c: bugfixed a premature assignment in summaryview_add_sender_to_cb()
19 * configure.in: if gnome-config not found, "no" is displayed
21 * sylpheed.desktop: "Hello World" is replaced with "Sylpheed Mail"
23 * src/textview.c: now also possible to add mail addresses by right
24 clicking in the text view
26 * src/codeconv.c: merged patch which fixes endless loop when encountering
27 invalid wide characters; from Alte <010@imis.ru>
31 Added installation of gnome specific things:
33 * Makefile.am: gnome conditional
35 * configure.in: check for installed gnome
37 * added sylpheed.png, sylpheed.desktop
41 * src/pixmaps/stock_mail_reply_to_author.xpm: new file.
43 * src/mainwindow.h (main_window_toolbar_create): created a button
45 (main_window_set_toolbar_sensitive): enable/disable the new button
47 (toolbar_reply_to_author_cb): handle the new button.
49 * src/send.c (SEND_EXIT_IF_ERROR, SEND_EXIT_IF_NOTOK): call
50 send_progress_dialog_destroy() on failure (fixes hang on SMTP
55 * src/compose.h (ComposeReplyMode): new modes
56 COMPOSE_REPLY_TO_AUTHOR, COMPOSE_REPLY_TO_AUTHOR_WITH_QUOTE,
57 COMPOSE_REPLY_TO_AUTHOR_WITHOUT_QUOTE.
60 (compose_send): move some code into a new function:
61 (compose_current_mail_account): new function.
62 (compose_reply): new argument to_author, all callers changed; if
63 to_author==TRUE and account->protocol==A_NNTP, find and use an
64 appropriate mail account for replying.
65 (compose_reply_set_entry): new argument to_author; ignore
66 compose->replyto if to_author==TRUE.
68 * src/mainwindow.c: new command "Message/Reply to author".
69 (main_window_set_menu_sensitive): enable/disable it.
70 (reply_cb): handle it.
72 * src/summaryview.c: new command "Reply to author".
73 (summary_set_menu_sensitive): enable/disable it.
74 (summary_reply_cb): handle it.
76 * src/account.c (account_find_mail_from_address): new function.
82 * sync with sylpheed 0.4.99cvs1
89 new filtering action : forward and forward as attachment
92 no need for $DISPLAY when we run sylpheed --help
93 call to parse_cmd_opt() is moved
96 execute button is hidden when immediate execute
101 * src/prefs_folder_item.c
103 better handling of missing directories
106 reedit is enabled in outbox
107 reedit is enabled in queue
113 * src/prefs_filtering.c
114 changed attachement into attachment
120 * sync with sylpheed 0.4.67cvs9
121 * sync with sylpheed 0.4.67cvs7-8
126 added prefs_filtering.c
130 removed action : forward_news and forward_news_as_attachement
131 (forward and forward_as_attachement can be used instead)
134 added menu option to access filtering configuration
136 * src/prefs_account.c
137 changed mail_command default to /usr/sbin/sendmail
139 * added src/prefs_filtering.[ch]
140 dialog box for filtering configuration
142 * src/prefs_matcher.c
143 added function prefs_matcher_get_criteria_from_matching()
145 * src/prefs_scoring.c
146 reset the dialog when register or substitute is clicked
153 using filering.[ch] instead of filter.[ch]
155 reading new filtering configuration
157 added some filtering actions
158 and fixed a bug for headers and mail body matching
160 using filering.[ch] instead of filter.[ch]
162 handling invalid MsgInfo in mh_copy_msg() and mh_move_msg()
164 some fixes for filtering
166 2001-05-14 [hiroyuki]
168 * src/send.c: fixed some weird indentations.
169 send_message_with_command(): call pclose() only if p != NULL.
170 * src/textview.c: get_email_part(): modified the code for readability.
172 2001-05-14 [hiroyuki]
176 src/md5ify.h: removed from the cvs.
180 * src/main.c: include rfc2015.h to avoid compiler warnings.
181 * src/alertpanel.c (alertpanel_message_with_disable): return 0 if
182 the panel is already on screen.
183 * src/prefs_customheader.c (prefs_custom_header_delete_cb): treat
184 closing the alert window by ESC as "No".
185 * src/prefs_common.c (prefs_interface_create): moved return
186 receipt check button to the correct place.
190 * src/prefs_common.c:
191 moved return receipt check button to the Send tab. (prefs_send_create)
192 removed the date format ui related globals. (prefs_display_create)
196 * sync with sylpheed 0.4.67cvs5-6
200 * added Alfons' font selection patch
209 changed version of cache
211 * src/prefs_matcher.c
212 added additionnal matching criteria
216 added references in MsgInfo
221 prepared some things for new filtering
223 added some matching properties
224 inreplyto need to be enhanced
225 prepared some things for new filtering
227 added Return-Receipt-To handling
228 * src/prefs_folder_item.c
229 changed default value to TRUE
230 * src/prefs_matcher.c
231 added some matching properties
232 * src/prefs_scoring.[ch]
233 the scoring dialog is finished
235 added Return-Receipt-To handling
236 Reference need to be added
238 added Return-Receipt-To handling
239 added threadscore to get a better score sorting when
242 suppressed a bug when we sort the list
243 when no folder is opened.
244 better score sorting when threads are enabled
248 * reverted previous patch because of potential errors
252 * src/inc.c, src/prefs_common.c, src/prefs_common.h:
253 applied "toggle mail-retrieval dialog window" patch submitted
254 by Eric Limpens <eric@qnt.net>
256 * sync with sylpheed 0.4.67cvs4
260 * src/matcher.c, src/scoring.c: changed "#ifdef 0" to "#if 0" for
261 some picky compilers.
262 * src/rfc2015.h: provide prototype for rfc2015_disable_all().
263 * src/grouplist_dialog.c: include alertpanel.h.
264 * src/prefs_headers.c (prefs_headers_deleted): added GTK_BUTTON to
266 * src/scoring.c, src/prefs_folder_item.c, src/matcher.c: brought
267 #include "defs.h" before others to prevent the warning of `MIN'
268 and `MAX' redefinition.
274 * src/prefs_account.c
275 * src/prefs_display_header.c
278 added prefs_scoring.[ch]
279 * src/grouplist_dialog.c
280 display an error dialog box if the group list
282 * src/mainwindow.[ch]
283 added main_window_set_thread_option() function
284 scoring dialog box enabled
286 added flags matching unread /new / marked
287 / deleted / replied / forwarded
289 newsgroups are now finally in newscache
290 * src/prefs_matcher.[ch]
291 finished preferences for matching dialog
292 * added src/prefs_scoring.[ch]
293 scoring dialog box completed
295 conversion to string : added scoringprop_to_string()
296 write config for preferences :
297 added prefs_scoring_write_config()
299 threads can be enabled/disabled independently
307 thought it would be nice to have a list of all
308 contributors (used Changelog as a reference)
311 messed up version numbering...
315 * sync with sylpheed 0.4.67cvs1-3
319 * src/prefs_common.c:
320 better UI for strftime format, double clicking
321 on format now inserts the format in text entry
322 replaced close button with standard OK/Cancel
323 moved date format button to the right of the
329 Ctrl-Home / Ctrl-End have proper cursor navigation
333 * src/prefs_matcher.c
334 finished UI to define matching properties
335 added ok and cancel button
337 added ok and cancel button
339 fixed some bug in xhdr parsing
344 fixed a bug in textview_show_header(), which displayed two colons (':');
345 cleaned up some warnings
350 added prefs_matcher.[ch]
351 compilation with -W -Wall
353 ungrab the mouse events if grabbed - does it
354 fix the bug for disposition notification ?
356 added a menu option to open the matching dialog.
358 added matcherprop_to_string() and matcherlist_to_string()
359 fixed some bugs, changed the name of some options
360 age_sup and age_inf becomes age_greater and age_lower,
361 body and messageheaders becomes body_part and headers_part,
362 changed the names of constants from SCORING_XXX to MATCHING_XXX
363 * src/prefs_display_header.c
364 * src/prefs_headers.c
365 fixed a bug that accidentally destroyed dialogs
366 when closed them with delete_event
367 Added *_deleted() which handle delete_event signal correctly.
368 * src/prefs_folder_item.[ch]
369 added "enable_thread" field for future customization
370 * added src/prefs_matcher.[ch]
371 sample of the UI to define matching properties
373 using procheader_headername_equal instead of str*cmp functions
374 using procheader_parse_header() function
376 using MATCHING_XXX instead of SCORING_XXX
378 display the sender of the news even if this is ourself
379 when this is a news message.
381 using headername_equal() instead of str*cmp functions
387 * sync with sylpheed 0.4.66
388 * src/gtkstext.c: trace logs added
392 * src/prefs_common.[ch]: added option to enable/disable GnuPG
393 signature check popup.
394 * src/rfc2015.c (check_signature): show signature check popup only
395 if it is enabled in preferences.
401 * sync with sylpheed 0.4.66cvs6
405 * src/prefs_common.[ch]: added option to enable/disable
406 looking up sender name in address book for summary pane
407 * src/summaryview.c: look up sender in the address book
408 by using Alfons' address completion code
410 2001-05-07 [hiroyuki]
413 src/pop.c: pop3_retr_recv(): removed cur_msg_bytes from the
415 * src/news.c: brought #include "defs.h" before #include <glib.h>
416 to prevent the warning of `MIN' and `MAX' redefinition.
420 * removed src/headers_display.[ch]
421 * removed src/prefs_display_headers.[ch]
423 use a temporary file in the user directory for mbox import
425 added XHDR support to get "To" and "Cc" headers
426 (in order to match news with to or cc field for
428 added function news_parse_xhdr() to get XHDR response
430 added function nntp_xhdr()
432 fetch the message if necessary
438 * sync with sylpheed 0.4.66cvs3-5
443 added function itos_buf() to enable use of several buffers
445 use of itos_buf() instead of itos() in summary list
446 to fix the broken display of message number.
450 * src/gtkstext.c: bug in cursor up navigation fixed,
451 fixed another unsigned / signed comparison (we're getting there :-)
456 added scoring.c scoring.h
457 prefs_folder_item.c prefs_folder_item.h
460 added FOLDERITEM_RC SCORING_RC
462 added prefs field in FolderItem :
463 properties for each folder (PrefsFolderItem),
464 sorting type and mode were added as the first properties.
466 read config for scoring
467 * added src/matcher.[ch]
468 gives functions to parse configuration file to do
469 matching on mails with a list of conditions.
471 add option to sort by score
472 * src/prefs_common.[ch]
473 added preference option to show score and for
474 the score column size
475 * added src/prefs_folder_item.[ch]
476 properties for each folder (PrefsFolderItem),
477 sorting type and mode were added as the first properties.
478 * src/procheader.[ch]
479 added procheader_parse_header()
480 added procheader_header_free()
481 added procheader_headername_equal()
482 and made modification to use them.
484 added score field to MsgInfo structure
485 * added src/scoring.[ch]
486 gives functions to parse configuration file to do
487 scoring on mails with a list of conditions.
488 * src/summaryview.[ch]
489 save the sorting type and mode for the folder
490 added column to display the score of the mail
491 added function summary_score_clicked()
492 sorting type and mode are restored to the folder
495 use procheader_parse_header(), procheader_headername_equal()
496 removed memory leak in text_scan_header when freeing headers
498 changed the function to match names of headers
499 using procheader_headername_equal()
501 Scoring functions are implemented, an interface is needed
507 hopefully fixed the row up navigation bug,
508 removed adding back / forward lines to cache
512 * src/prefs_display_headers.c: user interface changes:
513 (prefs_display_headers_create): remove unused "Show" check button;
514 allow reordering of headers by dragging.
515 (prefs_display_headers_write_config): remove unused variables.
516 (prefs_display_headers_set_dialog): do not insert "(New)" at top
517 of lists (not needed with the new UI).
518 (prefs_display_headers_set_list): scan lists starting from row 0,
519 not 1 (do not skip "(New)").
520 (prefs_display_headers_find_header): new function.
521 (prefs_display_headers_clist_set_row): do not allow duplicates.
522 (prefs_display_headers_delete_cb): do not skip row 0; treat
523 closing the alert window by ESC as "No".
524 (prefs_display_headers_up): do not protect row 0.
525 (prefs_display_headers_down): do not protect row 0.
529 * src/mainwindow.c (next_marked_cb, prev_marked_cb): new
533 (summary_find_next_marked_msg, summary_find_prev_marked_msg,
534 summary_select_next_marked, summary_select_prev_marked): new
539 * src/news.c: fixed a bug when no article can be fetched after
540 server timeout if the connection was restored by news_post():
541 (news_select_group): new function.
542 (news_fetch_msg): call news_select_group() before fetching
544 (news_get_uncached_articles): set session->group after successful
552 changed version of cache, added cc field
554 * src/prefs_display_headers.c
555 the interface was changed
557 * src/prefs_headers.c
562 * completed sync of sylpheed cvs2
563 * src/gtkstext.c: updated row up / down cursor navigation
564 * src/textview.c: re-edited, prepared for fixing the email address
569 * src/prefs_common.c: use alfons' strftime ui code
570 entry_datefmt and datefmt_sample widgets have to be
571 global in this module because of this change
576 * src/prefs_common.[ch] added option to activate the return receipt
581 * src/gtkstext.c: fix for row up/down cursor navigation.
585 * sync with 0.4.66cvs2
589 added add-sender-to-addressbook patch
597 * src/alertpanel.h (AlertValue): added G_ALERT_VALUE_MASK,
600 * src/alertpanel.c (alertpanel_create): new argument can_disable,
601 all existing callers changed to pass FALSE; create a check button
602 to disable the message.
603 (alertpanel_message_with_disable): new function.
604 (alertpanel_show): mask value with G_ALERT_VALUE_MASK.
605 (alertpanel_button_toggled): new function.
606 (alertpanel_button_clicked, alertpanel_close): set value using
609 * src/prefs_common.h (PrefsCommon): new field gpgme_warning.
611 * src/prefs_common.c (prefs_privacy_create): new check button
612 checkbtn_gpgme_warning.
614 * src/main.c (main): moved preferences reading before gpgme
615 initialization; check prefs_common.gpgme_warning before giving the
616 GnuPG warning and set it to FALSE if the user wants to disable the
619 2001-05-02 [hiroyuki]
621 * src/prefs_display_headers.c: modified the layout and some labels.
625 * src/prefs_account.c (prefs_account_fix_size): new function.
626 (prefs_account_create): call prefs_account_fix_size(); use
627 gtk_widget_show instead of gtk_widget_show_all (fixes too large
628 size when the window is shown for the first time).
629 (prefs_account_basic_create): changed layout of serv_table; moved
630 localmbox_entry above smtpserv_entry (logically it replaces
632 (prefs_account_protocol_activated): set sensitivity of
633 nntpauth_chkbtn according to the protocol (in addition to
634 hide/show); commented out gtk_table_set_row_spacing() calls.
635 (prefs_account_nntpauth_toggled): do nothing if nntpauth_chkbtn is
636 not sensitive (fixes a bug with disabled username/password boxes
637 when editing POP3 account after NNTP with authentication).
643 * src/prefs_account.[ch]
645 removed local account without SMTP server
646 added option to use mail command instead of a connexion
647 to SMTP server when a local account is used
648 * src/prefs_headers.c
651 fixed a bug when connexion immediately closed
661 * src/prefs_account.c (Basic, prefs_account_basic_create): new
662 widget nntpauth_chkbtn.
663 (prefs_account_protocol_activated): handle nntpauth_chkbtn
665 (prefs_account_nntpauth_toggled): new function.
667 * src/news.c (news_session_new_for_folder): use NNTP
668 authentication only if ac->use_nntp_auth is set.
672 * src/Makefile.am changed headers.[ch] in customheader.[ch]
673 * src/prefs_display_headers.c changed the UI
674 * src/prefs_headers.c changed account_name to account_id
675 * src/compose.c using customheader.h
677 2001-05-01 [hiroyuki]
681 src/nntp.c: changed sock_read() to sock_gets(), they've been left
686 * src/Makefile.am added prefs_display_headers.[ch] headers_display.[ch]
687 * src/defs.h added HEADERS_DISPLAY_RC : name of the config file
688 for displaying of headers
689 * src/grouplist_dialog.[ch] minor changes to remove warnings
690 * src/prefs_display_headers.[ch] dialog to choose the
691 headers to display in the mail viewer.
692 * src/headers.h correction of #define
693 * src/headers_display.[ch] configuration for displaying of headers.
694 * src/main.c read config of displaying of headers
695 * src/prefs_common.c add a button to access the config dialog
696 for displaying of headers
697 * src/prefs_display_headers.[ch] dialog for configuration for
698 displaying of the headers.
699 * src/prefs_headers.c cleaning of code
700 * src/procheader.c comments added to code
701 * src/textview.c changes to reorder the headers depending
702 on the config for displaying of headers
708 * sync with 0.4.65cvs12
710 NOTE: nntp.c and news.c in claws and cvs branch differ significantly!
714 * src/nntp.h (NNTPSockInfo): new field auth_failed.
716 * src/nntp.c (nntp_mode): return NN_AUTHREQ if sock->auth_failed
717 is set to force reconnection after authentication failure.
718 (nntp_gen_command): set sock->auth_failed on authentication
719 failure, or if sock->userid and sock->passwd are not set.
721 * src/news.c (news_session_new_for_folder): set userid=NULL if
722 password dialog is cancelled.
726 * src/nntp.h (NNTPSockInfo): new type.
728 * src/nntp.c: all functions updated to use NNTPSockInfo instead of
730 (nntp_open_auth, nntp_close): new functions.
731 (nntp_gen_command): new function to handle authentication; all
732 NNTP command functions updated to use it.
733 (nntp_authinfo_user, nntp_authinfo_pass): deleted.
734 (nntp_list): removed old useless code.
736 * src/news.h (NNTPSession): new field nntp_sock.
738 * src/news.c: all functions updated to use NNTPSockInfo instead of
740 (news_session_new): new arguments (userid, passwd); made static;
741 use nntp_open_auth() if needed.
742 (news_session_destroy): use nntp_close() instead of sock_close().
743 (news_query_password): changed arguments.
744 (news_session_new_for_folder): new function.
745 (news_session_get): use news_session_new_for_folder().
746 (news_authenticate): deleted.
747 (news_get_uncached_articles): removed old authentication code.
751 * src/news.c: reverted my previous changes (need to do NNTP
752 authentication in a cleaner way).
756 * src/news.c (news_nntp_group, news_nntp_list, news_nntp_xover,
757 news_nntp_post, news_nntp_mode): new functions (wrappers with
758 authentication support).
759 (news_get_article_cmd, news_get_article, news_get_header): new
760 argument "folder"; all callers changed.
761 (news_get_article_cmd): added authentication support.
762 (news_session_get): use news_nntp_mode() instead of nntp_mode().
763 (news_post): use news_nntp_post() instead of nntp_post().
764 (news_get_uncached_articles): use news_nntp_group() instead of
765 nntp_group() and news_nntp_xover() instead of nntp_xover();
766 removed old authentication code.
767 (news_get_group_list): use news_nntp_list() instead of nntp_list().
769 * src/nntp.c (nntp_list): return real error code instead of
774 * configure.in: fixed wint_t typedef detection again
778 * src/prefs_account.[ch], added A_LOCAL_CMD
779 (send mail with mail command)
780 * src/send.c added function send_message_with_command()
781 * src/inc.c made a more secure get_spool() function with
782 mktemp() but maybe mkstemp() or something more
787 * src/textview.c, colorization of email addresses in headers
791 * bug sync with sylpheed
792 * prefs_common.c: created date format ui for darko
793 * sync with 0.4.65cvs11
794 * configure.in: corrected to have the new gpg checks
798 * completed sync with 0.4.65cvs10
799 * minor debug things added to gtkstext.c
803 * configure.in: remove check for availability of
804 strftime() as advised by Hiroyuki
805 * src/prefs_common.[ch], src/procheader.c:
806 synch strftime() code with Hiroyki's main branch
810 * src/news.c: news_query_password(), news_authenticate(): new
812 news_get_uncached_articles(): added NNTP authentication
814 * src/nntp.[ch]: nntp_authinfo_user(), nntp_authinfo_pass():
816 * src/prefs_account.c: prefs_account_protocol_activated():
817 enable userid and password fields for NNTP.
821 * configure.in: check for availability of strftime()
823 * src/prefs_common.[ch], src/procheader.c: use
824 strftime() for displaying date in summary pane if it
829 * more .cvsignore cleanups [alfons]
833 * ac/sv-check-type.m4: new autoconf macro.
834 * configure.in: fixed wint_t typedef detection (did not work
839 * acconfig.h: added USE_GTKGDK_XIM definition for autoheader.
843 * modified gtkstext.c : buggy cursor navigation fixed,
844 and font descent also taken in account when drawing
848 * added comments in src/news.c src/nntp.c
849 * added src/prefs_headers.[ch]
850 * added src/headers.[ch]
851 * modified compose.c to activate custom headers
852 added function is_in_custom_headers
853 * modified prefs_account.[ch]
854 added function prefs_account_customhdr_edit
855 * modified src/defs.h :
856 added HEADERS_RC : name of the config file
857 for the custom headers
868 added gtkstext with configure.in patch by Hiroyuki which
869 should fix the XIM detection [alfons]
871 * more clean up of cvs [alfons]
873 * removed all Makefile.in files to attic.
875 * updated all .cvsignores to really ignore things that could
876 be unintentionally committed by a recursive commit.
879 * added src/grouplist_dialog.[ch]
880 * changed src/folderview.c to call grouplist_dialog instead
883 added functions news_reset_group_list
884 and news_get_group_list
886 added function nntp_list
888 added GROUPLIST_FILE : name of the newsgroup list cache file
892 * added option to warn about queued messages on exit [sergey]:
894 * src/compose.c: compose_queue(): call folder_item_scan()
895 and folderview_update_item() after queueing.
896 * src/folderview.c: folderview_update_node(): draw the queue
897 folder in bold font if there are queued messages.
898 * src/mainwindow.c: queued_messages(): new function.
899 app_exit_cb(): display warning if there are queued messages
900 if warn_queued_on_exit is set.
901 * prefs_common.[ch]: add warn_queued_on_exit option.
903 * enhanced GnuPG key selection support [sergey]:
905 * src/select-keys.c: updated to newer version from Win32
906 branch with support for selecting arbitrary keys.
907 * src/prefs_account.c: added the Privacy tab to the account
909 prefs_account_privacy_create(),
910 prefs_account_sign_key_set_data_from_radiobtn(),
911 prefs_account_sign_key_set_radiobtn(): new functions.
912 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
913 * src/rfc2015.c: set_signers(): new function.
914 pgp_sign(): add the account parameter, call set_signers().
915 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
916 * src/rfc2015.h: rfc2015_sign(): updated prototype.
917 * src/compose.c: pass the current account to rfc2015_sign().
919 * tag name claws added to prevent confusion with main branch [alfons]
921 * Sync with sylpheed-0.4.65cvs4 and made it compile. [sergey]
923 * autogen.sh: Added "--enable-maintainer-mode". [sergey]
925 * sync with recent sylpheed cvs. Untested though. [alfons]