3 * configure.in: added check for d_type member in struct dirent.
4 * src/mh.c: mh_scan_folder(): use d->d_type if available.
5 mh_get_uncached_msgs(): removed redundant stat().
6 mh_parse_msg(): return NULL if not a regular file.
7 mh_scan_tree_recursive(): use d->d_type if available.
9 dirent_is_regular_file()
10 dirent_is_directory(): new. Use d->d_type to determine the type
11 of entry if available.
12 remove_dir_recursive(): use dirent_is_directory().
16 * src/folder.h: added 'updated' flag to FolderItem.
17 * src/folderview.[ch]: folderview_update_all_updated(): new. It
18 updates all updated folders.
19 * src/imap.c: set FolderView::update flag on changes of contents.
20 * src/main.c: send_queue()
21 src/mainwindow.c: send_queue_cb(): code cleanup.
22 * src/mh.c: code cleanup.
23 mh_scan_folder(): correctly count new messages.
24 * src/procmsg.[ch]: code cleanup.
25 procmsg_open_cache_file(): new.
26 procmsg_open_mark_file(): enable read/write/append.
27 procmsg_send_queue(): correctly choose outbox for accounts.
28 * src/send_message.[ch]: send_get_queue_info(): get a queue
29 information from queued messages.
30 send_queue_info_free(): free QueueInfo.
31 send_message_queue(): take QueueInfo as an argument instead of file.
32 * src/summaryview.c: summary_write_cache(): code cleanup.
36 * src/compose.c: compose_redirect_write_headers(): correctly add
41 * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
42 command to get flags failed.
43 imap_search_flags(): returns UID array and flags hash table using
45 imap_fetch_flags(): returns UID array and flags hash table using
50 * src/summary_search.c: summary_search_execute(): fixed 'Select all
51 matched' when backward search is enabled.
52 Made the backward search button insensitive when 'select all
61 * src/imap.c: imap_scan_tree(): check the existence of root directory
62 with LIST instead of STATUS.
66 * src/send_message.c: fixed format string bug (exploitable by
67 malicious SMTP server) when calling alertpanel_error()
68 (thanks to Georgi Guninski).
75 src/news.[ch]: refactoring of the folder system (based on the claws'
84 src/summaryview.c: use FOLDER_TYPE() macro at every place.
93 addressbook_folder_load_person()
94 addressbook_folder_load_group(): sort the ctree after the end of
95 the loop (fixes performance issue when many addresses are in one
96 folder) (thanks to christian mock).
100 * src/folderview.c: folder_init(): code cleanup.
101 * src/summaryview.c: summary_init(): check if boldfont is
103 * src/grouplistdialog.c: use proper callback for delete_event (thanks
105 * src/imap.c: allow zero-length messages.
106 * src/recv.c: recv_bytes_write(): return immediately if size == 0.
110 * src/folderview.c: folderview_init(): if font can't be loaded, fall
111 back to gtk default (fixes crashes on startup). Also removed the
116 * src/compose.c: compose_insert_sig(): insert signature at the
117 current cursor position on manual operation.
121 * src/summaryview.c: summary_key_pressed(): don't ignore delete key
122 even if the main window is locked.
126 * src/action.c: improved synchronous action exit code (fixes long
127 delay after action exit on RH9) (thanks to Melvin).
128 * src/stringtable.[ch]: string_table_insert_string(): modified the
129 code to remove the warning "dereferencing type-punned pointer will
130 break strict-aliasing rules".
131 Use const gchar * instead of gchar * for arguments.
135 * src/utils.[ch]: generate_mime_boundary(): a new function to create
136 MIME boundary (moved from rfc2015.c).
137 Removed more special characters.
138 Use random() instead of lrand48() which is obsolete.
139 Added an argument for prefix to prevent duplication.
140 Always add "=_" as a counter-QP sequence to simplify the code.
142 rfc2015_decrypt_message()
144 rfc2015_sign(): fixed a bug that didn't handle continuous content
147 src/rfc2015.c: use generate_mime_boundary().
152 folderview_delete_folder_cb()
153 folderview_remove_mailbox_cb(): close currently displayed folder
154 before removing FolderItem (fixes crash on deleting folder).
156 src/imap.[ch]: imap_scan_tree()
157 src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
158 * src/summaryview.c: summary_clear_all(): also clear the message view.
159 * src/imap.c: imap_close(): fail if the specified folder is not
161 imap_scan_tree(): check if the specified root directory exist, and
162 try creating it if not.
163 imap_parse_list(): output warning if a server returns error.
164 imap_find_namespace_from_list(): support not slash-delimited path.
165 imap_status(): don't return values if they're not specified.
169 * sylpheed.spec.in: fixed a typo.
180 src/prefs_common.[ch]: added the receive dialog's option to
181 display the dialog only on manual receiving, and the
182 RECV_DIALOG_ACTIVE option was removed.
186 * src/compose.c: compose_write_headers(): also replace ':' in the
187 MIME boundary with '_' (as a workaround for broken servers).
191 * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
195 * src/prefs_filter.c: added 'Top' and 'Bottom' button.
199 * src/folder.[ch]: folder_item_remove_children(): new. It removes
200 all children under a FolderItem.
201 * src/folderview.c: folderview_rescan_tree(): modified the message.
202 * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
203 the previous FolderItem objects.
207 * src/folder.[ch]: added a reference to its own GNode in FolderItem.
208 folder_item_remove(): free all FolderItem's.
209 folder_tree_destroy(): use folder_item_remove().
210 * src/folderview.c: folderview_sort_folders(): keep the order even
211 if special folders' parents are different.
212 * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
213 * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
214 mh_remove_missing_folder_items(): scan the directories and remove
216 mh_scan_tree_recursive(): reuse the previous FolderItem objects.
220 * src/mainwindow.c: always reflect window size changes.
221 * src/folderview.c: folderview_init()
222 src/summaryview.c: summary_init(): realize the widget before
224 * src/prefs_common.[ch]: remember the folder and mesage view's
230 src/prefs_common.[ch]: remember the size and position of
232 main_window_set_widgets(): fixed a bug that the hidden items on
233 the header view were shown when changing the view type.
234 Instead of setting the window size, set the each view's size.
238 * src/compose.c: compose_select_account(): don't append signature
240 compose_insert_sig(): don't insert "\n\n" if signature string
241 doesn't exist. Always insert signature at the end of message.
245 * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
249 * minor code cleanups for the folder system.
250 * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
251 * src/folder.c: code cleanups.
253 src/mh.c: calculate message numbers inside the functions.
254 * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
255 * src/summaryview.[ch]: don't calculate and preserve message numbers
264 src/summaryview.c: renamed *_msgs_with_dest() to *_msgs().
268 * src/imap.[ch]: use CAPABILITY to use protocol extentions.
269 imap_greeting(): parse initial server greeting. Also support
272 imap_cmd_append(): use APPENDUID responses if UIDPLUS is supported.
276 * src/imap.c: imap_get_flag_str(): fixed a buffer overrun.
284 * src/main.c: main(): don't save config files on startup.
289 imap_get_msg_list(): removed redundant UID SEARCH ALL when not
291 Unset MSG_NEW flag if \Seen is set.
292 imap_get_uncached_messages(): fetch all messages if both first_uid
297 * src/imap.c: revamped the implementation so that it always
298 exactly reflects the state of IMAP4 servers.
299 imap_get_msg_list(): examine the state of messages using
301 imap_delete_cached_message(): removes single message cache.
302 imap_get_uid(): removed.
303 imap_cmd_search(): new. It issues UID SEARCH command and returns
305 imap_cmd_gen_recv(): made the length of strings unrestricted.
306 imap_get_uid_table(): returns a hash table from UID array.
313 src/news.[ch]: added Folder::close() method.
314 * src/summaryview.c: summary_clear_list(): call folder_item_close().
318 * flags are now taken over when copying messages into IMAP folders
325 mh_add_msgs(): flags can be also specified when adding files.
326 * src/folder.[ch]: added assertions for virtual functions.
327 * src/procmsg.[ch]: procmsg_get_message_file_list(): return the list
329 procmsg_message_file_list_free(): new.
333 * src/procmsg.h: changed MsgPermFlags and MsgTmpFlags from enum to
334 guint32 for portability (thanks to Alfons).
335 * src/imap.c: imap_add_msgs(): removed redundant unlink().
340 session_read_msg_cb()
341 session_read_data_cb(): fixed a bug that ran into infinite loop
342 if connection was closed by remote host (thanks to Yoichi Imai).
343 Added SESSION_EOF state to SessionState.
344 session_is_connected(): new.
345 * src/inc.[ch]: inc_put_error()
346 src/send_message.c: send_put_error(): also put log messages.
350 * more optimization of IMAP4.
351 * src/folder.[ch]: added a method add_msgs() that adds multiple files
353 Removed redundant scan() for the operations of FolderItem.
354 * src/imap.[ch]: implemented Folder::add_msgs() and optimized move
355 and copy from other Folder instances.
356 * src/mh.[ch]: implemented Folder::add_msgs() and cleaned up the code.
357 mh_fetch_msg(): scan folder if required.
358 * src/procmsg.[ch]: procmsg_get_message_file_list(): returns file
359 list from message list.
360 * src/summaryview.c: don't remove MSG_MARKED flags on
361 delete/move/copy operation.
362 summary_display_msg_full(): removed redundant message fetching.
366 * optimized move/copy/delete/mark operations of IMAP4 by using
367 sequence set when issuing commands (adopted claws' implementation
368 with cleaning it up).
370 imap_set_message_flags()
373 imap_cmd_store(): take sequence set string instead of UID number.
374 imap_do_copy_msgs_with_dest(): optimized by using sequence set.
375 imap_cmd_fetch(): use BODY.PEEK instead of BODY.
376 imap_remove_all_msg()
377 imap_set_message_flags(): use FLAGS.SILENT instead of FLAGS.
379 src/summaryview.c: use imap_msg_list_{set,unset}_perm_flags()
380 instead of issuing commands for each message.
385 src/prefs_account.[ch]
387 src/session.[ch]: added an option to enable/disable non-blocking
392 * src/compose.c: compose_attach_append(): display message's subject
393 when attaching message/rfc822 file.
400 session_read_msg_cb()
401 session_read_data_cb(): optimized by removing sock_peek() and
402 buffering received data in user space (correctly implemented
407 * src/session.c: reverted the previous change because it couldn't
408 handle data receiving after messages correctly.
414 session_read_msg_cb(): optimized by removing sock_peek() and
415 buffering messages in user space.
419 * src/imap.[ch]: refactored.
420 Changed all functions that have SockInfo arguments to take
422 Made imap_cmd_count an instance variable: IMAPSession::cmd_count.
423 imap_open(): only establish TCP (or SSL) connection.
424 imap_session_new(): process greeting and authentication here.
428 * src/imap.[ch]: implemented CRAM-MD5 authentication, and made code
430 * src/prefs_account.[ch]: added option menu for IMAP4 authentication
431 type in Receive tab, and hide other protocols' frames.
435 * src/mainwindow.c: send_queue_cb(): don't scan folder twice if
437 * src/procmsg.c: procmsg_send_queue(): return number of sent
443 main_window_set_toolbar_sensitive()
444 main_window_set_menu_sensitive(): removed the locking of file
445 operations while receiving mail.
449 * src/folder.[ch]: folder_item_remove_msg(): take MsgInfo as an
450 argument instead of message number.
451 * src/imap.[ch]: imap_remove_msg(): reimplemented using
453 * src/mh.[ch]: mh_do_move(): reimplemented using
454 mh_do_move_msgs_with_dest().
455 mh_copy_msg(): reimplemented using mh_copy_msgs_with_dest().
456 * src/procmsg.c: procmsg_send_queue(): modified to use message list.
460 * src/rfc2015.c: rfc2015_is_encrypted(): check MimeInfo::mime_type
461 to suppress some warnings.
462 * src/logwindow.c: log_window_append(): don't scroll up when trimming
467 * src/compose.c: add 'Content-Disposition: inline' to a text/plain
468 part when using PGP/MIME signing.
476 * src/defs.h: changed UI_REFRESH_INTERVAL from 40msec to 50msec.
477 * src/session.c: session_read_msg_cb(): make it always fail if
478 sock_read() returns by error.
479 * src/socket.[ch]: sock_check(): handle exceptional SSL condition.
480 sock_has_pending_data(): removed.
481 Removed debug output.
482 * src/send_message.c: send_recv_message(): display messages to
487 * src/inc.[ch]: update received message number on CList while
489 * src/session.c: session_read_data_cb(): optimized by removing
490 g_malloc() and memcpy().
494 * src/socket.[ch]: sock_add_watch(): new. It monitors SSL by original
495 watch functions (otherwise uses g_io_add_watch()).
496 * src/session.[ch]: removed previous workarounds, and replaced
497 g_io_add_watch() with sock_add_watch().
501 * src/socket.[ch]: added sock_has_pending_data() which returns TRUE
502 if socket has pending data.
503 * src/session.c: session_recv_msg(), session_recv_data(): check if
504 socket has pending data and call the callbacks immediately in that
505 case (fixes the hang at ESMTP EHLO on SSL).
509 * src/socket.c: check return value in SSL functions.
513 * src/mimeview.c: mimeview_init(): initialize TextView to prevent
514 slowdown caused by GTK+ themes (thanks to Yuri Arapov).
518 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
519 before calling callbacks.
523 * src/socket.c: made socket connection protocol independent.
524 * src/session.c: removed debug g_print().
525 * src/inc.c: made status bar output less verbose, and show counter
526 on main window's progressbar.
530 * src/session.c: added missing #include <errno.h>.
534 * src/session.[ch]: reimplemented the Session system with non-blocking
535 I/O to solve the performance and the code design issue.
536 * src/socket.[ch]: added sock_connect_async() and
537 sock_connect_async_cancel() to enable asynchronous connection.
538 sock_peek(): modified the implementation.
539 * src/pop.c: optimized the receiving of the responses of
544 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
545 when a node is an ancestor (parent / great parent), which mostly
546 happens with circular references (thanks to Phillipe Gramoulle
547 for finding an sample set of messages, and Alfons for the patch).
551 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
552 UIDL list is not found (fixes inability of initial retrieval).
556 * src/main.c: added the option '--status-full' which shows the status
557 of each folder specified. The option '--status' also takes
558 following arguments for folders (thanks to Yuri Arapov).
559 * src/folder.[ch]: folder_get_status(): new. it takes the array of
560 folders as the argument and returns their status.
561 folder_count_total_msgs(): removed.
571 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
572 to prevent abort when a button is double-clicked.
576 * src/addr_compl.c: invalidate_address_completion(): check if
577 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
581 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
582 deleted messages that is to be kept on server (thanks to Tristan
592 sock_set_io_timeout(): new. It sets the timeout interval.
593 sock_gdk_input_add(): removed since it's not used anymore.
594 * src/prefs_common.[ch]: added an option to set the timeout parameter.
598 * src/action.c: fixed a bug that didn't hide user string in
599 create_io_dialog() (thanks to Markus Amersdorfer).
600 Removed ChildInfo::type and added Children::action_type.
604 * src/inc.c: inc_start(): ask every password before retrieving.
605 Don't popup the redundant error dialog.
607 inc_all_account_mail()
608 inc_progress_dialog_set_list(): separated account list display
610 inc_progress_dialog_set_label()
611 inc_recv_data_finished()
612 inc_recv_message(): properly update the dialog when RETR finished.
617 imap_modified_utf7_to_locale()
618 imap_locale_to_modified_utf7(): fixed compilation failure when not
623 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
624 of message/rfc822 parts.
628 * src/pop.c: pop3_ok(): detect timeout error.
632 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
633 when locale strings include '+'.
634 imap_modified_utf7_to_locale()
635 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
636 if iconv() is not supported.
642 compose_get_signature_str(): include separator in signature string.
643 Don't insert separator if signature file is not found.
644 Disabled use of implicit default signature path (~/.signature) when
654 src/quote_fmt_parse.y
655 src/smtp.c: suppress warnings that gcc-3.3 issues.
656 src/stringtable.c: use string_entry_free().
660 * src/compose.c: compose_insert_sig(): fixed the bug that always
661 appended signature separator if signature file was not found.
662 compose_get_signature_str(): fixed the bug that caused crash if
663 signature file cannot be opened.
671 * src/session.c: session_recv_msg(): removed debug print.
678 imap_cmd_fetch(): check for data size that servers return (fixes
679 vulnerability found in BugTraq).
683 * src/addr_compl.c: get_complete_address()
684 src/addressbook.c: addressbook_format_address()
685 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
686 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
687 * src/main.c: main(): set colormap and visual to solve color problem
688 in Solaris (thanks to Markus Schwarzenberg).
696 * src/prefs_account.c: temporarily removed POP before SMTP option.
700 * src/prefs_common.[ch]: changed the description of "Open message when
701 cursor keys are pressed on summary".
702 * src/summaryview.c: summary_show(): open message when always_show_msg
707 * src/logwindow.[ch]: restrict the maximum lines of the log messages
708 to reduce the memory usage.
712 * src/compose.c: compose_insert_sig(): fixed a crash when signature
713 string contains illegal sequence.
714 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
718 * major refactoring of MIME structure.
719 * src/procmime.c: procmime_scan_message(): decrypt message if
720 gpgme is enabled. Create multipart tree only if content-type is
721 multipart/* or message/rfc822.
722 procmime_scan_multipart_message(): fixed the scanning of
724 * src/action.c: parse_append_msgpart()
725 src/messageview.c: messageview_show()
726 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
727 instead of procmsg_open_message() and procmime_scan_mime_header().
728 mimeview_set_multipart_tree(): conform to the new MIME structure.
729 * src/textview.c: textview_show_part(): removed unnecessary check.
730 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
731 pointer when decryption failed.
735 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
736 by g_warning(), and log_print() by debug_print().
737 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
738 LAST if UIDL is not supported.
742 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
743 if it is the current locale encoding when dest_charset_str is NULL.
747 * src/action.c: execute_actions(): fixed crash when no text widget
748 is selected (thanks to Paul and Melvin).
750 src/prefs_actions.c: added missing reference to Claws team in the
757 session_send_data(): fixed a memory leak and data sending bug.
758 * src/send_message.c:
759 send_message_smtp(): fixed focus management.
763 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
765 * src/send_message.c: show error dialog if error occurred.
766 * src/main.c: send_queue()
767 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
771 * src/session.c: session_close(): kill child process only if
772 state is not SESSION_DISCONNECTED.
773 * src/send_message.c: send_cancel_button_cb()
774 src/inc.c: inc_cancel(): don't set Session::state to
775 SESSION_DISCONNECTED.
776 * src/prefs.[ch]: modified the names of prefs_write_*().
777 * src/address.[ch]: removed.
781 * src/compose.c: compose_template_apply(): overwrite recipients.
785 * src/procheader.c: procheader_date_parse(): removed debug print.
786 * src/session.c: changed every g_print to debug_print.
787 session_child_input(): removed unrequired session_close() (it'll
788 be closed anyway after returning FALSE).
789 * src/send_message.c: send_message_smtp(): changed g_print to
794 * src/procheader.c: procheader_procheader_date_parse(): don't add
795 local timezone offset if timezone is unknown.
796 Made the Y2K workaround code to follow RFC 2822.
797 procheader_scan_date_string(): workaround for date strings which
798 don't have timezone specification.
799 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
804 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
805 some memory leaks on error.
806 action_update_msgview_menu(): new.
807 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
808 messageview_get_selected_mime_part(): returns MimeInfo of selected
809 part when MessageView is in MIME mode.
810 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
812 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
813 MsgInfo list of selected messages.
817 * src/prefs_filter.[ch]: include original message's headers as
818 the preset keywords. Modified the sizes of the widgets.
819 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
820 case-insensitive hash.
824 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
825 auto-detected headers.
829 src/mainwindow.c: modified function names.
830 get_user_string(): Use input_dialog() instead of its own
835 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
836 in encoded strings if addr_field is TRUE.
837 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
841 * src/prefs_actions.[ch]: separated action execution routine into
846 * src/prefs_actions.c: minor code cleanup.
850 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
856 inc_recv_data_progressive()
857 inc_recv_data_finished()
860 send_send_data_progressive()
861 send_send_data_finished(): added assertion.
865 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
870 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
871 in source buffer since it messed up some encoding conversion (like
876 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
877 extract ID from List-Id header.
878 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
879 extract_list_id_str(): extract ID string from List-Id header.
883 * src/prefs_actions.c: merged from the claws branch. Fixes several
884 bugs and adds some features.
888 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
889 linebreaks were included on reediting.
891 src/pop.c: fixed typos: 'occured'.
895 * src/compose.[ch]: implemented auto signature replacement on
897 compose_insert_sig(): added a flag to replace current signature.
898 compose_get_signature_str(): new. It returns signature string.
899 compose_insert_command_output(): removed.
900 compose_select_account(): call compose_insert_sig() on account
902 compose_destroy(): fixed a memory leak of UndoMain object.
903 Compose::sig_str: new. It stores current signature string.
904 * src/gtkutils.[ch]: gtkut_stext_find(): new.
905 Renamed gtk_stext_clear() to gtkut_stext_clear().
906 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
908 normalize_newlines(): converts CR+LF and CR into LF.
909 get_command_output(): returns command output.
913 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
914 filter keyword for messages.
915 * src/summaryview.c: summary_filter_open(): use
916 procmsg_get_filter_keyword().
917 * src/messageview.c: create_filter_cb(): implemented.
923 inc_put_error(): display server responses on error.
924 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
929 * src/messageview.[ch]: separated the forced charset of message view
930 in separate window from the main window.
932 textview_show_message()
934 textview_add_part(): use MessageView::forced_charset if specified.
938 * src/mainwindow.c: modified File menu a bit.
939 * src/menu.[ch]: added functions to handle item factory rc strings.
940 * src/messageview.[ch]: added a menu, and made it take over main
941 window's menu shortcuts.
942 added msginfo which is duplicated on display to MessageView.
943 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
944 menu_factory_clear_rc().
948 * send_message.c: send_message_smtp():
949 re-enabled forcing of SMTP AUTH method.
950 Clear temporary password if authentication failed.
951 * smtp.c: output warning to log and set SMTPSession::error_val
953 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
954 * src/mbox.c: proc_mbox(): force updating of folder.
958 * src/pop.h: changed error value to enum.
959 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
961 pop3_ok(): return appropriate error value based on current state.
962 Output warning to log if error occurs.
967 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
972 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
973 Session::state == SESSION_ERROR.
974 * po/POTFILES.in: removed src/automaton.c and src/send.c.
975 Added src/send_message.c.
980 src/session.c: fixed breakage of POP3 retrieval.
981 session_recv_data_from_sock_unescape(): read until terminator
982 appears and also return the actual size.
986 * src/automaton.[ch]: removed.
987 * src/session.c: removed some of the debug output.
988 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
989 returns EHLO-style response to HELO command.
990 Ignore all multiline responses except for EHLO since they are
991 allowed for any command.
996 src/pop.c: fixed retrieval of messages which contain dot-escaped
998 session_recv_data(): added a flag for unescape.
999 session_recv_data_from_sock_unescape(): new. It receives message
1000 for each line and unescapes dot-escaped lines.
1001 Removed the previous workaround.
1002 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
1006 * src/pop.[ch]: workaround for brekage of retrieval when given size
1007 and actual one is different.
1011 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
1012 since some servers sometimes return incorrect message size.
1013 * src/news.c: news_session_new(): zero clear NNTPSession object.
1014 Don't initialize Session::sock with nntp_sock->sock to prevent
1015 double-free of SockInfo.
1016 * src/imap.c: zero clear IMAPSession object.
1017 imap_cmd_append(): don't close SockInfo.
1021 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
1026 src/pop.[ch]: reimplemented using new I/O system.
1027 * src/session.[ch]: session_recv_data(): new.
1028 session_send_data_to_sock()
1029 session_recv_data_from_sock(): decreased the frequency of progress
1034 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
1038 * src/session.[ch]: session_start_tls(): new.
1039 session_recv_msg(): made it static.
1043 * implemented asynchronous network I/O.
1044 * src/session.[ch]: the interface to communicate with servers through
1047 src/send_message.[ch]: rewrote using new I/O system.
1048 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
1049 *_write() as just a simple wrapper for write().
1050 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
1051 message to send with SMTP or NNTP.
1052 file_read_stream_to_str(): new.
1056 * src/textview.c: textview_button_pressed(): corrected the range of
1058 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
1059 represented with more than 2 bytes as 2 character width and 2 bytes
1060 one as a single character width as a workaround for wrapping problem.
1064 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
1069 * implemented HTML link correctly.
1070 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
1072 html_get_tag(): new. It parses tag and returns HTMLTag object.
1073 html_parse_tag(): also parses <a> tags and 'href' attributes.
1074 * src/textview.c: textview_write_link(): new. It creates link string.
1078 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
1079 loop / crash bug (thanks to Darko Koruga).
1080 compose_write_to_file(): put correct charset element when
1081 conversion failed but want to send anyway.
1085 * src/headerview.c: headerview_show()
1086 src/textview.c: textview_write_line(): remove unreadable characters
1087 from displayed strings to prevent crashes on multi-byte
1089 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
1090 from conv_localetodisp().
1094 * src/procmsg.c: procmsg_cmp_by_subject()
1095 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
1098 subject_compare_for_sort()
1099 trim_subject_for_sort(): new.
1107 * src/defs.h: added -i option to the default sendmail command.
1111 * src/codeconv.[ch]: added missing character encodings and locales.
1116 procmsg_get_mark_sum()
1117 procmsg_open_mark_file()
1118 procmsg_read_mark_file(): take FolderItem instead of directory
1123 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
1124 which is on the wrap boundary would be lost when encoding long
1125 non-ascii strings (thanks to Sergey Vlasov).
1126 Don't force wrapping within a long word until it reaches hard line
1127 length limit (998 characters) (workaround for the breakage of
1128 long address list with no spaces).
1132 * src/prefs_account.c: fixed compile failure when using neither
1137 * src/codeconv.c: fixed UTF-8 locale support.
1138 conv_get_code_conv_func(): return conv_noconv if locale encoding
1139 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
1141 conv_convert(): call conv_iconv_strdup() instead of
1142 conv_codeset_strdup().
1143 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
1147 * src/prefs_account.[ch]: added an option to use command output for
1149 * src/compose.c: compose_insert_sig(): use command output if
1151 compose_insert_command_output(): new.
1155 * src/main.c: main(): remove lock socket if sylpheed is not running
1156 when --status command is executed.
1157 lock_socket_remove(): new.
1161 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
1162 codeset is US-ASCII (or POSIX).
1166 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
1167 and continue conversion.
1171 * src/summaryview.c: summary_selected(): always update widget
1176 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
1177 date in timezones more than GMT+12 or less than GMT-12.
1181 * src/prefs_common.[ch]
1182 src/sourcewindow.c: remember the size of source window.
1183 * src/md5.c: fixed a compile problem with gcc 3.3.
1187 * src/about.c: about_create(): modified the copyright notice.
1191 * src/colorlabel.c: don't use pixmaps for label color rect but draw
1192 rectangles so we can respect the color map of palette based visuals
1193 (fixes the long time crashes on Solaris - thanks to Alfons
1198 * src/procheader.c: procheader_date_parse(): made month string case
1200 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
1201 selection list is empty.
1205 * src/quote_fmt_parse.y: removed gettext translatable strings.
1206 * src/unmime.c: unmime_header(): remove broken characters when
1207 code conversion failed.
1208 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
1209 headers if long words more than 75 characters are entered.
1213 * src/prefs_account.c: prefs_account_receive_create()
1214 src/utils.c: to_human_readable(): made units translatable.
1218 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
1219 at first byte (fixes abort() problem of glibc).
1220 * src/html.c: html_read_line(): remove characters which can't be
1221 displayed on the current locale.
1226 trim_subject_for_compare(): renamed from trim_subject().
1227 trim_subject(): new. It removes [...] or (...) at the beginning
1229 * src/prefs_folder_item.c
1231 added options for trimming summary / compose subject.
1232 * src/summaryview.c: summary_set_header(): trim subject if the folder
1234 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
1240 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
1241 X-Face header problem).
1242 conv_encode_header(): allow up to 97 characters for one word.
1246 * src/filter.c: filter_match_condition(): fixed the bug that
1247 second condition ignored regex.
1248 * src/news.h: NewsGroupInfo: use guint for message numbers
1249 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
1253 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
1254 on code conversion failure.
1255 conv_get_charset_str()
1256 conv_get_charset_from_str(): optimized using hash table.
1260 * src/quote_fmt_parse.y:
1261 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
1262 treat only "\n-- \n" as a signature separator.
1266 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
1267 * src/summary_search.c: summary_search_execute(): search collapsed
1273 conv_unreadable_latin(): include 0x7f as an unreadable character.
1274 conv_localetodisp(): don't remove 8bit characters by default.
1275 conv_get_current_charset()
1276 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
1277 appended at the last of locale name.
1278 * src/compose.c: compose_write_to_file(): show from and to encoding
1279 when code conversion failed.
1287 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
1288 (thanks to Colin Leroy).
1289 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
1294 * src/textview.c: textview_write_line(): don't convert if conv is
1299 * src/codeconv.[ch]:
1300 renamed conv_guess_encoding() to conv_guess_ja_encoding().
1301 conv_localetodisp(): new. It removes unreadable characters from
1302 (assumed) current locale string.
1303 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
1304 NULL and current locale encoding is US-ASCII.
1305 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
1306 specified for destination charset.
1307 * src/textview.c: textview_write_line(): use conv_localetodisp()
1308 instead of strncpy2() if conversion failed.
1312 * src/codeconv.c: conv_iconv_strdup()
1314 imap_modified_utf7_to_locale()
1315 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
1316 a warning on some systems.
1317 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
1319 Return NULL instead of incomplete string if conversion failed.
1323 * src/summaryview.c: summary_execute(): select appropriate node
1324 if currently selected node is to be deleted.
1325 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
1326 TRUE if the specified node is selected.
1330 * src/summaryview.c: summary_status_show(): fixed a occasional crash
1331 on deleting or moving.
1335 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
1336 of EUC-JP more accurate.
1337 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
1349 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
1350 duplication bug if the source string has CRLF.
1352 canonicalize_str(): new. Returns newly allocated canonicalized
1354 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
1355 uncanonicalize_file_replace(): new.
1356 * src/compose.c: always canonicalize body before processing, and
1357 uncanonicalize before returning.
1361 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
1362 ENC_8BIT for Russian charsets.
1363 * src/compose.c: compose_write_to_file(): use base64 when signing
1368 * src/prefs_common.c: prefs_send_create(): added a description for
1369 the setting of Content-Transfer-Encoding.
1373 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
1375 * src/procmime.c: procmime_get_encoding_for_charset(): return
1376 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
1377 * src/compose.c: compose_attach_append(): set correct Content-
1378 Transfer-Encoding for message/rfc822.
1379 compose_write_to_file(): enabled user-definable Content-Transfer-
1381 * src/prefs_common.[ch]: added an option for user-defined Content-
1386 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
1387 line doesn't end with linebreak.
1391 * implemented quoted-printable encoding.
1392 * src/quoted-printable.[ch]: qp_encode_line(): new.
1394 compose_write_to_file()
1395 compose_write_attach(): implemented quoted-printable encoding.
1396 compose_attach_property_create(): enabled quoted-printable menu
1398 * src/procmime.c: procmime_get_encoding_for_charset(): return
1399 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
1400 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
1407 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
1408 of abbreviation of newsgroup name.
1412 * configure.in: show the result of iconv detection.
1416 * src/codeconv.[ch]: made the transition from libjconv to iconv().
1417 conv_iconv_strdup(): new.
1421 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
1427 src/prefs_folder_item.c: English fix (property -> properties).
1428 * src/prefs_filter.c: alert if entry is not saved.
1429 prefs_filter_dialog_to_filter(): new.
1433 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
1434 strings after linefeed.
1439 * src/codeconv.[ch]: code cleanup and optimization.
1440 conv_code_converter_new()
1441 conv_convert(): use functions obtained by conv_get_code_conv_func()
1442 when using libjconv.
1443 conv_codeset_strdup(): code cleanup.
1444 conv_get_code_conv_func(): added an argument for destination
1445 character set, and generalized.
1449 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
1451 * src/compose.c: compose_convert_header(): remove trailing spaces.
1452 * src/customheader.c: custom_header_read_str(): strip the spaces
1454 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
1455 strip the spaces of name and value.
1463 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
1464 into infinite loop when encountering invalid characters.
1468 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
1470 * src/summaryview.c: summary_show(): removed summary_sort() because
1471 it is done inside folder_item_get_msg_list(). This will improve
1472 the performance of summary display.
1473 Sorted out the summary sort functions using macros.
1477 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
1478 list if FolderItem::sort_key is set.
1479 Added SORT_BY_TO to FolderSortKey enum.
1480 * src/mainwindow.c: added "View/Sort/by recipient".
1488 * src/codeconv.c: conv_encode_header(): fix for redundant space on
1490 * src/compose.c: compose_convert_header(): always pass string to
1491 conv_encode_header() for line-breaking.
1495 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
1496 parsing of email addresses.
1500 * src/defs.h: added DEFAULT_BROWSER_CMD.
1501 * src/mimeview.c: mimeview_view_file()
1502 src/prefs_common.c: prefs_other_create()
1503 src/utils.c: open_uri(): changed the default web browser to
1504 mozilla, and changed 'raise' command (which is undocumented)
1505 to 'new-window' in 'netscape -remote'.
1509 * src/compose.c: compose_send_control_enter(): fixed crash on
1510 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1518 sort_summary_type_cb(): prevent unwanted processing on unchecking
1523 * src/main.c: process command line option before gtk_init() to
1524 enable remote operation without X (thanks to Ruslan N. Balkin).
1525 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1530 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1531 (the spec of autotools seems to be changed).
1535 * src/imap.c: get path separator using LIST command if server
1536 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1537 imap_parse_list(): added an argument to return path separator.
1538 imap_get_namespace_by_list(): new.
1542 * src/addr_compl.c: add_address(): removed the debug print.
1543 * src/gtkutils.[ch]: gtkut_window_popup()
1544 src/mainwindow.c: main_window_popup(): applied the patch to fix
1545 the behavior of window popup from Sergey Vlasov (thanks!)
1546 * src/account.c: account_edit_create(): use signal_connect_after
1547 for row_move signal to fix the row position bug.
1548 account_row_moved(): scroll the CList half page.
1549 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1551 * src/summaryview.c: summary_reply(): use selection text only if
1552 the displayed message is selected (thanks to Sergey Vlasov).
1556 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1557 of MIME header encoding. And use Q-encoding method if the current
1558 locale is single-byte one.
1559 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1560 of wide-character string. Consider control codes as non-ASCII.
1561 get_next_word_len(): new. It returns the length of next word.
1562 is_next_mbs(), find_wspace(): removed.
1563 * src/quoted-printable.[ch]: new.
1564 qp_decode_line(): decodes one QP line.
1565 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1566 qp_get_q_encoding_len(): returns the length when a string is
1568 qp_q_encode(): Q-encode a string (RFC 2047).
1569 * src/unmime.c: moved the functions for quoted-printable to
1574 * src/send.c: send_message_local(): escape line that only have one
1575 dot character (postfix's sendmail command will stop there).
1579 * src/send.c: send_message_local(): don't escape first-dot line
1580 (thanks to Sergey Vlasov).
1584 * autogen.sh: added 'libtoolize --force --copy' to override the
1586 * acconfig.h: removed.
1587 * configure.in: increased minimal version of GPGME to 0.3.10.
1588 Fixed checking of XIM.
1590 ac/gnupg-check-typedef.m4: added an argument for comment.
1594 * src/imageview.[ch]: fixed conflicting declarations of
1595 imageview_show_image() (thanks to Thorsten Maerz).
1599 * src/compose.c: compose_entry_append(): don't add ", " on subject
1601 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1602 charset from the table (currently disabled for non-Japanese locales).
1603 conv_get_current_locale(): also refer to LC_CTYPE.
1607 * README: added a description about hidden settings.
1611 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1612 Made enable_hscrollbar and bold_unread hidden options.
1616 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
1621 account_find_from_message_file()
1622 account_find_from_msginfo(): new. They find an account from the
1623 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
1626 compose_reedit(): restore messages' previous account on composition.
1627 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
1632 * src/compose.c: cleaned up the code using compose_entry_set()
1633 (don't use gtk_entry_set_text() directly).
1637 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
1641 * updated autotools and libtool to the latest version.
1642 * configure.in: added AC_PREREQ(2.50).
1646 * src/textview.c: textview_set_font(): fix for message display in
1647 UTF-8 locales (thanks to Sergey Vlasov).
1651 * src/imageview.[ch]: imageview_show_image(): resize images to fit
1652 the window size if specified.
1653 * src/prefs_common.[ch]: added an option 'Resize attached images'.
1657 * refactoring for SMTP implementation.
1658 * src/session.h: added ui_func to Session.
1659 * src/smtp.[ch]: separated the connection routine from
1660 smtp_session_new() to smtp_connect().
1661 Changed the argument of every function other than smtp_ok() from
1662 SockInfo to SMTPSession.
1663 Call UI callback from each functions.
1664 * src/send.c: send_message_smtp(): separated the code for UI update
1665 into send_progress_dialog_update().
1669 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
1670 * src/send.c: send_message_smtp(): call smtp_auth() and display
1671 the state to the dialog.
1675 * src/filter.c: strmatch_regex(): use extended regex (thanks to
1677 * src/main.c: main(): removed the code for assortrc -> filterrc
1679 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
1680 current locale is C or POSIX.
1681 gtkut_stext_is_uri_string(): include "www." for URI string.
1682 * src/textview.c: textview_make_clickable_parts(): include "www."
1691 * src/textview.c: textview_add_part(): indicate signature status
1692 using different colors.
1696 * src/folder.c: folder_write_list_recursive(): escape
1697 To/Cc/Bcc/Reply-To strings.
1701 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
1702 headers on locales other than Japanese when not using libjconv.
1706 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
1707 corresponding error message.
1708 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
1713 * src/prefs_account.[ch]: removed prefs_account_save_config() since
1715 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
1716 procmime_mimeinfo_free_all() can be used in every case.
1720 * src/account.c: account_get_special_folder(): support F_INBOX, and
1725 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
1726 COMPOSE_ENTRY_*, and added
1727 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
1730 compose_redirect(): added FolderItem to the arguments, and reflect
1731 settings in the item.
1732 compose_entry_set(): new.
1733 compose_entry_append(): code cleanup.
1734 compose_entries_set_from_item(): take ComposeMode in its arguments,
1735 and enabled FolderItem::use_auto_to_on_reply.
1736 * src/summaryview.c: summary_reply(): pass folder_item to
1737 compose_{reply,forward,redirect}().
1741 * src/gtkutils.[ch]:
1742 gtkut_font_load(): new. It automatically choose font or fontset
1744 gtkut_font_load_from_fontset(): new. It tries to load single font
1745 instead of fontset from a fontset string.
1749 src/summaryview.c: workaround for the problem that couldn't display
1750 8-bit characters in C or POSIX locale (use font instead of fontset).
1753 src/textview.c: made code cleanup using gtkut_font_load*().
1757 * src/mh.c: mh_get_msginfo(): set correct message number.
1761 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
1762 It returns a new MsgInfo associated to a message number.
1763 folder_item_get_msginfo(): new.
1764 * src/imap.[ch]: imap_get_msginfo(): new.
1765 * src/mh.[ch]: mh_get_msginfo(): new.
1766 * src/news.[ch]: news_get_msginfo(): new.
1770 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
1771 infinite loop if an invalid code appeared.
1775 * src/codeconv.c: conv_codeset_strdup()
1776 src/html.[ch]: html_read_line(): don't output conversion failure
1778 Added HTML_CONV_FAILED to the enum HTMLState.
1782 * implemented per-folder auto-set address (still in progress).
1783 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
1784 and set entries from it (if mailto is empty).
1785 compose_entry_append(): activate menu if required.
1786 compose_entries_set_from_item(): new.
1787 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
1788 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
1790 folder_build_tree(), folder_read_folder_func(),
1791 folder_write_list_recursive(): added the above members.
1792 * src/prefs_folder_item.[ch]: added auto-set addresses.
1793 * src/pop.[ch]: removed Pop3State::prev_folder.
1797 * src/compose.c: allow dropping files by also "moving" files from a
1798 file manager (thanks to Alfons).
1802 * compose_reply_set_entry(): made Reply-To have priority over
1803 List-Post on ML reply.
1807 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
1808 * src/summaryview.c: summary_step(): fixed a bug that lost the
1809 correct selection anchor.
1810 summary_key_pressed(): use gtk_sctree_select() instead of
1814 src/recv.c: differentiate disk full and socket errors
1815 (thanks to Colin Leroy).
1819 * src/account.c: account_edit_prefs(): removed unused variables.
1820 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
1823 compose_reply_set_entry(): receive reply type with one argument.
1824 * src/summaryview.c: summary_reply(): reduced conditional branches.
1828 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
1829 from line ends (thanks to Sergey Vlasov).
1830 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
1835 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
1836 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
1837 messages all at once.
1841 * src/account.[ch]: account_open(): new. It opens account prefs
1842 dialog and reflects to UI when finished.
1844 folderview_button_pressed()
1845 folderview_property_cb(): open account prefs dialog when the
1846 property of the root folder of remote account is requested.
1850 * src/account.c: account_destroy(): unref account information in
1852 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
1853 specified account information in all folders.
1855 folderview_rm_imap_server_cb()
1856 folderview_rm_news_server_cb(): destroy Folder first because
1857 folder_destroy() refers to account information.
1861 * src/account.c: account_find_from_item(): fixed a bug which didn't
1862 select the correct account.
1863 * inc_pop3_session_do():
1864 fixed the resource leak when SSL initialization failed.
1865 Immediately break from temporary event loop if cancelled.
1869 * src/account.[ch]: account_find_from_item(): new.
1871 compose_reply(), compose_forward(), compose_redirect()
1872 src/mainwindow.c: compose_cb(): select optimal account when
1874 * src/folder.[ch]: added FolderItem::apply_sub.
1875 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
1876 index of option menu which contains the specified data.
1877 * src/prefs_folder_item(): added Compose tab, and the setting of
1882 * configure.in: added $LDAP_LIBS for lber library detection.
1890 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
1891 leak, and added error checking.
1895 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
1896 removed Compose::orig_account.
1897 compose_check_for_valid_recipient(): check only enabled entries.
1898 compose_write_headers()
1899 compose_redirect_write_headers(): add Newsgroups header only
1900 when the entry is enabled.
1901 compose_send(): modified the method of finding a mail account
1902 from a news account so that it tries to match the From address.
1903 * src/send.c: send_message_queue(): enabled the queueing of news
1905 * src/news.[ch]: news_post_stream(): new.
1909 * configure.in: check lber first and use $LDAP_LIBS on the check
1914 * po/*.po: fixed many typos of format strings which will lead to
1915 crash (thanks to Sergey Vlasov).
1919 * src/procheader.c: procheader_parse_stream(): added Cc header
1920 to the target for full parsing.
1921 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
1922 returns the full message information from the given information.
1923 * src/compose.c: compose_reply(), compose_forward(): get full
1924 message information for Cc header.
1928 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
1929 IMAP4 and NNTP folder summary after checking those accounts.
1937 * src/prefs_common.c: prefs_compose_create(): modified the label
1938 of the option for Reply button.
1939 * configure.in: add -lldap and -llber to the 5th argument of
1940 AC_CHECK_LIB() for LDAP library detection.
1945 INSTALL.jp: updated.
1949 * src/mainwindow.c: toggle the behavior of Reply button between
1950 normal reply and reply-to-list.
1951 * src/prefs_common.[ch]: added an option to switch the function
1956 * src/compose.c: compose_new(): removed the workaround for XIM
1957 because it doesn't have any effect and only seems to cause
1962 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
1963 compose_parse_header(): parse also List-Post header.
1964 compose_reply_set_entry(): support reply-to-ML (fall back to
1965 normal reply if ML address is not found).
1968 src/summaryview.c: reorganized Reply menu and added 'Reply to
1970 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
1971 returns newly allocated parameters.
1975 * src/account.c: account_read_config_all(): set account information
1976 to default before initializing with configuration file.
1977 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
1978 newly created account information structure initialized by
1979 the default settings.
1984 replace_address_in_edit(): check if newtext is NULL.
1985 completion_window_button_press(): fixed a memory leak.
1986 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
1987 recv_time is RECV_TIME_KEEP.
1988 pop3_getrange_uidl_recv(): only set get_all flag if
1989 ac_prefs->getall is set.
1990 pop3_retr_recv(): don't delete messages which are not received
1991 by filter, and set recv_time to RECV_TIME_KEEP in the case.
1992 * src/pop.h: added an enum RecvTime.
1993 * src/inc.c: inc_drop_message(): unlink temporary message file if
1994 not received by filter.
1998 * src/mainwindow.c: added 'Edit/Select thread' menu.
1999 * src/summaryview.[ch]: added 'Select thread' to the context menu.
2000 summary_select_thread(): new. It selects all messages of current
2005 * src/rfc2015.c: check_signature(): corrected error handling and
2010 * src/rfc2015.c: check_signature(): correctly remove the last empty
2011 line, and canonicalize the file part before verifying (this should
2012 fix incompatibility with Evolution or some other MUAs).
2013 * src/utils.[ch]: copy_file_part(): new. It copies the specified
2014 range of file stream to another file.
2018 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
2019 8-bit text when signing (thanks to Colin Leroy).
2023 * src/prefs_common.c: prefs_send_create(): fixed the charset string
2024 for Cyrillic (Windows-1251).
2032 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
2033 Windows-1251. Added bg_BG locale.
2037 * src/compose.c: account_activated(): change the state of menu items
2038 and entries according to the selected account.
2039 compose_select_account(): new. It changes the state of title bar,
2040 menu items and entries.
2044 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
2046 Don't refresh summary view on fetching when open_inbox_on_inc is
2051 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
2052 is set (to avoid summary refresh problem).
2053 * src/imap.c: removed warnings by checking the existence of directory
2054 before calling remove*_numbered_files().
2058 * src/prefs_common.c: corrected English.
2062 * src/prefs_common.[ch]: added an option: "Mark messages as read
2063 only when opened in new window".
2068 folder_tree_destroy()
2069 folder_write_list_recursive(): added sanity check.
2070 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
2071 can't get session, create empty folder node (based on the
2072 Alfons' suggestion).
2076 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
2078 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
2083 * src/news.c: news_scan_group(): fixed wrong message number
2088 * major refactoring for POP3.
2089 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
2090 inc_pop3_state_destroy(), inc_get_uidl_table(), and
2091 inc_write_uidl_list() into pop.c.
2092 Moved Pop3State::folder_table and Pop3State::inc_state into
2095 inc_put_error(): added lockbusy state.
2096 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
2097 inc_cancel(): don't terminate the automaton here but just set
2098 the flags to prevent crash.
2100 pop3_getauth_pass_recv()
2101 pop3_getauth_apop_recv(): check lockbusy state.
2102 pop3_retr_recv(): check Pop3State::cancelled flag.
2103 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
2104 automaton_input_cb(): terminate if cancelled flag is true.
2105 * sylpheed.desktop: changed Type=Internet to Type=Application.
2106 Added Categories=Application;Network;.
2112 src/progressdialog.c: show detailed information to the status
2114 Added cur_total_recv_bytes to Pop3State.
2115 * src/prefs_common.[ch]: added an option to specify whether to
2116 close receive dialog when finished.
2120 * src/folder.[ch]: folder_get_path(): new. It returns the root path
2124 imap_folder_destroy()
2126 imap_remove_all_msg()
2127 news_folder_destroy(): remove cache directories / files when
2128 deleting Folder / messages.
2132 is_file_entry_exist(): check if the argument is NULL.
2134 remove_numbered_files()
2135 remove_expired_files(): fixed memory leaks on error.
2144 src/smtp.[ch]: made Folder and Session destructor virtual method.
2148 * src/compose.c: do joining of normal lines only when auto-wrapping.
2149 * src/main.c: modified the warning message for GnuPG.
2150 * src/about.c: about_create(): modified the compiled-in features
2152 * configure.in: improved LDAP library checking (thanks to Alfons).
2162 compose_wrap_line_all(): backed out the change to join lines that
2167 * configure.in: require at least gpgme-0.3.5.
2171 * src/alertpanel.c: alertpanel_create(): minor modification.
2180 * src/alertpanel.c: alertpanel_create(): modified the layout.
2181 * src/rfc2015.c: check_signature(): don't abort on error.
2185 * src/compose.c: compose_wrap_line_all(): freeze widget only if
2186 required to repress flickers.
2190 * src/compose.c: improved line wrapping.
2192 compose_wrap_line_all(): also join lines that are not indented.
2193 dump_text(): handle multi-byte strings correctly.
2197 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
2198 (go to next line when space is entered at line limit).
2202 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
2207 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
2208 checking to prevent confusion.
2212 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
2213 method Folder::get_msg_list().
2214 * src/account.c: account_edit_prefs(), account_delete(): use
2215 folderview_set_all() instead of folderview_rescan_all().
2216 * src/folderview.[ch]:
2217 folderview_check_new_all(): new. Updates all folders.
2218 folderview_rescan_tree(): confirm before executing.
2219 folderview_rescan_all(): commented out since it's not used anymore.
2220 folderview_update_item_foreach(): added a flag for summary update.
2221 * src/inc.c: inc_finished(): update summary only when
2222 prefs_common.scan_all_after_inc is set.
2223 inc_drop_message(): set mtime of target folder to 0 to force
2224 the updating of summary.
2225 inc_start(), get_spool(): update also summary when updating
2227 * src/mainwindow.c: changed 'File - Rescan folder tree' to
2228 'File - Check for new messages in all folders'.
2232 * src/compose.c: compose_write_to_file(): clearsign message body
2234 compose_clearsign_text(): new. Replaces the string with clearsigned
2236 * src/prefs_account.c: added an option for clearsign.
2237 * src/rfc2015.c: rfc2015_clearsign(): new.
2238 pgp_sign(): added a flag for clearsign.
2239 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
2240 name (needs to be freed by caller).
2241 str_write_to_file(), file_read_to_str(): new.
2245 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
2246 to avoid memory leak.
2250 * src/base64.c: include string.h for memcpy().
2251 * src/gtksctree.c: use macro ABS() instead of function abs().
2252 * src/prefs_account.c
2253 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
2254 conflict with the function send() in sys/socket.h.
2255 * src/mainwindow.c: commented out the unnecessary functions.
2256 * src/utils.c: canonicalize_file_replace(): correct warning message.
2260 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
2261 temporary files in ~/.sylpheed/.
2262 * src/main.c: create temporary directory in ~/.sylpheed/.
2264 src/inc.c: create temporary files in ~/.sylpheed/, and modified
2266 compose_exec_ext_editor(): fixed a bug that failed to create the
2267 temporary file if g_get_tmp_dir() returned directory other than
2272 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
2276 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
2277 to replace the file when the given file and temporary file are not
2278 on the same filesystem.
2279 copy_file(): added a flag whether to keep backup.
2280 move_file(): added a flag whether to overwrite the destination file.
2284 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
2285 * src/select-keys.c: modified key selection dialog.
2289 * src/socket.[ch]: my_gethostbyname(): new.
2290 * src/utils.c: get_domain_name(): return FQDN instead of short
2291 hostname (thanks to Bob Woodside).
2292 * src/template.c: made the debug messages less verbose.
2296 * src/prefs_common.[ch]: removed obsolete default sign key setting.
2297 * src/utils.c: canonicalize_file(): correct the error check of
2302 * src/compose.c: compose_write_to_file():
2303 canonicalize line endings before encrypting/signing (this will fix
2304 interoperability with other MUAs).
2305 Removed unnecessary strdup.
2306 Don't encrypt/sign draft message.
2308 canonicalize_file(), canonicalize_file_replace(): new.
2310 src/select-keys.c: changed g_message() to debug_print() and
2312 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
2313 MIME structure scanning.
2314 * src/textview.c: textview_add_part(): show signature status in
2317 src/sigstatus.c: modified translatable strings and some MIME
2322 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
2323 the temporary file when saving from queue.
2329 src/prefs_account.[ch]
2330 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
2331 Modified some messages.
2335 * src/textview.c: textview_scan_header(): fixed a memory leak
2340 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
2341 in right conditional block.
2345 * src/compose.c: compose_wrap_line_all(): fixed character buffer
2351 log_error(): add time stamp to log messages.
2356 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
2360 * src/socket.c: implemented socket I/O timeout.
2362 * src/pop.c: check errors and return error value correctly.
2366 * src/prefs_actions.c: made the action's input/output dialog display
2367 without delay. Made the dialog modal instead of making window
2368 insensitive. Also cleaned up its UI.
2372 * implemented --attach command line option.
2374 Cmd::attach_files: new member to store file paths.
2375 parse_cmd_opt(): added --attach option. --compose option is implied.
2376 prohibit_duplicate_launch()
2377 lock_socket_input_cb(): added "compose_attach" message.
2380 src/textview.c: renamed compose_new_with_recipient() to
2381 compose_new(), and added an argument for attachment files.
2385 * src/logwindow.c: freeze GtkText widget while hidden.
2386 log_window_append(): changed the header for message and warning.
2390 * src/news.c: implement automatic cache expiration.
2391 news_delete_expired_caches(): new.
2392 news_get_article_list(): fixed a bug that nonexistent messages
2393 were not removed from list.
2394 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
2395 procmsg_get_last_num_in_cache().
2396 * src/utils.[ch]: remove_expired_files(): new.
2401 inc_mail(): force summary refresh when using external command for
2403 inc_all_account_mail(): fixed a bug on spool checking failure.
2414 src/editldap_basedn.c
2416 src/prefs_common.c: fixed memory leaks which didn't free strings
2417 gtk_editable_get_chars() returned. And minor code cleanups.
2419 src/vcard.h: removed C++-style comments.
2423 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
2424 strings which include both multi-byte and us-ascii characters.
2428 * src/utils.c: remove_numbered_files(): don't try to unlink()
2431 conv_get_code_conv_func(): return conv_anytodisp() if charset is
2433 conv_unmime_header_overwrite()
2434 conv_unmime_header(): do conv_anytodisp() before decoding header.
2442 * src/compose.c: added 'Tools/Actions' menu.
2446 * src/base64.c: a minor fix for BASE64VAL() macro.
2450 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
2458 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
2459 base64_encode(), base64_decode(): new.
2460 * src/rfc822.[ch]: removed.
2462 src/about.c: removed the copyright notice for fetchmail.
2468 src/unmime.[ch]: rewrote the MIME decode routines.
2470 unmime_quoted_printable_line(): new.
2472 procheader_get_one_field()
2473 procheader_get_unfolded_line(): remove also CR.
2477 * libkcc: removed from the source tree.
2479 src/about.c: removed the copyright notice for libkcc.
2480 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
2482 * src/prefs_actions.c: removed unnecessary spaces/tabs.
2486 * src/prefs_actions.c: comply with the coding style.
2487 Modified the UI design.
2488 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
2489 menu when multiple messages are selected.
2493 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
2494 update_actions_menu(): simplified the menu deletion.
2495 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
2499 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
2500 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
2505 * configure.in: added check for strchr.
2509 * src/prefs_common.[ch]
2510 src/inc.c: added an option to inhibit receive error dialog.
2514 * src/account.c: account_find_from_address(): support multiple
2515 addresses in header.
2519 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2520 GtkCTreeNode* so that it won't become invalid after the row move.
2521 Removed dependency to gtkutils.c.
2522 * src/prefs_common.[ch]
2523 src/summaryview.c: summary_selected(): added an option to show
2524 message when cursor keys are pressed on summary view.
2530 src/compose.c: changed "host_alias" to "target_alias" so that it
2531 shows the correct system name on cross-compiling (thanks to
2536 * src/prefs_account.[ch]: added the option menu to force an
2537 authentication method for SMTP AUTH.
2539 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2540 specify the authentication method for SMTP AUTH.
2541 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2545 * src/prefs_common.[ch]
2546 src/compose.c: enabled "Wrap on input".
2550 * src/summaryview.[ch]
2551 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2552 Made some code cleanups.
2557 src/prefs_common.[ch]: added the hidden option to specify the
2558 policy of the vertical scrollbar on folder view.
2562 * src/messageview.[ch]:
2563 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2565 messageview_get_current_textview(): new.
2566 messageview_get_text_widget(): removed.
2567 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2568 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2569 text_inserted(): new callback for "insert_text" signal.
2570 Add quote mark to the pasted text if Compose::paste_as_quotation
2575 * src/compose.c: if the Content-Type of a file is text/*, check
2576 its content and set the optimal Content-Transfer-Encoding (thanks
2581 * src/textview.c: textview_key_pressed(): pass key press event to
2582 main window to activate menu shortcuts (thanks to Alfons).
2586 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2587 for mtime to prevent flooring.
2590 imap_move_msgs_with_dest()
2591 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2593 imap_parse_envelope()
2594 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2595 full information of messages and simplify the parser. Also fixed
2596 the bug that References header was ignored on threading.
2597 imap_parse_one_address()
2598 imap_parse_address(): removed.
2599 imap_get_header(): new. It reads the RFC822 header and returns
2600 a newly allocated string.
2601 * src/procheader.[ch]: changed procheader_parse() to
2602 procheader_parse_stream() and added different interfaces for it.
2606 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2614 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2615 could be inserted into the hash table.
2616 inc_write_uidl_list(): a minor code cleanup.
2617 * src/mainwindow.c: main_window_get_current_state():
2618 make the state unexecutable on an empty folder.
2619 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
2620 * src/pop.c: minor code cleanups.
2624 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
2625 corrected the behavior of the radio buttons.
2629 * implemented 'Delete messages after N days' feature for POP3.
2631 inc_get_uidl_table()
2632 inc_write_uidl_list(): moved the location of UIDL list file from
2633 RC_DIR/uidl-* to RC_DIR/uidl/*.
2634 Added received time for each UIDLs.
2635 src/main.c: main(): create RC_DIR/uidl/ directory.
2636 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
2637 Added recv_time to Pop3MsgInfo.
2638 src/prefs_account.[ch]: added an option for the number of days for
2647 * src/folder.c: folder_set_missing_folders(): fixed a bug that
2648 caused multiplication of special folders on startup if their
2650 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
2655 * src/compose.c: compose_reply(), compose_forward(): reverted the
2656 last change since it causes lockup problem.
2660 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
2662 compose_new_with_recipient(): workaround for initial XIM problem.
2666 * src/mainwindow.c: sort ascending / descending order can be
2667 specified with separated menu items.
2668 Added "View/Sort/Don't sort" menu item.
2669 * src/summaryview.[ch]: summary_sort(): added an argument for
2674 * implemented persistent sort order.
2676 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
2677 folder_write_list_recursive(): write sorting state.
2679 src/summaryview.[ch]: summary_show(): sort if required.
2680 select the top node on descending sort.
2681 Removed SummarySortType and sorting state variables from
2689 src/prefs_account.[ch]: enabled NNTP over SSL.
2690 * src/nntp.c: nntp_group(): issue MODE READER command and retry
2691 when GROUP command once failed (this seems to avoid problems on
2692 some broken news servers).
2696 * faq/it/*.html: corrected DOS linebreaks.
2697 * faq/*/*.html: changed ">" to ".
2701 * src/prefs_account.c: prefs_account_protocol_activated(): hide
2702 unnecessary frames in SSL tab.
2708 src/prefs_account.[ch]: enabled STLS command in POP3.
2709 * src/account.c: account_clist_set_row(): display TLS setting.
2713 * src/compose.c: compose_send_later_cb(): support redirect function.
2716 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
2718 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
2722 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
2723 * src/compose.c: compose_create(): removed unrequired lines.
2727 * src/news.c: news_scan_group(): fixed a bug that set the wrong
2728 values in some cases.
2729 * src/prefs_account.c: corrected English in Advanced - Folder
2734 * src/textview.c: textview_show_message(), textview_show_part():
2735 fixed a bug that GtkSText *text pointed the incorrect object.
2736 textview_add_part(): freeze GtkSText while adding RFC822 headers.
2737 textview_show_part(): fixed a bug that couldn't display single
2738 part MIME message as text.
2742 * src/compose.c: compose_redirect_write_to_file(): correct the target
2743 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
2744 incomplete file when an error occured.
2749 compose_create(): disable menus for draft on redirection mode.
2750 compose_redirect_write_to_file(): correct the error handling of
2752 * src/prefs_common.c: turned off the "Display recipient on `From'
2753 column if sender is yourself" option by default.
2757 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
2758 Based on the implementation of the claws branch.
2759 compose_redirect(): create a new window and make it uneditable.
2760 compose_redirect_write_to_file(): copy headers and body of
2761 original message except for some.
2762 compose_redirect_write_headers(): add extra "Resent-*" headers.
2763 compose_create(): set menu sensitivity for redirection mode.
2767 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
2768 space is inserted between encoded string and the following folded
2769 one (thanks to Masahiro Tomita).
2773 * src/mainwindow.[ch]: some refactoring has been made.
2774 main_window_toggle_message_view(): moved summary_toggle_view_real()
2776 * src/messageview.[ch]: messageview_is_visible(): new.
2777 * src/summary_search.c
2778 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
2779 Instead use messageview_is_visible().
2783 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
2784 * src/summaryview.[ch]:
2785 summary_expand_threads(), summary_collapse_threads(): new.
2789 * src/mainwindow.c: Fixed the behavior of
2790 '/View/Show or hide/Folder tree' and
2791 '/View/Show or hide/Message view' toggle menu.
2792 Removed '/View/Toggle summary view' menu and integrated the
2793 function into '/View/Show or hide/Message view'.
2794 main_window_set_widgets(): change the state of toggle menu items.
2795 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
2800 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
2801 MIME contents other than text as children of message/rfc822 part.
2803 procmime_mimeinfo_next(): modified for message/rfc822 part which
2804 content-type is single part MIME.
2805 procmime_scan_multipart_message(): fix for nested message/rfc822
2806 part. Corrected the size of the contents of message/rfc822.
2807 * src/textview.c: textview_show_part(): extract the contents of
2808 multipart/* and message/rfc822. Some code cleanups.
2809 textview_add_parts(): new. It adds the all parts under a part to
2811 textview_clear(): reset body_pos and cur_pos.
2815 * src/addr_compl.c: modified so that it behaves better.
2816 get_address_from_edit(): ignore comma inside of brackets.
2817 completion_window_apply_selection(): new. Only apply the current
2819 completion_window_accept_selection(): removed.
2820 address_completion_complete_address_in_entry(): minor code cleanup.
2821 don't replace address in entry here.
2822 completion_window_select_row(): always apply clist selection to
2824 completion_window_key_press(): don't apply selection here.
2828 * src/imap.c: imap_create_folder(): keep trailing directory separator
2829 to create a folder that contains sub folder.
2833 * src/foldersel.c: sort tree with case insensitive.
2834 * src/mainwindow.c: allsel_cb()
2835 src/messageview.c: messageview_select_all(): fixed 'Select all'
2837 * src/mainwindow.c: removed common and account prefs button from
2842 * src/compose.c: compose_account_option_menu_create(): check if
2851 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
2852 manual/en/*: updated the English manual.
2854 faq/it/*: added German and Italian FAQ.
2857 faq/fr/*: updated FAQs.
2859 src/mainwindow.c: added German and Italian language.
2863 * src/prefs_account.c: turn off "receive at get all" option by default
2864 when creating an IMAP or News account.
2868 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
2869 * src/prefs_folder_item.c: show also identifier path.
2870 Made layout using table. Show uneditable entry using background
2872 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
2877 * src/automaton.[ch]: added UI callback to Automaton.
2879 src/pop.c: use callback instead of calling inc_progress_update()
2881 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
2886 * src/folderview.c: properly sort abbreviated newsgroups.
2891 src/prefs_common.[ch]
2892 src/summaryview.c: added an option to specify the minimum length
2893 for abbreviated newsgroups name.
2897 * src/folderview.c: folderview_check_new(): skip unselectable folders.
2898 * src/summaryview.c: added 'Create filter rule' to the context menu.
2899 * src/imap.c: some code cleanups.
2900 imap_scan_tree_recursive(): get path separator for each calls.
2901 imap_get_path_separator(): new.
2905 * src/imap.[ch]: supported namespace for others/shared folders
2907 imap_parse_namespace(): parse also others/shared namespace.
2908 imap_find_namespace(): search also others/shared namespace.
2910 strchr_parenthesis_close(): return pointer to closing parenthesis.
2911 strsplit_parenthesis(): split parenthetic list into array of
2916 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
2917 parse date string like "Mon,6 May 2002 20:31:12 +0800".
2918 procheader_scan_date_string(): new. Separated string scanning
2919 part from procheader_date_parse().
2923 * src/summary_search.c: summary_search_execute(): unlock while
2924 selecting summary row (thanks to Martin Schaaf).
2925 * src/summaryview.c: summary_set_column_titles(): reversed the
2926 direction of the arrow so that it matches with Win/Mac style.
2930 * src/compose.c: compose_write_headers(): quote self address name
2931 if required. Some code cleanups. Don't override Newsgroups and
2932 Cc with custom headers.
2933 * src/imap.c: imap_add_msg(): return UID for appended message.
2934 * src/compose.c: compose_queue(): check if queue folder exists.
2935 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
2937 imap_open(): removed an unrequired argument.
2941 * src/utils.[ch]: trim_string(): new. It trim characters longer than
2942 the specified length and adds "...".
2943 * src/folderview.c: trim folder name when displaying dialog.
2947 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
2949 * src/folderview.c: folderview_select()
2950 src/summary_search.c: summary_search_execute(): lock summary view
2951 while searching (thanks to Martin Schaaf).
2959 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
2963 * src/summaryview.c: summary_show(): fixed a bug that didn't process
2965 * src/account.c: account_edit_prefs(): fixed a crash bug when account
2967 * src/prefs_account.c: prefs_account_apply(): display error dialog
2968 if account name is empty.
2969 * src/imap.c: changed some log_print() to debug_print() to reduce
2974 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
2978 mh_do_move_msgs_with_dest()
2980 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
2981 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
2982 if stat() succeeded.
2984 imap_fetch_msg(): SELECT mailbox before FETCH if required.
2985 imap_scan_folder(): set last_num using the value of UIDNEXT.
2986 imap_select(): return immediately if there is no need for SELECT.
2987 preserve the path of currently selected mailbox.
2988 imap_status(): added UIDNEXT.
2992 * src/folder.c: folder_item_scan(): removed the warning.
2993 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
2994 setting case sensitivity.
2998 * src/mainwindow.c: main_window_create(): restrict the minimum size.
3002 * src/compose.c: merged the new line-wrapping routine.
3003 join_next_line(): fixed a bug that didn't join multibyte
3005 get_indent_length(): modified enums and variable names.
3006 INDENT_CHARS: don't indent ':'.
3008 folderview_rename_folder_cb()
3009 folderview_delete_folder_cb(): support folder identifier.
3010 folderview_rm_imap_folder_cb(): integrated with
3011 folderview_delete_folder_cb().
3015 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
3016 * src/folderview.c: folderview_check_new(): abort checking if
3017 folder_item_scan() failed.
3021 * src/imap.c: imap_create_missing_folders(): create only INBOX and
3023 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
3024 type of news folders unchangeable.
3025 prefs_folder_item_destroy(): use prefs_dialog_destroy().
3026 * src/prefs.[ch]: prefs_dialog_destroy(): new.
3030 * src/prefs_account.[ch]: added special folder setting to Advanced
3031 tab. Also moved "IMAP server directory" setting to there.
3032 * src/account.[ch]: account_get_special_folder(): new. It returns
3033 the optimal special folder for accounts.
3034 * src/compose.c: use account_get_special_folder().
3035 * src/prefs_folder_item.[ch]: new. Implemented folder property
3036 dialog, and the special folder settings (most of the functions in
3037 claws are not integrated yet, and the structure is slightly
3039 * src/folderview.c: enabled Property menu.
3043 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
3044 scanning when encountering separators ',' and ';'.
3048 * src/mainwindow.c: reorderd the menu a bit.
3049 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
3050 compose_reply_set_entry(): made 'Reply to sender' work for
3055 * src/compose.c: compose_create(): set geometry hints to restrict
3056 the maximum size of window.
3057 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
3058 imap_get_uncached_messages()
3059 imap_cmd_fetch(): ignore responses which don't include FETCH.
3063 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
3064 the clause for OpenSSL).
3068 * src/prefs_account.c
3069 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
3075 src/session.[ch]: first reorganization of SMTP protocol handling.
3076 SMTPSession: new class which is a sub class of Session.
3077 smtp_session_new(): moved send_smtp_open() into this function.
3078 smtp_from(): moved SMTP AUTH calls into smtp_auth().
3079 smtp_auth(): use server response for SMTP AUTH method.
3080 smtp_ehlo(): read server response and set auth type flags.
3081 smtp_helo(): separated EHLO command.
3082 smtp_ok(): return the last server response if the buffer is
3084 * src/esmtp.[ch]: merged into smtp.[ch].
3085 * src/imap.c: imap_session_destroy_all(): use session_destroy().
3089 * src/imap.c: imap_open(): show warning message if IMAP4 session
3090 can't be established.
3094 * src/compose.c: made template able to be inserted into the current
3096 * src/mainwindow.c: moved some menu items under the submenu
3097 '/View/Show or hide'.
3102 src/inc.c: changed folder_find_item_from_path() to
3103 folder_find_item_from_identifier().
3105 src/prefs_filter.c: use folder_item_get_identifier() to specify
3110 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
3111 existed in claws' implementation).
3112 folder_find_from_name(): find Folder from name and type.
3113 folder_get_identifier(): return Folder id.
3114 folder_item_get_identifier(): return FolderItem id.
3115 folder_find_item_from_identifier(): find FolderItem from id.
3116 folder_get_type_string(): return folder type string.
3117 folder_get_type_from_string(): return FolderType from string
3118 (and fixed the wrong g_strcasecmp() usage).
3120 src/import.c: use folder_item_get_identifier() and
3121 folder_find_item_from_identifier().
3125 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
3126 point the correct address after reading the continuous line.
3127 imap_scan_folder(): set new number to 0 if unseen number is 0.
3128 imap_parse_flags(): don't add new and unread flag if \Seen flag
3130 * ac/Makefile.am: removed gpgme.m4 from MACROS.
3134 * fixed the old problem that couldn't add flags to currently opened
3137 compose_send(): update outbox after saving.
3139 compose_draft_cb(): use procmsg_add_flags().
3140 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
3142 * src/main.c: send_queue(): send from all queue folders.
3143 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
3145 procmsg_flush_mark_queue(): new. Write all queued flags into file.
3146 procmsg_add_flags(): new. Add specified flags to the folder.
3147 procmsg_send_queue(): added an argument to specify queue folder.
3148 procmsg_save_to_outbox(): use procmsg_add_flags().
3149 * src/summaryview.c:
3150 summary_show(): up the opened flag of FolderItem.
3151 summary_clear_list(): down the opened flag of FolderItem.
3152 summary_write_cache(): call procmsg_flush_mark_queue().
3156 * src/summaryview.[ch]: trim the tail of folder name and selected
3157 number on the status label if the space is not enough.
3161 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
3162 set SpecialFolderItemType when creating special folders under
3164 * ac/gpgme.m4: removed.
3166 * ac/missing/gdk-pixbuf.m4
3167 ac/missing/gettext.m4
3169 ac/missing/imlib.m4: added for convenience.
3173 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
3174 shown after the decoded challenge string. Fixed a memory leak.
3176 * src/compose.c: compose_draft_cb(): mark draft messages as read.
3177 * src/folderview.c: folderview_update_node(): disable emphasis
3178 for Outbox and Draft folders.
3182 * src/messageview.c: messageview_show(): fixed a memory leak.
3183 * src/summaryview.c: summary_save_as(): show error dialog if copy
3185 * src/about.c: about_show(): make the window active if it is already
3190 * src/compose.c: show confirmation dialog before sending if Subject
3192 compose_check_entries(): new.
3194 compose_send_later_cb(): use compose_check_entries().
3195 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
3199 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
3200 responses with continuous line correctly, and fixed a memory leak.
3204 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
3206 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
3207 after pasting with middle button to prevent the selection growth.
3212 folderview_rename_folder_cb()
3213 folderview_delete_folder_cb(): modify filter rules only if the
3214 target folder is in the default mailbox.
3215 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
3222 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
3223 Moved 'Delete duplicated messages' under 'Tools'.
3227 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
3229 * src/imap.c: imap_create_special_folder(): fixed a crash bug
3230 when folder creation failed, and re-try to create folders under
3232 imap_scan_tree_recursive(): don't automatically add namespace
3233 prefix if it's INBOX. Search also under the INBOX for special
3235 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
3240 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
3241 abbreviated newsgroup name.
3242 * src/folderview.c: folderview_update_node(): display newsgroups
3243 with abbreviated name if name and path is the same.
3244 * src/summaryview.c: summary_status_show(): show the newsgroup with
3250 src/folderview.c: changed the label 'Draft' to 'Drafts'.
3251 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
3252 imap_create_missing_folders(): fixed the wrong assignment of
3253 Queue folder to draft.
3257 * enabled Sent / Draft / Queue folders on IMAP server.
3258 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
3259 queue and draft folder if they exist.
3261 imap_create_trash(): removed.
3262 imap_create_special_folder(): new. Generalized imap_create_trash().
3263 imap_create_missing_folders(): automatically create missing folders.
3264 imap_is_msg_changed(): added the dummy method.
3265 imap_scan_tree_recursive(): search also Sent, Draft and Queue
3266 folders. Minor code cleanups.
3267 imap_parse_envelope(): check for null strings.
3268 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
3269 for messages on IMAP folder.
3273 * src/compose.c: compose_send(): use account's outbox folder
3275 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
3276 that the outbox can be specified.
3280 * src/compose.c: don't save to outbox when messages are queued.
3281 compose_save_to_outbox(): moved to procmsg.c.
3282 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
3284 procmsg_save_to_outbox(): new. Removes the queueing headers if
3285 needed, and adds the given file to the outbox.
3289 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
3290 get_indent_length(): treat ':' and '#' also as quote char, and
3291 cleaned up using strchr().
3295 * src/mainwindow.c: modified some menu items.
3299 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
3300 (current "outbox" will be kept until rescan).
3301 * src/folder.c: folder_set_missing_folders(): create the missing
3304 src/folderview.c: changed 'Outbox' to 'Sent'.
3305 * src/main.c: call folder_set_missing_folders().
3306 * src/mh.c: mh_scan_tree(): create missing folders.
3307 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
3308 didn't set the menu sensitivity correctly.
3313 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
3314 folderview_rename_folder_cb(): reopen the current folder when
3315 the ancestor is renamed.
3316 imap_rename_folder(): new method implementation.
3318 imap_rename_folder_func(): new.
3319 imap_remove_folder(): remove also the cache directory.
3323 * src/imap.c: implemented locale encoding <-> modified utf-7
3324 conversion, and supported i18n of folder name (thanks to Suzuki
3326 imap_path_separator_subst(): handle the escape characters of
3328 imap_modified_utf7_to_locale()
3329 imap_locale_to_modified_utf7(): new.
3330 imap_create_trash(): modified so that it create the Trash folder
3331 to the correct location when imap directory is specified.
3332 imap_get_real_path(): removed debug print.
3336 * src/socket.c: implemented timeout for DNS lookup and connect().
3337 sock_connect_by_hostname(): timeout support and code cleanup.
3338 sock_connect_with_timeout(): new.
3339 sock_peek(): implemented SSL peek.
3343 * src/messageview.c: messageview_show(): display single-part
3344 text/html messages with the normal text view.
3358 src/prefs_customheader.c
3359 src/prefs_display_header.c
3374 src/xml.c: added 'b' to the option of all fopen().
3382 * src/ssl.[ch]: match its coding style.
3383 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
3387 faq/en/sylpheed-faq*.html
3389 faq/es/sylpheed-faq*.html
3391 faq/fr/sylpheed-faq*.html
3397 src/manual.[ch]: added FAQs in English, Spanish and French.
3401 * manual/en/sylpheed*.html: updated to the latest version.
3406 src/mgutils.c: include string.h to remove warning about strlen()
3420 src/summaryview.c: added break to the last label of switch to
3421 prevent the 'deprecated use of label at end of compound statement'
3423 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
3427 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
3429 inc_cancel_all(): new. It cancels the all current incorporation.
3430 * src/mainwindow.c: added 'Cancel receiving' menu.
3431 * src/textview.c: a minor fix for single-part MIME messages, and
3432 a bit of cleanup for textview_write_body().
3436 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
3437 information if any errors occured before issuing UIDL command.
3438 src/inc.h: added uidl_is_valid to Pop3State.
3439 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
3447 * src/mimeview.c: mimeview_create(): set the initial notebook page
3449 * src/folderview.c: folderview_selected(): scroll the view if the
3450 selected row is hidden.
3451 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
3452 and select the added row.
3453 * src/summaryview.c: fix threading for null message ids.
3457 * src/textview.c: textview_show_message(): follow message/rfc822
3459 textview_add_part(): add a caption before the attached text files.
3460 textview_show_header(): don't add the newline.
3461 * src/messageview.c: enabled message search also in MIME mode.
3465 * src/messageview.c: messageview_show(): set header state of
3466 MimeView's TextView, too.
3467 * src/mimeview.c: mimeview_show_message(): call
3468 textview_show_message() to display message.
3469 * src/textview.c: textview_add_part(): new. It adds the content
3470 of message part without clearing the view.
3471 textview_show_message(): display all parts with appropriate
3473 textview_write_body(): separated from textview_show_part().
3478 src/prefs_common.c: added ISO-8859-15 to the codesets for
3479 displaying and sending.
3480 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
3481 conversion failed, and made caller deal with it.
3482 * src/compose.c: compose_write_to_file(): show error dialog when
3483 code conversion failed, and let user select whether to send it
3485 * src/textview.c: textview_write_line(): show the original string
3486 if code conversion failed.
3490 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
3491 if copy_mbox() failed (thanks to Alexander Kabaev).
3492 * src/prefs_account.[ch]: added separate user ID / password setting
3494 * src/send.c: send_message_smtp(): use separate user ID / password
3495 for SMTP AUTH if it is specified.
3500 src/pop.[ch]: refactored the UIDL management.
3501 store the information of messages into the array of Pop3MsgInfo
3502 structure, and do full scanning of not retrieved messages.
3508 src/mainwindow.c: set WMCLASS for window/dialog.
3509 * src/codeconv.c: conv_codeset_strdup(): return source string
3510 when jconv_alloc_conv() failed.
3514 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3521 src/summaryview.c: implemented the new notebook tab interface for
3523 * src/textview.[ch]: fixed line space related glitches.
3527 * src/prefs_filter.c:
3528 prefs_filter_rename_path()
3529 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3533 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3534 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3536 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3537 cancelled, and fixed potential crash bug.
3538 * src/grouplistdialog.c: enabled cancelling of data receiving.
3539 * src/news.c: news_get_group_list(): destroy current session if
3544 * src/manage_window.[ch]: fixed a bug that caused crash when
3545 the main window was hidden.
3546 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3547 Monitor "unmap_event", "destroy" events.
3554 src/grouplistdialog.c
3558 src/message_search.c
3562 src/prefs_customheader.c
3563 src/prefs_display_header.c
3565 src/prefs_template.c
3566 src/summary_search.c
3567 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3568 connect signals for window management.
3572 * src/prefs_account.[ch]: added receive size limit option.
3573 * src/pop.c: skip messages larger than the limit size.
3574 LOOKUP_NEXT_MSG(): new macro.
3575 * src/compose.c: compose_attach_append(): check whether the file
3580 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3581 changed g_message()'s to debug_print() and g_warning().
3582 rfc2015_decrypt_message(): fixed a bug that duplicated message
3583 parts when decryption was failed/cancelled. And made some code
3585 * src/passphrase.c: made the dialog transient.
3586 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3591 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3592 messages if GPGME was enabled.
3593 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3595 * src/prefs_account.c: prefs_account_privacy_create(): modified
3596 the vertical spacing.
3600 * src/menu.[ch]: menu_set_sensitive_all(): new.
3601 menu_set_insensitive_all(): made it a wrapper for
3602 menu_set_sensitive_all().
3603 * src/prefs_account.c:
3604 prefs_account_open()
3605 prefs_account_protocol_set_optmenu(): made the protocol type
3606 unchangeable after creating an account.
3607 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3608 extract all attathed files from nested multipart MIME message.
3612 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3613 obtain minimum/maximum number, and to specify first number
3616 src/inc.c: enabled new message checking on news folder.
3617 * src/news.c: news_scan_group(): implemented. Guess new/unread
3618 message number from the response of GROUP command and the mark
3620 news_select_group(): return the total/first/last number.
3621 * src/prefs_account.c: prefs_account_receive_create(): modified
3622 the text of the 'Get all' check button.
3626 * src/account.c: made 'Get all' checkbox available for IMAP4 and
3628 * src/inc.c: corrected the argument of folderview_check_new().
3629 * src/prefs_account.c: modification for the "`Get all' checks for
3630 new mail on this account" checkbox.
3634 * src/folderview.[ch]:
3635 folderview_rescan_tree(), folderview_rescan_all(): renamed from
3636 folderview_update_tree() and folderview_update_all().
3637 folderview_update_all_node(): removed.
3638 folderview_check_new(): new. If the argument is NULL, it checks
3639 all local folders. If the arguments is specified, it checks
3640 the (local and remote) folder.
3643 inc_all_account_mail(): check also IMAP4 account.
3648 folderview_rename_folder_cb()
3649 folderview_delete_folder_cb(): modify the filter rules when folder
3651 * src/prefs_filter.[ch]:
3652 prefs_filter_rename_path(): new. It renames the destination paths
3654 prefs_filter_delete_path(): new. It deletes the filter rules if
3655 the destination paths matched.
3656 * thanks to Neill Miller for above.
3660 * src/compose.c: inherit attached files when forwarding or reediting
3661 (rewrote the code in claws branch).
3662 compose_attach_parts(): new. It extracts and attaches the files
3663 in the given message.
3664 compose_attach_append(): chnaged the types of arguments.
3665 * src/messageview.c: messageview_show(): moved the GPG decryption
3667 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
3675 * src/summary_search(): summary_search_execute(): scroll the view
3676 when message view is hidden.
3680 * src/foldersel.c: foldersel_set_tree(): made different type of
3681 folders selectable in moving mode.
3682 * src/folderview.[ch]: folderview_update_msg_num(): compare the
3683 numbers with the CTree's labels, and don't update folder_item here.
3684 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
3685 implemented moving between different type of folders.
3686 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
3687 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
3688 mh_move_msg() and mh_move_msgs_with_dest()).
3689 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
3690 moving between different type of folders.
3691 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
3692 * src/summaryview.c: summary_status_show(): update folder_item
3694 * po/POTFILES.in: removed reference to headerwindow.c.
3695 * src/summaryview.c: summary_step(): fixed the behavior on the
3696 head and tail of the list.
3700 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
3701 all header' toggle state from the property of the TextView.
3702 * src/summaryview.[ch]: made 'All header' toggle switch.
3703 Prohibited unnecessary menu update.
3704 summary_select_node(): added the argument 'do_refresh'.
3709 * src/utils.c: strsplit_with_quote(): remove quotation characters
3710 in the function (fix composer's external editor problem) (thanks
3711 to Stefaan A Eeckels).
3712 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
3713 main_window_menu_callback_block()
3714 main_window_menu_callback_unblock(): new.
3715 main_window_set_menu_sensitive(): set the toggle status of
3717 show_all_header_cb(): read the status of toggle menu item.
3718 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
3719 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
3724 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
3725 the path separator (thanks to Sergey Vlasov).
3726 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
3727 if the length of selection is zero.
3728 Fixed the assertion.
3729 * src/utils.c: str_open_as_stream(): return immediately if
3730 the length of str is zero.
3731 * src/headerwindow.[ch]: removed.
3733 src/inc.c: removed stale thread support codes.
3737 * src/procmsg.c: procmsg_open_message(): modified so that it
3738 returns the stream of decrypted message file if it exists
3739 (this fixes the failure of gpg decryption in messageview.c).
3749 src/prefs_template.c
3751 src/quote_fmt_parse.y
3753 src/utils.[ch]: if the part of the message text is selected, use
3754 it for quoted text instead of the entire message body (thanks to
3756 src/utils.[ch]: str_open_as_stream(): new. It returns an
3757 temporary stream for the given string.
3758 * src/main.c: added "--send" command line option.
3759 * src/compose.c: compose_reply_set_entry(): add From address to
3760 Cc if Reply-To and to_all are both specified.
3761 * Makefile.am: correct the Source: line in the RPM spec file in
3766 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
3768 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
3769 that specifies the folder selection type.
3780 src/prefs_customheader.c
3782 src/summaryview.c: made it compile with C compilers other than gcc
3783 (thanks to Shawn Houston).
3787 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
3789 * src/prefs_common.c: made the key binding setting separate dialog.
3790 * src/addressbook.c: addressbook_format_address(): add "" around
3791 the display name if it contains comma (thanks to Satoshi Watanabe).
3792 * src/addr_compl.c: get_complete_address(): add "" around the
3793 display name if it contains comma.
3794 get_address_from_edit(): handle the quotation character correctly.
3795 * src/addr_compl.c: get_complete_address()
3796 src/addressbook.c: addressbook_format_address(): fixed a bug that
3797 caused wrong text processing if the display name is empty.
3802 * src/compose.c: compose_exec_ext_editor_real(): replaced
3803 g_strsplit() with strsplit_with_quote().
3805 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
3807 folderview_drag_motion_cb()
3808 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
3809 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
3813 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
3814 of the message is different from the current mailbox.
3815 Return the correct value.
3816 imap_cmd_append(): properly implemented the APPEND command.
3821 src/messageview.[ch]
3822 src/summaryview.[ch]
3823 src/textview.[ch]: show all headers in the message view, and don't
3824 use the header window anymore.
3826 src/prefs_common.c: changed the default shortcut of 'compose new
3829 src/summaryview.[ch]: summary_display_msg_selected(): new.
3830 Show the selected message if 'Show all header' is selected.
3832 src/sourcewindow.c: changed some procmsg_get_message_file_path()
3833 to procmsg_get_message_file() to be sure the message is
3835 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
3836 any folder to MH folder.
3837 folderview_drag_received_cb(): copy messages instead of moving
3838 if the source folder is news or IMAP.
3840 src/summaryview.c: allow copy from news folder.
3844 * src/prefs_common.c: prefs_other_create(): modified the design
3845 of the external command settings.
3846 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
3847 preset closer to the original.
3848 Added Mutt keybind preset.
3849 Also change the compose keybinds.
3850 * src/compose.c: modified some menu shortcuts.
3851 * src/codeconv.c: modified the locale_table for Thai encoding.
3855 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
3856 * src/prefs_common.c: prefs_interface_create(): modified the
3857 description for menu shortcut.
3861 * src/gtkutils.[ch]: added gtk_stext_clear().