3 * src/compose.c: allow dropping files by also "moving" files from a
4 file manager (thanks to Alfons).
8 * compose_reply_set_entry(): made Reply-To have priority over
13 * src/gtksctree.[ch]: gtk_sctree_set_anchor_row(): new.
14 * src/summaryview.c: summary_step(): fixed a bug that lost the
15 correct selection anchor.
16 summary_key_pressed(): use gtk_sctree_select() instead of
20 src/recv.c: differentiate disk full and socket errors
21 (thanks to Colin Leroy).
25 * src/account.c: account_edit_prefs(): removed unused variables.
26 * src/compose.[ch]: separated WITH_QUOTE/WITHOUT_QUOTE flags in
29 compose_reply_set_entry(): receive reply type with one argument.
30 * src/summaryview.c: summary_reply(): reduced conditional branches.
34 * src/compose.c: compose_redirect(), compose_reedit(): strip CR
35 from line ends (thanks to Sergey Vlasov).
36 * src/folderview.c: renamed 'Rescan folder tree' to 'Rebuild
41 * src/folder.[ch]: added a virtual method Folder::remove_msgs().
42 * src/imap.[ch]: implemented imap_remove_msgs() which expunges
47 * src/account.[ch]: account_open(): new. It opens account prefs
48 dialog and reflects to UI when finished.
50 folderview_button_pressed()
51 folderview_property_cb(): open account prefs dialog when the
52 property of the root folder of remote account is requested.
56 * src/account.c: account_destroy(): unref account information in
58 * src/folder.[ch]: folder_unref_account_all(): new. It unref the
59 specified account information in all folders.
61 folderview_rm_imap_server_cb()
62 folderview_rm_news_server_cb(): destroy Folder first because
63 folder_destroy() refers to account information.
67 * src/account.c: account_find_from_item(): fixed a bug which didn't
68 select the correct account.
69 * inc_pop3_session_do():
70 fixed the resource leak when SSL initialization failed.
71 Immediately break from temporary event loop if cancelled.
75 * src/account.[ch]: account_find_from_item(): new.
77 compose_reply(), compose_forward(), compose_redirect()
78 src/mainwindow.c: compose_cb(): select optimal account when
80 * src/folder.[ch]: added FolderItem::apply_sub.
81 * src/menu.[ch]: menu_find_option_menu_index(): new. It finds the
82 index of option menu which contains the specified data.
83 * src/prefs_folder_item(): added Compose tab, and the setting of
88 * configure.in: added $LDAP_LIBS for lber library detection.
96 * src/procmsg.c: procmsg_msginfo_get_full_info(): fixed a memory
97 leak, and added error checking.
101 * src/compose.[ch]: added a flag Compose::use_newsgroups, and
102 removed Compose::orig_account.
103 compose_check_for_valid_recipient(): check only enabled entries.
104 compose_write_headers()
105 compose_redirect_write_headers(): add Newsgroups header only
106 when the entry is enabled.
107 compose_send(): modified the method of finding a mail account
108 from a news account so that it tries to match the From address.
109 * src/send.c: send_message_queue(): enabled the queueing of news
111 * src/news.[ch]: news_post_stream(): new.
115 * configure.in: check lber first and use $LDAP_LIBS on the check
120 * po/*.po: fixed many typos of format strings which will lead to
121 crash (thanks to Sergey Vlasov).
125 * src/procheader.c: procheader_parse_stream(): added Cc header
126 to the target for full parsing.
127 * src/procmsg.[ch]: procmsg_msginfo_get_full_info(): new. It
128 returns the full message information from the given information.
129 * src/compose.c: compose_reply(), compose_forward(): get full
130 message information for Cc header.
134 * src/inc.c: inc_account_mail(), inc_all_account_mail(): update
135 IMAP4 and NNTP folder summary after checking those accounts.
143 * src/prefs_common.c: prefs_compose_create(): modified the label
144 of the option for Reply button.
145 * configure.in: add -lldap and -llber to the 5th argument of
146 AC_CHECK_LIB() for LDAP library detection.
155 * src/mainwindow.c: toggle the behavior of Reply button between
156 normal reply and reply-to-list.
157 * src/prefs_common.[ch]: added an option to switch the function
162 * src/compose.c: compose_new(): removed the workaround for XIM
163 because it doesn't have any effect and only seems to cause
168 * src/compose.[ch]: compose_reply(): added a flag for reply-to-ML.
169 compose_parse_header(): parse also List-Post header.
170 compose_reply_set_entry(): support reply-to-ML (fall back to
171 normal reply if ML address is not found).
174 src/summaryview.c: reorganized Reply menu and added 'Reply to
176 * src/utils.[ch]: scan_mailto_url(): new. It scans mailto URL and
177 returns newly allocated parameters.
181 * src/account.c: account_read_config_all(): set account information
182 to default before initializing with configuration file.
183 * src/prefs_account.[ch]: prefs_account_new(): new. It returns a
184 newly created account information structure initialized by
185 the default settings.
190 replace_address_in_edit(): check if newtext is NULL.
191 completion_window_button_press(): fixed a memory leak.
192 * src/pop.c: LOOKUP_NEXT_MSG(): don't expire messages whose
193 recv_time is RECV_TIME_KEEP.
194 pop3_getrange_uidl_recv(): only set get_all flag if
195 ac_prefs->getall is set.
196 pop3_retr_recv(): don't delete messages which are not received
197 by filter, and set recv_time to RECV_TIME_KEEP in the case.
198 * src/pop.h: added an enum RecvTime.
199 * src/inc.c: inc_drop_message(): unlink temporary message file if
200 not received by filter.
204 * src/mainwindow.c: added 'Edit/Select thread' menu.
205 * src/summaryview.[ch]: added 'Select thread' to the context menu.
206 summary_select_thread(): new. It selects all messages of current
211 * src/rfc2015.c: check_signature(): corrected error handling and
216 * src/rfc2015.c: check_signature(): correctly remove the last empty
217 line, and canonicalize the file part before verifying (this should
218 fix incompatibility with Evolution or some other MUAs).
219 * src/utils.[ch]: copy_file_part(): new. It copies the specified
220 range of file stream to another file.
224 * src/compose.c: compose_write_to_file(): force BASE64 encoding for
225 8-bit text when signing (thanks to Colin Leroy).
229 * src/prefs_common.c: prefs_send_create(): fixed the charset string
230 for Cyrillic (Windows-1251).
238 * src/codeconv.c: changed the charset for ru_RU.CP1251 to
239 Windows-1251. Added bg_BG locale.
243 * src/compose.c: account_activated(): change the state of menu items
244 and entries according to the selected account.
245 compose_select_account(): new. It changes the state of title bar,
246 menu items and entries.
250 * src/inc.c: inc_mail(): correct new_msgs when inc_spool() returned
252 Don't refresh summary view on fetching when open_inbox_on_inc is
257 * src/summaryview.c: summary_show(): refresh even if open_inbox_on_inc
258 is set (to avoid summary refresh problem).
259 * src/imap.c: removed warnings by checking the existence of directory
260 before calling remove*_numbered_files().
264 * src/prefs_common.c: corrected English.
268 * src/prefs_common.[ch]: added an option: "Mark messages as read
269 only when opened in new window".
274 folder_tree_destroy()
275 folder_write_list_recursive(): added sanity check.
276 * src/imap.c: imap_scan_tree(): if folder->node is NULL and
277 can't get session, create empty folder node (based on the
282 * src/textview.c: textview_key_pressed(): pass GDK_Delete event to
284 * src/summaryview.c: summary_key_pressed(): scroll correct TextView
289 * src/news.c: news_scan_group(): fixed wrong message number
294 * major refactoring for POP3.
295 * src/inc.[ch]: moved Pop3State, inc_pop3_state_new(),
296 inc_pop3_state_destroy(), inc_get_uidl_table(), and
297 inc_write_uidl_list() into pop.c.
298 Moved Pop3State::folder_table and Pop3State::inc_state into
301 inc_put_error(): added lockbusy state.
302 inc_pop3_session_do(): obtain inc_state from Pop3State::error_val.
303 inc_cancel(): don't terminate the automaton here but just set
304 the flags to prevent crash.
306 pop3_getauth_pass_recv()
307 pop3_getauth_apop_recv(): check lockbusy state.
308 pop3_retr_recv(): check Pop3State::cancelled flag.
309 * src/automaton.[ch]: added 'cancelled' flag to Automaton.
310 automaton_input_cb(): terminate if cancelled flag is true.
311 * sylpheed.desktop: changed Type=Internet to Type=Application.
312 Added Categories=Application;Network;.
318 src/progressdialog.c: show detailed information to the status
320 Added cur_total_recv_bytes to Pop3State.
321 * src/prefs_common.[ch]: added an option to specify whether to
322 close receive dialog when finished.
326 * src/folder.[ch]: folder_get_path(): new. It returns the root path
330 imap_folder_destroy()
332 imap_remove_all_msg()
333 news_folder_destroy(): remove cache directories / files when
334 deleting Folder / messages.
338 is_file_entry_exist(): check if the argument is NULL.
340 remove_numbered_files()
341 remove_expired_files(): fixed memory leaks on error.
350 src/smtp.[ch]: made Folder and Session destructor virtual method.
354 * src/compose.c: do joining of normal lines only when auto-wrapping.
355 * src/main.c: modified the warning message for GnuPG.
356 * src/about.c: about_create(): modified the compiled-in features
358 * configure.in: improved LDAP library checking (thanks to Alfons).
368 compose_wrap_line_all(): backed out the change to join lines that
373 * configure.in: require at least gpgme-0.3.5.
377 * src/alertpanel.c: alertpanel_create(): minor modification.
386 * src/alertpanel.c: alertpanel_create(): modified the layout.
387 * src/rfc2015.c: check_signature(): don't abort on error.
391 * src/compose.c: compose_wrap_line_all(): freeze widget only if
392 required to repress flickers.
396 * src/compose.c: improved line wrapping.
398 compose_wrap_line_all(): also join lines that are not indented.
399 dump_text(): handle multi-byte strings correctly.
403 * src/compose.c: compose_wrap_line_all(): fix for auto-wrapping
404 (go to next line when space is entered at line limit).
408 * src/inc.c: inc_get_uidl_table(): fixed a memory leak reported by
413 * src/mh.c: mh_scan_tree_recursive(): disabled Maildir folder
414 checking to prevent confusion.
418 * src/folder.[ch]: folder_item_get_msg_list(): added a wrapper for
419 method Folder::get_msg_list().
420 * src/account.c: account_edit_prefs(), account_delete(): use
421 folderview_set_all() instead of folderview_rescan_all().
422 * src/folderview.[ch]:
423 folderview_check_new_all(): new. Updates all folders.
424 folderview_rescan_tree(): confirm before executing.
425 folderview_rescan_all(): commented out since it's not used anymore.
426 folderview_update_item_foreach(): added a flag for summary update.
427 * src/inc.c: inc_finished(): update summary only when
428 prefs_common.scan_all_after_inc is set.
429 inc_drop_message(): set mtime of target folder to 0 to force
430 the updating of summary.
431 inc_start(), get_spool(): update also summary when updating
433 * src/mainwindow.c: changed 'File - Rescan folder tree' to
434 'File - Check for new messages in all folders'.
438 * src/compose.c: compose_write_to_file(): clearsign message body
440 compose_clearsign_text(): new. Replaces the string with clearsigned
442 * src/prefs_account.c: added an option for clearsign.
443 * src/rfc2015.c: rfc2015_clearsign(): new.
444 pgp_sign(): added a flag for clearsign.
445 * src/utils.[ch]: get_tmp_file(): return newly allocated unique file
446 name (needs to be freed by caller).
447 str_write_to_file(), file_read_to_str(): new.
451 * src/procmsg.c: procmsg_read_mark_file(): check key duplication
452 to avoid memory leak.
456 * src/base64.c: include string.h for memcpy().
457 * src/gtksctree.c: use macro ABS() instead of function abs().
458 * src/prefs_account.c
459 src/prefs_common.c: renamed 'send' to 'p_send' so as not to
460 conflict with the function send() in sys/socket.h.
461 * src/mainwindow.c: commented out the unnecessary functions.
462 * src/utils.c: canonicalize_file_replace(): correct warning message.
466 * src/utils.[ch]: get_tmp_file(): new. Returns the directory for
467 temporary files in ~/.sylpheed/.
468 * src/main.c: create temporary directory in ~/.sylpheed/.
470 src/inc.c: create temporary files in ~/.sylpheed/, and modified
472 compose_exec_ext_editor(): fixed a bug that failed to create the
473 temporary file if g_get_tmp_dir() returned directory other than
478 * src/utils.c: copy_file(): check if dest_bak != NULL when unlinking.
482 * src/utils.[ch]: canonicalize_file_replace(): fixed a bug that fails
483 to replace the file when the given file and temporary file are not
484 on the same filesystem.
485 copy_file(): added a flag whether to keep backup.
486 move_file(): added a flag whether to overwrite the destination file.
490 * src/socket.[ch]: fixed the linking failure when IPv6 is enabled.
491 * src/select-keys.c: modified key selection dialog.
495 * src/socket.[ch]: my_gethostbyname(): new.
496 * src/utils.c: get_domain_name(): return FQDN instead of short
497 hostname (thanks to Bob Woodside).
498 * src/template.c: made the debug messages less verbose.
502 * src/prefs_common.[ch]: removed obsolete default sign key setting.
503 * src/utils.c: canonicalize_file(): correct the error check of
508 * src/compose.c: compose_write_to_file():
509 canonicalize line endings before encrypting/signing (this will fix
510 interoperability with other MUAs).
511 Removed unnecessary strdup.
512 Don't encrypt/sign draft message.
514 canonicalize_file(), canonicalize_file_replace(): new.
516 src/select-keys.c: changed g_message() to debug_print() and
518 * src/mimeview.c: mimeview_check_signature(): removed unnecessary
519 MIME structure scanning.
520 * src/textview.c: textview_add_part(): show signature status in
523 src/sigstatus.c: modified translatable strings and some MIME
528 * src/procmsg.c: procmsg_save_to_outbox(): don't forget to remove
529 the temporary file when saving from queue.
535 src/prefs_account.[ch]
536 src/prefs_common.[ch]: merged GnuPG stuff from the claws branch.
537 Modified some messages.
541 * src/textview.c: textview_scan_header(): fixed a memory leak
546 * src/prefs_actions.c: execute_actions(): put create_io_dialog()
547 in right conditional block.
551 * src/compose.c: compose_wrap_line_all(): fixed character buffer
557 log_error(): add time stamp to log messages.
562 corrected a typo (HAVE_SYS_SELECT -> HAVE_SYS_SELECT_H)
566 * src/socket.c: implemented socket I/O timeout.
568 * src/pop.c: check errors and return error value correctly.
572 * src/prefs_actions.c: made the action's input/output dialog display
573 without delay. Made the dialog modal instead of making window
574 insensitive. Also cleaned up its UI.
578 * implemented --attach command line option.
580 Cmd::attach_files: new member to store file paths.
581 parse_cmd_opt(): added --attach option. --compose option is implied.
582 prohibit_duplicate_launch()
583 lock_socket_input_cb(): added "compose_attach" message.
586 src/textview.c: renamed compose_new_with_recipient() to
587 compose_new(), and added an argument for attachment files.
591 * src/logwindow.c: freeze GtkText widget while hidden.
592 log_window_append(): changed the header for message and warning.
596 * src/news.c: implement automatic cache expiration.
597 news_delete_expired_caches(): new.
598 news_get_article_list(): fixed a bug that nonexistent messages
599 were not removed from list.
600 * src/procmsg.[ch]: procmsg_get_last_num_in_msg_list(): renamed
601 procmsg_get_last_num_in_cache().
602 * src/utils.[ch]: remove_expired_files(): new.
607 inc_mail(): force summary refresh when using external command for
609 inc_all_account_mail(): fixed a bug on spool checking failure.
620 src/editldap_basedn.c
622 src/prefs_common.c: fixed memory leaks which didn't free strings
623 gtk_editable_get_chars() returned. And minor code cleanups.
625 src/vcard.h: removed C++-style comments.
629 * src/codeconv.c: conv_encode_header(): fixed a problem in encoding
630 strings which include both multi-byte and us-ascii characters.
634 * src/utils.c: remove_numbered_files(): don't try to unlink()
637 conv_get_code_conv_func(): return conv_anytodisp() if charset is
639 conv_unmime_header_overwrite()
640 conv_unmime_header(): do conv_anytodisp() before decoding header.
648 * src/compose.c: added 'Tools/Actions' menu.
652 * src/base64.c: a minor fix for BASE64VAL() macro.
656 * src/base64.c: base64_decode(): fixed a buffer overrun bug.
664 src/base64.[ch]: rewrote the BASE64 encode / decode routines.
665 base64_encode(), base64_decode(): new.
666 * src/rfc822.[ch]: removed.
668 src/about.c: removed the copyright notice for fetchmail.
674 src/unmime.[ch]: rewrote the MIME decode routines.
676 unmime_quoted_printable_line(): new.
678 procheader_get_one_field()
679 procheader_get_unfolded_line(): remove also CR.
683 * libkcc: removed from the source tree.
685 src/about.c: removed the copyright notice for libkcc.
686 * src/codeconv.c: conv_guess_encoding(): check for ASCII code first
688 * src/prefs_actions.c: removed unnecessary spaces/tabs.
692 * src/prefs_actions.c: comply with the coding style.
693 Modified the UI design.
694 * src/mainwindow.c: main_window_set_menu_sensitive(): enable Actions
695 menu when multiple messages are selected.
699 * src/prefs_actions.[ch]: merged the 'Actions' feature from claws.
700 update_actions_menu(): simplified the menu deletion.
701 * src/mainwindow.c: added 'Actions' menu to Tools and Configuration.
705 * src/codeconv.[ch]: implemented conv_jistoeuc(), conv_euctojis(),
706 conv_sjistoeuc(), and conv_guess_encoding(). Removed the dependency
711 * configure.in: added check for strchr.
715 * src/prefs_common.[ch]
716 src/inc.c: added an option to inhibit receive error dialog.
720 * src/account.c: account_find_from_address(): support multiple
725 * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
726 GtkCTreeNode* so that it won't become invalid after the row move.
727 Removed dependency to gtkutils.c.
728 * src/prefs_common.[ch]
729 src/summaryview.c: summary_selected(): added an option to show
730 message when cursor keys are pressed on summary view.
736 src/compose.c: changed "host_alias" to "target_alias" so that it
737 shows the correct system name on cross-compiling (thanks to
742 * src/prefs_account.[ch]: added the option menu to force an
743 authentication method for SMTP AUTH.
745 src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
746 specify the authentication method for SMTP AUTH.
747 smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
751 * src/prefs_common.[ch]
752 src/compose.c: enabled "Wrap on input".
756 * src/summaryview.[ch]
757 src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
758 Made some code cleanups.
763 src/prefs_common.[ch]: added the hidden option to specify the
764 policy of the vertical scrollbar on folder view.
768 * src/messageview.[ch]:
769 messageview_copy_clipboard(): fixed a bug that couldn't copy text
771 messageview_get_current_textview(): new.
772 messageview_get_text_widget(): removed.
773 * src/quote_fmt_parse.y: quote message even if msginfo is empty.
774 * src/compose.[ch]: implemented the "Paste as quotation" feature.
775 text_inserted(): new callback for "insert_text" signal.
776 Add quote mark to the pasted text if Compose::paste_as_quotation
781 * src/compose.c: if the Content-Type of a file is text/*, check
782 its content and set the optimal Content-Transfer-Encoding (thanks
787 * src/textview.c: textview_key_pressed(): pass key press event to
788 main window to activate menu shortcuts (thanks to Alfons).
792 * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
793 for mtime to prevent flooring.
796 imap_move_msgs_with_dest()
797 imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
799 imap_parse_envelope()
800 imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
801 full information of messages and simplify the parser. Also fixed
802 the bug that References header was ignored on threading.
803 imap_parse_one_address()
804 imap_parse_address(): removed.
805 imap_get_header(): new. It reads the RFC822 header and returns
806 a newly allocated string.
807 * src/procheader.[ch]: changed procheader_parse() to
808 procheader_parse_stream() and added different interfaces for it.
812 * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
820 * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
821 could be inserted into the hash table.
822 inc_write_uidl_list(): a minor code cleanup.
823 * src/mainwindow.c: main_window_get_current_state():
824 make the state unexecutable on an empty folder.
825 * src/summaryview.c: summary_sort(): don't sort on an empty folder.
826 * src/pop.c: minor code cleanups.
830 * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
831 corrected the behavior of the radio buttons.
835 * implemented 'Delete messages after N days' feature for POP3.
838 inc_write_uidl_list(): moved the location of UIDL list file from
839 RC_DIR/uidl-* to RC_DIR/uidl/*.
840 Added received time for each UIDLs.
841 src/main.c: main(): create RC_DIR/uidl/ directory.
842 src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
843 Added recv_time to Pop3MsgInfo.
844 src/prefs_account.[ch]: added an option for the number of days for
853 * src/folder.c: folder_set_missing_folders(): fixed a bug that
854 caused multiplication of special folders on startup if their
856 * src/folderview.c: folderview_remove_mailbox_cb(): modified the
861 * src/compose.c: compose_reply(), compose_forward(): reverted the
862 last change since it causes lockup problem.
866 * src/compose.c: compose_reply(), compose_forward(): don't autowrap
868 compose_new_with_recipient(): workaround for initial XIM problem.
872 * src/mainwindow.c: sort ascending / descending order can be
873 specified with separated menu items.
874 Added "View/Sort/Don't sort" menu item.
875 * src/summaryview.[ch]: summary_sort(): added an argument for
880 * implemented persistent sort order.
882 folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
883 folder_write_list_recursive(): write sorting state.
885 src/summaryview.[ch]: summary_show(): sort if required.
886 select the top node on descending sort.
887 Removed SummarySortType and sorting state variables from
895 src/prefs_account.[ch]: enabled NNTP over SSL.
896 * src/nntp.c: nntp_group(): issue MODE READER command and retry
897 when GROUP command once failed (this seems to avoid problems on
898 some broken news servers).
902 * faq/it/*.html: corrected DOS linebreaks.
903 * faq/*/*.html: changed ">" to ".
907 * src/prefs_account.c: prefs_account_protocol_activated(): hide
908 unnecessary frames in SSL tab.
914 src/prefs_account.[ch]: enabled STLS command in POP3.
915 * src/account.c: account_clist_set_row(): display TLS setting.
919 * src/compose.c: compose_send_later_cb(): support redirect function.
922 src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
924 src/smtp.[ch]: use SSLType instead of SSLSMTPType.
928 * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
929 * src/compose.c: compose_create(): removed unrequired lines.
933 * src/news.c: news_scan_group(): fixed a bug that set the wrong
934 values in some cases.
935 * src/prefs_account.c: corrected English in Advanced - Folder
940 * src/textview.c: textview_show_message(), textview_show_part():
941 fixed a bug that GtkSText *text pointed the incorrect object.
942 textview_add_part(): freeze GtkSText while adding RFC822 headers.
943 textview_show_part(): fixed a bug that couldn't display single
944 part MIME message as text.
948 * src/compose.c: compose_redirect_write_to_file(): correct the target
949 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
950 incomplete file when an error occured.
955 compose_create(): disable menus for draft on redirection mode.
956 compose_redirect_write_to_file(): correct the error handling of
958 * src/prefs_common.c: turned off the "Display recipient on `From'
959 column if sender is yourself" option by default.
963 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
964 Based on the implementation of the claws branch.
965 compose_redirect(): create a new window and make it uneditable.
966 compose_redirect_write_to_file(): copy headers and body of
967 original message except for some.
968 compose_redirect_write_headers(): add extra "Resent-*" headers.
969 compose_create(): set menu sensitivity for redirection mode.
973 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
974 space is inserted between encoded string and the following folded
975 one (thanks to Masahiro Tomita).
979 * src/mainwindow.[ch]: some refactoring has been made.
980 main_window_toggle_message_view(): moved summary_toggle_view_real()
982 * src/messageview.[ch]: messageview_is_visible(): new.
983 * src/summary_search.c
984 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
985 Instead use messageview_is_visible().
989 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
990 * src/summaryview.[ch]:
991 summary_expand_threads(), summary_collapse_threads(): new.
995 * src/mainwindow.c: Fixed the behavior of
996 '/View/Show or hide/Folder tree' and
997 '/View/Show or hide/Message view' toggle menu.
998 Removed '/View/Toggle summary view' menu and integrated the
999 function into '/View/Show or hide/Message view'.
1000 main_window_set_widgets(): change the state of toggle menu items.
1001 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
1006 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
1007 MIME contents other than text as children of message/rfc822 part.
1009 procmime_mimeinfo_next(): modified for message/rfc822 part which
1010 content-type is single part MIME.
1011 procmime_scan_multipart_message(): fix for nested message/rfc822
1012 part. Corrected the size of the contents of message/rfc822.
1013 * src/textview.c: textview_show_part(): extract the contents of
1014 multipart/* and message/rfc822. Some code cleanups.
1015 textview_add_parts(): new. It adds the all parts under a part to
1017 textview_clear(): reset body_pos and cur_pos.
1021 * src/addr_compl.c: modified so that it behaves better.
1022 get_address_from_edit(): ignore comma inside of brackets.
1023 completion_window_apply_selection(): new. Only apply the current
1025 completion_window_accept_selection(): removed.
1026 address_completion_complete_address_in_entry(): minor code cleanup.
1027 don't replace address in entry here.
1028 completion_window_select_row(): always apply clist selection to
1030 completion_window_key_press(): don't apply selection here.
1034 * src/imap.c: imap_create_folder(): keep trailing directory separator
1035 to create a folder that contains sub folder.
1039 * src/foldersel.c: sort tree with case insensitive.
1040 * src/mainwindow.c: allsel_cb()
1041 src/messageview.c: messageview_select_all(): fixed 'Select all'
1043 * src/mainwindow.c: removed common and account prefs button from
1048 * src/compose.c: compose_account_option_menu_create(): check if
1057 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
1058 manual/en/*: updated the English manual.
1060 faq/it/*: added German and Italian FAQ.
1063 faq/fr/*: updated FAQs.
1065 src/mainwindow.c: added German and Italian language.
1069 * src/prefs_account.c: turn off "receive at get all" option by default
1070 when creating an IMAP or News account.
1074 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
1075 * src/prefs_folder_item.c: show also identifier path.
1076 Made layout using table. Show uneditable entry using background
1078 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
1083 * src/automaton.[ch]: added UI callback to Automaton.
1085 src/pop.c: use callback instead of calling inc_progress_update()
1087 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
1092 * src/folderview.c: properly sort abbreviated newsgroups.
1097 src/prefs_common.[ch]
1098 src/summaryview.c: added an option to specify the minimum length
1099 for abbreviated newsgroups name.
1103 * src/folderview.c: folderview_check_new(): skip unselectable folders.
1104 * src/summaryview.c: added 'Create filter rule' to the context menu.
1105 * src/imap.c: some code cleanups.
1106 imap_scan_tree_recursive(): get path separator for each calls.
1107 imap_get_path_separator(): new.
1111 * src/imap.[ch]: supported namespace for others/shared folders
1113 imap_parse_namespace(): parse also others/shared namespace.
1114 imap_find_namespace(): search also others/shared namespace.
1116 strchr_parenthesis_close(): return pointer to closing parenthesis.
1117 strsplit_parenthesis(): split parenthetic list into array of
1122 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
1123 parse date string like "Mon,6 May 2002 20:31:12 +0800".
1124 procheader_scan_date_string(): new. Separated string scanning
1125 part from procheader_date_parse().
1129 * src/summary_search.c: summary_search_execute(): unlock while
1130 selecting summary row (thanks to Martin Schaaf).
1131 * src/summaryview.c: summary_set_column_titles(): reversed the
1132 direction of the arrow so that it matches with Win/Mac style.
1136 * src/compose.c: compose_write_headers(): quote self address name
1137 if required. Some code cleanups. Don't override Newsgroups and
1138 Cc with custom headers.
1139 * src/imap.c: imap_add_msg(): return UID for appended message.
1140 * src/compose.c: compose_queue(): check if queue folder exists.
1141 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
1143 imap_open(): removed an unrequired argument.
1147 * src/utils.[ch]: trim_string(): new. It trim characters longer than
1148 the specified length and adds "...".
1149 * src/folderview.c: trim folder name when displaying dialog.
1153 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
1155 * src/folderview.c: folderview_select()
1156 src/summary_search.c: summary_search_execute(): lock summary view
1157 while searching (thanks to Martin Schaaf).
1165 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
1169 * src/summaryview.c: summary_show(): fixed a bug that didn't process
1171 * src/account.c: account_edit_prefs(): fixed a crash bug when account
1173 * src/prefs_account.c: prefs_account_apply(): display error dialog
1174 if account name is empty.
1175 * src/imap.c: changed some log_print() to debug_print() to reduce
1180 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
1184 mh_do_move_msgs_with_dest()
1186 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
1187 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
1188 if stat() succeeded.
1190 imap_fetch_msg(): SELECT mailbox before FETCH if required.
1191 imap_scan_folder(): set last_num using the value of UIDNEXT.
1192 imap_select(): return immediately if there is no need for SELECT.
1193 preserve the path of currently selected mailbox.
1194 imap_status(): added UIDNEXT.
1198 * src/folder.c: folder_item_scan(): removed the warning.
1199 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
1200 setting case sensitivity.
1204 * src/mainwindow.c: main_window_create(): restrict the minimum size.
1208 * src/compose.c: merged the new line-wrapping routine.
1209 join_next_line(): fixed a bug that didn't join multibyte
1211 get_indent_length(): modified enums and variable names.
1212 INDENT_CHARS: don't indent ':'.
1214 folderview_rename_folder_cb()
1215 folderview_delete_folder_cb(): support folder identifier.
1216 folderview_rm_imap_folder_cb(): integrated with
1217 folderview_delete_folder_cb().
1221 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
1222 * src/folderview.c: folderview_check_new(): abort checking if
1223 folder_item_scan() failed.
1227 * src/imap.c: imap_create_missing_folders(): create only INBOX and
1229 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
1230 type of news folders unchangeable.
1231 prefs_folder_item_destroy(): use prefs_dialog_destroy().
1232 * src/prefs.[ch]: prefs_dialog_destroy(): new.
1236 * src/prefs_account.[ch]: added special folder setting to Advanced
1237 tab. Also moved "IMAP server directory" setting to there.
1238 * src/account.[ch]: account_get_special_folder(): new. It returns
1239 the optimal special folder for accounts.
1240 * src/compose.c: use account_get_special_folder().
1241 * src/prefs_folder_item.[ch]: new. Implemented folder property
1242 dialog, and the special folder settings (most of the functions in
1243 claws are not integrated yet, and the structure is slightly
1245 * src/folderview.c: enabled Property menu.
1249 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
1250 scanning when encountering separators ',' and ';'.
1254 * src/mainwindow.c: reorderd the menu a bit.
1255 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
1256 compose_reply_set_entry(): made 'Reply to sender' work for
1261 * src/compose.c: compose_create(): set geometry hints to restrict
1262 the maximum size of window.
1263 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
1264 imap_get_uncached_messages()
1265 imap_cmd_fetch(): ignore responses which don't include FETCH.
1269 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
1270 the clause for OpenSSL).
1274 * src/prefs_account.c
1275 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
1281 src/session.[ch]: first reorganization of SMTP protocol handling.
1282 SMTPSession: new class which is a sub class of Session.
1283 smtp_session_new(): moved send_smtp_open() into this function.
1284 smtp_from(): moved SMTP AUTH calls into smtp_auth().
1285 smtp_auth(): use server response for SMTP AUTH method.
1286 smtp_ehlo(): read server response and set auth type flags.
1287 smtp_helo(): separated EHLO command.
1288 smtp_ok(): return the last server response if the buffer is
1290 * src/esmtp.[ch]: merged into smtp.[ch].
1291 * src/imap.c: imap_session_destroy_all(): use session_destroy().
1295 * src/imap.c: imap_open(): show warning message if IMAP4 session
1296 can't be established.
1300 * src/compose.c: made template able to be inserted into the current
1302 * src/mainwindow.c: moved some menu items under the submenu
1303 '/View/Show or hide'.
1308 src/inc.c: changed folder_find_item_from_path() to
1309 folder_find_item_from_identifier().
1311 src/prefs_filter.c: use folder_item_get_identifier() to specify
1316 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
1317 existed in claws' implementation).
1318 folder_find_from_name(): find Folder from name and type.
1319 folder_get_identifier(): return Folder id.
1320 folder_item_get_identifier(): return FolderItem id.
1321 folder_find_item_from_identifier(): find FolderItem from id.
1322 folder_get_type_string(): return folder type string.
1323 folder_get_type_from_string(): return FolderType from string
1324 (and fixed the wrong g_strcasecmp() usage).
1326 src/import.c: use folder_item_get_identifier() and
1327 folder_find_item_from_identifier().
1331 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
1332 point the correct address after reading the continuous line.
1333 imap_scan_folder(): set new number to 0 if unseen number is 0.
1334 imap_parse_flags(): don't add new and unread flag if \Seen flag
1336 * ac/Makefile.am: removed gpgme.m4 from MACROS.
1340 * fixed the old problem that couldn't add flags to currently opened
1343 compose_send(): update outbox after saving.
1345 compose_draft_cb(): use procmsg_add_flags().
1346 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
1348 * src/main.c: send_queue(): send from all queue folders.
1349 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
1351 procmsg_flush_mark_queue(): new. Write all queued flags into file.
1352 procmsg_add_flags(): new. Add specified flags to the folder.
1353 procmsg_send_queue(): added an argument to specify queue folder.
1354 procmsg_save_to_outbox(): use procmsg_add_flags().
1355 * src/summaryview.c:
1356 summary_show(): up the opened flag of FolderItem.
1357 summary_clear_list(): down the opened flag of FolderItem.
1358 summary_write_cache(): call procmsg_flush_mark_queue().
1362 * src/summaryview.[ch]: trim the tail of folder name and selected
1363 number on the status label if the space is not enough.
1367 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
1368 set SpecialFolderItemType when creating special folders under
1370 * ac/gpgme.m4: removed.
1372 * ac/missing/gdk-pixbuf.m4
1373 ac/missing/gettext.m4
1375 ac/missing/imlib.m4: added for convenience.
1379 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
1380 shown after the decoded challenge string. Fixed a memory leak.
1382 * src/compose.c: compose_draft_cb(): mark draft messages as read.
1383 * src/folderview.c: folderview_update_node(): disable emphasis
1384 for Outbox and Draft folders.
1388 * src/messageview.c: messageview_show(): fixed a memory leak.
1389 * src/summaryview.c: summary_save_as(): show error dialog if copy
1391 * src/about.c: about_show(): make the window active if it is already
1396 * src/compose.c: show confirmation dialog before sending if Subject
1398 compose_check_entries(): new.
1400 compose_send_later_cb(): use compose_check_entries().
1401 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
1405 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
1406 responses with continuous line correctly, and fixed a memory leak.
1410 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
1412 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
1413 after pasting with middle button to prevent the selection growth.
1418 folderview_rename_folder_cb()
1419 folderview_delete_folder_cb(): modify filter rules only if the
1420 target folder is in the default mailbox.
1421 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
1428 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
1429 Moved 'Delete duplicated messages' under 'Tools'.
1433 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
1435 * src/imap.c: imap_create_special_folder(): fixed a crash bug
1436 when folder creation failed, and re-try to create folders under
1438 imap_scan_tree_recursive(): don't automatically add namespace
1439 prefix if it's INBOX. Search also under the INBOX for special
1441 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
1446 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
1447 abbreviated newsgroup name.
1448 * src/folderview.c: folderview_update_node(): display newsgroups
1449 with abbreviated name if name and path is the same.
1450 * src/summaryview.c: summary_status_show(): show the newsgroup with
1456 src/folderview.c: changed the label 'Draft' to 'Drafts'.
1457 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
1458 imap_create_missing_folders(): fixed the wrong assignment of
1459 Queue folder to draft.
1463 * enabled Sent / Draft / Queue folders on IMAP server.
1464 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
1465 queue and draft folder if they exist.
1467 imap_create_trash(): removed.
1468 imap_create_special_folder(): new. Generalized imap_create_trash().
1469 imap_create_missing_folders(): automatically create missing folders.
1470 imap_is_msg_changed(): added the dummy method.
1471 imap_scan_tree_recursive(): search also Sent, Draft and Queue
1472 folders. Minor code cleanups.
1473 imap_parse_envelope(): check for null strings.
1474 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
1475 for messages on IMAP folder.
1479 * src/compose.c: compose_send(): use account's outbox folder
1481 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
1482 that the outbox can be specified.
1486 * src/compose.c: don't save to outbox when messages are queued.
1487 compose_save_to_outbox(): moved to procmsg.c.
1488 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
1490 procmsg_save_to_outbox(): new. Removes the queueing headers if
1491 needed, and adds the given file to the outbox.
1495 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
1496 get_indent_length(): treat ':' and '#' also as quote char, and
1497 cleaned up using strchr().
1501 * src/mainwindow.c: modified some menu items.
1505 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
1506 (current "outbox" will be kept until rescan).
1507 * src/folder.c: folder_set_missing_folders(): create the missing
1510 src/folderview.c: changed 'Outbox' to 'Sent'.
1511 * src/main.c: call folder_set_missing_folders().
1512 * src/mh.c: mh_scan_tree(): create missing folders.
1513 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
1514 didn't set the menu sensitivity correctly.
1519 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
1520 folderview_rename_folder_cb(): reopen the current folder when
1521 the ancestor is renamed.
1522 imap_rename_folder(): new method implementation.
1524 imap_rename_folder_func(): new.
1525 imap_remove_folder(): remove also the cache directory.
1529 * src/imap.c: implemented locale encoding <-> modified utf-7
1530 conversion, and supported i18n of folder name (thanks to Suzuki
1532 imap_path_separator_subst(): handle the escape characters of
1534 imap_modified_utf7_to_locale()
1535 imap_locale_to_modified_utf7(): new.
1536 imap_create_trash(): modified so that it create the Trash folder
1537 to the correct location when imap directory is specified.
1538 imap_get_real_path(): removed debug print.
1542 * src/socket.c: implemented timeout for DNS lookup and connect().
1543 sock_connect_by_hostname(): timeout support and code cleanup.
1544 sock_connect_with_timeout(): new.
1545 sock_peek(): implemented SSL peek.
1549 * src/messageview.c: messageview_show(): display single-part
1550 text/html messages with the normal text view.
1564 src/prefs_customheader.c
1565 src/prefs_display_header.c
1580 src/xml.c: added 'b' to the option of all fopen().
1588 * src/ssl.[ch]: match its coding style.
1589 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
1593 faq/en/sylpheed-faq*.html
1595 faq/es/sylpheed-faq*.html
1597 faq/fr/sylpheed-faq*.html
1603 src/manual.[ch]: added FAQs in English, Spanish and French.
1607 * manual/en/sylpheed*.html: updated to the latest version.
1612 src/mgutils.c: include string.h to remove warning about strlen()
1626 src/summaryview.c: added break to the last label of switch to
1627 prevent the 'deprecated use of label at end of compound statement'
1629 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
1633 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
1635 inc_cancel_all(): new. It cancels the all current incorporation.
1636 * src/mainwindow.c: added 'Cancel receiving' menu.
1637 * src/textview.c: a minor fix for single-part MIME messages, and
1638 a bit of cleanup for textview_write_body().
1642 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
1643 information if any errors occured before issuing UIDL command.
1644 src/inc.h: added uidl_is_valid to Pop3State.
1645 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
1653 * src/mimeview.c: mimeview_create(): set the initial notebook page
1655 * src/folderview.c: folderview_selected(): scroll the view if the
1656 selected row is hidden.
1657 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
1658 and select the added row.
1659 * src/summaryview.c: fix threading for null message ids.
1663 * src/textview.c: textview_show_message(): follow message/rfc822
1665 textview_add_part(): add a caption before the attached text files.
1666 textview_show_header(): don't add the newline.
1667 * src/messageview.c: enabled message search also in MIME mode.
1671 * src/messageview.c: messageview_show(): set header state of
1672 MimeView's TextView, too.
1673 * src/mimeview.c: mimeview_show_message(): call
1674 textview_show_message() to display message.
1675 * src/textview.c: textview_add_part(): new. It adds the content
1676 of message part without clearing the view.
1677 textview_show_message(): display all parts with appropriate
1679 textview_write_body(): separated from textview_show_part().
1684 src/prefs_common.c: added ISO-8859-15 to the codesets for
1685 displaying and sending.
1686 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
1687 conversion failed, and made caller deal with it.
1688 * src/compose.c: compose_write_to_file(): show error dialog when
1689 code conversion failed, and let user select whether to send it
1691 * src/textview.c: textview_write_line(): show the original string
1692 if code conversion failed.
1696 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
1697 if copy_mbox() failed (thanks to Alexander Kabaev).
1698 * src/prefs_account.[ch]: added separate user ID / password setting
1700 * src/send.c: send_message_smtp(): use separate user ID / password
1701 for SMTP AUTH if it is specified.
1706 src/pop.[ch]: refactored the UIDL management.
1707 store the information of messages into the array of Pop3MsgInfo
1708 structure, and do full scanning of not retrieved messages.
1714 src/mainwindow.c: set WMCLASS for window/dialog.
1715 * src/codeconv.c: conv_codeset_strdup(): return source string
1716 when jconv_alloc_conv() failed.
1720 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
1727 src/summaryview.c: implemented the new notebook tab interface for
1729 * src/textview.[ch]: fixed line space related glitches.
1733 * src/prefs_filter.c:
1734 prefs_filter_rename_path()
1735 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
1739 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
1740 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
1742 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
1743 cancelled, and fixed potential crash bug.
1744 * src/grouplistdialog.c: enabled cancelling of data receiving.
1745 * src/news.c: news_get_group_list(): destroy current session if
1750 * src/manage_window.[ch]: fixed a bug that caused crash when
1751 the main window was hidden.
1752 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
1753 Monitor "unmap_event", "destroy" events.
1760 src/grouplistdialog.c
1764 src/message_search.c
1768 src/prefs_customheader.c
1769 src/prefs_display_header.c
1771 src/prefs_template.c
1772 src/summary_search.c
1773 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
1774 connect signals for window management.
1778 * src/prefs_account.[ch]: added receive size limit option.
1779 * src/pop.c: skip messages larger than the limit size.
1780 LOOKUP_NEXT_MSG(): new macro.
1781 * src/compose.c: compose_attach_append(): check whether the file
1786 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
1787 changed g_message()'s to debug_print() and g_warning().
1788 rfc2015_decrypt_message(): fixed a bug that duplicated message
1789 parts when decryption was failed/cancelled. And made some code
1791 * src/passphrase.c: made the dialog transient.
1792 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
1797 src/procmsg.[ch]: fixed a bug that failed to parse multipart
1798 messages if GPGME was enabled.
1799 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
1801 * src/prefs_account.c: prefs_account_privacy_create(): modified
1802 the vertical spacing.
1806 * src/menu.[ch]: menu_set_sensitive_all(): new.
1807 menu_set_insensitive_all(): made it a wrapper for
1808 menu_set_sensitive_all().
1809 * src/prefs_account.c:
1810 prefs_account_open()
1811 prefs_account_protocol_set_optmenu(): made the protocol type
1812 unchangeable after creating an account.
1813 * src/compose.c: compose_attach_parts(): traverse MIME tree to
1814 extract all attathed files from nested multipart MIME message.
1818 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
1819 obtain minimum/maximum number, and to specify first number
1822 src/inc.c: enabled new message checking on news folder.
1823 * src/news.c: news_scan_group(): implemented. Guess new/unread
1824 message number from the response of GROUP command and the mark
1826 news_select_group(): return the total/first/last number.
1827 * src/prefs_account.c: prefs_account_receive_create(): modified
1828 the text of the 'Get all' check button.
1832 * src/account.c: made 'Get all' checkbox available for IMAP4 and
1834 * src/inc.c: corrected the argument of folderview_check_new().
1835 * src/prefs_account.c: modification for the "`Get all' checks for
1836 new mail on this account" checkbox.
1840 * src/folderview.[ch]:
1841 folderview_rescan_tree(), folderview_rescan_all(): renamed from
1842 folderview_update_tree() and folderview_update_all().
1843 folderview_update_all_node(): removed.
1844 folderview_check_new(): new. If the argument is NULL, it checks
1845 all local folders. If the arguments is specified, it checks
1846 the (local and remote) folder.
1849 inc_all_account_mail(): check also IMAP4 account.
1854 folderview_rename_folder_cb()
1855 folderview_delete_folder_cb(): modify the filter rules when folder
1857 * src/prefs_filter.[ch]:
1858 prefs_filter_rename_path(): new. It renames the destination paths
1860 prefs_filter_delete_path(): new. It deletes the filter rules if
1861 the destination paths matched.
1862 * thanks to Neill Miller for above.
1866 * src/compose.c: inherit attached files when forwarding or reediting
1867 (rewrote the code in claws branch).
1868 compose_attach_parts(): new. It extracts and attaches the files
1869 in the given message.
1870 compose_attach_append(): chnaged the types of arguments.
1871 * src/messageview.c: messageview_show(): moved the GPG decryption
1873 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
1881 * src/summary_search(): summary_search_execute(): scroll the view
1882 when message view is hidden.
1886 * src/foldersel.c: foldersel_set_tree(): made different type of
1887 folders selectable in moving mode.
1888 * src/folderview.[ch]: folderview_update_msg_num(): compare the
1889 numbers with the CTree's labels, and don't update folder_item here.
1890 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
1891 implemented moving between different type of folders.
1892 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
1893 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
1894 mh_move_msg() and mh_move_msgs_with_dest()).
1895 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
1896 moving between different type of folders.
1897 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
1898 * src/summaryview.c: summary_status_show(): update folder_item
1900 * po/POTFILES.in: removed reference to headerwindow.c.
1901 * src/summaryview.c: summary_step(): fixed the behavior on the
1902 head and tail of the list.
1906 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
1907 all header' toggle state from the property of the TextView.
1908 * src/summaryview.[ch]: made 'All header' toggle switch.
1909 Prohibited unnecessary menu update.
1910 summary_select_node(): added the argument 'do_refresh'.
1915 * src/utils.c: strsplit_with_quote(): remove quotation characters
1916 in the function (fix composer's external editor problem) (thanks
1917 to Stefaan A Eeckels).
1918 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
1919 main_window_menu_callback_block()
1920 main_window_menu_callback_unblock(): new.
1921 main_window_set_menu_sensitive(): set the toggle status of
1923 show_all_header_cb(): read the status of toggle menu item.
1924 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
1925 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
1930 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
1931 the path separator (thanks to Sergey Vlasov).
1932 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
1933 if the length of selection is zero.
1934 Fixed the assertion.
1935 * src/utils.c: str_open_as_stream(): return immediately if
1936 the length of str is zero.
1937 * src/headerwindow.[ch]: removed.
1939 src/inc.c: removed stale thread support codes.
1943 * src/procmsg.c: procmsg_open_message(): modified so that it
1944 returns the stream of decrypted message file if it exists
1945 (this fixes the failure of gpg decryption in messageview.c).
1955 src/prefs_template.c
1957 src/quote_fmt_parse.y
1959 src/utils.[ch]: if the part of the message text is selected, use
1960 it for quoted text instead of the entire message body (thanks to
1962 src/utils.[ch]: str_open_as_stream(): new. It returns an
1963 temporary stream for the given string.
1964 * src/main.c: added "--send" command line option.
1965 * src/compose.c: compose_reply_set_entry(): add From address to
1966 Cc if Reply-To and to_all are both specified.
1967 * Makefile.am: correct the Source: line in the RPM spec file in
1972 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
1974 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
1975 that specifies the folder selection type.
1986 src/prefs_customheader.c
1988 src/summaryview.c: made it compile with C compilers other than gcc
1989 (thanks to Shawn Houston).
1993 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
1995 * src/prefs_common.c: made the key binding setting separate dialog.
1996 * src/addressbook.c: addressbook_format_address(): add "" around
1997 the display name if it contains comma (thanks to Satoshi Watanabe).
1998 * src/addr_compl.c: get_complete_address(): add "" around the
1999 display name if it contains comma.
2000 get_address_from_edit(): handle the quotation character correctly.
2001 * src/addr_compl.c: get_complete_address()
2002 src/addressbook.c: addressbook_format_address(): fixed a bug that
2003 caused wrong text processing if the display name is empty.
2008 * src/compose.c: compose_exec_ext_editor_real(): replaced
2009 g_strsplit() with strsplit_with_quote().
2011 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
2013 folderview_drag_motion_cb()
2014 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
2015 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
2019 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
2020 of the message is different from the current mailbox.
2021 Return the correct value.
2022 imap_cmd_append(): properly implemented the APPEND command.
2027 src/messageview.[ch]
2028 src/summaryview.[ch]
2029 src/textview.[ch]: show all headers in the message view, and don't
2030 use the header window anymore.
2032 src/prefs_common.c: changed the default shortcut of 'compose new
2035 src/summaryview.[ch]: summary_display_msg_selected(): new.
2036 Show the selected message if 'Show all header' is selected.
2038 src/sourcewindow.c: changed some procmsg_get_message_file_path()
2039 to procmsg_get_message_file() to be sure the message is
2041 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
2042 any folder to MH folder.
2043 folderview_drag_received_cb(): copy messages instead of moving
2044 if the source folder is news or IMAP.
2046 src/summaryview.c: allow copy from news folder.
2050 * src/prefs_common.c: prefs_other_create(): modified the design
2051 of the external command settings.
2052 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
2053 preset closer to the original.
2054 Added Mutt keybind preset.
2055 Also change the compose keybinds.
2056 * src/compose.c: modified some menu shortcuts.
2057 * src/codeconv.c: modified the locale_table for Thai encoding.
2061 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
2062 * src/prefs_common.c: prefs_interface_create(): modified the
2063 description for menu shortcut.
2067 * src/gtkutils.[ch]: added gtk_stext_clear().
2070 src/summaryview.[ch]: enabled multiple forwarding.
2071 * src/summaryview.c:
2072 summary_set_marks_selected(): set marks for all selected row.
2073 summary_reply(): moved from summary_reply_cb().
2074 * compose.[ch]: compose_forward(): modified so that it receives
2076 * src/mainwindow.c: cleanup for reply processing.
2077 * src/summaryview.c: summary_reply(): fixed a memory leak.
2078 summary_key_pressed(): removed hardcoded mark / mark as unread
2081 src/prefs_common.c: added mark / mark as unread shortcuts to
2086 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
2087 if prefs_common.linewrap_quote is not set (it is only for
2088 auto-wrapping on reply).
2089 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
2090 when creating a new account.
2091 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
2093 * src/prefs_common.c: prefs_interface_create(): modified the
2094 description of key binds selector.
2098 * src/mimeview.c: fixed multiple dialog / moving by correcting
2099 button / key event processing.
2101 src/textview.c: pass some key press events to MimeView in MIME
2103 * src/prefs_filter.c: fixed a bug that didn't set the order of
2105 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
2106 empty_menurc string.
2111 src/prefs_common.c: reorganized the menu shortcuts.
2112 Added 'View - Toggle summary view'.
2113 * src/summaryview.[ch]: summary_toggle_view(): made it public
2115 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
2117 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
2118 closing the dialog with window manager (in more appropriate way).
2119 * src/imageview.[ch]
2121 src/mimeview.c: fixed wrong scrolling position when switching
2122 between text and image parts. Also free the unrequired image
2123 (thanks to Sergey Vlasov).
2124 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
2129 * src/prefs_common.c: implemented shortcut quick changer.
2130 * src/folderview.c: folderview_key_pressed()
2131 src/summaryview.c: summary_key_pressed(): removed some hardcoded
2137 procmime_get_mime_type()
2138 procmime_get_mime_type_table(): made the MIME type search case
2141 gtk_stext_delete_line(): delete newline on empty line.
2142 gtk_stext_delete_to_line_end(): delete newline if cursor is on
2144 (thanks to Yasuzaki Masayoshi.)
2149 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
2150 and made them customizable.
2151 * src/utils.[ch]: added get_file_size_as_crlf() which returns
2152 the file size when converting LF to CR+LF.
2156 * src/compose.c: enabled 'Ctrl-Enter' or
2157 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
2159 * src/gtkstext.c: disabled some Emacs key bindings.
2160 gtk_stext_key_press(): don't extend selection when Shift-Enter
2161 is pressed to prevent the disapperance of cursor.
2162 * src/summaryview.c: summary_select_next_unread(): added the button
2163 to search unread message again from the beginning to the dialog.
2164 * src/folderview.c: folderview_key_pressed(): go to next unread
2165 folder if space key is pressed on the empty folder.
2166 Move CTree focus before selecting row.
2170 * src/defs.h: modified the XLFD of default fonts.
2171 * src/textview.c: textview_create(): fixed a bug that caused
2172 segfault if font couldn't be loaded.
2174 src/grouplistdialog.c: compare subscribed groups with path.
2175 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
2179 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
2180 when URL is wider than wrapping margin.
2182 src/prefs_filter.[ch]
2183 src/summaryview.[ch]: added "Create filter rule" function based
2184 on the patch from Luca Rosellini.
2185 * src/summaryview.c: summary_filter_open(): added X-List and
2186 X-Mailing-list to the automatically detected headers.
2190 * configure.in: support Mac OS X (Darwin).
2194 * src/prefs_filter.c: use inc_(un)lock() instead of
2195 inc_autocheck_timer_{remove|set}().
2196 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
2197 instead of gtk_ctree_sort_node() so that messages within threads
2199 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
2200 target of sizeof was wrong and caused crash on Alpha architecture
2201 (thanks to Motonobu Ichimura).
2206 foldersel_gnode_func(): made the names of special folders
2208 foldersel_set_tree(): move the special folder to the top.
2209 * src/inputdialog.[ch]: input_dialog_query_password(): new.
2213 src/send.c: use input_dialog_query_password() instead of their
2214 own query functions.
2218 * src/defs.h: modified the default font.
2222 src/news.[ch]: moved the class definition and some methods to
2223 the proper location.
2227 * src/mimeview.c: mimeview_save_as()
2228 src/summaryview.c: summary_save_as(): put the default filename
2229 based on the subject.
2230 * src/utils.[ch]: added subst_chars() and subst_for_filename()
2231 which substitute some special characters with underscore.
2232 * src/filesel.c: filesel_select_file(): select the default filename.
2237 INSTALL.jp: added the description and the URL for libjconv.
2238 * src/mainwindow.c: menu entries cleanup.
2244 src/about.c: modified the copyright year.
2245 * src/gtkstext.h: added the notice for modification by the Sylpheed
2251 INSTALL.jp: added the URL for compface.
2259 * src/headerwindow.c
2262 src/sourcewindow.c: set wmclass when creating windows.
2266 * src/compose.c: compose_wrap_line_all(): fixed the bug that
2267 caused infinite loop when wrapping certain patterns of quoted text.
2271 * src/imap.c: imap_parse_envelope(): put the assertion after
2272 imap_parse_address() to prevent segmentation fault.
2277 src/mainwindow.c: modified some labels of menu items.
2278 * src/ldif.c: put the return value of fgetc() in a gint.
2279 * src/importldif.c: don't brace null strings with _().
2280 * src/compose.c: moved the position of Subject entry to the last.
2281 Reorganized the menu.
2282 compose_draft_cb(): added 'keep editing after saving to draft'
2287 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
2288 menu. Moved 'Help' menu to just the right of 'Configuration'.
2289 Removed 'File - Close' menu item.
2293 * src/mainwindow.c: some menu reorganization.
2294 * AUTHORS: updated. Added more contributors.
2295 * src/account.c: account_row_moved(): new. Moves displayed row to
2296 the appropriate position when up / down button are pressed.
2297 account_clist_set(): move displayed row to the appropriate position.
2299 src/mainwindow.c: set title and wmclass when creating windows.
2303 * src/gtkstext.c: fixed a bug that didn't show block cursor
2304 correctly. Removed unnecessary GdkGC copy. Fixed cursor
2309 src/undo.c: modified to use GtkSText.
2310 * src/menu.h: added #include <gtk/gtkmenu.h>.
2315 configure.in: added XIM checking for GTK+.
2316 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
2320 * src/filter.c: added #include <sys/types.h>.
2324 * src/template.c: template_write_config(): fixed a typo.
2325 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
2327 src/prefs_filter.c: supported regular expression (thanks to
2329 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
2330 undo state when pasted clipboard was empty.
2331 undo_check_size(): use g_list_last().
2333 undo_redo(): fixed NULL checking and made a bit of optimization.
2335 * src/prefs_common.c: changed the default value of linewrap length
2340 * reorganization of pixmap management.
2341 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
2342 * modified every files which directly use pixmaps data to use
2344 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
2345 undo_set_change_state_func(), and changed its argument from
2346 GtkWidget* to gpointer.
2347 undo_merge(): code cleanup.
2348 * src/compose.c: renamed compose_set_undo() to
2349 compose_undo_state_changed().
2353 * src/account.c: account_find_from_address(): made it case
2355 * src/addressbook.c: addressbook_create(): set wmclass.
2356 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
2359 src/ldif.[ch]: merged from the claws branch.
2360 * src/importldif.c: removed some warnings.
2361 imp_ldif_field_list_toggle(): fixed button checking.
2362 imp_ldif_dialog_create(): minor layout fix.
2363 * src/ldif.c: removed some warnings.
2365 INSTALL.jp: updated confirmation list.
2368 vcard_test_read_file(): fixed a memory leak of tagtemp.
2369 Some code cleanups (decreasing the indent level).
2372 src/syldap.[ch]: disabled runtime library checking because JPilot
2373 and LDAP libraries are linked on the build time, and the program
2374 doesn't execute without them anyway.
2376 src/addrindex.c: changed "J-Pilot" to "JPilot".
2377 Removed warning for atoi().
2381 * src/procmsg.c: procmsg_empty_trash()
2382 src/mainwindow.c: main_window_empty_trash(): empty trash only if
2383 it contains some messages.
2384 * src/imap.c: search_array_str(): new.
2385 imap_status(): fixed a bug that didn't parse the command response
2390 * merged undo function (by Jens Oberender).
2391 * src/undo.[ch]: new.
2392 undo_insert_text_cb(): fix for multibyte characters (obtain the
2393 number of letters instead of bytes).
2394 * src/compose.[ch]: added the code for undo.
2395 * src/prefs_common.[ch]: added the interface for setting undo level.
2399 * src/compose.c: compose_template_apply()
2400 src/prefs_template.c: prefs_template_clist_set_row()
2401 src/template.c: template_write_config(): don't replace To: and
2402 Subject: entry in composition window if they are empty.
2410 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
2411 * src/ldif.c: ldif_get_line(): ignore CR.
2412 * src/mimeview.c: mimeview_show_message(): search also text/html
2413 for first text part.
2417 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
2418 that didn't update accountrc if account_list == NULL (thanks to
2423 * src/utils.h: added the macro Xstrcat_a() that concatenates
2424 two strings and return alloca'd string.
2425 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
2426 handle folder name which includes some spaces correctly
2427 (based on the patch from Willem van Engen (thanks!)).
2428 * src/compose.c: compose_wrap_line_all(): fixed the crash when
2429 wrapping long lines if linewrap quotation is disabled and
2430 a word spanning more than one line.
2434 * applied the Tobias' patch with modification (thanks!).
2436 imap_msg_set_perm_flags()
2437 imap_msg_unset_perm_flags(): new. They set permanent flags to
2440 src/summaryview.c: set flags on IMAP server when flags are changed.
2444 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
2445 of gtk_container_remove() for workaround of a bug in
2446 Gtk{Text,Entry} (thanks to Sergey Vlasov).
2452 src/textview.c: replaced gtk_container_remove() with
2453 gtkut_container_remove(), and removed previous partial fix.
2457 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
2458 checked user ID on "local", but didn't on IMAP4.
2459 * src/imap.c: imap_session_get(): fixed a crash bug when
2460 rfolder->session == NULL.
2461 * Makefile.am: changed the arguments of tar from 'chojf' to
2463 * src/summaryview.c: summary_toggle_view(): disclaim the selection
2464 of textview before removing vpaned.
2468 * src/messageview.c: messageview_change_view_type(): disclaim the
2469 selection before removing textview. This solves the mysterious
2470 copy-paste disability (thanks to Melvin Hadasht).
2471 * src/textview.c: textview_set_font(): use
2472 gtk_editable_claim_selection() instead of
2473 gtk_editable_select_region().
2477 * src/prefs_template.c: prefs_template_window_create(): supported
2478 address completion on the To: entry.
2483 folder_count_total_msgs()
2484 folder_count_total_msgs_func(): use g_node_traverse() to traverse
2489 * src/compose.c: fixed a bug that empty body was refused.
2490 * src/prefs_template.c: fixed a bug that didn't set To: entry
2491 correctly. Display error dialog if format is illegal.
2492 * src/prefs_common.c
2494 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
2495 "{ }" to prevent confusion on using parenthesis.
2496 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
2500 * src/prefs_template.c: added colon to the header labels.
2505 src/prefs_template.c
2506 src/template.[ch]: added To field to the template.
2510 * src/textview.c: textview_show_part(): use first found
2511 message/rfc822 header.
2512 * src/folderview.c: added "Search messages..." to the context menu.
2513 * src/prefs_common.c: prefs_quote_description_create(): added
2514 description for characters which need to be escaped.
2518 * src/compose.c: compose_wrap_line_all(): more merging from claws.
2519 GET_CHAR(): renamed GET_TEXT() and made it more generic.
2520 Modified compose_wrap_line() and compose_wrap_line_all() to use
2522 * src/textview.c: textview_show_part(): show the header of nested
2523 RFC822 attachment correctly.
2528 src/main.c: added --status option to get new, unread and total
2529 message count from a running Sylpheed (merged from claws).
2530 prohibit_duplicate_launch(): output '\n' only once.
2535 src/gtkutils.[ch]: merged the new wrapping function.
2536 gtkut_text_str_compare_n()
2537 gtkut_text_str_compare()
2538 gtkut_text_is_uri_string(): backport from the GtkSText in the
2539 claws branch, and made modification.
2540 * src/prefs_template.c
2541 src/template.[ch]: added Subject to the template.
2545 * src/compose.c: compose_write_headers(): added missing parenthesis
2546 that generated invalid custom header (thanks to Masaaki Noro).
2547 Allow Sender: custom header.
2551 * src/procheader.c: procheader_date_parse(): workaround for
2552 RFC-incompliant Date header.
2556 * src/addrbook.c: removed redundant functions, and fixed generation
2557 of spurious address book file names.
2558 * src/addrindex.c: V-Card -> vCard.
2562 * src/textview.c: get_email_part(): replaced isalnum() with
2563 the macro IS_ASCII_ALNUM() which restricts the range of
2564 characters to 7bit ASCII (thanks to Shimamoto).
2565 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
2570 * src/textview.c: textview_show_part(): show headers on nested
2575 * src/imap.c: imap_session_get()
2576 src/news.c: news_session_get(): fixed segfault when reconnection
2578 * src/grouplistdialog.c: removed redundant code, and expand nodes
2579 that doesn't match the pattern.
2583 * src/compose.c: modified so that it sends message when any of
2584 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
2585 compose_check_for_valid_recipient(): new.
2586 * src/grouplistdialog.c: improved the UI.
2587 Added appropriate description and search button.
2588 Search doesn't get group list again.
2592 * src/news.[ch]: news_session_get(): update the last access time
2594 news_group_list_free(): new.
2595 * src/grouplistdialog.c: free resources correctly.
2600 src/grouplistdialog.[ch]: more merging of new newsgroup
2601 subscription dialog.
2602 * src/news.[ch]: renamed news_remove_group_list() to
2603 news_remove_group_list_cache().
2607 * src/defs.h: added MAX_ENTRY_LENGTH definition.
2608 * src/compose.c: compose_add_entry_field(): create new entry with
2613 * src/grouplistdialog.c: made non-leaf node selectable.
2614 Give the complete newsgroup name for each nodes.
2618 * src/grouplistdialog.c
2619 src/news.[ch]: merging of new newsgroup subscription dialog
2620 (still in progress. Don't use it yet!).
2624 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
2625 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
2627 compose_entries_set(): new. It parses mailto URL and put each
2628 values into the entries.
2632 * src/compose.c: compose_forward(): fixed a bug that forward
2633 quote mark wasn't used (thanks to Hironori IWANE).
2636 src/prefs_common.c: added Thai encodings (thanks to Manrat
2641 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
2645 src/news.c: added last_access_time to Session.
2646 imap_session_get(): check connection only when access interval
2655 * src/socket.c: ssl_gets(): use SSL_peek.
2656 * updated NEWS and AUTHORS.
2657 * Makefile.am: fixed release target.
2661 * src/template.c: changed the format of template file to
2663 * src/compose.c: compose_template_apply(): freeze the text widget
2664 while inserting strings.
2668 * po/POTFILES.in: removed src/template_select.c.
2669 * src/summaryview.c: summary_set_header()
2670 src/address.c: address_parse_str()
2671 src/filter.c: filter_read_str()
2672 src/news.c: news_parse_xover()
2673 src/procheader.c: procheader_get_fromname()
2674 src/utils.c: subject_compare():
2675 replaced Xalloca() + strcpy() with Xstrdup_a().
2676 * src/inputdialog.[ch]: added combo mode.
2677 input_dialog_combo(): new.
2678 * src/prefs_common.[ch]: added MIME open command setting.
2679 prefs_common_{read, save}_config(): read / write command history.
2680 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
2681 * src/utils.[ch]: add_history(): history list management function.
2685 * src/compose.c: select templates from the menu.
2686 compose_set_template_menu(): new.
2687 compose_reflect_prefs_all(): new.
2688 compose_template_apply(): new. Use dummy MsgInfo for parsing.
2689 * src/template.[ch]: store template list to the static heap.
2690 template_get_config(): new.
2691 template_set_config(): new.
2692 * src/prefs_template.c: don't store template list to the global area.
2693 * src/template_select.[ch]: removed.
2694 * src/quote_fmt_parse.y: check folderitem when quoting messages.
2695 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
2696 (thanks to OSHIRO Naoki).
2700 * src/utils.[ch]: get_template_dir(): new.
2701 * src/template.c: use get_template_dir().
2705 * src/prefs_template.c: modified the dialog layout.
2706 Added symbol description button.
2707 * src/summaryview.c: show an arrow mark to the column of the sort
2709 summary_set_column_titles(): new.
2715 TODO.jp: updated the documents.
2719 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
2720 * src/textview.c: textview_key_pressed()
2721 src/mimeview.c: mimeview_key_pressed()
2722 src/summaryview.c: summary_key_pressed(): delete messages with
2727 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
2728 when SSL_read() returned 0.
2729 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
2731 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
2732 Add prototype of yylex() to suppress the warning.
2733 * merged the template function.
2734 * src/prefs_template.[ch]
2736 src/template_select.[ch]: new.
2737 Renamed prefs_templates_* -> prefs_template_*.
2738 * src/compose.c: added template menu. Added replyinfo to Compose.
2739 * src/mainwindow.c: added template setting menu.
2740 * src/quote_fmt_lex.l: output literal tab and return as is.
2741 * src/prefs_common.c: changed the pref. name of quote format to
2742 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
2746 * src/prefs_common.[ch]: added Quote tab, and moved the quote
2747 setting from Compose tab.
2748 * merged the new quote format parser.
2749 * src/quote_fmt_lex.h
2752 src/quote_fmt_parse.y: new files for quote format parser.
2753 * configure.in: added checks for lex and yacc.
2754 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
2756 compose_quote_fmt(): new.
2757 * src/prefs_common.[ch]: added forward format setting to the
2758 Quote tab. Updated the quote description dialog.
2759 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
2760 if they couldn't get text part.
2764 * src/pixmaps/checkbox_off.xpm
2765 src/pixmaps/checkbox_on.xpm: new.
2766 * src/account.c: display `get all' status with the checkbox pixmaps.
2770 * src/send.c: code cleanup. Pass account prefs structure instead
2772 Query password for SMTP AUTH if not specified (thanks to Mio).
2776 * src/procheader.c: procheader_parse(): fixed a bug that didn't
2777 parse multiple message-id in In-Reply-To: header correctly
2778 (thanks to KAJIWARA).
2782 * src/account.c: enabled 'Get all' setting by clicking the 'G'
2783 column of account list, and added some description.
2784 * src/prefs_common.c: prefs_send_create(): added a description
2785 for outgoing codeset.
2789 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
2790 and added select button and short description.
2791 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
2793 procmime_get_mime_type_table()
2794 procmime_get_mime_type_list(): modified so that
2795 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
2796 $(HOME)/.sylpheed/mime.types are read.
2800 * src/prefs_account.c: moved the address auto-setting to the compose
2802 prefs_account_create(): removed gtk_widget_show_all() for proper
2804 * src/prefs_common.c: changed "Program path" to "Command".
2808 * src/textview.c: textview_set_font(): support Russian charset
2810 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
2814 prefs_summary_column.c: minor improvements to the English.
2815 * src/main.c: get_queued_message_num(): don't output the warning
2816 when queueing folder is not found.
2824 * src/prefs_summary_column.[ch]:
2825 made prefs_summary_column_get_config() public.
2826 * src/summaryview.c: summary_ctree_create(): some code cleanup.
2827 * configure.in: moved the position of SSL checking after LDAP
2828 for linking problem.
2833 src/summaryview.c: allowed reedit in the outbox.
2834 * src/prefs_summary_column.[ch]: new. UI for setting summary
2836 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
2837 It calls summary_set_column_order().
2838 * src/summaryview.[ch]:
2839 summary_ctree_create(): new. separated from summary_create().
2840 summary_set_column_order(): new. It destroys the current
2841 CTree and replaces it with the new one.
2845 * src/smtp.[ch]: smtp_from(): abort if auth failed.
2846 * changed C++-style comments into C-style in some files, and
2847 removed unnecessary commented out codes.
2848 * src/addrcache.[ch]
2852 src/syldap.[ch]: updated the addressbook code, and fixed the
2855 src/importldif.[ch]: new.
2859 * src/about.c: added some items to compiled-in features.
2860 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
2861 * src/addressbook.c: changed "V-Card" to "vCard".
2862 addressbook_edit_address_cb(): added
2863 invalidate_address_completion() to the point address is changed.
2864 * src/codeconv.c: changed C++-style comments into C-style.
2868 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
2872 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
2877 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
2879 * src/summaryview.c:
2880 summary_thread_init(): separated from summary_thread_build().
2881 summary_thread_build(): removed the codes for initialization.
2882 summary_set_ctree_from_list(): call summary_thread_init() instead
2883 of summary_thread_build().
2884 summary_filter(): fixed a bug that didn't moved messages despite
2885 of immediate execution setting.
2889 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
2890 reversed thread tree from message list.
2891 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
2892 node to the head instead of appending to the tail. This prevents
2893 the traverse of node list inside of the GtkCTree, and considerably
2894 speeds up the summary display (the order is O(n^2) -> O(n)).
2898 * src/prefs_common.c
2899 src/summaryview.[ch]: initial modification for reorderable columns.
2903 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
2905 * src/folderview.c: folderview_button_pressed(): code cleanup, and
2906 turn sensitivity off if main window is locked.
2907 * src/syldap.c: syldap_read_data(): removed unnecessary and
2908 unportable sched_yield().
2912 * src/folderview.c: renamed "Update folder tree" context menu to
2913 "Rescan folder tree", and made "Update folder tree" only updates
2915 folderview_update_all_node(): don't show message dialog.
2916 * src/gtkutils.c: gtkut_widget_get_uposition()
2917 src/mainwindow.c: main_window_popup(): clip the coordinate to
2922 * src/utils.c: to_human_readable(): made a bit of optimization.
2923 * src/summaryview.c: summary_delete(): fixed a focus problem.
2924 summary_find_{prev,next}_msg(): new. They find previous/next
2925 message that is not deleted.
2926 * src/prefs_filter.c: scroll CList automatically if moved row
2927 becomes not fully visible.
2931 * updated some autotool scripts.
2932 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
2933 infinite loop when failed to convert encoding.
2934 * src/codeconv.[ch]: a fix for older version of libjconv
2935 (jconv_info_get_current_codeset() returned "EUCJP" instead of
2944 * src/compose.c: compose_write_to_file()
2945 src/codeconv.c: conv_codeset_strdup(): more workaround for
2946 libjconv problem on C locale.
2947 * src/editldap_basedn.c: fixed segfault when opening dialog.
2948 * src/utils.c: is_next_mbs()
2949 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
2950 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
2951 * configure.in: increased the reqired version of GPGME to 0.2.3.
2952 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
2953 the receive dialog when POP3 server refused normal authentication.
2957 * src/prefs_common.c: prefs_receive_create(): correction to English.
2958 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
2959 that didn't set the menu sensitivity correctly (thanks to
2961 * src/summaryview.c: delete messages permanently if the current
2962 folder is trash and 'delete' operation is executed.
2963 Fixed the bug that didn't select the last row correctly (thanks
2964 to Alfons Hoogervorst).
2965 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
2966 all messages given in the list.
2970 * src/summaryview.c: summary_show(): fixed a bug that didn't show
2971 message even if the 'open unread message on entering folder'
2972 option was turned on.
2976 * src/procmime.c: procmime_get_text_content(): supported HTML.
2980 * src/summaryview.[ch]: implemented new locking mechanism, and
2981 replaced every static locks with summary_lock(), summary_unlock(),
2982 and added locks to some extra functions.
2983 This fixes a bug that caused segfault when 'd' (delete) key
2988 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
2989 that caused segfault (thanks to Stefaan A Eeckels).
2993 * src/textview.[ch]: added textview_set_position().
2994 * src/messageview.[ch]: added messageview_set_position().
3006 src/editldap_basedn.c
3011 src/vcard.c: converted C++-style comments into C-style one.
3012 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
3013 new buffer and quote with double quotes if required.
3014 imap_status(), imap_cmd_login(), imap_cmd_list(),
3015 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
3016 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
3017 * compose.c: compose_write_to_file(): workaround for the problem
3018 when using libjconv and 8bit codes cannot be converted on C
3020 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
3021 conv_codeset_strdup(): don't convert if source and destination
3022 codeset are identical.
3026 * src/textview.[ch]: textview_search_string_backward(): new.
3027 Add the new member cur_pos to TextView.
3028 Connect button_press_event with gtk_signal_connect_after() to
3029 obtain the correct editable position.
3033 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
3038 * src/summaryview.c: modified the layout of popup menu.
3045 src/summaryview.c: applied the patch from Alfons that allows
3046 threading setting for each folders (tnanks!).
3050 * src/message_search.[ch]: new. A Dialog for searching in current
3052 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
3053 text in current position of GtkText and given wide-character
3055 * src/messageview.[ch]: messageview_search_string()
3056 src/textview.[ch]: textview_search_string(): return TRUE if
3058 * src/textview.[ch]: remember the beginning of body.
3062 * src/procmime.c: procmime_get_first_text_content(): modified so
3063 that it search entire MIME structure.
3064 * src/summary_search.c: summary_search_execute(): use
3065 strdup_mbstowcs() instead of macro. Display matched message.
3069 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
3071 * src/summary_search.c: added body searching function.
3072 * src/procmime.[ch]: procmime_find_string(): changed arguments
3073 and return value. Added case sensitivity option.
3077 * src/procmime.[ch]:
3078 procmime_find_string()
3079 procmime_find_string_part(): new. It searchs the string from
3081 Renamed procmime_get_text_part() to
3082 procmime_get_first_text_content().
3083 procmime_get_text_content(): new. It returns the text contents
3084 of the specified MIME part.
3085 procmime_mimeinfo_next(): new. It returns the next node of
3090 * src/procmime.c: procmime_get_text_part(): modified so that it
3091 finds a text part in nested multipart message correctly.
3092 * src/procmime.h: added an example of MimeInfo structure.
3093 * src/mimeview.c: mimeview_show_message(): search the first text
3098 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
3099 caused segfault. Changed 'Preferences per account...' menu item.
3107 * src/addrindex.c: translate the "Common address" and "Personal
3108 address" from old addressbook.
3112 * src/utils.c: get_quote_level(): some optimization and bugfixes.
3113 * src/codeconv.[ch]: conv_get_current_locale(): new.
3114 * src/editaddress.c: edit_person_page_basic(): reverse the order
3115 of first and last name on some locales.
3119 * src/compose.c: applied the patch from Yasumatsu that reformats
3120 the current paragraph (thanks!). Modified so that it doesn't
3121 reformat quoted paragraphs.
3122 compose_create(): don't fill the entry automatically on reedit
3125 src/summaryview.[ch]: added the "Mark all read" option.
3126 summary_mark_all_read(): new.
3134 src/editldap_basedn.c
3136 src/editjpilot.c: removed all warnings.
3138 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
3139 header files on the Debian system.
3141 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
3142 and color label. Enabled moving to next/prev flagged messages.
3146 * src/pixmaps/dir-close.xpm
3147 src/pixmaps/dir-open.xpm
3149 src/pixmaps/unread.xpm: modified the color balance.
3150 * src/utils.[ch]: execute_sync(): new.
3151 execute_command_line(): added the arg for async mode.
3152 * src/inc.c: inc_mail(): use execute_command_line().
3157 src/prefs_common.[ch]
3158 src/prefs_account.c: modified the layout. Added the option to
3159 launch the external editor automatically.
3160 * src/compose.c: launch the external editor automatically if the
3165 * src/Makefile.am: added extra xpm's.
3169 * src/addressbook.c: fixed a compilation problem when enabling
3171 addressbook_open(): fixed a missing 'else'.
3175 * src/pixmaps/dir-close.xpm
3176 src/pixmaps/dir-open.xpm
3177 src/pixmaps/trash.xpm: replaced with the new blue icons.
3178 * merged Match Grun's new addressbook code.
3179 * src/pixmaps/address.xpm
3180 src/pixmaps/book.xpm
3181 src/pixmaps/category.xpm
3182 src/pixmaps/interface.xpm
3183 src/pixmaps/jpilot.xpm
3184 src/pixmaps/ldap.xpm
3185 src/pixmaps/vcard.xpm: new icons.
3189 src/addressitem.[ch]
3192 src/editaddress.[ch]
3197 src/editldap_basedn.[ch]
3202 src/vcard.[ch]: new. Many fixes to remove the huge amount of
3204 addrbook_build_avail_email_vis(): fixed a memory leak.
3208 * NEWS: brought in the all of the changes previously put on the web.
3213 src/summaryview.c: modified the layout of menus.
3214 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
3215 return a focus to the main window after selecting the account menu.
3223 * src/send.c: send_message_data(): fixed a bug that didn't process
3224 body part correctly.
3228 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
3229 inc_mail(), inc_all_account_mail(): return immediately if locked.
3232 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
3233 inc_autocheck_timer_{remove,set}().
3234 * src/summaryview.c: summary_set_colorlabel_color(): get the average
3235 of label color and selected fg color for visibility.
3239 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
3240 They increase/decrease the lock count.
3241 inc_autocheck_func(): if locked, delay the autochecking 1 second.
3242 inc_autocheck_timer_set_interval(): set interval by its argument.
3243 * src/summaryview.c: summary_show(): lock the autochecking while
3245 * src/main.c: app_will_exit(): remove autocheck timer.
3247 src/defs.h: removed the definitions of PACKAGE and VERSION to
3248 prevent unnecessary compilation.
3249 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
3250 to AC_SUBST, and added src/version.h to AC_OUTPUT.
3251 * src/version.h.in: new.
3252 * src/intl.h: changed dgettext() to gettext().
3256 * po/ja.po: fixed a typo that crashed Sylpheed with older version
3258 * configure.in: fixed a bug that didn't show results correctly.
3259 Fixed a bug that --enable-compface and --enable-jconv disabled
3261 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
3263 * src/compose.c: compose_write_headers(): add Bcc: header to the
3265 * src/send.c: send_message_data(): new. Separated from
3266 send_message_smtp(). Remove Bcc: header before sending.
3274 * src/send.c: implemented sending with local sendmail command.
3275 send_message_local(): new. It executes command with popen()
3276 and send the contents of RFC822 message to the command.
3277 * src/prefs_common.[ch]: enabled the external sending command option.
3278 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
3279 * src/account.c: account_edit_create(): widened the protocol column.
3280 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
3285 * src/folder.c: folder_item_remove_msg(): scan the folder again
3286 if the last message is removed.
3287 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
3288 old reedited message after adding the new message.
3292 * src/compose.c: compose_queue(): added AID: to the queueing header.
3293 * src/send.c: send_message_queue(): look for AID: header, and use
3294 the server specified in the account instead of SSV: header.
3296 src/compose.[ch]: queued messages can be reedited now.
3297 compose_remove_reedit_target(): new. It removes the old reedited
3299 compose_send(), compose_queue(), compose_draft_cb(): if reedit
3300 mode, remove the old message.
3301 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
3306 * applied the XML string table patch from Alfons Hoogervorst that
3307 stores strings in a hash table and minimizes memory allocations
3309 * src/stringtable.[ch]: new.
3310 removed all G and g_ prefix from type and function names since
3311 they're not official GLib symbol names.
3312 string_table_insert_string(): fixed a bug that might refer to an
3313 invalid pointer on lookup, and also made a bit of optimization.
3317 * merged the color label feature from the claws branch (thanks to
3318 Satoshi Nagayasu and Alfons Hoogervoost).
3319 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
3320 Renamed labelcolors_*() to colorlabel_*().
3321 * src/summaryview.[ch]: added color label support.
3322 * src/procmsg.h: added color label flags to the permanent flags.
3323 * updated to gettext 0.10.39.
3324 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
3325 * sylpheed.desktop: added for GNOME.
3326 * configure.in: added AC_MSG_CHECKING() for some options.
3327 Output the configuration results when configure is finished.
3331 * src/account.c: account_clist_set_row(): fixed a bug that failed
3332 to compile if SSL was not enabled.
3336 * merged the SSL support from the claws branch (thanks to Christoph
3338 * src/ssl.[ch]: new.
3339 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
3341 sock_close(): call ssl_done_socket() if SSL is active.
3342 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
3343 prevent type confliction.
3344 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
3345 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
3346 Removed SSL initialization and HELO from esmtp_starttls().
3347 esmtp_auth(): removed use_smtp_auth from its arguments.
3348 * src/send.c: send_smtp_open(): added SSL support.
3349 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
3353 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
3358 * src/main.c: open new account dialog if no account is set.
3359 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
3360 the verbosity count.
3361 log_print(): put to statusbar only if log_verbosity_count > 0.
3362 log_message(): put to statusbar.
3363 * src/inc.c: inc_pop3_session_do(): set log verbosity.
3364 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
3365 "Compose new message" item.
3366 main_window_show_cur_account(): removed "Current account: " string.
3367 * src/summaryview.c: summary_show(): ignore the current marks if
3368 main window is locked.
3369 * src/compose.c: compose_attach_property(): fixed a bug that caused
3374 * src/mainwindow.c: main_window_get_current_state(): new. It returns
3375 the current state for the sensitivity of UI.
3376 main_window_set_toolbar_sensitive(): use table like
3377 main_window_set_menu_sensitive().
3381 * src/mainwindow.[ch]: added progressbar and status label to the
3383 main_window_close_cb(): don't exit if locked.
3384 * src/inc.c: update the progressbar of main window, too.
3388 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
3389 the second argument, and determine the sensitivity with the
3390 state of summary view.
3394 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
3395 pop3_delete_recv(): don't try to receive messages which are not
3400 * src/mainwindow.c: main_window_lock(), main_window_unlock():
3401 removed the whole menubar locking.
3402 main_window_set_menu_sensitive(): process the sensitivity change
3403 with a table, and deal with locking.
3407 * src/summaryview.[ch]: summary_get_selection_type(): new.
3408 It returns the current selection state of summary view.
3409 summary_key_pressed(): abort on some commands if main window
3411 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
3412 increase/decrease the lock count.
3416 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
3417 default header list.
3418 * src/prefs_common.[ch]: added the option for receive dialog mode
3419 to the Interface tab.
3420 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
3421 transient, and show dialog only if the setting is
3422 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
3423 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
3424 new. Lock / unlock the user-interface.
3425 * src/progressdialog.c: progress_dialog_create(): don't make the
3430 * src/folderview.c: folderview_update_node(): suppressed unnecessary
3432 * src/menu.[ch]: menu_button_position(): new. It calculates the
3433 position of popup menu.
3434 * src/mainwindow.c: toolbar_account_button_pressed(),
3435 ac_label_button_pressed(): put the popup menu to the correct
3436 position. Change the style of the button while opening the menu.
3437 ac_menu_popup_closed(): new function called on selection_done
3439 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
3441 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
3443 Fixed the bug that didn't select previous message in refresh mode
3444 if threads were not expanded.
3445 summary_select_node(): new.
3446 * src/inc.c: applied the summary view update optimization patch from
3447 Sergey Vlasov (thanks!).
3448 If no new messages are received, don't perform summary refreshing.
3449 In addition to the Vlasov's patch, POP3 receive information is
3451 * src/inc.h: added a new member cur_total_num to Pop3State.
3452 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
3460 * src/summaryview.c: summary_set_row_marks(): got the color of
3461 unread row set properly.
3462 * src/folderview.c: foldreview_update_node(): don't use
3463 gtk_style_copy(), and reuse previously allocated styles.
3464 * README, README.jp: modified.
3468 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
3469 memory corruption bug (thanks to David Looney).
3470 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
3471 there are no enabled accounts, or local spool only.
3472 * src/summaryview.c: applied the summary update improvement patch
3473 from Sergey Vlasov (thanks!). It keeps the position of the
3474 message displayed. Selected and displayed message are also kept.
3475 summary_get_msgnum(): new.
3476 summary_get_current_msgnum(): removed.
3477 summary_select_by_msgnum(): don't display the message.
3478 * src/account.c: added "Get all" column.
3479 account_clist_set_row(): show default and get-all flags with the
3481 * src/utils.c: to_human_readable(): increased the number of decimals
3486 * implemented the long-awaited :) "Add sender to address book" feature.
3487 * src/address.[ch]: added the argument for remarks to
3489 address_get_folder_list(): new. It traverses the address tree and
3490 returns the folder list.
3491 address_delete_object(): modified so that it removes the node
3493 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
3494 a address folder menu and attaches it to the menu item.
3495 addressbook_refresh(): reload the address book folder tree.
3496 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
3497 the menu to add sender to address book.
3498 summary_button_pressed(): call summary_set_add_sender_menu()
3499 before popup the menu.
3503 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
3504 up the process. Optimized the initial thread build.
3508 * src/summaryview.c: made many code cleanups.
3509 summary_show(): block/unblock the signal handlers instead of
3510 disconnect/connect them.
3511 summary_set_row_marks(): made the font of collapsed node bold if
3512 it has cnildren marked as unread.
3513 summary_thread_build(): block tree_expand signals while processing.
3514 Use loop instead of the recursive function. Mark collapsed nodes
3516 summary_unthread(): block tree_collapse signals while processing.
3517 Use loop instead of the recursive function.
3518 summary_thread_func(), summary_unthread_func(): removed.
3519 summary_tree_expanded(), summary_tree_collapsed(): new callback
3521 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
3522 failed to connect. Show more detailed status on the dialog.
3526 * src/folderview.c: folderview_update_all_node(): new. It updates
3528 * src/inc.c: update all local folders after incorporation if
3529 scan_all_after_inc option is set.
3530 * src/prefs_common.[ch]: added scan_all_after_inc option.
3531 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
3540 src/prefs_common.h: made bold and small font configurable.
3541 src/summaryview.c: display unread messages with bold font.
3542 * src/prefs_common.c
3544 src/summaryview.c: added an option to enable/disable the
3545 emphasis of unread messages.
3549 * src/pixmaps/mark.xpm: modified.
3550 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
3551 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
3552 the root messages of threads for performance improvement.
3554 summary_select_next_unread()
3555 summary_step(): expand threads when opening messages.
3556 summary_thread_build(): expand threads if the option is turned on.
3557 * src/prefs_common.[ch]: added "Expand threads" option.
3561 * src/prefs_common.c: removed "Emulate the behavior of mouse
3562 operation of Emacs-based mailer".
3563 * src/prefs_common.c
3564 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
3565 * src/pixmaps/new.xpm
3566 src/pixmaps/unread.xpm: reverted.
3571 address_folder_new()
3573 address_item_new(): changed the return value to AddressObject.
3574 address_build_tree(): don't put assertion for file.
3575 * src/pixmaps/new.xpm
3576 src/pixmaps/unread.xpm: modified a bit.
3580 * src/addressbook.c: fixed some bugs.
3584 * separated the logic part of addressbook into another module
3585 (still in progress).
3586 * src/address.[ch]: new. It contains the logic part of addressbook.
3587 * src/addressbook.[ch]: removed the logic part.
3591 * src/textview.c: textview_show_header(): fixed a bug that a garbage
3592 character was shown after header names.
3596 * src/inc.c: inc_start(): don't abort with non-fatal error.
3604 * src/mimeview.c: mimeview_view_file(): added -x option to the
3605 metamail to prevent the suspention of the main process.
3606 mimeview_button_pressed(): deactivate `Open' menu item if
3607 content-type is application/octet-stream.
3611 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
3612 get_quoted(): new. It handles the escape character '\'.
3613 * src/folder.c: folder_read_list(): don't output warning if
3614 folderlist.xml doesn't exist.
3615 * src/main.c: main(): write folder list after setup.
3616 * src/textview.c: textview_create()
3617 src/compose.c: compose_create(): set default tab width to 8.
3621 * src/prefs_common.c: date_format_select_row(): fixed a bug that
3622 caused segfault when selecting the list with key.
3626 * src/mainwindow.c: main_window_popup(): deiconize the window
3627 when popup (thanks to Henrik Carlqvist).
3628 * src/procmime.c: procmime_scan_mime_type(): new.
3629 procmime_scan_content_type(): use procmime_scan_mime_type().
3630 procmime_scan_mime_header(): scan the extension of attached files
3631 and add the correct MIME type if the Content-Type is
3632 "application/octet-stream" (thanks to Don Quijote).
3633 * src/compose.c: compose_toolbar_create(): added a new "Send later"
3634 icon (thanks to Leandro Pereira).
3638 * src/prefs_common.c: date_format_create(): modified the layout of
3643 * src/account.c: account_find_from_address(): fixed a minor bug.
3644 * src/prefs_common.c: incorporated the user-interface for setting
3645 date format from the claws branch, and made some modification to
3650 * src/account.[ch]: account_edit_create(): modified the text of
3652 account_find_from_address(): new.
3654 procmime_scan_content_type(), procmime_scan_content_disposition():
3655 fixed ESC code detection.
3656 * src/compose.c: compose_reply(): automatically select account
3657 according to the message header.
3658 * src/prefs_common.[ch]: added member "reply_account_autosel".
3662 * src/progressdialog.c: made the CList scrollable.
3663 * src/inc.c: inc_start(): don't abort with non-fatal error.
3667 * added English Sylpheed User's Manual by Paul Kater
3668 (paul@nlpagan.net) (thanks!).
3671 src/mainwindow.c: added support for English manual.
3672 * manual/en/sylpheed*.html: added English documentation.
3677 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
3678 that didn't have any trailing messages.
3679 * src/smtp.c: smtp_ok(): ditto.
3680 * src/compose.c: compose_account_option_menu_create(): modified
3681 the style of the account option menu.
3685 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
3686 remove return code from strings automatically.
3687 prefs_custom_header_create(): added "X-Face" to the default
3689 * src/news.c: news_fetch_msg(), news_get_group_list()
3690 src/imap.c: imap_fetch_msg(): create the cache directory before
3693 procmime_scan_content_type()
3694 procmime_scan_content_disposition(): convert JIS into EUC-JP
3696 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
3697 * src/compose.c: don't append attachment headers if the attach
3698 pane is visible but the list is empty.
3699 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
3707 * src/compose.c: compose_quote_parse_fmt()
3708 src/prefs_common.c: prefs_quote_description_create(): added the
3709 symbol `%c' that allows to include Cc in reply format (thanks
3712 src/procmime.c: procmime_decode_content(): applied the patch
3713 from Sergey Vlasov that allows to decode base64 data with
3714 unusual line length (not a multiple of 4) (thanks!).
3718 * src/procmsg.[ch]: separated the permanent flags and temporary
3719 flags into two variables, and made MsgFlags a structure that
3721 MSG_SET_PERM_FLAGS()
3723 MSG_UNSET_PERM_FLAGS()
3724 MSG_UNSET_TMP_FLAGS(): new macros.
3732 src/summaryview.c: modified for the new MsgFlags.
3733 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
3738 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
3739 display current size with human-readable format.
3740 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
3747 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
3748 for raw-JIS code in header fields.
3750 folder_get_default_folder()
3751 folder_get_default_inbox()
3752 folder_get_default_outbox()
3753 folder_get_default_draft()
3754 folder_get_default_queue()
3755 folder_get_default_trash(): fixed a bug that caused segfault
3756 if folder_list is NULL.
3766 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
3767 while retrieving newsgroup list.
3768 grouplist_dialog_create(): added entry widget and status label.
3769 grouplist_recv_func(): new.
3770 refresh_clicked(): added exclusive lock variable.
3771 clist_selected(): set text entry when the CList is selected.
3772 renamed from group_clist_select().
3773 entry_activated(): new.
3774 grouplist_clear(): renamed from grouplist_free(). Also clears
3775 list and entry widget.
3776 * src/news.c: news_get_group_list(): sped up the list appending
3777 (g_slist_append() becomes very slow if list size is large).
3778 * src/defs.h: added UI_REFRESH_INTERVAL definition.
3779 Changed the definition of NEWSGROUP_LIST.
3780 * src/recv.c: recv_write()
3781 src/send.c: send_message_smtp(): changed the UI refresh interval
3782 to UI_REFRESH_INTERVAL (50msec).
3783 * src/account.c: account_add(): fixed a bug that didn't update
3784 folder tree when a news account was added.
3785 * src/grouplistdialog.c: made exclusive lock variable global, and
3786 lock at grouplist_dialog_set_list().
3787 * src/textview.c: fixed a bug that disabled clickable URI if
3788 message color was disabled.
3792 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
3793 quit main loop if gtk_main_level() is 1.
3794 grouplist_dialog_set_list(): freeze CList while appending the list.
3795 grouplist_dialog(): show dialog before updating the list.
3799 * src/folder.c: folder_write_list_recursive(): add the attribute
3800 `collapsed' if a node have some children.
3801 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
3804 news_get_group_list(): new. It returns newsgroup list.
3805 news_remove_group_list(): new. It removes newsgroup list cache.
3806 * src/folderview.c: folderview_new_news_group_cb(): call
3807 grouplist_dialog() instead of input_dialog().
3811 * autogen.sh: modified.