3 * src/session.c: session_read_data_cb(): clear Session::read_data_buf
4 before calling callbacks.
8 * src/socket.c: made socket connection protocol independent.
9 * src/session.c: removed debug g_print().
10 * src/inc.c: made status bar output less verbose, and show counter
11 on main window's progressbar.
15 * src/session.c: added missing #include <errno.h>.
19 * src/session.[ch]: reimplemented the Session system with non-blocking
20 I/O to solve the performance and the code design issue.
21 * src/socket.[ch]: added sock_connect_async() and
22 sock_connect_async_cancel() to enable asynchronous connection.
23 sock_peek(): modified the implementation.
24 * src/pop.c: optimized the receiving of the responses of
29 * src/procmsg.c: procmsg_get_thread_tree(): prevent threading problems
30 when a node is an ancestor (parent / great parent), which mostly
31 happens with circular references (thanks to Phillipe Gramoulle
32 for finding an sample set of messages, and Alfons for the patch).
36 * src/pop3.c: pop3_get_uidl_table(): return empty hash table even if
37 UIDL list is not found (fixes inability of initial retrieval).
41 * src/main.c: added the option '--status-full' which shows the status
42 of each folder specified. The option '--status' also takes
43 following arguments for folders (thanks to Yuri Arapov).
44 * src/folder.[ch]: folder_get_status(): new. it takes the array of
45 folders as the argument and returns their status.
46 folder_count_total_msgs(): removed.
56 src/inputdialog.c: use gtk_main_iteration() instead of gtk_main()
57 to prevent abort when a button is double-clicked.
61 * src/addr_compl.c: invalidate_address_completion(): check if
62 g_completion_list is NULL (thanks to Kazuhiro NISHIYAMA).
66 * src/pop.c: pop3_session_recv_data_finished(): fixed a bug that
67 deleted messages that is to be kept on server (thanks to Tristan
77 sock_set_io_timeout(): new. It sets the timeout interval.
78 sock_gdk_input_add(): removed since it's not used anymore.
79 * src/prefs_common.[ch]: added an option to set the timeout parameter.
83 * src/action.c: fixed a bug that didn't hide user string in
84 create_io_dialog() (thanks to Markus Amersdorfer).
85 Removed ChildInfo::type and added Children::action_type.
89 * src/inc.c: inc_start(): ask every password before retrieving.
90 Don't popup the redundant error dialog.
92 inc_all_account_mail()
93 inc_progress_dialog_set_list(): separated account list display
95 inc_progress_dialog_set_label()
96 inc_recv_data_finished()
97 inc_recv_message(): properly update the dialog when RETR finished.
102 imap_modified_utf7_to_locale()
103 imap_locale_to_modified_utf7(): fixed compilation failure when not
108 * src/procmime.c: procmime_scan_multipart_message(): fixed parsing
109 of message/rfc822 parts.
113 * src/pop.c: pop3_ok(): detect timeout error.
117 * src/imap.c: imap_locale_to_modified_utf7(): fixed the encoding bug
118 when locale strings include '+'.
119 imap_modified_utf7_to_locale()
120 imap_locale_to_modified_utf7(): at least escape/unescape '&' even
121 if iconv() is not supported.
127 compose_get_signature_str(): include separator in signature string.
128 Don't insert separator if signature file is not found.
129 Disabled use of implicit default signature path (~/.signature) when
139 src/quote_fmt_parse.y
140 src/smtp.c: suppress warnings that gcc-3.3 issues.
141 src/stringtable.c: use string_entry_free().
145 * src/compose.c: compose_insert_sig(): fixed the bug that always
146 appended signature separator if signature file was not found.
147 compose_get_signature_str(): fixed the bug that caused crash if
148 signature file cannot be opened.
156 * src/session.c: session_recv_msg(): removed debug print.
163 imap_cmd_fetch(): check for data size that servers return (fixes
164 vulnerability found in BugTraq).
168 * src/addr_compl.c: get_complete_address()
169 src/addressbook.c: addressbook_format_address()
170 src/compose.c: QUOTE_IF_REQUIRED(): quote if name contains
171 characters that is not defined in atext (RFC 2822, 3.2.4. Atom).
172 * src/main.c: main(): set colormap and visual to solve color problem
173 in Solaris (thanks to Markus Schwarzenberg).
181 * src/prefs_account.c: temporarily removed POP before SMTP option.
185 * src/prefs_common.[ch]: changed the description of "Open message when
186 cursor keys are pressed on summary".
187 * src/summaryview.c: summary_show(): open message when always_show_msg
192 * src/logwindow.[ch]: restrict the maximum lines of the log messages
193 to reduce the memory usage.
197 * src/compose.c: compose_insert_sig(): fixed a crash when signature
198 string contains illegal sequence.
199 * src/utils.[ch]: changed get_wcs_len() to get_mbs_len() for accuracy.
203 * major refactoring of MIME structure.
204 * src/procmime.c: procmime_scan_message(): decrypt message if
205 gpgme is enabled. Create multipart tree only if content-type is
206 multipart/* or message/rfc822.
207 procmime_scan_multipart_message(): fixed the scanning of
209 * src/action.c: parse_append_msgpart()
210 src/messageview.c: messageview_show()
211 src/mimeview.c: mimeview_show_message(): use procmime_scan_message()
212 instead of procmsg_open_message() and procmime_scan_mime_header().
213 mimeview_set_multipart_tree(): conform to the new MIME structure.
214 * src/textview.c: textview_show_part(): removed unnecessary check.
215 * src/procmsg.c: procmsg_open_message_decrypted(): fixed the file
216 pointer when decryption failed.
220 * src/ssl.c: ssl_init_socket_with_method(): replaced log_warning()
221 by g_warning(), and log_print() by debug_print().
222 * src/pop.[ch]: added an error code PS_NOTSUPPORTED, and retry with
223 LAST if UIDL is not supported.
227 * src/codeconv.c: conv_get_code_conv_func(): convert to EUC-JP only
228 if it is the current locale encoding when dest_charset_str is NULL.
232 * src/action.c: execute_actions(): fixed crash when no text widget
233 is selected (thanks to Paul and Melvin).
235 src/prefs_actions.c: added missing reference to Claws team in the
242 session_send_data(): fixed a memory leak and data sending bug.
243 * src/send_message.c:
244 send_message_smtp(): fixed focus management.
248 * src/smtp.[ch]: set the response string to SMTPSession::error_msg
250 * src/send_message.c: show error dialog if error occurred.
251 * src/main.c: send_queue()
252 src/mainwindow.c: send_queue_cb(): don't show error dialog here.
256 * src/session.c: session_close(): kill child process only if
257 state is not SESSION_DISCONNECTED.
258 * src/send_message.c: send_cancel_button_cb()
259 src/inc.c: inc_cancel(): don't set Session::state to
260 SESSION_DISCONNECTED.
261 * src/prefs.[ch]: modified the names of prefs_write_*().
262 * src/address.[ch]: removed.
266 * src/compose.c: compose_template_apply(): overwrite recipients.
270 * src/procheader.c: procheader_date_parse(): removed debug print.
271 * src/session.c: changed every g_print to debug_print.
272 session_child_input(): removed unrequired session_close() (it'll
273 be closed anyway after returning FALSE).
274 * src/send_message.c: send_message_smtp(): changed g_print to
279 * src/procheader.c: procheader_procheader_date_parse(): don't add
280 local timezone offset if timezone is unknown.
281 Made the Y2K workaround code to follow RFC 2822.
282 procheader_scan_date_string(): workaround for date strings which
283 don't have timezone specification.
284 * src/utils.c: remote_tzoffset_sec(): return -1 if timezone is
289 * src/action.[ch]: refactored. Also fixed a bug on MIME mode, and
290 some memory leaks on error.
291 action_update_msgview_menu(): new.
292 * src/messageview.[ch]: added "Tools/Actions" menu. Keep window list.
293 messageview_get_selected_mime_part(): returns MimeInfo of selected
294 part when MessageView is in MIME mode.
295 * src/mimeview.[ch]: mimeview_get_selected_part(): returns MimeInfo
297 * src/summaryview.[ch]: summary_get_selected_msg_list(): returns
298 MsgInfo list of selected messages.
302 * src/prefs_filter.[ch]: include original message's headers as
303 the preset keywords. Modified the sizes of the widgets.
304 * src/utils.[ch]: added str_case_equal() and str_case_hash() for
305 case-insensitive hash.
309 * src/procmsg.c: procmsg_get_filter_keyword(): added X-Sequence to
310 auto-detected headers.
314 src/mainwindow.c: modified function names.
315 get_user_string(): Use input_dialog() instead of its own
320 * src/codeconv.[ch]: conv_encode_header(): don't include '(' and ')'
321 in encoded strings if addr_field is TRUE.
322 * src/compose.c: compose_convert_header(): added a flag 'addr_field'.
326 * src/prefs_actions.[ch]: separated action execution routine into
331 * src/prefs_actions.c: minor code cleanup.
335 * src/codeconv.[ch]: conv_iconv_strdup(): fixed the handling of
341 inc_recv_data_progressive()
342 inc_recv_data_finished()
345 send_send_data_progressive()
346 send_send_data_finished(): added assertion.
350 * src/codeconv.[ch]: conv_iconv_strdup(): fixed potential memory
355 * src/codeconv.[ch]: conv_iconv_strdup(): don't include nul character
356 in source buffer since it messed up some encoding conversion (like
361 * src/procmsg.c: procmsg_get_filter_keyword(): unfold headers and
362 extract ID from List-Id header.
363 * src/utils.[ch]: extract_one_parenthesis_with_skip_quote(): removed.
364 extract_list_id_str(): extract ID string from List-Id header.
368 * src/prefs_actions.c: merged from the claws branch. Fixes several
369 bugs and adds some features.
373 * src/compose.c: compose_parse_header(): fixed a bug that unnecessary
374 linebreaks were included on reediting.
376 src/pop.c: fixed typos: 'occured'.
380 * src/compose.[ch]: implemented auto signature replacement on
382 compose_insert_sig(): added a flag to replace current signature.
383 compose_get_signature_str(): new. It returns signature string.
384 compose_insert_command_output(): removed.
385 compose_select_account(): call compose_insert_sig() on account
387 compose_destroy(): fixed a memory leak of UndoMain object.
388 Compose::sig_str: new. It stores current signature string.
389 * src/gtkutils.[ch]: gtkut_stext_find(): new.
390 Renamed gtk_stext_clear() to gtkut_stext_clear().
391 * src/utils.[ch]: get_wcs_len(): returns wide-character length of
393 normalize_newlines(): converts CR+LF and CR into LF.
394 get_command_output(): returns command output.
398 * src/procmsg.[ch]: procmsg_get_filter_keyword(): new. It returns
399 filter keyword for messages.
400 * src/summaryview.c: summary_filter_open(): use
401 procmsg_get_filter_keyword().
402 * src/messageview.c: create_filter_cb(): implemented.
408 inc_put_error(): display server responses on error.
409 * src/pop.[ch]: added Pop3Session::error_msg, and set server responses
414 * src/messageview.[ch]: separated the forced charset of message view
415 in separate window from the main window.
417 textview_show_message()
419 textview_add_part(): use MessageView::forced_charset if specified.
423 * src/mainwindow.c: modified File menu a bit.
424 * src/menu.[ch]: added functions to handle item factory rc strings.
425 * src/messageview.[ch]: added a menu, and made it take over main
426 window's menu shortcuts.
427 added msginfo which is duplicated on display to MessageView.
428 * src/prefs_common.c: prefs_keybind_apply_clicked(): use
429 menu_factory_clear_rc().
433 * send_message.c: send_message_smtp():
434 re-enabled forcing of SMTP AUTH method.
435 Clear temporary password if authentication failed.
436 * smtp.c: output warning to log and set SMTPSession::error_val
438 * smtp.h: changed error value to enum. Added SMTPSession::error_val.
439 * src/mbox.c: proc_mbox(): force updating of folder.
443 * src/pop.h: changed error value to enum.
444 * src/pop.c: pop3_retr_recv(): return PS_IOERR when inc_drop_message()
446 pop3_ok(): return appropriate error value based on current state.
447 Output warning to log if error occurs.
452 src/news.[ch]: refactored. Remove NNTPSockInfo and use NNTPSession
457 * src/inc.c: inc_pop3_session_do(): retrun appropriate error if
458 Session::state == SESSION_ERROR.
459 * po/POTFILES.in: removed src/automaton.c and src/send.c.
460 Added src/send_message.c.
465 src/session.c: fixed breakage of POP3 retrieval.
466 session_recv_data_from_sock_unescape(): read until terminator
467 appears and also return the actual size.
471 * src/automaton.[ch]: removed.
472 * src/session.c: removed some of the debug output.
473 * src/smtp.c: smtp_session_recv_msg(): workaround in case server
474 returns EHLO-style response to HELO command.
475 Ignore all multiline responses except for EHLO since they are
476 allowed for any command.
481 src/pop.c: fixed retrieval of messages which contain dot-escaped
483 session_recv_data(): added a flag for unescape.
484 session_recv_data_from_sock_unescape(): new. It receives message
485 for each line and unescapes dot-escaped lines.
486 Removed the previous workaround.
487 * src/defs.h: decreased UI_REFRESH_INTERVAL to 40 msec.
491 * src/pop.[ch]: workaround for brekage of retrieval when given size
492 and actual one is different.
496 * src/pop.c: pop3_retr_eom_recv(): ignore invalid end of message
497 since some servers sometimes return incorrect message size.
498 * src/news.c: news_session_new(): zero clear NNTPSession object.
499 Don't initialize Session::sock with nntp_sock->sock to prevent
500 double-free of SockInfo.
501 * src/imap.c: zero clear IMAPSession object.
502 imap_cmd_append(): don't close SockInfo.
506 * src/pop.c: pop3_session_recv_msg(): fixed STLS.
511 src/pop.[ch]: reimplemented using new I/O system.
512 * src/session.[ch]: session_recv_data(): new.
513 session_send_data_to_sock()
514 session_recv_data_from_sock(): decreased the frequency of progress
519 * src/smtp.c: smtp_auth_recv(): fixed CRAM-MD5 authentication.
523 * src/session.[ch]: session_start_tls(): new.
524 session_recv_msg(): made it static.
528 * implemented asynchronous network I/O.
529 * src/session.[ch]: the interface to communicate with servers through
532 src/send_message.[ch]: rewrote using new I/O system.
533 * src/socket.[ch]: renamed *_write() to *_write_all(), and made
534 *_write() as just a simple wrapper for write().
535 * src/utils.c: get_outgoing_rfc2822_str(): new. It modifies the
536 message to send with SMTP or NNTP.
537 file_read_stream_to_str(): new.
541 * src/textview.c: textview_button_pressed(): corrected the range of
543 * src/compose.c: compose_wrap_line_all_full(): treat UTF-8 characters
544 represented with more than 2 bytes as 2 character width and 2 bytes
545 one as a single character width as a workaround for wrapping problem.
549 * src/utils.c: subject_compare_for_sort(): allow null strings (fixes
554 * implemented HTML link correctly.
555 * src/html.[ch]: HTMLAttr, HTMLTag: new structure for attributes /
557 html_get_tag(): new. It parses tag and returns HTMLTag object.
558 html_parse_tag(): also parses <a> tags and 'href' attributes.
559 * src/textview.c: textview_write_link(): new. It creates link string.
563 * src/compose.c: compose_wrap_line_all_full(): fixed an infinite
564 loop / crash bug (thanks to Darko Koruga).
565 compose_write_to_file(): put correct charset element when
566 conversion failed but want to send anyway.
570 * src/headerview.c: headerview_show()
571 src/textview.c: textview_write_line(): remove unreadable characters
572 from displayed strings to prevent crashes on multi-byte
574 * src/codeconv.[ch]: conv_unreadable_locale(): new. It was separated
575 from conv_localetodisp().
579 * src/procmsg.c: procmsg_cmp_by_subject()
580 src/summaryview.c: summary_cmp_by_subject(): ignore Re: when
583 subject_compare_for_sort()
584 trim_subject_for_sort(): new.
592 * src/defs.h: added -i option to the default sendmail command.
596 * src/codeconv.[ch]: added missing character encodings and locales.
601 procmsg_get_mark_sum()
602 procmsg_open_mark_file()
603 procmsg_read_mark_file(): take FolderItem instead of directory
608 * src/codeconv.c: conv_encode_header(): fixed a bug that spaces
609 which is on the wrap boundary would be lost when encoding long
610 non-ascii strings (thanks to Sergey Vlasov).
611 Don't force wrapping within a long word until it reaches hard line
612 length limit (998 characters) (workaround for the breakage of
613 long address list with no spaces).
617 * src/prefs_account.c: fixed compile failure when using neither
622 * src/codeconv.c: fixed UTF-8 locale support.
623 conv_get_code_conv_func(): return conv_noconv if locale encoding
624 is UTF-8. Return conv_latintodisp on ISO-8859-* to locale encoding
626 conv_convert(): call conv_iconv_strdup() instead of
627 conv_codeset_strdup().
628 conv_codeset_strdup(): moved some codes into conv_iconv_strdup().
632 * src/prefs_account.[ch]: added an option to use command output for
634 * src/compose.c: compose_insert_sig(): use command output if
636 compose_insert_command_output(): new.
640 * src/main.c: main(): remove lock socket if sylpheed is not running
641 when --status command is executed.
642 lock_socket_remove(): new.
646 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
647 codeset is US-ASCII (or POSIX).
651 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
652 and continue conversion.
656 * src/summaryview.c: summary_selected(): always update widget
661 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
662 date in timezones more than GMT+12 or less than GMT-12.
666 * src/prefs_common.[ch]
667 src/sourcewindow.c: remember the size of source window.
668 * src/md5.c: fixed a compile problem with gcc 3.3.
672 * src/about.c: about_create(): modified the copyright notice.
676 * src/colorlabel.c: don't use pixmaps for label color rect but draw
677 rectangles so we can respect the color map of palette based visuals
678 (fixes the long time crashes on Solaris - thanks to Alfons
683 * src/procheader.c: procheader_date_parse(): made month string case
685 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
686 selection list is empty.
690 * src/quote_fmt_parse.y: removed gettext translatable strings.
691 * src/unmime.c: unmime_header(): remove broken characters when
692 code conversion failed.
693 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
694 headers if long words more than 75 characters are entered.
698 * src/prefs_account.c: prefs_account_receive_create()
699 src/utils.c: to_human_readable(): made units translatable.
703 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
704 at first byte (fixes abort() problem of glibc).
705 * src/html.c: html_read_line(): remove characters which can't be
706 displayed on the current locale.
711 trim_subject_for_compare(): renamed from trim_subject().
712 trim_subject(): new. It removes [...] or (...) at the beginning
714 * src/prefs_folder_item.c
716 added options for trimming summary / compose subject.
717 * src/summaryview.c: summary_set_header(): trim subject if the folder
719 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
725 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
726 X-Face header problem).
727 conv_encode_header(): allow up to 97 characters for one word.
731 * src/filter.c: filter_match_condition(): fixed the bug that
732 second condition ignored regex.
733 * src/news.h: NewsGroupInfo: use guint for message numbers
734 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
738 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
739 on code conversion failure.
740 conv_get_charset_str()
741 conv_get_charset_from_str(): optimized using hash table.
745 * src/quote_fmt_parse.y:
746 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
747 treat only "\n-- \n" as a signature separator.
751 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
752 * src/summary_search.c: summary_search_execute(): search collapsed
758 conv_unreadable_latin(): include 0x7f as an unreadable character.
759 conv_localetodisp(): don't remove 8bit characters by default.
760 conv_get_current_charset()
761 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
762 appended at the last of locale name.
763 * src/compose.c: compose_write_to_file(): show from and to encoding
764 when code conversion failed.
772 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
773 (thanks to Colin Leroy).
774 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
779 * src/textview.c: textview_write_line(): don't convert if conv is
785 renamed conv_guess_encoding() to conv_guess_ja_encoding().
786 conv_localetodisp(): new. It removes unreadable characters from
787 (assumed) current locale string.
788 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
789 NULL and current locale encoding is US-ASCII.
790 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
791 specified for destination charset.
792 * src/textview.c: textview_write_line(): use conv_localetodisp()
793 instead of strncpy2() if conversion failed.
797 * src/codeconv.c: conv_iconv_strdup()
799 imap_modified_utf7_to_locale()
800 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
801 a warning on some systems.
802 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
804 Return NULL instead of incomplete string if conversion failed.
808 * src/summaryview.c: summary_execute(): select appropriate node
809 if currently selected node is to be deleted.
810 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
811 TRUE if the specified node is selected.
815 * src/summaryview.c: summary_status_show(): fixed a occasional crash
816 on deleting or moving.
820 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
821 of EUC-JP more accurate.
822 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
834 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
835 duplication bug if the source string has CRLF.
837 canonicalize_str(): new. Returns newly allocated canonicalized
839 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
840 uncanonicalize_file_replace(): new.
841 * src/compose.c: always canonicalize body before processing, and
842 uncanonicalize before returning.
846 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
847 ENC_8BIT for Russian charsets.
848 * src/compose.c: compose_write_to_file(): use base64 when signing
853 * src/prefs_common.c: prefs_send_create(): added a description for
854 the setting of Content-Transfer-Encoding.
858 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
860 * src/procmime.c: procmime_get_encoding_for_charset(): return
861 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
862 * src/compose.c: compose_attach_append(): set correct Content-
863 Transfer-Encoding for message/rfc822.
864 compose_write_to_file(): enabled user-definable Content-Transfer-
866 * src/prefs_common.[ch]: added an option for user-defined Content-
871 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
872 line doesn't end with linebreak.
876 * implemented quoted-printable encoding.
877 * src/quoted-printable.[ch]: qp_encode_line(): new.
879 compose_write_to_file()
880 compose_write_attach(): implemented quoted-printable encoding.
881 compose_attach_property_create(): enabled quoted-printable menu
883 * src/procmime.c: procmime_get_encoding_for_charset(): return
884 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
885 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
892 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
893 of abbreviation of newsgroup name.
897 * configure.in: show the result of iconv detection.
901 * src/codeconv.[ch]: made the transition from libjconv to iconv().
902 conv_iconv_strdup(): new.
906 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
912 src/prefs_folder_item.c: English fix (property -> properties).
913 * src/prefs_filter.c: alert if entry is not saved.
914 prefs_filter_dialog_to_filter(): new.
918 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
919 strings after linefeed.
924 * src/codeconv.[ch]: code cleanup and optimization.
925 conv_code_converter_new()
926 conv_convert(): use functions obtained by conv_get_code_conv_func()
928 conv_codeset_strdup(): code cleanup.
929 conv_get_code_conv_func(): added an argument for destination
930 character set, and generalized.
934 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
936 * src/compose.c: compose_convert_header(): remove trailing spaces.
937 * src/customheader.c: custom_header_read_str(): strip the spaces
939 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
940 strip the spaces of name and value.
948 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
949 into infinite loop when encountering invalid characters.
953 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
955 * src/summaryview.c: summary_show(): removed summary_sort() because
956 it is done inside folder_item_get_msg_list(). This will improve
957 the performance of summary display.
958 Sorted out the summary sort functions using macros.
962 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
963 list if FolderItem::sort_key is set.
964 Added SORT_BY_TO to FolderSortKey enum.
965 * src/mainwindow.c: added "View/Sort/by recipient".
973 * src/codeconv.c: conv_encode_header(): fix for redundant space on
975 * src/compose.c: compose_convert_header(): always pass string to
976 conv_encode_header() for line-breaking.
980 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
981 parsing of email addresses.
985 * src/defs.h: added DEFAULT_BROWSER_CMD.
986 * src/mimeview.c: mimeview_view_file()
987 src/prefs_common.c: prefs_other_create()
988 src/utils.c: open_uri(): changed the default web browser to
989 mozilla, and changed 'raise' command (which is undocumented)
990 to 'new-window' in 'netscape -remote'.
994 * src/compose.c: compose_send_control_enter(): fixed crash on
995 Ctrl-Enter when Message/Send has no accelerator key (thanks to
1003 sort_summary_type_cb(): prevent unwanted processing on unchecking
1008 * src/main.c: process command line option before gtk_init() to
1009 enable remote operation without X (thanks to Ruslan N. Balkin).
1010 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
1015 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
1016 (the spec of autotools seems to be changed).
1020 * src/imap.c: get path separator using LIST command if server
1021 doesn't support NAMESPACE (based on the patch by Brian Sammon).
1022 imap_parse_list(): added an argument to return path separator.
1023 imap_get_namespace_by_list(): new.
1027 * src/addr_compl.c: add_address(): removed the debug print.
1028 * src/gtkutils.[ch]: gtkut_window_popup()
1029 src/mainwindow.c: main_window_popup(): applied the patch to fix
1030 the behavior of window popup from Sergey Vlasov (thanks!)
1031 * src/account.c: account_edit_create(): use signal_connect_after
1032 for row_move signal to fix the row position bug.
1033 account_row_moved(): scroll the CList half page.
1034 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
1036 * src/summaryview.c: summary_reply(): use selection text only if
1037 the displayed message is selected (thanks to Sergey Vlasov).
1041 * src/codeconv.c: conv_encode_header(): reimplemented the routine
1042 of MIME header encoding. And use Q-encoding method if the current
1043 locale is single-byte one.
1044 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
1045 of wide-character string. Consider control codes as non-ASCII.
1046 get_next_word_len(): new. It returns the length of next word.
1047 is_next_mbs(), find_wspace(): removed.
1048 * src/quoted-printable.[ch]: new.
1049 qp_decode_line(): decodes one QP line.
1050 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
1051 qp_get_q_encoding_len(): returns the length when a string is
1053 qp_q_encode(): Q-encode a string (RFC 2047).
1054 * src/unmime.c: moved the functions for quoted-printable to
1059 * src/send.c: send_message_local(): escape line that only have one
1060 dot character (postfix's sendmail command will stop there).
1064 * src/send.c: send_message_local(): don't escape first-dot line
1065 (thanks to Sergey Vlasov).
1069 * autogen.sh: added 'libtoolize --force --copy' to override the
1071 * acconfig.h: removed.
1072 * configure.in: increased minimal version of GPGME to 0.3.10.
1073 Fixed checking of XIM.
1075 ac/gnupg-check-typedef.m4: added an argument for comment.
1079 * src/imageview.[ch]: fixed conflicting declarations of
1080 imageview_show_image() (thanks to Thorsten Maerz).
1084 * src/compose.c: compose_entry_append(): don't add ", " on subject
1086 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
1087 charset from the table (currently disabled for non-Japanese locales).
1088 conv_get_current_locale(): also refer to LC_CTYPE.
1092 * README: added a description about hidden settings.
1096 * src/prefs_common.[ch]: reorganized the common prefs dialog.
1097 Made enable_hscrollbar and bold_unread hidden options.
1101 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
1106 account_find_from_message_file()
1107 account_find_from_msginfo(): new. They find an account from the
1108 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
1111 compose_reedit(): restore messages' previous account on composition.
1112 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
1117 * src/compose.c: cleaned up the code using compose_entry_set()
1118 (don't use gtk_entry_set_text() directly).
1122 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
1126 * updated autotools and libtool to the latest version.
1127 * configure.in: added AC_PREREQ(2.50).
1131 * src/textview.c: textview_set_font(): fix for message display in
1132 UTF-8 locales (thanks to Sergey Vlasov).
1136 * src/imageview.[ch]: imageview_show_image(): resize images to fit
1137 the window size if specified.
1138 * src/prefs_common.[ch]: added an option 'Resize attached images'.
1142 * refactoring for SMTP implementation.
1143 * src/session.h: added ui_func to Session.
1144 * src/smtp.[ch]: separated the connection routine from
1145 smtp_session_new() to smtp_connect().
1146 Changed the argument of every function other than smtp_ok() from
1147 SockInfo to SMTPSession.
1148 Call UI callback from each functions.
1149 * src/send.c: send_message_smtp(): separated the code for UI update
1150 into send_progress_dialog_update().
1154 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
1155 * src/send.c: send_message_smtp(): call smtp_auth() and display
1156 the state to the dialog.
1160 * src/filter.c: strmatch_regex(): use extended regex (thanks to
1162 * src/main.c: main(): removed the code for assortrc -> filterrc
1164 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
1165 current locale is C or POSIX.
1166 gtkut_stext_is_uri_string(): include "www." for URI string.
1167 * src/textview.c: textview_make_clickable_parts(): include "www."
1176 * src/textview.c: textview_add_part(): indicate signature status
1177 using different colors.
1181 * src/folder.c: folder_write_list_recursive(): escape
1182 To/Cc/Bcc/Reply-To strings.
1186 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
1187 headers on locales other than Japanese when not using libjconv.
1191 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
1192 corresponding error message.
1193 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
1198 * src/prefs_account.[ch]: removed prefs_account_save_config() since
1200 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
1201 procmime_mimeinfo_free_all() can be used in every case.
1205 * src/account.c: account_get_special_folder(): support F_INBOX, and
1210 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
1211 COMPOSE_ENTRY_*, and added
1212 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
1215 compose_redirect(): added FolderItem to the arguments, and reflect
1216 settings in the item.
1217 compose_entry_set(): new.
1218 compose_entry_append(): code cleanup.
1219 compose_entries_set_from_item(): take ComposeMode in its arguments,
1220 and enabled FolderItem::use_auto_to_on_reply.
1221 * src/summaryview.c: summary_reply(): pass folder_item to
1222 compose_{reply,forward,redirect}().
1226 * src/gtkutils.[ch]:
1227 gtkut_font_load(): new. It automatically choose font or fontset
1229 gtkut_font_load_from_fontset(): new. It tries to load single font
1230 instead of fontset from a fontset string.
1234 src/summaryview.c: workaround for the problem that couldn't display
1235 8-bit characters in C or POSIX locale (use font instead of fontset).
1238 src/textview.c: made code cleanup using gtkut_font_load*().
1242 * src/mh.c: mh_get_msginfo(): set correct message number.
1246 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
1247 It returns a new MsgInfo associated to a message number.
1248 folder_item_get_msginfo(): new.
1249 * src/imap.[ch]: imap_get_msginfo(): new.
1250 * src/mh.[ch]: mh_get_msginfo(): new.
1251 * src/news.[ch]: news_get_msginfo(): new.
1255 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
1256 infinite loop if an invalid code appeared.
1260 * src/codeconv.c: conv_codeset_strdup()
1261 src/html.[ch]: html_read_line(): don't output conversion failure
1263 Added HTML_CONV_FAILED to the enum HTMLState.
1267 * implemented per-folder auto-set address (still in progress).
1268 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
1269 and set entries from it (if mailto is empty).
1270 compose_entry_append(): activate menu if required.
1271 compose_entries_set_from_item(): new.
1272 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
1273 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
1275 folder_build_tree(), folder_read_folder_func(),
1276 folder_write_list_recursive(): added the above members.
1277 * src/prefs_folder_item.[ch]: added auto-set addresses.
1278 * src/pop.[ch]: removed Pop3State::prev_folder.
1282 * src/compose.c: allow dropping files by also "moving" files from a
1283 file manager (thanks to Alfons).
1287 * compose_reply_set_entry(): made Reply-To have priority over
1288 List-Post on ML reply.
1292 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
1293 * src/summaryview.c: summary_step(): fixed a bug that lost the
1294 correct selection anchor.
1295 summary_key_pressed(): use gtk_sctree_select() instead of
1299 src/recv.c: differentiate disk full and socket errors
1300 (thanks to Colin Leroy).
1304 * src/account.c: account_edit_prefs(): removed unused variables.
1305 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
1308 compose_reply_set_entry(): receive reply type with one argument.
1309 * src/summaryview.c: summary_reply(): reduced conditional branches.
1313 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
1314 from line ends (thanks to Sergey Vlasov).
1315 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
1320 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
1321 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
1322 messages all at once.
1326 * src/account.[ch]: account_open(): new. It opens account prefs
1327 dialog and reflects to UI when finished.
1329 folderview_button_pressed()
1330 folderview_property_cb(): open account prefs dialog when the
1331 property of the root folder of remote account is requested.
1335 * src/account.c: account_destroy(): unref account information in
1337 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
1338 specified account information in all folders.
1340 folderview_rm_imap_server_cb()
1341 folderview_rm_news_server_cb(): destroy Folder first because
1342 folder_destroy() refers to account information.
1346 * src/account.c: account_find_from_item(): fixed a bug which didn't
1347 select the correct account.
1348 * inc_pop3_session_do():
1349 fixed the resource leak when SSL initialization failed.
1350 Immediately break from temporary event loop if cancelled.
1354 * src/account.[ch]: account_find_from_item(): new.
1356 compose_reply(), compose_forward(), compose_redirect()
1357 src/mainwindow.c: compose_cb(): select optimal account when
1359 * src/folder.[ch]: added FolderItem::apply_sub.
1360 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
1361 index of option menu which contains the specified data.
1362 * src/prefs_folder_item(): added Compose tab, and the setting of
1367 * configure.in: added $LDAP_LIBS for lber library detection.
1375 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
1376 leak, and added error checking.
1380 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
1381 removed Compose::orig_account.
1382 compose_check_for_valid_recipient(): check only enabled entries.
1383 compose_write_headers()
1384 compose_redirect_write_headers(): add Newsgroups header only
1385 when the entry is enabled.
1386 compose_send(): modified the method of finding a mail account
1387 from a news account so that it tries to match the From address.
1388 * src/send.c: send_message_queue(): enabled the queueing of news
1390 * src/news.[ch]: news_post_stream(): new.
1394 * configure.in: check lber first and use $LDAP_LIBS on the check
1399 * po/*.po: fixed many typos of format strings which will lead to
1400 crash (thanks to Sergey Vlasov).
1404 * src/procheader.c: procheader_parse_stream(): added Cc header
1405 to the target for full parsing.
1406 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
1407 returns the full message information from the given information.
1408 * src/compose.c: compose_reply(), compose_forward(): get full
1409 message information for Cc header.
1413 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
1414 IMAP4 and NNTP folder summary after checking those accounts.
1422 * src/prefs_common.c: prefs_compose_create(): modified the label
1423 of the option for Reply button.
1424 * configure.in: add -lldap and -llber to the 5th argument of
1425 AC_CHECK_LIB() for LDAP library detection.
1430 INSTALL.jp: updated.
1434 * src/mainwindow.c: toggle the behavior of Reply button between
1435 normal reply and reply-to-list.
1436 * src/prefs_common.[ch]: added an option to switch the function
1441 * src/compose.c: compose_new(): removed the workaround for XIM
1442 because it doesn't have any effect and only seems to cause
1447 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
1448 compose_parse_header(): parse also List-Post header.
1449 compose_reply_set_entry(): support reply-to-ML (fall back to
1450 normal reply if ML address is not found).
1453 src/summaryview.c: reorganized Reply menu and added 'Reply to
1455 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
1456 returns newly allocated parameters.
1460 * src/account.c: account_read_config_all(): set account information
1461 to default before initializing with configuration file.
1462 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
1463 newly created account information structure initialized by
1464 the default settings.
1469 replace_address_in_edit(): check if newtext is NULL.
1470 completion_window_button_press(): fixed a memory leak.
1471 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
1472 recv_time is RECV_TIME_KEEP.
1473 pop3_getrange_uidl_recv(): only set get_all flag if
1474 ac_prefs->getall is set.
1475 pop3_retr_recv(): don't delete messages which are not received
1476 by filter, and set recv_time to RECV_TIME_KEEP in the case.
1477 * src/pop.h: added an enum RecvTime.
1478 * src/inc.c: inc_drop_message(): unlink temporary message file if
1479 not received by filter.
1483 * src/mainwindow.c: added 'Edit/Select thread' menu.
1484 * src/summaryview.[ch]: added 'Select thread' to the context menu.
1485 summary_select_thread(): new. It selects all messages of current
1490 * src/rfc2015.c: check_signature(): corrected error handling and
1495 * src/rfc2015.c: check_signature(): correctly remove the last empty
1496 line, and canonicalize the file part before verifying (this should
1497 fix incompatibility with Evolution or some other MUAs).
1498 * src/utils.[ch]: copy_file_part(): new. It copies the specified
1499 range of file stream to another file.
1503 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
1504 8-bit text when signing (thanks to Colin Leroy).
1508 * src/prefs_common.c: prefs_send_create(): fixed the charset string
1509 for Cyrillic (Windows-1251).
1517 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
1518 Windows-1251. Added bg_BG locale.
1522 * src/compose.c: account_activated(): change the state of menu items
1523 and entries according to the selected account.
1524 compose_select_account(): new. It changes the state of title bar,
1525 menu items and entries.
1529 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
1531 Don't refresh summary view on fetching when open_inbox_on_inc is
1536 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
1537 is set (to avoid summary refresh problem).
1538 * src/imap.c: removed warnings by checking the existence of directory
1539 before calling remove*_numbered_files().
1543 * src/prefs_common.c: corrected English.
1547 * src/prefs_common.[ch]: added an option: "Mark messages as read
1548 only when opened in new window".
1553 folder_tree_destroy()
1554 folder_write_list_recursive(): added sanity check.
1555 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
1556 can't get session, create empty folder node (based on the
1557 Alfons' suggestion).
1561 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
1563 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
1568 * src/news.c: news_scan_group(): fixed wrong message number
1573 * major refactoring for POP3.
1574 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
1575 inc_pop3_state_destroy(), inc_get_uidl_table(), and
1576 inc_write_uidl_list() into pop.c.
1577 Moved Pop3State::folder_table and Pop3State::inc_state into
1580 inc_put_error(): added lockbusy state.
1581 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
1582 inc_cancel(): don't terminate the automaton here but just set
1583 the flags to prevent crash.
1585 pop3_getauth_pass_recv()
1586 pop3_getauth_apop_recv(): check lockbusy state.
1587 pop3_retr_recv(): check Pop3State::cancelled flag.
1588 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
1589 automaton_input_cb(): terminate if cancelled flag is true.
1590 * sylpheed.desktop: changed Type=Internet to Type=Application.
1591 Added Categories=Application;Network;.
1597 src/progressdialog.c: show detailed information to the status
1599 Added cur_total_recv_bytes to Pop3State.
1600 * src/prefs_common.[ch]: added an option to specify whether to
1601 close receive dialog when finished.
1605 * src/folder.[ch]: folder_get_path(): new. It returns the root path
1609 imap_folder_destroy()
1611 imap_remove_all_msg()
1612 news_folder_destroy(): remove cache directories / files when
1613 deleting Folder / messages.
1617 is_file_entry_exist(): check if the argument is NULL.
1619 remove_numbered_files()
1620 remove_expired_files(): fixed memory leaks on error.
1629 src/smtp.[ch]: made Folder and Session destructor virtual method.
1633 * src/compose.c: do joining of normal lines only when auto-wrapping.
1634 * src/main.c: modified the warning message for GnuPG.
1635 * src/about.c: about_create(): modified the compiled-in features
1637 * configure.in: improved LDAP library checking (thanks to Alfons).
1647 compose_wrap_line_all(): backed out the change to join lines that
1652 * configure.in: require at least gpgme-0.3.5.
1656 * src/alertpanel.c: alertpanel_create(): minor modification.
1665 * src/alertpanel.c: alertpanel_create(): modified the layout.
1666 * src/rfc2015.c: check_signature(): don't abort on error.
1670 * src/compose.c: compose_wrap_line_all(): freeze widget only if
1671 required to repress flickers.
1675 * src/compose.c: improved line wrapping.
1677 compose_wrap_line_all(): also join lines that are not indented.
1678 dump_text(): handle multi-byte strings correctly.
1682 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
1683 (go to next line when space is entered at line limit).
1687 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
1692 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
1693 checking to prevent confusion.
1697 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
1698 method Folder::get_msg_list().
1699 * src/account.c: account_edit_prefs(), account_delete(): use
1700 folderview_set_all() instead of folderview_rescan_all().
1701 * src/folderview.[ch]:
1702 folderview_check_new_all(): new. Updates all folders.
1703 folderview_rescan_tree(): confirm before executing.
1704 folderview_rescan_all(): commented out since it's not used anymore.
1705 folderview_update_item_foreach(): added a flag for summary update.
1706 * src/inc.c: inc_finished(): update summary only when
1707 prefs_common.scan_all_after_inc is set.
1708 inc_drop_message(): set mtime of target folder to 0 to force
1709 the updating of summary.
1710 inc_start(), get_spool(): update also summary when updating
1712 * src/mainwindow.c: changed 'File - Rescan folder tree' to
1713 'File - Check for new messages in all folders'.
1717 * src/compose.c: compose_write_to_file(): clearsign message body
1719 compose_clearsign_text(): new. Replaces the string with clearsigned
1721 * src/prefs_account.c: added an option for clearsign.
1722 * src/rfc2015.c: rfc2015_clearsign(): new.
1723 pgp_sign(): added a flag for clearsign.
1724 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
1725 name (needs to be freed by caller).
1726 str_write_to_file(), file_read_to_str(): new.
1730 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
1731 to avoid memory leak.
1735 * src/base64.c: include string.h for memcpy().
1736 * src/gtksctree.c: use macro ABS() instead of function abs().
1737 * src/prefs_account.c
1738 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
1739 conflict with the function send() in sys/socket.h.
1740 * src/mainwindow.c: commented out the unnecessary functions.
1741 * src/utils.c: canonicalize_file_replace(): correct warning message.
1745 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
1746 temporary files in ~/.sylpheed/.
1747 * src/main.c: create temporary directory in ~/.sylpheed/.
1749 src/inc.c: create temporary files in ~/.sylpheed/, and modified
1751 compose_exec_ext_editor(): fixed a bug that failed to create the
1752 temporary file if g_get_tmp_dir() returned directory other than
1757 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
1761 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
1762 to replace the file when the given file and temporary file are not
1763 on the same filesystem.
1764 copy_file(): added a flag whether to keep backup.
1765 move_file(): added a flag whether to overwrite the destination file.
1769 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
1770 * src/select-keys.c: modified key selection dialog.
1774 * src/socket.[ch]: my_gethostbyname(): new.
1775 * src/utils.c: get_domain_name(): return FQDN instead of short
1776 hostname (thanks to Bob Woodside).
1777 * src/template.c: made the debug messages less verbose.
1781 * src/prefs_common.[ch]: removed obsolete default sign key setting.
1782 * src/utils.c: canonicalize_file(): correct the error check of
1787 * src/compose.c: compose_write_to_file():
1788 canonicalize line endings before encrypting/signing (this will fix
1789 interoperability with other MUAs).
1790 Removed unnecessary strdup.
1791 Don't encrypt/sign draft message.
1793 canonicalize_file(), canonicalize_file_replace(): new.
1795 src/select-keys.c: changed g_message() to debug_print() and
1797 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
1798 MIME structure scanning.
1799 * src/textview.c: textview_add_part(): show signature status in
1802 src/sigstatus.c: modified translatable strings and some MIME
1807 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
1808 the temporary file when saving from queue.
1814 src/prefs_account.[ch]
1815 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
1816 Modified some messages.
1820 * src/textview.c: textview_scan_header(): fixed a memory leak
1825 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
1826 in right conditional block.
1830 * src/compose.c: compose_wrap_line_all(): fixed character buffer
1836 log_error(): add time stamp to log messages.
1841 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
1845 * src/socket.c: implemented socket I/O timeout.
1847 * src/pop.c: check errors and return error value correctly.
1851 * src/prefs_actions.c: made the action's input/output dialog display
1852 without delay. Made the dialog modal instead of making window
1853 insensitive. Also cleaned up its UI.
1857 * implemented --attach command line option.
1859 Cmd::attach_files: new member to store file paths.
1860 parse_cmd_opt(): added --attach option. --compose option is implied.
1861 prohibit_duplicate_launch()
1862 lock_socket_input_cb(): added "compose_attach" message.
1865 src/textview.c: renamed compose_new_with_recipient() to
1866 compose_new(), and added an argument for attachment files.
1870 * src/logwindow.c: freeze GtkText widget while hidden.
1871 log_window_append(): changed the header for message and warning.
1875 * src/news.c: implement automatic cache expiration.
1876 news_delete_expired_caches(): new.
1877 news_get_article_list(): fixed a bug that nonexistent messages
1878 were not removed from list.
1879 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
1880 procmsg_get_last_num_in_cache().
1881 * src/utils.[ch]: remove_expired_files(): new.
1886 inc_mail(): force summary refresh when using external command for
1888 inc_all_account_mail(): fixed a bug on spool checking failure.
1899 src/editldap_basedn.c
1901 src/prefs_common.c: fixed memory leaks which didn't free strings
1902 gtk_editable_get_chars() returned. And minor code cleanups.
1904 src/vcard.h: removed C++-style comments.
1908 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
1909 strings which include both multi-byte and us-ascii characters.
1913 * src/utils.c: remove_numbered_files(): don't try to unlink()
1916 conv_get_code_conv_func(): return conv_anytodisp() if charset is
1918 conv_unmime_header_overwrite()
1919 conv_unmime_header(): do conv_anytodisp() before decoding header.
1927 * src/compose.c: added 'Tools/Actions' menu.
1931 * src/base64.c: a minor fix for BASE64VAL() macro.
1935 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
1943 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
1944 base64_encode(), base64_decode(): new.
1945 * src/rfc822.[ch]: removed.
1947 src/about.c: removed the copyright notice for fetchmail.
1953 src/unmime.[ch]: rewrote the MIME decode routines.
1955 unmime_quoted_printable_line(): new.
1957 procheader_get_one_field()
1958 procheader_get_unfolded_line(): remove also CR.
1962 * libkcc: removed from the source tree.
1964 src/about.c: removed the copyright notice for libkcc.
1965 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
1967 * src/prefs_actions.c: removed unnecessary spaces/tabs.
1971 * src/prefs_actions.c: comply with the coding style.
1972 Modified the UI design.
1973 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
1974 menu when multiple messages are selected.
1978 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
1979 update_actions_menu(): simplified the menu deletion.
1980 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
1984 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
1985 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
1990 * configure.in: added check for strchr.
1994 * src/prefs_common.[ch]
1995 src/inc.c: added an option to inhibit receive error dialog.
1999 * src/account.c: account_find_from_address(): support multiple
2000 addresses in header.
2004 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
2005 GtkCTreeNode* so that it won't become invalid after the row move.
2006 Removed dependency to gtkutils.c.
2007 * src/prefs_common.[ch]
2008 src/summaryview.c: summary_selected(): added an option to show
2009 message when cursor keys are pressed on summary view.
2015 src/compose.c: changed "host_alias" to "target_alias" so that it
2016 shows the correct system name on cross-compiling (thanks to
2021 * src/prefs_account.[ch]: added the option menu to force an
2022 authentication method for SMTP AUTH.
2024 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
2025 specify the authentication method for SMTP AUTH.
2026 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
2030 * src/prefs_common.[ch]
2031 src/compose.c: enabled "Wrap on input".
2035 * src/summaryview.[ch]
2036 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
2037 Made some code cleanups.
2042 src/prefs_common.[ch]: added the hidden option to specify the
2043 policy of the vertical scrollbar on folder view.
2047 * src/messageview.[ch]:
2048 messageview_copy_clipboard(): fixed a bug that couldn't copy text
2050 messageview_get_current_textview(): new.
2051 messageview_get_text_widget(): removed.
2052 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
2053 * src/compose.[ch]: implemented the "Paste as quotation" feature.
2054 text_inserted(): new callback for "insert_text" signal.
2055 Add quote mark to the pasted text if Compose::paste_as_quotation
2060 * src/compose.c: if the Content-Type of a file is text/*, check
2061 its content and set the optimal Content-Transfer-Encoding (thanks
2066 * src/textview.c: textview_key_pressed(): pass key press event to
2067 main window to activate menu shortcuts (thanks to Alfons).
2071 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
2072 for mtime to prevent flooring.
2075 imap_move_msgs_with_dest()
2076 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
2078 imap_parse_envelope()
2079 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
2080 full information of messages and simplify the parser. Also fixed
2081 the bug that References header was ignored on threading.
2082 imap_parse_one_address()
2083 imap_parse_address(): removed.
2084 imap_get_header(): new. It reads the RFC822 header and returns
2085 a newly allocated string.
2086 * src/procheader.[ch]: changed procheader_parse() to
2087 procheader_parse_stream() and added different interfaces for it.
2091 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
2099 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
2100 could be inserted into the hash table.
2101 inc_write_uidl_list(): a minor code cleanup.
2102 * src/mainwindow.c: main_window_get_current_state():
2103 make the state unexecutable on an empty folder.
2104 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
2105 * src/pop.c: minor code cleanups.
2109 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
2110 corrected the behavior of the radio buttons.
2114 * implemented 'Delete messages after N days' feature for POP3.
2116 inc_get_uidl_table()
2117 inc_write_uidl_list(): moved the location of UIDL list file from
2118 RC_DIR/uidl-* to RC_DIR/uidl/*.
2119 Added received time for each UIDLs.
2120 src/main.c: main(): create RC_DIR/uidl/ directory.
2121 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
2122 Added recv_time to Pop3MsgInfo.
2123 src/prefs_account.[ch]: added an option for the number of days for
2132 * src/folder.c: folder_set_missing_folders(): fixed a bug that
2133 caused multiplication of special folders on startup if their
2135 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
2140 * src/compose.c: compose_reply(), compose_forward(): reverted the
2141 last change since it causes lockup problem.
2145 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
2147 compose_new_with_recipient(): workaround for initial XIM problem.
2151 * src/mainwindow.c: sort ascending / descending order can be
2152 specified with separated menu items.
2153 Added "View/Sort/Don't sort" menu item.
2154 * src/summaryview.[ch]: summary_sort(): added an argument for
2159 * implemented persistent sort order.
2161 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
2162 folder_write_list_recursive(): write sorting state.
2164 src/summaryview.[ch]: summary_show(): sort if required.
2165 select the top node on descending sort.
2166 Removed SummarySortType and sorting state variables from
2174 src/prefs_account.[ch]: enabled NNTP over SSL.
2175 * src/nntp.c: nntp_group(): issue MODE READER command and retry
2176 when GROUP command once failed (this seems to avoid problems on
2177 some broken news servers).
2181 * faq/it/*.html: corrected DOS linebreaks.
2182 * faq/*/*.html: changed ">" to ".
2186 * src/prefs_account.c: prefs_account_protocol_activated(): hide
2187 unnecessary frames in SSL tab.
2193 src/prefs_account.[ch]: enabled STLS command in POP3.
2194 * src/account.c: account_clist_set_row(): display TLS setting.
2198 * src/compose.c: compose_send_later_cb(): support redirect function.
2201 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
2203 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
2207 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
2208 * src/compose.c: compose_create(): removed unrequired lines.
2212 * src/news.c: news_scan_group(): fixed a bug that set the wrong
2213 values in some cases.
2214 * src/prefs_account.c: corrected English in Advanced - Folder
2219 * src/textview.c: textview_show_message(), textview_show_part():
2220 fixed a bug that GtkSText *text pointed the incorrect object.
2221 textview_add_part(): freeze GtkSText while adding RFC822 headers.
2222 textview_show_part(): fixed a bug that couldn't display single
2223 part MIME message as text.
2227 * src/compose.c: compose_redirect_write_to_file(): correct the target
2228 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
2229 incomplete file when an error occured.
2234 compose_create(): disable menus for draft on redirection mode.
2235 compose_redirect_write_to_file(): correct the error handling of
2237 * src/prefs_common.c: turned off the "Display recipient on `From'
2238 column if sender is yourself" option by default.
2242 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
2243 Based on the implementation of the claws branch.
2244 compose_redirect(): create a new window and make it uneditable.
2245 compose_redirect_write_to_file(): copy headers and body of
2246 original message except for some.
2247 compose_redirect_write_headers(): add extra "Resent-*" headers.
2248 compose_create(): set menu sensitivity for redirection mode.
2252 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
2253 space is inserted between encoded string and the following folded
2254 one (thanks to Masahiro Tomita).
2258 * src/mainwindow.[ch]: some refactoring has been made.
2259 main_window_toggle_message_view(): moved summary_toggle_view_real()
2261 * src/messageview.[ch]: messageview_is_visible(): new.
2262 * src/summary_search.c
2263 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
2264 Instead use messageview_is_visible().
2268 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
2269 * src/summaryview.[ch]:
2270 summary_expand_threads(), summary_collapse_threads(): new.
2274 * src/mainwindow.c: Fixed the behavior of
2275 '/View/Show or hide/Folder tree' and
2276 '/View/Show or hide/Message view' toggle menu.
2277 Removed '/View/Toggle summary view' menu and integrated the
2278 function into '/View/Show or hide/Message view'.
2279 main_window_set_widgets(): change the state of toggle menu items.
2280 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
2285 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
2286 MIME contents other than text as children of message/rfc822 part.
2288 procmime_mimeinfo_next(): modified for message/rfc822 part which
2289 content-type is single part MIME.
2290 procmime_scan_multipart_message(): fix for nested message/rfc822
2291 part. Corrected the size of the contents of message/rfc822.
2292 * src/textview.c: textview_show_part(): extract the contents of
2293 multipart/* and message/rfc822. Some code cleanups.
2294 textview_add_parts(): new. It adds the all parts under a part to
2296 textview_clear(): reset body_pos and cur_pos.
2300 * src/addr_compl.c: modified so that it behaves better.
2301 get_address_from_edit(): ignore comma inside of brackets.
2302 completion_window_apply_selection(): new. Only apply the current
2304 completion_window_accept_selection(): removed.
2305 address_completion_complete_address_in_entry(): minor code cleanup.
2306 don't replace address in entry here.
2307 completion_window_select_row(): always apply clist selection to
2309 completion_window_key_press(): don't apply selection here.
2313 * src/imap.c: imap_create_folder(): keep trailing directory separator
2314 to create a folder that contains sub folder.
2318 * src/foldersel.c: sort tree with case insensitive.
2319 * src/mainwindow.c: allsel_cb()
2320 src/messageview.c: messageview_select_all(): fixed 'Select all'
2322 * src/mainwindow.c: removed common and account prefs button from
2327 * src/compose.c: compose_account_option_menu_create(): check if
2336 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
2337 manual/en/*: updated the English manual.
2339 faq/it/*: added German and Italian FAQ.
2342 faq/fr/*: updated FAQs.
2344 src/mainwindow.c: added German and Italian language.
2348 * src/prefs_account.c: turn off "receive at get all" option by default
2349 when creating an IMAP or News account.
2353 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
2354 * src/prefs_folder_item.c: show also identifier path.
2355 Made layout using table. Show uneditable entry using background
2357 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
2362 * src/automaton.[ch]: added UI callback to Automaton.
2364 src/pop.c: use callback instead of calling inc_progress_update()
2366 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
2371 * src/folderview.c: properly sort abbreviated newsgroups.
2376 src/prefs_common.[ch]
2377 src/summaryview.c: added an option to specify the minimum length
2378 for abbreviated newsgroups name.
2382 * src/folderview.c: folderview_check_new(): skip unselectable folders.
2383 * src/summaryview.c: added 'Create filter rule' to the context menu.
2384 * src/imap.c: some code cleanups.
2385 imap_scan_tree_recursive(): get path separator for each calls.
2386 imap_get_path_separator(): new.
2390 * src/imap.[ch]: supported namespace for others/shared folders
2392 imap_parse_namespace(): parse also others/shared namespace.
2393 imap_find_namespace(): search also others/shared namespace.
2395 strchr_parenthesis_close(): return pointer to closing parenthesis.
2396 strsplit_parenthesis(): split parenthetic list into array of
2401 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
2402 parse date string like "Mon,6 May 2002 20:31:12 +0800".
2403 procheader_scan_date_string(): new. Separated string scanning
2404 part from procheader_date_parse().
2408 * src/summary_search.c: summary_search_execute(): unlock while
2409 selecting summary row (thanks to Martin Schaaf).
2410 * src/summaryview.c: summary_set_column_titles(): reversed the
2411 direction of the arrow so that it matches with Win/Mac style.
2415 * src/compose.c: compose_write_headers(): quote self address name
2416 if required. Some code cleanups. Don't override Newsgroups and
2417 Cc with custom headers.
2418 * src/imap.c: imap_add_msg(): return UID for appended message.
2419 * src/compose.c: compose_queue(): check if queue folder exists.
2420 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
2422 imap_open(): removed an unrequired argument.
2426 * src/utils.[ch]: trim_string(): new. It trim characters longer than
2427 the specified length and adds "...".
2428 * src/folderview.c: trim folder name when displaying dialog.
2432 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
2434 * src/folderview.c: folderview_select()
2435 src/summary_search.c: summary_search_execute(): lock summary view
2436 while searching (thanks to Martin Schaaf).
2444 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
2448 * src/summaryview.c: summary_show(): fixed a bug that didn't process
2450 * src/account.c: account_edit_prefs(): fixed a crash bug when account
2452 * src/prefs_account.c: prefs_account_apply(): display error dialog
2453 if account name is empty.
2454 * src/imap.c: changed some log_print() to debug_print() to reduce
2459 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
2463 mh_do_move_msgs_with_dest()
2465 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
2466 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
2467 if stat() succeeded.
2469 imap_fetch_msg(): SELECT mailbox before FETCH if required.
2470 imap_scan_folder(): set last_num using the value of UIDNEXT.
2471 imap_select(): return immediately if there is no need for SELECT.
2472 preserve the path of currently selected mailbox.
2473 imap_status(): added UIDNEXT.
2477 * src/folder.c: folder_item_scan(): removed the warning.
2478 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
2479 setting case sensitivity.
2483 * src/mainwindow.c: main_window_create(): restrict the minimum size.
2487 * src/compose.c: merged the new line-wrapping routine.
2488 join_next_line(): fixed a bug that didn't join multibyte
2490 get_indent_length(): modified enums and variable names.
2491 INDENT_CHARS: don't indent ':'.
2493 folderview_rename_folder_cb()
2494 folderview_delete_folder_cb(): support folder identifier.
2495 folderview_rm_imap_folder_cb(): integrated with
2496 folderview_delete_folder_cb().
2500 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
2501 * src/folderview.c: folderview_check_new(): abort checking if
2502 folder_item_scan() failed.
2506 * src/imap.c: imap_create_missing_folders(): create only INBOX and
2508 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
2509 type of news folders unchangeable.
2510 prefs_folder_item_destroy(): use prefs_dialog_destroy().
2511 * src/prefs.[ch]: prefs_dialog_destroy(): new.
2515 * src/prefs_account.[ch]: added special folder setting to Advanced
2516 tab. Also moved "IMAP server directory" setting to there.
2517 * src/account.[ch]: account_get_special_folder(): new. It returns
2518 the optimal special folder for accounts.
2519 * src/compose.c: use account_get_special_folder().
2520 * src/prefs_folder_item.[ch]: new. Implemented folder property
2521 dialog, and the special folder settings (most of the functions in
2522 claws are not integrated yet, and the structure is slightly
2524 * src/folderview.c: enabled Property menu.
2528 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
2529 scanning when encountering separators ',' and ';'.
2533 * src/mainwindow.c: reorderd the menu a bit.
2534 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
2535 compose_reply_set_entry(): made 'Reply to sender' work for
2540 * src/compose.c: compose_create(): set geometry hints to restrict
2541 the maximum size of window.
2542 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
2543 imap_get_uncached_messages()
2544 imap_cmd_fetch(): ignore responses which don't include FETCH.
2548 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
2549 the clause for OpenSSL).
2553 * src/prefs_account.c
2554 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
2560 src/session.[ch]: first reorganization of SMTP protocol handling.
2561 SMTPSession: new class which is a sub class of Session.
2562 smtp_session_new(): moved send_smtp_open() into this function.
2563 smtp_from(): moved SMTP AUTH calls into smtp_auth().
2564 smtp_auth(): use server response for SMTP AUTH method.
2565 smtp_ehlo(): read server response and set auth type flags.
2566 smtp_helo(): separated EHLO command.
2567 smtp_ok(): return the last server response if the buffer is
2569 * src/esmtp.[ch]: merged into smtp.[ch].
2570 * src/imap.c: imap_session_destroy_all(): use session_destroy().
2574 * src/imap.c: imap_open(): show warning message if IMAP4 session
2575 can't be established.
2579 * src/compose.c: made template able to be inserted into the current
2581 * src/mainwindow.c: moved some menu items under the submenu
2582 '/View/Show or hide'.
2587 src/inc.c: changed folder_find_item_from_path() to
2588 folder_find_item_from_identifier().
2590 src/prefs_filter.c: use folder_item_get_identifier() to specify
2595 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
2596 existed in claws' implementation).
2597 folder_find_from_name(): find Folder from name and type.
2598 folder_get_identifier(): return Folder id.
2599 folder_item_get_identifier(): return FolderItem id.
2600 folder_find_item_from_identifier(): find FolderItem from id.
2601 folder_get_type_string(): return folder type string.
2602 folder_get_type_from_string(): return FolderType from string
2603 (and fixed the wrong g_strcasecmp() usage).
2605 src/import.c: use folder_item_get_identifier() and
2606 folder_find_item_from_identifier().
2610 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
2611 point the correct address after reading the continuous line.
2612 imap_scan_folder(): set new number to 0 if unseen number is 0.
2613 imap_parse_flags(): don't add new and unread flag if \Seen flag
2615 * ac/Makefile.am: removed gpgme.m4 from MACROS.
2619 * fixed the old problem that couldn't add flags to currently opened
2622 compose_send(): update outbox after saving.
2624 compose_draft_cb(): use procmsg_add_flags().
2625 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
2627 * src/main.c: send_queue(): send from all queue folders.
2628 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
2630 procmsg_flush_mark_queue(): new. Write all queued flags into file.
2631 procmsg_add_flags(): new. Add specified flags to the folder.
2632 procmsg_send_queue(): added an argument to specify queue folder.
2633 procmsg_save_to_outbox(): use procmsg_add_flags().
2634 * src/summaryview.c:
2635 summary_show(): up the opened flag of FolderItem.
2636 summary_clear_list(): down the opened flag of FolderItem.
2637 summary_write_cache(): call procmsg_flush_mark_queue().
2641 * src/summaryview.[ch]: trim the tail of folder name and selected
2642 number on the status label if the space is not enough.
2646 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
2647 set SpecialFolderItemType when creating special folders under
2649 * ac/gpgme.m4: removed.
2651 * ac/missing/gdk-pixbuf.m4
2652 ac/missing/gettext.m4
2654 ac/missing/imlib.m4: added for convenience.
2658 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
2659 shown after the decoded challenge string. Fixed a memory leak.
2661 * src/compose.c: compose_draft_cb(): mark draft messages as read.
2662 * src/folderview.c: folderview_update_node(): disable emphasis
2663 for Outbox and Draft folders.
2667 * src/messageview.c: messageview_show(): fixed a memory leak.
2668 * src/summaryview.c: summary_save_as(): show error dialog if copy
2670 * src/about.c: about_show(): make the window active if it is already
2675 * src/compose.c: show confirmation dialog before sending if Subject
2677 compose_check_entries(): new.
2679 compose_send_later_cb(): use compose_check_entries().
2680 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
2684 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
2685 responses with continuous line correctly, and fixed a memory leak.
2689 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
2691 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
2692 after pasting with middle button to prevent the selection growth.
2697 folderview_rename_folder_cb()
2698 folderview_delete_folder_cb(): modify filter rules only if the
2699 target folder is in the default mailbox.
2700 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
2707 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
2708 Moved 'Delete duplicated messages' under 'Tools'.
2712 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
2714 * src/imap.c: imap_create_special_folder(): fixed a crash bug
2715 when folder creation failed, and re-try to create folders under
2717 imap_scan_tree_recursive(): don't automatically add namespace
2718 prefix if it's INBOX. Search also under the INBOX for special
2720 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
2725 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
2726 abbreviated newsgroup name.
2727 * src/folderview.c: folderview_update_node(): display newsgroups
2728 with abbreviated name if name and path is the same.
2729 * src/summaryview.c: summary_status_show(): show the newsgroup with
2735 src/folderview.c: changed the label 'Draft' to 'Drafts'.
2736 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
2737 imap_create_missing_folders(): fixed the wrong assignment of
2738 Queue folder to draft.
2742 * enabled Sent / Draft / Queue folders on IMAP server.
2743 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
2744 queue and draft folder if they exist.
2746 imap_create_trash(): removed.
2747 imap_create_special_folder(): new. Generalized imap_create_trash().
2748 imap_create_missing_folders(): automatically create missing folders.
2749 imap_is_msg_changed(): added the dummy method.
2750 imap_scan_tree_recursive(): search also Sent, Draft and Queue
2751 folders. Minor code cleanups.
2752 imap_parse_envelope(): check for null strings.
2753 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
2754 for messages on IMAP folder.
2758 * src/compose.c: compose_send(): use account's outbox folder
2760 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
2761 that the outbox can be specified.
2765 * src/compose.c: don't save to outbox when messages are queued.
2766 compose_save_to_outbox(): moved to procmsg.c.
2767 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
2769 procmsg_save_to_outbox(): new. Removes the queueing headers if
2770 needed, and adds the given file to the outbox.
2774 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
2775 get_indent_length(): treat ':' and '#' also as quote char, and
2776 cleaned up using strchr().
2780 * src/mainwindow.c: modified some menu items.
2784 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
2785 (current "outbox" will be kept until rescan).
2786 * src/folder.c: folder_set_missing_folders(): create the missing
2789 src/folderview.c: changed 'Outbox' to 'Sent'.
2790 * src/main.c: call folder_set_missing_folders().
2791 * src/mh.c: mh_scan_tree(): create missing folders.
2792 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
2793 didn't set the menu sensitivity correctly.
2798 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
2799 folderview_rename_folder_cb(): reopen the current folder when
2800 the ancestor is renamed.
2801 imap_rename_folder(): new method implementation.
2803 imap_rename_folder_func(): new.
2804 imap_remove_folder(): remove also the cache directory.
2808 * src/imap.c: implemented locale encoding <-> modified utf-7
2809 conversion, and supported i18n of folder name (thanks to Suzuki
2811 imap_path_separator_subst(): handle the escape characters of
2813 imap_modified_utf7_to_locale()
2814 imap_locale_to_modified_utf7(): new.
2815 imap_create_trash(): modified so that it create the Trash folder
2816 to the correct location when imap directory is specified.
2817 imap_get_real_path(): removed debug print.
2821 * src/socket.c: implemented timeout for DNS lookup and connect().
2822 sock_connect_by_hostname(): timeout support and code cleanup.
2823 sock_connect_with_timeout(): new.
2824 sock_peek(): implemented SSL peek.
2828 * src/messageview.c: messageview_show(): display single-part
2829 text/html messages with the normal text view.
2843 src/prefs_customheader.c
2844 src/prefs_display_header.c
2859 src/xml.c: added 'b' to the option of all fopen().
2867 * src/ssl.[ch]: match its coding style.
2868 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
2872 faq/en/sylpheed-faq*.html
2874 faq/es/sylpheed-faq*.html
2876 faq/fr/sylpheed-faq*.html
2882 src/manual.[ch]: added FAQs in English, Spanish and French.
2886 * manual/en/sylpheed*.html: updated to the latest version.
2891 src/mgutils.c: include string.h to remove warning about strlen()
2905 src/summaryview.c: added break to the last label of switch to
2906 prevent the 'deprecated use of label at end of compound statement'
2908 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
2912 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
2914 inc_cancel_all(): new. It cancels the all current incorporation.
2915 * src/mainwindow.c: added 'Cancel receiving' menu.
2916 * src/textview.c: a minor fix for single-part MIME messages, and
2917 a bit of cleanup for textview_write_body().
2921 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
2922 information if any errors occured before issuing UIDL command.
2923 src/inc.h: added uidl_is_valid to Pop3State.
2924 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
2932 * src/mimeview.c: mimeview_create(): set the initial notebook page
2934 * src/folderview.c: folderview_selected(): scroll the view if the
2935 selected row is hidden.
2936 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
2937 and select the added row.
2938 * src/summaryview.c: fix threading for null message ids.
2942 * src/textview.c: textview_show_message(): follow message/rfc822
2944 textview_add_part(): add a caption before the attached text files.
2945 textview_show_header(): don't add the newline.
2946 * src/messageview.c: enabled message search also in MIME mode.
2950 * src/messageview.c: messageview_show(): set header state of
2951 MimeView's TextView, too.
2952 * src/mimeview.c: mimeview_show_message(): call
2953 textview_show_message() to display message.
2954 * src/textview.c: textview_add_part(): new. It adds the content
2955 of message part without clearing the view.
2956 textview_show_message(): display all parts with appropriate
2958 textview_write_body(): separated from textview_show_part().
2963 src/prefs_common.c: added ISO-8859-15 to the codesets for
2964 displaying and sending.
2965 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
2966 conversion failed, and made caller deal with it.
2967 * src/compose.c: compose_write_to_file(): show error dialog when
2968 code conversion failed, and let user select whether to send it
2970 * src/textview.c: textview_write_line(): show the original string
2971 if code conversion failed.
2975 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
2976 if copy_mbox() failed (thanks to Alexander Kabaev).
2977 * src/prefs_account.[ch]: added separate user ID / password setting
2979 * src/send.c: send_message_smtp(): use separate user ID / password
2980 for SMTP AUTH if it is specified.
2985 src/pop.[ch]: refactored the UIDL management.
2986 store the information of messages into the array of Pop3MsgInfo
2987 structure, and do full scanning of not retrieved messages.
2993 src/mainwindow.c: set WMCLASS for window/dialog.
2994 * src/codeconv.c: conv_codeset_strdup(): return source string
2995 when jconv_alloc_conv() failed.
2999 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
3006 src/summaryview.c: implemented the new notebook tab interface for
3008 * src/textview.[ch]: fixed line space related glitches.
3012 * src/prefs_filter.c:
3013 prefs_filter_rename_path()
3014 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
3018 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
3019 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
3021 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
3022 cancelled, and fixed potential crash bug.
3023 * src/grouplistdialog.c: enabled cancelling of data receiving.
3024 * src/news.c: news_get_group_list(): destroy current session if
3029 * src/manage_window.[ch]: fixed a bug that caused crash when
3030 the main window was hidden.
3031 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
3032 Monitor "unmap_event", "destroy" events.
3039 src/grouplistdialog.c
3043 src/message_search.c
3047 src/prefs_customheader.c
3048 src/prefs_display_header.c
3050 src/prefs_template.c
3051 src/summary_search.c
3052 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
3053 connect signals for window management.
3057 * src/prefs_account.[ch]: added receive size limit option.
3058 * src/pop.c: skip messages larger than the limit size.
3059 LOOKUP_NEXT_MSG(): new macro.
3060 * src/compose.c: compose_attach_append(): check whether the file
3065 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
3066 changed g_message()'s to debug_print() and g_warning().
3067 rfc2015_decrypt_message(): fixed a bug that duplicated message
3068 parts when decryption was failed/cancelled. And made some code
3070 * src/passphrase.c: made the dialog transient.
3071 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
3076 src/procmsg.[ch]: fixed a bug that failed to parse multipart
3077 messages if GPGME was enabled.
3078 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
3080 * src/prefs_account.c: prefs_account_privacy_create(): modified
3081 the vertical spacing.
3085 * src/menu.[ch]: menu_set_sensitive_all(): new.
3086 menu_set_insensitive_all(): made it a wrapper for
3087 menu_set_sensitive_all().
3088 * src/prefs_account.c:
3089 prefs_account_open()
3090 prefs_account_protocol_set_optmenu(): made the protocol type
3091 unchangeable after creating an account.
3092 * src/compose.c: compose_attach_parts(): traverse MIME tree to
3093 extract all attathed files from nested multipart MIME message.
3097 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
3098 obtain minimum/maximum number, and to specify first number
3101 src/inc.c: enabled new message checking on news folder.
3102 * src/news.c: news_scan_group(): implemented. Guess new/unread
3103 message number from the response of GROUP command and the mark
3105 news_select_group(): return the total/first/last number.
3106 * src/prefs_account.c: prefs_account_receive_create(): modified
3107 the text of the 'Get all' check button.
3111 * src/account.c: made 'Get all' checkbox available for IMAP4 and
3113 * src/inc.c: corrected the argument of folderview_check_new().
3114 * src/prefs_account.c: modification for the "`Get all' checks for
3115 new mail on this account" checkbox.
3119 * src/folderview.[ch]:
3120 folderview_rescan_tree(), folderview_rescan_all(): renamed from
3121 folderview_update_tree() and folderview_update_all().
3122 folderview_update_all_node(): removed.
3123 folderview_check_new(): new. If the argument is NULL, it checks
3124 all local folders. If the arguments is specified, it checks
3125 the (local and remote) folder.
3128 inc_all_account_mail(): check also IMAP4 account.
3133 folderview_rename_folder_cb()
3134 folderview_delete_folder_cb(): modify the filter rules when folder
3136 * src/prefs_filter.[ch]:
3137 prefs_filter_rename_path(): new. It renames the destination paths
3139 prefs_filter_delete_path(): new. It deletes the filter rules if
3140 the destination paths matched.
3141 * thanks to Neill Miller for above.
3145 * src/compose.c: inherit attached files when forwarding or reediting
3146 (rewrote the code in claws branch).
3147 compose_attach_parts(): new. It extracts and attaches the files
3148 in the given message.
3149 compose_attach_append(): chnaged the types of arguments.
3150 * src/messageview.c: messageview_show(): moved the GPG decryption
3152 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
3160 * src/summary_search(): summary_search_execute(): scroll the view
3161 when message view is hidden.
3165 * src/foldersel.c: foldersel_set_tree(): made different type of
3166 folders selectable in moving mode.
3167 * src/folderview.[ch]: folderview_update_msg_num(): compare the
3168 numbers with the CTree's labels, and don't update folder_item here.
3169 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
3170 implemented moving between different type of folders.
3171 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
3172 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
3173 mh_move_msg() and mh_move_msgs_with_dest()).
3174 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
3175 moving between different type of folders.
3176 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
3177 * src/summaryview.c: summary_status_show(): update folder_item
3179 * po/POTFILES.in: removed reference to headerwindow.c.
3180 * src/summaryview.c: summary_step(): fixed the behavior on the
3181 head and tail of the list.
3185 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
3186 all header' toggle state from the property of the TextView.
3187 * src/summaryview.[ch]: made 'All header' toggle switch.
3188 Prohibited unnecessary menu update.
3189 summary_select_node(): added the argument 'do_refresh'.
3194 * src/utils.c: strsplit_with_quote(): remove quotation characters
3195 in the function (fix composer's external editor problem) (thanks
3196 to Stefaan A Eeckels).
3197 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
3198 main_window_menu_callback_block()
3199 main_window_menu_callback_unblock(): new.
3200 main_window_set_menu_sensitive(): set the toggle status of
3202 show_all_header_cb(): read the status of toggle menu item.
3203 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
3204 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
3209 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
3210 the path separator (thanks to Sergey Vlasov).
3211 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
3212 if the length of selection is zero.
3213 Fixed the assertion.
3214 * src/utils.c: str_open_as_stream(): return immediately if
3215 the length of str is zero.
3216 * src/headerwindow.[ch]: removed.
3218 src/inc.c: removed stale thread support codes.
3222 * src/procmsg.c: procmsg_open_message(): modified so that it
3223 returns the stream of decrypted message file if it exists
3224 (this fixes the failure of gpg decryption in messageview.c).
3234 src/prefs_template.c
3236 src/quote_fmt_parse.y
3238 src/utils.[ch]: if the part of the message text is selected, use
3239 it for quoted text instead of the entire message body (thanks to
3241 src/utils.[ch]: str_open_as_stream(): new. It returns an
3242 temporary stream for the given string.
3243 * src/main.c: added "--send" command line option.
3244 * src/compose.c: compose_reply_set_entry(): add From address to
3245 Cc if Reply-To and to_all are both specified.
3246 * Makefile.am: correct the Source: line in the RPM spec file in
3251 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
3253 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
3254 that specifies the folder selection type.
3265 src/prefs_customheader.c
3267 src/summaryview.c: made it compile with C compilers other than gcc
3268 (thanks to Shawn Houston).
3272 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
3274 * src/prefs_common.c: made the key binding setting separate dialog.
3275 * src/addressbook.c: addressbook_format_address(): add "" around
3276 the display name if it contains comma (thanks to Satoshi Watanabe).
3277 * src/addr_compl.c: get_complete_address(): add "" around the
3278 display name if it contains comma.
3279 get_address_from_edit(): handle the quotation character correctly.
3280 * src/addr_compl.c: get_complete_address()
3281 src/addressbook.c: addressbook_format_address(): fixed a bug that
3282 caused wrong text processing if the display name is empty.
3287 * src/compose.c: compose_exec_ext_editor_real(): replaced
3288 g_strsplit() with strsplit_with_quote().
3290 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
3292 folderview_drag_motion_cb()
3293 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
3294 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
3298 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
3299 of the message is different from the current mailbox.
3300 Return the correct value.
3301 imap_cmd_append(): properly implemented the APPEND command.
3306 src/messageview.[ch]
3307 src/summaryview.[ch]
3308 src/textview.[ch]: show all headers in the message view, and don't
3309 use the header window anymore.
3311 src/prefs_common.c: changed the default shortcut of 'compose new
3314 src/summaryview.[ch]: summary_display_msg_selected(): new.
3315 Show the selected message if 'Show all header' is selected.
3317 src/sourcewindow.c: changed some procmsg_get_message_file_path()
3318 to procmsg_get_message_file() to be sure the message is
3320 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
3321 any folder to MH folder.
3322 folderview_drag_received_cb(): copy messages instead of moving
3323 if the source folder is news or IMAP.
3325 src/summaryview.c: allow copy from news folder.
3329 * src/prefs_common.c: prefs_other_create(): modified the design
3330 of the external command settings.
3331 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
3332 preset closer to the original.
3333 Added Mutt keybind preset.
3334 Also change the compose keybinds.
3335 * src/compose.c: modified some menu shortcuts.
3336 * src/codeconv.c: modified the locale_table for Thai encoding.
3340 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
3341 * src/prefs_common.c: prefs_interface_create(): modified the
3342 description for menu shortcut.
3346 * src/gtkutils.[ch]: added gtk_stext_clear().
3349 src/summaryview.[ch]: enabled multiple forwarding.
3350 * src/summaryview.c:
3351 summary_set_marks_selected(): set marks for all selected row.
3352 summary_reply(): moved from summary_reply_cb().
3353 * compose.[ch]: compose_forward(): modified so that it receives
3355 * src/mainwindow.c: cleanup for reply processing.
3356 * src/summaryview.c: summary_reply(): fixed a memory leak.
3357 summary_key_pressed(): removed hardcoded mark / mark as unread
3360 src/prefs_common.c: added mark / mark as unread shortcuts to
3365 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
3366 if prefs_common.linewrap_quote is not set (it is only for
3367 auto-wrapping on reply).
3368 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
3369 when creating a new account.
3370 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
3372 * src/prefs_common.c: prefs_interface_create(): modified the
3373 description of key binds selector.
3377 * src/mimeview.c: fixed multiple dialog / moving by correcting
3378 button / key event processing.
3380 src/textview.c: pass some key press events to MimeView in MIME
3382 * src/prefs_filter.c: fixed a bug that didn't set the order of
3384 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
3385 empty_menurc string.
3390 src/prefs_common.c: reorganized the menu shortcuts.
3391 Added 'View - Toggle summary view'.
3392 * src/summaryview.[ch]: summary_toggle_view(): made it public
3394 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
3396 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
3397 closing the dialog with window manager (in more appropriate way).
3398 * src/imageview.[ch]
3400 src/mimeview.c: fixed wrong scrolling position when switching
3401 between text and image parts. Also free the unrequired image
3402 (thanks to Sergey Vlasov).
3403 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
3408 * src/prefs_common.c: implemented shortcut quick changer.
3409 * src/folderview.c: folderview_key_pressed()
3410 src/summaryview.c: summary_key_pressed(): removed some hardcoded
3416 procmime_get_mime_type()
3417 procmime_get_mime_type_table(): made the MIME type search case
3420 gtk_stext_delete_line(): delete newline on empty line.
3421 gtk_stext_delete_to_line_end(): delete newline if cursor is on
3423 (thanks to Yasuzaki Masayoshi.)
3428 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
3429 and made them customizable.
3430 * src/utils.[ch]: added get_file_size_as_crlf() which returns
3431 the file size when converting LF to CR+LF.
3435 * src/compose.c: enabled 'Ctrl-Enter' or
3436 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
3438 * src/gtkstext.c: disabled some Emacs key bindings.
3439 gtk_stext_key_press(): don't extend selection when Shift-Enter
3440 is pressed to prevent the disapperance of cursor.
3441 * src/summaryview.c: summary_select_next_unread(): added the button
3442 to search unread message again from the beginning to the dialog.
3443 * src/folderview.c: folderview_key_pressed(): go to next unread
3444 folder if space key is pressed on the empty folder.
3445 Move CTree focus before selecting row.
3449 * src/defs.h: modified the XLFD of default fonts.
3450 * src/textview.c: textview_create(): fixed a bug that caused
3451 segfault if font couldn't be loaded.
3453 src/grouplistdialog.c: compare subscribed groups with path.
3454 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
3458 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
3459 when URL is wider than wrapping margin.
3461 src/prefs_filter.[ch]
3462 src/summaryview.[ch]: added "Create filter rule" function based
3463 on the patch from Luca Rosellini.
3464 * src/summaryview.c: summary_filter_open(): added X-List and
3465 X-Mailing-list to the automatically detected headers.
3469 * configure.in: support Mac OS X (Darwin).
3473 * src/prefs_filter.c: use inc_(un)lock() instead of
3474 inc_autocheck_timer_{remove|set}().
3475 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
3476 instead of gtk_ctree_sort_node() so that messages within threads
3478 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
3479 target of sizeof was wrong and caused crash on Alpha architecture
3480 (thanks to Motonobu Ichimura).
3485 foldersel_gnode_func(): made the names of special folders
3487 foldersel_set_tree(): move the special folder to the top.
3488 * src/inputdialog.[ch]: input_dialog_query_password(): new.
3492 src/send.c: use input_dialog_query_password() instead of their
3493 own query functions.
3497 * src/defs.h: modified the default font.
3501 src/news.[ch]: moved the class definition and some methods to
3502 the proper location.
3506 * src/mimeview.c: mimeview_save_as()
3507 src/summaryview.c: summary_save_as(): put the default filename
3508 based on the subject.
3509 * src/utils.[ch]: added subst_chars() and subst_for_filename()
3510 which substitute some special characters with underscore.
3511 * src/filesel.c: filesel_select_file(): select the default filename.
3516 INSTALL.jp: added the description and the URL for libjconv.
3517 * src/mainwindow.c: menu entries cleanup.
3523 src/about.c: modified the copyright year.
3524 * src/gtkstext.h: added the notice for modification by the Sylpheed
3530 INSTALL.jp: added the URL for compface.
3538 * src/headerwindow.c
3541 src/sourcewindow.c: set wmclass when creating windows.
3545 * src/compose.c: compose_wrap_line_all(): fixed the bug that
3546 caused infinite loop when wrapping certain patterns of quoted text.
3550 * src/imap.c: imap_parse_envelope(): put the assertion after
3551 imap_parse_address() to prevent segmentation fault.
3556 src/mainwindow.c: modified some labels of menu items.
3557 * src/ldif.c: put the return value of fgetc() in a gint.
3558 * src/importldif.c: don't brace null strings with _().
3559 * src/compose.c: moved the position of Subject entry to the last.
3560 Reorganized the menu.
3561 compose_draft_cb(): added 'keep editing after saving to draft'
3566 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
3567 menu. Moved 'Help' menu to just the right of 'Configuration'.
3568 Removed 'File - Close' menu item.
3572 * src/mainwindow.c: some menu reorganization.
3573 * AUTHORS: updated. Added more contributors.
3574 * src/account.c: account_row_moved(): new. Moves displayed row to
3575 the appropriate position when up / down button are pressed.
3576 account_clist_set(): move displayed row to the appropriate position.
3578 src/mainwindow.c: set title and wmclass when creating windows.
3582 * src/gtkstext.c: fixed a bug that didn't show block cursor
3583 correctly. Removed unnecessary GdkGC copy. Fixed cursor
3588 src/undo.c: modified to use GtkSText.
3589 * src/menu.h: added #include <gtk/gtkmenu.h>.
3594 configure.in: added XIM checking for GTK+.
3595 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
3599 * src/filter.c: added #include <sys/types.h>.
3603 * src/template.c: template_write_config(): fixed a typo.
3604 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
3606 src/prefs_filter.c: supported regular expression (thanks to
3608 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
3609 undo state when pasted clipboard was empty.
3610 undo_check_size(): use g_list_last().
3612 undo_redo(): fixed NULL checking and made a bit of optimization.
3614 * src/prefs_common.c: changed the default value of linewrap length
3619 * reorganization of pixmap management.
3620 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
3621 * modified every files which directly use pixmaps data to use
3623 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
3624 undo_set_change_state_func(), and changed its argument from
3625 GtkWidget* to gpointer.
3626 undo_merge(): code cleanup.
3627 * src/compose.c: renamed compose_set_undo() to
3628 compose_undo_state_changed().
3632 * src/account.c: account_find_from_address(): made it case
3634 * src/addressbook.c: addressbook_create(): set wmclass.
3635 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
3638 src/ldif.[ch]: merged from the claws branch.
3639 * src/importldif.c: removed some warnings.
3640 imp_ldif_field_list_toggle(): fixed button checking.
3641 imp_ldif_dialog_create(): minor layout fix.
3642 * src/ldif.c: removed some warnings.
3644 INSTALL.jp: updated confirmation list.
3647 vcard_test_read_file(): fixed a memory leak of tagtemp.
3648 Some code cleanups (decreasing the indent level).
3651 src/syldap.[ch]: disabled runtime library checking because JPilot
3652 and LDAP libraries are linked on the build time, and the program
3653 doesn't execute without them anyway.
3655 src/addrindex.c: changed "J-Pilot" to "JPilot".
3656 Removed warning for atoi().
3660 * src/procmsg.c: procmsg_empty_trash()
3661 src/mainwindow.c: main_window_empty_trash(): empty trash only if
3662 it contains some messages.
3663 * src/imap.c: search_array_str(): new.
3664 imap_status(): fixed a bug that didn't parse the command response
3669 * merged undo function (by Jens Oberender).
3670 * src/undo.[ch]: new.
3671 undo_insert_text_cb(): fix for multibyte characters (obtain the
3672 number of letters instead of bytes).
3673 * src/compose.[ch]: added the code for undo.
3674 * src/prefs_common.[ch]: added the interface for setting undo level.
3678 * src/compose.c: compose_template_apply()
3679 src/prefs_template.c: prefs_template_clist_set_row()
3680 src/template.c: template_write_config(): don't replace To: and
3681 Subject: entry in composition window if they are empty.
3689 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
3690 * src/ldif.c: ldif_get_line(): ignore CR.
3691 * src/mimeview.c: mimeview_show_message(): search also text/html
3692 for first text part.
3696 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
3697 that didn't update accountrc if account_list == NULL (thanks to
3702 * src/utils.h: added the macro Xstrcat_a() that concatenates
3703 two strings and return alloca'd string.
3704 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
3705 handle folder name which includes some spaces correctly
3706 (based on the patch from Willem van Engen (thanks!)).
3707 * src/compose.c: compose_wrap_line_all(): fixed the crash when
3708 wrapping long lines if linewrap quotation is disabled and
3709 a word spanning more than one line.
3713 * applied the Tobias' patch with modification (thanks!).
3715 imap_msg_set_perm_flags()
3716 imap_msg_unset_perm_flags(): new. They set permanent flags to
3719 src/summaryview.c: set flags on IMAP server when flags are changed.
3723 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
3724 of gtk_container_remove() for workaround of a bug in
3725 Gtk{Text,Entry} (thanks to Sergey Vlasov).
3731 src/textview.c: replaced gtk_container_remove() with
3732 gtkut_container_remove(), and removed previous partial fix.
3736 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
3737 checked user ID on "local", but didn't on IMAP4.
3738 * src/imap.c: imap_session_get(): fixed a crash bug when
3739 rfolder->session == NULL.
3740 * Makefile.am: changed the arguments of tar from 'chojf' to
3742 * src/summaryview.c: summary_toggle_view(): disclaim the selection
3743 of textview before removing vpaned.
3747 * src/messageview.c: messageview_change_view_type(): disclaim the
3748 selection before removing textview. This solves the mysterious
3749 copy-paste disability (thanks to Melvin Hadasht).
3750 * src/textview.c: textview_set_font(): use
3751 gtk_editable_claim_selection() instead of
3752 gtk_editable_select_region().
3756 * src/prefs_template.c: prefs_template_window_create(): supported
3757 address completion on the To: entry.
3762 folder_count_total_msgs()
3763 folder_count_total_msgs_func(): use g_node_traverse() to traverse
3768 * src/compose.c: fixed a bug that empty body was refused.
3769 * src/prefs_template.c: fixed a bug that didn't set To: entry
3770 correctly. Display error dialog if format is illegal.
3771 * src/prefs_common.c
3773 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
3774 "{ }" to prevent confusion on using parenthesis.
3775 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
3779 * src/prefs_template.c: added colon to the header labels.
3784 src/prefs_template.c
3785 src/template.[ch]: added To field to the template.
3789 * src/textview.c: textview_show_part(): use first found
3790 message/rfc822 header.
3791 * src/folderview.c: added "Search messages..." to the context menu.
3792 * src/prefs_common.c: prefs_quote_description_create(): added
3793 description for characters which need to be escaped.
3797 * src/compose.c: compose_wrap_line_all(): more merging from claws.
3798 GET_CHAR(): renamed GET_TEXT() and made it more generic.
3799 Modified compose_wrap_line() and compose_wrap_line_all() to use
3801 * src/textview.c: textview_show_part(): show the header of nested
3802 RFC822 attachment correctly.
3807 src/main.c: added --status option to get new, unread and total
3808 message count from a running Sylpheed (merged from claws).
3809 prohibit_duplicate_launch(): output '\n' only once.
3814 src/gtkutils.[ch]: merged the new wrapping function.
3815 gtkut_text_str_compare_n()
3816 gtkut_text_str_compare()
3817 gtkut_text_is_uri_string(): backport from the GtkSText in the
3818 claws branch, and made modification.
3819 * src/prefs_template.c
3820 src/template.[ch]: added Subject to the template.
3824 * src/compose.c: compose_write_headers(): added missing parenthesis
3825 that generated invalid custom header (thanks to Masaaki Noro).
3826 Allow Sender: custom header.
3830 * src/procheader.c: procheader_date_parse(): workaround for
3831 RFC-incompliant Date header.
3835 * src/addrbook.c: removed redundant functions, and fixed generation
3836 of spurious address book file names.
3837 * src/addrindex.c: V-Card -> vCard.
3841 * src/textview.c: get_email_part(): replaced isalnum() with
3842 the macro IS_ASCII_ALNUM() which restricts the range of
3843 characters to 7bit ASCII (thanks to Shimamoto).
3844 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
3849 * src/textview.c: textview_show_part(): show headers on nested
3854 * src/imap.c: imap_session_get()
3855 src/news.c: news_session_get(): fixed segfault when reconnection
3857 * src/grouplistdialog.c: removed redundant code, and expand nodes
3858 that doesn't match the pattern.
3862 * src/compose.c: modified so that it sends message when any of
3863 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
3864 compose_check_for_valid_recipient(): new.
3865 * src/grouplistdialog.c: improved the UI.
3866 Added appropriate description and search button.
3867 Search doesn't get group list again.
3871 * src/news.[ch]: news_session_get(): update the last access time
3873 news_group_list_free(): new.
3874 * src/grouplistdialog.c: free resources correctly.
3879 src/grouplistdialog.[ch]: more merging of new newsgroup
3880 subscription dialog.
3881 * src/news.[ch]: renamed news_remove_group_list() to
3882 news_remove_group_list_cache().
3886 * src/defs.h: added MAX_ENTRY_LENGTH definition.
3887 * src/compose.c: compose_add_entry_field(): create new entry with
3892 * src/grouplistdialog.c: made non-leaf node selectable.
3893 Give the complete newsgroup name for each nodes.
3897 * src/grouplistdialog.c
3898 src/news.[ch]: merging of new newsgroup subscription dialog
3899 (still in progress. Don't use it yet!).
3903 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
3904 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
3906 compose_entries_set(): new. It parses mailto URL and put each
3907 values into the entries.
3911 * src/compose.c: compose_forward(): fixed a bug that forward
3912 quote mark wasn't used (thanks to Hironori IWANE).
3915 src/prefs_common.c: added Thai encodings (thanks to Manrat
3920 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
3924 src/news.c: added last_access_time to Session.
3925 imap_session_get(): check connection only when access interval
3934 * src/socket.c: ssl_gets(): use SSL_peek.
3935 * updated NEWS and AUTHORS.
3936 * Makefile.am: fixed release target.
3940 * src/template.c: changed the format of template file to
3942 * src/compose.c: compose_template_apply(): freeze the text widget
3943 while inserting strings.
3947 * po/POTFILES.in: removed src/template_select.c.
3948 * src/summaryview.c: summary_set_header()
3949 src/address.c: address_parse_str()
3950 src/filter.c: filter_read_str()
3951 src/news.c: news_parse_xover()
3952 src/procheader.c: procheader_get_fromname()
3953 src/utils.c: subject_compare():
3954 replaced Xalloca() + strcpy() with Xstrdup_a().
3955 * src/inputdialog.[ch]: added combo mode.
3956 input_dialog_combo(): new.
3957 * src/prefs_common.[ch]: added MIME open command setting.
3958 prefs_common_{read, save}_config(): read / write command history.
3959 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
3960 * src/utils.[ch]: add_history(): history list management function.
3964 * src/compose.c: select templates from the menu.
3965 compose_set_template_menu(): new.
3966 compose_reflect_prefs_all(): new.
3967 compose_template_apply(): new. Use dummy MsgInfo for parsing.
3968 * src/template.[ch]: store template list to the static heap.
3969 template_get_config(): new.
3970 template_set_config(): new.
3971 * src/prefs_template.c: don't store template list to the global area.
3972 * src/template_select.[ch]: removed.
3973 * src/quote_fmt_parse.y: check folderitem when quoting messages.
3974 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
3975 (thanks to OSHIRO Naoki).
3979 * src/utils.[ch]: get_template_dir(): new.
3980 * src/template.c: use get_template_dir().
3984 * src/prefs_template.c: modified the dialog layout.
3985 Added symbol description button.
3986 * src/summaryview.c: show an arrow mark to the column of the sort
3988 summary_set_column_titles(): new.
3994 TODO.jp: updated the documents.
3998 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
3999 * src/textview.c: textview_key_pressed()
4000 src/mimeview.c: mimeview_key_pressed()
4001 src/summaryview.c: summary_key_pressed(): delete messages with
4006 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
4007 when SSL_read() returned 0.
4008 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
4010 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
4011 Add prototype of yylex() to suppress the warning.
4012 * merged the template function.
4013 * src/prefs_template.[ch]
4015 src/template_select.[ch]: new.
4016 Renamed prefs_templates_* -> prefs_template_*.
4017 * src/compose.c: added template menu. Added replyinfo to Compose.
4018 * src/mainwindow.c: added template setting menu.
4019 * src/quote_fmt_lex.l: output literal tab and return as is.
4020 * src/prefs_common.c: changed the pref. name of quote format to
4021 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
4025 * src/prefs_common.[ch]: added Quote tab, and moved the quote
4026 setting from Compose tab.
4027 * merged the new quote format parser.
4028 * src/quote_fmt_lex.h
4031 src/quote_fmt_parse.y: new files for quote format parser.
4032 * configure.in: added checks for lex and yacc.
4033 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
4035 compose_quote_fmt(): new.
4036 * src/prefs_common.[ch]: added forward format setting to the
4037 Quote tab. Updated the quote description dialog.
4038 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
4039 if they couldn't get text part.
4043 * src/pixmaps/checkbox_off.xpm
4044 src/pixmaps/checkbox_on.xpm: new.
4045 * src/account.c: display `get all' status with the checkbox pixmaps.
4049 * src/send.c: code cleanup. Pass account prefs structure instead
4051 Query password for SMTP AUTH if not specified (thanks to Mio).
4055 * src/procheader.c: procheader_parse(): fixed a bug that didn't
4056 parse multiple message-id in In-Reply-To: header correctly
4057 (thanks to KAJIWARA).
4061 * src/account.c: enabled 'Get all' setting by clicking the 'G'
4062 column of account list, and added some description.
4063 * src/prefs_common.c: prefs_send_create(): added a description
4064 for outgoing codeset.
4068 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
4069 and added select button and short description.
4070 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
4072 procmime_get_mime_type_table()
4073 procmime_get_mime_type_list(): modified so that
4074 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
4075 $(HOME)/.sylpheed/mime.types are read.
4079 * src/prefs_account.c: moved the address auto-setting to the compose
4081 prefs_account_create(): removed gtk_widget_show_all() for proper
4083 * src/prefs_common.c: changed "Program path" to "Command".
4087 * src/textview.c: textview_set_font(): support Russian charset
4089 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
4093 prefs_summary_column.c: minor improvements to the English.
4094 * src/main.c: get_queued_message_num(): don't output the warning
4095 when queueing folder is not found.
4103 * src/prefs_summary_column.[ch]:
4104 made prefs_summary_column_get_config() public.
4105 * src/summaryview.c: summary_ctree_create(): some code cleanup.
4106 * configure.in: moved the position of SSL checking after LDAP
4107 for linking problem.
4112 src/summaryview.c: allowed reedit in the outbox.
4113 * src/prefs_summary_column.[ch]: new. UI for setting summary
4115 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
4116 It calls summary_set_column_order().
4117 * src/summaryview.[ch]:
4118 summary_ctree_create(): new. separated from summary_create().
4119 summary_set_column_order(): new. It destroys the current
4120 CTree and replaces it with the new one.
4124 * src/smtp.[ch]: smtp_from(): abort if auth failed.
4125 * changed C++-style comments into C-style in some files, and
4126 removed unnecessary commented out codes.
4127 * src/addrcache.[ch]
4131 src/syldap.[ch]: updated the addressbook code, and fixed the
4134 src/importldif.[ch]: new.
4138 * src/about.c: added some items to compiled-in features.
4139 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
4140 * src/addressbook.c: changed "V-Card" to "vCard".
4141 addressbook_edit_address_cb(): added
4142 invalidate_address_completion() to the point address is changed.
4143 * src/codeconv.c: changed C++-style comments into C-style.
4147 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
4151 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
4156 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
4158 * src/summaryview.c:
4159 summary_thread_init(): separated from summary_thread_build().
4160 summary_thread_build(): removed the codes for initialization.
4161 summary_set_ctree_from_list(): call summary_thread_init() instead
4162 of summary_thread_build().
4163 summary_filter(): fixed a bug that didn't moved messages despite
4164 of immediate execution setting.
4168 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
4169 reversed thread tree from message list.
4170 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
4171 node to the head instead of appending to the tail. This prevents
4172 the traverse of node list inside of the GtkCTree, and considerably
4173 speeds up the summary display (the order is O(n^2) -> O(n)).
4177 * src/prefs_common.c
4178 src/summaryview.[ch]: initial modification for reorderable columns.
4182 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
4184 * src/folderview.c: folderview_button_pressed(): code cleanup, and
4185 turn sensitivity off if main window is locked.
4186 * src/syldap.c: syldap_read_data(): removed unnecessary and
4187 unportable sched_yield().
4191 * src/folderview.c: renamed "Update folder tree" context menu to
4192 "Rescan folder tree", and made "Update folder tree" only updates
4194 folderview_update_all_node(): don't show message dialog.
4195 * src/gtkutils.c: gtkut_widget_get_uposition()
4196 src/mainwindow.c: main_window_popup(): clip the coordinate to
4201 * src/utils.c: to_human_readable(): made a bit of optimization.
4202 * src/summaryview.c: summary_delete(): fixed a focus problem.
4203 summary_find_{prev,next}_msg(): new. They find previous/next
4204 message that is not deleted.
4205 * src/prefs_filter.c: scroll CList automatically if moved row
4206 becomes not fully visible.
4210 * updated some autotool scripts.
4211 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
4212 infinite loop when failed to convert encoding.
4213 * src/codeconv.[ch]: a fix for older version of libjconv
4214 (jconv_info_get_current_codeset() returned "EUCJP" instead of
4223 * src/compose.c: compose_write_to_file()
4224 src/codeconv.c: conv_codeset_strdup(): more workaround for
4225 libjconv problem on C locale.
4226 * src/editldap_basedn.c: fixed segfault when opening dialog.
4227 * src/utils.c: is_next_mbs()
4228 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
4229 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
4230 * configure.in: increased the reqired version of GPGME to 0.2.3.
4231 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
4232 the receive dialog when POP3 server refused normal authentication.
4236 * src/prefs_common.c: prefs_receive_create(): correction to English.
4237 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
4238 that didn't set the menu sensitivity correctly (thanks to
4240 * src/summaryview.c: delete messages permanently if the current
4241 folder is trash and 'delete' operation is executed.
4242 Fixed the bug that didn't select the last row correctly (thanks
4243 to Alfons Hoogervorst).
4244 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
4245 all messages given in the list.
4249 * src/summaryview.c: summary_show(): fixed a bug that didn't show
4250 message even if the 'open unread message on entering folder'
4251 option was turned on.
4255 * src/procmime.c: procmime_get_text_content(): supported HTML.
4259 * src/summaryview.[ch]: implemented new locking mechanism, and
4260 replaced every static locks with summary_lock(), summary_unlock(),
4261 and added locks to some extra functions.
4262 This fixes a bug that caused segfault when 'd' (delete) key
4267 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
4268 that caused segfault (thanks to Stefaan A Eeckels).
4272 * src/textview.[ch]: added textview_set_position().
4273 * src/messageview.[ch]: added messageview_set_position().
4285 src/editldap_basedn.c
4290 src/vcard.c: converted C++-style comments into C-style one.
4291 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
4292 new buffer and quote with double quotes if required.
4293 imap_status(), imap_cmd_login(), imap_cmd_list(),
4294 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
4295 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
4296 * compose.c: compose_write_to_file(): workaround for the problem
4297 when using libjconv and 8bit codes cannot be converted on C
4299 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
4300 conv_codeset_strdup(): don't convert if source and destination
4301 codeset are identical.
4305 * src/textview.[ch]: textview_search_string_backward(): new.
4306 Add the new member cur_pos to TextView.
4307 Connect button_press_event with gtk_signal_connect_after() to
4308 obtain the correct editable position.
4312 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
4317 * src/summaryview.c: modified the layout of popup menu.
4324 src/summaryview.c: applied the patch from Alfons that allows
4325 threading setting for each folders (tnanks!).
4329 * src/message_search.[ch]: new. A Dialog for searching in current
4331 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
4332 text in current position of GtkText and given wide-character
4334 * src/messageview.[ch]: messageview_search_string()
4335 src/textview.[ch]: textview_search_string(): return TRUE if
4337 * src/textview.[ch]: remember the beginning of body.
4341 * src/procmime.c: procmime_get_first_text_content(): modified so
4342 that it search entire MIME structure.
4343 * src/summary_search.c: summary_search_execute(): use
4344 strdup_mbstowcs() instead of macro. Display matched message.
4348 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
4350 * src/summary_search.c: added body searching function.
4351 * src/procmime.[ch]: procmime_find_string(): changed arguments
4352 and return value. Added case sensitivity option.
4356 * src/procmime.[ch]:
4357 procmime_find_string()
4358 procmime_find_string_part(): new. It searchs the string from
4360 Renamed procmime_get_text_part() to
4361 procmime_get_first_text_content().
4362 procmime_get_text_content(): new. It returns the text contents
4363 of the specified MIME part.
4364 procmime_mimeinfo_next(): new. It returns the next node of
4369 * src/procmime.c: procmime_get_text_part(): modified so that it
4370 finds a text part in nested multipart message correctly.
4371 * src/procmime.h: added an example of MimeInfo structure.
4372 * src/mimeview.c: mimeview_show_message(): search the first text
4377 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
4378 caused segfault. Changed 'Preferences per account...' menu item.
4386 * src/addrindex.c: translate the "Common address" and "Personal
4387 address" from old addressbook.
4391 * src/utils.c: get_quote_level(): some optimization and bugfixes.
4392 * src/codeconv.[ch]: conv_get_current_locale(): new.
4393 * src/editaddress.c: edit_person_page_basic(): reverse the order
4394 of first and last name on some locales.
4398 * src/compose.c: applied the patch from Yasumatsu that reformats
4399 the current paragraph (thanks!). Modified so that it doesn't
4400 reformat quoted paragraphs.
4401 compose_create(): don't fill the entry automatically on reedit
4404 src/summaryview.[ch]: added the "Mark all read" option.
4405 summary_mark_all_read(): new.
4413 src/editldap_basedn.c
4415 src/editjpilot.c: removed all warnings.
4417 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
4418 header files on the Debian system.
4420 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
4421 and color label. Enabled moving to next/prev flagged messages.
4425 * src/pixmaps/dir-close.xpm
4426 src/pixmaps/dir-open.xpm
4428 src/pixmaps/unread.xpm: modified the color balance.
4429 * src/utils.[ch]: execute_sync(): new.
4430 execute_command_line(): added the arg for async mode.
4431 * src/inc.c: inc_mail(): use execute_command_line().
4436 src/prefs_common.[ch]
4437 src/prefs_account.c: modified the layout. Added the option to
4438 launch the external editor automatically.
4439 * src/compose.c: launch the external editor automatically if the
4444 * src/Makefile.am: added extra xpm's.
4448 * src/addressbook.c: fixed a compilation problem when enabling
4450 addressbook_open(): fixed a missing 'else'.
4454 * src/pixmaps/dir-close.xpm
4455 src/pixmaps/dir-open.xpm
4456 src/pixmaps/trash.xpm: replaced with the new blue icons.
4457 * merged Match Grun's new addressbook code.
4458 * src/pixmaps/address.xpm
4459 src/pixmaps/book.xpm
4460 src/pixmaps/category.xpm
4461 src/pixmaps/interface.xpm
4462 src/pixmaps/jpilot.xpm
4463 src/pixmaps/ldap.xpm
4464 src/pixmaps/vcard.xpm: new icons.
4468 src/addressitem.[ch]
4471 src/editaddress.[ch]
4476 src/editldap_basedn.[ch]
4481 src/vcard.[ch]: new. Many fixes to remove the huge amount of
4483 addrbook_build_avail_email_vis(): fixed a memory leak.
4487 * NEWS: brought in the all of the changes previously put on the web.
4492 src/summaryview.c: modified the layout of menus.
4493 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
4494 return a focus to the main window after selecting the account menu.
4502 * src/send.c: send_message_data(): fixed a bug that didn't process
4503 body part correctly.
4507 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
4508 inc_mail(), inc_all_account_mail(): return immediately if locked.
4511 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
4512 inc_autocheck_timer_{remove,set}().
4513 * src/summaryview.c: summary_set_colorlabel_color(): get the average
4514 of label color and selected fg color for visibility.
4518 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
4519 They increase/decrease the lock count.
4520 inc_autocheck_func(): if locked, delay the autochecking 1 second.
4521 inc_autocheck_timer_set_interval(): set interval by its argument.
4522 * src/summaryview.c: summary_show(): lock the autochecking while
4524 * src/main.c: app_will_exit(): remove autocheck timer.
4526 src/defs.h: removed the definitions of PACKAGE and VERSION to
4527 prevent unnecessary compilation.
4528 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
4529 to AC_SUBST, and added src/version.h to AC_OUTPUT.
4530 * src/version.h.in: new.
4531 * src/intl.h: changed dgettext() to gettext().
4535 * po/ja.po: fixed a typo that crashed Sylpheed with older version
4537 * configure.in: fixed a bug that didn't show results correctly.
4538 Fixed a bug that --enable-compface and --enable-jconv disabled
4540 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
4542 * src/compose.c: compose_write_headers(): add Bcc: header to the
4544 * src/send.c: send_message_data(): new. Separated from
4545 send_message_smtp(). Remove Bcc: header before sending.
4553 * src/send.c: implemented sending with local sendmail command.
4554 send_message_local(): new. It executes command with popen()
4555 and send the contents of RFC822 message to the command.
4556 * src/prefs_common.[ch]: enabled the external sending command option.
4557 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
4558 * src/account.c: account_edit_create(): widened the protocol column.
4559 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
4564 * src/folder.c: folder_item_remove_msg(): scan the folder again
4565 if the last message is removed.
4566 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
4567 old reedited message after adding the new message.
4571 * src/compose.c: compose_queue(): added AID: to the queueing header.
4572 * src/send.c: send_message_queue(): look for AID: header, and use
4573 the server specified in the account instead of SSV: header.
4575 src/compose.[ch]: queued messages can be reedited now.
4576 compose_remove_reedit_target(): new. It removes the old reedited
4578 compose_send(), compose_queue(), compose_draft_cb(): if reedit
4579 mode, remove the old message.
4580 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
4585 * applied the XML string table patch from Alfons Hoogervorst that
4586 stores strings in a hash table and minimizes memory allocations
4588 * src/stringtable.[ch]: new.
4589 removed all G and g_ prefix from type and function names since
4590 they're not official GLib symbol names.
4591 string_table_insert_string(): fixed a bug that might refer to an
4592 invalid pointer on lookup, and also made a bit of optimization.
4596 * merged the color label feature from the claws branch (thanks to
4597 Satoshi Nagayasu and Alfons Hoogervoost).
4598 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
4599 Renamed labelcolors_*() to colorlabel_*().
4600 * src/summaryview.[ch]: added color label support.
4601 * src/procmsg.h: added color label flags to the permanent flags.
4602 * updated to gettext 0.10.39.
4603 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
4604 * sylpheed.desktop: added for GNOME.
4605 * configure.in: added AC_MSG_CHECKING() for some options.
4606 Output the configuration results when configure is finished.
4610 * src/account.c: account_clist_set_row(): fixed a bug that failed
4611 to compile if SSL was not enabled.
4615 * merged the SSL support from the claws branch (thanks to Christoph
4617 * src/ssl.[ch]: new.
4618 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
4620 sock_close(): call ssl_done_socket() if SSL is active.
4621 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
4622 prevent type confliction.
4623 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
4624 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
4625 Removed SSL initialization and HELO from esmtp_starttls().
4626 esmtp_auth(): removed use_smtp_auth from its arguments.
4627 * src/send.c: send_smtp_open(): added SSL support.
4628 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
4632 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
4637 * src/main.c: open new account dialog if no account is set.
4638 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
4639 the verbosity count.
4640 log_print(): put to statusbar only if log_verbosity_count > 0.
4641 log_message(): put to statusbar.
4642 * src/inc.c: inc_pop3_session_do(): set log verbosity.
4643 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
4644 "Compose new message" item.
4645 main_window_show_cur_account(): removed "Current account: " string.
4646 * src/summaryview.c: summary_show(): ignore the current marks if
4647 main window is locked.
4648 * src/compose.c: compose_attach_property(): fixed a bug that caused
4653 * src/mainwindow.c: main_window_get_current_state(): new. It returns
4654 the current state for the sensitivity of UI.
4655 main_window_set_toolbar_sensitive(): use table like
4656 main_window_set_menu_sensitive().
4660 * src/mainwindow.[ch]: added progressbar and status label to the
4662 main_window_close_cb(): don't exit if locked.
4663 * src/inc.c: update the progressbar of main window, too.
4667 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
4668 the second argument, and determine the sensitivity with the
4669 state of summary view.
4673 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
4674 pop3_delete_recv(): don't try to receive messages which are not
4679 * src/mainwindow.c: main_window_lock(), main_window_unlock():
4680 removed the whole menubar locking.
4681 main_window_set_menu_sensitive(): process the sensitivity change
4682 with a table, and deal with locking.
4686 * src/summaryview.[ch]: summary_get_selection_type(): new.
4687 It returns the current selection state of summary view.
4688 summary_key_pressed(): abort on some commands if main window
4690 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
4691 increase/decrease the lock count.
4695 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
4696 default header list.
4697 * src/prefs_common.[ch]: added the option for receive dialog mode
4698 to the Interface tab.
4699 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
4700 transient, and show dialog only if the setting is
4701 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
4702 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
4703 new. Lock / unlock the user-interface.
4704 * src/progressdialog.c: progress_dialog_create(): don't make the
4709 * src/folderview.c: folderview_update_node(): suppressed unnecessary
4711 * src/menu.[ch]: menu_button_position(): new. It calculates the
4712 position of popup menu.
4713 * src/mainwindow.c: toolbar_account_button_pressed(),
4714 ac_label_button_pressed(): put the popup menu to the correct
4715 position. Change the style of the button while opening the menu.
4716 ac_menu_popup_closed(): new function called on selection_done
4718 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
4720 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
4722 Fixed the bug that didn't select previous message in refresh mode
4723 if threads were not expanded.
4724 summary_select_node(): new.
4725 * src/inc.c: applied the summary view update optimization patch from
4726 Sergey Vlasov (thanks!).
4727 If no new messages are received, don't perform summary refreshing.
4728 In addition to the Vlasov's patch, POP3 receive information is
4730 * src/inc.h: added a new member cur_total_num to Pop3State.
4731 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
4739 * src/summaryview.c: summary_set_row_marks(): got the color of
4740 unread row set properly.
4741 * src/folderview.c: foldreview_update_node(): don't use
4742 gtk_style_copy(), and reuse previously allocated styles.
4743 * README, README.jp: modified.
4747 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
4748 memory corruption bug (thanks to David Looney).
4749 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
4750 there are no enabled accounts, or local spool only.
4751 * src/summaryview.c: applied the summary update improvement patch
4752 from Sergey Vlasov (thanks!). It keeps the position of the
4753 message displayed. Selected and displayed message are also kept.
4754 summary_get_msgnum(): new.
4755 summary_get_current_msgnum(): removed.
4756 summary_select_by_msgnum(): don't display the message.
4757 * src/account.c: added "Get all" column.
4758 account_clist_set_row(): show default and get-all flags with the
4760 * src/utils.c: to_human_readable(): increased the number of decimals
4765 * implemented the long-awaited :) "Add sender to address book" feature.
4766 * src/address.[ch]: added the argument for remarks to
4768 address_get_folder_list(): new. It traverses the address tree and
4769 returns the folder list.
4770 address_delete_object(): modified so that it removes the node
4772 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
4773 a address folder menu and attaches it to the menu item.
4774 addressbook_refresh(): reload the address book folder tree.
4775 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
4776 the menu to add sender to address book.
4777 summary_button_pressed(): call summary_set_add_sender_menu()
4778 before popup the menu.
4782 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
4783 up the process. Optimized the initial thread build.
4787 * src/summaryview.c: made many code cleanups.
4788 summary_show(): block/unblock the signal handlers instead of
4789 disconnect/connect them.
4790 summary_set_row_marks(): made the font of collapsed node bold if
4791 it has cnildren marked as unread.
4792 summary_thread_build(): block tree_expand signals while processing.
4793 Use loop instead of the recursive function. Mark collapsed nodes
4795 summary_unthread(): block tree_collapse signals while processing.
4796 Use loop instead of the recursive function.
4797 summary_thread_func(), summary_unthread_func(): removed.
4798 summary_tree_expanded(), summary_tree_collapsed(): new callback
4800 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
4801 failed to connect. Show more detailed status on the dialog.
4805 * src/folderview.c: folderview_update_all_node(): new. It updates
4807 * src/inc.c: update all local folders after incorporation if
4808 scan_all_after_inc option is set.
4809 * src/prefs_common.[ch]: added scan_all_after_inc option.
4810 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
4819 src/prefs_common.h: made bold and small font configurable.
4820 src/summaryview.c: display unread messages with bold font.
4821 * src/prefs_common.c
4823 src/summaryview.c: added an option to enable/disable the
4824 emphasis of unread messages.
4828 * src/pixmaps/mark.xpm: modified.
4829 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
4830 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
4831 the root messages of threads for performance improvement.
4833 summary_select_next_unread()
4834 summary_step(): expand threads when opening messages.
4835 summary_thread_build(): expand threads if the option is turned on.
4836 * src/prefs_common.[ch]: added "Expand threads" option.
4840 * src/prefs_common.c: removed "Emulate the behavior of mouse
4841 operation of Emacs-based mailer".
4842 * src/prefs_common.c
4843 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
4844 * src/pixmaps/new.xpm
4845 src/pixmaps/unread.xpm: reverted.
4850 address_folder_new()
4852 address_item_new(): changed the return value to AddressObject.
4853 address_build_tree(): don't put assertion for file.
4854 * src/pixmaps/new.xpm
4855 src/pixmaps/unread.xpm: modified a bit.
4859 * src/addressbook.c: fixed some bugs.
4863 * separated the logic part of addressbook into another module
4864 (still in progress).
4865 * src/address.[ch]: new. It contains the logic part of addressbook.
4866 * src/addressbook.[ch]: removed the logic part.
4870 * src/textview.c: textview_show_header(): fixed a bug that a garbage
4871 character was shown after header names.
4875 * src/inc.c: inc_start(): don't abort with non-fatal error.
4883 * src/mimeview.c: mimeview_view_file(): added -x option to the
4884 metamail to prevent the suspention of the main process.
4885 mimeview_button_pressed(): deactivate `Open' menu item if
4886 content-type is application/octet-stream.
4890 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
4891 get_quoted(): new. It handles the escape character '\'.
4892 * src/folder.c: folder_read_list(): don't output warning if
4893 folderlist.xml doesn't exist.
4894 * src/main.c: main(): write folder list after setup.
4895 * src/textview.c: textview_create()
4896 src/compose.c: compose_create(): set default tab width to 8.
4900 * src/prefs_common.c: date_format_select_row(): fixed a bug that
4901 caused segfault when selecting the list with key.
4905 * src/mainwindow.c: main_window_popup(): deiconize the window
4906 when popup (thanks to Henrik Carlqvist).
4907 * src/procmime.c: procmime_scan_mime_type(): new.
4908 procmime_scan_content_type(): use procmime_scan_mime_type().
4909 procmime_scan_mime_header(): scan the extension of attached files
4910 and add the correct MIME type if the Content-Type is
4911 "application/octet-stream" (thanks to Don Quijote).
4912 * src/compose.c: compose_toolbar_create(): added a new "Send later"
4913 icon (thanks to Leandro Pereira).
4917 * src/prefs_common.c: date_format_create(): modified the layout of
4922 * src/account.c: account_find_from_address(): fixed a minor bug.
4923 * src/prefs_common.c: incorporated the user-interface for setting
4924 date format from the claws branch, and made some modification to
4929 * src/account.[ch]: account_edit_create(): modified the text of
4931 account_find_from_address(): new.
4933 procmime_scan_content_type(), procmime_scan_content_disposition():
4934 fixed ESC code detection.
4935 * src/compose.c: compose_reply(): automatically select account
4936 according to the message header.
4937 * src/prefs_common.[ch]: added member "reply_account_autosel".
4941 * src/progressdialog.c: made the CList scrollable.
4942 * src/inc.c: inc_start(): don't abort with non-fatal error.
4946 * added English Sylpheed User's Manual by Paul Kater
4947 (paul@nlpagan.net) (thanks!).
4950 src/mainwindow.c: added support for English manual.
4951 * manual/en/sylpheed*.html: added English documentation.
4956 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
4957 that didn't have any trailing messages.
4958 * src/smtp.c: smtp_ok(): ditto.
4959 * src/compose.c: compose_account_option_menu_create(): modified
4960 the style of the account option menu.
4964 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
4965 remove return code from strings automatically.
4966 prefs_custom_header_create(): added "X-Face" to the default
4968 * src/news.c: news_fetch_msg(), news_get_group_list()
4969 src/imap.c: imap_fetch_msg(): create the cache directory before
4972 procmime_scan_content_type()
4973 procmime_scan_content_disposition(): convert JIS into EUC-JP
4975 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
4976 * src/compose.c: don't append attachment headers if the attach
4977 pane is visible but the list is empty.
4978 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
4986 * src/compose.c: compose_quote_parse_fmt()
4987 src/prefs_common.c: prefs_quote_description_create(): added the
4988 symbol `%c' that allows to include Cc in reply format (thanks
4991 src/procmime.c: procmime_decode_content(): applied the patch
4992 from Sergey Vlasov that allows to decode base64 data with
4993 unusual line length (not a multiple of 4) (thanks!).
4997 * src/procmsg.[ch]: separated the permanent flags and temporary
4998 flags into two variables, and made MsgFlags a structure that
5000 MSG_SET_PERM_FLAGS()
5002 MSG_UNSET_PERM_FLAGS()
5003 MSG_UNSET_TMP_FLAGS(): new macros.
5011 src/summaryview.c: modified for the new MsgFlags.
5012 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
5017 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
5018 display current size with human-readable format.
5019 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
5026 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
5027 for raw-JIS code in header fields.
5029 folder_get_default_folder()
5030 folder_get_default_inbox()
5031 folder_get_default_outbox()
5032 folder_get_default_draft()
5033 folder_get_default_queue()
5034 folder_get_default_trash(): fixed a bug that caused segfault
5035 if folder_list is NULL.
5045 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
5046 while retrieving newsgroup list.
5047 grouplist_dialog_create(): added entry widget and status label.
5048 grouplist_recv_func(): new.
5049 refresh_clicked(): added exclusive lock variable.
5050 clist_selected(): set text entry when the CList is selected.
5051 renamed from group_clist_select().
5052 entry_activated(): new.
5053 grouplist_clear(): renamed from grouplist_free(). Also clears
5054 list and entry widget.
5055 * src/news.c: news_get_group_list(): sped up the list appending
5056 (g_slist_append() becomes very slow if list size is large).
5057 * src/defs.h: added UI_REFRESH_INTERVAL definition.
5058 Changed the definition of NEWSGROUP_LIST.
5059 * src/recv.c: recv_write()
5060 src/send.c: send_message_smtp(): changed the UI refresh interval
5061 to UI_REFRESH_INTERVAL (50msec).
5062 * src/account.c: account_add(): fixed a bug that didn't update
5063 folder tree when a news account was added.
5064 * src/grouplistdialog.c: made exclusive lock variable global, and
5065 lock at grouplist_dialog_set_list().
5066 * src/textview.c: fixed a bug that disabled clickable URI if
5067 message color was disabled.
5071 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
5072 quit main loop if gtk_main_level() is 1.
5073 grouplist_dialog_set_list(): freeze CList while appending the list.
5074 grouplist_dialog(): show dialog before updating the list.
5078 * src/folder.c: folder_write_list_recursive(): add the attribute
5079 `collapsed' if a node have some children.
5080 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
5083 news_get_group_list(): new. It returns newsgroup list.
5084 news_remove_group_list(): new. It removes newsgroup list cache.
5085 * src/folderview.c: folderview_new_news_group_cb(): call
5086 grouplist_dialog() instead of input_dialog().
5090 * autogen.sh: modified.
5092 src/folderview.c: made expand/collapse state of folders persistent
5101 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
5103 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
5104 according to the argument.
5105 imap_cmd_select(): use imap_cmd_do_select().
5106 imap_cmd_examine(): new.
5107 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
5108 folder again when removing failed.
5114 * manual/ja/sylpheed.sgml
5115 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
5116 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
5117 didn't set foreground correctly.
5119 src/summaryview.h: removed the member color_normal from FolderView
5121 * src/mainwindow.c: main_window_create(): removed color_normal.
5125 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
5127 * src/imap.c: imap_session_get()
5128 src/news.c: news_session_new_for_folder(), news_session_get():
5129 use user-defined port number if specified.
5133 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
5135 imap_scan_folder(): implemented. It updates the numbers of new,
5136 unread and total messages.
5137 imap_status(): new. It parses the response of STATUS command.
5138 imap_status_uidnext(): removed.
5139 imap_cmd_status(): removed.
5140 * src/textview.c: textview_show_part(): fixed potential memory leaks.
5144 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
5145 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
5146 of content-type (thanks to René Rebe for the patch).
5147 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
5149 * src/prefs_common.c: prefs_send_create(): made some more character
5150 sets specifiable when not using libjconv.
5151 * configure.in: disabled --enable-threads option temporarily.
5153 INSTALL.jp: deleted the description about --enable-threads option.
5157 * updated gettext to 0.10.38.
5163 * src/folderview.[ch]: folderview_set_all(): new.
5164 * src/account.c: account_add(): call folderview_set_all() after
5165 creating IMAP4 tree.
5166 account_edit_create(): account preferences dialog can be opened
5167 with double clicking of the list.
5168 account_selected(): new.
5169 account_clist_set(): made the CList focus set correctly.
5173 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
5175 imap_scan_tree_recursive(): search the sub folders of INBOX.
5176 recognize Trash folder.
5177 imap_create_tree(): separated the part of creating trash.
5178 imap_create_trash(): new.
5179 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
5180 preserve no_sub and no_select.
5181 * src/summaryview.c: summary_show(): don't proceed if item->no_select
5186 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
5187 root folder correctly.
5191 * src/folderview.[ch]:
5192 folderview_update_tree(): new. It updates one folder tree.
5193 folderview_update_tree_cb(): new.
5194 Added "Update folder tree" to the popup menu, and modified some
5199 * src/imap.c: implemented the autoscan of IMAP4 folder list.
5200 imap_scan_tree(): new. It scans the whole IMAP4 folder.
5201 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
5202 imap_parse_list(): new. It parses the LIST response.
5203 imap_get_real_path(): new. It converts local path into IMAP4 path.
5204 * src/folder.h: added no_sub and no_select to FolderItem.
5205 * src/folder.c: folder_tree_destroy(): reset some variables.
5206 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
5210 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
5211 parse the FETCH response that continues to the next line.
5212 imap_parse_fetch_element(): removed.
5213 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
5214 imap_parse_envelope(), imap_get_uncached_messages(): use GString
5215 and sock_getline() to parse the FETCH response.
5216 imap_remove_all_msg(): fixed a bug that didn't delete messages
5218 imap_parse_address(): fixed a bug that didn't concaternate
5219 addresses correctly, using GString.
5220 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
5221 the whole line and return the newly allocated string.
5222 * src/prefs_account.[ch]: added `IMAP server directory' entry.
5228 * src/imap.c: imap_create_tree(): pass the path that is separated
5229 by the local filesystem separator to imap_create_folder().
5230 imap_create_folder(): examine the existence of folders using
5231 LIST command instead of STATUS.
5232 imap_cmd_list(): new.
5233 imap_query_password(): new.
5234 imap_session_new(): query password if it is not set.
5238 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
5239 with arbitrary order.
5240 imap_parse_fetch_element(): new. it parses one pair of name and
5241 value of FETCH results.
5242 imap_parse_flags(): modified for more flexibility.
5243 * src/utils.[ch]: set_log_file(): new. it opens a new file for
5245 close_log_file(): new. it closes the opened log file.
5246 log_print(), log_message(), log_warning(), log_error(): also
5251 * src/imap.c: imap_cmd_status(): check the pointer to "value"
5252 before the assignment (thanks to NISHIJIMA).
5256 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
5257 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
5258 * src/foldersel.[ch]: don't show folders which can't be targets
5270 imap_cmd_store(): use UID instead of sequential number.
5271 Renamed imap_set_article_flags() to imap_set_message_flags().
5272 * src/summaryview.c: summary_execute(): don't update summary
5273 even if current folder is IMAP4.
5274 * src/utils.[ch]: remove_numbered_files(): changed the type of
5275 arguments from gint to guint.
5279 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
5280 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
5281 enclose with double quotation if string doesn't have space
5282 (workaround for old Cyrus IMAP4 server).
5283 imap_create_folder(): fixed a bug of separator substitution.
5284 renamed imap_session_connect_if_not() to imap_session_get().
5285 imap_get_msg_list(): delete all cached messages if use_cache
5287 imap_delete_cached_messages(): remove cached files in between
5288 the specified range by reading directory entry.
5289 imap_parse_one_address(): set fromname same as the from address
5291 * src/utils.[ch]: remove_numbered_files(): new. The range is
5293 * src/summaryview.c: summary_execute(): update summary if current
5295 KEY_PRESS_EVENT_STOP(): new macro.
5296 summary_key_pressed(): stop signal emission when calling
5298 summary_select_by_msgnum(): show message only if
5299 msg_is_toggled_on is TRUE. Move current page to the selected
5301 * src/news.c; news_delete_old_articles(): remove cached files in
5302 between the specified range by reading directory entry.
5304 folderview_selected(), folderview_button_released(): fixed a bug
5305 that didn't select folder correctly.
5311 src/prefs_common.c: improvements to the English (thanks to Paul
5313 * src/mainwindow.c: compose_cb()
5314 src/summaryview.c: summary_key_pressed()
5315 src/compose.c: compose_new_with_recipient(): newsgroups entry
5316 is automatically filled when composing a new article.
5320 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
5321 free list correctly.
5327 * src/imap.c: imap_find_namespace(): replace namespace path
5328 separator with slash before comparison.
5329 imap_remove_folder(): use namespace.
5330 imap_create_tree(): use namespece when creating Trash.
5331 imap_get_msg_list(): fixed a bug that returned old list and caused
5332 memory leak if exists == 0.
5333 imap_select(): new. It's a wrapper for imap_cmd_select().
5334 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
5339 folderview_new_folder_cb()
5340 folderview_new_imap_folder_cb(): show error dialog when creation
5341 or deletion of folder failed.
5342 Made it allow users to create a folder which contains subfolders.
5343 folderview_button_pressed(): disabled delete menu on the special
5345 * AUTHORS: incorporated from claws branch. It now contains all
5347 * src/send.c: enabled cancellation.
5348 EXIT_IF_CANCELLED(): new macro.
5349 Added cancelled flag to SendProgressDialog.
5350 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
5351 specified character.
5352 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
5356 * src/imap.c: imap_create_tree(): new. It creates required
5357 folders such as INBOX and Trash.
5358 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
5360 imap_remove_all_msg(): return immediately if exists == 0.
5361 * src/account.c: account_add(), account_set_missing_folder():
5362 made them use folder->create_tree().
5366 * src/imap.c: more namespace implementation.
5367 imap_find_namespace(), imap_path_separator_subst(): new.
5371 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
5375 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
5379 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
5380 which appends file into IMAP4 folder.
5382 imap_create_folder(): check the existence of a folder before
5384 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
5385 * src/account.c: account_add(), account_set_missing_folder():
5386 create INBOX automatically when creating IMAP4 account.
5390 * src/utils.[ch]: added itos_buf() that takes the buffer for its
5392 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
5393 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
5398 * src/utils.[ch]: move_file(): new.
5399 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
5400 use move_file(), and fixed a bug that didn't close file when
5405 * src/imap.c: renamed imap_delete_messages() and
5406 imap_delete_all_messages() to imap_delete_cached_messages() and
5407 imap_delete_all_cached_messages(). Some code cleanups.
5408 * src/utils.[ch]: added a function remove_all_numbered_files().
5409 * src/mh.c: mh_remove_all_msg()
5410 src/imap.c: imap_delete_all_cached_messages():
5411 use remove_all_numbered_files().
5414 src/compose.[ch]: added `Reply to sender'.
5416 compose_reply_set_entry(): added an argument `ignore_replyto'.
5420 * src/folderview.c: folderview_selected()
5421 src/summaryview.c: summary_show(): fixed a bug that updated wrong
5422 folder when remaining marks were processed.
5426 * src/headerwindow.c: headerwindow_show_cb(): always try to show
5427 msginfo, and use the selected message, not the displayed one.
5428 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
5432 * src/folderview.c: folderview_selected()
5433 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
5434 * src/summaryview.c: summary_show(): process the left marks if any.
5438 * src/passphrase.c: enclosed with #if USE_GPGME.
5439 * src/prefs_account.c: added NNTP AUTH check button.
5440 * src/alertpanel.[ch]: alertpanel_create(): added new argument
5441 `can_disable', all existing callers changed to pass FALSE;
5442 created a check button to disable the message.
5443 alertpanel_message_with_disable(): new.
5444 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
5445 alertpanel_button_toggled(): new.
5446 alertpanel_button_clicked(), alertpanel_close(): set value using
5448 * src/prefs_common.[ch]: added option to toggle GnuPG signature
5449 check popup window, and GnuPG warning.
5450 * src/rfc2015.c: check_signature(): show signature check dialog
5451 only if it is enabled.
5452 * src/main.c: modified GnuPG checking.
5454 src/prefs_common.c: fixed some compilation bugs when enabled
5459 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
5460 encodings with libjconv.
5461 conv_encode_header(): fixed an endless loop bug when encountering
5462 an invalid wide character (thanks to Alte).
5463 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
5465 * src/imap.c: imap_create_folder(): don't create folder if the
5467 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
5468 execute button when immediate execution is enabled.
5473 README.jp: added the "How to run" section.
5477 * merged NNTP AUTH from the claws branch.
5478 * src/news.[ch]: supported NNTP AUTH.
5479 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
5481 INSTALL.jp: modified the confirmation list and the warning about
5486 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
5487 gtkut_ctree_find_collapsed_parent().
5488 * src/folderview.c: folderview_select_node(): automatically expand
5489 the parent folders when selected.
5490 * configure.in: made the version number to 0.4.99 (0.5pre)
5491 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
5492 so that X is not necessary for --help and --version.
5493 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
5494 * src/folderview.c: folderview_update_node(): a fix for collapsed
5499 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
5500 It caused garbages in --compose option.
5501 * src/socket.[ch]: made fd_gets() public.
5505 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
5506 * src/folderview.c: folderview_find_next_unread(): new.
5507 folderview_select_next_unread(): modified so that it can find
5512 * src/compose.c: compose_write_headers(): excluded also From, To,
5513 Sender because they could be used for SPAM.
5514 * src/folderview.c: add '+' mark to the collapsed folder that have
5515 some unread folders.
5516 folderview_search_new_recursive(),
5517 folderview_have_new_children(),
5518 folderview_search_unread_recursive(),
5519 folderview_have_unread_children(),
5520 folderview_find_collapsed_parent(): new.
5521 folderview_update_node(): display the number of queued messages.
5526 src/mh.[ch]: modified *_add_msg() to use link(). Added the
5527 argument to switch whether to remove the source file or not.
5530 src/mbox.c: modified the argument of folder_item_add_msg() and
5531 removed some unlink()'s.
5535 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
5536 prefs_custom_header_*. Removed `(New)' row and `Substitute'
5537 button. Supported empty value.
5538 prefs_custom_header_row_moved(): new. Connected "row_move" signal
5539 to the function, and made it set header list.
5540 * src/customheader.c: custom_header_get_str()
5541 src/compose.c: compose_write_headers(): supported empty value.
5542 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
5543 Connected "row_move" signal to the function, and made it set
5545 * src/compose.c: compose_write_headers(): modified the order of
5546 headers, and made it encode the custom headers.
5547 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
5548 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
5549 alert panel by ESC as "No".
5553 * merged the custom header stuff from claws branch:
5554 * src/customheader.[ch]
5555 src/prefs_customheader.[ch]: new.
5556 * src/customheader.c: custom_header_read_str(): use strtol() instead
5557 of atoi() and check errors.
5558 custom_header_find(): new function.
5559 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
5560 compose_write_headers(): made it replace headers with user-defined
5561 headers except for some automatically generated headers.
5565 * src/inc.c: connection_check_cb(): fixed a bug that caused
5566 segmentation fault if connection was not established.
5567 * src/compose.c: compose_create(): even if set_autobcc or set
5568 autoreplyto is checked and the entries are empty, show them.
5572 * src/textview.c: textview_show_mime_part(): modified the messages.
5573 TEXT_INSERT(): new macro.
5575 * src/prefs_display_header.c: prefs_display_header_create():
5576 modified the text of checkbutton.
5580 * src/mimeview.c: added "Open with..." to the context menu.
5581 * src/summaryview.c: summary_print()
5582 src/inputdialog.c: input_dialog(): fixed memory leaks.
5583 * src/textview.c: textview_show_mime_part(): updated the description.
5584 * src/send.c: implemented sending progress dialog.
5585 (TODO: automaton should be used.)
5586 send_progress_dialog_create(), send_progress_dialog_destroy(),
5588 send_message_smtp(): made it update the dialog for each stage.
5589 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
5591 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
5592 go to first unread message even if folder is same as previous.
5593 * src/prefs_common.c: made color selection dialog transient, and
5594 made escape key close the dialogs.
5600 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
5601 * src/recv.c: recv_write(): changed the interval to 10msec.
5602 * src/prefs_display_header.c: modified the layout of the dialog,
5603 and made the hidden headers list insensitive when `Show other
5604 headers' is not checked.
5605 * src/textview.c: changed strcasecmp() and strncasecmp() to
5606 the corresponding glib functions.
5607 * src/inc.c: get_spool(): make a temporary file in the home
5612 * src/prefs_common.c
5624 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
5625 when closed them with delete_event (thanks to DINH).
5626 Added *_deleted() and *delete_event() which handle delete_event
5631 * src/prefs_display_header.c: merged some changes from claws branch:
5632 prefs_display_header_create(): allow reordering of headers by
5634 prefs_display_header_find_header(): new function.
5635 prefs_display_header_clist_set_row(): don't allow duplicates.
5636 * src/prefs_account.c: prefs_account_receive_create(): changed
5637 the label of the check button.
5641 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
5643 * src/inc.h: removed cur_msg_bytes from Pop3State.
5644 * src/inc.c: pop3_recv_func()
5645 src/recv.[ch]: made the second arguments of RecvUIFunc current
5647 recv_write(): made it call UI func if elapsed time is greater
5649 * src/recv.c: recv_write(): changed the interval to 300 usec.
5650 * src/textview.c: textview_show_header(): if header is Subject,
5652 * src/utils.[ch]: unfold_line(): new.
5653 * src/procheader.[ch]: procheader_get_header_array(): new.
5654 * src/prefs_display_header.c: updated defaults.
5658 * some merge from the sylpheed-claws branch.
5659 It allows user to specify displayed headers in message view.
5660 (symbol names were also changed.)
5661 * src/prefs_display_header.[ch]
5662 src/displayheader.[ch]: new.
5663 * src/prefs_display_header.c:
5664 removed prefs_display_headers_other_headers_toggled().
5665 removed "(New)" row from the list.
5666 * src/defs.h: added DISPLAY_HEADER_RC.
5667 * src/prefs_common.c: prefs_message_create(): added a button for
5668 opening the display header setting dialog.
5669 * src/prefs_common.h: added show_other_header and disphdr_list
5671 * src/procheader.[ch]: procheader_get_header_list_from_file(),
5672 procheader_get_header_array_asis(): new.
5673 procheader_get_header_list(): modified so that it takes FILE
5674 pointer for its argument.
5675 procheader_header_array_destroy(), procheader_header_free(): new.
5676 * src/main.c: main(): made it call prefs_display_header_*_config().
5677 * src/textview.c: textview_scan_header(): modified so that it
5678 sorts headers according to user setting.
5679 src/textview_show_header(): made it call
5680 textview_make_clickable_parts().
5681 textview_make_clickable_parts(): added GdkFont to its arguments,
5682 and removed GtkText from them.
5686 * implemented auto-checking of new mail based on the patch from
5687 Pierric Descamps (thanks!).
5688 * src/inc.c: added inc_autocheck_timer_init(),
5689 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
5690 inc_autocheck_func() for auto-checking of new mail.
5691 * src/main.c: main(): call inc_autocheck_timer_init().
5692 * src/prefs_common.c: prefs_receive_create(): activated the
5693 auto-checking UI. Added prefs_common_cancel(), and connected
5694 some signals to that.
5695 * src/prefs_common.c
5698 src/account.c: Disabled auto-checking while opening the dialog.
5699 * src/headerview.c: headerview_show_xface(): fixed a bug that
5700 showed a warning when header pane was hidden.
5706 src/recv.c: removed non-blocking socket mode support since it
5709 src/inc.c: modified the messages of incorporation dialog.
5713 * src/utils.h: made u32 the typedef of guint32.
5714 added BIG_ENDIAN_HOST macro that is used by md5.c.
5715 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
5716 that didn't calculate MD5 correctly on big endian machines.
5722 * src/folder.c: folder_init(): added the method imap_remove_folder.
5723 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
5724 actually remove folder from IMAP4 server.
5725 * src/imap.[ch]: imap_create_folder(): made it actually create
5726 folder on IMAP4 server.
5727 imap_remove_folder(): added.
5728 imap_create(), imap_delete(): added.
5729 * src/summaryview.c: summary_execute_delete(): don't check trash
5730 if folder type is not F_MH.
5731 * thanks to Ishihara for the above changes.
5733 ac/check-type.m4: better wint_t typedef detection (renamed
5734 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
5738 * src/recv.c: recv_bytes_write(): fixed another bug that caused
5739 infinite loop and buffer overrun.
5743 * src/socket.[ch]: renamed sock_read() and fd_read() to
5744 sock_gets() and fd_gets() for preventing confusion.
5745 Added sock_read() and fd_read() which is the wrapper of read().
5746 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
5747 loop. Use sock_read() instead of fd_read().
5754 src/smtp.c: use sock_gets() instead of sock_read().
5755 * src/imap.c: imap_session_new(): fixed the error detection
5760 * src/inc.c: made it displays current read bytes to the dialog.
5761 * src/pop.c: recv_write(): call UI function before editing
5766 * src/progressdialog.c: progress_dialog_create(): modified the
5767 size of dialog and made it stretchable.
5769 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
5770 process an error response correctly (thanks to Ohmasa).
5771 * src/pop.[ch]: added pop3_getsize_list_send(),
5772 pop3_getsize_list_recv().
5773 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
5774 call the callback function for each sock_read().
5775 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
5776 cur_msg_bytes, cur_total_bytes, and sizes.
5777 * src/inc.c: added inc_pop3_recv_func() that updates the progress
5778 bar for each sock_read().
5782 * src/mh.c: mh_is_maildir_one(): modified so that it uses
5785 2001-04-25 Werner Koch <wk@gnupg.org>
5787 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
5788 (mh_scan_tree_recursive): Do not include Maildir style directories
5791 Changed the use of integers to describe sockets by an more abstract
5794 * src/automaton.h (struct _Automaton): Add help_sock.
5795 * src/automaton.c (automaton_input_cb): Changed source to be
5796 SockInfo and use wrapper for gdk_input_add.
5798 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
5799 for invalid socket because this is now done in sock_close. Set
5801 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
5802 (send_smtp_open): Use only SockInfo.
5804 * src/news.c (news_session_new): Use SockInfo here.
5805 (news_session_destroy): Ditto and set sock to NULL.
5807 * src/nntp.c: Use SockInfo instead of integers
5808 * src/smtp.c: Ditto.
5810 * src/recv.c: Ditto.
5812 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
5813 gdk_input_add into a wrapper.
5815 * src/esmtp.c: Changed socket descriptors to use SockInfo.
5816 * src/esmtp.h: Ditto, included socket.h.
5817 * src/session.h (struct _Session): Likewise.
5818 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
5819 Removed access to internal data of SockInfo. Changed all callers
5820 and functions to take SockInfo.
5821 (imap_session_new): Use sock_close here.
5822 (imap_session_destroy): Ditto.
5824 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
5827 * src/main.c (app_will_exit): Close lock socket using fd_close.
5828 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
5829 (lock_socket_input_cb): Ditto.
5831 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
5832 glib channels. Changed all sock_xxx to use SockInfo instead of an
5834 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
5835 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
5837 (fd_read, fd_write, fd_close): New.
5838 (sock_sockinfo_free): Removed.
5839 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
5840 (sock_connect): Ditto.
5844 * config.h.in: removed.
5845 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
5846 * .cvsignore: added.
5848 src/progressdialog.[ch]
5849 src/pixmaps/complete.xpm
5850 src/pixmaps/continue.xpm
5851 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
5852 that displays the state of message incorporation (thanks!).
5853 * src/inc.c: made the progress dialog change the text of status.
5857 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
5859 * COPYING: removed RSA copyright notice.
5860 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
5861 * configure.in: added the check of sys/utsname.h.
5863 2001-04-24 Werner Koch <wk@gnupg.org>
5865 Merged most of the changes from the W32 branch in.
5867 * configure.in: Require gpgme >= 0.2.1
5869 * acconfig.h (HAVE_U32_TYPEDEF): New.
5870 * ac/gnupg-check-typedef.m4: New.
5871 * configure.in: Check for u32 type and the size of some types.
5872 * src/utils.h: Define the u32 type and related constants.
5874 * src/about.c (about_create): Removed the note about MD5. We are
5875 not any longer using the RSA Inc. implementation.
5876 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
5877 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
5878 renamed the function to standard lowercase convention. Changed all
5880 (md5_hex_digest): New.
5881 (md5_hmac): Add hmac function by Martin Schaaf with some
5883 (md5_hex_hmac): New.
5884 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
5885 (hmac_md5): Removed.
5886 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
5887 the new md5_hex_digest function.
5889 * src/about.c: Include utsname.h only if available
5891 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
5892 special Windoze requirements. Changed all calls to
5893 g_get_home_dir() to this function.
5895 * simple-gettext.c: New.
5897 * src/main.c (main): Issue a warning if GnuPG is not properly
5900 * src/sigstatus.c, src/sigstatus.h: New.
5901 * src/rfc2015.c (check_signature): Use the sigstatus window and
5902 get the status texts from a utility function.
5904 * src/select-keys.c: Removed the global select_keys var and
5905 pass an allocated one along all functions.
5906 (set_row): Display only keys capable of encryption.
5907 (update_progress): Replaced the progressbar by
5908 a windmill and a text showing for which key we are collecting
5909 info. Removed progressbar everywhere else and updated callers.
5911 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
5912 display the grab button.
5916 * src/prefs_common.[ch]
5917 src/procheader.c: applied the patch from Darko Koruga that
5918 allows user to define their own format for displaying date in
5919 summary view using strftime() (thanks!).
5920 * src/prefs_common.c: prefs_quote_colors_dialog()
5921 src/mainwindow.c: main_window_reflect_prefs_all(): made it
5922 update message colors if the colors setting is changed.
5923 * src/main.[ch]: made it remember the startup directory.
5924 * src/export.c: export_mbox(): made it initially chdir to the
5926 * src/filesel.c: filesel_select_file(): made it open the startup
5931 * added option to warn about queued messages on exit [sergey]:
5933 * src/compose.c: compose_queue(): call folder_item_scan()
5934 and folderview_update_item() after queueing.
5935 * src/folderview.c: folderview_update_node(): draw the queue
5936 folder in bold font if there are queued messages.
5937 * src/mainwindow.c: queued_messages(): new function.
5938 app_exit_cb(): display warning if there are queued messages
5939 if warn_queued_on_exit is set.
5940 * prefs_common.[ch]: add warn_queued_on_exit option.
5942 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
5943 it to get_queued_message_num().
5944 * src/main.c: app_will_exit(): moved warning dialog code from
5945 app_exit_cb(), and added manage_window_focus_in().
5947 * enhanced GnuPG key selection support [sergey]:
5949 * src/select-keys.c: updated to newer version from Win32
5950 branch with support for selecting arbitrary keys.
5951 * src/prefs_account.c: added the Privacy tab to the account
5953 prefs_account_privacy_create(),
5954 prefs_account_sign_key_set_data_from_radiobtn(),
5955 prefs_account_sign_key_set_radiobtn(): new functions.
5956 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
5957 * src/rfc2015.c: set_signers(): new function.
5958 pgp_sign(): add the account parameter, call set_signers().
5959 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
5960 * src/rfc2015.h: rfc2015_sign(): updated prototype.
5961 * src/compose.c: pass the current account to rfc2015_sign().
5965 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
5969 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
5970 Fixed a memory leak bug.
5971 * src/export.[ch]: added for exporting folder to mbox.
5972 * src/import.[ch]: made import_mbox() take default folder.
5973 Added description to the dialog.
5974 * src/summaryview.c: summary_show(): fixed a bug that kept the
5975 toolbar buttons insensitive after receiving messages.
5977 src/import.c: fixed a bug that caused quitting of the program
5978 when OK or Cancel button was clicked several time.
5979 * src/prefs_common.[ch]
5980 src/addressbook.c: added "Add address to destination when
5981 double-clicked" option.
5985 * src/prefs_common.[ch]: reorganized the items of settings,
5986 and added Message tab.
5987 * src/main.c: parse_cmd_opt(): added command line option --version.
5988 * src/mh.c: made it unset MSG_DELETED flag when moved/copied to
5990 * src/prefs_common.[ch]
5991 src/headerview.[ch]: the header pane can be toggled now.
5992 * src/prefs_common.[ch]
5993 src/textview.c: page scroll step is now selectable between
5994 one page and half page.
5995 * src/mbox.[ch]: added export_mbox() that reads all messages
5996 in a folder, and store them into one mbox file.
6000 * src/prefs_filter.[ch]: separated filter setting code from
6001 prefs_common.c, and made it a separate dialog.
6007 * src/automaton.[ch]
6008 src/inc.c: fixed the bug that made Sylpheed crash when clicking
6009 Cancel button while getting new mail (thanks to Sergey Vlasov).
6010 * src/xml.c: xml_build_tree()
6011 src/addressbook.c: fixed a bug that caused infinite loop if an
6012 illegal XML file was given.
6017 src/inc.c: applied the patch from Sergey Vlasov that fixes the
6018 problem when the "Go to inbox after receiving new mail" option
6019 was turned off (thanks!).
6023 * src/xml.[ch]: modified so that it supports some characters which
6024 must be escaped, and multiple-lined tag.
6026 src/addressbook.c: modified so that it escapes some characters
6027 like '<', '>', '&', ''', '"'.
6037 src/summaryview.[ch]: applied the patch from Darko Koruga that
6038 adds copy message operation for the MH folders (thanks!).
6039 * src/imap.c: disabled slash to dot conversion.
6040 * src/imageview.c: fixed a bug that displayed an old image when
6041 loading of a image failed (thanks to Darko Koruga).
6045 * src/procmsg.c: procmsg_read_cache(): added setvbuf() to speed up
6046 cache reading (thanks to Sergey Vlasov).
6048 src/summaryview.[ch]
6049 prefs_common.[ch]: applied the patch that keeps the same folder
6050 after receiving new mail (thanks to Sergey Vlasov).
6052 src/utils.[ch]: moved get_quote_level() to utils.c.
6056 * ac/Makefile.am: added.
6058 configure.in: added ac directory.
6062 * src/summaryview.c: summary_filter(): made it move messages
6063 immediately if immediate_exec option is set.
6064 * src/prefs_common.[ch]
6066 src/gtkutils.[ch]: applied the message coloring patch from
6067 Stephen Anthony with some modification (thanks!).
6069 src/mimeview.c: modified the behavior of MimeView (thanks to
6074 * src/utils.c: copy_file()
6075 src/mh.c: applied (and modified) the patch from Darko Koruga
6076 that enables to move messages across file systems (thanks!).
6078 src/utils.[ch]: applied the patch from Jorge Van Hemelryck
6079 that converts the date of messages to the local time (thanks!).
6080 * src/utils.c: remote_tzoffset_sec(): fixed a bug that the signs
6081 of one-letter timezone were reversed.
6082 * src/folder.c: folder_item_add_msg(): put the assertion for the
6083 add_msg() method (thanks to TAKANO).
6087 * src/procmime.c: procmime_decode_content(): fixed a bug that
6088 corrupted quoted-printable encoded messages when they include
6089 `=00' (thanks to Masahiro Tomita).
6092 src/summaryview.c: modified the DnD behavior of MIME view
6093 (thanks to HIRAMATSU).
6097 * src/about.c: applied the patch from Sergey Vlasov that fixes
6098 the appearance of the about dialog (thanks!).
6099 * src/prefs_common.[ch]
6105 src/textview.[ch]: applied the GnuPG support patch which had
6106 ported from the sylpheed-win32 branch (thanks to Sergey Vlasov).
6107 * INSTALL, INSTALL.jp: updated the description about GnuPG.
6111 * src/utils.[ch]: added references_list_append() that parses
6112 References header and makes it string list.
6113 * src/compose.c: modified so that too long References header is
6114 truncated, garbage characters are removed, and header is tidied
6115 up (thanks to Matthias Intemann).
6119 * src/addr_compl.c: applied the address completion bugfix patch
6120 from Alfons Hoogervorst (thanks!).
6124 * src/gtksctree.c: modified so that the tree_select_row signal
6125 actually pass the column number.
6126 * src/summaryview.c: summary_selected(): made generic mark and
6127 unread mark can be toggled with clicking of the columns.
6128 Added summary_mark_row_as_read() and summary_mark_row_as_unread().
6129 * src/prefs_common.c
6130 src/prefs_account.c: applied the layout fix patches from Sergey
6131 Vlasov, and adjusted some widths of GtkEntry widgets.
6132 * src/prefs.c: prefs_dialog_create(): enable notebook to take focus.
6133 * src/inc.c: inc_start(): modified so that authentication dialogs
6134 show server name too (thanks to Sergey Vlasov).
6138 * src/mimeview.c: mimeview_key_pressed(): fixed a bug that caused
6139 segmentation fault when a malformed multipart message is shown
6140 (thanks to Sergey Vlasov).
6141 * src/summaryview.c: summary_display_msg(): made it focus to the
6142 summary view if the MIME list is empty.
6146 * src/pixmaps/deleted.xpm
6147 src/pixmaps/mark.xpm
6148 src/summaryview.c: added deleted and mark icon.
6149 * src/gtkutils.c: gtkut_widget_init(): changed gtk_widget_destroy()
6150 to gtk_widget_unref().
6151 * src/addr_compl.c: start_address_completion(): fixed the bug that
6152 displayed warning when the address book was empty (thanks to
6157 * src/summaryview.c: summary_show(): fixed a memory leak bug
6158 (thanks to ChiDeok Hwang).
6159 * src/pixmaps/forwarded.xpm
6160 src/pixmaps/replied.xpm
6162 src/pixmaps/unread.xpm
6167 src/summaryview.[ch]: applied the patch from Marc Hoper
6168 that adds replied and forwarded mark to replying or forwarding
6169 messages (thanks!). And new and unread mark were replaced
6170 by the icons David Mehrmann created (thanks!).
6171 * src/summaryview.c: made the width of unread and MIME column
6173 * src/prefs.c: prefs_config_parse_one_line(): made it check the
6174 '=' separator (thanks to Sergey Vlasov).
6178 * src/prefs_common.[ch]: moved smooth scroll option to the
6180 * src/textview.c: made the one-line scroll also perform smooth
6185 * src/prefs_common.[ch]
6186 src/textview.c: applied the smooth scroll patch from Setoh and
6191 * src/summaryview.c: summary_attract_by_subject(): rewritten it
6192 using hash table for speeding up.
6193 * src/prefs_account.c: made filter_on_receive TRUE by default.
6194 * src/mainwindow.c: reordered menu items.
6198 * src/gtkutils.c: gtkut_clist_bindings_add(): fixed a bug that
6199 caused address completion not to accept space and enter key.
6204 src/codeconv.c: fixed a bug that didn't encode non-ASCII headers
6206 * src/compose.c: fixed a bug that didn't decode some headers
6207 correctly when replying or reediting drafts (thanks to Sergey
6212 * src/gtkutils.[ch]: added gtkut_widget_init() that modifies the
6213 behaviors of some classes.
6214 * src/main.c: main(): made it call gtkut_widget_init() first.
6215 * src/summaryview.c: summary_create(): removed the key binding code.
6219 * src/procmsg.[ch]: modified for the sake of readability.
6223 * src/mainwindow.c: changed "Clean trash" to "Empty trash".
6224 Added new menu items for folder manipulation.
6225 allsel_cb(): made it change the target between summary view and
6226 message view according to the input focus.
6227 Removed "Select all" from Summary submenu.
6228 * src/folderview.[ch]: added functions for creating/renaming/deleting
6230 * src/procmsg.[ch]: made "marked" and "deleted" flag permanent, and
6231 removed "important" flag.
6232 * src/summaryview.c: added summary_set_row_marks() that sets style
6233 of a row according to the flags, and made some functions use it.
6234 * src/mainwindow.c: allsel_cb(): modified so that it selects
6235 summary view correctly if message view is toggled off.
6239 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a resource
6240 leak bug of socket, and rewrote the routine.
6241 * src/inc.c: inc_mail(), inc_all_account_mail(): fixed a bug that
6242 displayed the wrong unread number in the folder tree if a
6243 folder was open and new messages arrived at the folder.
6244 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug
6249 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): made it
6250 check the existence of the destination file.
6251 * src/procmsg.c: procmsg_set_flags(): made it count the last
6252 number of the message list (and fixed a bug that didn't open
6253 newly arrived message).
6257 * src/prefs_common.c: prefs_send_create(): removed EUC-JP and
6258 Shift_JIS from the outgoing codeset.
6266 * src/send.c: send_message_queue(): modified so that it finds
6267 the account from the `From' and the server name of the queued
6269 * src/account.[ch]: added account_find_from_smtp_server() that
6270 finds an account from the specified address and SMTP server.
6273 src/summaryview.[ch]
6274 src/sourcewindow.[ch]: integrated the viewing source patch from
6275 DINH V. Hoßþ(thanks!).
6279 * src/addr_compl.[ch]
6281 src/compose.c: applied the enhanced address completion patch
6282 from Alfons Hoogervorst (thanks!).
6283 * src/addr_compl.c: replaced g_assert() with g_return(_val)_if_fail().
6284 * src/folder.c: folder_init()
6285 src/folderview.c: folderview_drag_motion_cb()
6286 src/procmsg.c: procmsg_clean_trash()
6287 src/summaryview.c: summary_start_drag()
6288 src/imap.[ch]: integrated the IMAP4 move/remove function patch
6289 from Suzuki Mio (thanks!).
6293 * src/main.c: parse_cmd_opt(): made the --compose option realize
6295 * src/utils.[ch]: execute_async(): supported quoted arguments
6297 strstr_with_skip_quote(), strsplit_with_quote(): quote-supported
6298 version of g_strsplit().
6299 * src/mimeview.c: mimeview_view_file()
6300 src/prefs_common.c: added single quotation mark around the file
6312 src/utils.[ch]: applied the security fix patch from Dmitry V.
6313 Levin with some modification (thanks!). Added my_tmpfile() to
6315 * src/main.c: added --receive-all command-line option.
6319 * src/socket.c: sock_connect_thread(): fixed a bug that didn't
6320 compile if both multithread and IPv6 are enabled (thanks to
6323 src/compose.c: applied a patch from Jason McCarver that allows
6324 FIFO for signature file (thanks!).
6325 * src/textview.c: made some more refactoring.
6326 * src/socket.c: sock_accept(): changed socklen_t to gint.
6331 src/textview.c: some code cleanups.
6337 src/textview.c: integrated the patch from Alfons Hoogervorst that
6338 fixes some glitches in clickable URI and enables mail addresses
6339 clickable, and enables the --compose command line option to
6340 specify address (thanks!).
6347 src/prefs_account.[ch]
6348 src/Makefile.am: applied the SMTP AUTH patch from Martin Schaaf
6349 and fixed its a few bugs (thanks!).
6350 * src/textview.c: textview_key_pressed(): made it don't move focus
6352 * src/main.c: parse_cmd_opt(): modified the help message.
6353 * src/html.[ch]: added empty_line to HTMLParser and modified
6354 the parser routines a bit.
6358 * src/html.c: added eucjp_symbol_list, and added some characters
6359 to ascii_symbol_list.
6363 * src/codeconv.[ch]: added a member `charset' and `charset_str'
6365 * src/html.[ch]: added the symbol list for ISO-8859-1 codeset.
6366 html_parser_new(): made it change the symbol hash table
6367 according to the character set of the document.
6368 html_parse_special(): made it recognize character code number.
6372 * src/textview.c: added textview_show_html() that parses HTML and
6374 textview_show_part(): made it call textview_show_html() if
6375 the part is text/html.
6376 * src/html.[ch]: implemented HTML parser.
6380 * src/codeconv.[ch]: added CodeConverter, and its methods
6381 (conv_code_converter_new(), conv_code_converter_destroy(), and
6383 * src/textview.c: removed the branches by HAVE_LIBJCONV and
6384 rewrote them using CodeConverter.
6388 * src/mbox.c: proc_mbox(): workaround for duplicated From_ line.
6392 * src/codeconv.c: some code cleanups.
6396 * src/mainwindow.c: main_window_popup(): fixed a bug that didn't
6397 popup the main window correctly.
6398 * src/codeconv.h: fixed a bug that the definition of CS_EUC_CN and
6399 CS_EUC_TW was reversed (thanks to Sakamoto).
6406 src/socket.[ch]: applied the patch from Hiramatu that enables
6407 prohibition of multiple execution and remote control with
6408 command line option (thanks!).
6412 * src/summaryview.c: summary_button_pressed(), summary_selected():
6413 made it toggle the view if middle button is clicked while message
6415 summary_drag_data_get(): fixed a memory leaking.
6417 src/compose.c: compose_write_headers(): modified so that it uses
6418 host_alias for X-Mailer or X-Newsreader field.
6424 * src/folderview.c: fixed a bug that prevented a folder from being
6425 created if there were already folders that have the same name
6426 somewhere at another place.
6430 * src/folderview.c: folderview_update_all(): fixed a bug that
6431 caused segmentation fault when a folder was selected after
6432 updating the folder tree.
6433 * src/compose.c: compose_send(): fixed a locking bug.
6434 compose_write_headers(): fixed a bug that referred to cur_account.
6435 compose_convert_header(): made it check the arguments.
6439 * src/main.c: some cleanups and added --help option.
6443 * src/send.c: re-enabled user-defined domain name setting.
6444 * src/utils.c: is_next_mbs(): changed the size of temporary
6445 multibyte array to MB_CUR_MAX.
6446 strdup_mbstowcs(): added error check to mbstowcs().
6447 strdup_wcstombs(): added error check to wcstombs().
6448 * src/addr_compl.c: get_address_from_edit(): made it check the
6449 return value of strdup_mbstowcs().
6450 * src/codeconv.c: conv_encode_header(): added error checking
6451 to strdup_mbstowcs().
6455 * src/utils.c: log_error(): changed g_error() to g_warning() so
6456 that it doesn't abort.
6458 * src/addr_compl.c: add_address(): fixed a bug that aborted the
6459 program if the name or the address is empty.
6460 get_address_from_edit(): supported multibyte characters.
6461 * configure.in: fixed a typo.
6462 * src/send.c: re-enabled user-defined SMTP port setting.
6468 * configure.in: added --enable-gpgme option, and disabled GPGME
6470 * made GPGME related members in MimeInfo not used if disabled.
6471 * src/rfc2015.c: some cleanups for warning.
6475 INSTALL.jp: updated.
6476 * Makefile.am: modified bzip2 option.
6480 * src/procmime.[ch]: added MIME_APPLICATION_OCTET_STREAM to
6482 * src/mimeview.c: mimeview_view_file(): made it do nothing if
6483 the MIME type is application/octet-stream.
6484 * src/folderview.c: folderview_update_all(): made it show modal
6485 dialog while updating folders.
6486 * src/folderview.c: folderview_update_all(): fixed a bug that
6487 didn't remove the dialog.
6491 * src/mimeinfo.c: merged the patch from John E.P. Hynes that
6492 launches the attached file using metamail (thanks!).
6493 * src/procmime.[ch]: added procmime_get_tmp_file_name().
6495 src/addr_compl.[ch]: merged the patch from Alfons Hoogervorst
6496 that enables address completion in the address entry on the
6497 composition window (thanks!).
6498 * src/addr_compl.c: get_all_addresses(), read_address_book():
6499 modified so that it uses xml_free_tree() for freeing the address
6504 * src/utils.c: remove_dir_recursive(): fixed a bug that failed to
6505 remove the current directory (thanks to Maki).
6506 * src/summary_search.c: added `Select all matched' option to the
6507 search dialog (thanks to Takahashi).
6508 * src/pixmaps/stock_mail_attach.xpm
6509 src/pixmaps/tb_address_book.xpm
6510 src/compose.c: added some toolbar icons contributed from
6511 Leandro Pereira (thanks!).
6515 * src/rfc2015.c: passphrase_cb(): *finally* fixed a bug that caused
6516 segmentation fault when the passphrase dialog was cancelled.
6517 Hided the passphrase in the debug message.
6518 * src/about.c: about_create(): fixed a bug that failed to compile
6519 when none of the features were used.
6520 * src/foldersel.c: foldersel_set_tree(): made it display all
6522 * src/inc.c: inc_start(): fixed a bug that showed password dialog
6523 continuously if it was cancelled.
6524 * src/summaryview.c: summary_write_cache(): put an assertion after
6525 folder_item_get_cache_file() to prevent the crash.
6526 * thanks to Maki for the above four fixes.
6527 * src/utils.h: added #include <alloca.h>.
6531 * src/rfc2015.c: changed some g_message() used for error messages
6536 * src/procmsg.[ch]: modified READ_CACHE_DATA() macro so that
6537 it can handle a string data of which length >= BUFFSIZE.
6538 * src/rfc2015.c: rfc2015_encrypt(): changed return to `goto failure'.
6539 * src/pixmaps/stock_mail_receive_all.xpm
6540 src/pixmaps/stock_mail_reply_to_all.xpm
6542 src/mainwindow.c: main_window_toolbar_create(): added new toolbar
6543 icons contributed from David Mehrmann (thanks!).
6544 * src/inc.[ch]: overhauled the architecture so that it don't create
6545 and destroy progress dialog for each incorporation in `get all'
6550 * src/mh.c: mh_scan_tree_recursive(): fixed a bug that mistook
6551 sub folders named `inbox', etc. as special folders.
6552 * src/rfc2015.c: rfc2015_encrypt(): fixed a bug that didn't quote
6557 * applied the GnuPG patch from Werner Koch (thanks!).
6558 * removed Mixmaster support.
6559 * src/rfc2015.c: changed g_error() to g_warning() and modified some
6561 * src/about.c: about_create(): modified compiled-in features list.
6565 INSTALL.jp: updated.
6566 * src/select-keys.c: create_dialog(): modified the layout.
6567 * src/headerwindow.c
6569 src/logwindow.c: made it raise the window if the window is already
6571 * src/prefs_common.[ch]: added an option for immediate execution.
6572 * src/summaryview.c: made it execute immediately when messages are
6573 moved or deleted if immediate_exec option is turned on.
6574 * src/summaryview.c: summary_delete(), summary_move_selected_to():
6575 moved summary_step() before summary_execute().
6576 * src/folderview.c: folderview_update_all(): made it scan folder
6578 * src/compose.c: compose_write_headers(): made it don't add
6579 In-Reply-To header if to_list is empty.
6581 2001-01-09 Werner Koch <wk@gnupg.org>
6583 * configure.in, acconfig.h: Check for GPGME.
6584 * ac/: New directory for local autoconf macros.
6585 * src/Makefile.am: Add support for GPGME
6587 * src/main.c (idle_function_for_gpgme): New.
6588 (main): Register this function.
6590 * src/about.c: Add a note about GPGME.
6592 * src/rfc2015.c, rfc2015.h: New.
6594 * src/mimeview.c (mimeview_show_message): Check signature.
6595 * src/procmime.c (procmime_scan_message): Ditto.
6597 * src/messageview.c (messageview_show): Add decryption stuff.
6599 * src/compose.c (compose_write_to_file): Encrypt the file if requested.
6600 (compose_toggle_encrypt_cb): New
6601 (compose_toggle_mixmaster_cb): New, just to be prepared for
6603 (compose_write_headers): Suppress some headers in mixmaster mode.
6605 * src/prefs_common.c (prefs_common_create): Add Privacy notebook sheet.
6606 (prefs_privacy_create): New. Also some new structures etc.
6607 * src/compose.c (compose_create): Set encrypt button to prefs default.
6608 * src/compose.h (struct _Compose): Add use_encryption, use_mixmaster.
6610 * src/compose.c (compose_send): Add missing unlock before one return.
6614 * src/gtksctree.[ch]
6616 src/summaryview.[ch]: applied the patch from Hiramatu that enables
6617 DnD from the summary view to the folder view and fixes some other
6619 * src/mainwindow.c: scan_tree_func(): fixed a bug that caused
6621 * src/imap.c: quoted user name in LOGIN and folder name in SELECT.
6622 * src/gtksctree.c: gtk_sctree_button_press(): fixed a bug that
6623 didn't toggle expansion of node.
6627 * src/imap.c: applied the patch from Nishimura that updates the
6628 message list more precisely and reads the message flags (thanks!).
6629 * src/textview.c: textview_show_header(): made X-Newsreader field
6631 * src/summaryview.c: summary_show(): made it flush events when
6636 * src/summaryview.c: applied the patch from Alfons that enabled
6637 the horizontal scrollbar of summary view (thanks!).
6641 * src/compose.c: compose_cb(): fixed a bug that didn't open the
6642 composition window right after launching the program.
6643 * src/setup.c: scan_tree_func(): fixed a bug that caused
6650 * src/textview.c: textview_set_font(): fixed a bug that caused
6651 segmentation fault if the mode of the text widget was changed
6652 between multibyte and singlebyte while the region was selected
6658 src/summaryview.c: made it unable to delete or move messages when
6660 * src/prefs_common.c
6661 src/news.c: added the option for maximum news article number.
6665 * src/compose.c: compose_send(): changed the location of temporary
6666 file. Made it use the default account if all of tried account
6667 aren't mail one, and made it show alert dialog and abort when even
6669 * src/prefs_account.c: prefs_account_get_new_id(): made it preserve
6671 prefs_account_open(): made it fill in personal information
6672 according to the default account when creating a new account.
6673 * sylpheed.spec.in: added to autogenerate sylpheed.spec with the
6674 proper version number (thanks to BONAIM).
6676 Makefile.am: added entries for sylpheed.spec.in.
6680 * src/compose.[ch]: modified so that it can change account
6682 * src/send.[ch]: modified so that it doesn't see cur_account.
6683 * src/prefs_account.c: modified so that news setting doesn't
6684 show SMTP server entry.
6688 * src/folderview.c: fixed a bug that didn't sort special folders
6689 correctly when a new folder is created or renamed.
6693 * src/compose.[ch]: enabled to select account at composing window.
6694 * src/folderview.c: made it display unread number next to folder
6696 * src/prefs_common.[ch]: added the option for unread number display.
6700 * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
6701 and made many modifications (thanks!).
6702 compose_write_headers(): made the spaces in newsgroups removed.
6703 Supported Followup-To.
6704 compose_destroy(): got the objects removed properly.
6705 * src/news.c: merged news_post_to_group() and news_post() since
6706 they doesn't have to do multiple posting.
6707 * src/import.c: import_destsel_cb(): fixed a bug that failed to
6708 import into the selected folder.
6709 * src/prefs_account.c: modified the interfaces.
6714 prefs_common.c: changed "SHIFT-JIS" to "Shift_JIS" since the
6715 string is registerd to IANA.
6716 * src/nntp.[ch]: added nntp_post().
6717 * src/news.[ch]: added news_post() and news_post_to_group().
6721 * src/account.c: account_edit_open()
6722 src/mainwindow.c: new_account_cb(): made it unable to edit
6723 accounts if some composing windows are open.
6727 * src/folder.[ch]: added folder_set_name().
6728 * src/account.c: made a folder name of IMAP4/NNTP become the same
6729 as the name of account.
6733 * src/summaryview.c: summary_filter_func(): fixed a bug that failed
6740 * src/mbox.c: fixed a bug that didn't incorporate spool file
6741 correctly. Modified so that it recognizes From_ line as separator
6742 of messages even if the previous line isn't empty line.
6743 * src/send.c: send_message_queue()
6744 src/procmsg.c: procmsg_send_queue(): Fixed a bug that printed
6745 warning when it tried to delete a sent message.
6752 src/news.[ch]: modified so that it actually gets news articles.
6753 * src/utils.[ch]: added make_dir_hier() that creates directory
6756 folder_item_get_cache_file(), folder_item_get_mark_file():
6757 made it creates cache directory if it doesn't exist.
6758 folder_add(): made it insert the added folder into the correct
6760 * src/imap.[ch]: modified so that it suits the new folder
6761 architecture. Fixed a bug that caused segmentation fault
6762 if authentication failed at imap_auth().
6763 * src/folderview.c: implemented IMAP4 folder handling routines.
6767 * src/prefs_account.[ch]: added account ID and nntp_server
6768 to PrefsAccount. And added the interface for NNTP server.
6769 * src/folderview.c: modified news folder handling routines.
6770 * src/folder.[ch]: removed cache_dir from RemoteFolder, and
6771 modified folder_item_get_path().
6775 * src/folder.[ch]: added create_folder(), rename_folder(),
6776 remove_folder() to Folder class.
6777 * src/mh.[ch]: added mh_create_folder(), mh_rename_folder(), and
6779 Implemented mh_create_tree() that creates MH directory tree.
6780 mh_rename_folder(): modified so that the paths of sub folders
6782 * src/folderview.c: modified folderview_new_folder_cb(),
6783 folderview_rename_folder_cb(), and folderview_delete_folder_cb()
6784 so that they work properly.
6785 Added folderview_remove_mailbox_cb() and the menu entry that
6786 remove mailbox from folder tree.
6787 * src/setup.[ch]: added for initial setup.
6788 * src/alertpanel.c: modified the appearance of the dialog.
6789 * src/compose.c: fixed compose_save_to_outbox() and
6790 compose_queue() so that it sets flags correctly.
6794 * src/mainwindow.c: modified the strings of toolbar labels.
6798 * src/gtkutils.[ch]: added gtkut_ctree_node_move_if_on_the_edge().
6799 * src/summaryview.c: summary_display_msg(): made it scroll the
6800 list if the message of the edge of that is displayed.
6805 src/mh.[ch]: added functions for moving messages.
6806 * src/procmsg.[ch]: moved procmsg_move_messages_with_dest()
6807 to folder.c and mh.c. Added procmsg_to_folder_hash_table().
6811 * src/utils.[ch]: added get_tmp_file().
6814 src/folder.c: fixed a bug that failed to drop messages.
6815 * src/mh.c: mh_scan_folder(): made it check new, unread, and total
6816 number of the folder.
6820 * src/folderview.c: added special folder setting routine.
6821 * src/folder.[ch]: added a method is_msg_changed().
6822 Implemented folder_find_item_from_path().
6823 * src/summaryview.c: fixed some bugs that wrongly freed FolderItem's.
6824 * autogen.sh: fixed so that the configure can take arguments.
6829 src/mainwindow.[ch]: added main_window_new_mailbox() that asks
6830 the path of mailbox and create the one.
6831 * src/folderview.c: made the folder tree and selected folder
6837 src/folder.c: implemented mh_scan_tree() that scans the folder
6838 recursively and create the tree.
6858 src/summaryview.[ch]
6860 src/Makefile.am: merged the development tree into the cvs tree.
6861 Some functions are not unimplemented yet.
6869 * src/xml.[ch]: supported omitted tag (<tag />).
6870 * src/procmsg.c: procmsg_msg_exist(): fixed a memory leak bug.
6871 * src/imap.c: imap_parse_atom(): fixed a bug that caused
6872 segmentation fault if the subject was empty (thanks to Tsutsui).
6873 * src/folder.[ch]: updated.
6877 * src/xml.[ch]: added xml_parse_file() that parses the whole XML
6878 file specified and returns the tree.
6882 * po/pt_BR.po: fixed some typos that caused segmentation fault.
6888 * src/session.h: added.
6889 * src/folder.[ch]: updated.
6890 * src/compose.c: compose_write_to_file()
6891 src/codeconv.c: conv_get_outgoing_charset_str(): fixed a bug
6892 that put a garbage to charset if the outgoing character set was
6893 specified and non-ascii characters were used in subject.
6897 * src/statusbar.c: statusbar_puts(): fixed a bug that locked the
6898 progress if the status bar was hidden.
6902 * src/folder.[ch]: added for the more object-oriented folder
6910 src/prefs_common.[ch]: made the state of status bar get preserved.
6911 * src/compose.c: compose_insert_sig(): modified so that it doesn't
6912 put a separator if a signature file doesn't exist.
6913 * src/prefs_account.[ch]
6914 src/inc.c: added the option that toggles whether to receive
6915 messages when getting from all accounts.
6917 README.jp: updated the description and added some usages.
6923 src/compose.[ch]: applied the patches from Alfons Hoogervorst
6924 that makes the ruler of composition window graphical (thanks!).
6930 src/prefs_common.c: replaced CS_WINDOWS_1251 with CS_CP1251.
6936 * src/compose.c: turned the color of quoted messages black again.
6940 * src/about.c: added a clickable URI to the Sylpheed home page,
6941 and a list of compiled-in features.
6942 * src/compose.c: made the color of quoted messages blue.
6943 * src/summaryview.c: added `Show all header' to the context menu.
6944 * src/prefs_common.c: removed the threading option from the dialog.
6945 * src/compose.c: fixed a bug that didn't parse the quotation format
6950 * src/compose.c: compose_set_ext_editor_sensitive(): modified so
6951 that it toggles linewrap menu item and tool button.
6952 * src/prefs_common.c: modified the default of the signature
6954 * src/compose.[ch]: added ruler to the compose window.
6955 * src/prefs_common.[ch]: added a member for the state of ruler
6960 * src/headerview.[ch]: added the destroy function.
6961 * src/messageview.c: messageview_destroy(): fixed a memory leak
6962 bug that didn't freed the HeaderView object.
6963 * src/prefs.c: prefs_write_open(): fixed a memory leak bug.
6964 * src/xml.c: xml_close_file(): fixed a memory leak bug (thanks
6965 to Alfons Hoogervorst for the above three memory leak bug fixes).
6974 INSTALL.jp: modified some descriptions.
6978 * src/compose.c: implemented line-wrapping functions.
6979 * src/prefs_common.[ch]: added the settings for line-wrapping.
6980 * src/codeconv.[ch]: added Windows-1251 to the codesets.
6981 conv_jistoeuc(): fixed a bug that caused segmentation fault
6982 when some half-width kana characters appeared.
6983 * src/summaryview.c: summary_select_all(): made it show message
6984 on the status bar if the number of messages is large.
6988 * src/compose.c: compose_reply(), compose_quote_parse_fmt():
6989 modified so that it parses the quotation mark too.
6990 Added %I that means the initial of sender to the format.
6991 * src/codeconv.[ch]: added GB2312 and Big5 to the codesets.
6992 Fixed a bug that set the wrong outgoing codeset.
6994 src/prefs_common.c: modified the menu item of Chinese codeset.
6999 src/prefs_common.[ch]: modified so that outgoing charset is
7000 saved as a string, not a number.
7004 * src/textview.c: textview_set_font(): changed the scheme of
7005 selecting between font and fontset. And changed the default
7007 * src/headerview.c: headerview_show_xface(): made it ignore
7009 * src/codeconv.c: conv_codeset_strdup(), conv_get_code_conv_func():
7010 modified so that it consider the source codeset as ISO-2022-JP if
7011 it is NULL and the current locale is Japanese.
7015 * src/textview.c: textview_destroy(): fixed a bug that caused
7016 segmentation fault if textview->msgfont is NULL (thanks to
7019 src/defs.h: applied the patch from Yanase that enables to
7020 save the shortcuts of the menus (thanks!).
7024 * src/mainwindow.[ch]: added main_window_set_menu_sensitive() that
7025 toggles the sensitivity of menu items.
7026 * src/summaryview.c: renamed summary_set_popup_sensitive() to
7027 summary_set_menu_sensitive(), and made it set the sensitivity of
7032 * src/textview.c: textview_init(): fixed a bug that didn't disable
7033 the theme engine of GtkText (thanks to Hiramatu).
7034 * src/compose.c: compose_quote_parse_fmt(): added %n and %N that
7035 means the full name of sender and the first name.
7036 * manual/ja/*.??ml: updated to the latest version.
7042 * src/defs.h: separated the definitions from main.h and applied the
7043 patch from TOGAWA that sets DEFAULT_SPOOL_PATH and MAXPATHLEN
7044 from the system headers (thanks!).
7045 * src/codeconv.c: conv_get_current_charset(): fixes for lt_LT and
7047 * src/textview.c: textview_set_font(): modified so that it sets
7048 the correct font when the locale is multi-byte.
7049 textview_destroy(): added proper codes for destruction.
7050 textview_show_header(): fixed the coloration of X-Mailer.
7054 * src/textview.[ch]: made TextView have single-byte and multi-byte
7055 GtkText, and switch between them according to the given codeset.
7056 * src/compose.c: compose_create(): modified the font setting
7061 * src/textview.[ch]: moved the message font variable into TextView.
7062 textview_set_font(): modified so that it uses gdk_font_load()
7063 if the given codeset is US-ASCII or ISO-8859-*.
7071 src/compose.c: workaround for the 8bit code issue (used
7072 gdk_font_load() instead of gdk_fontset_load() when the locale is
7079 * src/compose.[ch]: added `Draft' tool button.
7080 * src/imap.c: imap_parse_envelope(): fixed a parsing bug.
7081 * README, README.jp: added the explanation of the locale setting.
7085 * src/compose.c: made it overwrite the previous draft message when
7086 reedited the draft and saved it again.
7087 * src/procmsg.[ch]: added procmsg_msg_exist() that examine whether
7088 the message really exists.
7089 * src/folderview.[ch]: added folderview_scan_folder_a() and
7090 folderview_scan_folder_foreach_a() that scan the specified
7091 folders for each folderviews.
7092 * src/mainwindow.[ch]: removed main_window_scan_folder() and
7093 main_window_scan_folder_all().
7094 Added `Reedit' to the menu.
7095 * src/import.[ch]: removed MainWindow from the argument of
7097 * src/summaryview.c: removed the unnecessary items from the popup
7098 menu. Changed summary_reedit_cb() to summary_reedit(), and made
7103 * src/compose.h: added a member msginfo to Compose.
7104 * src/procmsg.[ch]: added procmsg_msginfo_copy() that duplicates
7109 * src/summaryview.c: made the the popup menu change the sensitivity
7110 according to the context. Fixed a bug that showed the `clean trash'
7111 dialog repeatedly if `D' key was pressed when the focus was on the
7113 * src/pixmaps/unread.xpm: changed the color of unread mark to blue.
7117 * src/main.c: fixed g_thread initialization.
7121 * src/codeconv.c: added pt_BR to locale_table.
7122 * src/prefs_common.c: prefs_send_create(): added `US-ASCII',
7123 `ISO-8859-1', and Japanese codeset to the option menu of outgoing
7124 codeset when not using libjconv.
7125 * src/compose.c: fixed the bug on saving draft again.
7129 * src/compose.c: compose_write_headers(): fixed a bug that failed
7130 to write headers if To: was empty when saving draft.
7136 src/headerwindow.[ch]
7138 src/messageview.[ch]
7142 src/procheader.[ch]: modified so that they can handle queue folder
7145 src/summaryview.c: implemented draft-reediting function.
7148 src/mimeview.c: replaced *(GtkWidget **) with the macro
7153 * src/procmsg.[ch]: procmsg_msginfo_free(): fixed a memory leak bug.
7154 Added MSG_QUEUED and MSG_DRAFT to MsgFlags, and made it set them
7155 if the folder is QUEUE_DIR or DRAFT_DIR.
7162 src/messageview.c: modified the border of the headerview.
7163 * src/gtkutils.h: added the macro GTK_WIDGET_PTR() that casts
7164 an Sylpheed object to GtkWidget.
7165 * src/utils.c: remove_return(), remove_space(): fixed a bug that
7166 possibly caused segmentation fault.
7169 src/summaryview.c: implemented `forward as an attachment'.
7170 * src/utils.[ch]: open_uri(): brought on URI opening function from
7171 textview.c and manual.c.
7178 src/prefs_common.[ch]: removed `Reply with quote', and added
7179 `Reply to all', and added the option that decides whether to
7180 quote message on replying.
7184 * src/folderview.c: modified so that it uses gtkut_wait_for_draw()
7185 instead of GTK_EVENTS_FLUSH() for statusbar redraw.
7188 src/prefs_common.c: added Baltic (ISO-8859-4,13) to the code sets.
7189 * src/compose.c: compose_send(): modified so that it shows error
7190 dialog when failed to send a message.
7194 * src/account.c: account_edit_close(): fixed a bug that didn't set
7195 current account when creating an account for the first time.
7196 * configure.in: added es to ALL_LINGUAS.
7200 * src/codeconv.c: conv_codeset_strdup(): made it use libkcc if
7202 conv_get_code_conv_func(): modified so that it doesn't convert
7203 codeset if it is unknown.
7204 * src/folderview.c: folderview_update_msg_num(): modified style
7209 * src/codeconv.c: conv_codeset_strdup(): modified so that it sets
7210 codesets automatically if the arguments are NULL.
7211 * src/textview.c: textview_write_line(): made it output warning
7212 message on the text view if conversion failed.
7216 * README, README.jp: modified the author of the manual.
7220 * src/headerview.[ch]
7221 src/messageview.[ch]: modified so that it uses GtkLabel widget
7223 * src/codeconv.c: conv_unmime_header(): modified so that it deletes
7224 unreadable codes if the current locale is EUC-JP and libjconv is
7232 src/textview.c: modified so that it parses MIME message more
7234 * src/imap.c: imap_parse_address(): fixed a bug.
7238 * src/procmsg.[ch]: added procmsg_get_message_file_path().
7239 * src/recv.c: recv_bytes_write(): added CR+LF -> LF conversion
7241 * src/imap.[ch]: changed the name of the member `group' in
7242 IMAPSession to `mbox'.
7243 imap_gen_send(): modified so that it doesn't output the password
7245 Modified session destroying routine.
7246 * src/folderview.c: folderview_write_cache(): made it preserve
7247 the IMAP folder list.
7248 * src/procmime.c: procmime_scan_multipart_message(): fixed a bug
7249 that showed boundary at the end of an attached RFC822 part.
7250 * src/prefs_common.c: changed the default of toolbar style to
7255 * src/imap.c: imap_get_uncached_messages(): modified so that it
7256 doesn't get the cached envelopes.
7257 imap_session_get_message_info(): made it read only the cache
7258 if the session is not established.
7259 * src/procmsg.c: procmsg_set_flags(): supported IMAP folder.
7260 * src/news.c: news_get_article_info(): made it read only the cache
7261 if the session is not established.
7265 * src/textview.c: textview_write_line(): fixed a memory leak bug.
7266 * src/folderview.[ch]: made it create IMAP4 folders from the
7267 account information.
7268 * src/imap.[ch]: imap_session_get(): modified so that it creates
7269 IMAP4 session from the account information.
7273 * src/imap.[ch]: added for IMAP4 support.
7274 * src/summaryview.[ch]
7276 src/recv.[ch]: modified for IMAP4 support.
7277 * src/folderview.c: more IMAP4 implementation.
7278 * src/procmsg.[ch]: added procmsg_get_message_file() that retrieves
7279 the specified message and return the file name.
7280 * src/gtkutils.c: gtkut_widget_wait_for_draw(): fixed a bug that
7281 locked up the process if the given widget was invisible.
7285 * src/folderview.[ch]: added IMAP4-related code.
7291 * src/main.h: added IMAP_CACHE_DIR.
7292 * src/utils.[ch]: added get_imap_cache_dir().
7293 * src/procmsg.h: added M_IMAP to MsgType, and MSG_IMAP to MsgFlags.
7294 Added macro MSG_IS_IMAP().
7295 * src/codeconv.c: added `#include <locale.h>' for setlocale().
7296 * sylpheed.spec: fixed %files section.
7302 * src/codeconv.c: conv_get_current_charset(): made it compare
7303 string with strncasecmp().
7304 * src/compose.c: comopse_reply_parse_header(): workaround for
7305 the malformed References: header generated by OE5 :(
7309 * src/prefs_common.c
7310 src/prefs_account.c: modified the layout of the widgets.
7316 * src/*.[ch]: added copyright notice to the top of the source files.
7317 * src/compose.c: compose_write_attach(): modified filename encode
7322 * src/mainwindow.c: fixed the menu entry of manual.
7324 src/codeconv.[ch]: moved compose_encode_header() into codeconv.c,
7325 and applied the libjconv patch.
7326 * src/utils.c: strdup_mbstowcs(), strdup_wcstombs(): used g_realloc()
7327 to reduce the alloc'd memory to the optimal size.
7328 * src/prefs_common.[ch]: added outgoing codeset option menu.
7329 * src/compose.c: compose_send(): added exclusive lock to prevent
7331 * configure.in: made '--enable-ipv6=no' the default.
7332 * src/compose.c: compose_write_attach(): made it encode the name
7333 of the attached file.
7334 * src/procmsg.c: procmsg_get_last_message_number(): fixed a bug that
7335 didn't check the type of file.
7336 procmsg_move_messages_with_dest(): fixed a bug that failed to
7337 move message if a directory that had the same name existed.
7338 * src/utils.c: is_ascii_str(): modified so that '\t', ' ', '\r', '\n'
7339 are included as ASCII characters.
7344 src/procmime.[ch]: modified so that it actually works when using
7346 * src/codeconv.[ch]: added conv_codeset_strdup() that converts
7347 the codeset of string according to the codeset specified in
7349 * src/utils.[ch]: added is_ascii_str() that determines whether the
7350 string is 7bit-ASCII or not.
7352 src/codeconv.[ch]: moved the character set related functions
7354 * merged the patch and the manual written by BONAIM (thanks!).
7364 src/unmime.[ch]: applied the patch from Higuchi that utilizes
7365 libjconv and enables to handle many locales, including UTF-8
7366 (Unicode) (thanks!).
7367 * src/account.c: modified so that the account isn't changed when
7368 another account is selected on account edit dialog.
7372 * src/prefs_common.[ch]
7373 src/textview.c: added an option that specifies whether to display
7374 short headers on message view.
7375 * src/codeconv.[ch]: added function conv_unmime_header() that
7376 decodes MIME-encoded header and converts the character set.
7377 And added conv_unreadable_latin(), and modified conv_latintodisp().
7378 * src/messageview.[ch]: made the window get closed when escape key
7383 * src/imageview.c: fixed a bug that caused segmentation fault if
7384 message view was in new window.
7385 * src/prefs_common.c: added `xemacs %s' to the external editor
7392 * src/summaryview.c: enabled to open a new message window with
7394 * src/prefs_common.[ch]
7395 src/messageview.c: made it preserve the window size of message
7397 * src/prefs_account.c: added `None (local)' to the option menu of
7402 * Makefile.am: added autogen.sh to EXTRA_DIST.
7406 * src/prefs_common.c: applied the patch from Paul Rolland that
7407 enables font selection dialog (thanks!).
7409 src/utils.[ch]: moved tzoffset() and compose_get_date() of
7410 compose.[ch] into utils.[ch].
7411 * src/main.[ch]: renamed the name of filter file to `filterrc'.
7416 src/utils.[ch]: modified address parsing routine so that it
7417 parses quotes correctly.
7418 * src/textview.c: textview_show_part(): modified so that it shows
7419 the simplified headers if the part is text/plain.
7423 * src/messageview.[ch]
7424 src/summaryview.[ch]
7425 src/mainwindow.c: enabled to open a message in new window.
7426 * src/messageview.[ch]
7429 src/imageview.[ch]: added destroy function, and modified the
7430 key handling routines.
7434 * src/socket.c: sock_connect_by_getaddrinfo(): fixed a bug that
7435 caused segmentation fault (thanks to KUROSAWA).
7436 * src/alertpanel.c: modified so that the focused button is
7440 src/folderview.c: modified so that the order of the buttons of
7441 alert panel will be `Yes', `No'.
7445 * src/utils.[ch]: added execute_async() and execute_command_line()
7446 that execute command line using execvp().
7449 src/procmsg.c: replaced system() with execute_command_line()
7451 * src/procmsg.c: turn back to system().
7452 * src/utils.c: modified execute_command_line().
7456 * src/mainwindow.c: main_window_get_size(): modified so that it
7457 doesn't update the height of SummaryView if MessageView is
7459 * src/compose.[ch]: applied the patch from NAKAGAWA that fixes some
7460 probrems of external editor handling (thanks!).
7462 src/procmime.[ch]: applied the patch from Hiramatu that make it
7463 supports Content-Transfer-Encoding: x-uuencode (thanks!).
7468 src/prefs_common.[ch]: implemented the external editor faculty.
7469 * src/compose.c: compose_attach_property(): fixed some bugs on
7470 changing the property of attached file.
7471 * src/compose.c: fixed some bugs of external editor functions.
7478 src/prefs_common.[ch]
7479 src/summaryview.c: applied the patch from Paul Rolland that
7480 restores the size of widgets when restarting (thanks!).
7482 src/prefs_common.[ch]
7483 src/summaryview.c: applied the patch from Paul Rolland that saves
7484 the width of CTree columns (thanks!).
7488 * src/headerview.c: modified the height of HeaderView.
7489 * src/textview.c: textview_show_part(): made it process the message
7490 as normal text if it is single-part RFC822 message.
7492 src/summaryview.c: some changes around the key handling.
7493 * src/prefs_common.[ch]: substituted the word `assort' with `filter'.
7497 * src/codeconv.[ch]: added conv_latintodisp() for ISO-8859-1 support.
7498 * src/procheader.c: procheader_get_one_field(): fixed a bug that
7499 caused segmentation fault if the first line of the file is space
7500 or tab (thanks to Hiramatu).
7501 * src/mimeview.c: mimeview_drag_data_get(): modified so that the
7502 filename doesn't include G_DIR_SEPARATOR (thanks to Hiramatu).
7503 * src/prefs_account.c
7504 src/prefs_common.c: modified the dialog size.
7505 * src/prefs.c: made the dialog window growable.
7511 * configure.in: removed unnecessary AC_CHECK_FUNC(gettext) that
7512 caused the failure of the detection of libintl.
7514 src/prefs_common.c: implemented `not contain', and modified for
7516 * src/imageview.c: changed alertpanel_error() to g_warning() so that
7517 it doesn't grab mouse events.
7518 * src/compose.[ch]: added compose_list that holds the list of
7519 Compose objects, and added the function compose_get_compose_list().
7522 src/summaryview.c: made it confirm if composing message exists.
7526 * src/compose.c: compose_reply_set_entry(): fixed a bug that caused
7527 segmentation fault when trying to reply the message in the queue
7528 folder (thanks to Kotobuki).
7529 compose_attach_property(): modified the property dialog routine
7530 so that it can handle input error.
7531 * src/mimeview.c: applied the patch from Hiramatu that enables
7532 the drag 'n drop from MimeView (thanks!).
7533 * src/headerview.[ch]
7535 src/procmsg.h: applied the patches for X-Face support from
7536 HIROSHIMA (thanks!).
7540 * src/compose.c: compose_attach_property(): modified so that the
7541 property dialog can actually change the property of attached file.
7546 src/Makefile.am: updated for gdk_imlib.
7547 * added AUTHORS and NEWS.
7550 src/Makefile.am: modified so that configure auto-detects gdk-pixbuf
7551 and gdk_imlib library. And fixed a bug on IPv6 detecting.
7552 * src/imageview.c: supported gdk-pixbuf.
7556 INSTALL.jp: added the mention about built-in image view.
7557 * configure.in: modified so that configure can disable gdk-pixbuf
7558 or/and gdk_imlib library.
7562 * src/imageview.[ch]
7564 src/messageview.[ch]
7565 src/mimeview.[ch]: applied the patches from HIROSHIMA that enables
7566 to display image (thanks!).
7572 * src/summaryview.c: summary_assort_func(): modified to avoid
7573 `not receive' setting.
7577 * src/filesel.c: applied the patch from HIROSHIMA that makes it
7578 remember previous directory when opening the dialog (thanks!).
7579 * src/summaryview.[ch]: added a function summary_redisplay_msg().
7580 * src/mainwindow.c: set_charset_cb(): made it redisplay the message
7581 that is currently shown when the character set is changed.
7585 src/filter.h: applied the patch from Tanaka that enables not to
7586 receive specified messages according to the sorting rule (thanks!).
7590 * src/procmsg.[ch]: added MSG_MIME to the type MsgFlags. And modified
7591 so that it handles MSG_MIME flag, and it scans uncached messages
7592 when cache reading failed even if it is specified not to scan
7594 * src/procheader.c: procheader_parse(): added the determination of
7595 multipart MIME message.
7596 * src/main.h: increased CACHE_VERSION.
7597 * src/summaryview.[ch]: added the `MIME' column that shows whether
7598 a message is multipart or not.
7599 * src/prefs_common.[ch]: added the `MIME' column to the setting of
7601 * added src/pixmaps/clip.xpm.
7603 src/procmsg.[ch]: modified so that it prompts the print command
7608 * src/folderview.c: folderview_create()
7609 src/summaryview.c: summary_create():
7610 src/addressbook.c: addressbook_create(): set the expander style of
7611 CTree to GTK_CTREE_EXPANDER_SQUARE.
7612 * src/compose.c: modified the interface of property dialog.
7616 * src/compose.c: added property dialog for attached file.
7620 * src/procmsg.[ch]: added a function procmsg_print_message() that
7621 prints the given message.
7622 * src/summaryview.c: summary_print(): modified so that it prints
7623 all selected messages.
7624 * src/folderview.c: folderview_select_node(): fixed a bug that
7625 didn't focus on folder tree if inbox was empty when incorporating.
7631 * src/prefs_commmon.[ch]: added `Other' tab and an option for
7632 printing. And moved external browser option to there.
7634 src/summayview.[ch]: added print menu and implemented print
7639 * src/prefs_account.c: made the default value of smtp_server to
7641 * src/folderview.c: folderview_update_msg_num(): modified so that
7642 it doesn't emphasize trash folder even if it has new or unread
7647 * src/filesel.c: filesel_select_file(): (perhaps) fixed a bug that
7648 caused segmentation fault when file selection dialog was closed
7649 and other dialog was open immediately.
7653 * src/compose.c: compose_encode_header(): fixed a bug that caused
7654 infinite loop if wctomb() failed.
7660 * src/mimeview.c: enabled to open an attached file with double click
7661 and popup menu. And cleaned up the code.
7662 * src/procmime.[ch]: added a function procmime_get_part() that
7663 saves the part of multipart message.
7669 src/prefs_common.[ch]
7671 src/utils.[ch]: applied a patch that enables to launch attached
7672 image, audio, and HTML file (thanks to Hashimoto).
7673 * src/filter.c: filter_match_condition(): fixed a bug that caused
7674 segmentation fault if the body of specified filter is NULL. And
7675 made the filter considered as being matched on that case.
7679 * src/summaryview.c:
7680 summary_save_as(): fixed a bug that unabled to save news articles.
7681 summary_display_msg(): added exclusive lock to prevent it from
7682 reading another news article while it is already processing one.
7683 * src/gtkutils.[ch]: added gtkut_widget_wait_for_draw() that waits
7684 the draw signal to be emitted.
7686 main_window_cursor_wait()
7687 main_window_cursor_normal(): added gdk_flush() to change cursor
7690 libkcc/Makefile.am: added EXTRA_DIST for `make dist'. And added
7691 a target `release' to Makefile.am.
7695 * src/socket.c: supported IPv6.
7697 acconfig.h: added checking for IPv6.
7698 * prefs_common.c: changed the default of toolbar_style to icon only.
7702 * initial cvs import.
7703 * updated README and README.jp.
7709 * src/procmime.[ch]: modified the structure of MimeInfo so that it
7710 can be handled as a node of tree.
7711 Added procmime_mimeinfo_free_all() that frees all of the MimeInfo
7713 Added procmime_get_text_part() that scans a message and gets a text
7715 * src/mimeview.c: divided mimeview_scan_multipart_message() into
7716 procmime_scan_multipart_message() and mimeview_set_multipart_tree().
7717 * src/compose.c: compose_quote(), compose_forward():
7718 made it quote the text part of multipart message properly.
7719 Made it preserve the size of Compose window.
7720 * src/prefs_common.[ch]: added compose_width and compose_height to
7722 * src/textview.c: textview_show_part(): some code cleanups.
7723 * src/codeconv.[ch]: added a function conv_get_code_conv_func().
7729 * src/codeconv.[ch]: fixed a bug that showed garbage characters if
7730 the return code of the message was CR+LF. And added
7732 * src/summaryview.c: summary_attract_by_subject(): made it move
7733 the current view point to the selected row when executed.
7734 * src/textview.c: textview_show_part(): modified the character set
7735 determination routine.
7736 * src/folderview.c: folderview_update_msg_num(): fixed a bug that
7737 caused segmentation fault if boldfont was NULL.
7738 * src/compose.c: compose_create(): made it sets itself as the target
7739 of addressbook on window creation.
7743 * src/compose.c: compose_send(): fixed a bug that didn't save
7744 queued message to outbox when failed to send the message (thanks
7749 * src/inc.[ch]: modified so that it changes error message dialog
7750 depending on the results.
7754 * src/mainwindow.c: main_window_create(): set usize of account
7755 button on the status bar to 1 so that it doesn't get expanded
7756 more than necessary.
7757 * src/account.[ch]: account_foreach(): made it abort the iteration
7758 if the function returns nonzero.
7760 src/pop.c: modified so that it shows error message dialog if the
7761 message processing is failed.
7767 * src/mainwindow.c: made it popup account selection menu when
7768 account tool button or account status bar is pressed.
7770 src/prefs.c: suppressed the ENOENT perror messages.
7771 * src/pop.c: made it fall back on LAST command if UIDL failed.
7775 * src/procheader.c: procheader_parse(): fixed a bug that didn't
7776 parse References: header correctly (thanks to YAMAGUCHI).
7782 * src/compose.c: compose_reply_set_entry(): fixed a bug that didn't
7783 cc'd correctly when replying.
7785 src/summaryview.c: sorted out the main menu and the popup menu.
7791 * src/prefs_account.[ch]
7792 src/compose.c: made it be able to set Cc:, Bcc:, and Reply-To:
7793 automatically at composing (thanks to NAKAGAWA).
7797 * src/prefs_common.[ch]
7799 src/main.c: made it selectable whether to ask before cleaning
7801 * src/prefs_common.c: cleaned up the code and the interface a bit.
7802 * src/summaryview.c: modified the unthread functions for speeding
7807 * src/prefs_common.[ch]
7808 src/summaryview.c: made it display recipient on the `From' column
7809 if the address of the sender is the same as the current account
7810 (thanks to NAKAGAWA).
7811 * src/utils.[ch]: added a function extract_address() that extracts
7812 the address from `From:' header string.
7813 * src/mainwindow.c: allsel_cb(): fixed a bug that caused segmentation
7814 fault if `Edit/Select all' was selected when the message view was
7815 hidden (thanks to Tomita).
7819 * src/summaryview.c: modified execution routine so that it only
7820 unthreads nodes that are needed to be unthreaded.
7824 * src/news.c: news_session_get(): implemented the reconnection on
7826 * src/nntp.[ch]: added nntp_mode().
7830 * src/mbox.c: fixed a bug that didn't close mbox FILE pointer.
7831 And support assortment on processing mbox.
7832 * src/inc.c: inc_drop_message(): modified so that it uses hash table
7833 to store the last message number of folders.
7835 src/addressbook.c: modified the behavior of CTree at right-click.
7836 * src/pop.c: pop3_getrange_uidl_recv(): fixed a potential buffer
7837 overflow bug (thanks to Nishiyama).
7844 src/inc.[ch]: implemented management of read message on POP server
7846 * src/utils.[ch]: removed (s)list_remove_all() because it can be
7847 replaced with g_(s)list_free().
7848 * src/summaryview.c: modified the arrangement of menu a bit.
7849 * src/summaryview.c: summary_status_show(): made it doesn't display
7850 server name but newsgroup.
7851 * src/prefs_common.c
7852 src/prefs_account.c: adjusted the calculation routine of dialog
7859 * src/compose.c: compose_reply_set_entry(): modified so that it
7860 cc's to the all addresses on To: and Cc: of the replied message.
7861 And swapped the position of Subject: and To: entry.
7865 * src/procheader.c: modified so that it can handle headers that
7866 aren't separated by space.
7867 * src/socket.c: sock_connect(): added a wait after connection to
7868 prevent lockup (thanks to NINOMIYA).
7874 inc_all_account_mail(): fixed a bug that caused segmentation
7875 fault if no account exist.
7876 * src/mainwindow.[ch]: made receive button unclickable when
7878 * src/compose.c: compose_queue(): fixed a bug that didn't mark
7879 queued message properly.
7880 * src/utils.[ch]: separated code conversion functions into
7887 * src/mimeview.c: mimeview_save_as()
7888 src/summaryview.c: summary_save_as(): made it ask whether to
7889 overwrite the existing file.
7900 src/mbox.c: fixed a bug that failed to check write error when
7901 disk was full and caused the loss of the file.
7905 * src/mainwindow.c: main_window_clean_trash(): made it move focus
7906 to folder view when finished.
7907 * src/utils.[ch]: added code conversion functions for display.
7908 And added strncpy2() that doesn't do zero fill and does
7909 null-termination, unlike original strncpy().
7910 * src/textview.c: modified so that it changes the code conversion
7911 function according to charset. And supported charset=SHIFT_JIS.
7914 src/textview.c: made it possible to force character set of
7916 * src/folderview.c: folderview_select_next_unread():
7917 made it search unread folder from begin if it isn't found.
7923 * src/mainwindow.c: fixed a probrem again that main window was
7924 stretched to the width of the toolbar.
7926 src/utils.c: is_header_line(): modified so that it recognizes
7927 a header which doesn't have a space after colon (thanks to Hotta).
7928 * src/filter.c: added `#include <strings.h>'.
7929 * src/smtp.c: replaced snprintf() with g_snprintf().
7930 * src/Makefile.am: added `-I$(top_srcdir)/intl' to INCLUDES for
7932 * included sylpheed.spec.
7936 * src/prefs_common.[ch]: enabled to set the pixels of line space
7937 and decide whether to leave space on head of lines.
7938 * src/summaryview.c: modified so that it clears message view
7939 when displayed message is removed from the summary view.
7940 * src/mimeview.c: fixed a bug that caused infinite loop if
7941 terminal boundary of multipart message was not found (thanks to
7943 * src/folderview.c: folderview_scan_mailbox(): made it ignore
7945 * src/main.c: made it show warning dialog and exit if the file with
7946 the same name already exists when creating directory.
7951 src/prefs_common.[ch]: made it possible to leave space between
7952 and on head of lines.
7957 src/procmime.[ch]: made it scan /etc/mime.types and determine
7958 the MIME type of the attached file.
7959 * src/summaryview.c: made it clear message view if the summary
7960 is unselected on the execution, and made it move focus to
7961 folder view if the folder becomes empty.
7962 * src/mainwindow.c: fixed a probrem that main window was stretched
7963 to the width of the toolbar.
7964 * src/inc.c: fixed a bug that caused multiple gtk_main() event loop
7965 if `Check new mail on startup' was set.
7969 * src/compose.c: fixed a probrem that had been unable to insert
7970 a file to the current cursor position.
7976 * src/compose.[ch]: added `attach' button to the toolbar. And
7977 replaced the icon of `insert' to the new one.
7981 * src/mainwindow.[ch]: added `Execute' to the toolbar. And added
7982 a function main_window_set_toolbar_sensitive() that sets the
7983 sensitivity of the button of the toolbar.
7984 * src/compose.c: fixed a bug that output wrong header if
7985 a return code was included in the string of the text entry.
7989 * src/mainwindow.[ch]: added `Delete' to the toolbar and the menu.
7990 And added the same items in popup menu to the main menu.
7991 * src/utils.[ch]: added functions for DnD support.
7992 * src/compose.c: implemented file attachment and insertion with DnD
7993 (thanks to Hiramatu).
7999 * src/summaryview.c: fixed a bug that passed null pointer to
8004 * src/alertpanel.[ch]: added functions alertpanel_message(),
8005 alertpanel_notice(), and alertpanel_error(), and cleaned up
8011 src/summary_search.c
8013 src/foldersel.c: made them use alertpanel_error(),
8014 alertpanel_warning() or alertpanel_notice() for error message
8016 * src/summaryview.[ch]: enable sorting in reversed order.
8017 * src/inc.c: made it show error message dialog when failed to
8018 connect or authorize.
8019 * src/utils.h: added a macro FILE_OP_ERROR() and replaced many
8026 * src/compose.c: fixed a bug that didn't save a message to outbox
8028 * src/send.c: send_message_queue(): fixed a bug that included
8029 headers for queueing in the parsed data.
8030 * src/mainwindow.c: send_queue_cb(): made it pop statusbar message
8031 and update queue folder when finished.
8039 src/compose.c: suppressed the warning messages.
8040 * src/mainwindow.[ch]: added next unread message button and menu
8042 * src/summaryview.[ch]: added a function summary_select_next_unread()
8043 that selects and opens next unread message.
8047 * src/prefs_common.[ch]: added a setting to decide whether to open
8048 unread message on entering a folder.
8049 * src/summaryview.c: made it open the first unread message only if
8050 the preference is set.
8051 * src/compose.c: fixed a bug that freed the string obtained from
8056 * src/compose.c: added `Send later' to the menu and the toolbar
8057 which queues the message to send it later.
8061 * src/mainwindow.c: added an interface to resend the queued message.
8062 * src/compose.c: made it show alert dialog when a message will be
8067 * src/procmsg.[ch]: added function procmsg_send_queue() that calls
8068 send_message_queue() for each queued messages.
8072 * src/inc.c: inc_drop_message(): modified so that it drops a message
8073 to the default inbox folder if destination folder doesn't exist.
8074 * src/compose.[ch]: added imput compatible queueing header to the
8076 * src/send.[ch]: added function send_message_queue() that send
8082 acconfig.h: made it enabled to decide wheter to use multithread
8083 or not on configure.
8084 * src/summaryview.c: fixed a bug that made thread when executed
8085 despite of the setting (thanks to Hiroshima).
8086 * src/socket.[ch]: changed the return value of public
8087 sock_connect_*() function to the pointer to SockInfo object.
8088 * src/procmime.c: procmime_scan_mime_header():
8089 fixed a bug that returned NULL if the scanned part had no header
8090 (thanks to shigeri).
8091 * src/procmime.[ch]:
8092 added function procmime_scan_content_disposition() that parses
8093 Content-Disposition header field.
8094 * src/mimeview.c: made it uses filename value in Content-Disposition
8097 * src/inc.c: modified so that password is prompted if the password
8098 on preferences is empty and previous POP3 session has failed on
8103 * src/socket.[ch]: added non-blocking IO mode socket and
8104 multithreaded connection support.
8105 * src/inc.c: supported multithread connection.
8109 * src/folderview.c: made the focus of SummaryView grabbed when
8110 a folder is selected only if the messages exist.
8116 * po/ja.po: fixed a bug that head `/' of a menu label was missing
8117 and caused segmentation fault when opened Compose window.
8123 * src/utils.c: get_domain_name(): modified so that it uses
8125 * src/mimeview.c: added key binds for `Save as' and
8130 * src/recv.c: fixed a bug that failed to return error value
8131 when fputs() failed and caused the loss of received mails when
8132 disk space was not left (thanks to Tajiri).
8133 * src/compose.c: supported Reply-To.
8134 * src/mimeview.c: improved key operation interface.
8140 src/textview.[ch]: supported nested multipart message and
8142 Supported encapsulated RFC822 message.
8146 * src/compose.[ch]: made it free the alloc'd memory for attach
8147 information when the compose window is destroyed.
8148 Placed the attachment list and the text widget onto the paned
8150 Enabled cut/copy/paste/select all on all of the editable widgets.
8151 Implemented removal of attached file and popup menu on attachment
8153 * src/prefs_common.[ch]: added signature separator setting.
8154 * src/alertpanel.[ch]: added a function alertpanel_warning().
8158 * src/prefs_common.[ch]
8159 src/textview.c: made open URI command customizable.
8160 * src/compose.[ch]: implemented multipart MIME message composition
8161 (attachment of file).
8163 src/compose.c: fixed a bug that didn't turn off the GTK+ theme
8170 * src/summaryview.c: added key binds for composing message
8171 (w, a, A, f). Also added other key binds (y, D, Q).
8172 * src/compose.c: made Cc entry take over the Cc of the replied
8174 * src/pixmaps/new.xpm
8175 src/pixmaps/unread.xpm: replaced pixmap image.
8176 * src/procheader.c: procheader_date_get_localtime():
8177 changed the single figures of year from four to two.
8181 * src/inc.c: made it ask password if it is not specified on account
8183 * src/prefs_account.h: added member tmp_pass to struct PrefsAccount
8184 that preserves the temporary password.
8185 * src/inputdialog.[ch]: added function input_dialog_with_invisible()
8186 that prompts input with the string hidden.
8190 * src/compose.c: fixed a bug that didn't turn off the GTK+ theme
8191 engine if message font wasn't specified.
8197 * src/summaryview.c: fixed a bug that stderr was forgotten on
8204 * src/pop.c: fixed a problem that if some POP3 commands returned
8205 error, the previous operations were all cancelled.
8207 src/textview.c: made workaround to the slow down of GtkText widget
8208 when using Pixmap theme or its derivatives.
8212 * src/inc.c: fixed a bug that caused X IO error when exec'd
8213 nonexistent program.
8217 * src/folderview.[ch]: added the member `mtime' to the struct
8219 * src/summaryview.c: made the mtime of the folder checked that is
8221 * src/procmsg.c: added filesystem unchecking mode.
8225 * src/textview.[ch]: implemented clickable URI (thanks to BONAIM).
8226 And made `X-Mailer:' header emphasized if it contains `Sylpheed'.
8230 * src/summaryview.c: summary_write_cache(): permission fix of
8237 * src/headerview.c: added headerview_clear() method.
8238 * src/messageview.c: fixed a bug that didn't clear HeaderView
8239 on messageview_clear().
8246 src/textview.c: added *_clear() method.
8247 * src/summaryview.c: made it clear MessageView when new folder
8252 * src/inc.c: fixed a bug that went to the inbox that was specified
8253 by each account when incorporating from all accounts.
8254 * src/compose.c: made it confirm whether to discard the message or
8255 not when the window will be closed.
8262 src/inc.[ch]: re-supported APOP authentication.
8263 * src/prefs_account.c: fixed a bug that had't saved protocol type.
8265 src/statusbar.h: attached G_GNUC_PRINTF() to printf() like
8267 * src/progressdialog.[ch]: changed the name of class from Progress
8272 * src/summaryview.c: fixed a bug that caused segmentation fault
8273 a news folder was selected without using ja message catalog.
8274 * src/utils.h: attached G_GNUC_PRINTF() to printf() like functions.
8275 * src/Makefile.am: added `-DG_LOG_DOMAIN=\"Sylpheed\"' to
8280 * src/automaton.[ch]
8282 src/pop.[ch]: re-implemented POP3 fetching routines using
8283 finite-state automaton model (thanks to Hiramatu).
8284 * src/inc.c: fixed a bug that caused unwilled quitting of program
8285 when connection to mail server failed. And fixed a memory leak bug.
8286 * src/summaryview.c: made the focus move to FolderView when left
8287 cursor key is pressed.
8291 * src/textview.c: textview_write_line(): modified quotation
8292 discerning routine a bit.
8298 * src/procmime.[ch]: moved MIME decorder from src/textview.c to
8300 * src/mimeview.[ch]: implemented saving of multipart message. And
8301 supported MIME encoded file name.
8302 * src/summaryview.c: implemented `Save as'.
8306 * src/prefs_common.[ch]: implemented an interface for setting the
8307 display item of SummaryView.
8309 src/account.c: made the column titles of those don't take key
8314 * src/textview.c: implemented BASE64 decoding and display.
8318 * src/prefs_common.[ch]: added members which decide whether
8319 each item of SummaryView is displayed or not.
8320 * src/headerwindow.c
8321 src/logwindow.c: made those windows closed when escape key is
8323 * src/headerview.c: disused ScrolledWindow.
8324 * src/base64.c: from64tobits(): modified so that it recognize '\n'
8325 as the last of line as well as '\r'.
8329 * src/headerview.c: disabled word wrap and line wrap of the text
8336 * src/prefs_common.c: prefs_assort_create(): added some headers
8337 to the default headers for assortment.
8341 * src/procmsg.c: fixed a bug that caused segmentation fault if
8342 the permission of a message was denied on parsing the header
8343 (thanks to wakai@UEC univ.).
8344 * src/mimeview.c: made it pass key press event to SummaryView.
8349 src/alertpanel.c: modified font specifications so that they match
8351 * src/utils.[ch]: added wide-character functions for FreeBSD support.
8352 Added the existence check of <wchar.h>.
8354 configure.in: added wint_t and libxpg4 check for FreeBSD support.
8355 * src/unmime.c: modified so that it checks the existence of
8357 Above three are a contribution from Sasaki. Thanks!
8361 * src/main.h: decreased default height of window.
8365 * src/procmime.c: fixed a bug that eliminated the parenthesis in
8366 attribute value that was double-quoted.
8372 * src/mimeview: implemented multipart message parser and display.
8373 * src/procmime.c: procmime_scan_content_type():
8374 supported multiple elements.
8375 * src/textview.c: supported multipart message and clean up the code.
8379 * src/summaryview.c: added size column and sorting by size.
8380 * src/mainwindow.c: added `Sort by size' to sort menu.
8381 * src/procmime.c: fixed a bug that caused buffer overrun and
8383 * src/procmime.c: generalized Content-Type parsing.
8389 * src/textview.c: supported MIME headers and
8390 Content-Transfer-Encoding: quoted-printable.
8394 * src/messageview.[ch]
8395 src/textview.[ch]: separated MessageView into two classes.
8396 * src/procmime.[ch]: added for MIME message handling.
8400 * src/mimeview.[ch]: added for MIME message handling.
8401 * configure.in: added wctype.h and wchar.h existence check.
8406 src/procheader.[ch]: some code cleanups.
8407 * src/messageview.[ch]: integrated HeaderView.
8415 * src/addressbook.c: Made the tree sorted when folder/group is
8417 * src/xml.c: xml_compare_tag(): fixed a bug that caused segmentation
8418 fault if the current tag was empty.
8419 * src/mainwindow.c: made the state of MainWindow saved.
8425 * src/addressbook.c: fully implemented address group editing.
8426 Fixed a bug that wrongly confirmed deletion of address when
8427 escape key was pressed on alert dialog.
8431 * src/addressbook.c: added menu bar. And enabled hierarchical
8433 * src/prefs_account.c: modified so that it allows not to specify
8435 * src/inc.c: inc_account_mail(): modified so that if receiving
8436 server isn't specified, it does nothing.
8442 * src/addressbook.c: almost fully implemented addressbook functions.
8446 * src/compose.c: fixed a bug that caused segmentation fault when
8447 `File->Insert file' was selected more than twice.
8453 * src/addressbook.[ch]: implemented creation of new folder and group,
8454 and deletion of folder and group. And fully implemented
8455 addressbook_delete_object() which deletes the specified object
8460 * src/addressbook.c: implemented registration of address and multiple
8461 appending to Compose address entry.
8462 * src/menu.[ch]: added a function menu_set_insensitive_all() that
8463 turn all menu items insensitive.
8464 * src/folderview.c: some code cleanup.
8469 src/prefs_common.c: fixed a bug on getting the number of CList
8476 * src/folderview.c: fixed a bug that caused warnings when tree was
8477 expanded/collapsed on the first operation.
8481 * src/addressbook.c: addressbook_list_selected(): made it be able
8482 to handle multiple address.
8483 * src/compose.c: modified so that when Bcc: is toggled, corresponding
8484 AddressBook also toggle it.
8486 main_window_create(): moved gtk_widget_set_uposition() before
8487 gtk_widget_show() so as not to cause window flickering.
8488 main_window_get_position(): replaced gdk_window_get_position()
8489 with gdk_window_get_root_origin() to acquire correct window
8490 position (Thanks to shigeri for these modifications).
8494 * src/filesel.c: made it selects home directory on the first time
8499 * src/utils.c: conv_mb_alnum(): modified so that it uses character
8501 * src/foldersel.c: made the folder tree take focus when the dialog
8508 * src/addressbook.c: implemented addressbook_export_to_file() and
8514 src/addressbook.c: fixed the variable name for attribute.
8515 * src/prefs_common.[ch]: added a member `conv_mb_alnum'.
8516 * src/utils.[ch]: added conv_mb_alnum() that converts multi-byte
8517 alphabet and numeric into single-byte one.
8518 * src/messageview.c: messageview_show(): made it pass conv_mb_alnum()
8519 when conv_mb_alnum flag is on.
8525 * src/compose.c: modified so that when Addressbook is open by a
8526 Compose and it is closed, target of Addressbook is reset.
8527 * src/addressbook.c: made it work with Compose.
8531 * configure.in: AM_PATH_{GLIB, GTK}: raised the required version of
8532 GTK+ and GLIB to 1.2.6.
8533 * src/xml.[ch]: more implementation of XML parser.
8534 * src/addressbook.c: implemented addressbook parsing and displaying
8539 * src/folderview.c: folderview_scan_folder(): modified so that if
8540 a folder's message number is zero, set new, unread and total number
8545 * src/xml.[ch]: added for XML handling used by addressbook.
8546 * src/folderview.c: modified so that Trash folder is skipped
8547 when an unread folder is selected automatically by space key.
8551 * src/summaryview.c: fixed a bug that cursor was turned into watch
8552 forever when a newsgroup was selected.
8560 * src/mainwindow.[ch]: implemented counting on setting cursor
8561 type. And modified the menu of `thread view' and `unthread view'.
8562 * src/summaryview.c: enabled thread-toggling on opening folder.
8563 * src/prefs_common.[ch]: added a member `enable_thread' to determine
8564 whether summary view builds thread or not when a folder is open.
8568 * src/summaryview.c: modified popup sensitivity function a bit.
8574 * src/addressbook.[ch]: more implementation of the interface of
8576 * src/compose.c: connected to addressbook object.
8577 * src/folderview.[ch]: folderview_compare_path():
8578 modified so that absolute path is correctly compared.
8579 And added folderview_select_node().
8580 And modified folderview_scan_folder() so that it update the summary
8582 * src/import.c: made it update folder tree when imported mbox.
8583 * src/summaryview.c: modified according to the changes of
8584 folderview.c. And modified so that it display alert dialog if
8585 source folder is identical to destination.
8586 added summary_set_popup_sensitive() that set the sensitivity of
8587 popup menu according to the context. And made all of the items of
8588 popup menu insensitive when summary is cleared.
8589 * src/procmsg.c: procmsg_move_messages_with_dest():
8590 modified so that if source folder is identical to destination,
8592 * src/summary_search.c
8593 src/manage_window.c: modified so as not to print warning to console
8594 when alert dialog appeared twice.
8595 * src/filesel.c: made file selection dialog transient.
8599 * src/manage_window.[ch]: added callback function
8600 manage_window_focus_out().
8606 src/summary_search.c: added focus_out_event signal handler.
8607 * src/addressbook.[ch]: added preliminary addressbook code.
8611 * src/utils.h: added a macro Xalloca() that does alloca() and
8612 handles the exception.
8613 * src/import.c: made the import dialog transient window and enabled
8614 cancelling by escape key.
8620 * src/compose.c: fixed a bug that caused memory leak when compose
8625 * src/nntp.h: increased NNTP message buffer size for XOVER strings
8630 * src/summaryview.c: binded step-forward and step-backward to each
8631 Control-n and Control-p.
8632 * src/filter.c: filter_read_str(): fixed a memory leak bug and
8633 replaced g_malloc() for allocating the buffer with alloca().
8634 * src/procheader.c: procheader_get_fromname(),
8635 procheader_date_get_localtime()
8636 src/utils.c: conv_euctojis()
8637 src/compose.c: compose_quote_parse_fmt()
8638 src/prefs.c: prefs_set_data_from_text()
8639 prefs_set_text(): replaced g_malloc() with alloca().
8645 * src/logwindow.c: improved log_window_append() so that it shows
8646 warning, error and normal message with different colors.
8647 * src/utils.[ch]: added functions log_message(), log_warning(), and
8648 log_error() that show normal message, warning, and error for each.
8649 And modified many warning messages to use these.
8650 * src/messageview.c: messageview_init(): made it set colors of
8651 quotation and URI to black when failed to allocate colors.
8652 * src/news.c: news_parse_xover(): replaced g_malloc() for allocating
8653 the buffer with alloca().
8657 * src/folderview.c: fixed a bug that didn't put previously selected
8658 folder name in text entry. In addition to that, made some
8665 * src/logwindow.[ch]: added log window that displays protocol log.
8666 * src/about.c: adjusted the size of dialog.
8667 * src/folderview.c: made it select a folder when double-clicked.
8671 * src/prefs_common.[ch]: added an item `translate_header' that
8672 decides whether header name like `From:' or `Subject:' is
8674 * src/compose.c: made it show alert dialog when receiptor isn't
8676 * src/inc.c: some code cleanups.
8682 * src/compose.c: made header entries move those focus to next
8683 entry or text widget when activated. And sorted out the menu items.
8684 * src/mainwindow.[ch]
8685 src/prefs_common.[ch]
8686 src/main.c: made it save the sizes of widgets and the position of
8687 window when quitting.
8688 * src/prefs_common.c: set a14, k14 fontset as default message font.
8689 * src/about.c: changed the appearance of about dialog using text
8691 * src/recv.c: modified recv_write() so that it converts an escaped
8698 * src/compose.[ch]: supported Bcc.
8704 * src/utils.[ch]: added function to_number() that examines string
8705 and if that is a number string, return its value.
8706 * src/procmsg.c: fixed a bug that caused malfunction when non-digit
8707 character was included in file name.
8713 * src/folderview.c: fixed a bug that caused segmentation fault
8714 when opened folder node was deleted (thanks to Hiramatu).
8715 And implemented folderview_rm_server_cb() which removes news server.
8716 * src/mbox.c: modified a warning message.
8720 * version 0.2.0alpha-pre8
8722 * src/mainwindow.c: inc_all_account_mail_cb(): made it select inbox
8723 folder to prevent the probrem when current folder is updated.
8724 * src/summaryview.c: summary_execute(): made it write to summary
8725 cache when executed.
8729 * version 0.2.0alpha-pre7
8731 * src/utils.[ch]: added path_cmp() that compares two paths ignoring
8732 trailing directory separator.
8733 * src/folderview.[ch]
8734 src/summaryview.[ch]: modified so that folder tree is updated
8735 when messages are moved or deleted.
8736 * src/inc.c: some code cleanup.
8740 * version 0.2.0alpha-pre6
8742 * src/utils.[ch]: added get_domain_name() that return domain
8743 name as a static string.
8744 * src/compose.c: compose_generate_msgid(): modified so that even
8745 if current address doesn't contain '@', it generates a decent
8747 * src/send.c: some code cleanup.
8751 * src/folderview.c: modified the behavior of folder tree when
8752 the folder is right-clicked.
8753 * src/compose.c: compose_encode_header(): added irresponsible
8754 buffer overrun check.
8758 * version 0.2.0alpha-pre5
8760 * updated gettext and libtool.
8761 * configure.in: modified localedir definition so that message
8762 catalogs are installed into correct directories.
8764 src/mainwindow.c: modified them so that a folder can be reopen
8765 even if it is currently open.
8766 * src/prefs_common.[ch]
8767 src/messageview.c: added an option that toggle the coloration of
8772 * version 0.2.0alpha-pre4
8775 src/messageview.c: fixed a bug that broke memory on allocating
8780 * src/folderview.c: some bug fixes on selecting folder.
8784 * version 0.2.0alpha-pre3
8787 * src/summaryview.[ch]: some code cleanups.
8788 * src/messageview.c: fixed a color allocating bug (maybe).
8792 * version 0.2.0alpha-pre2
8794 * src/folderview.[ch]: made folder view not open selected folder
8795 unless return or space key is pressed, or clicked by mouse
8797 * src/inc.c: some code cleanups.
8798 * TODO.jp: added some items.
8802 * version 0.2.0alpha-pre1
8804 * src/summaryview.[ch]: fixed a bug that broke summary thread
8805 when deleted duplicated messages (thanks to BONAIM).
8806 And some code cleanup.
8807 * src/procmsg.[ch]: renamed procmsg_move_messages() to
8808 procmsg_move_messages_with_dest(), and replaced former with
8809 new function which doesn't specify destination.
8810 * src/prefs_common.c
8811 src/gtkutils.c: some memory leak fixes of linked lists.
8812 * src/utils.[ch]: added list_remove_all() to remove all elements
8813 of doubly-linked list.
8814 * src/inc.[ch]: added inc_all_account_mail() that incorporates
8815 new messages of all accounts.
8816 * src/account.[ch]: added account_foreach() to process each accounts.
8821 * version 0.1.23alpha
8823 * src/inc.c: made the folder tree update the message number
8824 when incorporated new messages.
8825 * src/folderview.[ch]: added a function folderview_scan_folder()
8826 to scan one folder on the view, which is specified by folder name.
8830 * version 0.1.22alpha
8832 * src/prefs_account.[ch]: added the setting of assorting on
8834 * src/inc.c: supported assorting on receiving.
8835 * src/procmsg.c: cleaned up the code.
8836 * src/news.c: fixed a bug that locked up when failed to get xover.
8837 * src/compose.c: made a message unmark that is put into specific
8842 * version 0.1.21alpha
8845 src/summaryview.c: implemented the function 'go to next folder
8846 when no unread message found.'
8847 * src/summaryview.c: made connection state displayed on the
8848 status bar when connecting to a news server.
8849 * src/compose.c: changed X-Mailer: header field string a bit.
8850 * src/prefs_common.c: implemented residual functions of assortment.
8854 * version 0.1.20alpha
8856 * src/prefs_common.c: implemented reading/writing/register/deletion
8857 of assortment setting.
8858 * src/mainwindow.c: slightly modified the appearance of statusbar.
8859 * src/account.c: account_delete(): fixed a bug that didn't assigned
8860 the pointer to GList when an account was deleted.
8864 * src/procmsg.c: procmsg_get_mark_sum(): fixed a bug that failed
8865 to read mark file (thanks to BONAIM).
8866 * src/prefs_common.c: added the interface of assortment setting.
8870 * src/summaryview.c: fixed a bug that didn't redraw marking properly
8871 when displaying an unread message with left-click (thanks to
8876 * src/summaryview.[ch]: added functions for assortment.
8877 * src/about.c: added a button to close window.
8881 * src/procmsg.c: fixed a bug that didn't add news flag correctly.
8882 * src/compose.c: fixed a bug that can't reply to a news article.
8883 * src/filter.[ch]: added for message filtering.
8884 * src/procheader.[ch]: added procheader_get_unfolded_line()
8885 to process filtering. And added procheader_get_header_list()
8886 that reads headers of a message and store them on the memory,
8887 and procheader_header_list_destroy() that removes all headers
8888 read by procheader_get_header_list().
8892 * version 0.1.19alpha
8894 * src/news.c: modified so that it retrieves only overview information
8895 that is not yet cached.
8896 * src/procmsg.[ch]: modified for news handling.
8900 * src/news.c: supported xover.
8901 * src/mbox.c: fixed a bug that didn't handle empty line correctly
8902 (Thanks to shigeri).
8906 * version 0.1.18alpha
8908 * src/procmsg.[ch]: modified some functions so that they can
8910 * src/news.c: added header cache routine.
8911 * src/procheader.c: fixed a bug that caused memory leak when some
8912 header was duplicated.
8913 And added Newsgroups: in parsing headers.
8914 * src/summaryview.c: added news article cache routine.
8915 * src/compose.c: made it be able to reply/forward news article.
8919 * src/compose.c: fixed a bug that failed to parse To: header
8920 if a comma is included in double quotation (Thanks to shigeri).
8921 * src/mbox.c: modified the code for processing mbox so that it
8922 can handle unescaped From_ line correctly.
8926 * version 0.1.17alpha
8928 * src/foldersel.c: fixed a bug that didn't display folder tree.
8929 And added the register routine for news server and group setting.
8933 * version 0.1.16alpha
8935 * src/statusbar.[ch]: added statusbar_puts_all().
8936 statusbar_puts(): made it truncate a string that is too long.
8937 * src/folderview.[ch]: changed CTree's row data from string
8938 to FolderInfo structure.
8939 And implemented popup menu that registers news server and group.
8940 * src/messageview.c: modified short header display routine.
8944 * added src/news.[ch] for NetNews session management.
8945 * src/summaryview.[ch]: added NetNews reading codes.
8950 src/prefs_common.[ch]: made them preserve toolbar style.
8951 * src/main.c: made it save configuration before exiting.
8952 * src/summaryview.c: modified summary status display routine.
8953 * added src/nntp.[ch] for handling low level NNTP session.
8957 * added src/progress.[ch] for displaying progress.
8958 * src/inc.c: modified progress dialog routines to use
8960 * src/folderview.[ch]: added preliminary NetNews supporting code.
8964 * version 0.1.15alpha
8967 src/folderview.c: some permission fixes.
8968 * src/folderview.c: implemented folder creation/renaming/removing.
8969 * src/utils.[ch]: added remove_dir_recursive() that removes
8970 a directory recursively.
8974 * src/mainwindow.[ch]: added toolbar style selection.
8975 * added src/inputdialog.[ch] to prompt user to enter a string.
8976 * src/summaryview.[ch]: modified the behavior of view on
8978 * src/mbox.c: fixed a bug that couldn't lock file when
8979 lockf() was used (Thanks to shigeri).
8983 * version 0.1.14alpha
8985 * src/mainwindow.[ch]: changed the appearance of toolbar.
8986 And fixed window handling.
8987 * src/summaryview.c: modified the messages displayed on status bar.
8988 * src/compose.[ch]: added toolbar.
8989 * src/*.xpm: borrowed some icons from gnome-libs (temporary).
8993 * version 0.1.13alpha
8995 * src/summaryview.c: fixed a bug of threading. And some code
8996 cleanups. And rewrote the routine of deleting duplicated messages
8998 * src/mainwindow.[ch]: added toolbar.
9002 * version 0.1.12alpha
9004 * src/summary_search.c: if the OS don't have wcsstr(), use wcswcs()
9006 * src/summaryview.c: changed CTree creating routine as it creates
9007 thread on the fly for speeding up.
9008 * src/procmsg.c: rewrote message processing routines using hash
9009 table for speeding up. It should be considerably faster than
9014 * version 0.1.11alpha
9016 * po/ja.po: modified msgstr for Solaris standard gettext.
9017 * src/main.c: added config.h inclusion.
9018 * src/compose.c: changed to add replied message's In-Reply-To
9019 message id to References header if it don't have References header.
9020 * src/summaryview.c: changed threading routine to use hash table
9025 * version 0.1.10alpha
9027 * po/ja.po: modified msgstr so as not to core dump on Solaris.
9028 * src/main.c: added inclusion of locale.h.
9029 (Thanks to Sato for above.)
9031 * src/socket.c: applied Solaris patch by shigeri with some
9032 modification. (Thanks!)
9036 * version 0.1.9alpha
9038 * src/compose.c: compose_encode_header(): fixed some bugs.
9039 And modified header generating routines to support proper
9040 References header, and supported Organization header.
9042 src/procheader.c: removed Cc: and Reply-To: from cache data.
9043 * src/procheader.[ch]: renamed header list structure to HeaderEntry.
9044 * src/summaryview.[ch]: summary_thread_func(): some optimization.
9045 And added summary_pass_key_press_event() to pass key press event
9047 * src/messageview.c: messageview_key_pressed(): modified so that
9048 key event is passed to summary view even if message view is
9049 separated. (Thanks to wakai@UEC univ. for pointing this out.)
9053 * version 0.1.8alpha
9055 * src/compose.c: implemented RFC1522, RFC2407 (loosely) compliant
9056 header MIME encoding.
9057 * src/procheader.c: some bug fixes of folded header line processing.
9058 * src/headerview.c: headerview_show(): some bug fixes.
9062 * version 0.1.7alpha
9064 * src/utils.c: conv_euctojis(): fixed a bug that didn't add
9065 kanji-out sequence [ \033 ( B ] when input string was ended
9066 with kanji. (Thanks to Nozomu Kobayashi for pointing this out.)
9067 * src/compose.c: compose_encode_header(): changed as it outputs
9068 encoded string to another buffer.
9069 And implemented a faculty to save sent message to outbox and
9070 to queue message that failed to send (preliminary).
9071 And, finally implemented proper To: and Cc: processing :)
9072 * src/folderview.c: added preliminary right-clicking popup menu
9073 for operating folders.
9074 * some permission fixes at creating or copying file.
9078 * version 0.1.6alpha
9080 * src/procheader.c: fixed a bug that didn't null-terminate
9081 header list and caused segmentation fault.
9085 * version 0.1.5alpha
9087 * src/procheader.[ch]: added function procheader_get_one_field()
9088 that gets one header field that matches the header list.
9089 And removed procheader_get_unfolded_line(), which is less generic.
9090 And rewrote procheader_get_header_fields() using
9091 procheader_get_one_field().
9092 * src/summaryview.c: some bug fixes of key input scan routine.
9093 * README, README.jp: modified documents a bit.
9097 * src/menu.c: menu_set_sensitive(): fixed a bug that if a menu item
9098 had a submenu, set sensitivity of the submenu, not the item.
9102 * version 0.1.4alpha
9104 * src/summaryview.c: fixed a bug that caused segmentation fault
9105 when empty summary view was center-clicked.
9106 And fixed a bug that freed moving folder strings when marked
9108 If current folder is trash, don't delete message.
9109 * src/summaryview.[ch]
9111 * src/procmsg.[ch]: added update-cache mode (discards previous cache).
9115 * src/procheader.[ch]: more optimization of header processing
9116 routine. And added a new function procheader_get_header_fields()
9117 that receives an array of header name as a parameter and
9119 * src/utils.[ch]: added remove_return() for removing return code.
9120 * src/unmime.c: added remove_return() on the last of UnMimeHeader().
9124 * src/compose.c: if message body is ascii only, set US-ASCII as
9125 charset in Content-Type.
9128 * src/prefs_common.c
9129 * src/prefs_account.c
9130 * src/account.c: changed the location of rc files.
9131 * src/account.c: enabled closing window when escape key is pressed.
9135 * version 0.1.3alpha
9137 * src/compose.c: fixed a bug that caused segmentation fault
9138 when sending failed.
9139 And relocated header-generation routines from src/send.c.
9140 * src/send.c: moved header-generation routines to src/compose.c.
9141 * src/prefs.c: added '~' to home directory expansion.
9142 * src/prefs_account.[ch]: added signature file path configuration.
9143 * src/prefs_common.[ch]: added spool path configuration.
9144 * src/inc.c: changed the method of user name acquisition to use
9149 * version 0.1.2alpha
9151 * added ChangeLog (this file), ChangeLog.jp.
9152 * some code cleanups.
9153 * added manage_window.[ch] for transient window management.
9154 * src/procheader.c: optimized header processing routine a bit.
9155 * src/send.c: fixed exception handling on connection.
9156 * src/inc.c: added exception handling on getting user name.
9160 * version 0.1.1alpha
9162 * src/send.c: fixed a bug that didn't add Content-Type: header.
9166 * version 0.1.0alpha