3 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
4 even if the main window is locked.
8 * src/action.c: improved synchronous action exit code (fixes long
9 delay after action exit on RH9) (thanks to Melvin).
10 * src/stringtable.[ch]: string_table_insert_string(): modified the
11 code to remove the warning "dereferencing type-punned pointer will
12 break strict-aliasing rules".
13 Use const gchar * instead of gchar * for arguments.
17 * src/utils.[ch]: generate_mime_boundary(): a new function to create
18 MIME boundary (moved from rfc2015.c).
19 Removed more special characters.
20 Use random() instead of lrand48() which is obsolete.
21 Added an argument for prefix to prevent duplication.
22 Always add "=_" as a counter-QP sequence to simplify the code.
24 rfc2015_decrypt_message()
26 rfc2015_sign(): fixed a bug that didn't handle continuous content
29 src/rfc2015.c: use generate_mime_boundary().
34 folderview_delete_folder_cb()
35 folderview_remove_mailbox_cb(): close currently displayed folder
36 before removing FolderItem (fixes crash on deleting folder).
38 src/imap.[ch]: imap_scan_tree()
39 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
40 * src/summaryview.c: summary_clear_all(): also clear the message view.
41 * src/imap.c: imap_close(): fail if the specified folder is not
43 imap_scan_tree(): check if the specified root directory exist, and
44 try creating it if not.
45 imap_parse_list(): output warning if a server returns error.
46 imap_find_namespace_from_list(): support not slash-delimited path.
47 imap_status(): don't return values if they're not specified.
51 * sylpheed.spec.in: fixed a typo.
62 src/prefs_common.[ch]: added the receive dialog's option to
63 display the dialog only on manual receiving, and the
64 RECV_DIALOG_ACTIVE option was removed.
68 * src/compose.c: compose_write_headers(): also replace ':' in the
69 MIME boundary with '_' (as a workaround for broken servers).
73 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
77 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
81 * src/folder.[ch]: folder_item_remove_children(): new. It removes
82 all children under a FolderItem.
83 * src/folderview.c: folderview_rescan_tree(): modified the message.
84 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
85 the previous FolderItem objects.
89 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
90 folder_item_remove(): free all FolderItem's.
91 folder_tree_destroy(): use folder_item_remove().
92 * src/folderview.c: folderview_sort_folders(): keep the order even
93 if special folders' parents are different.
94 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
95 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
96 mh_remove_missing_folder_items(): scan the directories and remove
98 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
102 * src/mainwindow.c: always reflect window size changes.
103 * src/folderview.c: folderview_init()
104 src/summaryview.c: summary_init(): realize the widget before
106 * src/prefs_common.[ch]: remember the folder and mesage view's
112 src/prefs_common.[ch]: remember the size and position of
114 main_window_set_widgets(): fixed a bug that the hidden items on
115 the header view were shown when changing the view type.
116 Instead of setting the window size, set the each view's size.
120 * src/compose.c: compose_select_account(): don't append signature
122 compose_insert_sig(): don't insert "\n\n" if signature string
123 doesn't exist. Always insert signature at the end of message.
127 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
131 * minor code cleanups for the folder system.
132 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
133 * src/folder.c: code cleanups.
135 src/mh.c: calculate message numbers inside the functions.
136 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
137 * src/summaryview.[ch]: don't calculate and preserve message numbers
146 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
150 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
151 imap_greeting(): parse initial server greeting. Also support
154 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
158 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
166 * src/main.c: main(): don't save config files on startup.
171 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
173 Unset MSG_NEW flag if \Seen is set.
174 imap_get_uncached_messages(): fetch all messages if both first_uid
179 * src/imap.c: revamped the implementation so that it always
180 exactly reflects the state of IMAP4 servers.
181 imap_get_msg_list(): examine the state of messages using
183 imap_delete_cached_message(): removes single message cache.
184 imap_get_uid(): removed.
185 imap_cmd_search(): new. It issues UID SEARCH command and returns
187 imap_cmd_gen_recv(): made the length of strings unrestricted.
188 imap_get_uid_table(): returns a hash table from UID array.
195 src/news.[ch]: added Folder::close() method.
196 * src/summaryview.c: summary_clear_list(): call folder_item_close().
200 * flags are now taken over when copying messages into IMAP folders
207 mh_add_msgs(): flags can be also specified when adding files.
208 * src/folder.[ch]: added assertions for virtual functions.
209 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
211 procmsg_message_file_list_free(): new.
215 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
216 guint32 for portability (thanks to Alfons).
217 * src/imap.c: imap_add_msgs(): removed redundant unlink().
222 session_read_msg_cb()
223 session_read_data_cb(): fixed a bug that ran into infinite loop
224 if connection was closed by remote host (thanks to Yoichi Imai).
225 Added SESSION_EOF state to SessionState.
226 session_is_connected(): new.
227 * src/inc.[ch]: inc_put_error()
228 src/send_message.c: send_put_error(): also put log messages.
232 * more optimization of IMAP4.
233 * src/folder.[ch]: added a method add_msgs() that adds multiple files
235 Removed redundant scan() for the operations of FolderItem.
236 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
237 and copy from other Folder instances.
238 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
239 mh_fetch_msg(): scan folder if required.
240 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
241 list from message list.
242 * src/summaryview.c: don't remove MSG_MARKED flags on
243 delete/move/copy operation.
244 summary_display_msg_full(): removed redundant message fetching.
248 * optimized move/copy/delete/mark operations of IMAP4 by using
249 sequence set when issuing commands (adopted claws' implementation
250 with cleaning it up).
252 imap_set_message_flags()
255 imap_cmd_store(): take sequence set string instead of UID number.
256 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
257 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
258 imap_remove_all_msg()
259 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
261 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
262 instead of issuing commands for each message.
267 src/prefs_account.[ch]
269 src/session.[ch]: added an option to enable/disable non-blocking
274 * src/compose.c: compose_attach_append(): display message's subject
275 when attaching message/rfc822 file.
282 session_read_msg_cb()
283 session_read_data_cb(): optimized by removing sock_peek() and
284 buffering received data in user space (correctly implemented
289 * src/session.c: reverted the previous change because it couldn't
290 handle data receiving after messages correctly.
296 session_read_msg_cb(): optimized by removing sock_peek() and
297 buffering messages in user space.
301 * src/imap.[ch]: refactored.
302 Changed all functions that have SockInfo arguments to take
304 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
305 imap_open(): only establish TCP (or SSL) connection.
306 imap_session_new(): process greeting and authentication here.
310 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
312 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
313 type in Receive tab, and hide other protocols' frames.
317 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
319 * src/procmsg.c: procmsg_send_queue(): return number of sent
325 main_window_set_toolbar_sensitive()
326 main_window_set_menu_sensitive(): removed the locking of file
327 operations while receiving mail.
331 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
332 argument instead of message number.
333 * src/imap.[ch]: imap_remove_msg(): reimplemented using
335 * src/mh.[ch]: mh_do_move(): reimplemented using
336 mh_do_move_msgs_with_dest().
337 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
338 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
342 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
343 to suppress some warnings.
344 * src/logwindow.c: log_window_append(): don't scroll up when trimming
349 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
350 part when using PGP/MIME signing.
358 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
359 * src/session.c: session_read_msg_cb(): make it always fail if
360 sock_read() returns by error.
361 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
362 sock_has_pending_data(): removed.
363 Removed debug output.
364 * src/send_message.c: send_recv_message(): display messages to
369 * src/inc.[ch]: update received message number on CList while
371 * src/session.c: session_read_data_cb(): optimized by removing
372 g_malloc() and memcpy().
376 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
377 watch functions (otherwise uses g_io_add_watch()).
378 * src/session.[ch]: removed previous workarounds, and replaced
379 g_io_add_watch() with sock_add_watch().
383 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
384 if socket has pending data.
385 * src/session.c: session_recv_msg(), session_recv_data(): check if
386 socket has pending data and call the callbacks immediately in that
387 case (fixes the hang at ESMTP EHLO on SSL).
391 * src/socket.c: check return value in SSL functions.
395 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
396 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
400 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
401 before calling callbacks.
405 * src/socket.c: made socket connection protocol independent.
406 * src/session.c: removed debug g_print().
407 * src/inc.c: made status bar output less verbose, and show counter
408 on main window's progressbar.
412 * src/session.c: added missing #include <errno.h>.
416 * src/session.[ch]: reimplemented the Session system with non-blocking
417 I/O to solve the performance and the code design issue.
418 * src/socket.[ch]: added sock_connect_async() and
419 sock_connect_async_cancel() to enable asynchronous connection.
420 sock_peek(): modified the implementation.
421 * src/pop.c: optimized the receiving of the responses of
426 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
427 when a node is an ancestor (parent / great parent), which mostly
428 happens with circular references (thanks to Phillipe Gramoulle
429 for finding an sample set of messages, and Alfons for the patch).
433 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
434 UIDL list is not found (fixes inability of initial retrieval).
438 * src/main.c: added the option '--status-full' which shows the status
439 of each folder specified. The option '--status' also takes
440 following arguments for folders (thanks to Yuri Arapov).
441 * src/folder.[ch]: folder_get_status(): new. it takes the array of
442 folders as the argument and returns their status.
443 folder_count_total_msgs(): removed.
453 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
454 to prevent abort when a button is double-clicked.
458 * src/addr_compl.c: invalidate_address_completion(): check if
459 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
463 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
464 deleted messages that is to be kept on server (thanks to Tristan
474 sock_set_io_timeout(): new. It sets the timeout interval.
475 sock_gdk_input_add(): removed since it's not used anymore.
476 * src/prefs_common.[ch]: added an option to set the timeout parameter.
480 * src/action.c: fixed a bug that didn't hide user string in
481 create_io_dialog() (thanks to Markus Amersdorfer).
482 Removed ChildInfo::type and added Children::action_type.
486 * src/inc.c: inc_start(): ask every password before retrieving.
487 Don't popup the redundant error dialog.
489 inc_all_account_mail()
490 inc_progress_dialog_set_list(): separated account list display
492 inc_progress_dialog_set_label()
493 inc_recv_data_finished()
494 inc_recv_message(): properly update the dialog when RETR finished.
499 imap_modified_utf7_to_locale()
500 imap_locale_to_modified_utf7(): fixed compilation failure when not
505 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
506 of message/rfc822 parts.
510 * src/pop.c: pop3_ok(): detect timeout error.
514 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
515 when locale strings include '+'.
516 imap_modified_utf7_to_locale()
517 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
518 if iconv() is not supported.
524 compose_get_signature_str(): include separator in signature string.
525 Don't insert separator if signature file is not found.
526 Disabled use of implicit default signature path (~/.signature) when
536 src/quote_fmt_parse.y
537 src/smtp.c: suppress warnings that gcc-3.3 issues.
538 src/stringtable.c: use string_entry_free().
542 * src/compose.c: compose_insert_sig(): fixed the bug that always
543 appended signature separator if signature file was not found.
544 compose_get_signature_str(): fixed the bug that caused crash if
545 signature file cannot be opened.
553 * src/session.c: session_recv_msg(): removed debug print.
560 imap_cmd_fetch(): check for data size that servers return (fixes
561 vulnerability found in BugTraq).
565 * src/addr_compl.c: get_complete_address()
566 src/addressbook.c: addressbook_format_address()
567 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
568 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
569 * src/main.c: main(): set colormap and visual to solve color problem
570 in Solaris (thanks to Markus Schwarzenberg).
578 * src/prefs_account.c: temporarily removed POP before SMTP option.
582 * src/prefs_common.[ch]: changed the description of "Open message when
583 cursor keys are pressed on summary".
584 * src/summaryview.c: summary_show(): open message when always_show_msg
589 * src/logwindow.[ch]: restrict the maximum lines of the log messages
590 to reduce the memory usage.
594 * src/compose.c: compose_insert_sig(): fixed a crash when signature
595 string contains illegal sequence.
596 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
600 * major refactoring of MIME structure.
601 * src/procmime.c: procmime_scan_message(): decrypt message if
602 gpgme is enabled. Create multipart tree only if content-type is
603 multipart/* or message/rfc822.
604 procmime_scan_multipart_message(): fixed the scanning of
606 * src/action.c: parse_append_msgpart()
607 src/messageview.c: messageview_show()
608 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
609 instead of procmsg_open_message() and procmime_scan_mime_header().
610 mimeview_set_multipart_tree(): conform to the new MIME structure.
611 * src/textview.c: textview_show_part(): removed unnecessary check.
612 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
613 pointer when decryption failed.
617 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
618 by g_warning(), and log_print() by debug_print().
619 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
620 LAST if UIDL is not supported.
624 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
625 if it is the current locale encoding when dest_charset_str is NULL.
629 * src/action.c: execute_actions(): fixed crash when no text widget
630 is selected (thanks to Paul and Melvin).
632 src/prefs_actions.c: added missing reference to Claws team in the
639 session_send_data(): fixed a memory leak and data sending bug.
640 * src/send_message.c:
641 send_message_smtp(): fixed focus management.
645 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
647 * src/send_message.c: show error dialog if error occurred.
648 * src/main.c: send_queue()
649 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
653 * src/session.c: session_close(): kill child process only if
654 state is not SESSION_DISCONNECTED.
655 * src/send_message.c: send_cancel_button_cb()
656 src/inc.c: inc_cancel(): don't set Session::state to
657 SESSION_DISCONNECTED.
658 * src/prefs.[ch]: modified the names of prefs_write_*().
659 * src/address.[ch]: removed.
663 * src/compose.c: compose_template_apply(): overwrite recipients.
667 * src/procheader.c: procheader_date_parse(): removed debug print.
668 * src/session.c: changed every g_print to debug_print.
669 session_child_input(): removed unrequired session_close() (it'll
670 be closed anyway after returning FALSE).
671 * src/send_message.c: send_message_smtp(): changed g_print to
676 * src/procheader.c: procheader_procheader_date_parse(): don't add
677 local timezone offset if timezone is unknown.
678 Made the Y2K workaround code to follow RFC 2822.
679 procheader_scan_date_string(): workaround for date strings which
680 don't have timezone specification.
681 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
686 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
687 some memory leaks on error.
688 action_update_msgview_menu(): new.
689 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
690 messageview_get_selected_mime_part(): returns MimeInfo of selected
691 part when MessageView is in MIME mode.
692 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
694 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
695 MsgInfo list of selected messages.
699 * src/prefs_filter.[ch]: include original message's headers as
700 the preset keywords. Modified the sizes of the widgets.
701 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
702 case-insensitive hash.
706 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
707 auto-detected headers.
711 src/mainwindow.c: modified function names.
712 get_user_string(): Use input_dialog() instead of its own
717 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
718 in encoded strings if addr_field is TRUE.
719 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
723 * src/prefs_actions.[ch]: separated action execution routine into
728 * src/prefs_actions.c: minor code cleanup.
732 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
738 inc_recv_data_progressive()
739 inc_recv_data_finished()
742 send_send_data_progressive()
743 send_send_data_finished(): added assertion.
747 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
752 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
753 in source buffer since it messed up some encoding conversion (like
758 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
759 extract ID from List-Id header.
760 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
761 extract_list_id_str(): extract ID string from List-Id header.
765 * src/prefs_actions.c: merged from the claws branch. Fixes several
766 bugs and adds some features.
770 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
771 linebreaks were included on reediting.
773 src/pop.c: fixed typos: 'occured'.
777 * src/compose.[ch]: implemented auto signature replacement on
779 compose_insert_sig(): added a flag to replace current signature.
780 compose_get_signature_str(): new. It returns signature string.
781 compose_insert_command_output(): removed.
782 compose_select_account(): call compose_insert_sig() on account
784 compose_destroy(): fixed a memory leak of UndoMain object.
785 Compose::sig_str: new. It stores current signature string.
786 * src/gtkutils.[ch]: gtkut_stext_find(): new.
787 Renamed gtk_stext_clear() to gtkut_stext_clear().
788 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
790 normalize_newlines(): converts CR+LF and CR into LF.
791 get_command_output(): returns command output.
795 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
796 filter keyword for messages.
797 * src/summaryview.c: summary_filter_open(): use
798 procmsg_get_filter_keyword().
799 * src/messageview.c: create_filter_cb(): implemented.
805 inc_put_error(): display server responses on error.
806 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
811 * src/messageview.[ch]: separated the forced charset of message view
812 in separate window from the main window.
814 textview_show_message()
816 textview_add_part(): use MessageView::forced_charset if specified.
820 * src/mainwindow.c: modified File menu a bit.
821 * src/menu.[ch]: added functions to handle item factory rc strings.
822 * src/messageview.[ch]: added a menu, and made it take over main
823 window's menu shortcuts.
824 added msginfo which is duplicated on display to MessageView.
825 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
826 menu_factory_clear_rc().
830 * send_message.c: send_message_smtp():
831 re-enabled forcing of SMTP AUTH method.
832 Clear temporary password if authentication failed.
833 * smtp.c: output warning to log and set SMTPSession::error_val
835 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
836 * src/mbox.c: proc_mbox(): force updating of folder.
840 * src/pop.h: changed error value to enum.
841 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
843 pop3_ok(): return appropriate error value based on current state.
844 Output warning to log if error occurs.
849 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
854 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
855 Session::state == SESSION_ERROR.
856 * po/POTFILES.in: removed src/automaton.c and src/send.c.
857 Added src/send_message.c.
862 src/session.c: fixed breakage of POP3 retrieval.
863 session_recv_data_from_sock_unescape(): read until terminator
864 appears and also return the actual size.
868 * src/automaton.[ch]: removed.
869 * src/session.c: removed some of the debug output.
870 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
871 returns EHLO-style response to HELO command.
872 Ignore all multiline responses except for EHLO since they are
873 allowed for any command.
878 src/pop.c: fixed retrieval of messages which contain dot-escaped
880 session_recv_data(): added a flag for unescape.
881 session_recv_data_from_sock_unescape(): new. It receives message
882 for each line and unescapes dot-escaped lines.
883 Removed the previous workaround.
884 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
888 * src/pop.[ch]: workaround for brekage of retrieval when given size
889 and actual one is different.
893 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
894 since some servers sometimes return incorrect message size.
895 * src/news.c: news_session_new(): zero clear NNTPSession object.
896 Don't initialize Session::sock with nntp_sock->sock to prevent
897 double-free of SockInfo.
898 * src/imap.c: zero clear IMAPSession object.
899 imap_cmd_append(): don't close SockInfo.
903 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
908 src/pop.[ch]: reimplemented using new I/O system.
909 * src/session.[ch]: session_recv_data(): new.
910 session_send_data_to_sock()
911 session_recv_data_from_sock(): decreased the frequency of progress
916 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
920 * src/session.[ch]: session_start_tls(): new.
921 session_recv_msg(): made it static.
925 * implemented asynchronous network I/O.
926 * src/session.[ch]: the interface to communicate with servers through
929 src/send_message.[ch]: rewrote using new I/O system.
930 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
931 *_write() as just a simple wrapper for write().
932 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
933 message to send with SMTP or NNTP.
934 file_read_stream_to_str(): new.
938 * src/textview.c: textview_button_pressed(): corrected the range of
940 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
941 represented with more than 2 bytes as 2 character width and 2 bytes
942 one as a single character width as a workaround for wrapping problem.
946 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
951 * implemented HTML link correctly.
952 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
954 html_get_tag(): new. It parses tag and returns HTMLTag object.
955 html_parse_tag(): also parses <a> tags and 'href' attributes.
956 * src/textview.c: textview_write_link(): new. It creates link string.
960 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
961 loop / crash bug (thanks to Darko Koruga).
962 compose_write_to_file(): put correct charset element when
963 conversion failed but want to send anyway.
967 * src/headerview.c: headerview_show()
968 src/textview.c: textview_write_line(): remove unreadable characters
969 from displayed strings to prevent crashes on multi-byte
971 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
972 from conv_localetodisp().
976 * src/procmsg.c: procmsg_cmp_by_subject()
977 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
980 subject_compare_for_sort()
981 trim_subject_for_sort(): new.
989 * src/defs.h: added -i option to the default sendmail command.
993 * src/codeconv.[ch]: added missing character encodings and locales.
998 procmsg_get_mark_sum()
999 procmsg_open_mark_file()
1000 procmsg_read_mark_file(): take FolderItem instead of directory
1005 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1006 which is on the wrap boundary would be lost when encoding long
1007 non-ascii strings (thanks to Sergey Vlasov).
1008 Don't force wrapping within a long word until it reaches hard line
1009 length limit (998 characters) (workaround for the breakage of
1010 long address list with no spaces).
1014 * src/prefs_account.c: fixed compile failure when using neither
1019 * src/codeconv.c: fixed UTF-8 locale support.
1020 conv_get_code_conv_func(): return conv_noconv if locale encoding
1021 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1023 conv_convert(): call conv_iconv_strdup() instead of
1024 conv_codeset_strdup().
1025 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1029 * src/prefs_account.[ch]: added an option to use command output for
1031 * src/compose.c: compose_insert_sig(): use command output if
1033 compose_insert_command_output(): new.
1037 * src/main.c: main(): remove lock socket if sylpheed is not running
1038 when --status command is executed.
1039 lock_socket_remove(): new.
1043 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1044 codeset is US-ASCII (or POSIX).
1048 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1049 and continue conversion.
1053 * src/summaryview.c: summary_selected(): always update widget
1058 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1059 date in timezones more than GMT+12 or less than GMT-12.
1063 * src/prefs_common.[ch]
1064 src/sourcewindow.c: remember the size of source window.
1065 * src/md5.c: fixed a compile problem with gcc 3.3.
1069 * src/about.c: about_create(): modified the copyright notice.
1073 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1074 rectangles so we can respect the color map of palette based visuals
1075 (fixes the long time crashes on Solaris - thanks to Alfons
1080 * src/procheader.c: procheader_date_parse(): made month string case
1082 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1083 selection list is empty.
1087 * src/quote_fmt_parse.y: removed gettext translatable strings.
1088 * src/unmime.c: unmime_header(): remove broken characters when
1089 code conversion failed.
1090 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1091 headers if long words more than 75 characters are entered.
1095 * src/prefs_account.c: prefs_account_receive_create()
1096 src/utils.c: to_human_readable(): made units translatable.
1100 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1101 at first byte (fixes abort() problem of glibc).
1102 * src/html.c: html_read_line(): remove characters which can't be
1103 displayed on the current locale.
1108 trim_subject_for_compare(): renamed from trim_subject().
1109 trim_subject(): new. It removes [...] or (...) at the beginning
1111 * src/prefs_folder_item.c
1113 added options for trimming summary / compose subject.
1114 * src/summaryview.c: summary_set_header(): trim subject if the folder
1116 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1122 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1123 X-Face header problem).
1124 conv_encode_header(): allow up to 97 characters for one word.
1128 * src/filter.c: filter_match_condition(): fixed the bug that
1129 second condition ignored regex.
1130 * src/news.h: NewsGroupInfo: use guint for message numbers
1131 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1135 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1136 on code conversion failure.
1137 conv_get_charset_str()
1138 conv_get_charset_from_str(): optimized using hash table.
1142 * src/quote_fmt_parse.y:
1143 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1144 treat only "\n-- \n" as a signature separator.
1148 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1149 * src/summary_search.c: summary_search_execute(): search collapsed
1155 conv_unreadable_latin(): include 0x7f as an unreadable character.
1156 conv_localetodisp(): don't remove 8bit characters by default.
1157 conv_get_current_charset()
1158 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1159 appended at the last of locale name.
1160 * src/compose.c: compose_write_to_file(): show from and to encoding
1161 when code conversion failed.
1169 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1170 (thanks to Colin Leroy).
1171 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1176 * src/textview.c: textview_write_line(): don't convert if conv is
1181 * src/codeconv.[ch]:
1182 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1183 conv_localetodisp(): new. It removes unreadable characters from
1184 (assumed) current locale string.
1185 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1186 NULL and current locale encoding is US-ASCII.
1187 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1188 specified for destination charset.
1189 * src/textview.c: textview_write_line(): use conv_localetodisp()
1190 instead of strncpy2() if conversion failed.
1194 * src/codeconv.c: conv_iconv_strdup()
1196 imap_modified_utf7_to_locale()
1197 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1198 a warning on some systems.
1199 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1201 Return NULL instead of incomplete string if conversion failed.
1205 * src/summaryview.c: summary_execute(): select appropriate node
1206 if currently selected node is to be deleted.
1207 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1208 TRUE if the specified node is selected.
1212 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1213 on deleting or moving.
1217 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1218 of EUC-JP more accurate.
1219 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1231 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1232 duplication bug if the source string has CRLF.
1234 canonicalize_str(): new. Returns newly allocated canonicalized
1236 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1237 uncanonicalize_file_replace(): new.
1238 * src/compose.c: always canonicalize body before processing, and
1239 uncanonicalize before returning.
1243 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1244 ENC_8BIT for Russian charsets.
1245 * src/compose.c: compose_write_to_file(): use base64 when signing
1250 * src/prefs_common.c: prefs_send_create(): added a description for
1251 the setting of Content-Transfer-Encoding.
1255 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1257 * src/procmime.c: procmime_get_encoding_for_charset(): return
1258 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1259 * src/compose.c: compose_attach_append(): set correct Content-
1260 Transfer-Encoding for message/rfc822.
1261 compose_write_to_file(): enabled user-definable Content-Transfer-
1263 * src/prefs_common.[ch]: added an option for user-defined Content-
1268 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1269 line doesn't end with linebreak.
1273 * implemented quoted-printable encoding.
1274 * src/quoted-printable.[ch]: qp_encode_line(): new.
1276 compose_write_to_file()
1277 compose_write_attach(): implemented quoted-printable encoding.
1278 compose_attach_property_create(): enabled quoted-printable menu
1280 * src/procmime.c: procmime_get_encoding_for_charset(): return
1281 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1282 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1289 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1290 of abbreviation of newsgroup name.
1294 * configure.in: show the result of iconv detection.
1298 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1299 conv_iconv_strdup(): new.
1303 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1309 src/prefs_folder_item.c: English fix (property -> properties).
1310 * src/prefs_filter.c: alert if entry is not saved.
1311 prefs_filter_dialog_to_filter(): new.
1315 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1316 strings after linefeed.
1321 * src/codeconv.[ch]: code cleanup and optimization.
1322 conv_code_converter_new()
1323 conv_convert(): use functions obtained by conv_get_code_conv_func()
1324 when using libjconv.
1325 conv_codeset_strdup(): code cleanup.
1326 conv_get_code_conv_func(): added an argument for destination
1327 character set, and generalized.
1331 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1333 * src/compose.c: compose_convert_header(): remove trailing spaces.
1334 * src/customheader.c: custom_header_read_str(): strip the spaces
1336 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1337 strip the spaces of name and value.
1345 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1346 into infinite loop when encountering invalid characters.
1350 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1352 * src/summaryview.c: summary_show(): removed summary_sort() because
1353 it is done inside folder_item_get_msg_list(). This will improve
1354 the performance of summary display.
1355 Sorted out the summary sort functions using macros.
1359 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1360 list if FolderItem::sort_key is set.
1361 Added SORT_BY_TO to FolderSortKey enum.
1362 * src/mainwindow.c: added "View/Sort/by recipient".
1370 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1372 * src/compose.c: compose_convert_header(): always pass string to
1373 conv_encode_header() for line-breaking.
1377 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1378 parsing of email addresses.
1382 * src/defs.h: added DEFAULT_BROWSER_CMD.
1383 * src/mimeview.c: mimeview_view_file()
1384 src/prefs_common.c: prefs_other_create()
1385 src/utils.c: open_uri(): changed the default web browser to
1386 mozilla, and changed 'raise' command (which is undocumented)
1387 to 'new-window' in 'netscape -remote'.
1391 * src/compose.c: compose_send_control_enter(): fixed crash on
1392 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1400 sort_summary_type_cb(): prevent unwanted processing on unchecking
1405 * src/main.c: process command line option before gtk_init() to
1406 enable remote operation without X (thanks to Ruslan N. Balkin).
1407 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1412 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1413 (the spec of autotools seems to be changed).
1417 * src/imap.c: get path separator using LIST command if server
1418 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1419 imap_parse_list(): added an argument to return path separator.
1420 imap_get_namespace_by_list(): new.
1424 * src/addr_compl.c: add_address(): removed the debug print.
1425 * src/gtkutils.[ch]: gtkut_window_popup()
1426 src/mainwindow.c: main_window_popup(): applied the patch to fix
1427 the behavior of window popup from Sergey Vlasov (thanks!)
1428 * src/account.c: account_edit_create(): use signal_connect_after
1429 for row_move signal to fix the row position bug.
1430 account_row_moved(): scroll the CList half page.
1431 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1433 * src/summaryview.c: summary_reply(): use selection text only if
1434 the displayed message is selected (thanks to Sergey Vlasov).
1438 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1439 of MIME header encoding. And use Q-encoding method if the current
1440 locale is single-byte one.
1441 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1442 of wide-character string. Consider control codes as non-ASCII.
1443 get_next_word_len(): new. It returns the length of next word.
1444 is_next_mbs(), find_wspace(): removed.
1445 * src/quoted-printable.[ch]: new.
1446 qp_decode_line(): decodes one QP line.
1447 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1448 qp_get_q_encoding_len(): returns the length when a string is
1450 qp_q_encode(): Q-encode a string (RFC 2047).
1451 * src/unmime.c: moved the functions for quoted-printable to
1456 * src/send.c: send_message_local(): escape line that only have one
1457 dot character (postfix's sendmail command will stop there).
1461 * src/send.c: send_message_local(): don't escape first-dot line
1462 (thanks to Sergey Vlasov).
1466 * autogen.sh: added 'libtoolize --force --copy' to override the
1468 * acconfig.h: removed.
1469 * configure.in: increased minimal version of GPGME to 0.3.10.
1470 Fixed checking of XIM.
1472 ac/gnupg-check-typedef.m4: added an argument for comment.
1476 * src/imageview.[ch]: fixed conflicting declarations of
1477 imageview_show_image() (thanks to Thorsten Maerz).
1481 * src/compose.c: compose_entry_append(): don't add ", " on subject
1483 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1484 charset from the table (currently disabled for non-Japanese locales).
1485 conv_get_current_locale(): also refer to LC_CTYPE.
1489 * README: added a description about hidden settings.
1493 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1494 Made enable_hscrollbar and bold_unread hidden options.
1498 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
1503 account_find_from_message_file()
1504 account_find_from_msginfo(): new. They find an account from the
1505 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
1508 compose_reedit(): restore messages' previous account on composition.
1509 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
1514 * src/compose.c: cleaned up the code using compose_entry_set()
1515 (don't use gtk_entry_set_text() directly).
1519 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
1523 * updated autotools and libtool to the latest version.
1524 * configure.in: added AC_PREREQ(2.50).
1528 * src/textview.c: textview_set_font(): fix for message display in
1529 UTF-8 locales (thanks to Sergey Vlasov).
1533 * src/imageview.[ch]: imageview_show_image(): resize images to fit
1534 the window size if specified.
1535 * src/prefs_common.[ch]: added an option 'Resize attached images'.
1539 * refactoring for SMTP implementation.
1540 * src/session.h: added ui_func to Session.
1541 * src/smtp.[ch]: separated the connection routine from
1542 smtp_session_new() to smtp_connect().
1543 Changed the argument of every function other than smtp_ok() from
1544 SockInfo to SMTPSession.
1545 Call UI callback from each functions.
1546 * src/send.c: send_message_smtp(): separated the code for UI update
1547 into send_progress_dialog_update().
1551 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
1552 * src/send.c: send_message_smtp(): call smtp_auth() and display
1553 the state to the dialog.
1557 * src/filter.c: strmatch_regex(): use extended regex (thanks to
1559 * src/main.c: main(): removed the code for assortrc -> filterrc
1561 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
1562 current locale is C or POSIX.
1563 gtkut_stext_is_uri_string(): include "www." for URI string.
1564 * src/textview.c: textview_make_clickable_parts(): include "www."
1573 * src/textview.c: textview_add_part(): indicate signature status
1574 using different colors.
1578 * src/folder.c: folder_write_list_recursive(): escape
1579 To/Cc/Bcc/Reply-To strings.
1583 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
1584 headers on locales other than Japanese when not using libjconv.
1588 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
1589 corresponding error message.
1590 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
1595 * src/prefs_account.[ch]: removed prefs_account_save_config() since
1597 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
1598 procmime_mimeinfo_free_all() can be used in every case.
1602 * src/account.c: account_get_special_folder(): support F_INBOX, and
1607 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
1608 COMPOSE_ENTRY_*, and added
1609 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
1612 compose_redirect(): added FolderItem to the arguments, and reflect
1613 settings in the item.
1614 compose_entry_set(): new.
1615 compose_entry_append(): code cleanup.
1616 compose_entries_set_from_item(): take ComposeMode in its arguments,
1617 and enabled FolderItem::use_auto_to_on_reply.
1618 * src/summaryview.c: summary_reply(): pass folder_item to
1619 compose_{reply,forward,redirect}().
1623 * src/gtkutils.[ch]:
1624 gtkut_font_load(): new. It automatically choose font or fontset
1626 gtkut_font_load_from_fontset(): new. It tries to load single font
1627 instead of fontset from a fontset string.
1631 src/summaryview.c: workaround for the problem that couldn't display
1632 8-bit characters in C or POSIX locale (use font instead of fontset).
1635 src/textview.c: made code cleanup using gtkut_font_load*().
1639 * src/mh.c: mh_get_msginfo(): set correct message number.
1643 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
1644 It returns a new MsgInfo associated to a message number.
1645 folder_item_get_msginfo(): new.
1646 * src/imap.[ch]: imap_get_msginfo(): new.
1647 * src/mh.[ch]: mh_get_msginfo(): new.
1648 * src/news.[ch]: news_get_msginfo(): new.
1652 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
1653 infinite loop if an invalid code appeared.
1657 * src/codeconv.c: conv_codeset_strdup()
1658 src/html.[ch]: html_read_line(): don't output conversion failure
1660 Added HTML_CONV_FAILED to the enum HTMLState.
1664 * implemented per-folder auto-set address (still in progress).
1665 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
1666 and set entries from it (if mailto is empty).
1667 compose_entry_append(): activate menu if required.
1668 compose_entries_set_from_item(): new.
1669 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
1670 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
1672 folder_build_tree(), folder_read_folder_func(),
1673 folder_write_list_recursive(): added the above members.
1674 * src/prefs_folder_item.[ch]: added auto-set addresses.
1675 * src/pop.[ch]: removed Pop3State::prev_folder.
1679 * src/compose.c: allow dropping files by also "moving" files from a
1680 file manager (thanks to Alfons).
1684 * compose_reply_set_entry(): made Reply-To have priority over
1685 List-Post on ML reply.
1689 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
1690 * src/summaryview.c: summary_step(): fixed a bug that lost the
1691 correct selection anchor.
1692 summary_key_pressed(): use gtk_sctree_select() instead of
1696 src/recv.c: differentiate disk full and socket errors
1697 (thanks to Colin Leroy).
1701 * src/account.c: account_edit_prefs(): removed unused variables.
1702 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
1705 compose_reply_set_entry(): receive reply type with one argument.
1706 * src/summaryview.c: summary_reply(): reduced conditional branches.
1710 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
1711 from line ends (thanks to Sergey Vlasov).
1712 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
1717 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
1718 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
1719 messages all at once.
1723 * src/account.[ch]: account_open(): new. It opens account prefs
1724 dialog and reflects to UI when finished.
1726 folderview_button_pressed()
1727 folderview_property_cb(): open account prefs dialog when the
1728 property of the root folder of remote account is requested.
1732 * src/account.c: account_destroy(): unref account information in
1734 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
1735 specified account information in all folders.
1737 folderview_rm_imap_server_cb()
1738 folderview_rm_news_server_cb(): destroy Folder first because
1739 folder_destroy() refers to account information.
1743 * src/account.c: account_find_from_item(): fixed a bug which didn't
1744 select the correct account.
1745 * inc_pop3_session_do():
1746 fixed the resource leak when SSL initialization failed.
1747 Immediately break from temporary event loop if cancelled.
1751 * src/account.[ch]: account_find_from_item(): new.
1753 compose_reply(), compose_forward(), compose_redirect()
1754 src/mainwindow.c: compose_cb(): select optimal account when
1756 * src/folder.[ch]: added FolderItem::apply_sub.
1757 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
1758 index of option menu which contains the specified data.
1759 * src/prefs_folder_item(): added Compose tab, and the setting of
1764 * configure.in: added $LDAP_LIBS for lber library detection.
1772 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
1773 leak, and added error checking.
1777 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
1778 removed Compose::orig_account.
1779 compose_check_for_valid_recipient(): check only enabled entries.
1780 compose_write_headers()
1781 compose_redirect_write_headers(): add Newsgroups header only
1782 when the entry is enabled.
1783 compose_send(): modified the method of finding a mail account
1784 from a news account so that it tries to match the From address.
1785 * src/send.c: send_message_queue(): enabled the queueing of news
1787 * src/news.[ch]: news_post_stream(): new.
1791 * configure.in: check lber first and use $LDAP_LIBS on the check
1796 * po/*.po: fixed many typos of format strings which will lead to
1797 crash (thanks to Sergey Vlasov).
1801 * src/procheader.c: procheader_parse_stream(): added Cc header
1802 to the target for full parsing.
1803 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
1804 returns the full message information from the given information.
1805 * src/compose.c: compose_reply(), compose_forward(): get full
1806 message information for Cc header.
1810 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
1811 IMAP4 and NNTP folder summary after checking those accounts.
1819 * src/prefs_common.c: prefs_compose_create(): modified the label
1820 of the option for Reply button.
1821 * configure.in: add -lldap and -llber to the 5th argument of
1822 AC_CHECK_LIB() for LDAP library detection.
1827 INSTALL.jp: updated.
1831 * src/mainwindow.c: toggle the behavior of Reply button between
1832 normal reply and reply-to-list.
1833 * src/prefs_common.[ch]: added an option to switch the function
1838 * src/compose.c: compose_new(): removed the workaround for XIM
1839 because it doesn't have any effect and only seems to cause
1844 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
1845 compose_parse_header(): parse also List-Post header.
1846 compose_reply_set_entry(): support reply-to-ML (fall back to
1847 normal reply if ML address is not found).
1850 src/summaryview.c: reorganized Reply menu and added 'Reply to
1852 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
1853 returns newly allocated parameters.
1857 * src/account.c: account_read_config_all(): set account information
1858 to default before initializing with configuration file.
1859 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
1860 newly created account information structure initialized by
1861 the default settings.
1866 replace_address_in_edit(): check if newtext is NULL.
1867 completion_window_button_press(): fixed a memory leak.
1868 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
1869 recv_time is RECV_TIME_KEEP.
1870 pop3_getrange_uidl_recv(): only set get_all flag if
1871 ac_prefs->getall is set.
1872 pop3_retr_recv(): don't delete messages which are not received
1873 by filter, and set recv_time to RECV_TIME_KEEP in the case.
1874 * src/pop.h: added an enum RecvTime.
1875 * src/inc.c: inc_drop_message(): unlink temporary message file if
1876 not received by filter.
1880 * src/mainwindow.c: added 'Edit/Select thread' menu.
1881 * src/summaryview.[ch]: added 'Select thread' to the context menu.
1882 summary_select_thread(): new. It selects all messages of current
1887 * src/rfc2015.c: check_signature(): corrected error handling and
1892 * src/rfc2015.c: check_signature(): correctly remove the last empty
1893 line, and canonicalize the file part before verifying (this should
1894 fix incompatibility with Evolution or some other MUAs).
1895 * src/utils.[ch]: copy_file_part(): new. It copies the specified
1896 range of file stream to another file.
1900 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
1901 8-bit text when signing (thanks to Colin Leroy).
1905 * src/prefs_common.c: prefs_send_create(): fixed the charset string
1906 for Cyrillic (Windows-1251).
1914 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
1915 Windows-1251. Added bg_BG locale.
1919 * src/compose.c: account_activated(): change the state of menu items
1920 and entries according to the selected account.
1921 compose_select_account(): new. It changes the state of title bar,
1922 menu items and entries.
1926 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
1928 Don't refresh summary view on fetching when open_inbox_on_inc is
1933 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
1934 is set (to avoid summary refresh problem).
1935 * src/imap.c: removed warnings by checking the existence of directory
1936 before calling remove*_numbered_files().
1940 * src/prefs_common.c: corrected English.
1944 * src/prefs_common.[ch]: added an option: "Mark messages as read
1945 only when opened in new window".
1950 folder_tree_destroy()
1951 folder_write_list_recursive(): added sanity check.
1952 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
1953 can't get session, create empty folder node (based on the
1954 Alfons' suggestion).
1958 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
1960 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
1965 * src/news.c: news_scan_group(): fixed wrong message number
1970 * major refactoring for POP3.
1971 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
1972 inc_pop3_state_destroy(), inc_get_uidl_table(), and
1973 inc_write_uidl_list() into pop.c.
1974 Moved Pop3State::folder_table and Pop3State::inc_state into
1977 inc_put_error(): added lockbusy state.
1978 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
1979 inc_cancel(): don't terminate the automaton here but just set
1980 the flags to prevent crash.
1982 pop3_getauth_pass_recv()
1983 pop3_getauth_apop_recv(): check lockbusy state.
1984 pop3_retr_recv(): check Pop3State::cancelled flag.
1985 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
1986 automaton_input_cb(): terminate if cancelled flag is true.
1987 * sylpheed.desktop: changed Type=Internet to Type=Application.
1988 Added Categories=Application;Network;.
1994 src/progressdialog.c: show detailed information to the status
1996 Added cur_total_recv_bytes to Pop3State.
1997 * src/prefs_common.[ch]: added an option to specify whether to
1998 close receive dialog when finished.
2002 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2006 imap_folder_destroy()
2008 imap_remove_all_msg()
2009 news_folder_destroy(): remove cache directories / files when
2010 deleting Folder / messages.
2014 is_file_entry_exist(): check if the argument is NULL.
2016 remove_numbered_files()
2017 remove_expired_files(): fixed memory leaks on error.
2026 src/smtp.[ch]: made Folder and Session destructor virtual method.
2030 * src/compose.c: do joining of normal lines only when auto-wrapping.
2031 * src/main.c: modified the warning message for GnuPG.
2032 * src/about.c: about_create(): modified the compiled-in features
2034 * configure.in: improved LDAP library checking (thanks to Alfons).
2044 compose_wrap_line_all(): backed out the change to join lines that
2049 * configure.in: require at least gpgme-0.3.5.
2053 * src/alertpanel.c: alertpanel_create(): minor modification.
2062 * src/alertpanel.c: alertpanel_create(): modified the layout.
2063 * src/rfc2015.c: check_signature(): don't abort on error.
2067 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2068 required to repress flickers.
2072 * src/compose.c: improved line wrapping.
2074 compose_wrap_line_all(): also join lines that are not indented.
2075 dump_text(): handle multi-byte strings correctly.
2079 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2080 (go to next line when space is entered at line limit).
2084 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2089 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2090 checking to prevent confusion.
2094 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2095 method Folder::get_msg_list().
2096 * src/account.c: account_edit_prefs(), account_delete(): use
2097 folderview_set_all() instead of folderview_rescan_all().
2098 * src/folderview.[ch]:
2099 folderview_check_new_all(): new. Updates all folders.
2100 folderview_rescan_tree(): confirm before executing.
2101 folderview_rescan_all(): commented out since it's not used anymore.
2102 folderview_update_item_foreach(): added a flag for summary update.
2103 * src/inc.c: inc_finished(): update summary only when
2104 prefs_common.scan_all_after_inc is set.
2105 inc_drop_message(): set mtime of target folder to 0 to force
2106 the updating of summary.
2107 inc_start(), get_spool(): update also summary when updating
2109 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2110 'File - Check for new messages in all folders'.
2114 * src/compose.c: compose_write_to_file(): clearsign message body
2116 compose_clearsign_text(): new. Replaces the string with clearsigned
2118 * src/prefs_account.c: added an option for clearsign.
2119 * src/rfc2015.c: rfc2015_clearsign(): new.
2120 pgp_sign(): added a flag for clearsign.
2121 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2122 name (needs to be freed by caller).
2123 str_write_to_file(), file_read_to_str(): new.
2127 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2128 to avoid memory leak.
2132 * src/base64.c: include string.h for memcpy().
2133 * src/gtksctree.c: use macro ABS() instead of function abs().
2134 * src/prefs_account.c
2135 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2136 conflict with the function send() in sys/socket.h.
2137 * src/mainwindow.c: commented out the unnecessary functions.
2138 * src/utils.c: canonicalize_file_replace(): correct warning message.
2142 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2143 temporary files in ~/.sylpheed/.
2144 * src/main.c: create temporary directory in ~/.sylpheed/.
2146 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2148 compose_exec_ext_editor(): fixed a bug that failed to create the
2149 temporary file if g_get_tmp_dir() returned directory other than
2154 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2158 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2159 to replace the file when the given file and temporary file are not
2160 on the same filesystem.
2161 copy_file(): added a flag whether to keep backup.
2162 move_file(): added a flag whether to overwrite the destination file.
2166 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2167 * src/select-keys.c: modified key selection dialog.
2171 * src/socket.[ch]: my_gethostbyname(): new.
2172 * src/utils.c: get_domain_name(): return FQDN instead of short
2173 hostname (thanks to Bob Woodside).
2174 * src/template.c: made the debug messages less verbose.
2178 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2179 * src/utils.c: canonicalize_file(): correct the error check of
2184 * src/compose.c: compose_write_to_file():
2185 canonicalize line endings before encrypting/signing (this will fix
2186 interoperability with other MUAs).
2187 Removed unnecessary strdup.
2188 Don't encrypt/sign draft message.
2190 canonicalize_file(), canonicalize_file_replace(): new.
2192 src/select-keys.c: changed g_message() to debug_print() and
2194 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2195 MIME structure scanning.
2196 * src/textview.c: textview_add_part(): show signature status in
2199 src/sigstatus.c: modified translatable strings and some MIME
2204 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2205 the temporary file when saving from queue.
2211 src/prefs_account.[ch]
2212 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2213 Modified some messages.
2217 * src/textview.c: textview_scan_header(): fixed a memory leak
2222 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2223 in right conditional block.
2227 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2233 log_error(): add time stamp to log messages.
2238 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2242 * src/socket.c: implemented socket I/O timeout.
2244 * src/pop.c: check errors and return error value correctly.
2248 * src/prefs_actions.c: made the action's input/output dialog display
2249 without delay. Made the dialog modal instead of making window
2250 insensitive. Also cleaned up its UI.
2254 * implemented --attach command line option.
2256 Cmd::attach_files: new member to store file paths.
2257 parse_cmd_opt(): added --attach option. --compose option is implied.
2258 prohibit_duplicate_launch()
2259 lock_socket_input_cb(): added "compose_attach" message.
2262 src/textview.c: renamed compose_new_with_recipient() to
2263 compose_new(), and added an argument for attachment files.
2267 * src/logwindow.c: freeze GtkText widget while hidden.
2268 log_window_append(): changed the header for message and warning.
2272 * src/news.c: implement automatic cache expiration.
2273 news_delete_expired_caches(): new.
2274 news_get_article_list(): fixed a bug that nonexistent messages
2275 were not removed from list.
2276 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2277 procmsg_get_last_num_in_cache().
2278 * src/utils.[ch]: remove_expired_files(): new.
2283 inc_mail(): force summary refresh when using external command for
2285 inc_all_account_mail(): fixed a bug on spool checking failure.
2296 src/editldap_basedn.c
2298 src/prefs_common.c: fixed memory leaks which didn't free strings
2299 gtk_editable_get_chars() returned. And minor code cleanups.
2301 src/vcard.h: removed C++-style comments.
2305 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2306 strings which include both multi-byte and us-ascii characters.
2310 * src/utils.c: remove_numbered_files(): don't try to unlink()
2313 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2315 conv_unmime_header_overwrite()
2316 conv_unmime_header(): do conv_anytodisp() before decoding header.
2324 * src/compose.c: added 'Tools/Actions' menu.
2328 * src/base64.c: a minor fix for BASE64VAL() macro.
2332 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2340 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2341 base64_encode(), base64_decode(): new.
2342 * src/rfc822.[ch]: removed.
2344 src/about.c: removed the copyright notice for fetchmail.
2350 src/unmime.[ch]: rewrote the MIME decode routines.
2352 unmime_quoted_printable_line(): new.
2354 procheader_get_one_field()
2355 procheader_get_unfolded_line(): remove also CR.
2359 * libkcc: removed from the source tree.
2361 src/about.c: removed the copyright notice for libkcc.
2362 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2364 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2368 * src/prefs_actions.c: comply with the coding style.
2369 Modified the UI design.
2370 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2371 menu when multiple messages are selected.
2375 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2376 update_actions_menu(): simplified the menu deletion.
2377 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2381 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2382 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2387 * configure.in: added check for strchr.
2391 * src/prefs_common.[ch]
2392 src/inc.c: added an option to inhibit receive error dialog.
2396 * src/account.c: account_find_from_address(): support multiple
2397 addresses in header.
2401 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2402 GtkCTreeNode* so that it won't become invalid after the row move.
2403 Removed dependency to gtkutils.c.
2404 * src/prefs_common.[ch]
2405 src/summaryview.c: summary_selected(): added an option to show
2406 message when cursor keys are pressed on summary view.
2412 src/compose.c: changed "host_alias" to "target_alias" so that it
2413 shows the correct system name on cross-compiling (thanks to
2418 * src/prefs_account.[ch]: added the option menu to force an
2419 authentication method for SMTP AUTH.
2421 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2422 specify the authentication method for SMTP AUTH.
2423 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2427 * src/prefs_common.[ch]
2428 src/compose.c: enabled "Wrap on input".
2432 * src/summaryview.[ch]
2433 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2434 Made some code cleanups.
2439 src/prefs_common.[ch]: added the hidden option to specify the
2440 policy of the vertical scrollbar on folder view.
2444 * src/messageview.[ch]:
2445 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2447 messageview_get_current_textview(): new.
2448 messageview_get_text_widget(): removed.
2449 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2450 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2451 text_inserted(): new callback for "insert_text" signal.
2452 Add quote mark to the pasted text if Compose::paste_as_quotation
2457 * src/compose.c: if the Content-Type of a file is text/*, check
2458 its content and set the optimal Content-Transfer-Encoding (thanks
2463 * src/textview.c: textview_key_pressed(): pass key press event to
2464 main window to activate menu shortcuts (thanks to Alfons).
2468 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2469 for mtime to prevent flooring.
2472 imap_move_msgs_with_dest()
2473 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2475 imap_parse_envelope()
2476 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2477 full information of messages and simplify the parser. Also fixed
2478 the bug that References header was ignored on threading.
2479 imap_parse_one_address()
2480 imap_parse_address(): removed.
2481 imap_get_header(): new. It reads the RFC822 header and returns
2482 a newly allocated string.
2483 * src/procheader.[ch]: changed procheader_parse() to
2484 procheader_parse_stream() and added different interfaces for it.
2488 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2496 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2497 could be inserted into the hash table.
2498 inc_write_uidl_list(): a minor code cleanup.
2499 * src/mainwindow.c: main_window_get_current_state():
2500 make the state unexecutable on an empty folder.
2501 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
2502 * src/pop.c: minor code cleanups.
2506 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
2507 corrected the behavior of the radio buttons.
2511 * implemented 'Delete messages after N days' feature for POP3.
2513 inc_get_uidl_table()
2514 inc_write_uidl_list(): moved the location of UIDL list file from
2515 RC_DIR/uidl-* to RC_DIR/uidl/*.
2516 Added received time for each UIDLs.
2517 src/main.c: main(): create RC_DIR/uidl/ directory.
2518 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
2519 Added recv_time to Pop3MsgInfo.
2520 src/prefs_account.[ch]: added an option for the number of days for
2529 * src/folder.c: folder_set_missing_folders(): fixed a bug that
2530 caused multiplication of special folders on startup if their
2532 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
2537 * src/compose.c: compose_reply(), compose_forward(): reverted the
2538 last change since it causes lockup problem.
2542 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
2544 compose_new_with_recipient(): workaround for initial XIM problem.
2548 * src/mainwindow.c: sort ascending / descending order can be
2549 specified with separated menu items.
2550 Added "View/Sort/Don't sort" menu item.
2551 * src/summaryview.[ch]: summary_sort(): added an argument for
2556 * implemented persistent sort order.
2558 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
2559 folder_write_list_recursive(): write sorting state.
2561 src/summaryview.[ch]: summary_show(): sort if required.
2562 select the top node on descending sort.
2563 Removed SummarySortType and sorting state variables from
2571 src/prefs_account.[ch]: enabled NNTP over SSL.
2572 * src/nntp.c: nntp_group(): issue MODE READER command and retry
2573 when GROUP command once failed (this seems to avoid problems on
2574 some broken news servers).
2578 * faq/it/*.html: corrected DOS linebreaks.
2579 * faq/*/*.html: changed ">" to ".
2583 * src/prefs_account.c: prefs_account_protocol_activated(): hide
2584 unnecessary frames in SSL tab.
2590 src/prefs_account.[ch]: enabled STLS command in POP3.
2591 * src/account.c: account_clist_set_row(): display TLS setting.
2595 * src/compose.c: compose_send_later_cb(): support redirect function.
2598 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
2600 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
2604 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
2605 * src/compose.c: compose_create(): removed unrequired lines.
2609 * src/news.c: news_scan_group(): fixed a bug that set the wrong
2610 values in some cases.
2611 * src/prefs_account.c: corrected English in Advanced - Folder
2616 * src/textview.c: textview_show_message(), textview_show_part():
2617 fixed a bug that GtkSText *text pointed the incorrect object.
2618 textview_add_part(): freeze GtkSText while adding RFC822 headers.
2619 textview_show_part(): fixed a bug that couldn't display single
2620 part MIME message as text.
2624 * src/compose.c: compose_redirect_write_to_file(): correct the target
2625 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
2626 incomplete file when an error occured.
2631 compose_create(): disable menus for draft on redirection mode.
2632 compose_redirect_write_to_file(): correct the error handling of
2634 * src/prefs_common.c: turned off the "Display recipient on `From'
2635 column if sender is yourself" option by default.
2639 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
2640 Based on the implementation of the claws branch.
2641 compose_redirect(): create a new window and make it uneditable.
2642 compose_redirect_write_to_file(): copy headers and body of
2643 original message except for some.
2644 compose_redirect_write_headers(): add extra "Resent-*" headers.
2645 compose_create(): set menu sensitivity for redirection mode.
2649 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
2650 space is inserted between encoded string and the following folded
2651 one (thanks to Masahiro Tomita).
2655 * src/mainwindow.[ch]: some refactoring has been made.
2656 main_window_toggle_message_view(): moved summary_toggle_view_real()
2658 * src/messageview.[ch]: messageview_is_visible(): new.
2659 * src/summary_search.c
2660 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
2661 Instead use messageview_is_visible().
2665 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
2666 * src/summaryview.[ch]:
2667 summary_expand_threads(), summary_collapse_threads(): new.
2671 * src/mainwindow.c: Fixed the behavior of
2672 '/View/Show or hide/Folder tree' and
2673 '/View/Show or hide/Message view' toggle menu.
2674 Removed '/View/Toggle summary view' menu and integrated the
2675 function into '/View/Show or hide/Message view'.
2676 main_window_set_widgets(): change the state of toggle menu items.
2677 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
2682 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
2683 MIME contents other than text as children of message/rfc822 part.
2685 procmime_mimeinfo_next(): modified for message/rfc822 part which
2686 content-type is single part MIME.
2687 procmime_scan_multipart_message(): fix for nested message/rfc822
2688 part. Corrected the size of the contents of message/rfc822.
2689 * src/textview.c: textview_show_part(): extract the contents of
2690 multipart/* and message/rfc822. Some code cleanups.
2691 textview_add_parts(): new. It adds the all parts under a part to
2693 textview_clear(): reset body_pos and cur_pos.
2697 * src/addr_compl.c: modified so that it behaves better.
2698 get_address_from_edit(): ignore comma inside of brackets.
2699 completion_window_apply_selection(): new. Only apply the current
2701 completion_window_accept_selection(): removed.
2702 address_completion_complete_address_in_entry(): minor code cleanup.
2703 don't replace address in entry here.
2704 completion_window_select_row(): always apply clist selection to
2706 completion_window_key_press(): don't apply selection here.
2710 * src/imap.c: imap_create_folder(): keep trailing directory separator
2711 to create a folder that contains sub folder.
2715 * src/foldersel.c: sort tree with case insensitive.
2716 * src/mainwindow.c: allsel_cb()
2717 src/messageview.c: messageview_select_all(): fixed 'Select all'
2719 * src/mainwindow.c: removed common and account prefs button from
2724 * src/compose.c: compose_account_option_menu_create(): check if
2733 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
2734 manual/en/*: updated the English manual.
2736 faq/it/*: added German and Italian FAQ.
2739 faq/fr/*: updated FAQs.
2741 src/mainwindow.c: added German and Italian language.
2745 * src/prefs_account.c: turn off "receive at get all" option by default
2746 when creating an IMAP or News account.
2750 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
2751 * src/prefs_folder_item.c: show also identifier path.
2752 Made layout using table. Show uneditable entry using background
2754 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
2759 * src/automaton.[ch]: added UI callback to Automaton.
2761 src/pop.c: use callback instead of calling inc_progress_update()
2763 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
2768 * src/folderview.c: properly sort abbreviated newsgroups.
2773 src/prefs_common.[ch]
2774 src/summaryview.c: added an option to specify the minimum length
2775 for abbreviated newsgroups name.
2779 * src/folderview.c: folderview_check_new(): skip unselectable folders.
2780 * src/summaryview.c: added 'Create filter rule' to the context menu.
2781 * src/imap.c: some code cleanups.
2782 imap_scan_tree_recursive(): get path separator for each calls.
2783 imap_get_path_separator(): new.
2787 * src/imap.[ch]: supported namespace for others/shared folders
2789 imap_parse_namespace(): parse also others/shared namespace.
2790 imap_find_namespace(): search also others/shared namespace.
2792 strchr_parenthesis_close(): return pointer to closing parenthesis.
2793 strsplit_parenthesis(): split parenthetic list into array of
2798 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
2799 parse date string like "Mon,6 May 2002 20:31:12 +0800".
2800 procheader_scan_date_string(): new. Separated string scanning
2801 part from procheader_date_parse().
2805 * src/summary_search.c: summary_search_execute(): unlock while
2806 selecting summary row (thanks to Martin Schaaf).
2807 * src/summaryview.c: summary_set_column_titles(): reversed the
2808 direction of the arrow so that it matches with Win/Mac style.
2812 * src/compose.c: compose_write_headers(): quote self address name
2813 if required. Some code cleanups. Don't override Newsgroups and
2814 Cc with custom headers.
2815 * src/imap.c: imap_add_msg(): return UID for appended message.
2816 * src/compose.c: compose_queue(): check if queue folder exists.
2817 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
2819 imap_open(): removed an unrequired argument.
2823 * src/utils.[ch]: trim_string(): new. It trim characters longer than
2824 the specified length and adds "...".
2825 * src/folderview.c: trim folder name when displaying dialog.
2829 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
2831 * src/folderview.c: folderview_select()
2832 src/summary_search.c: summary_search_execute(): lock summary view
2833 while searching (thanks to Martin Schaaf).
2841 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
2845 * src/summaryview.c: summary_show(): fixed a bug that didn't process
2847 * src/account.c: account_edit_prefs(): fixed a crash bug when account
2849 * src/prefs_account.c: prefs_account_apply(): display error dialog
2850 if account name is empty.
2851 * src/imap.c: changed some log_print() to debug_print() to reduce
2856 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
2860 mh_do_move_msgs_with_dest()
2862 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
2863 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
2864 if stat() succeeded.
2866 imap_fetch_msg(): SELECT mailbox before FETCH if required.
2867 imap_scan_folder(): set last_num using the value of UIDNEXT.
2868 imap_select(): return immediately if there is no need for SELECT.
2869 preserve the path of currently selected mailbox.
2870 imap_status(): added UIDNEXT.
2874 * src/folder.c: folder_item_scan(): removed the warning.
2875 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
2876 setting case sensitivity.
2880 * src/mainwindow.c: main_window_create(): restrict the minimum size.
2884 * src/compose.c: merged the new line-wrapping routine.
2885 join_next_line(): fixed a bug that didn't join multibyte
2887 get_indent_length(): modified enums and variable names.
2888 INDENT_CHARS: don't indent ':'.
2890 folderview_rename_folder_cb()
2891 folderview_delete_folder_cb(): support folder identifier.
2892 folderview_rm_imap_folder_cb(): integrated with
2893 folderview_delete_folder_cb().
2897 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
2898 * src/folderview.c: folderview_check_new(): abort checking if
2899 folder_item_scan() failed.
2903 * src/imap.c: imap_create_missing_folders(): create only INBOX and
2905 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
2906 type of news folders unchangeable.
2907 prefs_folder_item_destroy(): use prefs_dialog_destroy().
2908 * src/prefs.[ch]: prefs_dialog_destroy(): new.
2912 * src/prefs_account.[ch]: added special folder setting to Advanced
2913 tab. Also moved "IMAP server directory" setting to there.
2914 * src/account.[ch]: account_get_special_folder(): new. It returns
2915 the optimal special folder for accounts.
2916 * src/compose.c: use account_get_special_folder().
2917 * src/prefs_folder_item.[ch]: new. Implemented folder property
2918 dialog, and the special folder settings (most of the functions in
2919 claws are not integrated yet, and the structure is slightly
2921 * src/folderview.c: enabled Property menu.
2925 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
2926 scanning when encountering separators ',' and ';'.
2930 * src/mainwindow.c: reorderd the menu a bit.
2931 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
2932 compose_reply_set_entry(): made 'Reply to sender' work for
2937 * src/compose.c: compose_create(): set geometry hints to restrict
2938 the maximum size of window.
2939 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
2940 imap_get_uncached_messages()
2941 imap_cmd_fetch(): ignore responses which don't include FETCH.
2945 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
2946 the clause for OpenSSL).
2950 * src/prefs_account.c
2951 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
2957 src/session.[ch]: first reorganization of SMTP protocol handling.
2958 SMTPSession: new class which is a sub class of Session.
2959 smtp_session_new(): moved send_smtp_open() into this function.
2960 smtp_from(): moved SMTP AUTH calls into smtp_auth().
2961 smtp_auth(): use server response for SMTP AUTH method.
2962 smtp_ehlo(): read server response and set auth type flags.
2963 smtp_helo(): separated EHLO command.
2964 smtp_ok(): return the last server response if the buffer is
2966 * src/esmtp.[ch]: merged into smtp.[ch].
2967 * src/imap.c: imap_session_destroy_all(): use session_destroy().
2971 * src/imap.c: imap_open(): show warning message if IMAP4 session
2972 can't be established.
2976 * src/compose.c: made template able to be inserted into the current
2978 * src/mainwindow.c: moved some menu items under the submenu
2979 '/View/Show or hide'.
2984 src/inc.c: changed folder_find_item_from_path() to
2985 folder_find_item_from_identifier().
2987 src/prefs_filter.c: use folder_item_get_identifier() to specify
2992 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
2993 existed in claws' implementation).
2994 folder_find_from_name(): find Folder from name and type.
2995 folder_get_identifier(): return Folder id.
2996 folder_item_get_identifier(): return FolderItem id.
2997 folder_find_item_from_identifier(): find FolderItem from id.
2998 folder_get_type_string(): return folder type string.
2999 folder_get_type_from_string(): return FolderType from string
3000 (and fixed the wrong g_strcasecmp() usage).
3002 src/import.c: use folder_item_get_identifier() and
3003 folder_find_item_from_identifier().
3007 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3008 point the correct address after reading the continuous line.
3009 imap_scan_folder(): set new number to 0 if unseen number is 0.
3010 imap_parse_flags(): don't add new and unread flag if \Seen flag
3012 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3016 * fixed the old problem that couldn't add flags to currently opened
3019 compose_send(): update outbox after saving.
3021 compose_draft_cb(): use procmsg_add_flags().
3022 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3024 * src/main.c: send_queue(): send from all queue folders.
3025 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3027 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3028 procmsg_add_flags(): new. Add specified flags to the folder.
3029 procmsg_send_queue(): added an argument to specify queue folder.
3030 procmsg_save_to_outbox(): use procmsg_add_flags().
3031 * src/summaryview.c:
3032 summary_show(): up the opened flag of FolderItem.
3033 summary_clear_list(): down the opened flag of FolderItem.
3034 summary_write_cache(): call procmsg_flush_mark_queue().
3038 * src/summaryview.[ch]: trim the tail of folder name and selected
3039 number on the status label if the space is not enough.
3043 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3044 set SpecialFolderItemType when creating special folders under
3046 * ac/gpgme.m4: removed.
3048 * ac/missing/gdk-pixbuf.m4
3049 ac/missing/gettext.m4
3051 ac/missing/imlib.m4: added for convenience.
3055 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3056 shown after the decoded challenge string. Fixed a memory leak.
3058 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3059 * src/folderview.c: folderview_update_node(): disable emphasis
3060 for Outbox and Draft folders.
3064 * src/messageview.c: messageview_show(): fixed a memory leak.
3065 * src/summaryview.c: summary_save_as(): show error dialog if copy
3067 * src/about.c: about_show(): make the window active if it is already
3072 * src/compose.c: show confirmation dialog before sending if Subject
3074 compose_check_entries(): new.
3076 compose_send_later_cb(): use compose_check_entries().
3077 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3081 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3082 responses with continuous line correctly, and fixed a memory leak.
3086 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3088 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3089 after pasting with middle button to prevent the selection growth.
3094 folderview_rename_folder_cb()
3095 folderview_delete_folder_cb(): modify filter rules only if the
3096 target folder is in the default mailbox.
3097 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3104 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3105 Moved 'Delete duplicated messages' under 'Tools'.
3109 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3111 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3112 when folder creation failed, and re-try to create folders under
3114 imap_scan_tree_recursive(): don't automatically add namespace
3115 prefix if it's INBOX. Search also under the INBOX for special
3117 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3122 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3123 abbreviated newsgroup name.
3124 * src/folderview.c: folderview_update_node(): display newsgroups
3125 with abbreviated name if name and path is the same.
3126 * src/summaryview.c: summary_status_show(): show the newsgroup with
3132 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3133 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3134 imap_create_missing_folders(): fixed the wrong assignment of
3135 Queue folder to draft.
3139 * enabled Sent / Draft / Queue folders on IMAP server.
3140 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3141 queue and draft folder if they exist.
3143 imap_create_trash(): removed.
3144 imap_create_special_folder(): new. Generalized imap_create_trash().
3145 imap_create_missing_folders(): automatically create missing folders.
3146 imap_is_msg_changed(): added the dummy method.
3147 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3148 folders. Minor code cleanups.
3149 imap_parse_envelope(): check for null strings.
3150 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3151 for messages on IMAP folder.
3155 * src/compose.c: compose_send(): use account's outbox folder
3157 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3158 that the outbox can be specified.
3162 * src/compose.c: don't save to outbox when messages are queued.
3163 compose_save_to_outbox(): moved to procmsg.c.
3164 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3166 procmsg_save_to_outbox(): new. Removes the queueing headers if
3167 needed, and adds the given file to the outbox.
3171 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3172 get_indent_length(): treat ':' and '#' also as quote char, and
3173 cleaned up using strchr().
3177 * src/mainwindow.c: modified some menu items.
3181 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3182 (current "outbox" will be kept until rescan).
3183 * src/folder.c: folder_set_missing_folders(): create the missing
3186 src/folderview.c: changed 'Outbox' to 'Sent'.
3187 * src/main.c: call folder_set_missing_folders().
3188 * src/mh.c: mh_scan_tree(): create missing folders.
3189 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3190 didn't set the menu sensitivity correctly.
3195 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3196 folderview_rename_folder_cb(): reopen the current folder when
3197 the ancestor is renamed.
3198 imap_rename_folder(): new method implementation.
3200 imap_rename_folder_func(): new.
3201 imap_remove_folder(): remove also the cache directory.
3205 * src/imap.c: implemented locale encoding <-> modified utf-7
3206 conversion, and supported i18n of folder name (thanks to Suzuki
3208 imap_path_separator_subst(): handle the escape characters of
3210 imap_modified_utf7_to_locale()
3211 imap_locale_to_modified_utf7(): new.
3212 imap_create_trash(): modified so that it create the Trash folder
3213 to the correct location when imap directory is specified.
3214 imap_get_real_path(): removed debug print.
3218 * src/socket.c: implemented timeout for DNS lookup and connect().
3219 sock_connect_by_hostname(): timeout support and code cleanup.
3220 sock_connect_with_timeout(): new.
3221 sock_peek(): implemented SSL peek.
3225 * src/messageview.c: messageview_show(): display single-part
3226 text/html messages with the normal text view.
3240 src/prefs_customheader.c
3241 src/prefs_display_header.c
3256 src/xml.c: added 'b' to the option of all fopen().
3264 * src/ssl.[ch]: match its coding style.
3265 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3269 faq/en/sylpheed-faq*.html
3271 faq/es/sylpheed-faq*.html
3273 faq/fr/sylpheed-faq*.html
3279 src/manual.[ch]: added FAQs in English, Spanish and French.
3283 * manual/en/sylpheed*.html: updated to the latest version.
3288 src/mgutils.c: include string.h to remove warning about strlen()
3302 src/summaryview.c: added break to the last label of switch to
3303 prevent the 'deprecated use of label at end of compound statement'
3305 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3309 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3311 inc_cancel_all(): new. It cancels the all current incorporation.
3312 * src/mainwindow.c: added 'Cancel receiving' menu.
3313 * src/textview.c: a minor fix for single-part MIME messages, and
3314 a bit of cleanup for textview_write_body().
3318 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3319 information if any errors occured before issuing UIDL command.
3320 src/inc.h: added uidl_is_valid to Pop3State.
3321 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3329 * src/mimeview.c: mimeview_create(): set the initial notebook page
3331 * src/folderview.c: folderview_selected(): scroll the view if the
3332 selected row is hidden.
3333 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3334 and select the added row.
3335 * src/summaryview.c: fix threading for null message ids.
3339 * src/textview.c: textview_show_message(): follow message/rfc822
3341 textview_add_part(): add a caption before the attached text files.
3342 textview_show_header(): don't add the newline.
3343 * src/messageview.c: enabled message search also in MIME mode.
3347 * src/messageview.c: messageview_show(): set header state of
3348 MimeView's TextView, too.
3349 * src/mimeview.c: mimeview_show_message(): call
3350 textview_show_message() to display message.
3351 * src/textview.c: textview_add_part(): new. It adds the content
3352 of message part without clearing the view.
3353 textview_show_message(): display all parts with appropriate
3355 textview_write_body(): separated from textview_show_part().
3360 src/prefs_common.c: added ISO-8859-15 to the codesets for
3361 displaying and sending.
3362 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3363 conversion failed, and made caller deal with it.
3364 * src/compose.c: compose_write_to_file(): show error dialog when
3365 code conversion failed, and let user select whether to send it
3367 * src/textview.c: textview_write_line(): show the original string
3368 if code conversion failed.
3372 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3373 if copy_mbox() failed (thanks to Alexander Kabaev).
3374 * src/prefs_account.[ch]: added separate user ID / password setting
3376 * src/send.c: send_message_smtp(): use separate user ID / password
3377 for SMTP AUTH if it is specified.
3382 src/pop.[ch]: refactored the UIDL management.
3383 store the information of messages into the array of Pop3MsgInfo
3384 structure, and do full scanning of not retrieved messages.
3390 src/mainwindow.c: set WMCLASS for window/dialog.
3391 * src/codeconv.c: conv_codeset_strdup(): return source string
3392 when jconv_alloc_conv() failed.
3396 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3403 src/summaryview.c: implemented the new notebook tab interface for
3405 * src/textview.[ch]: fixed line space related glitches.
3409 * src/prefs_filter.c:
3410 prefs_filter_rename_path()
3411 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3415 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3416 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3418 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3419 cancelled, and fixed potential crash bug.
3420 * src/grouplistdialog.c: enabled cancelling of data receiving.
3421 * src/news.c: news_get_group_list(): destroy current session if
3426 * src/manage_window.[ch]: fixed a bug that caused crash when
3427 the main window was hidden.
3428 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3429 Monitor "unmap_event", "destroy" events.
3436 src/grouplistdialog.c
3440 src/message_search.c
3444 src/prefs_customheader.c
3445 src/prefs_display_header.c
3447 src/prefs_template.c
3448 src/summary_search.c
3449 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3450 connect signals for window management.
3454 * src/prefs_account.[ch]: added receive size limit option.
3455 * src/pop.c: skip messages larger than the limit size.
3456 LOOKUP_NEXT_MSG(): new macro.
3457 * src/compose.c: compose_attach_append(): check whether the file
3462 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3463 changed g_message()'s to debug_print() and g_warning().
3464 rfc2015_decrypt_message(): fixed a bug that duplicated message
3465 parts when decryption was failed/cancelled. And made some code
3467 * src/passphrase.c: made the dialog transient.
3468 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3473 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3474 messages if GPGME was enabled.
3475 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3477 * src/prefs_account.c: prefs_account_privacy_create(): modified
3478 the vertical spacing.
3482 * src/menu.[ch]: menu_set_sensitive_all(): new.
3483 menu_set_insensitive_all(): made it a wrapper for
3484 menu_set_sensitive_all().
3485 * src/prefs_account.c:
3486 prefs_account_open()
3487 prefs_account_protocol_set_optmenu(): made the protocol type
3488 unchangeable after creating an account.
3489 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3490 extract all attathed files from nested multipart MIME message.
3494 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3495 obtain minimum/maximum number, and to specify first number
3498 src/inc.c: enabled new message checking on news folder.
3499 * src/news.c: news_scan_group(): implemented. Guess new/unread
3500 message number from the response of GROUP command and the mark
3502 news_select_group(): return the total/first/last number.
3503 * src/prefs_account.c: prefs_account_receive_create(): modified
3504 the text of the 'Get all' check button.
3508 * src/account.c: made 'Get all' checkbox available for IMAP4 and
3510 * src/inc.c: corrected the argument of folderview_check_new().
3511 * src/prefs_account.c: modification for the "`Get all' checks for
3512 new mail on this account" checkbox.
3516 * src/folderview.[ch]:
3517 folderview_rescan_tree(), folderview_rescan_all(): renamed from
3518 folderview_update_tree() and folderview_update_all().
3519 folderview_update_all_node(): removed.
3520 folderview_check_new(): new. If the argument is NULL, it checks
3521 all local folders. If the arguments is specified, it checks
3522 the (local and remote) folder.
3525 inc_all_account_mail(): check also IMAP4 account.
3530 folderview_rename_folder_cb()
3531 folderview_delete_folder_cb(): modify the filter rules when folder
3533 * src/prefs_filter.[ch]:
3534 prefs_filter_rename_path(): new. It renames the destination paths
3536 prefs_filter_delete_path(): new. It deletes the filter rules if
3537 the destination paths matched.
3538 * thanks to Neill Miller for above.
3542 * src/compose.c: inherit attached files when forwarding or reediting
3543 (rewrote the code in claws branch).
3544 compose_attach_parts(): new. It extracts and attaches the files
3545 in the given message.
3546 compose_attach_append(): chnaged the types of arguments.
3547 * src/messageview.c: messageview_show(): moved the GPG decryption
3549 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
3557 * src/summary_search(): summary_search_execute(): scroll the view
3558 when message view is hidden.
3562 * src/foldersel.c: foldersel_set_tree(): made different type of
3563 folders selectable in moving mode.
3564 * src/folderview.[ch]: folderview_update_msg_num(): compare the
3565 numbers with the CTree's labels, and don't update folder_item here.
3566 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
3567 implemented moving between different type of folders.
3568 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
3569 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
3570 mh_move_msg() and mh_move_msgs_with_dest()).
3571 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
3572 moving between different type of folders.
3573 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
3574 * src/summaryview.c: summary_status_show(): update folder_item
3576 * po/POTFILES.in: removed reference to headerwindow.c.
3577 * src/summaryview.c: summary_step(): fixed the behavior on the
3578 head and tail of the list.
3582 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
3583 all header' toggle state from the property of the TextView.
3584 * src/summaryview.[ch]: made 'All header' toggle switch.
3585 Prohibited unnecessary menu update.
3586 summary_select_node(): added the argument 'do_refresh'.
3591 * src/utils.c: strsplit_with_quote(): remove quotation characters
3592 in the function (fix composer's external editor problem) (thanks
3593 to Stefaan A Eeckels).
3594 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
3595 main_window_menu_callback_block()
3596 main_window_menu_callback_unblock(): new.
3597 main_window_set_menu_sensitive(): set the toggle status of
3599 show_all_header_cb(): read the status of toggle menu item.
3600 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
3601 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
3606 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
3607 the path separator (thanks to Sergey Vlasov).
3608 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
3609 if the length of selection is zero.
3610 Fixed the assertion.
3611 * src/utils.c: str_open_as_stream(): return immediately if
3612 the length of str is zero.
3613 * src/headerwindow.[ch]: removed.
3615 src/inc.c: removed stale thread support codes.
3619 * src/procmsg.c: procmsg_open_message(): modified so that it
3620 returns the stream of decrypted message file if it exists
3621 (this fixes the failure of gpg decryption in messageview.c).
3631 src/prefs_template.c
3633 src/quote_fmt_parse.y
3635 src/utils.[ch]: if the part of the message text is selected, use
3636 it for quoted text instead of the entire message body (thanks to
3638 src/utils.[ch]: str_open_as_stream(): new. It returns an
3639 temporary stream for the given string.
3640 * src/main.c: added "--send" command line option.
3641 * src/compose.c: compose_reply_set_entry(): add From address to
3642 Cc if Reply-To and to_all are both specified.
3643 * Makefile.am: correct the Source: line in the RPM spec file in
3648 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
3650 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
3651 that specifies the folder selection type.
3662 src/prefs_customheader.c
3664 src/summaryview.c: made it compile with C compilers other than gcc
3665 (thanks to Shawn Houston).
3669 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
3671 * src/prefs_common.c: made the key binding setting separate dialog.
3672 * src/addressbook.c: addressbook_format_address(): add "" around
3673 the display name if it contains comma (thanks to Satoshi Watanabe).
3674 * src/addr_compl.c: get_complete_address(): add "" around the
3675 display name if it contains comma.
3676 get_address_from_edit(): handle the quotation character correctly.
3677 * src/addr_compl.c: get_complete_address()
3678 src/addressbook.c: addressbook_format_address(): fixed a bug that
3679 caused wrong text processing if the display name is empty.
3684 * src/compose.c: compose_exec_ext_editor_real(): replaced
3685 g_strsplit() with strsplit_with_quote().
3687 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
3689 folderview_drag_motion_cb()
3690 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
3691 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
3695 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
3696 of the message is different from the current mailbox.
3697 Return the correct value.
3698 imap_cmd_append(): properly implemented the APPEND command.
3703 src/messageview.[ch]
3704 src/summaryview.[ch]
3705 src/textview.[ch]: show all headers in the message view, and don't
3706 use the header window anymore.
3708 src/prefs_common.c: changed the default shortcut of 'compose new
3711 src/summaryview.[ch]: summary_display_msg_selected(): new.
3712 Show the selected message if 'Show all header' is selected.
3714 src/sourcewindow.c: changed some procmsg_get_message_file_path()
3715 to procmsg_get_message_file() to be sure the message is
3717 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
3718 any folder to MH folder.
3719 folderview_drag_received_cb(): copy messages instead of moving
3720 if the source folder is news or IMAP.
3722 src/summaryview.c: allow copy from news folder.
3726 * src/prefs_common.c: prefs_other_create(): modified the design
3727 of the external command settings.
3728 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
3729 preset closer to the original.
3730 Added Mutt keybind preset.
3731 Also change the compose keybinds.
3732 * src/compose.c: modified some menu shortcuts.
3733 * src/codeconv.c: modified the locale_table for Thai encoding.
3737 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
3738 * src/prefs_common.c: prefs_interface_create(): modified the
3739 description for menu shortcut.
3743 * src/gtkutils.[ch]: added gtk_stext_clear().
3746 src/summaryview.[ch]: enabled multiple forwarding.
3747 * src/summaryview.c:
3748 summary_set_marks_selected(): set marks for all selected row.
3749 summary_reply(): moved from summary_reply_cb().
3750 * compose.[ch]: compose_forward(): modified so that it receives
3752 * src/mainwindow.c: cleanup for reply processing.
3753 * src/summaryview.c: summary_reply(): fixed a memory leak.
3754 summary_key_pressed(): removed hardcoded mark / mark as unread
3757 src/prefs_common.c: added mark / mark as unread shortcuts to
3762 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
3763 if prefs_common.linewrap_quote is not set (it is only for
3764 auto-wrapping on reply).
3765 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
3766 when creating a new account.
3767 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
3769 * src/prefs_common.c: prefs_interface_create(): modified the
3770 description of key binds selector.
3774 * src/mimeview.c: fixed multiple dialog / moving by correcting
3775 button / key event processing.
3777 src/textview.c: pass some key press events to MimeView in MIME
3779 * src/prefs_filter.c: fixed a bug that didn't set the order of
3781 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
3782 empty_menurc string.
3787 src/prefs_common.c: reorganized the menu shortcuts.
3788 Added 'View - Toggle summary view'.
3789 * src/summaryview.[ch]: summary_toggle_view(): made it public
3791 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
3793 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
3794 closing the dialog with window manager (in more appropriate way).
3795 * src/imageview.[ch]
3797 src/mimeview.c: fixed wrong scrolling position when switching
3798 between text and image parts. Also free the unrequired image
3799 (thanks to Sergey Vlasov).
3800 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
3805 * src/prefs_common.c: implemented shortcut quick changer.
3806 * src/folderview.c: folderview_key_pressed()
3807 src/summaryview.c: summary_key_pressed(): removed some hardcoded
3813 procmime_get_mime_type()
3814 procmime_get_mime_type_table(): made the MIME type search case
3817 gtk_stext_delete_line(): delete newline on empty line.
3818 gtk_stext_delete_to_line_end(): delete newline if cursor is on
3820 (thanks to Yasuzaki Masayoshi.)
3825 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
3826 and made them customizable.
3827 * src/utils.[ch]: added get_file_size_as_crlf() which returns
3828 the file size when converting LF to CR+LF.
3832 * src/compose.c: enabled 'Ctrl-Enter' or
3833 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
3835 * src/gtkstext.c: disabled some Emacs key bindings.
3836 gtk_stext_key_press(): don't extend selection when Shift-Enter
3837 is pressed to prevent the disapperance of cursor.
3838 * src/summaryview.c: summary_select_next_unread(): added the button
3839 to search unread message again from the beginning to the dialog.
3840 * src/folderview.c: folderview_key_pressed(): go to next unread
3841 folder if space key is pressed on the empty folder.
3842 Move CTree focus before selecting row.
3846 * src/defs.h: modified the XLFD of default fonts.
3847 * src/textview.c: textview_create(): fixed a bug that caused
3848 segfault if font couldn't be loaded.
3850 src/grouplistdialog.c: compare subscribed groups with path.
3851 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
3855 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
3856 when URL is wider than wrapping margin.
3858 src/prefs_filter.[ch]
3859 src/summaryview.[ch]: added "Create filter rule" function based
3860 on the patch from Luca Rosellini.
3861 * src/summaryview.c: summary_filter_open(): added X-List and
3862 X-Mailing-list to the automatically detected headers.
3866 * configure.in: support Mac OS X (Darwin).
3870 * src/prefs_filter.c: use inc_(un)lock() instead of
3871 inc_autocheck_timer_{remove|set}().
3872 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
3873 instead of gtk_ctree_sort_node() so that messages within threads
3875 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
3876 target of sizeof was wrong and caused crash on Alpha architecture
3877 (thanks to Motonobu Ichimura).
3882 foldersel_gnode_func(): made the names of special folders
3884 foldersel_set_tree(): move the special folder to the top.
3885 * src/inputdialog.[ch]: input_dialog_query_password(): new.
3889 src/send.c: use input_dialog_query_password() instead of their
3890 own query functions.
3894 * src/defs.h: modified the default font.
3898 src/news.[ch]: moved the class definition and some methods to
3899 the proper location.
3903 * src/mimeview.c: mimeview_save_as()
3904 src/summaryview.c: summary_save_as(): put the default filename
3905 based on the subject.
3906 * src/utils.[ch]: added subst_chars() and subst_for_filename()
3907 which substitute some special characters with underscore.
3908 * src/filesel.c: filesel_select_file(): select the default filename.
3913 INSTALL.jp: added the description and the URL for libjconv.
3914 * src/mainwindow.c: menu entries cleanup.
3920 src/about.c: modified the copyright year.
3921 * src/gtkstext.h: added the notice for modification by the Sylpheed
3927 INSTALL.jp: added the URL for compface.
3935 * src/headerwindow.c
3938 src/sourcewindow.c: set wmclass when creating windows.
3942 * src/compose.c: compose_wrap_line_all(): fixed the bug that
3943 caused infinite loop when wrapping certain patterns of quoted text.
3947 * src/imap.c: imap_parse_envelope(): put the assertion after
3948 imap_parse_address() to prevent segmentation fault.
3953 src/mainwindow.c: modified some labels of menu items.
3954 * src/ldif.c: put the return value of fgetc() in a gint.
3955 * src/importldif.c: don't brace null strings with _().
3956 * src/compose.c: moved the position of Subject entry to the last.
3957 Reorganized the menu.
3958 compose_draft_cb(): added 'keep editing after saving to draft'
3963 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
3964 menu. Moved 'Help' menu to just the right of 'Configuration'.
3965 Removed 'File - Close' menu item.
3969 * src/mainwindow.c: some menu reorganization.
3970 * AUTHORS: updated. Added more contributors.
3971 * src/account.c: account_row_moved(): new. Moves displayed row to
3972 the appropriate position when up / down button are pressed.
3973 account_clist_set(): move displayed row to the appropriate position.
3975 src/mainwindow.c: set title and wmclass when creating windows.
3979 * src/gtkstext.c: fixed a bug that didn't show block cursor
3980 correctly. Removed unnecessary GdkGC copy. Fixed cursor
3985 src/undo.c: modified to use GtkSText.
3986 * src/menu.h: added #include <gtk/gtkmenu.h>.
3991 configure.in: added XIM checking for GTK+.
3992 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
3996 * src/filter.c: added #include <sys/types.h>.
4000 * src/template.c: template_write_config(): fixed a typo.
4001 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
4003 src/prefs_filter.c: supported regular expression (thanks to
4005 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
4006 undo state when pasted clipboard was empty.
4007 undo_check_size(): use g_list_last().
4009 undo_redo(): fixed NULL checking and made a bit of optimization.
4011 * src/prefs_common.c: changed the default value of linewrap length
4016 * reorganization of pixmap management.
4017 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
4018 * modified every files which directly use pixmaps data to use
4020 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
4021 undo_set_change_state_func(), and changed its argument from
4022 GtkWidget* to gpointer.
4023 undo_merge(): code cleanup.
4024 * src/compose.c: renamed compose_set_undo() to
4025 compose_undo_state_changed().
4029 * src/account.c: account_find_from_address(): made it case
4031 * src/addressbook.c: addressbook_create(): set wmclass.
4032 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
4035 src/ldif.[ch]: merged from the claws branch.
4036 * src/importldif.c: removed some warnings.
4037 imp_ldif_field_list_toggle(): fixed button checking.
4038 imp_ldif_dialog_create(): minor layout fix.
4039 * src/ldif.c: removed some warnings.
4041 INSTALL.jp: updated confirmation list.
4044 vcard_test_read_file(): fixed a memory leak of tagtemp.
4045 Some code cleanups (decreasing the indent level).
4048 src/syldap.[ch]: disabled runtime library checking because JPilot
4049 and LDAP libraries are linked on the build time, and the program
4050 doesn't execute without them anyway.
4052 src/addrindex.c: changed "J-Pilot" to "JPilot".
4053 Removed warning for atoi().
4057 * src/procmsg.c: procmsg_empty_trash()
4058 src/mainwindow.c: main_window_empty_trash(): empty trash only if
4059 it contains some messages.
4060 * src/imap.c: search_array_str(): new.
4061 imap_status(): fixed a bug that didn't parse the command response
4066 * merged undo function (by Jens Oberender).
4067 * src/undo.[ch]: new.
4068 undo_insert_text_cb(): fix for multibyte characters (obtain the
4069 number of letters instead of bytes).
4070 * src/compose.[ch]: added the code for undo.
4071 * src/prefs_common.[ch]: added the interface for setting undo level.
4075 * src/compose.c: compose_template_apply()
4076 src/prefs_template.c: prefs_template_clist_set_row()
4077 src/template.c: template_write_config(): don't replace To: and
4078 Subject: entry in composition window if they are empty.
4086 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
4087 * src/ldif.c: ldif_get_line(): ignore CR.
4088 * src/mimeview.c: mimeview_show_message(): search also text/html
4089 for first text part.
4093 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
4094 that didn't update accountrc if account_list == NULL (thanks to
4099 * src/utils.h: added the macro Xstrcat_a() that concatenates
4100 two strings and return alloca'd string.
4101 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
4102 handle folder name which includes some spaces correctly
4103 (based on the patch from Willem van Engen (thanks!)).
4104 * src/compose.c: compose_wrap_line_all(): fixed the crash when
4105 wrapping long lines if linewrap quotation is disabled and
4106 a word spanning more than one line.
4110 * applied the Tobias' patch with modification (thanks!).
4112 imap_msg_set_perm_flags()
4113 imap_msg_unset_perm_flags(): new. They set permanent flags to
4116 src/summaryview.c: set flags on IMAP server when flags are changed.
4120 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
4121 of gtk_container_remove() for workaround of a bug in
4122 Gtk{Text,Entry} (thanks to Sergey Vlasov).
4128 src/textview.c: replaced gtk_container_remove() with
4129 gtkut_container_remove(), and removed previous partial fix.
4133 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
4134 checked user ID on "local", but didn't on IMAP4.
4135 * src/imap.c: imap_session_get(): fixed a crash bug when
4136 rfolder->session == NULL.
4137 * Makefile.am: changed the arguments of tar from 'chojf' to
4139 * src/summaryview.c: summary_toggle_view(): disclaim the selection
4140 of textview before removing vpaned.
4144 * src/messageview.c: messageview_change_view_type(): disclaim the
4145 selection before removing textview. This solves the mysterious
4146 copy-paste disability (thanks to Melvin Hadasht).
4147 * src/textview.c: textview_set_font(): use
4148 gtk_editable_claim_selection() instead of
4149 gtk_editable_select_region().
4153 * src/prefs_template.c: prefs_template_window_create(): supported
4154 address completion on the To: entry.
4159 folder_count_total_msgs()
4160 folder_count_total_msgs_func(): use g_node_traverse() to traverse
4165 * src/compose.c: fixed a bug that empty body was refused.
4166 * src/prefs_template.c: fixed a bug that didn't set To: entry
4167 correctly. Display error dialog if format is illegal.
4168 * src/prefs_common.c
4170 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
4171 "{ }" to prevent confusion on using parenthesis.
4172 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
4176 * src/prefs_template.c: added colon to the header labels.
4181 src/prefs_template.c
4182 src/template.[ch]: added To field to the template.
4186 * src/textview.c: textview_show_part(): use first found
4187 message/rfc822 header.
4188 * src/folderview.c: added "Search messages..." to the context menu.
4189 * src/prefs_common.c: prefs_quote_description_create(): added
4190 description for characters which need to be escaped.
4194 * src/compose.c: compose_wrap_line_all(): more merging from claws.
4195 GET_CHAR(): renamed GET_TEXT() and made it more generic.
4196 Modified compose_wrap_line() and compose_wrap_line_all() to use
4198 * src/textview.c: textview_show_part(): show the header of nested
4199 RFC822 attachment correctly.
4204 src/main.c: added --status option to get new, unread and total
4205 message count from a running Sylpheed (merged from claws).
4206 prohibit_duplicate_launch(): output '\n' only once.
4211 src/gtkutils.[ch]: merged the new wrapping function.
4212 gtkut_text_str_compare_n()
4213 gtkut_text_str_compare()
4214 gtkut_text_is_uri_string(): backport from the GtkSText in the
4215 claws branch, and made modification.
4216 * src/prefs_template.c
4217 src/template.[ch]: added Subject to the template.
4221 * src/compose.c: compose_write_headers(): added missing parenthesis
4222 that generated invalid custom header (thanks to Masaaki Noro).
4223 Allow Sender: custom header.
4227 * src/procheader.c: procheader_date_parse(): workaround for
4228 RFC-incompliant Date header.
4232 * src/addrbook.c: removed redundant functions, and fixed generation
4233 of spurious address book file names.
4234 * src/addrindex.c: V-Card -> vCard.
4238 * src/textview.c: get_email_part(): replaced isalnum() with
4239 the macro IS_ASCII_ALNUM() which restricts the range of
4240 characters to 7bit ASCII (thanks to Shimamoto).
4241 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
4246 * src/textview.c: textview_show_part(): show headers on nested
4251 * src/imap.c: imap_session_get()
4252 src/news.c: news_session_get(): fixed segfault when reconnection
4254 * src/grouplistdialog.c: removed redundant code, and expand nodes
4255 that doesn't match the pattern.
4259 * src/compose.c: modified so that it sends message when any of
4260 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
4261 compose_check_for_valid_recipient(): new.
4262 * src/grouplistdialog.c: improved the UI.
4263 Added appropriate description and search button.
4264 Search doesn't get group list again.
4268 * src/news.[ch]: news_session_get(): update the last access time
4270 news_group_list_free(): new.
4271 * src/grouplistdialog.c: free resources correctly.
4276 src/grouplistdialog.[ch]: more merging of new newsgroup
4277 subscription dialog.
4278 * src/news.[ch]: renamed news_remove_group_list() to
4279 news_remove_group_list_cache().
4283 * src/defs.h: added MAX_ENTRY_LENGTH definition.
4284 * src/compose.c: compose_add_entry_field(): create new entry with
4289 * src/grouplistdialog.c: made non-leaf node selectable.
4290 Give the complete newsgroup name for each nodes.
4294 * src/grouplistdialog.c
4295 src/news.[ch]: merging of new newsgroup subscription dialog
4296 (still in progress. Don't use it yet!).
4300 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
4301 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
4303 compose_entries_set(): new. It parses mailto URL and put each
4304 values into the entries.
4308 * src/compose.c: compose_forward(): fixed a bug that forward
4309 quote mark wasn't used (thanks to Hironori IWANE).
4312 src/prefs_common.c: added Thai encodings (thanks to Manrat
4317 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
4321 src/news.c: added last_access_time to Session.
4322 imap_session_get(): check connection only when access interval
4331 * src/socket.c: ssl_gets(): use SSL_peek.
4332 * updated NEWS and AUTHORS.
4333 * Makefile.am: fixed release target.
4337 * src/template.c: changed the format of template file to
4339 * src/compose.c: compose_template_apply(): freeze the text widget
4340 while inserting strings.
4344 * po/POTFILES.in: removed src/template_select.c.
4345 * src/summaryview.c: summary_set_header()
4346 src/address.c: address_parse_str()
4347 src/filter.c: filter_read_str()
4348 src/news.c: news_parse_xover()
4349 src/procheader.c: procheader_get_fromname()
4350 src/utils.c: subject_compare():
4351 replaced Xalloca() + strcpy() with Xstrdup_a().
4352 * src/inputdialog.[ch]: added combo mode.
4353 input_dialog_combo(): new.
4354 * src/prefs_common.[ch]: added MIME open command setting.
4355 prefs_common_{read, save}_config(): read / write command history.
4356 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
4357 * src/utils.[ch]: add_history(): history list management function.
4361 * src/compose.c: select templates from the menu.
4362 compose_set_template_menu(): new.
4363 compose_reflect_prefs_all(): new.
4364 compose_template_apply(): new. Use dummy MsgInfo for parsing.
4365 * src/template.[ch]: store template list to the static heap.
4366 template_get_config(): new.
4367 template_set_config(): new.
4368 * src/prefs_template.c: don't store template list to the global area.
4369 * src/template_select.[ch]: removed.
4370 * src/quote_fmt_parse.y: check folderitem when quoting messages.
4371 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
4372 (thanks to OSHIRO Naoki).
4376 * src/utils.[ch]: get_template_dir(): new.
4377 * src/template.c: use get_template_dir().
4381 * src/prefs_template.c: modified the dialog layout.
4382 Added symbol description button.
4383 * src/summaryview.c: show an arrow mark to the column of the sort
4385 summary_set_column_titles(): new.
4391 TODO.jp: updated the documents.
4395 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
4396 * src/textview.c: textview_key_pressed()
4397 src/mimeview.c: mimeview_key_pressed()
4398 src/summaryview.c: summary_key_pressed(): delete messages with
4403 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
4404 when SSL_read() returned 0.
4405 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
4407 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
4408 Add prototype of yylex() to suppress the warning.
4409 * merged the template function.
4410 * src/prefs_template.[ch]
4412 src/template_select.[ch]: new.
4413 Renamed prefs_templates_* -> prefs_template_*.
4414 * src/compose.c: added template menu. Added replyinfo to Compose.
4415 * src/mainwindow.c: added template setting menu.
4416 * src/quote_fmt_lex.l: output literal tab and return as is.
4417 * src/prefs_common.c: changed the pref. name of quote format to
4418 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
4422 * src/prefs_common.[ch]: added Quote tab, and moved the quote
4423 setting from Compose tab.
4424 * merged the new quote format parser.
4425 * src/quote_fmt_lex.h
4428 src/quote_fmt_parse.y: new files for quote format parser.
4429 * configure.in: added checks for lex and yacc.
4430 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
4432 compose_quote_fmt(): new.
4433 * src/prefs_common.[ch]: added forward format setting to the
4434 Quote tab. Updated the quote description dialog.
4435 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
4436 if they couldn't get text part.
4440 * src/pixmaps/checkbox_off.xpm
4441 src/pixmaps/checkbox_on.xpm: new.
4442 * src/account.c: display `get all' status with the checkbox pixmaps.
4446 * src/send.c: code cleanup. Pass account prefs structure instead
4448 Query password for SMTP AUTH if not specified (thanks to Mio).
4452 * src/procheader.c: procheader_parse(): fixed a bug that didn't
4453 parse multiple message-id in In-Reply-To: header correctly
4454 (thanks to KAJIWARA).
4458 * src/account.c: enabled 'Get all' setting by clicking the 'G'
4459 column of account list, and added some description.
4460 * src/prefs_common.c: prefs_send_create(): added a description
4461 for outgoing codeset.
4465 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
4466 and added select button and short description.
4467 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
4469 procmime_get_mime_type_table()
4470 procmime_get_mime_type_list(): modified so that
4471 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
4472 $(HOME)/.sylpheed/mime.types are read.
4476 * src/prefs_account.c: moved the address auto-setting to the compose
4478 prefs_account_create(): removed gtk_widget_show_all() for proper
4480 * src/prefs_common.c: changed "Program path" to "Command".
4484 * src/textview.c: textview_set_font(): support Russian charset
4486 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
4490 prefs_summary_column.c: minor improvements to the English.
4491 * src/main.c: get_queued_message_num(): don't output the warning
4492 when queueing folder is not found.
4500 * src/prefs_summary_column.[ch]:
4501 made prefs_summary_column_get_config() public.
4502 * src/summaryview.c: summary_ctree_create(): some code cleanup.
4503 * configure.in: moved the position of SSL checking after LDAP
4504 for linking problem.
4509 src/summaryview.c: allowed reedit in the outbox.
4510 * src/prefs_summary_column.[ch]: new. UI for setting summary
4512 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
4513 It calls summary_set_column_order().
4514 * src/summaryview.[ch]:
4515 summary_ctree_create(): new. separated from summary_create().
4516 summary_set_column_order(): new. It destroys the current
4517 CTree and replaces it with the new one.
4521 * src/smtp.[ch]: smtp_from(): abort if auth failed.
4522 * changed C++-style comments into C-style in some files, and
4523 removed unnecessary commented out codes.
4524 * src/addrcache.[ch]
4528 src/syldap.[ch]: updated the addressbook code, and fixed the
4531 src/importldif.[ch]: new.
4535 * src/about.c: added some items to compiled-in features.
4536 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
4537 * src/addressbook.c: changed "V-Card" to "vCard".
4538 addressbook_edit_address_cb(): added
4539 invalidate_address_completion() to the point address is changed.
4540 * src/codeconv.c: changed C++-style comments into C-style.
4544 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
4548 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
4553 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
4555 * src/summaryview.c:
4556 summary_thread_init(): separated from summary_thread_build().
4557 summary_thread_build(): removed the codes for initialization.
4558 summary_set_ctree_from_list(): call summary_thread_init() instead
4559 of summary_thread_build().
4560 summary_filter(): fixed a bug that didn't moved messages despite
4561 of immediate execution setting.
4565 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
4566 reversed thread tree from message list.
4567 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
4568 node to the head instead of appending to the tail. This prevents
4569 the traverse of node list inside of the GtkCTree, and considerably
4570 speeds up the summary display (the order is O(n^2) -> O(n)).
4574 * src/prefs_common.c
4575 src/summaryview.[ch]: initial modification for reorderable columns.
4579 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a