use binary mode for file access
[claws.git] / ChangeLog
index 56ed8cd465a62285eb047040b2d2d91b73c09268..d0069dc6d3267138cf16d6558bc77fe16f344c2d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,542 @@
+2002-07-02
+
+       * src/prefs_common.[ch]
+         src/inc.c: added an option to inhibit receive error dialog.
+
+2002-07-01
+
+       * src/account.c: account_find_from_address(): support multiple
+         addresses in header.
+
+2002-06-28
+
+       * src/gtksctree.[ch]: changed GtkSCTree::anchor_row from gint to
+         GtkCTreeNode* so that it won't become invalid after the row move.
+         Removed dependency to gtkutils.c.
+       * src/prefs_common.[ch]
+         src/summaryview.c: summary_selected(): added an option to show
+         message when cursor keys are pressed on summary view.
+
+2002-06-28
+
+       * configure.in
+         src/Makefile.am
+         src/compose.c: changed "host_alias" to "target_alias" so that it
+         shows the correct system name on cross-compiling (thanks to
+         Patrice Mandin).
+
+2002-06-27
+
+       * src/prefs_account.[ch]: added the option menu to force an
+         authentication method for SMTP AUTH.
+       * src/send.c
+         src/smtp.[ch]: smtp_from(), smtp_auth(): added an argument to
+         specify the authentication method for SMTP AUTH.
+         smtp_ehlo(): allow AUTH responses that don't comply with the RFC.
+
+2002-06-25
+
+       * src/prefs_common.[ch]
+         src/compose.c: enabled "Wrap on input".
+
+2002-06-25
+
+       * src/summaryview.[ch]
+         src/mainwindow.c: added "Go to/{Prev,Next} new message" menu.
+         Made some code cleanups.
+
+2002-06-20
+
+       * src/folderview.c
+         src/prefs_common.[ch]: added the hidden option to specify the
+         policy of the vertical scrollbar on folder view.
+
+2002-06-19
+
+       * src/messageview.[ch]:
+         messageview_copy_clipboard(): fixed a bug that couldn't copy text
+         on MIME mode.
+         messageview_get_current_textview(): new.
+         messageview_get_text_widget(): removed.
+       * src/quote_fmt_parse.y: quote message even if msginfo is empty.
+       * src/compose.[ch]: implemented the "Paste as quotation" feature.
+         text_inserted(): new callback for "insert_text" signal.
+         Add quote mark to the pasted text if Compose::paste_as_quotation
+         is TRUE.
+
+2002-06-19
+
+       * src/compose.c: if the Content-Type of a file is text/*, check
+         its content and set the optimal Content-Transfer-Encoding (thanks
+         to Yoichi Yuasa).
+
+2002-06-18
+
+       * src/textview.c: textview_key_pressed(): pass key press event to
+         main window to activate menu shortcuts (thanks to Alfons).
+
+2002-06-18
+
+       * src/folder.c: folder_build_tree(): use strtoul() instead of atoi()
+         for mtime to prevent flooring.
+       * src/imap.c:
+         imap_move_msg()
+         imap_move_msgs_with_dest()
+         imap_copy_msgs_with_dest(): fixed a bug that prevented multiple
+         message copy/move.
+         imap_parse_envelope()
+         imap_cmd_envelope(): use RFC822.HEADER instead of ENVELOPE to get
+         full information of messages and simplify the parser. Also fixed
+         the bug that References header was ignored on threading.
+         imap_parse_one_address()
+         imap_parse_address(): removed.
+         imap_get_header(): new. It reads the RFC822 header and returns
+         a newly allocated string.
+       * src/procheader.[ch]: changed procheader_parse() to
+         procheader_parse_stream() and added different interfaces for it.
+
+2002-06-17
+
+       * po/zh_TW.Big5.po: fixed a mistake that caused a crash.
+
+2002-06-15
+
+       * version 0.7.8
+
+2002-06-13
+
+       * src/inc.c: inc_get_uidl_table(): fixed a bug that garbage time
+         could be inserted into the hash table.
+         inc_write_uidl_list(): a minor code cleanup.
+       * src/mainwindow.c: main_window_get_current_state():
+         make the state unexecutable on an empty folder.
+       * src/summaryview.c: summary_sort(): don't sort on an empty folder.
+       * src/pop.c: minor code cleanups.
+
+2002-06-12
+
+       * src/prefs_account.c: CREATE_RADIO_BUTTONS(): fixed a typo and
+         corrected the behavior of the radio buttons.
+
+2002-06-11
+
+       * implemented 'Delete messages after N days' feature for POP3.
+       * src/inc.[ch]:
+         inc_get_uidl_table()
+         inc_write_uidl_list(): moved the location of UIDL list file from
+         RC_DIR/uidl-* to RC_DIR/uidl/*.
+         Added received time for each UIDLs.
+         src/main.c: main(): create RC_DIR/uidl/ directory.
+         src/pop.[ch]: LOOKUP_NEXT_MSG(): delete expired messages here.
+         Added recv_time to Pop3MsgInfo.
+         src/prefs_account.[ch]: added an option for the number of days for
+         leaving messages.
+
+2002-06-09
+
+       * version 0.7.7
+
+2002-06-07
+
+       * src/folder.c: folder_set_missing_folders(): fixed a bug that
+         caused multiplication of special folders on startup if their
+         types were changed.
+       * src/folderview.c: folderview_remove_mailbox_cb(): modified the
+         label.
+
+2002-06-04
+
+       * src/compose.c: compose_reply(), compose_forward(): reverted the
+         last change since it causes lockup problem.
+
+2002-06-04
+
+       * src/compose.c: compose_reply(), compose_forward(): don't autowrap
+         the signature part.
+         compose_new_with_recipient(): workaround for initial XIM problem.
+
+2002-06-04
+
+       * src/mainwindow.c: sort ascending / descending order can be
+         specified with separated menu items.
+         Added "View/Sort/Don't sort" menu item.
+       * src/summaryview.[ch]: summary_sort(): added an argument for
+         sort type.
+
+2002-05-31
+
+       * implemented persistent sort order.
+       * src/folder.[ch]:
+         folder_build_tree(): read 'sort_key' and 'sort_type' attributes.
+         folder_write_list_recursive(): write sorting state.
+         src/mainwindow.c
+         src/summaryview.[ch]: summary_show(): sort if required.
+         select the top node on descending sort.
+         Removed SummarySortType and sorting state variables from
+         SummaryView.
+
+2002-05-30
+
+       * src/account.c
+         src/news.[ch]
+         src/nntp.[ch]
+         src/prefs_account.[ch]: enabled NNTP over SSL.
+       * src/nntp.c: nntp_group(): issue MODE READER command and retry
+         when GROUP command once failed (this seems to avoid problems on
+         some broken news servers).
+
+2002-05-30
+
+       * faq/it/*.html: corrected DOS linebreaks.
+       * faq/*/*.html: changed ">" to ".
+
+2002-05-29
+
+       * src/prefs_account.c: prefs_account_protocol_activated(): hide
+         unnecessary frames in SSL tab.
+
+2002-05-29
+
+       * src/pop.[ch]
+         src/inc.c
+         src/prefs_account.[ch]: enabled STLS command in POP3.
+       * src/account.c: account_clist_set_row(): display TLS setting.
+
+2002-05-28
+
+       * src/compose.c: compose_send_later_cb(): support redirect function.
+       * src/imap.[ch]
+         src/ssl.h
+         src/prefs_account.[ch]: enabled STARTTLS command in IMAP4.
+       * src/send.c
+         src/smtp.[ch]: use SSLType instead of SSLSMTPType.
+
+2002-05-28
+
+       * src/utils.[ch]: make_dir(): wrapper for mkdir() and chmod().
+       * src/compose.c: compose_create(): removed unrequired lines.
+
+2002-05-27
+
+       * src/news.c: news_scan_group(): fixed a bug that set the wrong
+         values in some cases.
+       * src/prefs_account.c: corrected English in Advanced - Folder
+         settings.
+
+2002-05-23
+
+       * src/textview.c: textview_show_message(), textview_show_part():
+         fixed a bug that GtkSText *text pointed the incorrect object.
+         textview_add_part(): freeze GtkSText while adding RFC822 headers.
+         textview_show_part(): fixed a bug that couldn't display single
+         part MIME message as text.
+
+2002-05-22
+
+       * src/compose.c: compose_redirect_write_to_file(): correct the target
+         for change_file_mode_rw(). Check if fclose() succeeded. Unlink
+         incomplete file when an error occured.
+
+2002-05-22
+
+       * src/compose.c:
+         compose_create(): disable menus for draft on redirection mode.
+         compose_redirect_write_to_file(): correct the error handling of
+         fwrite().
+       * src/prefs_common.c: turned off the "Display recipient on `From'
+         column if sender is yourself" option by default.
+
+2002-05-21
+
+       * src/compose.[ch]: implemented 'Redirect' (aka Bounce) feature.
+         Based on the implementation of the claws branch.
+         compose_redirect(): create a new window and make it uneditable.
+         compose_redirect_write_to_file(): copy headers and body of
+         original message except for some.
+         compose_redirect_write_headers(): add extra "Resent-*" headers.
+         compose_create(): set menu sensitivity for redirection mode.
+
+2002-05-20
+
+       * src/codeconv.c: conv_encode_header(): fixed a bug that unnecessary
+         space is inserted between encoded string and the following folded
+         one (thanks to Masahiro Tomita).
+
+2002-05-19
+
+       * src/mainwindow.[ch]: some refactoring has been made.
+         main_window_toggle_message_view(): moved summary_toggle_view_real()
+         here.
+       * src/messageview.[ch]: messageview_is_visible(): new.
+       * src/summary_search.c
+         src/summaryview.[ch]: SummaryView::msg_is_toggled_on: removed.
+         Instead use messageview_is_visible().
+
+2002-05-17
+
+       * src/mainwindow.c: added 'Expand/Collapse all threads' menu.
+       * src/summaryview.[ch]:
+         summary_expand_threads(), summary_collapse_threads(): new.
+
+2002-05-17
+
+       * src/mainwindow.c: Fixed the behavior of
+         '/View/Show or hide/Folder tree' and
+         '/View/Show or hide/Message view' toggle menu.
+         Removed '/View/Toggle summary view' menu and integrated the
+         function into '/View/Show or hide/Message view'.
+         main_window_set_widgets(): change the state of toggle menu items.
+       * src/prefs_common.c: prefs_keybind_apply_clicked(): updated menurc
+         strings.
+
+2002-05-16
+
+       * src/mimeview.c: mimeview_set_multipart_tree(): show single part
+         MIME contents other than text as children of message/rfc822 part.
+       * src/procmime.c:
+         procmime_mimeinfo_next(): modified for message/rfc822 part which
+         content-type is single part MIME.
+         procmime_scan_multipart_message(): fix for nested message/rfc822
+         part. Corrected the size of the contents of message/rfc822.
+       * src/textview.c: textview_show_part(): extract the contents of
+         multipart/* and message/rfc822. Some code cleanups.
+         textview_add_parts(): new. It adds the all parts under a part to
+         textview.
+         textview_clear(): reset body_pos and cur_pos.
+
+2002-05-16
+
+       * src/addr_compl.c: modified so that it behaves better.
+         get_address_from_edit(): ignore comma inside of brackets.
+         completion_window_apply_selection(): new. Only apply the current
+         clist selection.
+         completion_window_accept_selection(): removed.
+         address_completion_complete_address_in_entry(): minor code cleanup.
+         don't replace address in entry here.
+         completion_window_select_row(): always apply clist selection to
+         entry.
+         completion_window_key_press(): don't apply selection here.
+
+2002-05-15
+
+       * src/imap.c: imap_create_folder(): keep trailing directory separator
+         to create a folder that contains sub folder.
+
+2002-05-14
+
+       * src/foldersel.c: sort tree with case insensitive.
+       * src/mainwindow.c: allsel_cb()
+         src/messageview.c: messageview_select_all(): fixed 'Select all'
+         on MIME view.
+       * src/mainwindow.c: removed common and account prefs button from
+         the toolbar.
+
+2002-05-13
+
+       * src/compose.c: compose_account_option_menu_create(): check if
+         ac->name is NULL.
+
+2002-05-12
+
+       * version 0.7.6
+
+2002-05-12
+
+       * manual/ja/*: updated the Japanese manual (thanks to Yoichi Imai).
+         manual/en/*: updated the English manual.
+       * faq/de/*
+         faq/it/*: added German and Italian FAQ.
+       * faq/en/*
+         faq/es/*
+         faq/fr/*: updated FAQs.
+       * src/manual.[ch]
+         src/mainwindow.c: added German and Italian language.
+
+2002-05-11
+
+       * src/prefs_account.c: turn off "receive at get all" option by default
+         when creating an IMAP or News account.
+
+2002-05-11
+
+       * src/imap.c: imap_scan_tree(): don't use namespace for prefix.
+       * src/prefs_folder_item.c: show also identifier path.
+         Made layout using table. Show uneditable entry using background
+         color of window.
+       * src/procmime.c: procmime_get_tmp_file_name(): generate safe
+         file name.
+
+2002-05-11
+
+       * src/automaton.[ch]: added UI callback to Automaton.
+       * src/inc.c
+         src/pop.c: use callback instead of calling inc_progress_update()
+         directly.
+         pop3_getrange_uidl_recv(): don't fall back to LAST when 'get all'
+         option is set.
+
+2002-05-10
+
+       * src/folderview.c: properly sort abbreviated newsgroups.
+
+2002-05-10
+
+       * src/folderview.c
+         src/prefs_common.[ch]
+         src/summaryview.c: added an option to specify the minimum length
+         for abbreviated newsgroups name.
+
+2002-05-09
+
+       * src/folderview.c: folderview_check_new(): skip unselectable folders.
+       * src/summaryview.c: added 'Create filter rule' to the context menu.
+       * src/imap.c: some code cleanups.
+         imap_scan_tree_recursive(): get path separator for each calls.
+         imap_get_path_separator(): new.
+
+2002-05-08
+
+       * src/imap.[ch]: supported namespace for others/shared folders
+         (in progress).
+         imap_parse_namespace(): parse also others/shared namespace.
+         imap_find_namespace(): search also others/shared namespace.
+       * src/utils.[ch]:
+         strchr_parenthesis_close(): return pointer to closing parenthesis.
+         strsplit_parenthesis(): split parenthetic list into array of
+         strings.
+
+2002-05-08
+
+       * src/procheader.c: procheader_date_parse(): fixed a bug that didn't
+         parse date string like "Mon,6 May 2002 20:31:12 +0800".
+         procheader_scan_date_string(): new. Separated string scanning
+         part from procheader_date_parse().
+
+2002-05-07
+
+       * src/summary_search.c: summary_search_execute(): unlock while
+         selecting summary row (thanks to Martin Schaaf).
+       * src/summaryview.c: summary_set_column_titles(): reversed the
+         direction of the arrow so that it matches with Win/Mac style.
+
+2002-05-02
+
+       * src/compose.c: compose_write_headers(): quote self address name
+         if required. Some code cleanups. Don't override Newsgroups and
+         Cc with custom headers.
+       * src/imap.c: imap_add_msg(): return UID for appended message.
+       * src/compose.c: compose_queue(): check if queue folder exists.
+       * src/imap.c: QUOTE_IF_REQUIRED(): quote also other IMAP special
+         characters.
+         imap_open(): removed an unrequired argument.
+
+2002-04-25
+
+       * src/utils.[ch]: trim_string(): new. It trim characters longer than
+         the specified length and adds "...".
+       * src/folderview.c: trim folder name when displaying dialog.
+
+2002-04-23
+
+       * src/imap.c: imap_create_folder(): don't add prefix for root INBOX
+         folder.
+       * src/folderview.c: folderview_select()
+         src/summary_search.c: summary_search_execute(): lock summary view
+         while searching (thanks to Martin Schaaf).
+
+2002-04-21
+
+       * version 0.7.5
+
+2002-04-21
+
+       * sylpheed*.png: added new app icons by WAKAI Kazunao (thanks!).
+
+2002-04-21
+
+       * src/summaryview.c: summary_show(): fixed a bug that didn't process
+         the left marks.
+       * src/account.c: account_edit_prefs(): fixed a crash bug when account
+         name was empty.
+       * src/prefs_account.c: prefs_account_apply(): display error dialog
+         if account name is empty.
+       * src/imap.c: changed some log_print() to debug_print() to reduce
+         the amount of log.
+
+2002-04-21
+
+       * src/mh.c: mh_get_new_msg_filename(): new. It returns the filename
+         for new message.
+         mh_add_msg()
+         mh_do_move()
+         mh_do_move_msgs_with_dest()
+         mh_copy_msg()
+         mh_copy_msgs_with_dest(): use mh_get_new_msg_filename().
+       * src/utils.[ch]: added is_file_entry_exist() which returns TRUE
+         if stat() succeeded.
+       * src/imap.c:
+         imap_fetch_msg(): SELECT mailbox before FETCH if required.
+         imap_scan_folder(): set last_num using the value of UIDNEXT.
+         imap_select(): return immediately if there is no need for SELECT.
+         preserve the path of currently selected mailbox.
+         imap_status(): added UIDNEXT.
+
+2002-04-20
+
+       * src/folder.c: folder_item_scan(): removed the warning.
+       * src/inputdialog.[ch]: input_dialog_combo(): added an argument for
+         setting case sensitivity.
+
+2002-04-17
+
+       * src/mainwindow.c: main_window_create(): restrict the minimum size.
+
+2002-04-17
+
+       * src/compose.c: merged the new line-wrapping routine.
+         join_next_line(): fixed a bug that didn't join multibyte
+         characters.
+         get_indent_length(): modified enums and variable names.
+         INDENT_CHARS: don't indent ':'.
+       * src/folderview.c:
+         folderview_rename_folder_cb()
+         folderview_delete_folder_cb(): support folder identifier.
+         folderview_rm_imap_folder_cb(): integrated with
+         folderview_delete_folder_cb().
+
+2002-04-15
+
+       * src/folder.[ch]: folder_item_scan(): return -1 if scanning failed.
+       * src/folderview.c: folderview_check_new(): abort checking if
+         folder_item_scan() failed.
+
+2002-04-15
+
+       * src/imap.c: imap_create_missing_folders(): create only INBOX and
+         Trash.
+       * src/prefs_folder_item.c: prefs_folder_item_set_dialog(): made the
+         type of news folders unchangeable.
+         prefs_folder_item_destroy(): use prefs_dialog_destroy().
+       * src/prefs.[ch]: prefs_dialog_destroy(): new.
+
+2002-04-15
+
+       * src/prefs_account.[ch]: added special folder setting to Advanced
+         tab. Also moved "IMAP server directory" setting to there.
+       * src/account.[ch]: account_get_special_folder(): new. It returns
+         the optimal special folder for accounts.
+       * src/compose.c: use account_get_special_folder().
+       * src/prefs_folder_item.[ch]: new. Implemented folder property
+         dialog, and the special folder settings (most of the functions in
+         claws are not integrated yet, and the structure is slightly
+         modified).
+       * src/folderview.c: enabled Property menu.
+
+2002-04-14
+
+       * src/textview.c: IS_RFC822_CHAR(): make email parser also stop
+         scanning when encountering separators ',' and ';'.
+
 2002-04-12
 
        * src/mainwindow.c: reorderd the menu a bit.