3 * src/main.c: main(): don't save config files on startup.
8 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
10 Unset MSG_NEW flag if \Seen is set.
11 imap_get_uncached_messages(): fetch all messages if both first_uid
16 * src/imap.c: revamped the implementation so that it always
17 exactly reflects the state of IMAP4 servers.
18 imap_get_msg_list(): examine the state of messages using
20 imap_delete_cached_message(): removes single message cache.
21 imap_get_uid(): removed.
22 imap_cmd_search(): new. It issues UID SEARCH command and returns
24 imap_cmd_gen_recv(): made the length of strings unrestricted.
25 imap_get_uid_table(): returns a hash table from UID array.
32 src/news.[ch]: added Folder::close() method.
33 * src/summaryview.c: summary_clear_list(): call folder_item_close().
37 * flags are now taken over when copying messages into IMAP folders
44 mh_add_msgs(): flags can be also specified when adding files.
45 * src/folder.[ch]: added assertions for virtual functions.
46 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
48 procmsg_message_file_list_free(): new.
52 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
53 guint32 for portability (thanks to Alfons).
54 * src/imap.c: imap_add_msgs(): removed redundant unlink().
60 session_read_data_cb(): fixed a bug that ran into infinite loop
61 if connection was closed by remote host (thanks to Yoichi Imai).
62 Added SESSION_EOF state to SessionState.
63 session_is_connected(): new.
64 * src/inc.[ch]: inc_put_error()
65 src/send_message.c: send_put_error(): also put log messages.
69 * more optimization of IMAP4.
70 * src/folder.[ch]: added a method add_msgs() that adds multiple files
72 Removed redundant scan() for the operations of FolderItem.
73 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
74 and copy from other Folder instances.
75 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
76 mh_fetch_msg(): scan folder if required.
77 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
78 list from message list.
79 * src/summaryview.c: don't remove MSG_MARKED flags on
80 delete/move/copy operation.
81 summary_display_msg_full(): removed redundant message fetching.
85 * optimized move/copy/delete/mark operations of IMAP4 by using
86 sequence set when issuing commands (adopted claws' implementation
89 imap_set_message_flags()
92 imap_cmd_store(): take sequence set string instead of UID number.
93 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
94 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
96 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
98 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
99 instead of issuing commands for each message.
104 src/prefs_account.[ch]
106 src/session.[ch]: added an option to enable/disable non-blocking
111 * src/compose.c: compose_attach_append(): display message's subject
112 when attaching message/rfc822 file.
119 session_read_msg_cb()
120 session_read_data_cb(): optimized by removing sock_peek() and
121 buffering received data in user space (correctly implemented
126 * src/session.c: reverted the previous change because it couldn't
127 handle data receiving after messages correctly.
133 session_read_msg_cb(): optimized by removing sock_peek() and
134 buffering messages in user space.
138 * src/imap.[ch]: refactored.
139 Changed all functions that have SockInfo arguments to take
141 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
142 imap_open(): only establish TCP (or SSL) connection.
143 imap_session_new(): process greeting and authentication here.
147 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
149 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
150 type in Receive tab, and hide other protocols' frames.
154 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
156 * src/procmsg.c: procmsg_send_queue(): return number of sent
162 main_window_set_toolbar_sensitive()
163 main_window_set_menu_sensitive(): removed the locking of file
164 operations while receiving mail.
168 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
169 argument instead of message number.
170 * src/imap.[ch]: imap_remove_msg(): reimplemented using
172 * src/mh.[ch]: mh_do_move(): reimplemented using
173 mh_do_move_msgs_with_dest().
174 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
175 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
179 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
180 to suppress some warnings.
181 * src/logwindow.c: log_window_append(): don't scroll up when trimming
186 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
187 part when using PGP/MIME signing.
195 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
196 * src/session.c: session_read_msg_cb(): make it always fail if
197 sock_read() returns by error.
198 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
199 sock_has_pending_data(): removed.
200 Removed debug output.
201 * src/send_message.c: send_recv_message(): display messages to
206 * src/inc.[ch]: update received message number on CList while
208 * src/session.c: session_read_data_cb(): optimized by removing
209 g_malloc() and memcpy().
213 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
214 watch functions (otherwise uses g_io_add_watch()).
215 * src/session.[ch]: removed previous workarounds, and replaced
216 g_io_add_watch() with sock_add_watch().
220 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
221 if socket has pending data.
222 * src/session.c: session_recv_msg(), session_recv_data(): check if
223 socket has pending data and call the callbacks immediately in that
224 case (fixes the hang at ESMTP EHLO on SSL).
228 * src/socket.c: check return value in SSL functions.
232 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
233 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
237 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
238 before calling callbacks.
242 * src/socket.c: made socket connection protocol independent.
243 * src/session.c: removed debug g_print().
244 * src/inc.c: made status bar output less verbose, and show counter
245 on main window's progressbar.
249 * src/session.c: added missing #include <errno.h>.
253 * src/session.[ch]: reimplemented the Session system with non-blocking
254 I/O to solve the performance and the code design issue.
255 * src/socket.[ch]: added sock_connect_async() and
256 sock_connect_async_cancel() to enable asynchronous connection.
257 sock_peek(): modified the implementation.
258 * src/pop.c: optimized the receiving of the responses of
263 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
264 when a node is an ancestor (parent / great parent), which mostly
265 happens with circular references (thanks to Phillipe Gramoulle
266 for finding an sample set of messages, and Alfons for the patch).
270 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
271 UIDL list is not found (fixes inability of initial retrieval).
275 * src/main.c: added the option '--status-full' which shows the status
276 of each folder specified. The option '--status' also takes
277 following arguments for folders (thanks to Yuri Arapov).
278 * src/folder.[ch]: folder_get_status(): new. it takes the array of
279 folders as the argument and returns their status.
280 folder_count_total_msgs(): removed.
290 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
291 to prevent abort when a button is double-clicked.
295 * src/addr_compl.c: invalidate_address_completion(): check if
296 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
300 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
301 deleted messages that is to be kept on server (thanks to Tristan
311 sock_set_io_timeout(): new. It sets the timeout interval.
312 sock_gdk_input_add(): removed since it's not used anymore.
313 * src/prefs_common.[ch]: added an option to set the timeout parameter.
317 * src/action.c: fixed a bug that didn't hide user string in
318 create_io_dialog() (thanks to Markus Amersdorfer).
319 Removed ChildInfo::type and added Children::action_type.
323 * src/inc.c: inc_start(): ask every password before retrieving.
324 Don't popup the redundant error dialog.
326 inc_all_account_mail()
327 inc_progress_dialog_set_list(): separated account list display
329 inc_progress_dialog_set_label()
330 inc_recv_data_finished()
331 inc_recv_message(): properly update the dialog when RETR finished.
336 imap_modified_utf7_to_locale()
337 imap_locale_to_modified_utf7(): fixed compilation failure when not
342 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
343 of message/rfc822 parts.
347 * src/pop.c: pop3_ok(): detect timeout error.
351 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
352 when locale strings include '+'.
353 imap_modified_utf7_to_locale()
354 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
355 if iconv() is not supported.
361 compose_get_signature_str(): include separator in signature string.
362 Don't insert separator if signature file is not found.
363 Disabled use of implicit default signature path (~/.signature) when
373 src/quote_fmt_parse.y
374 src/smtp.c: suppress warnings that gcc-3.3 issues.
375 src/stringtable.c: use string_entry_free().
379 * src/compose.c: compose_insert_sig(): fixed the bug that always
380 appended signature separator if signature file was not found.
381 compose_get_signature_str(): fixed the bug that caused crash if
382 signature file cannot be opened.
390 * src/session.c: session_recv_msg(): removed debug print.
397 imap_cmd_fetch(): check for data size that servers return (fixes
398 vulnerability found in BugTraq).
402 * src/addr_compl.c: get_complete_address()
403 src/addressbook.c: addressbook_format_address()
404 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
405 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
406 * src/main.c: main(): set colormap and visual to solve color problem
407 in Solaris (thanks to Markus Schwarzenberg).
415 * src/prefs_account.c: temporarily removed POP before SMTP option.
419 * src/prefs_common.[ch]: changed the description of "Open message when
420 cursor keys are pressed on summary".
421 * src/summaryview.c: summary_show(): open message when always_show_msg
426 * src/logwindow.[ch]: restrict the maximum lines of the log messages
427 to reduce the memory usage.
431 * src/compose.c: compose_insert_sig(): fixed a crash when signature
432 string contains illegal sequence.
433 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
437 * major refactoring of MIME structure.
438 * src/procmime.c: procmime_scan_message(): decrypt message if
439 gpgme is enabled. Create multipart tree only if content-type is
440 multipart/* or message/rfc822.
441 procmime_scan_multipart_message(): fixed the scanning of
443 * src/action.c: parse_append_msgpart()
444 src/messageview.c: messageview_show()
445 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
446 instead of procmsg_open_message() and procmime_scan_mime_header().
447 mimeview_set_multipart_tree(): conform to the new MIME structure.
448 * src/textview.c: textview_show_part(): removed unnecessary check.
449 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
450 pointer when decryption failed.
454 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
455 by g_warning(), and log_print() by debug_print().
456 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
457 LAST if UIDL is not supported.
461 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
462 if it is the current locale encoding when dest_charset_str is NULL.
466 * src/action.c: execute_actions(): fixed crash when no text widget
467 is selected (thanks to Paul and Melvin).
469 src/prefs_actions.c: added missing reference to Claws team in the
476 session_send_data(): fixed a memory leak and data sending bug.
477 * src/send_message.c:
478 send_message_smtp(): fixed focus management.
482 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
484 * src/send_message.c: show error dialog if error occurred.
485 * src/main.c: send_queue()
486 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
490 * src/session.c: session_close(): kill child process only if
491 state is not SESSION_DISCONNECTED.
492 * src/send_message.c: send_cancel_button_cb()
493 src/inc.c: inc_cancel(): don't set Session::state to
494 SESSION_DISCONNECTED.
495 * src/prefs.[ch]: modified the names of prefs_write_*().
496 * src/address.[ch]: removed.
500 * src/compose.c: compose_template_apply(): overwrite recipients.
504 * src/procheader.c: procheader_date_parse(): removed debug print.
505 * src/session.c: changed every g_print to debug_print.
506 session_child_input(): removed unrequired session_close() (it'll
507 be closed anyway after returning FALSE).
508 * src/send_message.c: send_message_smtp(): changed g_print to
513 * src/procheader.c: procheader_procheader_date_parse(): don't add
514 local timezone offset if timezone is unknown.
515 Made the Y2K workaround code to follow RFC 2822.
516 procheader_scan_date_string(): workaround for date strings which
517 don't have timezone specification.
518 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
523 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
524 some memory leaks on error.
525 action_update_msgview_menu(): new.
526 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
527 messageview_get_selected_mime_part(): returns MimeInfo of selected
528 part when MessageView is in MIME mode.
529 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
531 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
532 MsgInfo list of selected messages.
536 * src/prefs_filter.[ch]: include original message's headers as
537 the preset keywords. Modified the sizes of the widgets.
538 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
539 case-insensitive hash.
543 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
544 auto-detected headers.
548 src/mainwindow.c: modified function names.
549 get_user_string(): Use input_dialog() instead of its own
554 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
555 in encoded strings if addr_field is TRUE.
556 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
560 * src/prefs_actions.[ch]: separated action execution routine into
565 * src/prefs_actions.c: minor code cleanup.
569 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
575 inc_recv_data_progressive()
576 inc_recv_data_finished()
579 send_send_data_progressive()
580 send_send_data_finished(): added assertion.
584 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
589 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
590 in source buffer since it messed up some encoding conversion (like
595 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
596 extract ID from List-Id header.
597 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
598 extract_list_id_str(): extract ID string from List-Id header.
602 * src/prefs_actions.c: merged from the claws branch. Fixes several
603 bugs and adds some features.
607 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
608 linebreaks were included on reediting.
610 src/pop.c: fixed typos: 'occured'.
614 * src/compose.[ch]: implemented auto signature replacement on
616 compose_insert_sig(): added a flag to replace current signature.
617 compose_get_signature_str(): new. It returns signature string.
618 compose_insert_command_output(): removed.
619 compose_select_account(): call compose_insert_sig() on account
621 compose_destroy(): fixed a memory leak of UndoMain object.
622 Compose::sig_str: new. It stores current signature string.
623 * src/gtkutils.[ch]: gtkut_stext_find(): new.
624 Renamed gtk_stext_clear() to gtkut_stext_clear().
625 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
627 normalize_newlines(): converts CR+LF and CR into LF.
628 get_command_output(): returns command output.
632 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
633 filter keyword for messages.
634 * src/summaryview.c: summary_filter_open(): use
635 procmsg_get_filter_keyword().
636 * src/messageview.c: create_filter_cb(): implemented.
642 inc_put_error(): display server responses on error.
643 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
648 * src/messageview.[ch]: separated the forced charset of message view
649 in separate window from the main window.
651 textview_show_message()
653 textview_add_part(): use MessageView::forced_charset if specified.
657 * src/mainwindow.c: modified File menu a bit.
658 * src/menu.[ch]: added functions to handle item factory rc strings.
659 * src/messageview.[ch]: added a menu, and made it take over main
660 window's menu shortcuts.
661 added msginfo which is duplicated on display to MessageView.
662 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
663 menu_factory_clear_rc().
667 * send_message.c: send_message_smtp():
668 re-enabled forcing of SMTP AUTH method.
669 Clear temporary password if authentication failed.
670 * smtp.c: output warning to log and set SMTPSession::error_val
672 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
673 * src/mbox.c: proc_mbox(): force updating of folder.
677 * src/pop.h: changed error value to enum.
678 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
680 pop3_ok(): return appropriate error value based on current state.
681 Output warning to log if error occurs.
686 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
691 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
692 Session::state == SESSION_ERROR.
693 * po/POTFILES.in: removed src/automaton.c and src/send.c.
694 Added src/send_message.c.
699 src/session.c: fixed breakage of POP3 retrieval.
700 session_recv_data_from_sock_unescape(): read until terminator
701 appears and also return the actual size.
705 * src/automaton.[ch]: removed.
706 * src/session.c: removed some of the debug output.
707 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
708 returns EHLO-style response to HELO command.
709 Ignore all multiline responses except for EHLO since they are
710 allowed for any command.
715 src/pop.c: fixed retrieval of messages which contain dot-escaped
717 session_recv_data(): added a flag for unescape.
718 session_recv_data_from_sock_unescape(): new. It receives message
719 for each line and unescapes dot-escaped lines.
720 Removed the previous workaround.
721 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
725 * src/pop.[ch]: workaround for brekage of retrieval when given size
726 and actual one is different.
730 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
731 since some servers sometimes return incorrect message size.
732 * src/news.c: news_session_new(): zero clear NNTPSession object.
733 Don't initialize Session::sock with nntp_sock->sock to prevent
734 double-free of SockInfo.
735 * src/imap.c: zero clear IMAPSession object.
736 imap_cmd_append(): don't close SockInfo.
740 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
745 src/pop.[ch]: reimplemented using new I/O system.
746 * src/session.[ch]: session_recv_data(): new.
747 session_send_data_to_sock()
748 session_recv_data_from_sock(): decreased the frequency of progress
753 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
757 * src/session.[ch]: session_start_tls(): new.
758 session_recv_msg(): made it static.
762 * implemented asynchronous network I/O.
763 * src/session.[ch]: the interface to communicate with servers through
766 src/send_message.[ch]: rewrote using new I/O system.
767 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
768 *_write() as just a simple wrapper for write().
769 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
770 message to send with SMTP or NNTP.
771 file_read_stream_to_str(): new.
775 * src/textview.c: textview_button_pressed(): corrected the range of
777 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
778 represented with more than 2 bytes as 2 character width and 2 bytes
779 one as a single character width as a workaround for wrapping problem.
783 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
788 * implemented HTML link correctly.
789 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
791 html_get_tag(): new. It parses tag and returns HTMLTag object.
792 html_parse_tag(): also parses <a> tags and 'href' attributes.
793 * src/textview.c: textview_write_link(): new. It creates link string.
797 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
798 loop / crash bug (thanks to Darko Koruga).
799 compose_write_to_file(): put correct charset element when
800 conversion failed but want to send anyway.
804 * src/headerview.c: headerview_show()
805 src/textview.c: textview_write_line(): remove unreadable characters
806 from displayed strings to prevent crashes on multi-byte
808 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
809 from conv_localetodisp().
813 * src/procmsg.c: procmsg_cmp_by_subject()
814 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
817 subject_compare_for_sort()
818 trim_subject_for_sort(): new.
826 * src/defs.h: added -i option to the default sendmail command.
830 * src/codeconv.[ch]: added missing character encodings and locales.
835 procmsg_get_mark_sum()
836 procmsg_open_mark_file()
837 procmsg_read_mark_file(): take FolderItem instead of directory
842 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
843 which is on the wrap boundary would be lost when encoding long
844 non-ascii strings (thanks to Sergey Vlasov).
845 Don't force wrapping within a long word until it reaches hard line
846 length limit (998 characters) (workaround for the breakage of
847 long address list with no spaces).
851 * src/prefs_account.c: fixed compile failure when using neither
856 * src/codeconv.c: fixed UTF-8 locale support.
857 conv_get_code_conv_func(): return conv_noconv if locale encoding
858 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
860 conv_convert(): call conv_iconv_strdup() instead of
861 conv_codeset_strdup().
862 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
866 * src/prefs_account.[ch]: added an option to use command output for
868 * src/compose.c: compose_insert_sig(): use command output if
870 compose_insert_command_output(): new.
874 * src/main.c: main(): remove lock socket if sylpheed is not running
875 when --status command is executed.
876 lock_socket_remove(): new.
880 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
881 codeset is US-ASCII (or POSIX).
885 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
886 and continue conversion.
890 * src/summaryview.c: summary_selected(): always update widget
895 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
896 date in timezones more than GMT+12 or less than GMT-12.
900 * src/prefs_common.[ch]
901 src/sourcewindow.c: remember the size of source window.
902 * src/md5.c: fixed a compile problem with gcc 3.3.
906 * src/about.c: about_create(): modified the copyright notice.
910 * src/colorlabel.c: don't use pixmaps for label color rect but draw
911 rectangles so we can respect the color map of palette based visuals
912 (fixes the long time crashes on Solaris - thanks to Alfons
917 * src/procheader.c: procheader_date_parse(): made month string case
919 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
920 selection list is empty.
924 * src/quote_fmt_parse.y: removed gettext translatable strings.
925 * src/unmime.c: unmime_header(): remove broken characters when
926 code conversion failed.
927 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
928 headers if long words more than 75 characters are entered.
932 * src/prefs_account.c: prefs_account_receive_create()
933 src/utils.c: to_human_readable(): made units translatable.
937 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
938 at first byte (fixes abort() problem of glibc).
939 * src/html.c: html_read_line(): remove characters which can't be
940 displayed on the current locale.
945 trim_subject_for_compare(): renamed from trim_subject().
946 trim_subject(): new. It removes [...] or (...) at the beginning
948 * src/prefs_folder_item.c
950 added options for trimming summary / compose subject.
951 * src/summaryview.c: summary_set_header(): trim subject if the folder
953 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
959 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
960 X-Face header problem).
961 conv_encode_header(): allow up to 97 characters for one word.
965 * src/filter.c: filter_match_condition(): fixed the bug that
966 second condition ignored regex.
967 * src/news.h: NewsGroupInfo: use guint for message numbers
968 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
972 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
973 on code conversion failure.
974 conv_get_charset_str()
975 conv_get_charset_from_str(): optimized using hash table.
979 * src/quote_fmt_parse.y:
980 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
981 treat only "\n-- \n" as a signature separator.
985 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
986 * src/summary_search.c: summary_search_execute(): search collapsed
992 conv_unreadable_latin(): include 0x7f as an unreadable character.
993 conv_localetodisp(): don't remove 8bit characters by default.
994 conv_get_current_charset()
995 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
996 appended at the last of locale name.
997 * src/compose.c: compose_write_to_file(): show from and to encoding
998 when code conversion failed.
1006 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1007 (thanks to Colin Leroy).
1008 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1013 * src/textview.c: textview_write_line(): don't convert if conv is
1018 * src/codeconv.[ch]:
1019 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1020 conv_localetodisp(): new. It removes unreadable characters from
1021 (assumed) current locale string.
1022 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1023 NULL and current locale encoding is US-ASCII.
1024 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1025 specified for destination charset.
1026 * src/textview.c: textview_write_line(): use conv_localetodisp()
1027 instead of strncpy2() if conversion failed.
1031 * src/codeconv.c: conv_iconv_strdup()
1033 imap_modified_utf7_to_locale()
1034 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1035 a warning on some systems.
1036 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1038 Return NULL instead of incomplete string if conversion failed.
1042 * src/summaryview.c: summary_execute(): select appropriate node
1043 if currently selected node is to be deleted.
1044 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1045 TRUE if the specified node is selected.
1049 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1050 on deleting or moving.
1054 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1055 of EUC-JP more accurate.
1056 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1068 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1069 duplication bug if the source string has CRLF.
1071 canonicalize_str(): new. Returns newly allocated canonicalized
1073 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1074 uncanonicalize_file_replace(): new.
1075 * src/compose.c: always canonicalize body before processing, and
1076 uncanonicalize before returning.
1080 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1081 ENC_8BIT for Russian charsets.
1082 * src/compose.c: compose_write_to_file(): use base64 when signing
1087 * src/prefs_common.c: prefs_send_create(): added a description for
1088 the setting of Content-Transfer-Encoding.
1092 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1094 * src/procmime.c: procmime_get_encoding_for_charset(): return
1095 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1096 * src/compose.c: compose_attach_append(): set correct Content-
1097 Transfer-Encoding for message/rfc822.
1098 compose_write_to_file(): enabled user-definable Content-Transfer-
1100 * src/prefs_common.[ch]: added an option for user-defined Content-
1105 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1106 line doesn't end with linebreak.
1110 * implemented quoted-printable encoding.
1111 * src/quoted-printable.[ch]: qp_encode_line(): new.
1113 compose_write_to_file()
1114 compose_write_attach(): implemented quoted-printable encoding.
1115 compose_attach_property_create(): enabled quoted-printable menu
1117 * src/procmime.c: procmime_get_encoding_for_charset(): return
1118 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1119 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1126 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1127 of abbreviation of newsgroup name.
1131 * configure.in: show the result of iconv detection.
1135 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1136 conv_iconv_strdup(): new.
1140 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1146 src/prefs_folder_item.c: English fix (property -> properties).
1147 * src/prefs_filter.c: alert if entry is not saved.
1148 prefs_filter_dialog_to_filter(): new.
1152 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1153 strings after linefeed.
1158 * src/codeconv.[ch]: code cleanup and optimization.
1159 conv_code_converter_new()
1160 conv_convert(): use functions obtained by conv_get_code_conv_func()
1161 when using libjconv.
1162 conv_codeset_strdup(): code cleanup.
1163 conv_get_code_conv_func(): added an argument for destination
1164 character set, and generalized.
1168 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1170 * src/compose.c: compose_convert_header(): remove trailing spaces.
1171 * src/customheader.c: custom_header_read_str(): strip the spaces
1173 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1174 strip the spaces of name and value.
1182 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1183 into infinite loop when encountering invalid characters.
1187 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1189 * src/summaryview.c: summary_show(): removed summary_sort() because
1190 it is done inside folder_item_get_msg_list(). This will improve
1191 the performance of summary display.
1192 Sorted out the summary sort functions using macros.
1196 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1197 list if FolderItem::sort_key is set.
1198 Added SORT_BY_TO to FolderSortKey enum.
1199 * src/mainwindow.c: added "View/Sort/by recipient".
1207 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1209 * src/compose.c: compose_convert_header(): always pass string to
1210 conv_encode_header() for line-breaking.
1214 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1215 parsing of email addresses.
1219 * src/defs.h: added DEFAULT_BROWSER_CMD.
1220 * src/mimeview.c: mimeview_view_file()
1221 src/prefs_common.c: prefs_other_create()
1222 src/utils.c: open_uri(): changed the default web browser to
1223 mozilla, and changed 'raise' command (which is undocumented)
1224 to 'new-window' in 'netscape -remote'.
1228 * src/compose.c: compose_send_control_enter(): fixed crash on
1229 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1237 sort_summary_type_cb(): prevent unwanted processing on unchecking
1242 * src/main.c: process command line option before gtk_init() to
1243 enable remote operation without X (thanks to Ruslan N. Balkin).
1244 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1249 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1250 (the spec of autotools seems to be changed).
1254 * src/imap.c: get path separator using LIST command if server
1255 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1256 imap_parse_list(): added an argument to return path separator.
1257 imap_get_namespace_by_list(): new.
1261 * src/addr_compl.c: add_address(): removed the debug print.
1262 * src/gtkutils.[ch]: gtkut_window_popup()
1263 src/mainwindow.c: main_window_popup(): applied the patch to fix
1264 the behavior of window popup from Sergey Vlasov (thanks!)
1265 * src/account.c: account_edit_create(): use signal_connect_after
1266 for row_move signal to fix the row position bug.
1267 account_row_moved(): scroll the CList half page.
1268 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1270 * src/summaryview.c: summary_reply(): use selection text only if
1271 the displayed message is selected (thanks to Sergey Vlasov).
1275 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1276 of MIME header encoding. And use Q-encoding method if the current
1277 locale is single-byte one.
1278 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1279 of wide-character string. Consider control codes as non-ASCII.
1280 get_next_word_len(): new. It returns the length of next word.
1281 is_next_mbs(), find_wspace(): removed.
1282 * src/quoted-printable.[ch]: new.
1283 qp_decode_line(): decodes one QP line.
1284 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1285 qp_get_q_encoding_len(): returns the length when a string is
1287 qp_q_encode(): Q-encode a string (RFC 2047).
1288 * src/unmime.c: moved the functions for quoted-printable to
1293 * src/send.c: send_message_local(): escape line that only have one
1294 dot character (postfix's sendmail command will stop there).
1298 * src/send.c: send_message_local(): don't escape first-dot line
1299 (thanks to Sergey Vlasov).
1303 * autogen.sh: added 'libtoolize --force --copy' to override the
1305 * acconfig.h: removed.
1306 * configure.in: increased minimal version of GPGME to 0.3.10.
1307 Fixed checking of XIM.
1309 ac/gnupg-check-typedef.m4: added an argument for comment.
1313 * src/imageview.[ch]: fixed conflicting declarations of
1314 imageview_show_image() (thanks to Thorsten Maerz).
1318 * src/compose.c: compose_entry_append(): don't add ", " on subject
1320 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1321 charset from the table (currently disabled for non-Japanese locales).
1322 conv_get_current_locale(): also refer to LC_CTYPE.
1326 * README: added a description about hidden settings.
1330 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1331 Made enable_hscrollbar and bold_unread hidden options.
1335 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
1340 account_find_from_message_file()
1341 account_find_from_msginfo(): new. They find an account from the
1342 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
1345 compose_reedit(): restore messages' previous account on composition.
1346 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
1351 * src/compose.c: cleaned up the code using compose_entry_set()
1352 (don't use gtk_entry_set_text() directly).
1356 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
1360 * updated autotools and libtool to the latest version.
1361 * configure.in: added AC_PREREQ(2.50).
1365 * src/textview.c: textview_set_font(): fix for message display in
1366 UTF-8 locales (thanks to Sergey Vlasov).
1370 * src/imageview.[ch]: imageview_show_image(): resize images to fit
1371 the window size if specified.
1372 * src/prefs_common.[ch]: added an option 'Resize attached images'.
1376 * refactoring for SMTP implementation.
1377 * src/session.h: added ui_func to Session.
1378 * src/smtp.[ch]: separated the connection routine from
1379 smtp_session_new() to smtp_connect().
1380 Changed the argument of every function other than smtp_ok() from
1381 SockInfo to SMTPSession.
1382 Call UI callback from each functions.
1383 * src/send.c: send_message_smtp(): separated the code for UI update
1384 into send_progress_dialog_update().
1388 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
1389 * src/send.c: send_message_smtp(): call smtp_auth() and display
1390 the state to the dialog.
1394 * src/filter.c: strmatch_regex(): use extended regex (thanks to
1396 * src/main.c: main(): removed the code for assortrc -> filterrc
1398 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
1399 current locale is C or POSIX.
1400 gtkut_stext_is_uri_string(): include "www." for URI string.
1401 * src/textview.c: textview_make_clickable_parts(): include "www."
1410 * src/textview.c: textview_add_part(): indicate signature status
1411 using different colors.
1415 * src/folder.c: folder_write_list_recursive(): escape
1416 To/Cc/Bcc/Reply-To strings.
1420 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
1421 headers on locales other than Japanese when not using libjconv.
1425 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
1426 corresponding error message.
1427 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
1432 * src/prefs_account.[ch]: removed prefs_account_save_config() since
1434 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
1435 procmime_mimeinfo_free_all() can be used in every case.
1439 * src/account.c: account_get_special_folder(): support F_INBOX, and
1444 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
1445 COMPOSE_ENTRY_*, and added
1446 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
1449 compose_redirect(): added FolderItem to the arguments, and reflect
1450 settings in the item.
1451 compose_entry_set(): new.
1452 compose_entry_append(): code cleanup.
1453 compose_entries_set_from_item(): take ComposeMode in its arguments,
1454 and enabled FolderItem::use_auto_to_on_reply.
1455 * src/summaryview.c: summary_reply(): pass folder_item to
1456 compose_{reply,forward,redirect}().
1460 * src/gtkutils.[ch]:
1461 gtkut_font_load(): new. It automatically choose font or fontset
1463 gtkut_font_load_from_fontset(): new. It tries to load single font
1464 instead of fontset from a fontset string.
1468 src/summaryview.c: workaround for the problem that couldn't display
1469 8-bit characters in C or POSIX locale (use font instead of fontset).
1472 src/textview.c: made code cleanup using gtkut_font_load*().
1476 * src/mh.c: mh_get_msginfo(): set correct message number.
1480 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
1481 It returns a new MsgInfo associated to a message number.
1482 folder_item_get_msginfo(): new.
1483 * src/imap.[ch]: imap_get_msginfo(): new.
1484 * src/mh.[ch]: mh_get_msginfo(): new.
1485 * src/news.[ch]: news_get_msginfo(): new.
1489 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
1490 infinite loop if an invalid code appeared.
1494 * src/codeconv.c: conv_codeset_strdup()
1495 src/html.[ch]: html_read_line(): don't output conversion failure
1497 Added HTML_CONV_FAILED to the enum HTMLState.
1501 * implemented per-folder auto-set address (still in progress).
1502 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
1503 and set entries from it (if mailto is empty).
1504 compose_entry_append(): activate menu if required.
1505 compose_entries_set_from_item(): new.
1506 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
1507 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
1509 folder_build_tree(), folder_read_folder_func(),
1510 folder_write_list_recursive(): added the above members.
1511 * src/prefs_folder_item.[ch]: added auto-set addresses.
1512 * src/pop.[ch]: removed Pop3State::prev_folder.
1516 * src/compose.c: allow dropping files by also "moving" files from a
1517 file manager (thanks to Alfons).
1521 * compose_reply_set_entry(): made Reply-To have priority over
1522 List-Post on ML reply.
1526 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
1527 * src/summaryview.c: summary_step(): fixed a bug that lost the
1528 correct selection anchor.
1529 summary_key_pressed(): use gtk_sctree_select() instead of
1533 src/recv.c: differentiate disk full and socket errors
1534 (thanks to Colin Leroy).
1538 * src/account.c: account_edit_prefs(): removed unused variables.
1539 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
1542 compose_reply_set_entry(): receive reply type with one argument.
1543 * src/summaryview.c: summary_reply(): reduced conditional branches.
1547 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
1548 from line ends (thanks to Sergey Vlasov).
1549 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
1554 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
1555 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
1556 messages all at once.
1560 * src/account.[ch]: account_open(): new. It opens account prefs
1561 dialog and reflects to UI when finished.
1563 folderview_button_pressed()
1564 folderview_property_cb(): open account prefs dialog when the
1565 property of the root folder of remote account is requested.
1569 * src/account.c: account_destroy(): unref account information in
1571 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
1572 specified account information in all folders.
1574 folderview_rm_imap_server_cb()
1575 folderview_rm_news_server_cb(): destroy Folder first because
1576 folder_destroy() refers to account information.
1580 * src/account.c: account_find_from_item(): fixed a bug which didn't
1581 select the correct account.
1582 * inc_pop3_session_do():
1583 fixed the resource leak when SSL initialization failed.
1584 Immediately break from temporary event loop if cancelled.
1588 * src/account.[ch]: account_find_from_item(): new.
1590 compose_reply(), compose_forward(), compose_redirect()
1591 src/mainwindow.c: compose_cb(): select optimal account when
1593 * src/folder.[ch]: added FolderItem::apply_sub.
1594 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
1595 index of option menu which contains the specified data.
1596 * src/prefs_folder_item(): added Compose tab, and the setting of
1601 * configure.in: added $LDAP_LIBS for lber library detection.
1609 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
1610 leak, and added error checking.
1614 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
1615 removed Compose::orig_account.
1616 compose_check_for_valid_recipient(): check only enabled entries.
1617 compose_write_headers()
1618 compose_redirect_write_headers(): add Newsgroups header only
1619 when the entry is enabled.
1620 compose_send(): modified the method of finding a mail account
1621 from a news account so that it tries to match the From address.
1622 * src/send.c: send_message_queue(): enabled the queueing of news
1624 * src/news.[ch]: news_post_stream(): new.
1628 * configure.in: check lber first and use $LDAP_LIBS on the check
1633 * po/*.po: fixed many typos of format strings which will lead to
1634 crash (thanks to Sergey Vlasov).
1638 * src/procheader.c: procheader_parse_stream(): added Cc header
1639 to the target for full parsing.
1640 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
1641 returns the full message information from the given information.
1642 * src/compose.c: compose_reply(), compose_forward(): get full
1643 message information for Cc header.
1647 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
1648 IMAP4 and NNTP folder summary after checking those accounts.
1656 * src/prefs_common.c: prefs_compose_create(): modified the label
1657 of the option for Reply button.
1658 * configure.in: add -lldap and -llber to the 5th argument of
1659 AC_CHECK_LIB() for LDAP library detection.
1664 INSTALL.jp: updated.
1668 * src/mainwindow.c: toggle the behavior of Reply button between
1669 normal reply and reply-to-list.
1670 * src/prefs_common.[ch]: added an option to switch the function
1675 * src/compose.c: compose_new(): removed the workaround for XIM
1676 because it doesn't have any effect and only seems to cause
1681 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
1682 compose_parse_header(): parse also List-Post header.
1683 compose_reply_set_entry(): support reply-to-ML (fall back to
1684 normal reply if ML address is not found).
1687 src/summaryview.c: reorganized Reply menu and added 'Reply to
1689 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
1690 returns newly allocated parameters.
1694 * src/account.c: account_read_config_all(): set account information
1695 to default before initializing with configuration file.
1696 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
1697 newly created account information structure initialized by
1698 the default settings.
1703 replace_address_in_edit(): check if newtext is NULL.
1704 completion_window_button_press(): fixed a memory leak.
1705 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
1706 recv_time is RECV_TIME_KEEP.
1707 pop3_getrange_uidl_recv(): only set get_all flag if
1708 ac_prefs->getall is set.
1709 pop3_retr_recv(): don't delete messages which are not received
1710 by filter, and set recv_time to RECV_TIME_KEEP in the case.
1711 * src/pop.h: added an enum RecvTime.
1712 * src/inc.c: inc_drop_message(): unlink temporary message file if
1713 not received by filter.
1717 * src/mainwindow.c: added 'Edit/Select thread' menu.
1718 * src/summaryview.[ch]: added 'Select thread' to the context menu.
1719 summary_select_thread(): new. It selects all messages of current
1724 * src/rfc2015.c: check_signature(): corrected error handling and
1729 * src/rfc2015.c: check_signature(): correctly remove the last empty
1730 line, and canonicalize the file part before verifying (this should
1731 fix incompatibility with Evolution or some other MUAs).
1732 * src/utils.[ch]: copy_file_part(): new. It copies the specified
1733 range of file stream to another file.
1737 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
1738 8-bit text when signing (thanks to Colin Leroy).
1742 * src/prefs_common.c: prefs_send_create(): fixed the charset string
1743 for Cyrillic (Windows-1251).
1751 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
1752 Windows-1251. Added bg_BG locale.
1756 * src/compose.c: account_activated(): change the state of menu items
1757 and entries according to the selected account.
1758 compose_select_account(): new. It changes the state of title bar,
1759 menu items and entries.
1763 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
1765 Don't refresh summary view on fetching when open_inbox_on_inc is
1770 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
1771 is set (to avoid summary refresh problem).
1772 * src/imap.c: removed warnings by checking the existence of directory
1773 before calling remove*_numbered_files().
1777 * src/prefs_common.c: corrected English.
1781 * src/prefs_common.[ch]: added an option: "Mark messages as read
1782 only when opened in new window".
1787 folder_tree_destroy()
1788 folder_write_list_recursive(): added sanity check.
1789 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
1790 can't get session, create empty folder node (based on the
1791 Alfons' suggestion).
1795 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
1797 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
1802 * src/news.c: news_scan_group(): fixed wrong message number
1807 * major refactoring for POP3.
1808 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
1809 inc_pop3_state_destroy(), inc_get_uidl_table(), and
1810 inc_write_uidl_list() into pop.c.
1811 Moved Pop3State::folder_table and Pop3State::inc_state into
1814 inc_put_error(): added lockbusy state.
1815 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
1816 inc_cancel(): don't terminate the automaton here but just set
1817 the flags to prevent crash.
1819 pop3_getauth_pass_recv()
1820 pop3_getauth_apop_recv(): check lockbusy state.
1821 pop3_retr_recv(): check Pop3State::cancelled flag.
1822 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
1823 automaton_input_cb(): terminate if cancelled flag is true.
1824 * sylpheed.desktop: changed Type=Internet to Type=Application.
1825 Added Categories=Application;Network;.
1831 src/progressdialog.c: show detailed information to the status
1833 Added cur_total_recv_bytes to Pop3State.
1834 * src/prefs_common.[ch]: added an option to specify whether to
1835 close receive dialog when finished.
1839 * src/folder.[ch]: folder_get_path(): new. It returns the root path
1843 imap_folder_destroy()
1845 imap_remove_all_msg()
1846 news_folder_destroy(): remove cache directories / files when
1847 deleting Folder / messages.
1851 is_file_entry_exist(): check if the argument is NULL.
1853 remove_numbered_files()
1854 remove_expired_files(): fixed memory leaks on error.
1863 src/smtp.[ch]: made Folder and Session destructor virtual method.
1867 * src/compose.c: do joining of normal lines only when auto-wrapping.
1868 * src/main.c: modified the warning message for GnuPG.
1869 * src/about.c: about_create(): modified the compiled-in features
1871 * configure.in: improved LDAP library checking (thanks to Alfons).
1881 compose_wrap_line_all(): backed out the change to join lines that
1886 * configure.in: require at least gpgme-0.3.5.
1890 * src/alertpanel.c: alertpanel_create(): minor modification.
1899 * src/alertpanel.c: alertpanel_create(): modified the layout.
1900 * src/rfc2015.c: check_signature(): don't abort on error.
1904 * src/compose.c: compose_wrap_line_all(): freeze widget only if
1905 required to repress flickers.
1909 * src/compose.c: improved line wrapping.
1911 compose_wrap_line_all(): also join lines that are not indented.
1912 dump_text(): handle multi-byte strings correctly.
1916 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
1917 (go to next line when space is entered at line limit).
1921 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
1926 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
1927 checking to prevent confusion.
1931 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
1932 method Folder::get_msg_list().
1933 * src/account.c: account_edit_prefs(), account_delete(): use
1934 folderview_set_all() instead of folderview_rescan_all().
1935 * src/folderview.[ch]:
1936 folderview_check_new_all(): new. Updates all folders.
1937 folderview_rescan_tree(): confirm before executing.
1938 folderview_rescan_all(): commented out since it's not used anymore.
1939 folderview_update_item_foreach(): added a flag for summary update.
1940 * src/inc.c: inc_finished(): update summary only when
1941 prefs_common.scan_all_after_inc is set.
1942 inc_drop_message(): set mtime of target folder to 0 to force
1943 the updating of summary.
1944 inc_start(), get_spool(): update also summary when updating
1946 * src/mainwindow.c: changed 'File - Rescan folder tree' to
1947 'File - Check for new messages in all folders'.
1951 * src/compose.c: compose_write_to_file(): clearsign message body
1953 compose_clearsign_text(): new. Replaces the string with clearsigned
1955 * src/prefs_account.c: added an option for clearsign.
1956 * src/rfc2015.c: rfc2015_clearsign(): new.
1957 pgp_sign(): added a flag for clearsign.
1958 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
1959 name (needs to be freed by caller).
1960 str_write_to_file(), file_read_to_str(): new.
1964 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
1965 to avoid memory leak.
1969 * src/base64.c: include string.h for memcpy().
1970 * src/gtksctree.c: use macro ABS() instead of function abs().
1971 * src/prefs_account.c
1972 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
1973 conflict with the function send() in sys/socket.h.
1974 * src/mainwindow.c: commented out the unnecessary functions.
1975 * src/utils.c: canonicalize_file_replace(): correct warning message.
1979 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
1980 temporary files in ~/.sylpheed/.
1981 * src/main.c: create temporary directory in ~/.sylpheed/.
1983 src/inc.c: create temporary files in ~/.sylpheed/, and modified
1985 compose_exec_ext_editor(): fixed a bug that failed to create the
1986 temporary file if g_get_tmp_dir() returned directory other than
1991 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
1995 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
1996 to replace the file when the given file and temporary file are not
1997 on the same filesystem.
1998 copy_file(): added a flag whether to keep backup.
1999 move_file(): added a flag whether to overwrite the destination file.
2003 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2004 * src/select-keys.c: modified key selection dialog.
2008 * src/socket.[ch]: my_gethostbyname(): new.
2009 * src/utils.c: get_domain_name(): return FQDN instead of short
2010 hostname (thanks to Bob Woodside).
2011 * src/template.c: made the debug messages less verbose.
2015 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2016 * src/utils.c: canonicalize_file(): correct the error check of
2021 * src/compose.c: compose_write_to_file():
2022 canonicalize line endings before encrypting/signing (this will fix
2023 interoperability with other MUAs).
2024 Removed unnecessary strdup.
2025 Don't encrypt/sign draft message.
2027 canonicalize_file(), canonicalize_file_replace(): new.
2029 src/select-keys.c: changed g_message() to debug_print() and
2031 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2032 MIME structure scanning.
2033 * src/textview.c: textview_add_part(): show signature status in
2036 src/sigstatus.c: modified translatable strings and some MIME
2041 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2042 the temporary file when saving from queue.
2048 src/prefs_account.[ch]
2049 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2050 Modified some messages.
2054 * src/textview.c: textview_scan_header(): fixed a memory leak
2059 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2060 in right conditional block.
2064 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2070 log_error(): add time stamp to log messages.
2075 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2079 * src/socket.c: implemented socket I/O timeout.
2081 * src/pop.c: check errors and return error value correctly.
2085 * src/prefs_actions.c: made the action's input/output dialog display
2086 without delay. Made the dialog modal instead of making window
2087 insensitive. Also cleaned up its UI.
2091 * implemented --attach command line option.
2093 Cmd::attach_files: new member to store file paths.
2094 parse_cmd_opt(): added --attach option. --compose option is implied.
2095 prohibit_duplicate_launch()
2096 lock_socket_input_cb(): added "compose_attach" message.
2099 src/textview.c: renamed compose_new_with_recipient() to
2100 compose_new(), and added an argument for attachment files.
2104 * src/logwindow.c: freeze GtkText widget while hidden.
2105 log_window_append(): changed the header for message and warning.
2109 * src/news.c: implement automatic cache expiration.
2110 news_delete_expired_caches(): new.
2111 news_get_article_list(): fixed a bug that nonexistent messages
2112 were not removed from list.
2113 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2114 procmsg_get_last_num_in_cache().
2115 * src/utils.[ch]: remove_expired_files(): new.
2120 inc_mail(): force summary refresh when using external command for
2122 inc_all_account_mail(): fixed a bug on spool checking failure.
2133 src/editldap_basedn.c
2135 src/prefs_common.c: fixed memory leaks which didn't free strings
2136 gtk_editable_get_chars() returned. And minor code cleanups.
2138 src/vcard.h: removed C++-style comments.
2142 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2143 strings which include both multi-byte and us-ascii characters.
2147 * src/utils.c: remove_numbered_files(): don't try to unlink()
2150 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2152 conv_unmime_header_overwrite()
2153 conv_unmime_header(): do conv_anytodisp() before decoding header.
2161 * src/compose.c: added 'Tools/Actions' menu.
2165 * src/base64.c: a minor fix for BASE64VAL() macro.
2169 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2177 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2178 base64_encode(), base64_decode(): new.
2179 * src/rfc822.[ch]: removed.
2181 src/about.c: removed the copyright notice for fetchmail.
2187 src/unmime.[ch]: rewrote the MIME decode routines.
2189 unmime_quoted_printable_line(): new.
2191 procheader_get_one_field()
2192 procheader_get_unfolded_line(): remove also CR.
2196 * libkcc: removed from the source tree.
2198 src/about.c: removed the copyright notice for libkcc.
2199 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2201 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2205 * src/prefs_actions.c: comply with the coding style.
2206 Modified the UI design.
2207 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2208 menu when multiple messages are selected.
2212 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2213 update_actions_menu(): simplified the menu deletion.
2214 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2218 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2219 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2224 * configure.in: added check for strchr.
2228 * src/prefs_common.[ch]
2229 src/inc.c: added an option to inhibit receive error dialog.
2233 * src/account.c: account_find_from_address(): support multiple
2234 addresses in header.
2238 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2239 GtkCTreeNode* so that it won't become invalid after the row move.
2240 Removed dependency to gtkutils.c.
2241 * src/prefs_common.[ch]
2242 src/summaryview.c: summary_selected(): added an option to show
2243 message when cursor keys are pressed on summary view.
2249 src/compose.c: changed "host_alias" to "target_alias" so that it
2250 shows the correct system name on cross-compiling (thanks to
2255 * src/prefs_account.[ch]: added the option menu to force an
2256 authentication method for SMTP AUTH.
2258 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2259 specify the authentication method for SMTP AUTH.
2260 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2264 * src/prefs_common.[ch]
2265 src/compose.c: enabled "Wrap on input".
2269 * src/summaryview.[ch]
2270 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2271 Made some code cleanups.
2276 src/prefs_common.[ch]: added the hidden option to specify the
2277 policy of the vertical scrollbar on folder view.
2281 * src/messageview.[ch]:
2282 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2284 messageview_get_current_textview(): new.
2285 messageview_get_text_widget(): removed.
2286 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2287 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2288 text_inserted(): new callback for "insert_text" signal.
2289 Add quote mark to the pasted text if Compose::paste_as_quotation
2294 * src/compose.c: if the Content-Type of a file is text/*, check
2295 its content and set the optimal Content-Transfer-Encoding (thanks
2300 * src/textview.c: textview_key_pressed(): pass key press event to
2301 main window to activate menu shortcuts (thanks to Alfons).
2305 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2306 for mtime to prevent flooring.
2309 imap_move_msgs_with_dest()
2310 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2312 imap_parse_envelope()
2313 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2314 full information of messages and simplify the parser. Also fixed
2315 the bug that References header was ignored on threading.
2316 imap_parse_one_address()
2317 imap_parse_address(): removed.
2318 imap_get_header(): new. It reads the RFC822 header and returns
2319 a newly allocated string.
2320 * src/procheader.[ch]: changed procheader_parse() to
2321 procheader_parse_stream() and added different interfaces for it.
2325 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2333 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2334 could be inserted into the hash table.
2335 inc_write_uidl_list(): a minor code cleanup.
2336 * src/mainwindow.c: main_window_get_current_state():
2337 make the state unexecutable on an empty folder.
2338 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
2339 * src/pop.c: minor code cleanups.
2343 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
2344 corrected the behavior of the radio buttons.
2348 * implemented 'Delete messages after N days' feature for POP3.
2350 inc_get_uidl_table()
2351 inc_write_uidl_list(): moved the location of UIDL list file from
2352 RC_DIR/uidl-* to RC_DIR/uidl/*.
2353 Added received time for each UIDLs.
2354 src/main.c: main(): create RC_DIR/uidl/ directory.
2355 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
2356 Added recv_time to Pop3MsgInfo.
2357 src/prefs_account.[ch]: added an option for the number of days for
2366 * src/folder.c: folder_set_missing_folders(): fixed a bug that
2367 caused multiplication of special folders on startup if their
2369 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
2374 * src/compose.c: compose_reply(), compose_forward(): reverted the
2375 last change since it causes lockup problem.
2379 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
2381 compose_new_with_recipient(): workaround for initial XIM problem.
2385 * src/mainwindow.c: sort ascending / descending order can be
2386 specified with separated menu items.
2387 Added "View/Sort/Don't sort" menu item.
2388 * src/summaryview.[ch]: summary_sort(): added an argument for
2393 * implemented persistent sort order.
2395 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
2396 folder_write_list_recursive(): write sorting state.
2398 src/summaryview.[ch]: summary_show(): sort if required.
2399 select the top node on descending sort.
2400 Removed SummarySortType and sorting state variables from
2408 src/prefs_account.[ch]: enabled NNTP over SSL.
2409 * src/nntp.c: nntp_group(): issue MODE READER command and retry
2410 when GROUP command once failed (this seems to avoid problems on
2411 some broken news servers).
2415 * faq/it/*.html: corrected DOS linebreaks.
2416 * faq/*/*.html: changed ">" to ".
2420 * src/prefs_account.c: prefs_account_protocol_activated(): hide
2421 unnecessary frames in SSL tab.
2427 src/prefs_account.[ch]: enabled STLS command in POP3.
2428 * src/account.c: account_clist_set_row(): display TLS setting.
2432 * src/compose.c: compose_send_later_cb(): support redirect function.
2435 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
2437 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
2441 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
2442 * src/compose.c: compose_create(): removed unrequired lines.
2446 * src/news.c: news_scan_group(): fixed a bug that set the wrong
2447 values in some cases.
2448 * src/prefs_account.c: corrected English in Advanced - Folder
2453 * src/textview.c: textview_show_message(), textview_show_part():
2454 fixed a bug that GtkSText *text pointed the incorrect object.
2455 textview_add_part(): freeze GtkSText while adding RFC822 headers.
2456 textview_show_part(): fixed a bug that couldn't display single
2457 part MIME message as text.
2461 * src/compose.c: compose_redirect_write_to_file(): correct the target
2462 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
2463 incomplete file when an error occured.
2468 compose_create(): disable menus for draft on redirection mode.
2469 compose_redirect_write_to_file(): correct the error handling of
2471 * src/prefs_common.c: turned off the "Display recipient on `From'
2472 column if sender is yourself" option by default.
2476 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
2477 Based on the implementation of the claws branch.
2478 compose_redirect(): create a new window and make it uneditable.
2479 compose_redirect_write_to_file(): copy headers and body of
2480 original message except for some.
2481 compose_redirect_write_headers(): add extra "Resent-*" headers.
2482 compose_create(): set menu sensitivity for redirection mode.
2486 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
2487 space is inserted between encoded string and the following folded
2488 one (thanks to Masahiro Tomita).
2492 * src/mainwindow.[ch]: some refactoring has been made.
2493 main_window_toggle_message_view(): moved summary_toggle_view_real()
2495 * src/messageview.[ch]: messageview_is_visible(): new.
2496 * src/summary_search.c
2497 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
2498 Instead use messageview_is_visible().
2502 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
2503 * src/summaryview.[ch]:
2504 summary_expand_threads(), summary_collapse_threads(): new.
2508 * src/mainwindow.c: Fixed the behavior of
2509 '/View/Show or hide/Folder tree' and
2510 '/View/Show or hide/Message view' toggle menu.
2511 Removed '/View/Toggle summary view' menu and integrated the
2512 function into '/View/Show or hide/Message view'.
2513 main_window_set_widgets(): change the state of toggle menu items.
2514 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
2519 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
2520 MIME contents other than text as children of message/rfc822 part.
2522 procmime_mimeinfo_next(): modified for message/rfc822 part which
2523 content-type is single part MIME.
2524 procmime_scan_multipart_message(): fix for nested message/rfc822
2525 part. Corrected the size of the contents of message/rfc822.
2526 * src/textview.c: textview_show_part(): extract the contents of
2527 multipart/* and message/rfc822. Some code cleanups.
2528 textview_add_parts(): new. It adds the all parts under a part to
2530 textview_clear(): reset body_pos and cur_pos.
2534 * src/addr_compl.c: modified so that it behaves better.
2535 get_address_from_edit(): ignore comma inside of brackets.
2536 completion_window_apply_selection(): new. Only apply the current
2538 completion_window_accept_selection(): removed.
2539 address_completion_complete_address_in_entry(): minor code cleanup.
2540 don't replace address in entry here.
2541 completion_window_select_row(): always apply clist selection to
2543 completion_window_key_press(): don't apply selection here.
2547 * src/imap.c: imap_create_folder(): keep trailing directory separator
2548 to create a folder that contains sub folder.
2552 * src/foldersel.c: sort tree with case insensitive.
2553 * src/mainwindow.c: allsel_cb()
2554 src/messageview.c: messageview_select_all(): fixed 'Select all'
2556 * src/mainwindow.c: removed common and account prefs button from
2561 * src/compose.c: compose_account_option_menu_create(): check if
2570 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
2571 manual/en/*: updated the English manual.
2573 faq/it/*: added German and Italian FAQ.
2576 faq/fr/*: updated FAQs.
2578 src/mainwindow.c: added German and Italian language.
2582 * src/prefs_account.c: turn off "receive at get all" option by default
2583 when creating an IMAP or News account.
2587 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
2588 * src/prefs_folder_item.c: show also identifier path.
2589 Made layout using table. Show uneditable entry using background
2591 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
2596 * src/automaton.[ch]: added UI callback to Automaton.
2598 src/pop.c: use callback instead of calling inc_progress_update()
2600 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
2605 * src/folderview.c: properly sort abbreviated newsgroups.
2610 src/prefs_common.[ch]
2611 src/summaryview.c: added an option to specify the minimum length
2612 for abbreviated newsgroups name.
2616 * src/folderview.c: folderview_check_new(): skip unselectable folders.
2617 * src/summaryview.c: added 'Create filter rule' to the context menu.
2618 * src/imap.c: some code cleanups.
2619 imap_scan_tree_recursive(): get path separator for each calls.
2620 imap_get_path_separator(): new.
2624 * src/imap.[ch]: supported namespace for others/shared folders
2626 imap_parse_namespace(): parse also others/shared namespace.
2627 imap_find_namespace(): search also others/shared namespace.
2629 strchr_parenthesis_close(): return pointer to closing parenthesis.
2630 strsplit_parenthesis(): split parenthetic list into array of
2635 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
2636 parse date string like "Mon,6 May 2002 20:31:12 +0800".
2637 procheader_scan_date_string(): new. Separated string scanning
2638 part from procheader_date_parse().
2642 * src/summary_search.c: summary_search_execute(): unlock while
2643 selecting summary row (thanks to Martin Schaaf).
2644 * src/summaryview.c: summary_set_column_titles(): reversed the
2645 direction of the arrow so that it matches with Win/Mac style.
2649 * src/compose.c: compose_write_headers(): quote self address name
2650 if required. Some code cleanups. Don't override Newsgroups and
2651 Cc with custom headers.
2652 * src/imap.c: imap_add_msg(): return UID for appended message.
2653 * src/compose.c: compose_queue(): check if queue folder exists.
2654 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
2656 imap_open(): removed an unrequired argument.
2660 * src/utils.[ch]: trim_string(): new. It trim characters longer than
2661 the specified length and adds "...".
2662 * src/folderview.c: trim folder name when displaying dialog.
2666 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
2668 * src/folderview.c: folderview_select()
2669 src/summary_search.c: summary_search_execute(): lock summary view
2670 while searching (thanks to Martin Schaaf).
2678 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
2682 * src/summaryview.c: summary_show(): fixed a bug that didn't process
2684 * src/account.c: account_edit_prefs(): fixed a crash bug when account
2686 * src/prefs_account.c: prefs_account_apply(): display error dialog
2687 if account name is empty.
2688 * src/imap.c: changed some log_print() to debug_print() to reduce
2693 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
2697 mh_do_move_msgs_with_dest()
2699 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
2700 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
2701 if stat() succeeded.
2703 imap_fetch_msg(): SELECT mailbox before FETCH if required.
2704 imap_scan_folder(): set last_num using the value of UIDNEXT.
2705 imap_select(): return immediately if there is no need for SELECT.
2706 preserve the path of currently selected mailbox.
2707 imap_status(): added UIDNEXT.
2711 * src/folder.c: folder_item_scan(): removed the warning.
2712 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
2713 setting case sensitivity.
2717 * src/mainwindow.c: main_window_create(): restrict the minimum size.
2721 * src/compose.c: merged the new line-wrapping routine.
2722 join_next_line(): fixed a bug that didn't join multibyte
2724 get_indent_length(): modified enums and variable names.
2725 INDENT_CHARS: don't indent ':'.
2727 folderview_rename_folder_cb()
2728 folderview_delete_folder_cb(): support folder identifier.
2729 folderview_rm_imap_folder_cb(): integrated with
2730 folderview_delete_folder_cb().
2734 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
2735 * src/folderview.c: folderview_check_new(): abort checking if
2736 folder_item_scan() failed.
2740 * src/imap.c: imap_create_missing_folders(): create only INBOX and
2742 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
2743 type of news folders unchangeable.
2744 prefs_folder_item_destroy(): use prefs_dialog_destroy().
2745 * src/prefs.[ch]: prefs_dialog_destroy(): new.
2749 * src/prefs_account.[ch]: added special folder setting to Advanced
2750 tab. Also moved "IMAP server directory" setting to there.
2751 * src/account.[ch]: account_get_special_folder(): new. It returns
2752 the optimal special folder for accounts.
2753 * src/compose.c: use account_get_special_folder().
2754 * src/prefs_folder_item.[ch]: new. Implemented folder property
2755 dialog, and the special folder settings (most of the functions in
2756 claws are not integrated yet, and the structure is slightly
2758 * src/folderview.c: enabled Property menu.
2762 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
2763 scanning when encountering separators ',' and ';'.
2767 * src/mainwindow.c: reorderd the menu a bit.
2768 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
2769 compose_reply_set_entry(): made 'Reply to sender' work for
2774 * src/compose.c: compose_create(): set geometry hints to restrict
2775 the maximum size of window.
2776 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
2777 imap_get_uncached_messages()
2778 imap_cmd_fetch(): ignore responses which don't include FETCH.
2782 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
2783 the clause for OpenSSL).
2787 * src/prefs_account.c
2788 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
2794 src/session.[ch]: first reorganization of SMTP protocol handling.
2795 SMTPSession: new class which is a sub class of Session.
2796 smtp_session_new(): moved send_smtp_open() into this function.
2797 smtp_from(): moved SMTP AUTH calls into smtp_auth().
2798 smtp_auth(): use server response for SMTP AUTH method.
2799 smtp_ehlo(): read server response and set auth type flags.
2800 smtp_helo(): separated EHLO command.
2801 smtp_ok(): return the last server response if the buffer is
2803 * src/esmtp.[ch]: merged into smtp.[ch].
2804 * src/imap.c: imap_session_destroy_all(): use session_destroy().
2808 * src/imap.c: imap_open(): show warning message if IMAP4 session
2809 can't be established.
2813 * src/compose.c: made template able to be inserted into the current
2815 * src/mainwindow.c: moved some menu items under the submenu
2816 '/View/Show or hide'.
2821 src/inc.c: changed folder_find_item_from_path() to
2822 folder_find_item_from_identifier().
2824 src/prefs_filter.c: use folder_item_get_identifier() to specify
2829 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
2830 existed in claws' implementation).
2831 folder_find_from_name(): find Folder from name and type.
2832 folder_get_identifier(): return Folder id.
2833 folder_item_get_identifier(): return FolderItem id.
2834 folder_find_item_from_identifier(): find FolderItem from id.
2835 folder_get_type_string(): return folder type string.
2836 folder_get_type_from_string(): return FolderType from string
2837 (and fixed the wrong g_strcasecmp() usage).
2839 src/import.c: use folder_item_get_identifier() and
2840 folder_find_item_from_identifier().
2844 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
2845 point the correct address after reading the continuous line.
2846 imap_scan_folder(): set new number to 0 if unseen number is 0.
2847 imap_parse_flags(): don't add new and unread flag if \Seen flag
2849 * ac/Makefile.am: removed gpgme.m4 from MACROS.
2853 * fixed the old problem that couldn't add flags to currently opened
2856 compose_send(): update outbox after saving.
2858 compose_draft_cb(): use procmsg_add_flags().
2859 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
2861 * src/main.c: send_queue(): send from all queue folders.
2862 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
2864 procmsg_flush_mark_queue(): new. Write all queued flags into file.
2865 procmsg_add_flags(): new. Add specified flags to the folder.
2866 procmsg_send_queue(): added an argument to specify queue folder.
2867 procmsg_save_to_outbox(): use procmsg_add_flags().
2868 * src/summaryview.c:
2869 summary_show(): up the opened flag of FolderItem.
2870 summary_clear_list(): down the opened flag of FolderItem.
2871 summary_write_cache(): call procmsg_flush_mark_queue().
2875 * src/summaryview.[ch]: trim the tail of folder name and selected
2876 number on the status label if the space is not enough.
2880 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
2881 set SpecialFolderItemType when creating special folders under
2883 * ac/gpgme.m4: removed.
2885 * ac/missing/gdk-pixbuf.m4
2886 ac/missing/gettext.m4
2888 ac/missing/imlib.m4: added for convenience.
2892 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
2893 shown after the decoded challenge string. Fixed a memory leak.
2895 * src/compose.c: compose_draft_cb(): mark draft messages as read.
2896 * src/folderview.c: folderview_update_node(): disable emphasis
2897 for Outbox and Draft folders.
2901 * src/messageview.c: messageview_show(): fixed a memory leak.
2902 * src/summaryview.c: summary_save_as(): show error dialog if copy
2904 * src/about.c: about_show(): make the window active if it is already
2909 * src/compose.c: show confirmation dialog before sending if Subject
2911 compose_check_entries(): new.
2913 compose_send_later_cb(): use compose_check_entries().
2914 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
2918 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
2919 responses with continuous line correctly, and fixed a memory leak.
2923 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
2925 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
2926 after pasting with middle button to prevent the selection growth.
2931 folderview_rename_folder_cb()
2932 folderview_delete_folder_cb(): modify filter rules only if the
2933 target folder is in the default mailbox.
2934 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
2941 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
2942 Moved 'Delete duplicated messages' under 'Tools'.
2946 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
2948 * src/imap.c: imap_create_special_folder(): fixed a crash bug
2949 when folder creation failed, and re-try to create folders under
2951 imap_scan_tree_recursive(): don't automatically add namespace
2952 prefix if it's INBOX. Search also under the INBOX for special
2954 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
2959 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
2960 abbreviated newsgroup name.
2961 * src/folderview.c: folderview_update_node(): display newsgroups
2962 with abbreviated name if name and path is the same.
2963 * src/summaryview.c: summary_status_show(): show the newsgroup with
2969 src/folderview.c: changed the label 'Draft' to 'Drafts'.
2970 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
2971 imap_create_missing_folders(): fixed the wrong assignment of
2972 Queue folder to draft.
2976 * enabled Sent / Draft / Queue folders on IMAP server.
2977 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
2978 queue and draft folder if they exist.
2980 imap_create_trash(): removed.
2981 imap_create_special_folder(): new. Generalized imap_create_trash().
2982 imap_create_missing_folders(): automatically create missing folders.
2983 imap_is_msg_changed(): added the dummy method.
2984 imap_scan_tree_recursive(): search also Sent, Draft and Queue
2985 folders. Minor code cleanups.
2986 imap_parse_envelope(): check for null strings.
2987 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
2988 for messages on IMAP folder.
2992 * src/compose.c: compose_send(): use account's outbox folder
2994 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
2995 that the outbox can be specified.
2999 * src/compose.c: don't save to outbox when messages are queued.
3000 compose_save_to_outbox(): moved to procmsg.c.
3001 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3003 procmsg_save_to_outbox(): new. Removes the queueing headers if
3004 needed, and adds the given file to the outbox.
3008 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3009 get_indent_length(): treat ':' and '#' also as quote char, and
3010 cleaned up using strchr().
3014 * src/mainwindow.c: modified some menu items.
3018 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3019 (current "outbox" will be kept until rescan).
3020 * src/folder.c: folder_set_missing_folders(): create the missing
3023 src/folderview.c: changed 'Outbox' to 'Sent'.
3024 * src/main.c: call folder_set_missing_folders().
3025 * src/mh.c: mh_scan_tree(): create missing folders.
3026 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3027 didn't set the menu sensitivity correctly.
3032 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3033 folderview_rename_folder_cb(): reopen the current folder when
3034 the ancestor is renamed.
3035 imap_rename_folder(): new method implementation.
3037 imap_rename_folder_func(): new.
3038 imap_remove_folder(): remove also the cache directory.
3042 * src/imap.c: implemented locale encoding <-> modified utf-7
3043 conversion, and supported i18n of folder name (thanks to Suzuki
3045 imap_path_separator_subst(): handle the escape characters of
3047 imap_modified_utf7_to_locale()
3048 imap_locale_to_modified_utf7(): new.
3049 imap_create_trash(): modified so that it create the Trash folder
3050 to the correct location when imap directory is specified.
3051 imap_get_real_path(): removed debug print.
3055 * src/socket.c: implemented timeout for DNS lookup and connect().
3056 sock_connect_by_hostname(): timeout support and code cleanup.
3057 sock_connect_with_timeout(): new.
3058 sock_peek(): implemented SSL peek.
3062 * src/messageview.c: messageview_show(): display single-part
3063 text/html messages with the normal text view.
3077 src/prefs_customheader.c
3078 src/prefs_display_header.c
3093 src/xml.c: added 'b' to the option of all fopen().
3101 * src/ssl.[ch]: match its coding style.
3102 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3106 faq/en/sylpheed-faq*.html
3108 faq/es/sylpheed-faq*.html
3110 faq/fr/sylpheed-faq*.html
3116 src/manual.[ch]: added FAQs in English, Spanish and French.
3120 * manual/en/sylpheed*.html: updated to the latest version.
3125 src/mgutils.c: include string.h to remove warning about strlen()
3139 src/summaryview.c: added break to the last label of switch to
3140 prevent the 'deprecated use of label at end of compound statement'
3142 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3146 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3148 inc_cancel_all(): new. It cancels the all current incorporation.
3149 * src/mainwindow.c: added 'Cancel receiving' menu.
3150 * src/textview.c: a minor fix for single-part MIME messages, and
3151 a bit of cleanup for textview_write_body().
3155 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3156 information if any errors occured before issuing UIDL command.
3157 src/inc.h: added uidl_is_valid to Pop3State.
3158 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3166 * src/mimeview.c: mimeview_create(): set the initial notebook page
3168 * src/folderview.c: folderview_selected(): scroll the view if the
3169 selected row is hidden.
3170 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3171 and select the added row.
3172 * src/summaryview.c: fix threading for null message ids.
3176 * src/textview.c: textview_show_message(): follow message/rfc822
3178 textview_add_part(): add a caption before the attached text files.
3179 textview_show_header(): don't add the newline.
3180 * src/messageview.c: enabled message search also in MIME mode.
3184 * src/messageview.c: messageview_show(): set header state of
3185 MimeView's TextView, too.
3186 * src/mimeview.c: mimeview_show_message(): call
3187 textview_show_message() to display message.
3188 * src/textview.c: textview_add_part(): new. It adds the content
3189 of message part without clearing the view.
3190 textview_show_message(): display all parts with appropriate
3192 textview_write_body(): separated from textview_show_part().
3197 src/prefs_common.c: added ISO-8859-15 to the codesets for
3198 displaying and sending.
3199 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3200 conversion failed, and made caller deal with it.
3201 * src/compose.c: compose_write_to_file(): show error dialog when
3202 code conversion failed, and let user select whether to send it
3204 * src/textview.c: textview_write_line(): show the original string
3205 if code conversion failed.
3209 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3210 if copy_mbox() failed (thanks to Alexander Kabaev).
3211 * src/prefs_account.[ch]: added separate user ID / password setting
3213 * src/send.c: send_message_smtp(): use separate user ID / password
3214 for SMTP AUTH if it is specified.
3219 src/pop.[ch]: refactored the UIDL management.
3220 store the information of messages into the array of Pop3MsgInfo
3221 structure, and do full scanning of not retrieved messages.
3227 src/mainwindow.c: set WMCLASS for window/dialog.
3228 * src/codeconv.c: conv_codeset_strdup(): return source string
3229 when jconv_alloc_conv() failed.
3233 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3240 src/summaryview.c: implemented the new notebook tab interface for
3242 * src/textview.[ch]: fixed line space related glitches.
3246 * src/prefs_filter.c:
3247 prefs_filter_rename_path()
3248 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3252 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3253 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3255 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3256 cancelled, and fixed potential crash bug.
3257 * src/grouplistdialog.c: enabled cancelling of data receiving.
3258 * src/news.c: news_get_group_list(): destroy current session if
3263 * src/manage_window.[ch]: fixed a bug that caused crash when
3264 the main window was hidden.
3265 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3266 Monitor "unmap_event", "destroy" events.
3273 src/grouplistdialog.c
3277 src/message_search.c
3281 src/prefs_customheader.c
3282 src/prefs_display_header.c
3284 src/prefs_template.c
3285 src/summary_search.c
3286 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3287 connect signals for window management.
3291 * src/prefs_account.[ch]: added receive size limit option.
3292 * src/pop.c: skip messages larger than the limit size.
3293 LOOKUP_NEXT_MSG(): new macro.
3294 * src/compose.c: compose_attach_append(): check whether the file
3299 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3300 changed g_message()'s to debug_print() and g_warning().
3301 rfc2015_decrypt_message(): fixed a bug that duplicated message
3302 parts when decryption was failed/cancelled. And made some code
3304 * src/passphrase.c: made the dialog transient.
3305 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3310 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3311 messages if GPGME was enabled.
3312 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3314 * src/prefs_account.c: prefs_account_privacy_create(): modified
3315 the vertical spacing.
3319 * src/menu.[ch]: menu_set_sensitive_all(): new.
3320 menu_set_insensitive_all(): made it a wrapper for
3321 menu_set_sensitive_all().
3322 * src/prefs_account.c:
3323 prefs_account_open()
3324 prefs_account_protocol_set_optmenu(): made the protocol type
3325 unchangeable after creating an account.
3326 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3327 extract all attathed files from nested multipart MIME message.
3331 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3332 obtain minimum/maximum number, and to specify first number
3335 src/inc.c: enabled new message checking on news folder.
3336 * src/news.c: news_scan_group(): implemented. Guess new/unread
3337 message number from the response of GROUP command and the mark
3339 news_select_group(): return the total/first/last number.
3340 * src/prefs_account.c: prefs_account_receive_create(): modified
3341 the text of the 'Get all' check button.
3345 * src/account.c: made 'Get all' checkbox available for IMAP4 and
3347 * src/inc.c: corrected the argument of folderview_check_new().
3348 * src/prefs_account.c: modification for the "`Get all' checks for
3349 new mail on this account" checkbox.
3353 * src/folderview.[ch]:
3354 folderview_rescan_tree(), folderview_rescan_all(): renamed from
3355 folderview_update_tree() and folderview_update_all().
3356 folderview_update_all_node(): removed.
3357 folderview_check_new(): new. If the argument is NULL, it checks
3358 all local folders. If the arguments is specified, it checks
3359 the (local and remote) folder.
3362 inc_all_account_mail(): check also IMAP4 account.
3367 folderview_rename_folder_cb()
3368 folderview_delete_folder_cb(): modify the filter rules when folder
3370 * src/prefs_filter.[ch]:
3371 prefs_filter_rename_path(): new. It renames the destination paths
3373 prefs_filter_delete_path(): new. It deletes the filter rules if
3374 the destination paths matched.
3375 * thanks to Neill Miller for above.
3379 * src/compose.c: inherit attached files when forwarding or reediting
3380 (rewrote the code in claws branch).
3381 compose_attach_parts(): new. It extracts and attaches the files
3382 in the given message.
3383 compose_attach_append(): chnaged the types of arguments.
3384 * src/messageview.c: messageview_show(): moved the GPG decryption
3386 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
3394 * src/summary_search(): summary_search_execute(): scroll the view
3395 when message view is hidden.
3399 * src/foldersel.c: foldersel_set_tree(): made different type of
3400 folders selectable in moving mode.
3401 * src/folderview.[ch]: folderview_update_msg_num(): compare the
3402 numbers with the CTree's labels, and don't update folder_item here.
3403 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
3404 implemented moving between different type of folders.
3405 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
3406 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
3407 mh_move_msg() and mh_move_msgs_with_dest()).
3408 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
3409 moving between different type of folders.
3410 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
3411 * src/summaryview.c: summary_status_show(): update folder_item
3413 * po/POTFILES.in: removed reference to headerwindow.c.
3414 * src/summaryview.c: summary_step(): fixed the behavior on the
3415 head and tail of the list.
3419 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
3420 all header' toggle state from the property of the TextView.
3421 * src/summaryview.[ch]: made 'All header' toggle switch.
3422 Prohibited unnecessary menu update.
3423 summary_select_node(): added the argument 'do_refresh'.
3428 * src/utils.c: strsplit_with_quote(): remove quotation characters
3429 in the function (fix composer's external editor problem) (thanks
3430 to Stefaan A Eeckels).
3431 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
3432 main_window_menu_callback_block()
3433 main_window_menu_callback_unblock(): new.
3434 main_window_set_menu_sensitive(): set the toggle status of
3436 show_all_header_cb(): read the status of toggle menu item.
3437 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
3438 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
3443 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
3444 the path separator (thanks to Sergey Vlasov).
3445 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
3446 if the length of selection is zero.
3447 Fixed the assertion.
3448 * src/utils.c: str_open_as_stream(): return immediately if
3449 the length of str is zero.
3450 * src/headerwindow.[ch]: removed.
3452 src/inc.c: removed stale thread support codes.
3456 * src/procmsg.c: procmsg_open_message(): modified so that it
3457 returns the stream of decrypted message file if it exists
3458 (this fixes the failure of gpg decryption in messageview.c).
3468 src/prefs_template.c
3470 src/quote_fmt_parse.y
3472 src/utils.[ch]: if the part of the message text is selected, use
3473 it for quoted text instead of the entire message body (thanks to
3475 src/utils.[ch]: str_open_as_stream(): new. It returns an
3476 temporary stream for the given string.
3477 * src/main.c: added "--send" command line option.
3478 * src/compose.c: compose_reply_set_entry(): add From address to
3479 Cc if Reply-To and to_all are both specified.
3480 * Makefile.am: correct the Source: line in the RPM spec file in
3485 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
3487 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
3488 that specifies the folder selection type.
3499 src/prefs_customheader.c
3501 src/summaryview.c: made it compile with C compilers other than gcc
3502 (thanks to Shawn Houston).
3506 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
3508 * src/prefs_common.c: made the key binding setting separate dialog.
3509 * src/addressbook.c: addressbook_format_address(): add "" around
3510 the display name if it contains comma (thanks to Satoshi Watanabe).
3511 * src/addr_compl.c: get_complete_address(): add "" around the
3512 display name if it contains comma.
3513 get_address_from_edit(): handle the quotation character correctly.
3514 * src/addr_compl.c: get_complete_address()
3515 src/addressbook.c: addressbook_format_address(): fixed a bug that
3516 caused wrong text processing if the display name is empty.
3521 * src/compose.c: compose_exec_ext_editor_real(): replaced
3522 g_strsplit() with strsplit_with_quote().
3524 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
3526 folderview_drag_motion_cb()
3527 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
3528 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
3532 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
3533 of the message is different from the current mailbox.
3534 Return the correct value.
3535 imap_cmd_append(): properly implemented the APPEND command.
3540 src/messageview.[ch]
3541 src/summaryview.[ch]
3542 src/textview.[ch]: show all headers in the message view, and don't
3543 use the header window anymore.
3545 src/prefs_common.c: changed the default shortcut of 'compose new
3548 src/summaryview.[ch]: summary_display_msg_selected(): new.
3549 Show the selected message if 'Show all header' is selected.
3551 src/sourcewindow.c: changed some procmsg_get_message_file_path()
3552 to procmsg_get_message_file() to be sure the message is
3554 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
3555 any folder to MH folder.
3556 folderview_drag_received_cb(): copy messages instead of moving
3557 if the source folder is news or IMAP.
3559 src/summaryview.c: allow copy from news folder.
3563 * src/prefs_common.c: prefs_other_create(): modified the design
3564 of the external command settings.
3565 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
3566 preset closer to the original.
3567 Added Mutt keybind preset.
3568 Also change the compose keybinds.
3569 * src/compose.c: modified some menu shortcuts.
3570 * src/codeconv.c: modified the locale_table for Thai encoding.
3574 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
3575 * src/prefs_common.c: prefs_interface_create(): modified the
3576 description for menu shortcut.
3580 * src/gtkutils.[ch]: added gtk_stext_clear().
3583 src/summaryview.[ch]: enabled multiple forwarding.
3584 * src/summaryview.c:
3585 summary_set_marks_selected(): set marks for all selected row.
3586 summary_reply(): moved from summary_reply_cb().
3587 * compose.[ch]: compose_forward(): modified so that it receives
3589 * src/mainwindow.c: cleanup for reply processing.
3590 * src/summaryview.c: summary_reply(): fixed a memory leak.
3591 summary_key_pressed(): removed hardcoded mark / mark as unread
3594 src/prefs_common.c: added mark / mark as unread shortcuts to
3599 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
3600 if prefs_common.linewrap_quote is not set (it is only for
3601 auto-wrapping on reply).
3602 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
3603 when creating a new account.
3604 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
3606 * src/prefs_common.c: prefs_interface_create(): modified the
3607 description of key binds selector.
3611 * src/mimeview.c: fixed multiple dialog / moving by correcting
3612 button / key event processing.
3614 src/textview.c: pass some key press events to MimeView in MIME
3616 * src/prefs_filter.c: fixed a bug that didn't set the order of
3618 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
3619 empty_menurc string.
3624 src/prefs_common.c: reorganized the menu shortcuts.
3625 Added 'View - Toggle summary view'.
3626 * src/summaryview.[ch]: summary_toggle_view(): made it public
3628 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
3630 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
3631 closing the dialog with window manager (in more appropriate way).
3632 * src/imageview.[ch]
3634 src/mimeview.c: fixed wrong scrolling position when switching
3635 between text and image parts. Also free the unrequired image
3636 (thanks to Sergey Vlasov).
3637 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
3642 * src/prefs_common.c: implemented shortcut quick changer.
3643 * src/folderview.c: folderview_key_pressed()
3644 src/summaryview.c: summary_key_pressed(): removed some hardcoded
3650 procmime_get_mime_type()
3651 procmime_get_mime_type_table(): made the MIME type search case
3654 gtk_stext_delete_line(): delete newline on empty line.
3655 gtk_stext_delete_to_line_end(): delete newline if cursor is on
3657 (thanks to Yasuzaki Masayoshi.)
3662 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
3663 and made them customizable.
3664 * src/utils.[ch]: added get_file_size_as_crlf() which returns
3665 the file size when converting LF to CR+LF.
3669 * src/compose.c: enabled 'Ctrl-Enter' or
3670 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
3672 * src/gtkstext.c: disabled some Emacs key bindings.
3673 gtk_stext_key_press(): don't extend selection when Shift-Enter
3674 is pressed to prevent the disapperance of cursor.
3675 * src/summaryview.c: summary_select_next_unread(): added the button
3676 to search unread message again from the beginning to the dialog.
3677 * src/folderview.c: folderview_key_pressed(): go to next unread
3678 folder if space key is pressed on the empty folder.
3679 Move CTree focus before selecting row.
3683 * src/defs.h: modified the XLFD of default fonts.
3684 * src/textview.c: textview_create(): fixed a bug that caused
3685 segfault if font couldn't be loaded.
3687 src/grouplistdialog.c: compare subscribed groups with path.
3688 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
3692 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
3693 when URL is wider than wrapping margin.
3695 src/prefs_filter.[ch]
3696 src/summaryview.[ch]: added "Create filter rule" function based
3697 on the patch from Luca Rosellini.
3698 * src/summaryview.c: summary_filter_open(): added X-List and
3699 X-Mailing-list to the automatically detected headers.
3703 * configure.in: support Mac OS X (Darwin).
3707 * src/prefs_filter.c: use inc_(un)lock() instead of
3708 inc_autocheck_timer_{remove|set}().
3709 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
3710 instead of gtk_ctree_sort_node() so that messages within threads
3712 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
3713 target of sizeof was wrong and caused crash on Alpha architecture
3714 (thanks to Motonobu Ichimura).
3719 foldersel_gnode_func(): made the names of special folders
3721 foldersel_set_tree(): move the special folder to the top.
3722 * src/inputdialog.[ch]: input_dialog_query_password(): new.
3726 src/send.c: use input_dialog_query_password() instead of their
3727 own query functions.
3731 * src/defs.h: modified the default font.
3735 src/news.[ch]: moved the class definition and some methods to
3736 the proper location.
3740 * src/mimeview.c: mimeview_save_as()
3741 src/summaryview.c: summary_save_as(): put the default filename
3742 based on the subject.
3743 * src/utils.[ch]: added subst_chars() and subst_for_filename()
3744 which substitute some special characters with underscore.
3745 * src/filesel.c: filesel_select_file(): select the default filename.
3750 INSTALL.jp: added the description and the URL for libjconv.
3751 * src/mainwindow.c: menu entries cleanup.
3757 src/about.c: modified the copyright year.
3758 * src/gtkstext.h: added the notice for modification by the Sylpheed
3764 INSTALL.jp: added the URL for compface.
3772 * src/headerwindow.c
3775 src/sourcewindow.c: set wmclass when creating windows.
3779 * src/compose.c: compose_wrap_line_all(): fixed the bug that
3780 caused infinite loop when wrapping certain patterns of quoted text.
3784 * src/imap.c: imap_parse_envelope(): put the assertion after
3785 imap_parse_address() to prevent segmentation fault.
3790 src/mainwindow.c: modified some labels of menu items.
3791 * src/ldif.c: put the return value of fgetc() in a gint.
3792 * src/importldif.c: don't brace null strings with _().
3793 * src/compose.c: moved the position of Subject entry to the last.
3794 Reorganized the menu.
3795 compose_draft_cb(): added 'keep editing after saving to draft'
3800 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
3801 menu. Moved 'Help' menu to just the right of 'Configuration'.
3802 Removed 'File - Close' menu item.
3806 * src/mainwindow.c: some menu reorganization.
3807 * AUTHORS: updated. Added more contributors.
3808 * src/account.c: account_row_moved(): new. Moves displayed row to
3809 the appropriate position when up / down button are pressed.
3810 account_clist_set(): move displayed row to the appropriate position.
3812 src/mainwindow.c: set title and wmclass when creating windows.
3816 * src/gtkstext.c: fixed a bug that didn't show block cursor
3817 correctly. Removed unnecessary GdkGC copy. Fixed cursor
3822 src/undo.c: modified to use GtkSText.
3823 * src/menu.h: added #include <gtk/gtkmenu.h>.
3828 configure.in: added XIM checking for GTK+.
3829 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
3833 * src/filter.c: added #include <sys/types.h>.
3837 * src/template.c: template_write_config(): fixed a typo.
3838 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
3840 src/prefs_filter.c: supported regular expression (thanks to
3842 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
3843 undo state when pasted clipboard was empty.
3844 undo_check_size(): use g_list_last().
3846 undo_redo(): fixed NULL checking and made a bit of optimization.
3848 * src/prefs_common.c: changed the default value of linewrap length
3853 * reorganization of pixmap management.
3854 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
3855 * modified every files which directly use pixmaps data to use
3857 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
3858 undo_set_change_state_func(), and changed its argument from
3859 GtkWidget* to gpointer.
3860 undo_merge(): code cleanup.