3 * src/textview.c: textview_show_message(), textview_show_part():
4 fixed a bug that GtkSText *text pointed the incorrect object.
5 textview_add_part(): freeze GtkSText while adding RFC822 headers.
6 textview_show_part(): fixed a bug that couldn't display single
7 part MIME message as text.
11 * src/compose.c: compose_redirect_write_to_file(): correct the target
12 for change_file_mode_rw(). Check if fclose() succeeded. Unlink
13 incomplete file when an error occured.
18 compose_create(): disable menus for draft on redirection mode.
19 compose_redirect_write_to_file(): correct the error handling of
21 * src/prefs_common.c: turned off the "Display recipient on `From'
22 column if sender is yourself" option by default.
26 * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
27 Based on the implementation of the claws branch.
28 compose_redirect(): create a new window and make it uneditable.
29 compose_redirect_write_to_file(): copy headers and body of
30 original message except for some.
31 compose_redirect_write_headers(): add extra "Resent-*" headers.
32 compose_create(): set menu sensitivity for redirection mode.
36 * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
37 space is inserted between encoded string and the following folded
38 one (thanks to Masahiro Tomita).
42 * src/mainwindow.[ch]: some refactoring has been made.
43 main_window_toggle_message_view(): moved summary_toggle_view_real()
45 * src/messageview.[ch]: messageview_is_visible(): new.
46 * src/summary_search.c
47 src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
48 Instead use messageview_is_visible().
52 * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
53 * src/summaryview.[ch]:
54 summary_expand_threads(), summary_collapse_threads(): new.
58 * src/mainwindow.c: Fixed the behavior of
59 '/View/Show or hide/Folder tree' and
60 '/View/Show or hide/Message view' toggle menu.
61 Removed '/View/Toggle summary view' menu and integrated the
62 function into '/View/Show or hide/Message view'.
63 main_window_set_widgets(): change the state of toggle menu items.
64 * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
69 * src/mimeview.c: mimeview_set_multipart_tree(): show single part
70 MIME contents other than text as children of message/rfc822 part.
72 procmime_mimeinfo_next(): modified for message/rfc822 part which
73 content-type is single part MIME.
74 procmime_scan_multipart_message(): fix for nested message/rfc822
75 part. Corrected the size of the contents of message/rfc822.
76 * src/textview.c: textview_show_part(): extract the contents of
77 multipart/* and message/rfc822. Some code cleanups.
78 textview_add_parts(): new. It adds the all parts under a part to
80 textview_clear(): reset body_pos and cur_pos.
84 * src/addr_compl.c: modified so that it behaves better.
85 get_address_from_edit(): ignore comma inside of brackets.
86 completion_window_apply_selection(): new. Only apply the current
88 completion_window_accept_selection(): removed.
89 address_completion_complete_address_in_entry(): minor code cleanup.
90 don't replace address in entry here.
91 completion_window_select_row(): always apply clist selection to
93 completion_window_key_press(): don't apply selection here.
97 * src/imap.c: imap_create_folder(): keep trailing directory separator
98 to create a folder that contains sub folder.
102 * src/foldersel.c: sort tree with case insensitive.
103 * src/mainwindow.c: allsel_cb()
104 src/messageview.c: messageview_select_all(): fixed 'Select all'
106 * src/mainwindow.c: removed common and account prefs button from
111 * src/compose.c: compose_account_option_menu_create(): check if
120 * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
121 manual/en/*: updated the English manual.
123 faq/it/*: added German and Italian FAQ.
126 faq/fr/*: updated FAQs.
128 src/mainwindow.c: added German and Italian language.
132 * src/prefs_account.c: turn off "receive at get all" option by default
133 when creating an IMAP or News account.
137 * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
138 * src/prefs_folder_item.c: show also identifier path.
139 Made layout using table. Show uneditable entry using background
141 * src/procmime.c: procmime_get_tmp_file_name(): generate safe
146 * src/automaton.[ch]: added UI callback to Automaton.
148 src/pop.c: use callback instead of calling inc_progress_update()
150 pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
155 * src/folderview.c: properly sort abbreviated newsgroups.
160 src/prefs_common.[ch]
161 src/summaryview.c: added an option to specify the minimum length
162 for abbreviated newsgroups name.
166 * src/folderview.c: folderview_check_new(): skip unselectable folders.
167 * src/summaryview.c: added 'Create filter rule' to the context menu.
168 * src/imap.c: some code cleanups.
169 imap_scan_tree_recursive(): get path separator for each calls.
170 imap_get_path_separator(): new.
174 * src/imap.[ch]: supported namespace for others/shared folders
176 imap_parse_namespace(): parse also others/shared namespace.
177 imap_find_namespace(): search also others/shared namespace.
179 strchr_parenthesis_close(): return pointer to closing parenthesis.
180 strsplit_parenthesis(): split parenthetic list into array of
185 * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
186 parse date string like "Mon,6 May 2002 20:31:12 +0800".
187 procheader_scan_date_string(): new. Separated string scanning
188 part from procheader_date_parse().
192 * src/summary_search.c: summary_search_execute(): unlock while
193 selecting summary row (thanks to Martin Schaaf).
194 * src/summaryview.c: summary_set_column_titles(): reversed the
195 direction of the arrow so that it matches with Win/Mac style.
199 * src/compose.c: compose_write_headers(): quote self address name
200 if required. Some code cleanups. Don't override Newsgroups and
201 Cc with custom headers.
202 * src/imap.c: imap_add_msg(): return UID for appended message.
203 * src/compose.c: compose_queue(): check if queue folder exists.
204 * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
206 imap_open(): removed an unrequired argument.
210 * src/utils.[ch]: trim_string(): new. It trim characters longer than
211 the specified length and adds "...".
212 * src/folderview.c: trim folder name when displaying dialog.
216 * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
218 * src/folderview.c: folderview_select()
219 src/summary_search.c: summary_search_execute(): lock summary view
220 while searching (thanks to Martin Schaaf).
228 * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
232 * src/summaryview.c: summary_show(): fixed a bug that didn't process
234 * src/account.c: account_edit_prefs(): fixed a crash bug when account
236 * src/prefs_account.c: prefs_account_apply(): display error dialog
237 if account name is empty.
238 * src/imap.c: changed some log_print() to debug_print() to reduce
243 * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
247 mh_do_move_msgs_with_dest()
249 mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
250 * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
253 imap_fetch_msg(): SELECT mailbox before FETCH if required.
254 imap_scan_folder(): set last_num using the value of UIDNEXT.
255 imap_select(): return immediately if there is no need for SELECT.
256 preserve the path of currently selected mailbox.
257 imap_status(): added UIDNEXT.
261 * src/folder.c: folder_item_scan(): removed the warning.
262 * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
263 setting case sensitivity.
267 * src/mainwindow.c: main_window_create(): restrict the minimum size.
271 * src/compose.c: merged the new line-wrapping routine.
272 join_next_line(): fixed a bug that didn't join multibyte
274 get_indent_length(): modified enums and variable names.
275 INDENT_CHARS: don't indent ':'.
277 folderview_rename_folder_cb()
278 folderview_delete_folder_cb(): support folder identifier.
279 folderview_rm_imap_folder_cb(): integrated with
280 folderview_delete_folder_cb().
284 * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
285 * src/folderview.c: folderview_check_new(): abort checking if
286 folder_item_scan() failed.
290 * src/imap.c: imap_create_missing_folders(): create only INBOX and
292 * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
293 type of news folders unchangeable.
294 prefs_folder_item_destroy(): use prefs_dialog_destroy().
295 * src/prefs.[ch]: prefs_dialog_destroy(): new.
299 * src/prefs_account.[ch]: added special folder setting to Advanced
300 tab. Also moved "IMAP server directory" setting to there.
301 * src/account.[ch]: account_get_special_folder(): new. It returns
302 the optimal special folder for accounts.
303 * src/compose.c: use account_get_special_folder().
304 * src/prefs_folder_item.[ch]: new. Implemented folder property
305 dialog, and the special folder settings (most of the functions in
306 claws are not integrated yet, and the structure is slightly
308 * src/folderview.c: enabled Property menu.
312 * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
313 scanning when encountering separators ',' and ';'.
317 * src/mainwindow.c: reorderd the menu a bit.
318 * src/compose.c: made 'Ctrl-Enter' ignore some modifiers.
319 compose_reply_set_entry(): made 'Reply to sender' work for
324 * src/compose.c: compose_create(): set geometry hints to restrict
325 the maximum size of window.
326 * src/imap.c: imap_parse_list(): don't mark INBOX as \Noselect.
327 imap_get_uncached_messages()
328 imap_cmd_fetch(): ignore responses which don't include FETCH.
332 * COPYING: re-licensed (removal of "NO-VIRUS CLAUSE" and addition of
333 the clause for OpenSSL).
337 * src/prefs_account.c
338 src/smtp.[ch]: fixed a bug that didn't complie with OpenSSL enabled.
344 src/session.[ch]: first reorganization of SMTP protocol handling.
345 SMTPSession: new class which is a sub class of Session.
346 smtp_session_new(): moved send_smtp_open() into this function.
347 smtp_from(): moved SMTP AUTH calls into smtp_auth().
348 smtp_auth(): use server response for SMTP AUTH method.
349 smtp_ehlo(): read server response and set auth type flags.
350 smtp_helo(): separated EHLO command.
351 smtp_ok(): return the last server response if the buffer is
353 * src/esmtp.[ch]: merged into smtp.[ch].
354 * src/imap.c: imap_session_destroy_all(): use session_destroy().
358 * src/imap.c: imap_open(): show warning message if IMAP4 session
359 can't be established.
363 * src/compose.c: made template able to be inserted into the current
365 * src/mainwindow.c: moved some menu items under the submenu
366 '/View/Show or hide'.
371 src/inc.c: changed folder_find_item_from_path() to
372 folder_find_item_from_identifier().
374 src/prefs_filter.c: use folder_item_get_identifier() to specify
379 * src/folder.[ch]: implemented "folder identifier" (and fixed a bug
380 existed in claws' implementation).
381 folder_find_from_name(): find Folder from name and type.
382 folder_get_identifier(): return Folder id.
383 folder_item_get_identifier(): return FolderItem id.
384 folder_find_item_from_identifier(): find FolderItem from id.
385 folder_get_type_string(): return folder type string.
386 folder_get_type_from_string(): return FolderType from string
387 (and fixed the wrong g_strcasecmp() usage).
389 src/import.c: use folder_item_get_identifier() and
390 folder_find_item_from_identifier().
394 * src/imap.c: imap_parse_atom(): fixed a bug that cur_pos didn't
395 point the correct address after reading the continuous line.
396 imap_scan_folder(): set new number to 0 if unseen number is 0.
397 imap_parse_flags(): don't add new and unread flag if \Seen flag
399 * ac/Makefile.am: removed gpgme.m4 from MACROS.
403 * fixed the old problem that couldn't add flags to currently opened
406 compose_send(): update outbox after saving.
408 compose_draft_cb(): use procmsg_add_flags().
409 * src/folder.[ch]: added "opened" flag and "mark_queue" list to
411 * src/main.c: send_queue(): send from all queue folders.
412 * src/mainwindow.c: send_queue_cb(): send from all queue folders.
414 procmsg_flush_mark_queue(): new. Write all queued flags into file.
415 procmsg_add_flags(): new. Add specified flags to the folder.
416 procmsg_send_queue(): added an argument to specify queue folder.
417 procmsg_save_to_outbox(): use procmsg_add_flags().
419 summary_show(): up the opened flag of FolderItem.
420 summary_clear_list(): down the opened flag of FolderItem.
421 summary_write_cache(): call procmsg_flush_mark_queue().
425 * src/summaryview.[ch]: trim the tail of folder name and selected
426 number on the status label if the space is not enough.
430 * src/imap.c: imap_create_special_folder(): fixed a bug that didn't
431 set SpecialFolderItemType when creating special folders under
433 * ac/gpgme.m4: removed.
435 * ac/missing/gdk-pixbuf.m4
436 ac/missing/gettext.m4
438 ac/missing/imlib.m4: added for convenience.
442 * src/esmtp.c: esmtp_auth(): fixed a bug that some garbages are
443 shown after the decoded challenge string. Fixed a memory leak.
445 * src/compose.c: compose_draft_cb(): mark draft messages as read.
446 * src/folderview.c: folderview_update_node(): disable emphasis
447 for Outbox and Draft folders.
451 * src/messageview.c: messageview_show(): fixed a memory leak.
452 * src/summaryview.c: summary_save_as(): show error dialog if copy
454 * src/about.c: about_show(): make the window active if it is already
459 * src/compose.c: show confirmation dialog before sending if Subject
461 compose_check_entries(): new.
463 compose_send_later_cb(): use compose_check_entries().
464 * src/imap.c: imap_parse_atom(): more fix for parsing responses.
468 * src/imap.c: imap_parse_atom(): fixed a bug that didn't parse the
469 responses with continuous line correctly, and fixed a memory leak.
473 * src/undo.c: undo_insert_text_cb(): fixed a crash bug if the text
475 * src/gtkstext.c: gtk_stext_button_press(): cancel current selection
476 after pasting with middle button to prevent the selection growth.
481 folderview_rename_folder_cb()
482 folderview_delete_folder_cb(): modify filter rules only if the
483 target folder is in the default mailbox.
484 * src/utils.c: get_abbrev_newsgroup_name(): removed a redundant
491 src/prefs_common.c: changed 'Tool' menu to 'Tools'.
492 Moved 'Delete duplicated messages' under 'Tools'.
496 * src/folderview.c: SET_SPECIAL_FOLDER(): keep the same parent
498 * src/imap.c: imap_create_special_folder(): fixed a crash bug
499 when folder creation failed, and re-try to create folders under
501 imap_scan_tree_recursive(): don't automatically add namespace
502 prefix if it's INBOX. Search also under the INBOX for special
504 * src/foldersel.c: SET_SPECIAL_FOLDER(): keep the same parent
509 * src/utils.[ch]: get_abbrev_newsgroup_name(): new. It returns the
510 abbreviated newsgroup name.
511 * src/folderview.c: folderview_update_node(): display newsgroups
512 with abbreviated name if name and path is the same.
513 * src/summaryview.c: summary_status_show(): show the newsgroup with
519 src/folderview.c: changed the label 'Draft' to 'Drafts'.
520 * src/imap.c: changed the directory name 'Draft' to 'Drafts'.
521 imap_create_missing_folders(): fixed the wrong assignment of
522 Queue folder to draft.
526 * enabled Sent / Draft / Queue folders on IMAP server.
527 * src/compose.c: compose_queue(), compose_draft_cb(): use account's
528 queue and draft folder if they exist.
530 imap_create_trash(): removed.
531 imap_create_special_folder(): new. Generalized imap_create_trash().
532 imap_create_missing_folders(): automatically create missing folders.
533 imap_is_msg_changed(): added the dummy method.
534 imap_scan_tree_recursive(): search also Sent, Draft and Queue
535 folders. Minor code cleanups.
536 imap_parse_envelope(): check for null strings.
537 src/procmsg.c: procmsg_read_cache(): add F_QUEUE or F_DRAFT flag
538 for messages on IMAP folder.
542 * src/compose.c: compose_send(): use account's outbox folder
544 * src/procmsg.[ch]: procmsg_save_to_outbox(): changed the API so
545 that the outbox can be specified.
549 * src/compose.c: don't save to outbox when messages are queued.
550 compose_save_to_outbox(): moved to procmsg.c.
551 * src/procmsg.[ch]: procmsg_send_queue(): save to outbox when
553 procmsg_save_to_outbox(): new. Removes the queueing headers if
554 needed, and adds the given file to the outbox.
558 * src/compose.c: compose_wrap_line(): treat '|' also as quote char.
559 get_indent_length(): treat ':' and '#' also as quote char, and
560 cleaned up using strchr().
564 * src/mainwindow.c: modified some menu items.
568 * src/defs.h: changed OUTBOX_DIR from "outbox" to "sent"
569 (current "outbox" will be kept until rescan).
570 * src/folder.c: folder_set_missing_folders(): create the missing
573 src/folderview.c: changed 'Outbox' to 'Sent'.
574 * src/main.c: call folder_set_missing_folders().
575 * src/mh.c: mh_scan_tree(): create missing folders.
576 * src/summaryview.c: summary_set_menu_sensitive(): fixed a bug that
577 didn't set the menu sensitivity correctly.
582 src/imap.[ch]: implemented folder renaming on IMAP (thanks to Mio).
583 folderview_rename_folder_cb(): reopen the current folder when
584 the ancestor is renamed.
585 imap_rename_folder(): new method implementation.
587 imap_rename_folder_func(): new.
588 imap_remove_folder(): remove also the cache directory.
592 * src/imap.c: implemented locale encoding <-> modified utf-7
593 conversion, and supported i18n of folder name (thanks to Suzuki
595 imap_path_separator_subst(): handle the escape characters of
597 imap_modified_utf7_to_locale()
598 imap_locale_to_modified_utf7(): new.
599 imap_create_trash(): modified so that it create the Trash folder
600 to the correct location when imap directory is specified.
601 imap_get_real_path(): removed debug print.
605 * src/socket.c: implemented timeout for DNS lookup and connect().
606 sock_connect_by_hostname(): timeout support and code cleanup.
607 sock_connect_with_timeout(): new.
608 sock_peek(): implemented SSL peek.
612 * src/messageview.c: messageview_show(): display single-part
613 text/html messages with the normal text view.
627 src/prefs_customheader.c
628 src/prefs_display_header.c
643 src/xml.c: added 'b' to the option of all fopen().
651 * src/ssl.[ch]: match its coding style.
652 * src/compose.c: compose_send_later_cb(): fixed a bug that failed
656 faq/en/sylpheed-faq*.html
658 faq/es/sylpheed-faq*.html
660 faq/fr/sylpheed-faq*.html
666 src/manual.[ch]: added FAQs in English, Spanish and French.
670 * manual/en/sylpheed*.html: updated to the latest version.
675 src/mgutils.c: include string.h to remove warning about strlen()
689 src/summaryview.c: added break to the last label of switch to
690 prevent the 'deprecated use of label at end of compound statement'
692 * src/rfc2015.c: passphrase_cb(): fixed the type of r_hd.
696 * src/inc.[ch]: preserve the pointer to IncProgressDialog to the
698 inc_cancel_all(): new. It cancels the all current incorporation.
699 * src/mainwindow.c: added 'Cancel receiving' menu.
700 * src/textview.c: a minor fix for single-part MIME messages, and
701 a bit of cleanup for textview_write_body().
705 * src/inc.c: inc_write_uidl_list(): fixed a bug that lost UIDL
706 information if any errors occured before issuing UIDL command.
707 src/inc.h: added uidl_is_valid to Pop3State.
708 src/pop.c: set uidl_is_valid to TRUE if UIDL becomes valid.
716 * src/mimeview.c: mimeview_create(): set the initial notebook page
718 * src/folderview.c: folderview_selected(): scroll the view if the
719 selected row is hidden.
720 * src/prefs_filter.c: prefs_filter_register_cb(): scroll the view
721 and select the added row.
722 * src/summaryview.c: fix threading for null message ids.
726 * src/textview.c: textview_show_message(): follow message/rfc822
728 textview_add_part(): add a caption before the attached text files.
729 textview_show_header(): don't add the newline.
730 * src/messageview.c: enabled message search also in MIME mode.
734 * src/messageview.c: messageview_show(): set header state of
735 MimeView's TextView, too.
736 * src/mimeview.c: mimeview_show_message(): call
737 textview_show_message() to display message.
738 * src/textview.c: textview_add_part(): new. It adds the content
739 of message part without clearing the view.
740 textview_show_message(): display all parts with appropriate
742 textview_write_body(): separated from textview_show_part().
747 src/prefs_common.c: added ISO-8859-15 to the codesets for
748 displaying and sending.
749 * src/codeconv.c: conv_codeset_strdup(): return NULL if code
750 conversion failed, and made caller deal with it.
751 * src/compose.c: compose_write_to_file(): show error dialog when
752 code conversion failed, and let user select whether to send it
754 * src/textview.c: textview_write_line(): show the original string
755 if code conversion failed.
759 * src/inc.c: get_spool(): fixed a bug that failed to unlock mbox
760 if copy_mbox() failed (thanks to Alexander Kabaev).
761 * src/prefs_account.[ch]: added separate user ID / password setting
763 * src/send.c: send_message_smtp(): use separate user ID / password
764 for SMTP AUTH if it is specified.
769 src/pop.[ch]: refactored the UIDL management.
770 store the information of messages into the array of Pop3MsgInfo
771 structure, and do full scanning of not retrieved messages.
777 src/mainwindow.c: set WMCLASS for window/dialog.
778 * src/codeconv.c: conv_codeset_strdup(): return source string
779 when jconv_alloc_conv() failed.
783 * src/mh.c: mh_scan_tree_recursive(): changed the hardcoded directory
790 src/summaryview.c: implemented the new notebook tab interface for
792 * src/textview.[ch]: fixed line space related glitches.
796 * src/prefs_filter.c:
797 prefs_filter_rename_path()
798 prefs_filter_delete_path(): fixed a crash when flt->dest was NULL.
802 * src/recv.[ch]: cancel data receiving if RecvUIFunc returns FALSE.
803 * src/pop.c: pop3_retr_recv(): fixed false 'No space' when cancelled
805 * src/inc.c: inc_pop3_recv_func(): abort data receiving when
806 cancelled, and fixed potential crash bug.
807 * src/grouplistdialog.c: enabled cancelling of data receiving.
808 * src/news.c: news_get_group_list(): destroy current session if
813 * src/manage_window.[ch]: fixed a bug that caused crash when
814 the main window was hidden.
815 MANAGE_WINDOW_SIGNALS_CONNECT(): new macro.
816 Monitor "unmap_event", "destroy" events.
823 src/grouplistdialog.c
831 src/prefs_customheader.c
832 src/prefs_display_header.c
836 src/summaryview.c: use MANAGE_WINDOW_SIGNALS_CONNECT() macro to
837 connect signals for window management.
841 * src/prefs_account.[ch]: added receive size limit option.
842 * src/pop.c: skip messages larger than the limit size.
843 LOOKUP_NEXT_MSG(): new macro.
844 * src/compose.c: compose_attach_append(): check whether the file
849 * src/rfc2015.c: commented out dump_mimeinfo() and dump_part().
850 changed g_message()'s to debug_print() and g_warning().
851 rfc2015_decrypt_message(): fixed a bug that duplicated message
852 parts when decryption was failed/cancelled. And made some code
854 * src/passphrase.c: made the dialog transient.
855 * src/prefs.c: prefs_config_parse_one_line(): removed debug_print().
860 src/procmsg.[ch]: fixed a bug that failed to parse multipart
861 messages if GPGME was enabled.
862 * src/rfc2015.c: commented out copy_gpgmedata_to_temp() which
864 * src/prefs_account.c: prefs_account_privacy_create(): modified
865 the vertical spacing.
869 * src/menu.[ch]: menu_set_sensitive_all(): new.
870 menu_set_insensitive_all(): made it a wrapper for
871 menu_set_sensitive_all().
872 * src/prefs_account.c:
874 prefs_account_protocol_set_optmenu(): made the protocol type
875 unchangeable after creating an account.
876 * src/compose.c: compose_attach_parts(): traverse MIME tree to
877 extract all attathed files from nested multipart MIME message.
881 * src/procmsg.[ch]: procmsg_get_mark_sum(): added arguments to
882 obtain minimum/maximum number, and to specify first number
885 src/inc.c: enabled new message checking on news folder.
886 * src/news.c: news_scan_group(): implemented. Guess new/unread
887 message number from the response of GROUP command and the mark
889 news_select_group(): return the total/first/last number.
890 * src/prefs_account.c: prefs_account_receive_create(): modified
891 the text of the 'Get all' check button.
895 * src/account.c: made 'Get all' checkbox available for IMAP4 and
897 * src/inc.c: corrected the argument of folderview_check_new().
898 * src/prefs_account.c: modification for the "`Get all' checks for
899 new mail on this account" checkbox.
903 * src/folderview.[ch]:
904 folderview_rescan_tree(), folderview_rescan_all(): renamed from
905 folderview_update_tree() and folderview_update_all().
906 folderview_update_all_node(): removed.
907 folderview_check_new(): new. If the argument is NULL, it checks
908 all local folders. If the arguments is specified, it checks
909 the (local and remote) folder.
912 inc_all_account_mail(): check also IMAP4 account.
917 folderview_rename_folder_cb()
918 folderview_delete_folder_cb(): modify the filter rules when folder
920 * src/prefs_filter.[ch]:
921 prefs_filter_rename_path(): new. It renames the destination paths
923 prefs_filter_delete_path(): new. It deletes the filter rules if
924 the destination paths matched.
925 * thanks to Neill Miller for above.
929 * src/compose.c: inherit attached files when forwarding or reediting
930 (rewrote the code in claws branch).
931 compose_attach_parts(): new. It extracts and attaches the files
932 in the given message.
933 compose_attach_append(): chnaged the types of arguments.
934 * src/messageview.c: messageview_show(): moved the GPG decryption
936 * src/procmsg.[ch]: procmsg_open_message_decrypted(): new.
944 * src/summary_search(): summary_search_execute(): scroll the view
945 when message view is hidden.
949 * src/foldersel.c: foldersel_set_tree(): made different type of
950 folders selectable in moving mode.
951 * src/folderview.[ch]: folderview_update_msg_num(): compare the
952 numbers with the CTree's labels, and don't update folder_item here.
953 * src/imap.c: imap_move_msg(), imap_move_msgs_with_dest():
954 implemented moving between different type of folders.
955 * src/mh.c: SET_DEST_MSG_FLAGS(): new macro.
956 mh_do_move(), mh_do_move_msgs_with_dest(): new (renamed previous
957 mh_move_msg() and mh_move_msgs_with_dest()).
958 mh_move_msg(), mh_move_msgs_with_dest(): implemented message
959 moving between different type of folders.
960 mh_copy_msg(), mh_copy_msgs_with_dest(): some code cleanups.
961 * src/summaryview.c: summary_status_show(): update folder_item
963 * po/POTFILES.in: removed reference to headerwindow.c.
964 * src/summaryview.c: summary_step(): fixed the behavior on the
965 head and tail of the list.
969 * src/mainwindow.c: main_window_set_menu_sensitive(): set 'Show
970 all header' toggle state from the property of the TextView.
971 * src/summaryview.[ch]: made 'All header' toggle switch.
972 Prohibited unnecessary menu update.
973 summary_select_node(): added the argument 'do_refresh'.
978 * src/utils.c: strsplit_with_quote(): remove quotation characters
979 in the function (fix composer's external editor problem) (thanks
980 to Stefaan A Eeckels).
981 * src/mainwindow.[ch]: made 'Show all header' toggle switch.
982 main_window_menu_callback_block()
983 main_window_menu_callback_unblock(): new.
984 main_window_set_menu_sensitive(): set the toggle status of
986 show_all_header_cb(): read the status of toggle menu item.
987 * src/mainwindow.[ch]: made 'Thread view' toggle switch.
988 * src/prefs_common.c: prefs_keybind_apply_clicked(): removed
993 * src/imap.c: imap_add_msg(): fixed a bug that didn't replace
994 the path separator (thanks to Sergey Vlasov).
995 * src/gtkutils.c: gtkut_editable_get_selection(): return NULL
996 if the length of selection is zero.
998 * src/utils.c: str_open_as_stream(): return immediately if
999 the length of str is zero.
1000 * src/headerwindow.[ch]: removed.
1002 src/inc.c: removed stale thread support codes.
1006 * src/procmsg.c: procmsg_open_message(): modified so that it
1007 returns the stream of decrypted message file if it exists
1008 (this fixes the failure of gpg decryption in messageview.c).
1018 src/prefs_template.c
1020 src/quote_fmt_parse.y
1022 src/utils.[ch]: if the part of the message text is selected, use
1023 it for quoted text instead of the entire message body (thanks to
1025 src/utils.[ch]: str_open_as_stream(): new. It returns an
1026 temporary stream for the given string.
1027 * src/main.c: added "--send" command line option.
1028 * src/compose.c: compose_reply_set_entry(): add From address to
1029 Cc if Reply-To and to_all are both specified.
1030 * Makefile.am: correct the Source: line in the RPM spec file in
1035 * src/procmsg.c: procmsg_open_message(): fetch message if the cache
1037 * src/foldersel.[ch]: foldersel_folder_sel(): added an argument
1038 that specifies the folder selection type.
1049 src/prefs_customheader.c
1051 src/summaryview.c: made it compile with C compilers other than gcc
1052 (thanks to Shawn Houston).
1056 * src/imap.c: imap_copy_msgs_with_dest(): fixed a bug on traversing
1058 * src/prefs_common.c: made the key binding setting separate dialog.
1059 * src/addressbook.c: addressbook_format_address(): add "" around
1060 the display name if it contains comma (thanks to Satoshi Watanabe).
1061 * src/addr_compl.c: get_complete_address(): add "" around the
1062 display name if it contains comma.
1063 get_address_from_edit(): handle the quotation character correctly.
1064 * src/addr_compl.c: get_complete_address()
1065 src/addressbook.c: addressbook_format_address(): fixed a bug that
1066 caused wrong text processing if the display name is empty.
1071 * src/compose.c: compose_exec_ext_editor_real(): replaced
1072 g_strsplit() with strsplit_with_quote().
1074 src/folderview.c: folderview_drag_motion_cb(): minor code cleanups.
1076 folderview_drag_motion_cb()
1077 folderview_drag_received_cb(): allow dropping into IMAP4 folder.
1078 * src/utils.c: get_file_size_as_crlf(): use fgets() instead of
1082 imap_copy_msgs_with_dest(): use imap_add_msg() if the source
1083 of the message is different from the current mailbox.
1084 Return the correct value.
1085 imap_cmd_append(): properly implemented the APPEND command.
1090 src/messageview.[ch]
1091 src/summaryview.[ch]
1092 src/textview.[ch]: show all headers in the message view, and don't
1093 use the header window anymore.
1095 src/prefs_common.c: changed the default shortcut of 'compose new
1098 src/summaryview.[ch]: summary_display_msg_selected(): new.
1099 Show the selected message if 'Show all header' is selected.
1101 src/sourcewindow.c: changed some procmsg_get_message_file_path()
1102 to procmsg_get_message_file() to be sure the message is
1104 * src/folderview.c: folderview_drag_motion_cb(): allow DnD from
1105 any folder to MH folder.
1106 folderview_drag_received_cb(): copy messages instead of moving
1107 if the source folder is news or IMAP.
1109 src/summaryview.c: allow copy from news folder.
1113 * src/prefs_common.c: prefs_other_create(): modified the design
1114 of the external command settings.
1115 prefs_keybind_apply_clicked(): made the Mew / Wanderlust keybind
1116 preset closer to the original.
1117 Added Mutt keybind preset.
1118 Also change the compose keybinds.
1119 * src/compose.c: modified some menu shortcuts.
1120 * src/codeconv.c: modified the locale_table for Thai encoding.
1124 * src/Makefile.am: added $(GPGME_CFLAGS) to INCLUDES.
1125 * src/prefs_common.c: prefs_interface_create(): modified the
1126 description for menu shortcut.
1130 * src/gtkutils.[ch]: added gtk_stext_clear().
1133 src/summaryview.[ch]: enabled multiple forwarding.
1134 * src/summaryview.c:
1135 summary_set_marks_selected(): set marks for all selected row.
1136 summary_reply(): moved from summary_reply_cb().
1137 * compose.[ch]: compose_forward(): modified so that it receives
1139 * src/mainwindow.c: cleanup for reply processing.
1140 * src/summaryview.c: summary_reply(): fixed a memory leak.
1141 summary_key_pressed(): removed hardcoded mark / mark as unread
1144 src/prefs_common.c: added mark / mark as unread shortcuts to
1149 * src/compose.c: compose_wrap_line_all(): wrap quoted part even
1150 if prefs_common.linewrap_quote is not set (it is only for
1151 auto-wrapping on reply).
1152 * src/prefs_account.c: prefs_account_open(): initialize tmp_ac_prefs
1153 when creating a new account.
1154 * src/mh.c: mh_get_msg_list(): use also st_ctime to detect
1156 * src/prefs_common.c: prefs_interface_create(): modified the
1157 description of key binds selector.
1161 * src/mimeview.c: fixed multiple dialog / moving by correcting
1162 button / key event processing.
1164 src/textview.c: pass some key press events to MimeView in MIME
1166 * src/prefs_filter.c: fixed a bug that didn't set the order of
1168 * src/prefs_common.c: prefs_keybind_apply_clicked(): fixed
1169 empty_menurc string.
1174 src/prefs_common.c: reorganized the menu shortcuts.
1175 Added 'View - Toggle summary view'.
1176 * src/summaryview.[ch]: summary_toggle_view(): made it public
1178 * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
1180 * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
1181 closing the dialog with window manager (in more appropriate way).
1182 * src/imageview.[ch]
1184 src/mimeview.c: fixed wrong scrolling position when switching
1185 between text and image parts. Also free the unrequired image
1186 (thanks to Sergey Vlasov).
1187 * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
1192 * src/prefs_common.c: implemented shortcut quick changer.
1193 * src/folderview.c: folderview_key_pressed()
1194 src/summaryview.c: summary_key_pressed(): removed some hardcoded
1200 procmime_get_mime_type()
1201 procmime_get_mime_type_table(): made the MIME type search case
1204 gtk_stext_delete_line(): delete newline on empty line.
1205 gtk_stext_delete_to_line_end(): delete newline if cursor is on
1207 (thanks to Yasuzaki Masayoshi.)
1212 src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
1213 and made them customizable.
1214 * src/utils.[ch]: added get_file_size_as_crlf() which returns
1215 the file size when converting LF to CR+LF.
1219 * src/compose.c: enabled 'Ctrl-Enter' or
1220 'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
1222 * src/gtkstext.c: disabled some Emacs key bindings.
1223 gtk_stext_key_press(): don't extend selection when Shift-Enter
1224 is pressed to prevent the disapperance of cursor.
1225 * src/summaryview.c: summary_select_next_unread(): added the button
1226 to search unread message again from the beginning to the dialog.
1227 * src/folderview.c: folderview_key_pressed(): go to next unread
1228 folder if space key is pressed on the empty folder.
1229 Move CTree focus before selecting row.
1233 * src/defs.h: modified the XLFD of default fonts.
1234 * src/textview.c: textview_create(): fixed a bug that caused
1235 segfault if font couldn't be loaded.
1237 src/grouplistdialog.c: compare subscribed groups with path.
1238 * src/prefs_filter.c: changed 'Operator' to 'Condition'.
1242 * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
1243 when URL is wider than wrapping margin.
1245 src/prefs_filter.[ch]
1246 src/summaryview.[ch]: added "Create filter rule" function based
1247 on the patch from Luca Rosellini.
1248 * src/summaryview.c: summary_filter_open(): added X-List and
1249 X-Mailing-list to the automatically detected headers.
1253 * configure.in: support Mac OS X (Darwin).
1257 * src/prefs_filter.c: use inc_(un)lock() instead of
1258 inc_autocheck_timer_{remove|set}().
1259 * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
1260 instead of gtk_ctree_sort_node() so that messages within threads
1262 * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
1263 target of sizeof was wrong and caused crash on Alpha architecture
1264 (thanks to Motonobu Ichimura).
1269 foldersel_gnode_func(): made the names of special folders
1271 foldersel_set_tree(): move the special folder to the top.
1272 * src/inputdialog.[ch]: input_dialog_query_password(): new.
1276 src/send.c: use input_dialog_query_password() instead of their
1277 own query functions.
1281 * src/defs.h: modified the default font.
1285 src/news.[ch]: moved the class definition and some methods to
1286 the proper location.
1290 * src/mimeview.c: mimeview_save_as()
1291 src/summaryview.c: summary_save_as(): put the default filename
1292 based on the subject.
1293 * src/utils.[ch]: added subst_chars() and subst_for_filename()
1294 which substitute some special characters with underscore.
1295 * src/filesel.c: filesel_select_file(): select the default filename.
1300 INSTALL.jp: added the description and the URL for libjconv.
1301 * src/mainwindow.c: menu entries cleanup.
1307 src/about.c: modified the copyright year.
1308 * src/gtkstext.h: added the notice for modification by the Sylpheed
1314 INSTALL.jp: added the URL for compface.
1322 * src/headerwindow.c
1325 src/sourcewindow.c: set wmclass when creating windows.
1329 * src/compose.c: compose_wrap_line_all(): fixed the bug that
1330 caused infinite loop when wrapping certain patterns of quoted text.
1334 * src/imap.c: imap_parse_envelope(): put the assertion after
1335 imap_parse_address() to prevent segmentation fault.
1340 src/mainwindow.c: modified some labels of menu items.
1341 * src/ldif.c: put the return value of fgetc() in a gint.
1342 * src/importldif.c: don't brace null strings with _().
1343 * src/compose.c: moved the position of Subject entry to the last.
1344 Reorganized the menu.
1345 compose_draft_cb(): added 'keep editing after saving to draft'
1350 * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
1351 menu. Moved 'Help' menu to just the right of 'Configuration'.
1352 Removed 'File - Close' menu item.
1356 * src/mainwindow.c: some menu reorganization.
1357 * AUTHORS: updated. Added more contributors.
1358 * src/account.c: account_row_moved(): new. Moves displayed row to
1359 the appropriate position when up / down button are pressed.
1360 account_clist_set(): move displayed row to the appropriate position.
1362 src/mainwindow.c: set title and wmclass when creating windows.
1366 * src/gtkstext.c: fixed a bug that didn't show block cursor
1367 correctly. Removed unnecessary GdkGC copy. Fixed cursor
1372 src/undo.c: modified to use GtkSText.
1373 * src/menu.h: added #include <gtk/gtkmenu.h>.
1378 configure.in: added XIM checking for GTK+.
1379 * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
1383 * src/filter.c: added #include <sys/types.h>.
1387 * src/template.c: template_write_config(): fixed a typo.
1388 * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
1390 src/prefs_filter.c: supported regular expression (thanks to
1392 * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
1393 undo state when pasted clipboard was empty.
1394 undo_check_size(): use g_list_last().
1396 undo_redo(): fixed NULL checking and made a bit of optimization.
1398 * src/prefs_common.c: changed the default value of linewrap length
1403 * reorganization of pixmap management.
1404 * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
1405 * modified every files which directly use pixmaps data to use
1407 * src/undo.[ch]: renamed undo_set_undo_change_funct() to
1408 undo_set_change_state_func(), and changed its argument from
1409 GtkWidget* to gpointer.
1410 undo_merge(): code cleanup.
1411 * src/compose.c: renamed compose_set_undo() to
1412 compose_undo_state_changed().
1416 * src/account.c: account_find_from_address(): made it case
1418 * src/addressbook.c: addressbook_create(): set wmclass.
1419 * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
1422 src/ldif.[ch]: merged from the claws branch.
1423 * src/importldif.c: removed some warnings.
1424 imp_ldif_field_list_toggle(): fixed button checking.
1425 imp_ldif_dialog_create(): minor layout fix.
1426 * src/ldif.c: removed some warnings.
1428 INSTALL.jp: updated confirmation list.
1431 vcard_test_read_file(): fixed a memory leak of tagtemp.
1432 Some code cleanups (decreasing the indent level).
1435 src/syldap.[ch]: disabled runtime library checking because JPilot
1436 and LDAP libraries are linked on the build time, and the program
1437 doesn't execute without them anyway.
1439 src/addrindex.c: changed "J-Pilot" to "JPilot".
1440 Removed warning for atoi().
1444 * src/procmsg.c: procmsg_empty_trash()
1445 src/mainwindow.c: main_window_empty_trash(): empty trash only if
1446 it contains some messages.
1447 * src/imap.c: search_array_str(): new.
1448 imap_status(): fixed a bug that didn't parse the command response
1453 * merged undo function (by Jens Oberender).
1454 * src/undo.[ch]: new.
1455 undo_insert_text_cb(): fix for multibyte characters (obtain the
1456 number of letters instead of bytes).
1457 * src/compose.[ch]: added the code for undo.
1458 * src/prefs_common.[ch]: added the interface for setting undo level.
1462 * src/compose.c: compose_template_apply()
1463 src/prefs_template.c: prefs_template_clist_set_row()
1464 src/template.c: template_write_config(): don't replace To: and
1465 Subject: entry in composition window if they are empty.
1473 * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
1474 * src/ldif.c: ldif_get_line(): ignore CR.
1475 * src/mimeview.c: mimeview_show_message(): search also text/html
1476 for first text part.
1480 * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
1481 that didn't update accountrc if account_list == NULL (thanks to
1486 * src/utils.h: added the macro Xstrcat_a() that concatenates
1487 two strings and return alloca'd string.
1488 * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
1489 handle folder name which includes some spaces correctly
1490 (based on the patch from Willem van Engen (thanks!)).
1491 * src/compose.c: compose_wrap_line_all(): fixed the crash when
1492 wrapping long lines if linewrap quotation is disabled and
1493 a word spanning more than one line.
1497 * applied the Tobias' patch with modification (thanks!).
1499 imap_msg_set_perm_flags()
1500 imap_msg_unset_perm_flags(): new. They set permanent flags to
1503 src/summaryview.c: set flags on IMAP server when flags are changed.
1507 * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
1508 of gtk_container_remove() for workaround of a bug in
1509 Gtk{Text,Entry} (thanks to Sergey Vlasov).
1515 src/textview.c: replaced gtk_container_remove() with
1516 gtkut_container_remove(), and removed previous partial fix.
1520 * src/prefs_account.c: prefs_account_apply(): fixed a bug that
1521 checked user ID on "local", but didn't on IMAP4.
1522 * src/imap.c: imap_session_get(): fixed a crash bug when
1523 rfolder->session == NULL.
1524 * Makefile.am: changed the arguments of tar from 'chojf' to
1526 * src/summaryview.c: summary_toggle_view(): disclaim the selection
1527 of textview before removing vpaned.
1531 * src/messageview.c: messageview_change_view_type(): disclaim the
1532 selection before removing textview. This solves the mysterious
1533 copy-paste disability (thanks to Melvin Hadasht).
1534 * src/textview.c: textview_set_font(): use
1535 gtk_editable_claim_selection() instead of
1536 gtk_editable_select_region().
1540 * src/prefs_template.c: prefs_template_window_create(): supported
1541 address completion on the To: entry.
1546 folder_count_total_msgs()
1547 folder_count_total_msgs_func(): use g_node_traverse() to traverse
1552 * src/compose.c: fixed a bug that empty body was refused.
1553 * src/prefs_template.c: fixed a bug that didn't set To: entry
1554 correctly. Display error dialog if format is illegal.
1555 * src/prefs_common.c
1557 src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
1558 "{ }" to prevent confusion on using parenthesis.
1559 * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
1563 * src/prefs_template.c: added colon to the header labels.
1568 src/prefs_template.c
1569 src/template.[ch]: added To field to the template.
1573 * src/textview.c: textview_show_part(): use first found
1574 message/rfc822 header.
1575 * src/folderview.c: added "Search messages..." to the context menu.
1576 * src/prefs_common.c: prefs_quote_description_create(): added
1577 description for characters which need to be escaped.
1581 * src/compose.c: compose_wrap_line_all(): more merging from claws.
1582 GET_CHAR(): renamed GET_TEXT() and made it more generic.
1583 Modified compose_wrap_line() and compose_wrap_line_all() to use
1585 * src/textview.c: textview_show_part(): show the header of nested
1586 RFC822 attachment correctly.
1591 src/main.c: added --status option to get new, unread and total
1592 message count from a running Sylpheed (merged from claws).
1593 prohibit_duplicate_launch(): output '\n' only once.
1598 src/gtkutils.[ch]: merged the new wrapping function.
1599 gtkut_text_str_compare_n()
1600 gtkut_text_str_compare()
1601 gtkut_text_is_uri_string(): backport from the GtkSText in the
1602 claws branch, and made modification.
1603 * src/prefs_template.c
1604 src/template.[ch]: added Subject to the template.
1608 * src/compose.c: compose_write_headers(): added missing parenthesis
1609 that generated invalid custom header (thanks to Masaaki Noro).
1610 Allow Sender: custom header.
1614 * src/procheader.c: procheader_date_parse(): workaround for
1615 RFC-incompliant Date header.
1619 * src/addrbook.c: removed redundant functions, and fixed generation
1620 of spurious address book file names.
1621 * src/addrindex.c: V-Card -> vCard.
1625 * src/textview.c: get_email_part(): replaced isalnum() with
1626 the macro IS_ASCII_ALNUM() which restricts the range of
1627 characters to 7bit ASCII (thanks to Shimamoto).
1628 * src/utils.c: remote_tzoffset_sec(): workaround for malformed
1633 * src/textview.c: textview_show_part(): show headers on nested
1638 * src/imap.c: imap_session_get()
1639 src/news.c: news_session_get(): fixed segfault when reconnection
1641 * src/grouplistdialog.c: removed redundant code, and expand nodes
1642 that doesn't match the pattern.
1646 * src/compose.c: modified so that it sends message when any of
1647 To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
1648 compose_check_for_valid_recipient(): new.
1649 * src/grouplistdialog.c: improved the UI.
1650 Added appropriate description and search button.
1651 Search doesn't get group list again.
1655 * src/news.[ch]: news_session_get(): update the last access time
1657 news_group_list_free(): new.
1658 * src/grouplistdialog.c: free resources correctly.
1663 src/grouplistdialog.[ch]: more merging of new newsgroup
1664 subscription dialog.
1665 * src/news.[ch]: renamed news_remove_group_list() to
1666 news_remove_group_list_cache().
1670 * src/defs.h: added MAX_ENTRY_LENGTH definition.
1671 * src/compose.c: compose_add_entry_field(): create new entry with
1676 * src/grouplistdialog.c: made non-leaf node selectable.
1677 Give the complete newsgroup name for each nodes.
1681 * src/grouplistdialog.c
1682 src/news.[ch]: merging of new newsgroup subscription dialog
1683 (still in progress. Don't use it yet!).
1687 * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
1688 * src/compose.[ch]: compose_new_with_recipient(): accept mailto
1690 compose_entries_set(): new. It parses mailto URL and put each
1691 values into the entries.
1695 * src/compose.c: compose_forward(): fixed a bug that forward
1696 quote mark wasn't used (thanks to Hironori IWANE).
1699 src/prefs_common.c: added Thai encodings (thanks to Manrat
1704 * src/socket.c: sock_connect_by_hostname(): removed h_errno.
1708 src/news.c: added last_access_time to Session.
1709 imap_session_get(): check connection only when access interval
1718 * src/socket.c: ssl_gets(): use SSL_peek.
1719 * updated NEWS and AUTHORS.
1720 * Makefile.am: fixed release target.
1724 * src/template.c: changed the format of template file to
1726 * src/compose.c: compose_template_apply(): freeze the text widget
1727 while inserting strings.
1731 * po/POTFILES.in: removed src/template_select.c.
1732 * src/summaryview.c: summary_set_header()
1733 src/address.c: address_parse_str()
1734 src/filter.c: filter_read_str()
1735 src/news.c: news_parse_xover()
1736 src/procheader.c: procheader_get_fromname()
1737 src/utils.c: subject_compare():
1738 replaced Xalloca() + strcpy() with Xstrdup_a().
1739 * src/inputdialog.[ch]: added combo mode.
1740 input_dialog_combo(): new.
1741 * src/prefs_common.[ch]: added MIME open command setting.
1742 prefs_common_{read, save}_config(): read / write command history.
1743 * src/mimeview.c: mimeview_open_with(): use combo input dialog.
1744 * src/utils.[ch]: add_history(): history list management function.
1748 * src/compose.c: select templates from the menu.
1749 compose_set_template_menu(): new.
1750 compose_reflect_prefs_all(): new.
1751 compose_template_apply(): new. Use dummy MsgInfo for parsing.
1752 * src/template.[ch]: store template list to the static heap.
1753 template_get_config(): new.
1754 template_set_config(): new.
1755 * src/prefs_template.c: don't store template list to the global area.
1756 * src/template_select.[ch]: removed.
1757 * src/quote_fmt_parse.y: check folderitem when quoting messages.
1758 * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
1759 (thanks to OSHIRO Naoki).
1763 * src/utils.[ch]: get_template_dir(): new.
1764 * src/template.c: use get_template_dir().
1768 * src/prefs_template.c: modified the dialog layout.
1769 Added symbol description button.
1770 * src/summaryview.c: show an arrow mark to the column of the sort
1772 summary_set_column_titles(): new.
1778 TODO.jp: updated the documents.
1782 * src/Makefile.am: add missing checkbox_{on, off}.xpm.
1783 * src/textview.c: textview_key_pressed()
1784 src/mimeview.c: mimeview_key_pressed()
1785 src/summaryview.c: summary_key_pressed(): delete messages with
1790 * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
1791 when SSL_read() returned 0.
1792 * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
1794 * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
1795 Add prototype of yylex() to suppress the warning.
1796 * merged the template function.
1797 * src/prefs_template.[ch]
1799 src/template_select.[ch]: new.
1800 Renamed prefs_templates_* -> prefs_template_*.
1801 * src/compose.c: added template menu. Added replyinfo to Compose.
1802 * src/mainwindow.c: added template setting menu.
1803 * src/quote_fmt_lex.l: output literal tab and return as is.
1804 * src/prefs_common.c: changed the pref. name of quote format to
1805 'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
1809 * src/prefs_common.[ch]: added Quote tab, and moved the quote
1810 setting from Compose tab.
1811 * merged the new quote format parser.
1812 * src/quote_fmt_lex.h
1815 src/quote_fmt_parse.y: new files for quote format parser.
1816 * configure.in: added checks for lex and yacc.
1817 * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
1819 compose_quote_fmt(): new.
1820 * src/prefs_common.[ch]: added forward format setting to the
1821 Quote tab. Updated the quote description dialog.
1822 * src/quote_fmt_parse.y: fixed bugs that tried to read file even
1823 if they couldn't get text part.
1827 * src/pixmaps/checkbox_off.xpm
1828 src/pixmaps/checkbox_on.xpm: new.
1829 * src/account.c: display `get all' status with the checkbox pixmaps.
1833 * src/send.c: code cleanup. Pass account prefs structure instead
1835 Query password for SMTP AUTH if not specified (thanks to Mio).
1839 * src/procheader.c: procheader_parse(): fixed a bug that didn't
1840 parse multiple message-id in In-Reply-To: header correctly
1841 (thanks to KAJIWARA).
1845 * src/account.c: enabled 'Get all' setting by clicking the 'G'
1846 column of account list, and added some description.
1847 * src/prefs_common.c: prefs_send_create(): added a description
1848 for outgoing codeset.
1852 * src/prefs_account.[ch]: moved inbox entry to the receive tab,
1853 and added select button and short description.
1854 * src/Makefile.am: added SYSCONFDIR to CPPFLAGS.
1856 procmime_get_mime_type_table()
1857 procmime_get_mime_type_list(): modified so that
1858 $(SYSCONFDIR)/mime.types (or /etc/mime.types if not found) and
1859 $(HOME)/.sylpheed/mime.types are read.
1863 * src/prefs_account.c: moved the address auto-setting to the compose
1865 prefs_account_create(): removed gtk_widget_show_all() for proper
1867 * src/prefs_common.c: changed "Program path" to "Command".
1871 * src/textview.c: textview_set_font(): support Russian charset
1873 * src/summaryview.c: summary_delete(): (hopefully) fixed the crash
1877 prefs_summary_column.c: minor improvements to the English.
1878 * src/main.c: get_queued_message_num(): don't output the warning
1879 when queueing folder is not found.
1887 * src/prefs_summary_column.[ch]:
1888 made prefs_summary_column_get_config() public.
1889 * src/summaryview.c: summary_ctree_create(): some code cleanup.
1890 * configure.in: moved the position of SSL checking after LDAP
1891 for linking problem.
1896 src/summaryview.c: allowed reedit in the outbox.
1897 * src/prefs_summary_column.[ch]: new. UI for setting summary
1899 * src/mainwindow.[ch]: main_window_set_summary_column(): new.
1900 It calls summary_set_column_order().
1901 * src/summaryview.[ch]:
1902 summary_ctree_create(): new. separated from summary_create().
1903 summary_set_column_order(): new. It destroys the current
1904 CTree and replaces it with the new one.
1908 * src/smtp.[ch]: smtp_from(): abort if auth failed.
1909 * changed C++-style comments into C-style in some files, and
1910 removed unnecessary commented out codes.
1911 * src/addrcache.[ch]
1915 src/syldap.[ch]: updated the addressbook code, and fixed the
1918 src/importldif.[ch]: new.
1922 * src/about.c: added some items to compiled-in features.
1923 * src/addr_compl.c: changed LOG_MESSAGE to debug_print.
1924 * src/addressbook.c: changed "V-Card" to "vCard".
1925 addressbook_edit_address_cb(): added
1926 invalidate_address_completion() to the point address is changed.
1927 * src/codeconv.c: changed C++-style comments into C-style.
1931 * src/compose.c: changed "Send" shortcut to Ctrl+Enter.
1935 * src/inc.c: fixed a bug that crashed sylpheed if Cancel button
1940 * src/procmsg.c: procmsg_get_thread_tree(): complete the unfinished
1942 * src/summaryview.c:
1943 summary_thread_init(): separated from summary_thread_build().
1944 summary_thread_build(): removed the codes for initialization.
1945 summary_set_ctree_from_list(): call summary_thread_init() instead
1946 of summary_thread_build().
1947 summary_filter(): fixed a bug that didn't moved messages despite
1948 of immediate execution setting.
1952 * src/procmsg.c: procmsg_get_thread_tree(): new. It generates the
1953 reversed thread tree from message list.
1954 * src/summaryview.c: summary_set_ctree_from_list(): prepend the
1955 node to the head instead of appending to the tail. This prevents
1956 the traverse of node list inside of the GtkCTree, and considerably
1957 speeds up the summary display (the order is O(n^2) -> O(n)).
1961 * src/prefs_common.c
1962 src/summaryview.[ch]: initial modification for reorderable columns.
1966 * src/procmsg.c: procmsg_get_mark_sum(), mark_sum_func(): fixed a
1968 * src/folderview.c: folderview_button_pressed(): code cleanup, and
1969 turn sensitivity off if main window is locked.
1970 * src/syldap.c: syldap_read_data(): removed unnecessary and
1971 unportable sched_yield().
1975 * src/folderview.c: renamed "Update folder tree" context menu to
1976 "Rescan folder tree", and made "Update folder tree" only updates
1978 folderview_update_all_node(): don't show message dialog.
1979 * src/gtkutils.c: gtkut_widget_get_uposition()
1980 src/mainwindow.c: main_window_popup(): clip the coordinate to
1985 * src/utils.c: to_human_readable(): made a bit of optimization.
1986 * src/summaryview.c: summary_delete(): fixed a focus problem.
1987 summary_find_{prev,next}_msg(): new. They find previous/next
1988 message that is not deleted.
1989 * src/prefs_filter.c: scroll CList automatically if moved row
1990 becomes not fully visible.
1994 * updated some autotool scripts.
1995 * src/codeconv.c: conv_encode_header(): fixed a bug that caused
1996 infinite loop when failed to convert encoding.
1997 * src/codeconv.[ch]: a fix for older version of libjconv
1998 (jconv_info_get_current_codeset() returned "EUCJP" instead of
2007 * src/compose.c: compose_write_to_file()
2008 src/codeconv.c: conv_codeset_strdup(): more workaround for
2009 libjconv problem on C locale.
2010 * src/editldap_basedn.c: fixed segfault when opening dialog.
2011 * src/utils.c: is_next_mbs()
2012 src/compose.c: compose_wrap_line(), compose_wrap_line_all():
2013 changed MB_CUR_MAX to MB_LEN_MAX for compliance to ANSI C.
2014 * configure.in: increased the reqired version of GPGME to 0.2.3.
2015 * src/pop.c: pop3_getauth_user_recv(): fixed a bug that closed
2016 the receive dialog when POP3 server refused normal authentication.
2020 * src/prefs_common.c: prefs_receive_create(): correction to English.
2021 * src/compose.c: compose_set_ext_editor_sensitive(): fixed a bug
2022 that didn't set the menu sensitivity correctly (thanks to
2024 * src/summaryview.c: delete messages permanently if the current
2025 folder is trash and 'delete' operation is executed.
2026 Fixed the bug that didn't select the last row correctly (thanks
2027 to Alfons Hoogervorst).
2028 * src/folder.[ch]: folder_item_remove_msgs(): new. It removes
2029 all messages given in the list.
2033 * src/summaryview.c: summary_show(): fixed a bug that didn't show
2034 message even if the 'open unread message on entering folder'
2035 option was turned on.
2039 * src/procmime.c: procmime_get_text_content(): supported HTML.
2043 * src/summaryview.[ch]: implemented new locking mechanism, and
2044 replaced every static locks with summary_lock(), summary_unlock(),
2045 and added locks to some extra functions.
2046 This fixes a bug that caused segfault when 'd' (delete) key
2051 * src/addressbook.c: addressbook_folder_load_person(): fixed a bug
2052 that caused segfault (thanks to Stefaan A Eeckels).
2056 * src/textview.[ch]: added textview_set_position().
2057 * src/messageview.[ch]: added messageview_set_position().
2069 src/editldap_basedn.c
2074 src/vcard.c: converted C++-style comments into C-style one.
2075 * src/imap.c: QUOTE_IF_REQUIRED(): new macro. Copy string into
2076 new buffer and quote with double quotes if required.
2077 imap_status(), imap_cmd_login(), imap_cmd_list(),
2078 imap_cmd_do_select(), imap_cmd_create(), imap_cmd_delete(),
2079 imap_cmd_copy(): use QUOTE_IF_REQUIRED().
2080 * compose.c: compose_write_to_file(): workaround for the problem
2081 when using libjconv and 8bit codes cannot be converted on C
2083 * codeconv.[ch]: added "ANSI_X3.4-1968" to encoding strings.
2084 conv_codeset_strdup(): don't convert if source and destination
2085 codeset are identical.
2089 * src/textview.[ch]: textview_search_string_backward(): new.
2090 Add the new member cur_pos to TextView.
2091 Connect button_press_event with gtk_signal_connect_after() to
2092 obtain the correct editable position.
2096 * src/folder.c: folder_write_list_recursive(): preserve unthreaded
2101 * src/summaryview.c: modified the layout of popup menu.
2108 src/summaryview.c: applied the patch from Alfons that allows
2109 threading setting for each folders (tnanks!).
2113 * src/message_search.[ch]: new. A Dialog for searching in current
2115 * src/gtkutils.[ch]: gtkut_text_match_string(): new. Compare the
2116 text in current position of GtkText and given wide-character
2118 * src/messageview.[ch]: messageview_search_string()
2119 src/textview.[ch]: textview_search_string(): return TRUE if
2121 * src/textview.[ch]: remember the beginning of body.
2125 * src/procmime.c: procmime_get_first_text_content(): modified so
2126 that it search entire MIME structure.
2127 * src/summary_search.c: summary_search_execute(): use
2128 strdup_mbstowcs() instead of macro. Display matched message.
2132 * src/inc.c: fix for background POP3 hangs and crashes (thanks to
2134 * src/summary_search.c: added body searching function.
2135 * src/procmime.[ch]: procmime_find_string(): changed arguments
2136 and return value. Added case sensitivity option.
2140 * src/procmime.[ch]:
2141 procmime_find_string()
2142 procmime_find_string_part(): new. It searchs the string from
2144 Renamed procmime_get_text_part() to
2145 procmime_get_first_text_content().
2146 procmime_get_text_content(): new. It returns the text contents
2147 of the specified MIME part.
2148 procmime_mimeinfo_next(): new. It returns the next node of
2153 * src/procmime.c: procmime_get_text_part(): modified so that it
2154 finds a text part in nested multipart message correctly.
2155 * src/procmime.h: added an example of MimeInfo structure.
2156 * src/mimeview.c: mimeview_show_message(): search the first text
2161 * src/mainwindow.c: ac_menu_popup_closed(): fixed the bug that
2162 caused segfault. Changed 'Preferences per account...' menu item.
2170 * src/addrindex.c: translate the "Common address" and "Personal
2171 address" from old addressbook.
2175 * src/utils.c: get_quote_level(): some optimization and bugfixes.
2176 * src/codeconv.[ch]: conv_get_current_locale(): new.
2177 * src/editaddress.c: edit_person_page_basic(): reverse the order
2178 of first and last name on some locales.
2182 * src/compose.c: applied the patch from Yasumatsu that reformats
2183 the current paragraph (thanks!). Modified so that it doesn't
2184 reformat quoted paragraphs.
2185 compose_create(): don't fill the entry automatically on reedit
2188 src/summaryview.[ch]: added the "Mark all read" option.
2189 summary_mark_all_read(): new.
2197 src/editldap_basedn.c
2199 src/editjpilot.c: removed all warnings.
2201 src/jpilot.[ch]: fixed the problem that failed to detect JPilot
2202 header files on the Debian system.
2204 src/summaryview.[ch]: enabled sorting by mark, unread, attachment,
2205 and color label. Enabled moving to next/prev flagged messages.
2209 * src/pixmaps/dir-close.xpm
2210 src/pixmaps/dir-open.xpm
2212 src/pixmaps/unread.xpm: modified the color balance.
2213 * src/utils.[ch]: execute_sync(): new.
2214 execute_command_line(): added the arg for async mode.
2215 * src/inc.c: inc_mail(): use execute_command_line().
2220 src/prefs_common.[ch]
2221 src/prefs_account.c: modified the layout. Added the option to
2222 launch the external editor automatically.
2223 * src/compose.c: launch the external editor automatically if the
2228 * src/Makefile.am: added extra xpm's.
2232 * src/addressbook.c: fixed a compilation problem when enabling
2234 addressbook_open(): fixed a missing 'else'.
2238 * src/pixmaps/dir-close.xpm
2239 src/pixmaps/dir-open.xpm
2240 src/pixmaps/trash.xpm: replaced with the new blue icons.
2241 * merged Match Grun's new addressbook code.
2242 * src/pixmaps/address.xpm
2243 src/pixmaps/book.xpm
2244 src/pixmaps/category.xpm
2245 src/pixmaps/interface.xpm
2246 src/pixmaps/jpilot.xpm
2247 src/pixmaps/ldap.xpm
2248 src/pixmaps/vcard.xpm: new icons.
2252 src/addressitem.[ch]
2255 src/editaddress.[ch]
2260 src/editldap_basedn.[ch]
2265 src/vcard.[ch]: new. Many fixes to remove the huge amount of
2267 addrbook_build_avail_email_vis(): fixed a memory leak.
2271 * NEWS: brought in the all of the changes previously put on the web.
2276 src/summaryview.c: modified the layout of menus.
2277 * src/mainwindow.c: ac_menu_popup_closed(): fixed a bug that didn't
2278 return a focus to the main window after selecting the account menu.
2286 * src/send.c: send_message_data(): fixed a bug that didn't process
2287 body part correctly.
2291 * src/inc.[ch]: changed inc_autocheck_(un)lock() to inc_(un)lock().
2292 inc_mail(), inc_all_account_mail(): return immediately if locked.
2295 src/prefs_account.c: use inc_lock() and inc_unlock() instead of
2296 inc_autocheck_timer_{remove,set}().
2297 * src/summaryview.c: summary_set_colorlabel_color(): get the average
2298 of label color and selected fg color for visibility.
2302 * src/inc.[ch]: inc_autocheck_lock(), inc_autocheck_unlock(): new.
2303 They increase/decrease the lock count.
2304 inc_autocheck_func(): if locked, delay the autochecking 1 second.
2305 inc_autocheck_timer_set_interval(): set interval by its argument.
2306 * src/summaryview.c: summary_show(): lock the autochecking while
2308 * src/main.c: app_will_exit(): remove autocheck timer.
2310 src/defs.h: removed the definitions of PACKAGE and VERSION to
2311 prevent unnecessary compilation.
2312 * configure.in: changed AC_DEFINE_UNQUOTED of PACKAGE and VERSION
2313 to AC_SUBST, and added src/version.h to AC_OUTPUT.
2314 * src/version.h.in: new.
2315 * src/intl.h: changed dgettext() to gettext().
2319 * po/ja.po: fixed a typo that crashed Sylpheed with older version
2321 * configure.in: fixed a bug that didn't show results correctly.
2322 Fixed a bug that --enable-compface and --enable-jconv disabled
2324 * src/procmsg.c: procmsg_send_queue(): don't abort when sending
2326 * src/compose.c: compose_write_headers(): add Bcc: header to the
2328 * src/send.c: send_message_data(): new. Separated from
2329 send_message_smtp(). Remove Bcc: header before sending.
2337 * src/send.c: implemented sending with local sendmail command.
2338 send_message_local(): new. It executes command with popen()
2339 and send the contents of RFC822 message to the command.
2340 * src/prefs_common.[ch]: enabled the external sending command option.
2341 * src/defs.h: #define DEFAULT_SENDMAIL_CMD /usr/sbin/sendmail -t
2342 * src/account.c: account_edit_create(): widened the protocol column.
2343 * src/summaryview.c: summary_set_colorlabel_color(): cleanup of
2348 * src/folder.c: folder_item_remove_msg(): scan the folder again
2349 if the last message is removed.
2350 * src/compose.c: compose_queue(), compose_draft_cb(): remove the
2351 old reedited message after adding the new message.
2355 * src/compose.c: compose_queue(): added AID: to the queueing header.
2356 * src/send.c: send_message_queue(): look for AID: header, and use
2357 the server specified in the account instead of SSV: header.
2359 src/compose.[ch]: queued messages can be reedited now.
2360 compose_remove_reedit_target(): new. It removes the old reedited
2362 compose_send(), compose_queue(), compose_draft_cb(): if reedit
2363 mode, remove the old message.
2364 * src/procmsg.c: procmsg_msg_exist(): fixed a bug that output
2369 * applied the XML string table patch from Alfons Hoogervorst that
2370 stores strings in a hash table and minimizes memory allocations
2372 * src/stringtable.[ch]: new.
2373 removed all G and g_ prefix from type and function names since
2374 they're not official GLib symbol names.
2375 string_table_insert_string(): fixed a bug that might refer to an
2376 invalid pointer on lookup, and also made a bit of optimization.
2380 * merged the color label feature from the claws branch (thanks to
2381 Satoshi Nagayasu and Alfons Hoogervoost).
2382 * src/colorlabel.[ch]: new. Renamed from labelcolors.[ch].
2383 Renamed labelcolors_*() to colorlabel_*().
2384 * src/summaryview.[ch]: added color label support.
2385 * src/procmsg.h: added color label flags to the permanent flags.
2386 * updated to gettext 0.10.39.
2387 * src/summaryview.[ch]: put the color label menu item to ItemFactory.
2388 * sylpheed.desktop: added for GNOME.
2389 * configure.in: added AC_MSG_CHECKING() for some options.
2390 Output the configuration results when configure is finished.
2394 * src/account.c: account_clist_set_row(): fixed a bug that failed
2395 to compile if SSL was not enabled.
2399 * merged the SSL support from the claws branch (thanks to Christoph
2401 * src/ssl.[ch]: new.
2402 * src/socket.[ch]: added ssl_read(), ssl_write(), ssl_gets(), and
2404 sock_close(): call ssl_done_socket() if SSL is active.
2405 * src/md5.[ch]: removed MD5_CTX typedef and use MD5_CONTEXT to
2406 prevent type confliction.
2407 * src/prefs_account.[ch]: added SSL tab, and modified the expression.
2408 * src/esmtp.[ch]: added esmtp_ehlo(), and esmtp_starttls().
2409 Removed SSL initialization and HELO from esmtp_starttls().
2410 esmtp_auth(): removed use_smtp_auth from its arguments.
2411 * src/send.c: send_smtp_open(): added SSL support.
2412 * src/smtp.c: smtp_helo(): call esmtp_ehlo() if esmtp is true.
2416 * src/mimeview.c: mimeview_open_with(): braced '%s' with single
2421 * src/main.c: open new account dialog if no account is set.
2422 * src/utils.[ch]: log_verbosity_set(): new. It increase/decrease
2423 the verbosity count.
2424 log_print(): put to statusbar only if log_verbosity_count > 0.
2425 log_message(): put to statusbar.
2426 * src/inc.c: inc_pop3_session_do(): set log verbosity.
2427 * src/mainwindow.c: main_window_set_menu_sensitive(): added the
2428 "Compose new message" item.
2429 main_window_show_cur_account(): removed "Current account: " string.
2430 * src/summaryview.c: summary_show(): ignore the current marks if
2431 main window is locked.
2432 * src/compose.c: compose_attach_property(): fixed a bug that caused
2437 * src/mainwindow.c: main_window_get_current_state(): new. It returns
2438 the current state for the sensitivity of UI.
2439 main_window_set_toolbar_sensitive(): use table like
2440 main_window_set_menu_sensitive().
2444 * src/mainwindow.[ch]: added progressbar and status label to the
2446 main_window_close_cb(): don't exit if locked.
2447 * src/inc.c: update the progressbar of main window, too.
2451 * src/mainwindow.[ch]: main_window_set_toolbar_sensitive(): removed
2452 the second argument, and determine the sensitivity with the
2453 state of summary view.
2457 * src/pop.c: pop3_getsize_list_recv(), pop3_retr_recv(),
2458 pop3_delete_recv(): don't try to receive messages which are not
2463 * src/mainwindow.c: main_window_lock(), main_window_unlock():
2464 removed the whole menubar locking.
2465 main_window_set_menu_sensitive(): process the sensitivity change
2466 with a table, and deal with locking.
2470 * src/summaryview.[ch]: summary_get_selection_type(): new.
2471 It returns the current selection state of summary view.
2472 summary_key_pressed(): abort on some commands if main window
2474 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2475 increase/decrease the lock count.
2479 * src/prefs_filter.c: prefs_filter_create(): added List-Id to the
2480 default header list.
2481 * src/prefs_common.[ch]: added the option for receive dialog mode
2482 to the Interface tab.
2483 * src/inc.[ch]: inc_progress_dialog_create(): don't make the dialog
2484 transient, and show dialog only if the setting is
2485 RECV_DIALOG_ALWAYS, or RECV_DIALOG_ACTIVE and a window is active.
2486 * src/mainwindow.[ch]: main_window_lock(), main_window_unlock():
2487 new. Lock / unlock the user-interface.
2488 * src/progressdialog.c: progress_dialog_create(): don't make the
2493 * src/folderview.c: folderview_update_node(): suppressed unnecessary
2495 * src/menu.[ch]: menu_button_position(): new. It calculates the
2496 position of popup menu.
2497 * src/mainwindow.c: toolbar_account_button_pressed(),
2498 ac_label_button_pressed(): put the popup menu to the correct
2499 position. Change the style of the button while opening the menu.
2500 ac_menu_popup_closed(): new function called on selection_done
2502 * src/gtkutils.c: gtkut_ctree_node_next(): fixed a crash bug when
2504 * src/summaryview.c: applied the summary fix patch from Sergey Vlasov
2506 Fixed the bug that didn't select previous message in refresh mode
2507 if threads were not expanded.
2508 summary_select_node(): new.
2509 * src/inc.c: applied the summary view update optimization patch from
2510 Sergey Vlasov (thanks!).
2511 If no new messages are received, don't perform summary refreshing.
2512 In addition to the Vlasov's patch, POP3 receive information is
2514 * src/inc.h: added a new member cur_total_num to Pop3State.
2515 * src/pop.c: pop3_retr_recv(): increase state->cur_total_num.
2523 * src/summaryview.c: summary_set_row_marks(): got the color of
2524 unread row set properly.
2525 * src/folderview.c: foldreview_update_node(): don't use
2526 gtk_style_copy(), and reuse previously allocated styles.
2527 * README, README.jp: modified.
2531 * src/pop.c: pop3_getsize_list_recv(): fixed a remotly exploitable
2532 memory corruption bug (thanks to David Looney).
2533 * src/inc.c: inc_all_account_mail(): call inc_finished() even if
2534 there are no enabled accounts, or local spool only.
2535 * src/summaryview.c: applied the summary update improvement patch
2536 from Sergey Vlasov (thanks!). It keeps the position of the
2537 message displayed. Selected and displayed message are also kept.
2538 summary_get_msgnum(): new.
2539 summary_get_current_msgnum(): removed.
2540 summary_select_by_msgnum(): don't display the message.
2541 * src/account.c: added "Get all" column.
2542 account_clist_set_row(): show default and get-all flags with the
2544 * src/utils.c: to_human_readable(): increased the number of decimals
2549 * implemented the long-awaited :) "Add sender to address book" feature.
2550 * src/address.[ch]: added the argument for remarks to
2552 address_get_folder_list(): new. It traverses the address tree and
2553 returns the folder list.
2554 address_delete_object(): modified so that it removes the node
2556 * src/addressbook.[ch]: addressbook_add_submenu(): new. It creates
2557 a address folder menu and attaches it to the menu item.
2558 addressbook_refresh(): reload the address book folder tree.
2559 * src/summaryview.c: summary_set_add_sender_menu(): new. It attaches
2560 the menu to add sender to address book.
2561 summary_button_pressed(): call summary_set_add_sender_menu()
2562 before popup the menu.
2566 * src/summaryview.c: summary_thread_build(): fixed a bug that locked
2567 up the process. Optimized the initial thread build.
2571 * src/summaryview.c: made many code cleanups.
2572 summary_show(): block/unblock the signal handlers instead of
2573 disconnect/connect them.
2574 summary_set_row_marks(): made the font of collapsed node bold if
2575 it has cnildren marked as unread.
2576 summary_thread_build(): block tree_expand signals while processing.
2577 Use loop instead of the recursive function. Mark collapsed nodes
2579 summary_unthread(): block tree_collapse signals while processing.
2580 Use loop instead of the recursive function.
2581 summary_thread_func(), summary_unthread_func(): removed.
2582 summary_tree_expanded(), summary_tree_collapsed(): new callback
2584 * src/inc.[ch]: inc_pop3_session_do(): don't show alert panel when
2585 failed to connect. Show more detailed status on the dialog.
2589 * src/folderview.c: folderview_update_all_node(): new. It updates
2591 * src/inc.c: update all local folders after incorporation if
2592 scan_all_after_inc option is set.
2593 * src/prefs_common.[ch]: added scan_all_after_inc option.
2594 * src/folder.h: FOLDER_IS_LOCAL(): new macro.
2603 src/prefs_common.h: made bold and small font configurable.
2604 src/summaryview.c: display unread messages with bold font.
2605 * src/prefs_common.c
2607 src/summaryview.c: added an option to enable/disable the
2608 emphasis of unread messages.
2612 * src/pixmaps/mark.xpm: modified.
2613 * src/gtkutils.[ch]: gtkut_ctree_expand_parent_all(): new.
2614 * src/summaryview.c: summary_set_ctree_from_list(): don't expand
2615 the root messages of threads for performance improvement.
2617 summary_select_next_unread()
2618 summary_step(): expand threads when opening messages.
2619 summary_thread_build(): expand threads if the option is turned on.
2620 * src/prefs_common.[ch]: added "Expand threads" option.
2624 * src/prefs_common.c: removed "Emulate the behavior of mouse
2625 operation of Emacs-based mailer".
2626 * src/prefs_common.c
2627 src/prefs_account.c: changed the value of VSPACING_NARROW to 3.
2628 * src/pixmaps/new.xpm
2629 src/pixmaps/unread.xpm: reverted.
2634 address_folder_new()
2636 address_item_new(): changed the return value to AddressObject.
2637 address_build_tree(): don't put assertion for file.
2638 * src/pixmaps/new.xpm
2639 src/pixmaps/unread.xpm: modified a bit.
2643 * src/addressbook.c: fixed some bugs.
2647 * separated the logic part of addressbook into another module
2648 (still in progress).
2649 * src/address.[ch]: new. It contains the logic part of addressbook.
2650 * src/addressbook.[ch]: removed the logic part.
2654 * src/textview.c: textview_show_header(): fixed a bug that a garbage
2655 character was shown after header names.
2659 * src/inc.c: inc_start(): don't abort with non-fatal error.
2667 * src/mimeview.c: mimeview_view_file(): added -x option to the
2668 metamail to prevent the suspention of the main process.
2669 mimeview_button_pressed(): deactivate `Open' menu item if
2670 content-type is application/octet-stream.
2674 * src/imap.c: imap_parse_atom(): parse escaped characters properly.
2675 get_quoted(): new. It handles the escape character '\'.
2676 * src/folder.c: folder_read_list(): don't output warning if
2677 folderlist.xml doesn't exist.
2678 * src/main.c: main(): write folder list after setup.
2679 * src/textview.c: textview_create()
2680 src/compose.c: compose_create(): set default tab width to 8.
2684 * src/prefs_common.c: date_format_select_row(): fixed a bug that
2685 caused segfault when selecting the list with key.
2689 * src/mainwindow.c: main_window_popup(): deiconize the window
2690 when popup (thanks to Henrik Carlqvist).
2691 * src/procmime.c: procmime_scan_mime_type(): new.
2692 procmime_scan_content_type(): use procmime_scan_mime_type().
2693 procmime_scan_mime_header(): scan the extension of attached files
2694 and add the correct MIME type if the Content-Type is
2695 "application/octet-stream" (thanks to Don Quijote).
2696 * src/compose.c: compose_toolbar_create(): added a new "Send later"
2697 icon (thanks to Leandro Pereira).
2701 * src/prefs_common.c: date_format_create(): modified the layout of
2706 * src/account.c: account_find_from_address(): fixed a minor bug.
2707 * src/prefs_common.c: incorporated the user-interface for setting
2708 date format from the claws branch, and made some modification to
2713 * src/account.[ch]: account_edit_create(): modified the text of
2715 account_find_from_address(): new.
2717 procmime_scan_content_type(), procmime_scan_content_disposition():
2718 fixed ESC code detection.
2719 * src/compose.c: compose_reply(): automatically select account
2720 according to the message header.
2721 * src/prefs_common.[ch]: added member "reply_account_autosel".
2725 * src/progressdialog.c: made the CList scrollable.
2726 * src/inc.c: inc_start(): don't abort with non-fatal error.
2730 * added English Sylpheed User's Manual by Paul Kater
2731 (paul@nlpagan.net) (thanks!).
2734 src/mainwindow.c: added support for English manual.
2735 * manual/en/sylpheed*.html: added English documentation.
2740 * src/nntp.c: nntp_ok(): fixed the bug that didn't handle a response
2741 that didn't have any trailing messages.
2742 * src/smtp.c: smtp_ok(): ditto.
2743 * src/compose.c: compose_account_option_menu_create(): modified
2744 the style of the account option menu.
2748 * src/prefs_customheader.c: prefs_custom_header_clist_set_row():
2749 remove return code from strings automatically.
2750 prefs_custom_header_create(): added "X-Face" to the default
2752 * src/news.c: news_fetch_msg(), news_get_group_list()
2753 src/imap.c: imap_fetch_msg(): create the cache directory before
2756 procmime_scan_content_type()
2757 procmime_scan_content_disposition(): convert JIS into EUC-JP
2759 * src/codeconv.c: conv_unmime_header(): cleaned up a bit.
2760 * src/compose.c: don't append attachment headers if the attach
2761 pane is visible but the list is empty.
2762 * src/recv.c: recv_bytes_write(): use g_malloc() instead of alloca().
2770 * src/compose.c: compose_quote_parse_fmt()
2771 src/prefs_common.c: prefs_quote_description_create(): added the
2772 symbol `%c' that allows to include Cc in reply format (thanks
2775 src/procmime.c: procmime_decode_content(): applied the patch
2776 from Sergey Vlasov that allows to decode base64 data with
2777 unusual line length (not a multiple of 4) (thanks!).
2781 * src/procmsg.[ch]: separated the permanent flags and temporary
2782 flags into two variables, and made MsgFlags a structure that
2784 MSG_SET_PERM_FLAGS()
2786 MSG_UNSET_PERM_FLAGS()
2787 MSG_UNSET_TMP_FLAGS(): new macros.
2795 src/summaryview.c: modified for the new MsgFlags.
2796 * src/utils.[ch]: hash_free_value_mem(): new. It frees the values
2801 * src/inc.c: inc_pop3_recv_func(), inc_progress_update():
2802 display current size with human-readable format.
2803 * src/grouplistdialog.c: grouplist_recv_func(): ditto.
2810 conv_unmime_header(), conv_unmime_header_overwrite(): workaround
2811 for raw-JIS code in header fields.
2813 folder_get_default_folder()
2814 folder_get_default_inbox()
2815 folder_get_default_outbox()
2816 folder_get_default_draft()
2817 folder_get_default_queue()
2818 folder_get_default_trash(): fixed a bug that caused segfault
2819 if folder_list is NULL.
2829 * src/grouplistdialog.c: grouplist_dialog_set_list(): update UI
2830 while retrieving newsgroup list.
2831 grouplist_dialog_create(): added entry widget and status label.
2832 grouplist_recv_func(): new.
2833 refresh_clicked(): added exclusive lock variable.
2834 clist_selected(): set text entry when the CList is selected.
2835 renamed from group_clist_select().
2836 entry_activated(): new.
2837 grouplist_clear(): renamed from grouplist_free(). Also clears
2838 list and entry widget.
2839 * src/news.c: news_get_group_list(): sped up the list appending
2840 (g_slist_append() becomes very slow if list size is large).
2841 * src/defs.h: added UI_REFRESH_INTERVAL definition.
2842 Changed the definition of NEWSGROUP_LIST.
2843 * src/recv.c: recv_write()
2844 src/send.c: send_message_smtp(): changed the UI refresh interval
2845 to UI_REFRESH_INTERVAL (50msec).
2846 * src/account.c: account_add(): fixed a bug that didn't update
2847 folder tree when a news account was added.
2848 * src/grouplistdialog.c: made exclusive lock variable global, and
2849 lock at grouplist_dialog_set_list().
2850 * src/textview.c: fixed a bug that disabled clickable URI if
2851 message color was disabled.
2855 * src/grouplistdialog.c: ok_clicked(), cancel_clicked(): don't
2856 quit main loop if gtk_main_level() is 1.
2857 grouplist_dialog_set_list(): freeze CList while appending the list.
2858 grouplist_dialog(): show dialog before updating the list.
2862 * src/folder.c: folder_write_list_recursive(): add the attribute
2863 `collapsed' if a node have some children.
2864 * src/grouplistdialog.[ch]: new. Newsgroups can be selected from
2867 news_get_group_list(): new. It returns newsgroup list.
2868 news_remove_group_list(): new. It removes newsgroup list cache.
2869 * src/folderview.c: folderview_new_news_group_cb(): call
2870 grouplist_dialog() instead of input_dialog().
2874 * autogen.sh: modified.
2876 src/folderview.c: made expand/collapse state of folders persistent
2885 * src/imap.c: imap_remove_folder(): select INBOX with EXAMINE before
2887 imap_cmd_do_select(): new. It toggles between SELECT and EXAMINE
2888 according to the argument.
2889 imap_cmd_select(): use imap_cmd_do_select().
2890 imap_cmd_examine(): new.
2891 * src/folderview.c: folderview_rm_imap_folder_cb(): select current
2892 folder again when removing failed.
2898 * manual/ja/sylpheed.sgml
2899 manual/ja/*.html: updated the Japanese manual (thanks to Imai).
2900 * src/summaryview.c: summary_set_row_marks(): fixed a bug that
2901 didn't set foreground correctly.
2903 src/summaryview.h: removed the member color_normal from FolderView
2905 * src/mainwindow.c: main_window_create(): removed color_normal.
2909 * src/prefs_account.[ch]: the port numbers of IMAP4 and NNTP
2911 * src/imap.c: imap_session_get()
2912 src/news.c: news_session_new_for_folder(), news_session_get():
2913 use user-defined port number if specified.
2917 * src/imap.c: imap_scan_tree_recursive(): get mailbox status when
2919 imap_scan_folder(): implemented. It updates the numbers of new,
2920 unread and total messages.
2921 imap_status(): new. It parses the response of STATUS command.
2922 imap_status_uidnext(): removed.
2923 imap_cmd_status(): removed.
2924 * src/textview.c: textview_show_part(): fixed potential memory leaks.
2928 * src/alertpanel.c: alertpanel_create(): fixed truncated message.
2929 * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
2930 of content-type (thanks to René Rebe for the patch).
2931 * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
2933 * src/prefs_common.c: prefs_send_create(): made some more character
2934 sets specifiable when not using libjconv.
2935 * configure.in: disabled --enable-threads option temporarily.
2937 INSTALL.jp: deleted the description about --enable-threads option.
2941 * updated gettext to 0.10.38.
2947 * src/folderview.[ch]: folderview_set_all(): new.
2948 * src/account.c: account_add(): call folderview_set_all() after
2949 creating IMAP4 tree.
2950 account_edit_create(): account preferences dialog can be opened
2951 with double clicking of the list.
2952 account_selected(): new.
2953 account_clist_set(): made the CList focus set correctly.
2957 * src/imap.c: imap_scan_tree(): call imap_create_trash() if trash
2959 imap_scan_tree_recursive(): search the sub folders of INBOX.
2960 recognize Trash folder.
2961 imap_create_tree(): separated the part of creating trash.
2962 imap_create_trash(): new.
2963 * src/folder.c: folder_build_tree(), folder_write_list_recursive():
2964 preserve no_sub and no_select.
2965 * src/summaryview.c: summary_show(): don't proceed if item->no_select
2970 * src/imap.c: imap_scan_tree(): fixed a bug that didn't set the
2971 root folder correctly.
2975 * src/folderview.[ch]:
2976 folderview_update_tree(): new. It updates one folder tree.
2977 folderview_update_tree_cb(): new.
2978 Added "Update folder tree" to the popup menu, and modified some
2983 * src/imap.c: implemented the autoscan of IMAP4 folder list.
2984 imap_scan_tree(): new. It scans the whole IMAP4 folder.
2985 imap_scan_tree_recursive(): new. It traverses the IMAP4 folder tree.
2986 imap_parse_list(): new. It parses the LIST response.
2987 imap_get_real_path(): new. It converts local path into IMAP4 path.
2988 * src/folder.h: added no_sub and no_select to FolderItem.
2989 * src/folder.c: folder_tree_destroy(): reset some variables.
2990 * src/folderview.c: folderview_scan_tree_func(): supported IMAP4.
2994 * src/imap.c: imap_parse_envelope(): fixed a bug that didn't
2995 parse the FETCH response that continues to the next line.
2996 imap_parse_fetch_element(): removed.
2997 imap_parse_atom(), imap_parse_one_address(), imap_parse_address(),
2998 imap_parse_envelope(), imap_get_uncached_messages(): use GString
2999 and sock_getline() to parse the FETCH response.
3000 imap_remove_all_msg(): fixed a bug that didn't delete messages
3002 imap_parse_address(): fixed a bug that didn't concaternate
3003 addresses correctly, using GString.
3004 * src/socket.[ch]: sock_getline(), fd_getline(): new. They read
3005 the whole line and return the newly allocated string.
3006 * src/prefs_account.[ch]: added `IMAP server directory' entry.
3012 * src/imap.c: imap_create_tree(): pass the path that is separated
3013 by the local filesystem separator to imap_create_folder().
3014 imap_create_folder(): examine the existence of folders using
3015 LIST command instead of STATUS.
3016 imap_cmd_list(): new.
3017 imap_query_password(): new.
3018 imap_session_new(): query password if it is not set.
3022 * src/imap.c: imap_parse_envelope(): FETCH results can be parsed
3023 with arbitrary order.
3024 imap_parse_fetch_element(): new. it parses one pair of name and
3025 value of FETCH results.
3026 imap_parse_flags(): modified for more flexibility.
3027 * src/utils.[ch]: set_log_file(): new. it opens a new file for
3029 close_log_file(): new. it closes the opened log file.
3030 log_print(), log_message(), log_warning(), log_error(): also
3035 * src/imap.c: imap_cmd_status(): check the pointer to "value"
3036 before the assignment (thanks to NISHIJIMA).
3040 * src/folderview.c: folderview_drag_motion_cb(): don't allow DnD
3041 across MH and IMAP4 folder (for now) (thanks to Hiramatu).
3042 * src/foldersel.[ch]: don't show folders which can't be targets
3054 imap_cmd_store(): use UID instead of sequential number.
3055 Renamed imap_set_article_flags() to imap_set_message_flags().
3056 * src/summaryview.c: summary_execute(): don't update summary
3057 even if current folder is IMAP4.
3058 * src/utils.[ch]: remove_numbered_files(): changed the type of
3059 arguments from gint to guint.
3063 * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
3064 imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
3065 enclose with double quotation if string doesn't have space
3066 (workaround for old Cyrus IMAP4 server).
3067 imap_create_folder(): fixed a bug of separator substitution.
3068 renamed imap_session_connect_if_not() to imap_session_get().
3069 imap_get_msg_list(): delete all cached messages if use_cache
3071 imap_delete_cached_messages(): remove cached files in between
3072 the specified range by reading directory entry.
3073 imap_parse_one_address(): set fromname same as the from address
3075 * src/utils.[ch]: remove_numbered_files(): new. The range is
3077 * src/summaryview.c: summary_execute(): update summary if current
3079 KEY_PRESS_EVENT_STOP(): new macro.
3080 summary_key_pressed(): stop signal emission when calling
3082 summary_select_by_msgnum(): show message only if
3083 msg_is_toggled_on is TRUE. Move current page to the selected
3085 * src/news.c; news_delete_old_articles(): remove cached files in
3086 between the specified range by reading directory entry.
3088 folderview_selected(), folderview_button_released(): fixed a bug
3089 that didn't select folder correctly.
3095 src/prefs_common.c: improvements to the English (thanks to Paul
3097 * src/mainwindow.c: compose_cb()
3098 src/summaryview.c: summary_key_pressed()
3099 src/compose.c: compose_new_with_recipient(): newsgroups entry
3100 is automatically filled when composing a new article.
3104 * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
3105 free list correctly.
3111 * src/imap.c: imap_find_namespace(): replace namespace path
3112 separator with slash before comparison.
3113 imap_remove_folder(): use namespace.
3114 imap_create_tree(): use namespece when creating Trash.
3115 imap_get_msg_list(): fixed a bug that returned old list and caused
3116 memory leak if exists == 0.
3117 imap_select(): new. It's a wrapper for imap_cmd_select().
3118 * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
3123 folderview_new_folder_cb()
3124 folderview_new_imap_folder_cb(): show error dialog when creation
3125 or deletion of folder failed.
3126 Made it allow users to create a folder which contains subfolders.
3127 folderview_button_pressed(): disabled delete menu on the special
3129 * AUTHORS: incorporated from claws branch. It now contains all
3131 * src/send.c: enabled cancellation.
3132 EXIT_IF_CANCELLED(): new macro.
3133 Added cancelled flag to SendProgressDialog.
3134 * src/utils.[ch]: strtailchomp(): new. It removes the trailing
3135 specified character.
3136 * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
3140 * src/imap.c: imap_create_tree(): new. It creates required
3141 folders such as INBOX and Trash.
3142 imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
3144 imap_remove_all_msg(): return immediately if exists == 0.
3145 * src/account.c: account_add(), account_set_missing_folder():
3146 made them use folder->create_tree().
3150 * src/imap.c: more namespace implementation.
3151 imap_find_namespace(), imap_path_separator_subst(): new.
3155 * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
3159 * src/summaryview.c: summary_show(): fixed a glitch in folder view.
3163 * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
3164 which appends file into IMAP4 folder.
3166 imap_create_folder(): check the existence of a folder before
3168 renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
3169 * src/account.c: account_add(), account_set_missing_folder():
3170 create INBOX automatically when creating IMAP4 account.
3174 * src/utils.[ch]: added itos_buf() that takes the buffer for its
3176 * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
3177 * src/folder.c: added copy_msg and copy_msgs_with_dest methods
3182 * src/utils.[ch]: move_file(): new.
3183 * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
3184 use move_file(), and fixed a bug that didn't close file when
3189 * src/imap.c: renamed imap_delete_messages() and
3190 imap_delete_all_messages() to imap_delete_cached_messages() and
3191 imap_delete_all_cached_messages(). Some code cleanups.
3192 * src/utils.[ch]: added a function remove_all_numbered_files().
3193 * src/mh.c: mh_remove_all_msg()
3194 src/imap.c: imap_delete_all_cached_messages():
3195 use remove_all_numbered_files().
3198 src/compose.[ch]: added `Reply to sender'.
3200 compose_reply_set_entry(): added an argument `ignore_replyto'.
3204 * src/folderview.c: folderview_selected()
3205 src/summaryview.c: summary_show(): fixed a bug that updated wrong
3206 folder when remaining marks were processed.
3210 * src/headerwindow.c: headerwindow_show_cb(): always try to show
3211 msginfo, and use the selected message, not the displayed one.
3212 * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
3216 * src/folderview.c: folderview_selected()
3217 src/mimeview.c: mimeview_selected(): ungrab the mouse event.
3218 * src/summaryview.c: summary_show(): process the left marks if any.
3222 * src/passphrase.c: enclosed with #if USE_GPGME.
3223 * src/prefs_account.c: added NNTP AUTH check button.
3224 * src/alertpanel.[ch]: alertpanel_create(): added new argument
3225 `can_disable', all existing callers changed to pass FALSE;
3226 created a check button to disable the message.
3227 alertpanel_message_with_disable(): new.
3228 alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
3229 alertpanel_button_toggled(): new.
3230 alertpanel_button_clicked(), alertpanel_close(): set value using
3232 * src/prefs_common.[ch]: added option to toggle GnuPG signature
3233 check popup window, and GnuPG warning.
3234 * src/rfc2015.c: check_signature(): show signature check dialog
3235 only if it is enabled.
3236 * src/main.c: modified GnuPG checking.
3238 src/prefs_common.c: fixed some compilation bugs when enabled
3243 * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
3244 encodings with libjconv.
3245 conv_encode_header(): fixed an endless loop bug when encountering
3246 an invalid wide character (thanks to Alte).
3247 * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
3249 * src/imap.c: imap_create_folder(): don't create folder if the
3251 * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
3252 execute button when immediate execution is enabled.
3257 README.jp: added the "How to run" section.
3261 * merged NNTP AUTH from the claws branch.
3262 * src/news.[ch]: supported NNTP AUTH.
3263 * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
3265 INSTALL.jp: modified the confirmation list and the warning about
3270 * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
3271 gtkut_ctree_find_collapsed_parent().
3272 * src/folderview.c: folderview_select_node(): automatically expand
3273 the parent folders when selected.
3274 * configure.in: made the version number to 0.4.99 (0.5pre)
3275 * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
3276 so that X is not necessary for --help and --version.
3277 parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
3278 * src/folderview.c: folderview_update_node(): a fix for collapsed
3283 * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
3284 It caused garbages in --compose option.
3285 * src/socket.[ch]: made fd_gets() public.
3289 * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
3290 * src/folderview.c: folderview_find_next_unread(): new.
3291 folderview_select_next_unread(): modified so that it can find
3296 * src/compose.c: compose_write_headers(): excluded also From, To,
3297 Sender because they could be used for SPAM.
3298 * src/folderview.c: add '+' mark to the collapsed folder that have
3299 some unread folders.
3300 folderview_search_new_recursive(),
3301 folderview_have_new_children(),
3302 folderview_search_unread_recursive(),
3303 folderview_have_unread_children(),
3304 folderview_find_collapsed_parent(): new.
3305 folderview_update_node(): display the number of queued messages.
3310 src/mh.[ch]: modified *_add_msg() to use link(). Added the
3311 argument to switch whether to remove the source file or not.
3314 src/mbox.c: modified the argument of folder_item_add_msg() and
3315 removed some unlink()'s.
3319 * src/prefs_customheader.[ch]: renamed prefs_headers_* to
3320 prefs_custom_header_*. Removed `(New)' row and `Substitute'
3321 button. Supported empty value.
3322 prefs_custom_header_row_moved(): new. Connected "row_move" signal
3323 to the function, and made it set header list.
3324 * src/customheader.c: custom_header_get_str()
3325 src/compose.c: compose_write_headers(): supported empty value.
3326 * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
3327 Connected "row_move" signal to the function, and made it set
3329 * src/compose.c: compose_write_headers(): modified the order of
3330 headers, and made it encode the custom headers.
3331 * src/prefs_customheader.c: prefs_custom_header_delete_cb()
3332 src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
3333 alert panel by ESC as "No".
3337 * merged the custom header stuff from claws branch:
3338 * src/customheader.[ch]
3339 src/prefs_customheader.[ch]: new.
3340 * src/customheader.c: custom_header_read_str(): use strtol() instead
3341 of atoi() and check errors.
3342 custom_header_find(): new function.
3343 * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
3344 compose_write_headers(): made it replace headers with user-defined
3345 headers except for some automatically generated headers.
3349 * src/inc.c: connection_check_cb(): fixed a bug that caused
3350 segmentation fault if connection was not established.
3351 * src/compose.c: compose_create(): even if set_autobcc or set
3352 autoreplyto is checked and the entries are empty, show them.
3356 * src/textview.c: textview_show_mime_part(): modified the messages.
3357 TEXT_INSERT(): new macro.
3359 * src/prefs_display_header.c: prefs_display_header_create():
3360 modified the text of checkbutton.
3364 * src/mimeview.c: added "Open with..." to the context menu.
3365 * src/summaryview.c: summary_print()
3366 src/inputdialog.c: input_dialog(): fixed memory leaks.
3367 * src/textview.c: textview_show_mime_part(): updated the description.
3368 * src/send.c: implemented sending progress dialog.
3369 (TODO: automaton should be used.)
3370 send_progress_dialog_create(), send_progress_dialog_destroy(),
3372 send_message_smtp(): made it update the dialog for each stage.
3373 * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
3375 * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
3376 go to first unread message even if folder is same as previous.
3377 * src/prefs_common.c: made color selection dialog transient, and
3378 made escape key close the dialogs.
3384 * src/select-keys.c: delete_event_cb(): removed `;' from its end.
3385 * src/recv.c: recv_write(): changed the interval to 10msec.
3386 * src/prefs_display_header.c: modified the layout of the dialog,
3387 and made the hidden headers list insensitive when `Show other
3388 headers' is not checked.
3389 * src/textview.c: changed strcasecmp() and strncasecmp() to
3390 the corresponding glib functions.
3391 * src/inc.c: get_spool(): make a temporary file in the home
3396 * src/prefs_common.c
3408 src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
3409 when closed them with delete_event (thanks to DINH).
3410 Added *_deleted() and *delete_event() which handle delete_event
3415 * src/prefs_display_header.c: merged some changes from claws branch:
3416 prefs_display_header_create(): allow reordering of headers by
3418 prefs_display_header_find_header(): new function.
3419 prefs_display_header_clist_set_row(): don't allow duplicates.
3420 * src/prefs_account.c: prefs_account_receive_create(): changed
3421 the label of the check button.
3425 * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
3427 * src/inc.h: removed cur_msg_bytes from Pop3State.
3428 * src/inc.c: pop3_recv_func()
3429 src/recv.[ch]: made the second arguments of RecvUIFunc current
3431 recv_write(): made it call UI func if elapsed time is greater
3433 * src/recv.c: recv_write(): changed the interval to 300 usec.
3434 * src/textview.c: textview_show_header(): if header is Subject,
3436 * src/utils.[ch]: unfold_line(): new.
3437 * src/procheader.[ch]: procheader_get_header_array(): new.
3438 * src/prefs_display_header.c: updated defaults.
3442 * some merge from the sylpheed-claws branch.
3443 It allows user to specify displayed headers in message view.
3444 (symbol names were also changed.)
3445 * src/prefs_display_header.[ch]
3446 src/displayheader.[ch]: new.
3447 * src/prefs_display_header.c:
3448 removed prefs_display_headers_other_headers_toggled().
3449 removed "(New)" row from the list.
3450 * src/defs.h: added DISPLAY_HEADER_RC.
3451 * src/prefs_common.c: prefs_message_create(): added a button for
3452 opening the display header setting dialog.
3453 * src/prefs_common.h: added show_other_header and disphdr_list
3455 * src/procheader.[ch]: procheader_get_header_list_from_file(),
3456 procheader_get_header_array_asis(): new.
3457 procheader_get_header_list(): modified so that it takes FILE
3458 pointer for its argument.
3459 procheader_header_array_destroy(), procheader_header_free(): new.
3460 * src/main.c: main(): made it call prefs_display_header_*_config().
3461 * src/textview.c: textview_scan_header(): modified so that it
3462 sorts headers according to user setting.
3463 src/textview_show_header(): made it call
3464 textview_make_clickable_parts().
3465 textview_make_clickable_parts(): added GdkFont to its arguments,
3466 and removed GtkText from them.
3470 * implemented auto-checking of new mail based on the patch from
3471 Pierric Descamps (thanks!).
3472 * src/inc.c: added inc_autocheck_timer_init(),
3473 inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
3474 inc_autocheck_func() for auto-checking of new mail.
3475 * src/main.c: main(): call inc_autocheck_timer_init().
3476 * src/prefs_common.c: prefs_receive_create(): activated the
3477 auto-checking UI. Added prefs_common_cancel(), and connected
3478 some signals to that.
3479 * src/prefs_common.c
3482 src/account.c: Disabled auto-checking while opening the dialog.
3483 * src/headerview.c: headerview_show_xface(): fixed a bug that
3484 showed a warning when header pane was hidden.
3490 src/recv.c: removed non-blocking socket mode support since it
3493 src/inc.c: modified the messages of incorporation dialog.
3497 * src/utils.h: made u32 the typedef of guint32.
3498 added BIG_ENDIAN_HOST macro that is used by md5.c.
3499 * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
3500 that didn't calculate MD5 correctly on big endian machines.
3506 * src/folder.c: folder_init(): added the method imap_remove_folder.
3507 * src/folderview.c: folderview_rm_imap_folder_cb(): made it
3508 actually remove folder from IMAP4 server.
3509 * src/imap.[ch]: imap_create_folder(): made it actually create
3510 folder on IMAP4 server.
3511 imap_remove_folder(): added.
3512 imap_create(), imap_delete(): added.
3513 * src/summaryview.c: summary_execute_delete(): don't check trash
3514 if folder type is not F_MH.
3515 * thanks to Ishihara for the above changes.
3517 ac/check-type.m4: better wint_t typedef detection (renamed
3518 sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
3522 * src/recv.c: recv_bytes_write(): fixed another bug that caused
3523 infinite loop and buffer overrun.
3527 * src/socket.[ch]: renamed sock_read() and fd_read() to
3528 sock_gets() and fd_gets() for preventing confusion.
3529 Added sock_read() and fd_read() which is the wrapper of read().
3530 * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
3531 loop. Use sock_read() instead of fd_read().
3538 src/smtp.c: use sock_gets() instead of sock_read().
3539 * src/imap.c: imap_session_new(): fixed the error detection
3544 * src/inc.c: made it displays current read bytes to the dialog.
3545 * src/pop.c: recv_write(): call UI function before editing
3550 * src/progressdialog.c: progress_dialog_create(): modified the
3551 size of dialog and made it stretchable.
3553 src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
3554 process an error response correctly (thanks to Ohmasa).
3555 * src/pop.[ch]: added pop3_getsize_list_send(),
3556 pop3_getsize_list_recv().
3557 * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
3558 call the callback function for each sock_read().
3559 * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
3560 cur_msg_bytes, cur_total_bytes, and sizes.
3561 * src/inc.c: added inc_pop3_recv_func() that updates the progress
3562 bar for each sock_read().
3566 * src/mh.c: mh_is_maildir_one(): modified so that it uses
3569 2001-04-25 Werner Koch <wk@gnupg.org>
3571 * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
3572 (mh_scan_tree_recursive): Do not include Maildir style directories
3575 Changed the use of integers to describe sockets by an more abstract
3578 * src/automaton.h (struct _Automaton): Add help_sock.
3579 * src/automaton.c (automaton_input_cb): Changed source to be
3580 SockInfo and use wrapper for gdk_input_add.
3582 * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
3583 for invalid socket because this is now done in sock_close. Set
3585 (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
3586 (send_smtp_open): Use only SockInfo.
3588 * src/news.c (news_session_new): Use SockInfo here.
3589 (news_session_destroy): Ditto and set sock to NULL.
3591 * src/nntp.c: Use SockInfo instead of integers
3592 * src/smtp.c: Ditto.
3594 * src/recv.c: Ditto.
3596 * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
3597 gdk_input_add into a wrapper.
3599 * src/esmtp.c: Changed socket descriptors to use SockInfo.
3600 * src/esmtp.h: Ditto, included socket.h.
3601 * src/session.h (struct _Session): Likewise.
3602 * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
3603 Removed access to internal data of SockInfo. Changed all callers
3604 and functions to take SockInfo.
3605 (imap_session_new): Use sock_close here.
3606 (imap_session_destroy): Ditto.
3608 * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
3611 * src/main.c (app_will_exit): Close lock socket using fd_close.
3612 (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
3613 (lock_socket_input_cb): Ditto.
3615 * src/socket.h, src/socket.c: Prepared SockInfo structure to use
3616 glib channels. Changed all sock_xxx to use SockInfo instead of an
3618 (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
3619 (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
3621 (fd_read, fd_write, fd_close): New.
3622 (sock_sockinfo_free): Removed.
3623 * src/socket.c (sock_connect_nb): Use close instead sock_close here.
3624 (sock_connect): Ditto.
3628 * config.h.in: removed.
3629 * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
3630 * .cvsignore: added.
3632 src/progressdialog.[ch]
3633 src/pixmaps/complete.xpm
3634 src/pixmaps/continue.xpm
3635 src/pixmaps/error.xpm: applied the patch from Leandro Pereira
3636 that displays the state of message incorporation (thanks!).
3637 * src/inc.c: made the progress dialog change the text of status.
3641 * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
3643 * COPYING: removed RSA copyright notice.
3644 * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
3645 * configure.in: added the check of sys/utsname.h.
3647 2001-04-24 Werner Koch <wk@gnupg.org>
3649 Merged most of the changes from the W32 branch in.
3651 * configure.in: Require gpgme >= 0.2.1
3653 * acconfig.h (HAVE_U32_TYPEDEF): New.
3654 * ac/gnupg-check-typedef.m4: New.
3655 * configure.in: Check for u32 type and the size of some types.
3656 * src/utils.h: Define the u32 type and related constants.
3658 * src/about.c (about_create): Removed the note about MD5. We are
3659 not any longer using the RSA Inc. implementation.
3660 * src/md5ify.c, src/md5ify.h, src/md5global.h: Removed.
3661 * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
3662 renamed the function to standard lowercase convention. Changed all
3664 (md5_hex_digest): New.
3665 (md5_hmac): Add hmac function by Martin Schaaf with some
3667 (md5_hex_hmac): New.
3668 * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
3669 (hmac_md5): Removed.
3670 * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
3671 the new md5_hex_digest function.
3673 * src/about.c: Include utsname.h only if available
3675 * src/utils.c, src/utils.h (get_home_dir): New to better cope with
3676 special Windoze requirements. Changed all calls to
3677 g_get_home_dir() to this function.
3679 * simple-gettext.c: New.
3681 * src/main.c (main): Issue a warning if GnuPG is not properly
3684 * src/sigstatus.c, src/sigstatus.h: New.
3685 * src/rfc2015.c (check_signature): Use the sigstatus window and
3686 get the status texts from a utility function.
3688 * src/select-keys.c: Removed the global select_keys var and
3689 pass an allocated one along all functions.
3690 (set_row): Display only keys capable of encryption.
3691 (update_progress): Replaced the progressbar by
3692 a windmill and a text showing for which key we are collecting
3693 info. Removed progressbar everywhere else and updated callers.
3695 * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
3696 display the grab button.
3700 * src/prefs_common.[ch]
3701 src/procheader.c: applied the patch from Darko Koruga that
3702 allows user to define their own format for displaying date in
3703 summary view using strftime() (thanks!).
3704 * src/prefs_common.c: prefs_quote_colors_dialog()
3705 src/mainwindow.c: main_window_reflect_prefs_all(): made it
3706 update message colors if the colors setting is changed.
3707 * src/main.[ch]: made it remember the startup directory.
3708 * src/export.c: export_mbox(): made it initially chdir to the
3710 * src/filesel.c: filesel_select_file(): made it open the startup
3715 * added option to warn about queued messages on exit [sergey]:
3717 * src/compose.c: compose_queue(): call folder_item_scan()
3718 and folderview_update_item() after queueing.
3719 * src/folderview.c: folderview_update_node(): draw the queue
3720 folder in bold font if there are queued messages.
3721 * src/mainwindow.c: queued_messages(): new function.
3722 app_exit_cb(): display warning if there are queued messages
3723 if warn_queued_on_exit is set.
3724 * prefs_common.[ch]: add warn_queued_on_exit option.
3726 * src/mainwindow.c: moved queued_messages() to main.c, and renamed
3727 it to get_queued_message_num().
3728 * src/main.c: app_will_exit(): moved warning dialog code from
3729 app_exit_cb(), and added manage_window_focus_in().
3731 * enhanced GnuPG key selection support [sergey]:
3733 * src/select-keys.c: updated to newer version from Win32
3734 branch with support for selecting arbitrary keys.
3735 * src/prefs_account.c: added the Privacy tab to the account
3737 prefs_account_privacy_create(),
3738 prefs_account_sign_key_set_data_from_radiobtn(),
3739 prefs_account_sign_key_set_radiobtn(): new functions.
3740 * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
3741 * src/rfc2015.c: set_signers(): new function.
3742 pgp_sign(): add the account parameter, call set_signers().
3743 rfc2015_sign(): add the account parameter, pass it to pgp_sign().
3744 * src/rfc2015.h: rfc2015_sign(): updated prototype.
3745 * src/compose.c: pass the current account to rfc2015_sign().
3749 * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
3753 * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
3754 Fixed a memory leak bug.
3755 * src/export.[ch]: added for exporting folder to mbox.
3756 * src/import.[ch]: made import_mbox() take default folder.
3757 Added description to the dialog.
3758 * src/summaryview.c: summary_show(): fixed a bug that kept the
3759 toolbar buttons insensitive after receiving messages.
3761 src/import.c: fixed a bug that caused quitting of the program
3762 when OK or Cancel&nb