3 * src/prefs_account.[ch]: added an option to use command output for
5 * src/compose.c: compose_insert_sig(): use command output if
7 compose_insert_command_output(): new.
11 * src/main.c: main(): remove lock socket if sylpheed is not running
12 when --status command is executed.
13 lock_socket_remove(): new.
17 * src/codeconv.c: conv_codeset_strdup(): don't convert if current
18 codeset is US-ASCII (or POSIX).
22 * src/codeconv.c: conv_iconv_strdup(): try to skip invalid characters
23 and continue conversion.
27 * src/summaryview.c: summary_selected(): always update widget
32 * src/utils.c: tzoffset_sec(): fixed a bug that displayed wrong
33 date in timezones more than GMT+12 or less than GMT-12.
37 * src/prefs_common.[ch]
38 src/sourcewindow.c: remember the size of source window.
39 * src/md5.c: fixed a compile problem with gcc 3.3.
43 * src/about.c: about_create(): modified the copyright notice.
47 * src/colorlabel.c: don't use pixmaps for label color rect but draw
48 rectangles so we can respect the color map of palette based visuals
49 (fixes the long time crashes on Solaris - thanks to Alfons
54 * src/procheader.c: procheader_date_parse(): made month string case
56 * src/prefs_filter.c: prefs_filter_close(): fixed the crash when the
57 selection list is empty.
61 * src/quote_fmt_parse.y: removed gettext translatable strings.
62 * src/unmime.c: unmime_header(): remove broken characters when
63 code conversion failed.
64 * src/codeconv.c: conv_encode_header(): fixed a bug that broken
65 headers if long words more than 75 characters are entered.
69 * src/prefs_account.c: prefs_account_receive_create()
70 src/utils.c: to_human_readable(): made units translatable.
74 * src/codeconv.c: isprintableeuckanji(): don't allow more than 0xf4
75 at first byte (fixes abort() problem of glibc).
76 * src/html.c: html_read_line(): remove characters which can't be
77 displayed on the current locale.
82 trim_subject_for_compare(): renamed from trim_subject().
83 trim_subject(): new. It removes [...] or (...) at the beginning
85 * src/prefs_folder_item.c
87 added options for trimming summary / compose subject.
88 * src/summaryview.c: summary_set_header(): trim subject if the folder
90 * src/compose.c: compose_reply_set_entry(): trim subject if the folder
96 LBREAK_IF_REQUIRED(): don't break lines before first word (fixes
97 X-Face header problem).
98 conv_encode_header(): allow up to 97 characters for one word.
102 * src/filter.c: filter_match_condition(): fixed the bug that
103 second condition ignored regex.
104 * src/news.h: NewsGroupInfo: use guint for message numbers
105 (fix count in grouplist dialog) (thanks to Thorsten Maerz).
109 * src/codeconv.c: conv_encode_header(): fixed a segfault bug
110 on code conversion failure.
111 conv_get_charset_str()
112 conv_get_charset_from_str(): optimized using hash table.
116 * src/quote_fmt_parse.y:
117 SHOW_MESSAGE_NO_SIGNATURE, SHOW_QUOTED_MESSAGE_NO_SIGNATURE:
118 treat only "\n-- \n" as a signature separator.
122 * src/gtkutils.[ch]: gtkut_ctree_node_prev(): new.
123 * src/summary_search.c: summary_search_execute(): search collapsed
129 conv_unreadable_latin(): include 0x7f as an unreadable character.
130 conv_localetodisp(): don't remove 8bit characters by default.
131 conv_get_current_charset()
132 conv_get_outgoing_charset(): return ISO-8859-15 if "@euro" is
133 appended at the last of locale name.
134 * src/compose.c: compose_write_to_file(): show from and to encoding
135 when code conversion failed.
143 * src/procmsg.h: WRITE_CACHE_DATA(): little speed improvement
144 (thanks to Colin Leroy).
145 * src/mh.c: mh_get_msginfo(): added NULL check (thanks to Thorsten
150 * src/textview.c: textview_write_line(): don't convert if conv is
156 renamed conv_guess_encoding() to conv_guess_ja_encoding().
157 conv_localetodisp(): new. It removes unreadable characters from
158 (assumed) current locale string.
159 conv_codeset_strdup(): convert into ISO-8859-1 if dest_code is
160 NULL and current locale encoding is US-ASCII.
161 conv_get_code_conv_func(): return conv_ustodisp if US-ASCII is
162 specified for destination charset.
163 * src/textview.c: textview_write_line(): use conv_localetodisp()
164 instead of strncpy2() if conversion failed.
168 * src/codeconv.c: conv_iconv_strdup()
170 imap_modified_utf7_to_locale()
171 imap_locale_to_modified_utf7(): use ICONV_CONST macro to remove
172 a warning on some systems.
173 * src/codeconv.c: conv_iconv_strdup(): flush iconv() output and
175 Return NULL instead of incomplete string if conversion failed.
179 * src/summaryview.c: summary_execute(): select appropriate node
180 if currently selected node is to be deleted.
181 * src/gtkutils.[ch]: gtkut_ctree_node_is_selected(): new. Returns
182 TRUE if the specified node is selected.
186 * src/summaryview.c: summary_status_show(): fixed a occasional crash
187 on deleting or moving.
191 * src/codeconv.c: conv_unreadable_eucjp(): made the validity check
192 of EUC-JP more accurate.
193 isprintableeuckanji(): new. Use table for validity check of EUC-JP.
205 * src/quoted-printable.c: qp_encode_line(): fixed linebreak
206 duplication bug if the source string has CRLF.
208 canonicalize_str(): new. Returns newly allocated canonicalized
210 uncanonicalize_file(): new. Uncanonicalize (CRLF -> LF) text.
211 uncanonicalize_file_replace(): new.
212 * src/compose.c: always canonicalize body before processing, and
213 uncanonicalize before returning.
217 * src/procmime.c: procmime_get_encoding_for_charset(): prefer
218 ENC_8BIT for Russian charsets.
219 * src/compose.c: compose_write_to_file(): use base64 when signing
224 * src/prefs_common.c: prefs_send_create(): added a description for
225 the setting of Content-Transfer-Encoding.
229 * src/codeconv.c: fixed locale_table for Russian locales (thanks to
231 * src/procmime.c: procmime_get_encoding_for_charset(): return
232 ENC_BASE64 for ISO-8859-5, KOI8-* and Windows-1251.
233 * src/compose.c: compose_attach_append(): set correct Content-
234 Transfer-Encoding for message/rfc822.
235 compose_write_to_file(): enabled user-definable Content-Transfer-
237 * src/prefs_common.[ch]: added an option for user-defined Content-
242 * src/quoted-printable.[ch]: qp_encode_line(): fixed a bug if the
243 line doesn't end with linebreak.
247 * implemented quoted-printable encoding.
248 * src/quoted-printable.[ch]: qp_encode_line(): new.
250 compose_write_to_file()
251 compose_write_attach(): implemented quoted-printable encoding.
252 compose_attach_property_create(): enabled quoted-printable menu
254 * src/procmime.c: procmime_get_encoding_for_charset(): return
255 ENC_QUOTED_PRINTABLE for ISO-8859-* and CP125* charset.
256 * src/Makefile.am: added $(LIBICONV) to sylpheed_LDADD for libiconv
263 src/utils.[ch]: get_abbrev_newsgroup_name(): improved the way
264 of abbreviation of newsgroup name.
268 * configure.in: show the result of iconv detection.
272 * src/codeconv.[ch]: made the transition from libjconv to iconv().
273 conv_iconv_strdup(): new.
277 src/prefs_common.c: replaced HAVE_LIBJCONV to HAVE_ICONV.
283 src/prefs_folder_item.c: English fix (property -> properties).
284 * src/prefs_filter.c: alert if entry is not saved.
285 prefs_filter_dialog_to_filter(): new.
289 * src/codeconv.c: conv_encode_header(): fixed a bug which output raw
290 strings after linefeed.
295 * src/codeconv.[ch]: code cleanup and optimization.
296 conv_code_converter_new()
297 conv_convert(): use functions obtained by conv_get_code_conv_func()
299 conv_codeset_strdup(): code cleanup.
300 conv_get_code_conv_func(): added an argument for destination
301 character set, and generalized.
305 * src/codeconv.c: LBREAK_IF_REQUIRED(): break line only if some
307 * src/compose.c: compose_convert_header(): remove trailing spaces.
308 * src/customheader.c: custom_header_read_str(): strip the spaces
310 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
311 strip the spaces of name and value.
319 * src/codeconv.c: conv_encode_header(): fixed a bug which will run
320 into infinite loop when encountering invalid characters.
324 * src/procmsg.[ch]: procmsg_sort_msg_list(): new. It sorts message
326 * src/summaryview.c: summary_show(): removed summary_sort() because
327 it is done inside folder_item_get_msg_list(). This will improve
328 the performance of summary display.
329 Sorted out the summary sort functions using macros.
333 src/folder.[ch]: folder_item_get_msg_list(): return pre-sorted
334 list if FolderItem::sort_key is set.
335 Added SORT_BY_TO to FolderSortKey enum.
336 * src/mainwindow.c: added "View/Sort/by recipient".
344 * src/codeconv.c: conv_encode_header(): fix for redundant space on
346 * src/compose.c: compose_convert_header(): always pass string to
347 conv_encode_header() for line-breaking.
351 * src/textview.c: textview_make_clickable_parts(): fixed incorrect
352 parsing of email addresses.
356 * src/defs.h: added DEFAULT_BROWSER_CMD.
357 * src/mimeview.c: mimeview_view_file()
358 src/prefs_common.c: prefs_other_create()
359 src/utils.c: open_uri(): changed the default web browser to
360 mozilla, and changed 'raise' command (which is undocumented)
361 to 'new-window' in 'netscape -remote'.
365 * src/compose.c: compose_send_control_enter(): fixed crash on
366 Ctrl-Enter when Message/Send has no accelerator key (thanks to
374 sort_summary_type_cb(): prevent unwanted processing on unchecking
379 * src/main.c: process command line option before gtk_init() to
380 enable remote operation without X (thanks to Ruslan N. Balkin).
381 * src/codeconv.c: conv_encode_header(): fixed a potential buffer
386 * src/Makefile.am: changed $(target_alias) to $(target_triplet)
387 (the spec of autotools seems to be changed).
391 * src/imap.c: get path separator using LIST command if server
392 doesn't support NAMESPACE (based on the patch by Brian Sammon).
393 imap_parse_list(): added an argument to return path separator.
394 imap_get_namespace_by_list(): new.
398 * src/addr_compl.c: add_address(): removed the debug print.
399 * src/gtkutils.[ch]: gtkut_window_popup()
400 src/mainwindow.c: main_window_popup(): applied the patch to fix
401 the behavior of window popup from Sergey Vlasov (thanks!)
402 * src/account.c: account_edit_create(): use signal_connect_after
403 for row_move signal to fix the row position bug.
404 account_row_moved(): scroll the CList half page.
405 * src/prefs_filter.c: prefs_filter_row_move(): scroll the CList
407 * src/summaryview.c: summary_reply(): use selection text only if
408 the displayed message is selected (thanks to Sergey Vlasov).
412 * src/codeconv.c: conv_encode_header(): reimplemented the routine
413 of MIME header encoding. And use Q-encoding method if the current
414 locale is single-byte one.
415 * src/utils.[ch]: is_next_nonascii(): take multi-byte string instead
416 of wide-character string. Consider control codes as non-ASCII.
417 get_next_word_len(): new. It returns the length of next word.
418 is_next_mbs(), find_wspace(): removed.
419 * src/quoted-printable.[ch]: new.
420 qp_decode_line(): decodes one QP line.
421 qp_decode_q_encoding(): decodes Q-encoded string in MIME header.
422 qp_get_q_encoding_len(): returns the length when a string is
424 qp_q_encode(): Q-encode a string (RFC 2047).
425 * src/unmime.c: moved the functions for quoted-printable to
430 * src/send.c: send_message_local(): escape line that only have one
431 dot character (postfix's sendmail command will stop there).
435 * src/send.c: send_message_local(): don't escape first-dot line
436 (thanks to Sergey Vlasov).
440 * autogen.sh: added 'libtoolize --force --copy' to override the
442 * acconfig.h: removed.
443 * configure.in: increased minimal version of GPGME to 0.3.10.
444 Fixed checking of XIM.
446 ac/gnupg-check-typedef.m4: added an argument for comment.
450 * src/imageview.[ch]: fixed conflicting declarations of
451 imageview_show_image() (thanks to Thorsten Maerz).
455 * src/compose.c: compose_entry_append(): don't add ", " on subject
457 * src/codeconv.c: conv_get_outgoing_charset(): obtain outgoing
458 charset from the table (currently disabled for non-Japanese locales).
459 conv_get_current_locale(): also refer to LC_CTYPE.
463 * README: added a description about hidden settings.
467 * src/prefs_common.[ch]: reorganized the common prefs dialog.
468 Made enable_hscrollbar and bold_unread hidden options.
472 * src/quote_fmt_parse.y: fixed a parse error (thanks to Andreas Hinz).
477 account_find_from_message_file()
478 account_find_from_msginfo(): new. They find an account from the
479 headers like 'From:', 'X-Sylpheed-Account-Id:', and 'AID:' in the
482 compose_reedit(): restore messages' previous account on composition.
483 compose_write_headers(): add 'X-Sylpheed-Account-Id:' header
488 * src/compose.c: cleaned up the code using compose_entry_set()
489 (don't use gtk_entry_set_text() directly).
493 * src/imap.c: imap_parse_namespace(): fixed a memory leak.
497 * updated autotools and libtool to the latest version.
498 * configure.in: added AC_PREREQ(2.50).
502 * src/textview.c: textview_set_font(): fix for message display in
503 UTF-8 locales (thanks to Sergey Vlasov).
507 * src/imageview.[ch]: imageview_show_image(): resize images to fit
508 the window size if specified.
509 * src/prefs_common.[ch]: added an option 'Resize attached images'.
513 * refactoring for SMTP implementation.
514 * src/session.h: added ui_func to Session.
515 * src/smtp.[ch]: separated the connection routine from
516 smtp_session_new() to smtp_connect().
517 Changed the argument of every function other than smtp_ok() from
518 SockInfo to SMTPSession.
519 Call UI callback from each functions.
520 * src/send.c: send_message_smtp(): separated the code for UI update
521 into send_progress_dialog_update().
525 * src/smtp.[ch]: separated smtp_auth() from smtp_from().
526 * src/send.c: send_message_smtp(): call smtp_auth() and display
527 the state to the dialog.
531 * src/filter.c: strmatch_regex(): use extended regex (thanks to
533 * src/main.c: main(): removed the code for assortrc -> filterrc
535 * src/gtkutils.c: gtkut_font_load(): only use gdk_font_load() if
536 current locale is C or POSIX.
537 gtkut_stext_is_uri_string(): include "www." for URI string.
538 * src/textview.c: textview_make_clickable_parts(): include "www."
547 * src/textview.c: textview_add_part(): indicate signature status
548 using different colors.
552 * src/folder.c: folder_write_list_recursive(): escape
553 To/Cc/Bcc/Reply-To strings.
557 * src/codeconv.c: conv_encode_header(): enabled B-encoding of
558 headers on locales other than Japanese when not using libjconv.
562 * src/inc.[ch]: added INC_IO_ERROR to IncState. Also added its
563 corresponding error message.
564 inc_pop3_session_do(): set INC_IO_ERROR instead of INC_NOSPACE
569 * src/prefs_account.[ch]: removed prefs_account_save_config() since
571 * src/procmime.[ch]: removed procmime_mimeinfo_free() since
572 procmime_mimeinfo_free_all() can be used in every case.
576 * src/account.c: account_get_special_folder(): support F_INBOX, and
581 * src/compose.[ch]: ComposeEntryType: changed COMPOSE_* to
582 COMPOSE_ENTRY_*, and added
583 COMPOSE_ENTRY_{REPLY_TO,SUBJECT,FOLLOWUP_TO}.
586 compose_redirect(): added FolderItem to the arguments, and reflect
587 settings in the item.
588 compose_entry_set(): new.
589 compose_entry_append(): code cleanup.
590 compose_entries_set_from_item(): take ComposeMode in its arguments,
591 and enabled FolderItem::use_auto_to_on_reply.
592 * src/summaryview.c: summary_reply(): pass folder_item to
593 compose_{reply,forward,redirect}().
598 gtkut_font_load(): new. It automatically choose font or fontset
600 gtkut_font_load_from_fontset(): new. It tries to load single font
601 instead of fontset from a fontset string.
605 src/summaryview.c: workaround for the problem that couldn't display
606 8-bit characters in C or POSIX locale (use font instead of fontset).
609 src/textview.c: made code cleanup using gtkut_font_load*().
613 * src/mh.c: mh_get_msginfo(): set correct message number.
617 * src/folder.[ch]: added a new virtual method Folder::get_msginfo().
618 It returns a new MsgInfo associated to a message number.
619 folder_item_get_msginfo(): new.
620 * src/imap.[ch]: imap_get_msginfo(): new.
621 * src/mh.[ch]: mh_get_msginfo(): new.
622 * src/news.[ch]: news_get_msginfo(): new.
626 * src/codeconv.c: conv_euctojis(): fixed a bug which will cause
627 infinite loop if an invalid code appeared.
631 * src/codeconv.c: conv_codeset_strdup()
632 src/html.[ch]: html_read_line(): don't output conversion failure
634 Added HTML_CONV_FAILED to the enum HTMLState.
638 * implemented per-folder auto-set address (still in progress).
639 * src/compose.[ch]: compose_new(): added FolderItem to its arguments,
640 and set entries from it (if mailto is empty).
641 compose_entry_append(): activate menu if required.
642 compose_entries_set_from_item(): new.
643 * src/folder.[ch]: added auto_to, use_auto_to_on_reply, auto_cc,
644 auto_bcc, and auto_replyto to FolderItem, and renamed apply_sub to
646 folder_build_tree(), folder_read_folder_func(),
647 folder_write_list_recursive(): added the above members.
648 * src/prefs_folder_item.[ch]: added auto-set addresses.
649 * src/pop.[ch]: removed Pop3State::prev_folder.
653 * src/compose.c: allow dropping files by also "moving" files from a
654 file manager (thanks to Alfons).
658 * compose_reply_set_entry(): made Reply-To have priority over
659 List-Post on ML reply.
663 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
664 * src/summaryview.c: summary_step(): fixed a bug that lost the
665 correct selection anchor.
666 summary_key_pressed(): use gtk_sctree_select() instead of
670 src/recv.c: differentiate disk full and socket errors
671 (thanks to Colin Leroy).
675 * src/account.c: account_edit_prefs(): removed unused variables.
676 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
679 compose_reply_set_entry(): receive reply type with one argument.
680 * src/summaryview.c: summary_reply(): reduced conditional branches.
684 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
685 from line ends (thanks to Sergey Vlasov).
686 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
691 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
692 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
693 messages all at once.
697 * src/account.[ch]: account_open(): new. It opens account prefs
698 dialog and reflects to UI when finished.
700 folderview_button_pressed()
701 folderview_property_cb(): open account prefs dialog when the
702 property of the root folder of remote account is requested.
706 * src/account.c: account_destroy(): unref account information in
708 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
709 specified account information in all folders.
711 folderview_rm_imap_server_cb()
712 folderview_rm_news_server_cb(): destroy Folder first because
713 folder_destroy() refers to account information.
717 * src/account.c: account_find_from_item(): fixed a bug which didn't
718 select the correct account.
719 * inc_pop3_session_do():
720 fixed the resource leak when SSL initialization failed.
721 Immediately break from temporary event loop if cancelled.
725 * src/account.[ch]: account_find_from_item(): new.
727 compose_reply(), compose_forward(), compose_redirect()
728 src/mainwindow.c: compose_cb(): select optimal account when
730 * src/folder.[ch]: added FolderItem::apply_sub.
731 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
732 index of option menu which contains the specified data.
733 * src/prefs_folder_item(): added Compose tab, and the setting of
738 * configure.in: added $LDAP_LIBS for lber library detection.
746 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
747 leak, and added error checking.
751 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
752 removed Compose::orig_account.
753 compose_check_for_valid_recipient(): check only enabled entries.
754 compose_write_headers()
755 compose_redirect_write_headers(): add Newsgroups header only
756 when the entry is enabled.
757 compose_send(): modified the method of finding a mail account
758 from a news account so that it tries to match the From address.
759 * src/send.c: send_message_queue(): enabled the queueing of news
761 * src/news.[ch]: news_post_stream(): new.
765 * configure.in: check lber first and use $LDAP_LIBS on the check
770 * po/*.po: fixed many typos of format strings which will lead to
771 crash (thanks to Sergey Vlasov).
775 * src/procheader.c: procheader_parse_stream(): added Cc header
776 to the target for full parsing.
777 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
778 returns the full message information from the given information.
779 * src/compose.c: compose_reply(), compose_forward(): get full
780 message information for Cc header.
784 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
785 IMAP4 and NNTP folder summary after checking those accounts.
793 * src/prefs_common.c: prefs_compose_create(): modified the label
794 of the option for Reply button.
795 * configure.in: add -lldap and -llber to the 5th argument of
796 AC_CHECK_LIB() for LDAP library detection.
805 * src/mainwindow.c: toggle the behavior of Reply button between
806 normal reply and reply-to-list.
807 * src/prefs_common.[ch]: added an option to switch the function
812 * src/compose.c: compose_new(): removed the workaround for XIM
813 because it doesn't have any effect and only seems to cause
818 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
819 compose_parse_header(): parse also List-Post header.
820 compose_reply_set_entry(): support reply-to-ML (fall back to
821 normal reply if ML address is not found).
824 src/summaryview.c: reorganized Reply menu and added 'Reply to
826 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
827 returns newly allocated parameters.
831 * src/account.c: account_read_config_all(): set account information
832 to default before initializing with configuration file.
833 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
834 newly created account information structure initialized by
835 the default settings.
840 replace_address_in_edit(): check if newtext is NULL.
841 completion_window_button_press(): fixed a memory leak.
842 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
843 recv_time is RECV_TIME_KEEP.
844 pop3_getrange_uidl_recv(): only set get_all flag if
845 ac_prefs->getall is set.
846 pop3_retr_recv(): don't delete messages which are not received
847 by filter, and set recv_time to RECV_TIME_KEEP in the case.
848 * src/pop.h: added an enum RecvTime.
849 * src/inc.c: inc_drop_message(): unlink temporary message file if
850 not received by filter.
854 * src/mainwindow.c: added 'Edit/Select thread' menu.
855 * src/summaryview.[ch]: added 'Select thread' to the context menu.
856 summary_select_thread(): new. It selects all messages of current
861 * src/rfc2015.c: check_signature(): corrected error handling and
866 * src/rfc2015.c: check_signature(): correctly remove the last empty
867 line, and canonicalize the file part before verifying (this should
868 fix incompatibility with Evolution or some other MUAs).
869 * src/utils.[ch]: copy_file_part(): new. It copies the specified
870 range of file stream to another file.
874 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
875 8-bit text when signing (thanks to Colin Leroy).
879 * src/prefs_common.c: prefs_send_create(): fixed the charset string
880 for Cyrillic (Windows-1251).
888 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
889 Windows-1251. Added bg_BG locale.
893 * src/compose.c: account_activated(): change the state of menu items
894 and entries according to the selected account.
895 compose_select_account(): new. It changes the state of title bar,
896 menu items and entries.
900 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
902 Don't refresh summary view on fetching when open_inbox_on_inc is
907 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
908 is set (to avoid summary refresh problem).
909 * src/imap.c: removed warnings by checking the existence of directory
910 before calling remove*_numbered_files().
914 * src/prefs_common.c: corrected English.
918 * src/prefs_common.[ch]: added an option: "Mark messages as read
919 only when opened in new window".
924 folder_tree_destroy()
925 folder_write_list_recursive(): added sanity check.
926 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
927 can't get session, create empty folder node (based on the
932 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
934 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
939 * src/news.c: news_scan_group(): fixed wrong message number
944 * major refactoring for POP3.
945 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
946 inc_pop3_state_destroy(), inc_get_uidl_table(), and
947 inc_write_uidl_list() into pop.c.
948 Moved Pop3State::folder_table and Pop3State::inc_state into
951 inc_put_error(): added lockbusy state.
952 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
953 inc_cancel(): don't terminate the automaton here but just set
954 the flags to prevent crash.
956 pop3_getauth_pass_recv()
957 pop3_getauth_apop_recv(): check lockbusy state.
958 pop3_retr_recv(): check Pop3State::cancelled flag.
959 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
960 automaton_input_cb(): terminate if cancelled flag is true.
961 * sylpheed.desktop: changed Type=Internet to Type=Application.
962 Added Categories=Application;Network;.
968 src/progressdialog.c: show detailed information to the status
970 Added cur_total_recv_bytes to Pop3State.
971 * src/prefs_common.[ch]: added an option to specify whether to
972 close receive dialog when finished.
976 * src/folder.[ch]: folder_get_path(): new. It returns the root path
980 imap_folder_destroy()
982 imap_remove_all_msg()
983 news_folder_destroy(): remove cache directories / files when
984 deleting Folder / messages.
988 is_file_entry_exist(): check if the argument is NULL.
990 remove_numbered_files()
991 remove_expired_files(): fixed memory leaks on error.
1000 src/smtp.[ch]: made Folder and Session destructor virtual method.
1004 * src/compose.c: do joining of normal lines only when auto-wrapping.
1005 * src/main.c: modified the warning message for GnuPG.
1006 * src/about.c: about_create(): modified the compiled-in features
1008 * configure.in: improved LDAP library checking (thanks to Alfons).
1018 compose_wrap_line_all(): backed out the change to join lines that
1023 * configure.in: require at least gpgme-0.3.5.
1027 * src/alertpanel.c: alertpanel_create(): minor modification.
1036 * src/alertpanel.c: alertpanel_create(): modified the layout.
1037 * src/rfc2015.c: check_signature(): don't abort on error.
1041 * src/compose.c: compose_wrap_line_all(): freeze widget only if
1042 required to repress flickers.
1046 * src/compose.c: improved line wrapping.
1048 compose_wrap_line_all(): also join lines that are not indented.
1049 dump_text(): handle multi-byte strings correctly.
1053 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
1054 (go to next line when space is entered at line limit).
1058 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
1063 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
1064 checking to prevent confusion.
1068 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
1069 method Folder::get_msg_list().
1070 * src/account.c: account_edit_prefs(), account_delete(): use
1071 folderview_set_all() instead of folderview_rescan_all().
1072 * src/folderview.[ch]:
1073 folderview_check_new_all(): new. Updates all folders.
1074 folderview_rescan_tree(): confirm before executing.
1075 folderview_rescan_all(): commented out since it's not used anymore.
1076 folderview_update_item_foreach(): added a flag for summary update.
1077 * src/inc.c: inc_finished(): update summary only when
1078 prefs_common.scan_all_after_inc is set.
1079 inc_drop_message(): set mtime of target folder to 0 to force
1080 the updating of summary.
1081 inc_start(), get_spool(): update also summary when updating
1083 * src/mainwindow.c: changed 'File - Rescan folder tree' to
1084 'File - Check for new messages in all folders'.
1088 * src/compose.c: compose_write_to_file(): clearsign message body
1090 compose_clearsign_text(): new. Replaces the string with clearsigned
1092 * src/prefs_account.c: added an option for clearsign.
1093 * src/rfc2015.c: rfc2015_clearsign(): new.
1094 pgp_sign(): added a flag for clearsign.
1095 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
1096 name (needs to be freed by caller).
1097 str_write_to_file(), file_read_to_str(): new.
1101 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
1102 to avoid memory leak.
1106 * src/base64.c: include string.h for memcpy().
1107 * src/gtksctree.c: use macro ABS() instead of function abs().
1108 * src/prefs_account.c
1109 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
1110 conflict with the function send() in sys/socket.h.
1111 * src/mainwindow.c: commented out the unnecessary functions.
1112 * src/utils.c: canonicalize_file_replace(): correct warning message.
1116 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
1117 temporary files in ~/.sylpheed/.
1118 * src/main.c: create temporary directory in ~/.sylpheed/.
1120 src/inc.c: create temporary files in ~/.sylpheed/, and modified
1122 compose_exec_ext_editor(): fixed a bug that failed to create the
1123 temporary file if g_get_tmp_dir() returned directory other than
1128 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
1132 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
1133 to replace the file when the given file and temporary file are not
1134 on the same filesystem.
1135 copy_file(): added a flag whether to keep backup.
1136 move_file(): added a flag whether to overwrite the destination file.
1140 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
1141 * src/select-keys.c: modified key selection dialog.
1145 * src/socket.[ch]: my_gethostbyname(): new.
1146 * src/utils.c: get_domain_name(): return FQDN instead of short
1147 hostname (thanks to Bob Woodside).
1148 * src/template.c: made the debug messages less verbose.
1152 * src/prefs_common.[ch]: removed obsolete default sign key setting.
1153 * src/utils.c: canonicalize_file(): correct the error check of
1158 * src/compose.c: compose_write_to_file():
1159 canonicalize line endings before encrypting/signing (this will fix
1160 interoperability with other MUAs).
1161 Removed unnecessary strdup.
1162 Don't encrypt/sign draft message.
1164 canonicalize_file(), canonicalize_file_replace(): new.
1166 src/select-keys.c: changed g_message() to debug_print() and
1168 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
1169 MIME structure scanning.
1170 * src/textview.c: textview_add_part(): show signature status in
1173 src/sigstatus.c: modified translatable strings and some MIME
1178 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
1179 the temporary file when saving from queue.
1185 src/prefs_account.[ch]
1186 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
1187 Modified some messages.
1191 * src/textview.c: textview_scan_header(): fixed a memory leak
1196 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
1197 in right conditional block.
1201 * src/compose.c: compose_wrap_line_all(): fixed character buffer
1207 log_error(): add time stamp to log messages.
1212 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
1216 * src/socket.c: implemented socket I/O timeout.
1218 * src/pop.c: check errors and return error value correctly.
1222 * src/prefs_actions.c: made the action's input/output dialog display
1223 without delay. Made the dialog modal instead of making window
1224 insensitive. Also cleaned up its UI.
1228 * implemented --attach command line option.
1230 Cmd::attach_files: new member to store file paths.
1231 parse_cmd_opt(): added --attach option. --compose option is implied.
1232 prohibit_duplicate_launch()
1233 lock_socket_input_cb(): added "compose_attach" message.
1236 src/textview.c: renamed compose_new_with_recipient() to
1237 compose_new(), and added an argument for attachment files.
1241 * src/logwindow.c: freeze GtkText widget while hidden.
1242 log_window_append(): changed the header for message and warning.
1246 * src/news.c: implement automatic cache expiration.
1247 news_delete_expired_caches(): new.
1248 news_get_article_list(): fixed a bug that nonexistent messages
1249 were not removed from list.
1250 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
1251 procmsg_get_last_num_in_cache().
1252 * src/utils.[ch]: remove_expired_files(): new.
1257 inc_mail(): force summary refresh when using external command for
1259 inc_all_account_mail(): fixed a bug on spool checking failure.
1270 src/editldap_basedn.c
1272 src/prefs_common.c: fixed memory leaks which didn't free strings
1273 gtk_editable_get_chars() returned. And minor code cleanups.
1275 src/vcard.h: removed C++-style comments.
1279 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
1280 strings which include both multi-byte and us-ascii characters.
1284 * src/utils.c: remove_numbered_files(): don't try to unlink()
1287 conv_get_code_conv_func(): return conv_anytodisp() if charset is
1289 conv_unmime_header_overwrite()
1290 conv_unmime_header(): do conv_anytodisp() before decoding header.
1298 * src/compose.c: added 'Tools/Actions' menu.
1302 * src/base64.c: a minor fix for BASE64VAL() macro.
1306 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
1314 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
1315 base64_encode(), base64_decode(): new.
1316 * src/rfc822.[ch]: removed.
1318 src/about.c: removed the copyright notice for fetchmail.
1324 src/unmime.[ch]: rewrote the MIME decode routines.
1326 unmime_quoted_printable_line(): new.
1328 procheader_get_one_field()
1329 procheader_get_unfolded_line(): remove also CR.
1333 * libkcc: removed from the source tree.
1335 src/about.c: removed the copyright notice for libkcc.
1336 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
1338 * src/prefs_actions.c: removed unnecessary spaces/tabs.
1342 * src/prefs_actions.c: comply with the coding style.
1343 Modified the UI design.
1344 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
1345 menu when multiple messages are selected.
1349 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
1350 update_actions_menu(): simplified the menu deletion.
1351 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
1355 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
1356 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
1361 * configure.in: added check for strchr.
1365 * src/prefs_common.[ch]
1366 src/inc.c: added an option to inhibit receive error dialog.
1370 * src/account.c: account_find_from_address(): support multiple
1371 addresses in header.
1375 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
1376 GtkCTreeNode* so that it won't become invalid after the row move.
1377 Removed dependency to gtkutils.c.
1378 * src/prefs_common.[ch]
1379 src/summaryview.c: summary_selected(): added an option to show
1380 message when cursor keys are pressed on summary view.
1386 src/compose.c: changed "host_alias" to "target_alias" so that it
1387 shows the correct system name on cross-compiling (thanks to
1392 * src/prefs_account.[ch]: added the option menu to force an
1393 authentication method for SMTP AUTH.
1395 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
1396 specify the authentication method for SMTP AUTH.
1397 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
1401 * src/prefs_common.[ch]
1402 src/compose.c: enabled "Wrap on input".
1406 * src/summaryview.[ch]
1407 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
1408 Made some code cleanups.
1413 src/prefs_common.[ch]: added the hidden option to specify the
1414 policy of the vertical scrollbar on folder view.
1418 * src/messageview.[ch]:
1419 messageview_copy_clipboard(): fixed a bug that couldn't copy text
1421 messageview_get_current_textview(): new.
1422 messageview_get_text_widget(): removed.
1423 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
1424 * src/compose.[ch]: implemented the "Paste as quotation" feature.
1425 text_inserted(): new callback for "insert_text" signal.
1426 Add quote mark to the pasted text if Compose::paste_as_quotation
1431 * src/compose.c: if the Content-Type of a file is text/*, check
1432 its content and set the optimal Content-Transfer-Encoding (thanks
1437 * src/textview.c: textview_key_pressed(): pass key press event to
1438 main window to activate menu shortcuts (thanks to Alfons).
1442 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
1443 for mtime to prevent flooring.
1446 imap_move_msgs_with_dest()
1447 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
1449 imap_parse_envelope()
1450 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
1451 full information of messages and simplify the parser. Also fixed
1452 the bug that References header was ignored on threading.
1453 imap_parse_one_address()
1454 imap_parse_address(): removed.
1455 imap_get_header(): new. It reads the RFC822 header and returns
1456 a newly allocated string.
1457 * src/procheader.[ch]: changed procheader_parse() to
1458 procheader_parse_stream() and added different interfaces for it.
1462 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
1470 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
1471 could be inserted into the hash table.
1472 inc_write_uidl_list(): a minor code cleanup.
1473 * src/mainwindow.c: main_window_get_current_state():
1474 make the state unexecutable on an empty folder.
1475 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
1476 * src/pop.c: minor code cleanups.
1480 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
1481 corrected the behavior of the radio buttons.
1485 * implemented 'Delete messages after N days' feature for POP3.
1487 inc_get_uidl_table()
1488 inc_write_uidl_list(): moved the location of UIDL list file from
1489 RC_DIR/uidl-* to RC_DIR/uidl/*.
1490 Added received time for each UIDLs.
1491 src/main.c: main(): create RC_DIR/uidl/ directory.
1492 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
1493 Added recv_time to Pop3MsgInfo.
1494 src/prefs_account.[ch]: added an option for the number of days for
1503 * src/folder.c: folder_set_missing_folders(): fixed a bug that
1504 caused multiplication of special folders on startup if their
1506 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
1511 * src/compose.c: compose_reply(), compose_forward(): reverted the
1512 last change since it causes lockup problem.
1516 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
1518 compose_new_with_recipient(): workaround for initial XIM problem.
1522 * src/mainwindow.c: sort ascending / descending order can be
1523 specified with separated menu items.
1524 Added "View/Sort/Don't sort" menu item.
1525 * src/summaryview.[ch]: summary_sort(): added an argument for
1530 * implemented persistent sort order.
1532 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
1533 folder_write_list_recursive(): write sorting state.
1535 src/summaryview.[ch]: summary_show(): sort if required.
1536 select the top node on descending sort.
1537 Removed SummarySortType and sorting state variables from
1545 src/prefs_account.[ch]: enabled NNTP over SSL.
1546 * src/nntp.c: nntp_group(): issue MODE READER command and retry
1547 when GROUP command once failed (this seems to avoid problems on
1548 some broken news servers).
1552 * faq/it/*.html: corrected DOS linebreaks.
1553 * faq/*/*.html: changed ">" to ".
1557 * src/prefs_account.c: prefs_account_protocol_activated(): hide
1558 unnecessary frames in SSL tab.
1564 src/prefs_account.[ch]: enabled STLS command in POP3.
1565 * src/account.c: account_clist_set_row(): display TLS setting.
1569 * src/compose.c: compose_send_later_cb(): support redirect function.
1572 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
1574 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
1578 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
1579 * src/compose.c: compose_create(): removed unrequired lines.
1583 * src/news.c: news_scan_group(): fixed a bug that set the wrong
1584 values in some cases.
1585 * src/prefs_account.c: corrected English in Advanced - Folder
1590 * src/textview.c: textview_show_message(), textview_show_part():
1591 fixed a bug that GtkSText *text pointed the incorrect object.
1592 textview_add_part(): freeze GtkSText while adding RFC822 headers.
1593 textview_show_part(): fixed a bug that couldn't display single
1594 part MIME message as text.
1598 * src/compose.c: compose_redirect_write_to_file(): correct the target
1599 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
1600 incomplete file when an error occured.
1605 compose_create(): disable menus for draft on redirection mode.
1606 compose_redirect_write_to_file(): correct the error handling of
1608 * src/prefs_common.c: turned off the "Display recipient on `From'
1609 column if sender is yourself" option by default.
1613 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
1614 Based on the implementation of the claws branch.
1615 compose_redirect(): create a new window and make it uneditable.
1616 compose_redirect_write_to_file(): copy headers and body of
1617 original message except for some.
1618 compose_redirect_write_headers(): add extra "Resent-*" headers.
1619 compose_create(): set menu sensitivity for redirection mode.
1623 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
1624 space is inserted between encoded string and the following folded
1625 one (thanks to Masahiro Tomita).
1629 * src/mainwindow.[ch]: some refactoring has been made.
1630 main_window_toggle_message_view(): moved summary_toggle_view_real()
1632 * src/messageview.[ch]: messageview_is_visible(): new.
1633 * src/summary_search.c
1634 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
1635 Instead use messageview_is_visible().
1639 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
1640 * src/summaryview.[ch]:
1641 summary_expand_threads(), summary_collapse_threads(): new.
1645 * src/mainwindow.c: Fixed the behavior of
1646 '/View/Show or hide/Folder tree' and
1647 '/View/Show or hide/Message view' toggle menu.
1648 Removed '/View/Toggle summary view' menu and integrated the
1649 function into '/View/Show or hide/Message view'.
1650 main_window_set_widgets(): change the state of toggle menu items.
1651 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
1656 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
1657 MIME contents other than text as children of message/rfc822 part.
1659 procmime_mimeinfo_next(): modified for message/rfc822 part which
1660 content-type is single part MIME.
1661 procmime_scan_multipart_message(): fix for nested message/rfc822
1662 part. Corrected the size of the contents of message/rfc822.
1663 * src/textview.c: textview_show_part(): extract the contents of
1664 multipart/* and message/rfc822. Some code cleanups.
1665 textview_add_parts(): new. It adds the all parts under a part to
1667 textview_clear(): reset body_pos and cur_pos.
1671 * src/addr_compl.c: modified so that it behaves better.
1672 get_address_from_edit(): ignore comma inside of brackets.
1673 completion_window_apply_selection(): new. Only apply the current
1675 completion_window_accept_selection(): removed.
1676 address_completion_complete_address_in_entry(): minor code cleanup.
1677 don't replace address in entry here.
1678 completion_window_select_row(): always apply clist selection to
1680 completion_window_key_press(): don't apply selection here.
1684 * src/imap.c: imap_create_folder(): keep trailing directory separator
1685 to create a folder that contains sub folder.
1689 * src/foldersel.c: sort tree with case insensitive.
1690 * src/mainwindow.c: allsel_cb()
1691 src/messageview.c: messageview_select_all(): fixed 'Select all'
1693 * src/mainwindow.c: removed common and account prefs button from
1698 * src/compose.c: compose_account_option_menu_create(): check if
1707 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
1708 manual/en/*: updated the English manual.
1710 faq/it/*: added German and Italian FAQ.
1713 faq/fr/*: updated FAQs.
1715 src/mainwindow.c: added German and Italian language.
1719 * src/prefs_account.c: turn off "receive at get all" option by default
1720 when creating an IMAP or News account.
1724 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
1725 * src/prefs_folder_item.c: show also identifier path.
1726 Made layout using table. Show uneditable entry using background
1728 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
1733 * src/automaton.[ch]: added UI callback to Automaton.
1735 src/pop.c: use callback instead of calling inc_progress_update()
1737 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
1742 * src/folderview.c: properly sort abbreviated newsgroups.
1747 src/prefs_common.[ch]
1748 src/summaryview.c: added an option to specify the minimum length
1749 for abbreviated newsgroups name.
1753 * src/folderview.c: folderview_check_new(): skip unselectable folders.
1754 * src/summaryview.c: added 'Create filter rule' to the context menu.
1755 * src/imap.c: some code cleanups.
1756 imap_scan_tree_recursive(): get path separator for each calls.
1757 imap_get_path_separator(): new.
1761 * src/imap.[ch]: supported namespace for others/shared folders
1763 imap_parse_namespace(): parse also others/shared namespace.
1764 imap_find_namespace(): search also others/shared namespace.
1766 strchr_parenthesis_close(): return pointer to closing parenthesis.
1767 strsplit_parenthesis(): split parenthetic list into array of
1772 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
1773 parse date string like "Mon,6 May 2002 20:31:12 +0800".
1774 procheader_scan_date_string(): new. Separated string scanning
1775 part from procheader_date_parse().
1779 * src/summary_search.c: summary_search_execute(): unlock while
1780 selecting summary row (thanks to Martin Schaaf).
1781 * src/summaryview.c: summary_set_column_titles(): reversed the
1782 direction of the arrow so that it matches with Win/Mac style.
1786 * src/compose.c: compose_write_headers(): quote self address name
1787 if required. Some code cleanups. Don't override Newsgroups and
1788 Cc with custom headers.
1789 * src/imap.c: imap_add_msg(): return UID for appended message.
1790 * src/compose.c: compose_queue(): check if queue folder exists.
1791 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
1793 imap_open(): removed an unrequired argument.
1797 * src/utils.[ch]: trim_string(): new. It trim characters longer than
1798 the specified length and adds "...".
1799 * src/folderview.c: trim folder name when displaying dialog.
1803 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
1805 * src/folderview.c: folderview_select()
1806 src/summary_search.c: summary_search_execute(): lock summary view
1807 while searching (thanks to Martin Schaaf).
1815 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
1819 * src/summaryview.c: summary_show(): fixed a bug that didn't process
1821 * src/account.c: account_edit_prefs(): fixed a crash bug when account
1823 * src/prefs_account.c: prefs_account_apply(): display error dialog
1824 if account name is empty.
1825 * src/imap.c: changed some log_print() to debug_print() to reduce
1830 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
1834 mh_do_move_msgs_with_dest()
1836 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
1837 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
1838 if stat() succeeded.
1840 imap_fetch_msg(): SELECT mailbox before FETCH if required.
1841 imap_scan_folder(): set last_num using the value of UIDNEXT.
1842 imap_select(): return immediately if there is no need for SELECT.
1843 preserve the path of currently selected mailbox.
1844 imap_status(): added UIDNEXT.
1848 * src/folder.c: folder_item_scan(): removed the warning.
1849 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
1850 setting case sensitivity.
1854 * src/mainwindow.c: main_window_create(): restrict the minimum size.
1858 * src/compose.c: merged the new line-wrapping routine.
1859 join_next_line(): fixed a bug that didn't join multibyte
1861 get_indent_length(): modified enums and variable names.
1862 INDENT_CHARS: don't indent ':'.
1864 folderview_rename_folder_cb()
1865 folderview_delete_folder_cb(): support folder identifier.
1866 folderview_rm_imap_folder_cb(): integrated with
1867 folderview_delete_folder_cb().
1871 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
1872 * src/folderview.c: folderview_check_new(): abort checking if
1873 folder_item_scan() failed.
1877 * src/imap.c: imap_create_missing_folders(): create only INBOX and
1879 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
1880 type of news folders unchangeable.
1881 prefs_folder_item_destroy(): use prefs_dialog_destroy().
1882 * src/prefs.[ch]: prefs_dialog_destroy(): new.
1886 * src/prefs_account.[ch]: added special folder setting to Advanced
1887 tab. Also moved "IMAP server directory" setting to there.
1888 * src/account.[ch]: account_get_special_folder(): new. It returns
1889 the optimal special folder for accounts.
1890 * src/compose.c: use account_get_special_folder().
1891 * src/prefs_folder_item.[ch]: new. Implemented folder property
1892 dialog, and the special folder settings (most of the functions in
1893 claws are not integrated yet, and the structure is slightly
1895 * src/folderview.c: enabled Property menu.
1899 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
1900 scanning when encountering separators ',' and ';'.
1904 * src/mainwindow.c: reorderd the menu a bit.
1905 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
1906 compose_reply_set_entry(): made 'Reply to sender' work for
1911 * src/compose.c: compose_create(): set geometry hints to restrict
1912 the maximum size of window.
1913 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
1914 imap_get_uncached_messages()
1915 imap_cmd_fetch(): ignore responses which don't include FETCH.
1919 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
1920 the clause for OpenSSL).
1924 * src/prefs_account.c
1925 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
1931 src/session.[ch]: first reorganization of SMTP protocol handling.
1932 SMTPSession: new class which is a sub class of Session.
1933 smtp_session_new(): moved send_smtp_open() into this function.
1934 smtp_from(): moved SMTP AUTH calls into smtp_auth().
1935 smtp_auth(): use server response for SMTP AUTH method.
1936 smtp_ehlo(): read server response and set auth type flags.
1937 smtp_helo(): separated EHLO command.
1938 smtp_ok(): return the last server response if the buffer is
1940 * src/esmtp.[ch]: merged into smtp.[ch].
1941 * src/imap.c: imap_session_destroy_all(): use session_destroy().
1945 * src/imap.c: imap_open(): show warning message if IMAP4 session
1946 can't be established.
1950 * src/compose.c: made template able to be inserted into the current
1952 * src/mainwindow.c: moved some menu items under the submenu
1953 '/View/Show or hide'.
1958 src/inc.c: changed folder_find_item_from_path() to
1959 folder_find_item_from_identifier().
1961 src/prefs_filter.c: use folder_item_get_identifier() to specify
1966 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
1967 existed in claws' implementation).
1968 folder_find_from_name(): find Folder from name and type.
1969 folder_get_identifier(): return Folder id.
1970 folder_item_get_identifier(): return FolderItem id.
1971 folder_find_item_from_identifier(): find FolderItem from id.
1972 folder_get_type_string(): return folder type string.
1973 folder_get_type_from_string(): return FolderType from string
1974 (and fixed the wrong g_strcasecmp() usage).
1976 src/import.c: use folder_item_get_identifier() and
1977 folder_find_item_from_identifier().
1981 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
1982 point the correct address after reading the continuous line.
1983 imap_scan_folder(): set new number to 0 if unseen number is 0.
1984 imap_parse_flags(): don't add new and unread flag if \Seen flag
1986 * ac/Makefile.am: removed gpgme.m4 from MACROS.
1990 * fixed the old problem that couldn't add flags to currently opened
1993 compose_send(): update outbox after saving.
1995 compose_draft_cb(): use procmsg_add_flags().
1996 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
1998 * src/main.c: send_queue(): send from all queue folders.
1999 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
2001 procmsg_flush_mark_queue(): new. Write all queued flags into file.
2002 procmsg_add_flags(): new. Add specified flags to the folder.
2003 procmsg_send_queue(): added an argument to specify queue folder.
2004 procmsg_save_to_outbox(): use procmsg_add_flags().
2005 * src/summaryview.c:
2006 summary_show(): up the opened flag of FolderItem.
2007 summary_clear_list(): down the opened flag of FolderItem.
2008 summary_write_cache(): call procmsg_flush_mark_queue().
2012 * src/summaryview.[ch]: trim the tail of folder name and selected
2013 number on the status label if the space is not enough.
2017 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
2018 set SpecialFolderItemType when creating special folders under
2020 * ac/gpgme.m4: removed.
2022 * ac/missing/gdk-pixbuf.m4
2023 ac/missing/gettext.m4
2025 ac/missing/imlib.m4: added for convenience.
2029 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
2030 shown after the decoded challenge string. Fixed a memory leak.
2032 * src/compose.c: compose_draft_cb(): mark draft messages as read.
2033 * src/folderview.c: folderview_update_node(): disable emphasis
2034 for Outbox and Draft folders.
2038 * src/messageview.c: messageview_show(): fixed a memory leak.
2039 * src/summaryview.c: summary_save_as(): show error dialog if copy
2041 * src/about.c: about_show(): make the window active if it is already
2046 * src/compose.c: show confirmation dialog before sending if Subject
2048 compose_check_entries(): new.
2050 compose_send_later_cb(): use compose_check_entries().
2051 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
2055 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
2056 responses with continuous line correctly, and fixed a memory leak.
2060 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
2062 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
2063 after pasting with middle button to prevent the selection growth.
2068 folderview_rename_folder_cb()
2069 folderview_delete_folder_cb(): modify filter rules only if the
2070 target folder is in the default mailbox.
2071 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
2078 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
2079 Moved 'Delete duplicated messages' under 'Tools'.
2083 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
2085 * src/imap.c: imap_create_special_folder(): fixed a crash bug
2086 when folder creation failed, and re-try to create folders under
2088 imap_scan_tree_recursive(): don't automatically add namespace
2089 prefix if it's INBOX. Search also under the INBOX for special
2091 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
2096 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
2097 abbreviated newsgroup name.
2098 * src/folderview.c: folderview_update_node(): display newsgroups
2099 with abbreviated name if name and path is the same.
2100 * src/summaryview.c: summary_status_show(): show the newsgroup with
2106 src/folderview.c: changed the label 'Draft' to 'Drafts'.
2107 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
2108 imap_create_missing_folders(): fixed the wrong assignment of
2109 Queue folder to draft.
2113 * enabled Sent / Draft / Queue folders on IMAP server.
2114 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
2115 queue and draft folder if they exist.
2117 imap_create_trash(): removed.
2118 imap_create_special_folder(): new. Generalized imap_create_trash().
2119 imap_create_missing_folders(): automatically create missing folders.
2120 imap_is_msg_changed(): added the dummy method.
2121 imap_scan_tree_recursive(): search also Sent, Draft and Queue
2122 folders. Minor code cleanups.
2123 imap_parse_envelope(): check for null strings.
2124 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
2125 for messages on IMAP folder.
2129 * src/compose.c: compose_send(): use account's outbox folder
2131 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
2132 that the outbox can be specified.
2136 * src/compose.c: don't save to outbox when messages are queued.
2137 compose_save_to_outbox(): moved to procmsg.c.
2138 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
2140 procmsg_save_to_outbox(): new. Removes the queueing headers if
2141 needed, and adds the given file to the outbox.
2145 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
2146 get_indent_length(): treat ':' and '#' also as quote char, and
2147 cleaned up using strchr().
2151 * src/mainwindow.c: modified some menu items.
2155 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
2156 (current "outbox" will be kept until rescan).
2157 * src/folder.c: folder_set_missing_folders(): create the missing
2160 src/folderview.c: changed 'Outbox' to 'Sent'.
2161 * src/main.c: call folder_set_missing_folders().
2162 * src/mh.c: mh_scan_tree(): create missing folders.
2163 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
2164 didn't set the menu sensitivity correctly.
2169 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
2170 folderview_rename_folder_cb(): reopen the current folder when
2171 the ancestor is renamed.
2172 imap_rename_folder(): new method implementation.
2174 imap_rename_folder_func(): new.
2175 imap_remove_folder(): remove also the cache directory.
2179 * src/imap.c: implemented locale encoding <-> modified utf-7
2180 conversion, and supported i18n of folder name (thanks to Suzuki
2182 imap_path_separator_subst(): handle the escape characters of
2184 imap_modified_utf7_to_locale()
2185 imap_locale_to_modified_utf7(): new.
2186 imap_create_trash(): modified so that it create the Trash folder
2187 to the correct location when imap directory is specified.
2188 imap_get_real_path(): removed debug print.
2192 * src/socket.c: implemented timeout for DNS lookup and connect().
2193 sock_connect_by_hostname(): timeout support and code cleanup.
2194 sock_connect_with_timeout(): new.
2195 sock_peek(): implemented SSL peek.
2199 * src/messageview.c: messageview_show(): display single-part
2200 text/html messages with the normal text view.
2214 src/prefs_customheader.c
2215 src/prefs_display_header.c
2230 src/xml.c: added 'b' to the option of all fopen().
2238 * src/ssl.[ch]: match its coding style.
2239 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
2243 faq/en/sylpheed-faq*.html
2245 faq/es/sylpheed-faq*.html
2247 faq/fr/sylpheed-faq*.html
2253 src/manual.[ch]: added FAQs in English, Spanish and French.
2257 * manual/en/sylpheed*.html: updated to the latest version.
2262 src/mgutils.c: include string.h to remove warning about strlen()
2276 src/summaryview.c: added break to the last label of switch to
2277 prevent the 'deprecated use of label at end of compound statement'
2279 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
2283 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
2285 inc_cancel_all(): new. It cancels the all current incorporation.
2286 * src/mainwindow.c: added 'Cancel receiving' menu.
2287 * src/textview.c: a minor fix for single-part MIME messages, and
2288 a bit of cleanup for textview_write_body().
2292 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
2293 information if any errors occured before issuing UIDL command.
2294 src/inc.h: added uidl_is_valid to Pop3State.
2295 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
2303 * src/mimeview.c: mimeview_create(): set the initial notebook page
2305 * src/folderview.c: folderview_selected(): scroll the view if the
2306 selected row is hidden.
2307 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
2308 and select the added row.
2309 * src/summaryview.c: fix threading for null message ids.
2313 * src/textview.c: textview_show_message(): follow message/rfc822
2315 textview_add_part(): add a caption before the attached text files.
2316 textview_show_header(): don't add the newline.
2317 * src/messageview.c: enabled message search also in MIME mode.
2321 * src/messageview.c: messageview_show(): set header state of
2322 MimeView's TextView, too.
2323 * src/mimeview.c: mimeview_show_message(): call
2324 textview_show_message() to display message.
2325 * src/textview.c: textview_add_part(): new. It adds the content
2326 of message part without clearing the view.
2327 textview_show_message(): display all parts with appropriate
2329 textview_write_body(): separated from textview_show_part().
2334 src/prefs_common.c: added ISO-8859-15 to the codesets for
2335 displaying and sending.
2336 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
2337 conversion failed, and made caller deal with it.
2338 * src/compose.c: compose_write_to_file(): show error dialog when
2339 code conversion failed, and let user select whether to send it
2341 * src/textview.c: textview_write_line(): show the original string
2342 if code conversion failed.
2346 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
2347 if copy_mbox() failed (thanks to Alexander Kabaev).
2348 * src/prefs_account.[ch]: added separate user ID / password setting
2350 * src/send.c: send_message_smtp(): use separate user ID / password
2351 for SMTP AUTH if it is specified.
2356 src/pop.[ch]: refactored the UIDL management.
2357 store the information of messages into the array of Pop3MsgInfo
2358 structure, and do full scanning of not retrieved messages.
2364 src/mainwindow.c: set WMCLASS for window/dialog.
2365 * src/codeconv.c: conv_codeset_strdup(): return source string
2366 when jconv_alloc_conv() failed.
2370 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
2377 src/summaryview.c: implemented the new notebook tab interface for
2379 * src/textview.[ch]: fixed line space related glitches.
2383 * src/prefs_filter.c:
2384 prefs_filter_rename_path()
2385 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
2389 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
2390 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
2392 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
2393 cancelled, and fixed potential crash bug.
2394 * src/grouplistdialog.c: enabled cancelling of data receiving.
2395 * src/news.c: news_get_group_list(): destroy current session if
2400 * src/manage_window.[ch]: fixed a bug that caused crash when
2401 the main window was hidden.
2402 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
2403 Monitor "unmap_event", "destroy" events.
2410 src/grouplistdialog.c
2414 src/message_search.c
2418 src/prefs_customheader.c
2419 src/prefs_display_header.c
2421 src/prefs_template.c
2422 src/summary_search.c
2423 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
2424 connect signals for window management.
2428 * src/prefs_account.[ch]: added receive size limit option.
2429 * src/pop.c: skip messages larger than the limit size.
2430 LOOKUP_NEXT_MSG(): new macro.
2431 * src/compose.c: compose_attach_append(): check whether the file
2436 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
2437 changed g_message()'s to debug_print() and g_warning().
2438 rfc2015_decrypt_message(): fixed a bug that duplicated message
2439 parts when decryption was failed/cancelled. And made some code
2441 * src/passphrase.c: made the dialog transient.
2442 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
2447 src/procmsg.[ch]: fixed a bug that failed to parse multipart
2448 messages if GPGME was enabled.
2449 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
2451 * src/prefs_account.c: prefs_account_privacy_create(): modified
2452 the vertical spacing.
2456 * src/menu.[ch]: menu_set_sensitive_all(): new.
2457 menu_set_insensitive_all(): made it a wrapper for
2458 menu_set_sensitive_all().
2459 * src/prefs_account.c:
2460 prefs_account_open()
2461 prefs_account_protocol_set_optmenu(): made the protocol type
2462 unchangeable after creating an account.
2463 * src/compose.c: compose_attach_parts(): traverse MIME tree to
2464 extract all attathed files from nested multipart MIME message.
2468 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
2469 obtain minimum/maximum number, and to specify first number
2472 src/inc.c: enabled new message checking on news folder.
2473 * src/news.c: news_scan_group(): implemented. Guess new/unread
2474 message number from the response of GROUP command and the mark
2476 news_select_group(): return the total/first/last number.
2477 * src/prefs_account.c: prefs_account_receive_create(): modified
2478 the text of the 'Get all' check button.
2482 * src/account.c: made 'Get all' checkbox available for IMAP4 and
2484 * src/inc.c: corrected the argument of folderview_check_new().
2485 * src/prefs_account.c: modification for the "`Get all' checks for
2486 new mail on this account" checkbox.
2490 * src/folderview.[ch]:
2491 folderview_rescan_tree(), folderview_rescan_all(): renamed from
2492 folderview_update_tree() and folderview_update_all().
2493 folderview_update_all_node(): removed.
2494 folderview_check_new(): new. If the argument is NULL, it checks
2495 all local folders. If the arguments is specified, it checks
2496 the (local and remote) folder.
2499 inc_all_account_mail(): check also IMAP4 account.
2504 folderview_rename_folder_cb()
2505 folderview_delete_folder_cb(): modify the filter rules when folder
2507 * src/prefs_filter.[ch]:
2508 prefs_filter_rename_path(): new. It renames the destination paths
2510 prefs_filter_delete_path(): new. It deletes the filter rules if
2511 the destination paths matched.
2512 * thanks to Neill Miller for above.
2516 * src/compose.c: inherit attached files when forwarding or reediting
2517 (rewrote the code in claws branch).
2518 compose_attach_parts(): new. It extracts and attaches the files
2519 in the given message.
2520 compose_attach_append(): chnaged the types of arguments.
2521 * src/messageview.c: messageview_show(): moved the GPG decryption
2523 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
2531 * src/summary_search(): summary_search_execute(): scroll the view
2532 when message view is hidden.
2536 * src/foldersel.c: foldersel_set_tree(): made different type of
2537 folders selectable in moving mode.
2538 * src/folderview.[ch]: folderview_update_msg_num(): compare the
2539 numbers with the CTree's labels, and don't update folder_item here.
2540 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
2541 implemented moving between different type of folders.
2542 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
2543 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
2544 mh_move_msg() and mh_move_msgs_with_dest()).
2545 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
2546 moving between different type of folders.
2547 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
2548 * src/summaryview.c: summary_status_show(): update folder_item
2550 * po/POTFILES.in: removed reference to headerwindow.c.
2551 * src/summaryview.c: summary_step(): fixed the behavior on the
2552 head and tail of the list.
2556 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
2557 all header' toggle state from the property of the TextView.
2558 * src/summaryview.[ch]: made 'All header' toggle switch.
2559 Prohibited unnecessary menu update.
2560 summary_select_node(): added the argument 'do_refresh'.
2565 * src/utils.c: strsplit_with_quote(): remove quotation characters
2566 in the function (fix composer's external editor problem) (thanks
2567 to Stefaan A Eeckels).
2568 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
2569 main_window_menu_callback_block()
2570 main_window_menu_callback_unblock(): new.
2571 main_window_set_menu_sensitive(): set the toggle status of
2573 show_all_header_cb(): read the status of toggle menu item.
2574 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
2575 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
2580 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
2581 the path separator (thanks to Sergey Vlasov).
2582 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
2583 if the length of selection is zero.
2584 Fixed the assertion.
2585 * src/utils.c: str_open_as_stream(): return immediately if
2586 the length of str is zero.
2587 * src/headerwindow.[ch]: removed.
2589 src/inc.c: removed stale thread support codes.
2593 * src/procmsg.c: procmsg_open_message(): modified so that it
2594 returns the stream of decrypted message file if it exists
2595 (this fixes the failure of gpg decryption in messageview.c).
2605 src/prefs_template.c
2607 src/quote_fmt_parse.y
2609 src/utils.[ch]: if the part of the message text is selected, use
2610 it for quoted text instead of the entire message body (thanks to
2612 src/utils.[ch]: str_open_as_stream(): new. It returns an
2613 temporary stream for the given string.
2614 * src/main.c: added "--send" command line option.
2615 * src/compose.c: compose_reply_set_entry(): add From address to
2616 Cc if Reply-To and to_all are both specified.
2617 * Makefile.am: correct the Source: line in the RPM spec file in
2622 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
2624 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
2625 that specifies the folder selection type.
2636 src/prefs_customheader.c
2638 src/summaryview.c: made it compile with C compilers other than gcc
2639 (thanks to Shawn Houston).
2643 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
2645 * src/prefs_common.c: made the key binding setting separate dialog.
2646 * src/addressbook.c: addressbook_format_address(): add "" around
2647 the display name if it contains comma (thanks to Satoshi Watanabe).
2648 * src/addr_compl.c: get_complete_address(): add "" around the
2649 display name if it contains comma.
2650 get_address_from_edit(): handle the quotation character correctly.
2651 * src/addr_compl.c: get_complete_address()
2652 src/addressbook.c: addressbook_format_address(): fixed a bug that
2653 caused wrong text processing if the display name is empty.
2658 * src/compose.c: compose_exec_ext_editor_real(): replaced
2659 g_strsplit() with strsplit_with_quote().
2661 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
2663 folderview_drag_motion_cb()
2664 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
2665 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
2669 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
2670 of the message is different from the current mailbox.
2671 Return the correct value.
2672 imap_cmd_append(): properly implemented the APPEND command.
2677 src/messageview.[ch]
2678 src/summaryview.[ch]
2679 src/textview.[ch]: show all headers in the message view, and don't
2680 use the header window anymore.
2682 src/prefs_common.c: changed the default shortcut of 'compose new
2685 src/summaryview.[ch]: summary_display_msg_selected(): new.
2686 Show the selected message if 'Show all header' is selected.
2688 src/sourcewindow.c: changed some procmsg_get_message_file_path()
2689 to procmsg_get_message_file() to be sure the message is
2691 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
2692 any folder to MH folder.
2693 folderview_drag_received_cb(): copy messages instead of moving
2694 if the source folder is news or IMAP.
2696 src/summaryview.c: allow copy from news folder.
2700 * src/prefs_common.c: prefs_other_create(): modified the design
2701 of the external command settings.
2702 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
2703 preset closer to the original.
2704 Added Mutt keybind preset.
2705 Also change the compose keybinds.
2706 * src/compose.c: modified some menu shortcuts.
2707 * src/codeconv.c: modified the locale_table for Thai encoding.
2711 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
2712 * src/prefs_common.c: prefs_interface_create(): modified the
2713 description for menu shortcut.
2717 * src/gtkutils.[ch]: added gtk_stext_clear().
2720 src/summaryview.[ch]: enabled multiple forwarding.
2721 * src/summaryview.c:
2722 summary_set_marks_selected(): set marks for all selected row.
2723 summary_reply(): moved from summary_reply_cb().
2724 * compose.[ch]: compose_forward(): modified so that it receives
2726 * src/mainwindow.c: cleanup for reply processing.
2727 * src/summaryview.c: summary_reply(): fixed a memory leak.
2728 summary_key_pressed(): removed hardcoded mark / mark as unread
2731 src/prefs_common.c: added mark / mark as unread shortcuts to
2736 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
2737 if prefs_common.linewrap_quote is not set (it is only for
2738 auto-wrapping on reply).
2739 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
2740 when creating a new account.
2741 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
2743 * src/prefs_common.c: prefs_interface_create(): modified the
2744 description of key binds selector.
2748 * src/mimeview.c: fixed multiple dialog / moving by correcting
2749 button / key event processing.
2751 src/textview.c: pass some key press events to MimeView in MIME
2753 * src/prefs_filter.c: fixed a bug that didn't set the order of
2755 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
2756 empty_menurc string.
2761 src/prefs_common.c: reorganized the menu shortcuts.
2762 Added 'View - Toggle summary view'.
2763 * src/summaryview.[ch]: summary_toggle_view(): made it public
2765 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
2767 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
2768 closing the dialog with window manager (in more appropriate way).
2769 * src/imageview.[ch]
2771 src/mimeview.c: fixed wrong scrolling position when switching
2772 between text and image parts. Also free the unrequired image
2773 (thanks to Sergey Vlasov).
2774 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
2779 * src/prefs_common.c: implemented shortcut quick changer.
2780 * src/folderview.c: folderview_key_pressed()
2781 src/summaryview.c: summary_key_pressed(): removed some hardcoded
2787 procmime_get_mime_type()
2788 procmime_get_mime_type_table(): made the MIME type search case
2791 gtk_stext_delete_line(): delete newline on empty line.
2792 gtk_stext_delete_to_line_end(): delete newline if cursor is on
2794 (thanks to Yasuzaki Masayoshi.)
2799 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
2800 and made them customizable.
2801 * src/utils.[ch]: added get_file_size_as_crlf() which returns
2802 the file size when converting LF to CR+LF.
2806 * src/compose.c: enabled 'Ctrl-Enter' or
2807 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
2809 * src/gtkstext.c: disabled some Emacs key bindings.
2810 gtk_stext_key_press(): don't extend selection when Shift-Enter
2811 is pressed to prevent the disapperance of cursor.
2812 * src/summaryview.c: summary_select_next_unread(): added the button
2813 to search unread message again from the beginning to the dialog.
2814 * src/folderview.c: folderview_key_pressed(): go to next unread
2815 folder if space key is pressed on the empty folder.
2816 Move CTree focus before selecting row.
2820 * src/defs.h: modified the XLFD of default fonts.
2821 * src/textview.c: textview_create(): fixed a bug that caused
2822 segfault if font couldn't be loaded.
2824 src/grouplistdialog.c: compare subscribed groups with path.
2825 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
2829 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
2830 when URL is wider than wrapping margin.
2832 src/prefs_filter.[ch]
2833 src/summaryview.[ch]: added "Create filter rule" function based
2834 on the patch from Luca Rosellini.
2835 * src/summaryview.c: summary_filter_open(): added X-List and
2836 X-Mailing-list to the automatically detected headers.
2840 * configure.in: support Mac OS X (Darwin).
2844 * src/prefs_filter.c: use inc_(un)lock() instead of
2845 inc_autocheck_timer_{remove|set}().
2846 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
2847 instead of gtk_ctree_sort_node() so that messages within threads
2849 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
2850 target of sizeof was wrong and caused crash on Alpha architecture
2851 (thanks to Motonobu Ichimura).
2856 foldersel_gnode_func(): made the names of special folders
2858 foldersel_set_tree(): move the special folder to the top.
2859 * src/inputdialog.[ch]: input_dialog_query_password(): new.
2863 src/send.c: use input_dialog_query_password() instead of their
2864 own query functions.
2868 * src/defs.h: modified the default font.
2872 src/news.[ch]: moved the class definition and some methods to
2873 the proper location.
2877 * src/mimeview.c: mimeview_save_as()
2878 src/summaryview.c: summary_save_as(): put the default filename
2879 based on the subject.
2880 * src/utils.[ch]: added subst_chars() and subst_for_filename()
2881 which substitute some special characters with underscore.
2882 * src/filesel.c: filesel_select_file(): select the default filename.
2887 INSTALL.jp: added the description and the URL for libjconv.
2888 * src/mainwindow.c: menu entries cleanup.
2894 src/about.c: modified the copyright year.
2895 * src/gtkstext.h: added the notice for modification by the Sylpheed
2901 INSTALL.jp: added the URL for compface.
2909 * src/headerwindow.c
2912 src/sourcewindow.c: set wmclass when creating windows.
2916 * src/compose.c: compose_wrap_line_all(): fixed the bug that
2917 caused infinite loop when wrapping certain patterns of quoted text.
2921 * src/imap.c: imap_parse_envelope(): put the assertion after
2922 imap_parse_address() to prevent segmentation fault.
2927 src/mainwindow.c: modified some labels of menu items.
2928 * src/ldif.c: put the return value of fgetc() in a gint.
2929 * src/importldif.c: don't brace null strings with _().
2930 * src/compose.c: moved the position of Subject entry to the last.
2931 Reorganized the menu.
2932 compose_draft_cb(): added 'keep editing after saving to draft'
2937 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
2938 menu. Moved 'Help' menu to just the right of 'Configuration'.
2939 Removed 'File - Close' menu item.
2943 * src/mainwindow.c: some menu reorganization.
2944 * AUTHORS: updated. Added more contributors.
2945 * src/account.c: account_row_moved(): new. Moves displayed row to
2946 the appropriate position when up / down button are pressed.
2947 account_clist_set(): move displayed row to the appropriate position.
2949 src/mainwindow.c: set title and wmclass when creating windows.
2953 * src/gtkstext.c: fixed a bug that didn't show block cursor
2954 correctly. Removed unnecessary GdkGC copy. Fixed cursor
2959 src/undo.c: modified to use GtkSText.
2960 * src/menu.h: added #include <gtk/gtkmenu.h>.
2965 configure.in: added XIM checking for GTK+.
2966 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
2970 * src/filter.c: added #include <sys/types.h>.
2974 * src/template.c: template_write_config(): fixed a typo.
2975 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
2977 src/prefs_filter.c: supported regular expression (thanks to
2979 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
2980 undo state when pasted clipboard was empty.
2981 undo_check_size(): use g_list_last().
2983 undo_redo(): fixed NULL checking and made a bit of optimization.
2985 * src/prefs_common.c: changed the default value of linewrap length
2990 * reorganization of pixmap management.
2991 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
2992 * modified every files which directly use pixmaps data to use
2994 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
2995 undo_set_change_state_func(), and changed its argument from
2996 GtkWidget* to gpointer.
2997 undo_merge(): code cleanup.
2998 * src/compose.c: renamed compose_set_undo() to
2999 compose_undo_state_changed().
3003 * src/account.c: account_find_from_address(): made it case
3005 * src/addressbook.c: addressbook_create(): set wmclass.
3006 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
3009 src/ldif.[ch]: merged from the claws branch.
3010 * src/importldif.c: removed some warnings.
3011 imp_ldif_field_list_toggle(): fixed button checking.
3012 imp_ldif_dialog_create(): minor layout fix.
3013 * src/ldif.c: removed some warnings.
3015 INSTALL.jp: updated confirmation list.
3018 vcard_test_read_file(): fixed a memory leak of tagtemp.
3019 Some code cleanups (decreasing the indent level).
3022 src/syldap.[ch]: disabled runtime library checking because JPilot
3023 and LDAP libraries are linked on the build time, and the program
3024 doesn't execute without them anyway.
3026 src/addrindex.c: changed "J-Pilot" to "JPilot".
3027 Removed warning for atoi().
3031 * src/procmsg.c: procmsg_empty_trash()
3032 src/mainwindow.c: main_window_empty_trash(): empty trash only if
3033 it contains some messages.
3034 * src/imap.c: search_array_str(): new.
3035 imap_status(): fixed a bug that didn't parse the command response
3040 * merged undo function (by Jens Oberender).
3041 * src/undo.[ch]: new.
3042 undo_insert_text_cb(): fix for multibyte characters (obtain the
3043 number of letters instead of bytes).
3044 * src/compose.[ch]: added the code for undo.
3045 * src/prefs_common.[ch]: added the interface for setting undo level.
3049 * src/compose.c: compose_template_apply()
3050 src/prefs_template.c: prefs_template_clist_set_row()
3051 src/template.c: template_write_config(): don't replace To: and
3052 Subject: entry in composition window if they are empty.
3060 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
3061 * src/ldif.c: ldif_get_line(): ignore CR.
3062 * src/mimeview.c: mimeview_show_message(): search also text/html
3063 for first text part.
3067 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
3068 that didn't update accountrc if account_list == NULL (thanks to
3073 * src/utils.h: added the macro Xstrcat_a() that concatenates
3074 two strings and return alloca'd string.
3075 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
3076 handle folder name which includes some spaces correctly
3077 (based on the patch from Willem van Engen (thanks!)).
3078 * src/compose.c: compose_wrap_line_all(): fixed the crash when
3079 wrapping long lines if linewrap quotation is disabled and
3080 a word spanning more than one line.
3084 * applied the Tobias' patch with modification (thanks!).
3086 imap_msg_set_perm_flags()
3087 imap_msg_unset_perm_flags(): new. They set permanent flags to
3090 src/summaryview.c: set flags on IMAP server when flags are changed.
3094 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
3095 of gtk_container_remove() for workaround of a bug in
3096 Gtk{Text,Entry} (thanks to Sergey Vlasov).
3102 src/textview.c: replaced gtk_container_remove() with
3103 gtkut_container_remove(), and removed previous partial fix.
3107 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
3108 checked user ID on "local", but didn't on IMAP4.
3109 * src/imap.c: imap_session_get(): fixed a crash bug when
3110 rfolder->session == NULL.
3111 * Makefile.am: changed the arguments of tar from 'chojf' to
3113 * src/summaryview.c: summary_toggle_view(): disclaim the selection
3114 of textview before removing vpaned.
3118 * src/messageview.c: messageview_change_view_type(): disclaim the
3119 selection before removing textview. This solves the mysterious
3120 copy-paste disability (thanks to Melvin Hadasht).
3121 * src/textview.c: textview_set_font(): use
3122 gtk_editable_claim_selection() instead of
3123 gtk_editable_select_region().
3127 * src/prefs_template.c: prefs_template_window_create(): supported
3128 address completion on the To: entry.
3133 folder_count_total_msgs()
3134 folder_count_total_msgs_func(): use g_node_traverse() to traverse
3139 * src/compose.c: fixed a bug that empty body was refused.
3140 * src/prefs_template.c: fixed a bug that didn't set To: entry
3141 correctly. Display error dialog if format is illegal.
3142 * src/prefs_common.c
3144 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
3145 "{ }" to prevent confusion on using parenthesis.
3146 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
3150 * src/prefs_template.c: added colon to the header labels.
3155 src/prefs_template.c
3156 src/template.[ch]: added To field to the template.
3160 * src/textview.c: textview_show_part(): use first found
3161 message/rfc822 header.
3162 * src/folderview.c: added "Search messages..." to the context menu.
3163 * src/prefs_common.c: prefs_quote_description_create(): added
3164 description for characters which need to be escaped.
3168 * src/compose.c: compose_wrap_line_all(): more merging from claws.
3169 GET_CHAR(): renamed GET_TEXT() and made it more generic.
3170 Modified compose_wrap_line() and compose_wrap_line_all() to use
3172 * src/textview.c: textview_show_part(): show the header of nested
3173 RFC822 attachment correctly.
3178 src/main.c: added --status option to get new, unread and total
3179 message count from a running Sylpheed (merged from claws).
3180 prohibit_duplicate_launch(): output '\n' only once.
3185 src/gtkutils.[ch]: merged the new wrapping function.
3186 gtkut_text_str_compare_n()
3187 gtkut_text_str_compare()
3188 gtkut_text_is_uri_string(): backport from the GtkSText in the
3189 claws branch, and made modification.
3190 * src/prefs_template.c
3191 src/template.[ch]: added Subject to the template.
3195 * src/compose.c: compose_write_headers(): added missing parenthesis
3196 that generated invalid custom header (thanks to Masaaki Noro).
3197 Allow Sender: custom header.
3201 * src/procheader.c: procheader_date_parse(): workaround for
3202 RFC-incompliant Date header.
3206 * src/addrbook.c: removed redundant functions, and fixed generation
3207 of spurious address book file names.
3208 * src/addrindex.c: V-Card -> vCard.
3212 * src/textview.c: get_email_part(): replaced isalnum() with
3213 the macro IS_ASCII_ALNUM() which restricts the range of
3214 characters to 7bit ASCII (thanks to Shimamoto).
3215 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
3220 * src/textview.c: textview_show_part(): show headers on nested
3225 * src/imap.c: imap_session_get()
3226 src/news.c: news_session_get(): fixed segfault when reconnection
3228 * src/grouplistdialog.c: removed redundant code, and expand nodes
3229 that doesn't match the pattern.
3233 * src/compose.c: modified so that it sends message when any of
3234 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
3235 compose_check_for_valid_recipient(): new.
3236 * src/grouplistdialog.c: improved the UI.
3237 Added appropriate description and search button.
3238 Search doesn't get group list again.
3242 * src/news.[ch]: news_session_get(): update the last access time
3244 news_group_list_free(): new.
3245 * src/grouplistdialog.c: free resources correctly.
3250 src/grouplistdialog.[ch]: more merging of new newsgroup
3251 subscription dialog.
3252 * src/news.[ch]: renamed news_remove_group_list() to
3253 news_remove_group_list_cache().
3257 * src/defs.h: added MAX_ENTRY_LENGTH definition.
3258 * src/compose.c: compose_add_entry_field(): create new entry with
3263 * src/grouplistdialog.c: made non-leaf node selectable.
3264 Give the complete newsgroup name for each nodes.
3268 * src/grouplistdialog.c
3269 src/news.[ch]: merging of new newsgroup subscription dialog
3270 (still in progress. Don't use it yet!).
3274 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
3275 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
3277 compose_entries_set(): new. It parses mailto URL and put each
3278 values into the entries.
3282 * src/compose.c: compose_forward(): fixed a bug that forward
3283 quote mark wasn't used (thanks to Hironori IWANE).
3286 src/prefs_common.c: added Thai encodings (thanks to Manrat
3291 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
3295 src/news.c: added last_access_time to Session.
3296 imap_session_get(): check connection only when access interval
3305 * src/socket.c: ssl_gets(): use SSL_peek.
3306 * updated NEWS and AUTHORS.
3307 * Makefile.am: fixed release target.
3311 * src/template.c: changed the format of template file to
3313 * src/compose.c: compose_template_apply(): freeze the text widget
3314 while inserting strings.
3318 * po/POTFILES.in: removed src/template_select.c.
3319 * src/summaryview.c: summary_set_header()
3320 src/address.c: address_parse_str()
3321 src/filter.c: filter_read_str()
3322 src/news.c: news_parse_xover()
3323 src/procheader.c: procheader_get_fromname()
3324 src/utils.c: subject_compare():
3325 replaced Xalloca() + strcpy() with Xstrdup_a().
3326 * src/inputdialog.[ch]: added combo mode.
3327 input_dialog_combo(): new.
3328 * src/prefs_common.[ch]: added MIME open command setting.
3329 prefs_common_{read, save}_config(): read / write command history.
3330 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
3331 * src/utils.[ch]: add_history(): history list management function.
3335 * src/compose.c: select templates from the menu.
3336 compose_set_template_menu(): new.
3337 compose_reflect_prefs_all(): new.
3338 compose_template_apply(): new. Use dummy MsgInfo for parsing.
3339 * src/template.[ch]: store template list to the static heap.
3340 template_get_config(): new.
3341 template_set_config(): new.
3342 * src/prefs_template.c: don't store template list to the global area.
3343 * src/template_select.[ch]: removed.
3344 * src/quote_fmt_parse.y: check folderitem when quoting messages.
3345 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
3346 (thanks to OSHIRO Naoki).
3350 * src/utils.[ch]: get_template_dir(): new.
3351 * src/template.c: use get_template_dir().
3355 * src/prefs_template.c: modified the dialog layout.
3356 Added symbol description button.
3357 * src/summaryview.c: show an arrow mark to the column of the sort
3359 summary_set_column_titles(): new.
3365 TODO.jp: updated the documents.
3369 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
3370 * src/textview.c: textview_key_pressed()
3371 src/mimeview.c: mimeview_key_pressed()
3372 src/summaryview.c: summary_key_pressed(): delete messages with
3377 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
3378 when SSL_read() returned 0.
3379 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
3381 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
3382 Add prototype of yylex() to suppress the warning.
3383 * merged the template function.
3384 * src/prefs_template.[ch]
3386 src/template_select.[ch]: new.
3387 Renamed prefs_templates_* -> prefs_template_*.
3388 * src/compose.c: added template menu. Added replyinfo to Compose.
3389 * src/mainwindow.c: added template setting menu.
3390 * src/quote_fmt_lex.l: output literal tab and return as is.
3391 * src/prefs_common.c: changed the pref. name of quote format to
3392 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
3396 * src/prefs_common.[ch]: added Quote tab, and moved the quote
3397 setting from Compose tab.
3398 * merged the new quote format parser.
3399 * src/quote_fmt_lex.h
3402 src/quote_fmt_parse.y: new files for quote format parser.
3403 * configure.in: added checks for lex and yacc.
3404 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
3406 compose_quote_fmt(): new.
3407 * src/prefs_common.[ch]: added forward format setting to the
3408 Quote tab. Updated the quote description dialog.
3409 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
3410 if they couldn't get text part.
3414 * src/pixmaps/checkbox_off.xpm
3415 src/pixmaps/checkbox_on.xpm: new.
3416 * src/account.c: display `get all' status with the checkbox pixmaps.
3420 * src/send.c: code cleanup. Pass account prefs structure instead
3422 Query password for SMTP AUTH if not specified (thanks to Mio).
3426 * src/procheader.c: procheader_parse(): fixed a bug that didn't
3427 parse multiple message-id in In-Reply-To: header correctly
3428 (thanks to KAJIWARA).
3432 * src/account.c: enabled 'Get all' setting by clicking the 'G'
3433 column of account list, and added some description.
3434 * src/prefs_common.c: prefs_send_create(): added a description
3435 for outgoing codeset.
3439 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
3440 and added select button and short description.
3441 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
3443 procmime_get_mime_type_table()
3444 procmime_get_mime_type_list(): modified so that
3445 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
3446 $(HOME)/.sylpheed/mime.types are read.
3450 * src/prefs_account.c: moved the address auto-setting to the compose
3452 prefs_account_create(): removed gtk_widget_show_all() for proper
3454 * src/prefs_common.c: changed "Program path" to "Command".
3458 * src/textview.c: textview_set_font(): support Russian charset
3460 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
3464 prefs_summary_column.c: minor improvements to the English.
3465 * src/main.c: get_queued_message_num(): don't output the warning
3466 when queueing folder is not found.
3474 * src/prefs_summary_column.[ch]:
3475 made prefs_summary_column_get_config() public.
3476 * src/summaryview.c: summary_ctree_create(): some code cleanup.
3477 * configure.in: moved the position of SSL checking after LDAP
3478 for linking problem.
3483 src/summaryview.c: allowed reedit in the outbox.
3484 * src/prefs_summary_column.[ch]: new. UI for setting summary
3486 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
3487 It calls summary_set_column_order().
3488 * src/summaryview.[ch]:
3489 summary_ctree_create(): new. separated from summary_create().
3490 summary_set_column_order(): new. It destroys the current
3491 CTree and replaces it with the new one.
3495 * src/smtp.[ch]: smtp_from(): abort if auth failed.
3496 * changed C++-style comments into C-style in some files, and
3497 removed unnecessary commented out codes.
3498 * src/addrcache.[ch]
3502 src/syldap.[ch]: updated the addressbook code, and fixed the
3505 src/importldif.[ch]: new.
3509 * src/about.c: added some items to compiled-in features.
3510 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
3511 * src/addressbook.c: changed "V-Card" to "vCard".
3512 addressbook_edit_address_cb(): added
3513 invalidate_address_completion() to the point address is changed.
3514 * src/codeconv.c: changed C++-style comments into C-style.
3518 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
3522 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
3527 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
3529 * src/summaryview.c:
3530 summary_thread_init(): separated from summary_thread_build().
3531 summary_thread_build(): removed the codes for initialization.
3532 summary_set_ctree_from_list(): call summary_thread_init() instead
3533 of summary_thread_build().
3534 summary_filter(): fixed a bug that didn't moved messages despite
3535 of immediate execution setting.
3539 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
3540 reversed thread tree from message list.
3541 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
3542 node to the head instead of appending to the tail. This prevents
3543 the traverse of node list inside of the GtkCTree, and considerably
3544 speeds up the summary display (the order is O(n^2) -> O(n)).
3548 * src/prefs_common.c
3549 src/summaryview.[ch]: initial modification for reorderable columns.
3553 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
3555 * src/folderview.c: folderview_button_pressed(): code cleanup, and
3556 turn sensitivity off if main window is locked.
3557 * src/syldap.c: syldap_read_data(): removed unnecessary and
3558 unportable sched_yield().
3562 * src/folderview.c: renamed "Update folder tree" context menu to
3563 "Rescan folder tree", and made "Update folder tree" only updates
3565 folderview_update_all_node(): don't show message dialog.
3566 * src/gtkutils.c: gtkut_widget_get_uposition()
3567 src/mainwindow.c: main_window_popup(): clip the coordinate to
3572 * src/utils.c: to_human_readable(): made a bit of optimization.
3573 * src/summaryview.c: summary_delete(): fixed a focus problem.
3574 summary_find_{prev,next}_msg(): new. They find previous/next
3575 message that is not deleted.
3576 * src/prefs_filter.c: scroll CList automatically if moved row
3577 becomes not fully visible.
3581 * updated some autotool scripts.
3582 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
3583 infinite loop when failed to convert encoding.
3584 * src/codeconv.[ch]: a fix for older version of libjconv
3585 (jconv_info_get_current_codeset() returned "EUCJP" instead of
3594 * src/compose.c: compose_write_to_file()
3595 src/codeconv.c: conv_codeset_strdup(): more workaround for
3596 libjconv problem on C locale.
3597 * src/editldap_basedn.c: fixed segfault when opening dialog.
3598 * src/utils.c: is_next_mbs()
3599 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
3600 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
3601 * configure.in: increased the reqired version of GPGME to 0.2.3.
3602 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
3603 the receive dialog when POP3 server refused normal authentication.
3607 * src/prefs_common.c: prefs_receive_create(): correction to English.
3608 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
3609 that didn't set the menu sensitivity correctly (thanks to
3611 * src/summaryview.c: delete messages permanently if the current
3612 folder is trash and 'delete' operation is executed.
3613 Fixed the bug that didn't select the last row correctly (thanks
3614 to Alfons Hoogervorst).
3615 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
3616 all messages given in the list.
3620 * src/summaryview.c: summary_show(): fixed a bug that didn't show
3621 message even if the 'open unread message on entering folder'
3622 option was turned on.
3626 * src/procmime.c: procmime_get_text_content(): supported HTML.
3630 * src/summaryview.[ch]: implemented new locking mechanism, and
3631 replaced every static locks with summary_lock(), summary_unlock(),
3632 and added locks to some extra functions.
3633 This fixes a bug that caused segfault when 'd' (delete) key
3638 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
3639 that caused segfault (thanks to Stefaan A Eeckels).
3643 * src/textview.[ch]: added textview_set_position().
3644 * src/messageview.[ch]: added messageview_set_position().
3656 src/editldap_basedn.c
3661 src/vcard.c: converted C++-style comments into C-style one.
3662 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
3663 new buffer and quote with double quotes if required.
3664 imap_status(), imap_cmd_login(), imap_cmd_list(),
3665 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
3666 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
3667 * compose.c: compose_write_to_file(): workaround for the problem
3668 when using libjconv and 8bit codes cannot be converted on C
3670 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
3671 conv_codeset_strdup(): don't convert if source and destination
3672 codeset are identical.
3676 * src/textview.[ch]: textview_search_string_backward(): new.
3677 Add the new member cur_pos to TextView.
3678 Connect button_press_event with gtk_signal_connect_after() to
3679 obtain the correct editable position.
3683 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
3688 * src/summaryview.c: modified the layout of popup menu.
3695 src/summaryview.c: applied the patch from Alfons that allows
3696 threading setting for each folders (tnanks!).
3700 * src/message_search.[ch]: new. A Dialog for searching in current
3702 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
3703 text in current position of GtkText and given wide-character
3705 * src/messageview.[ch]: messageview_search_string()
3706 src/textview.[ch]: textview_search_string(): return TRUE if
3708 * src/textview.[ch]: remember the beginning of body.
3712 * src/procmime.c: procmime_get_first_text_content(): modified so
3713 that it search entire MIME structure.
3714 * src/summary_search.c: summary_search_execute(): use
3715 strdup_mbstowcs() instead of macro. Display matched message.
3719 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
3721 * src/summary_search.c: added body searching function.
3722 * src/procmime.[ch]: procmime_find_string(): changed arguments
3723 and return value. Added case sensitivity option.
3727 * src/procmime.[ch]:
3728 procmime_find_string()
3729 procmime_find_string_part(): new. It searchs the string from
3731 Renamed procmime_get_text_part() to
3732 procmime_get_first_text_content().
3733 procmime_get_text_content(): new. It returns the text contents
3734 of the specified MIME part.
3735 procmime_mimeinfo_next(): new. It returns the next node of
3740 * src/procmime.c: procmime_get_text_part(): modified so that it
3741 finds a text part in nested multipart message correctly.
3742 * src/procmime.h: added an example of MimeInfo structure.
3743 * src/mimeview.c: mimeview_show_message(): search the first text
3748 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
3749 caused segfault. Changed 'Preferences per account...' menu item.
3757 * src/addrindex.c: translate the "Common address" and "Personal
3758 address" from old addressbook.
3762 * src/utils.c: get_quote_level(): some optimization and bugfixes.
3763 * src/codeconv.[ch]: conv_get_current_locale(): new.
3764 * src/editaddress.c: edit_person_page_basic(): reverse the order
3765 of first and last name on some locales.
3769 * src/compose.c: applied the patch from Yasumatsu that reformats
3770 the current paragraph (thanks!). Modified so that it doesn't
3771 reformat quoted paragraphs.
3772 compose_create(): don't fill the entry automatically on reedit
3775 src/summaryview.[ch]: added the "Mark all read" option.
3776 summary_mark_all_read(): new.
3784 src/editldap_basedn.c
3786 src/editjpilot.c: removed all warnings.
3788 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
3789 header files on the Debian system.
3791 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
3792 and color label. Enabled moving to next/prev flagged messages.
3796 * src/pixmaps/dir-close.xpm
3797 src/pixmaps/dir-open.xpm
3799 src/pixmaps/unread.xpm: modified the color balance.
3800 * src/utils.[ch]: execute_sync(): new.
3801 execute_command_line(): added the arg for async mode.
3802 * src/inc.c: inc_mail(): use execute_command_line().
3807 src/prefs_common.[ch]
3808 src/prefs_account.c: modified the layout. Added the option to
3809 launch the external editor automatically.
3810 * src/compose.c: launch the external editor automatically if the
3815 * src/Makefile.am: added extra xpm's.
3819 * src/addressbook.c: fixed a compilation problem when enabling
3821 addressbook_open(): fixed a missing 'else'.
3825 * src/pixmaps/dir-close.xpm
3826 src/pixmaps/dir-open.xpm
3827 src/pixmaps/trash.xpm: replaced with the new blue icons.
3828 * merged Match Grun's new addressbook code.
3829 * src/pixmaps/address.xpm
3830 src/pixmaps/book.xpm
3831 src/pixmaps/category.xpm
3832 src/pixmaps/interface.xpm
3833 src/pixmaps/jpilot.xpm
3834 src/pixmaps/ldap.xpm
3835 src/pixmaps/vcard.xpm: new icons.
3839 src/addressitem.[ch]
3842 src/editaddress.[ch]