more sync with sylpheed 0.5.0pre1
[claws.git] / ChangeLog
index 6b285e1794ea221c193cc1224f81ba7975d5959a..a60ec769149b2e8e0cff942fa2d61e7e2b2d839a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,506 @@
+2001-06-19
+
+       * src/imap.c: imap_cmd_login(), imap_cmd_select(), imap_cmd_status(),
+         imap_cmd_create(), imap_cmd_delete(), imap_cmd_copy(): don't
+         enclose with double quotation if string doesn't have space
+         (workaround for old Cyrus IMAP4 server).
+         imap_create_folder(): fixed a bug of separator substitution.
+         renamed imap_session_connect_if_not() to imap_session_get().
+         imap_get_msg_list(): delete all cached messages if use_cache
+         is off.
+         imap_delete_cached_messages(): remove cached files in between
+         the specified range by reading directory entry.
+         imap_parse_one_address(): set fromname same as the from address
+         if it is empty.
+       * src/utils.[ch]: remove_numbered_files(): new. The range is
+         specifiable.
+       * src/summaryview.c: summary_execute(): update summary if current
+         folder is IMAP4.
+         KEY_PRESS_EVENT_STOP(): new macro.
+         summary_key_pressed(): stop signal emission when calling
+         summary_execute().
+         summary_select_by_msgnum(): show message only if
+         msg_is_toggled_on is TRUE. Move current page to the selected
+         node.
+       * src/news.c; news_delete_old_articles(): remove cached files in
+         between the specified range by reading directory entry.
+       * src/folderview.c:
+         folderview_selected(), folderview_button_released(): fixed a bug
+         that didn't select folder correctly.
+
+2001-06-18
+
+       * src/mainwindow.c
+         src/summaryview.c
+         src/prefs_common.c: improvements to the English (thanks to Paul
+         Mangan).
+       * src/mainwindow.c: compose_cb()
+         src/summaryview.c: summary_key_pressed()
+         src/compose.c: compose_new_with_recipient(): newsgroups entry
+         is automatically filled when composing a new article.
+
+2001-06-17
+
+       * src/procmsg.c: procmsg_msg_list_free(): fixed a bug that didn't
+         free list correctly.
+
+2001-06-16
+
+       * version 0.4.99
+
+       * src/imap.c: imap_find_namespace(): replace namespace path
+         separator with slash before comparison.
+         imap_remove_folder(): use namespace.
+         imap_create_tree(): use namespece when creating Trash.
+         imap_get_msg_list(): fixed a bug that returned old list and caused
+         memory leak if exists == 0.
+         imap_select(): new. It's a wrapper for imap_cmd_select().
+       * src/foldersel.c: foldersel_set_tree(): show IMAP4 folder too.
+
+2001-06-15
+
+       * src/folderview.c:
+         folderview_new_folder_cb()
+         folderview_new_imap_folder_cb(): show error dialog when creation
+         or deletion of folder failed.
+         Made it allow users to create a folder which contains subfolders.
+         folderview_button_pressed(): disabled delete menu on the special
+         IMAP4 folder.
+       * AUTHORS: incorporated from claws branch. It now contains all
+         contributors.
+       * src/send.c: enabled cancellation.
+         EXIT_IF_CANCELLED(): new macro.
+         Added cancelled flag to SendProgressDialog.
+       * src/utils.[ch]: strtailchomp(): new. It removes the trailing
+         specified character.
+       * src/imap.c: imap_cmd_fetch(): a fix for MS Exchange 2000 server.
+
+2001-06-15
+
+       * src/imap.c: imap_create_tree(): new. It creates required
+         folders such as INBOX and Trash.
+         imap_do_copy(), imap_do_copy_msgs_with_dest(): don't expunge
+         if COPY failed.
+         imap_remove_all_msg(): return immediately if exists == 0.
+       * src/account.c: account_add(), account_set_missing_folder():
+         made them use folder->create_tree().
+
+2001-06-14
+
+       * src/imap.c: more namespace implementation.
+         imap_find_namespace(), imap_path_separator_subst(): new.
+
+2001-06-13
+
+       * src/imap.c: imap_parse_namespace(), imap_cmd_namespace(): new.
+
+2001-06-11
+
+       * src/summaryview.c: summary_show(): fixed a glitch in folder view.
+
+2001-06-08
+
+       * src/imap.[ch]: added imap_add_msg(), and imap_append_message(),
+         which appends file into IMAP4 folder.
+         imap_status(): new.
+         imap_create_folder(): check the existence of a folder before
+         create it.
+         renamed the prefix of low-level IMAP4rev1 functions to imap_cmd.
+       * src/account.c: account_add(), account_set_missing_folder():
+         create INBOX automatically when creating IMAP4 account.
+
+2001-06-07
+
+       * src/utils.[ch]: added itos_buf() that takes the buffer for its
+         argument.
+       * src/imap.[ch]: imap_copy_msg(), imap_copy_msgs_with_dest(): new.
+       * src/folder.c: added copy_msg and copy_msgs_with_dest methods
+         to the IMAP class.
+
+2001-06-06
+
+       * src/utils.[ch]: move_file(): new.
+       * src/mh.c: mh_move_msg(), mh_move_msgs_with_dest(): modified to
+         use move_file(), and fixed a bug that didn't close file when
+         error occured.
+
+2001-06-06
+
+       * src/imap.c: renamed imap_delete_messages() and
+         imap_delete_all_messages() to imap_delete_cached_messages() and
+         imap_delete_all_cached_messages(). Some code cleanups.
+       * src/utils.[ch]: added a function remove_all_numbered_files().
+       * src/mh.c: mh_remove_all_msg()
+         src/imap.c: imap_delete_all_cached_messages():
+         use remove_all_numbered_files().
+       * src/mainwindow.c
+         src/summaryview.c
+         src/compose.[ch]: added `Reply to sender'.
+         compose_reply()
+         compose_reply_set_entry(): added an argument `ignore_replyto'.
+
+2001-06-05
+
+       * src/folderview.c: folderview_selected()
+         src/summaryview.c: summary_show(): fixed a bug that updated wrong
+         folder when remaining marks were processed.
+
+2001-06-04
+
+       * src/headerwindow.c: headerwindow_show_cb(): always try to show
+         msginfo, and use the selected message, not the displayed one.
+       * src/smtp.c: smtp_ok(): fixed sock_gets() error handling.
+
+2001-06-02
+
+       * src/folderview.c: folderview_selected()
+         src/mimeview.c: mimeview_selected(): ungrab the mouse event.
+       * src/summaryview.c: summary_show(): process the left marks if any.
+
+2001-05-27
+
+       * src/passphrase.c: enclosed with #if USE_GPGME.
+       * src/prefs_account.c: added NNTP AUTH check button.
+       * src/alertpanel.[ch]: alertpanel_create(): added new argument
+         `can_disable', all existing callers changed to pass FALSE;
+         created a check button to disable the message.
+         alertpanel_message_with_disable(): new.
+         alertpanel_show(): mask value with G_ALERT_VALUE_MASK.
+         alertpanel_button_toggled(): new.
+         alertpanel_button_clicked(), alertpanel_close(): set value using
+         G_ALERT_VALUE_MASK.
+       * src/prefs_common.[ch]: added option to toggle GnuPG signature
+         check popup window, and GnuPG warning.
+       * src/rfc2015.c: check_signature(): show signature check dialog
+         only if it is enabled.
+       * src/main.c: modified GnuPG checking.
+       * src/main.c
+         src/prefs_common.c: fixed some compilation bugs when enabled
+         GPGME.
+
+2001-05-26
+
+       * src/codeconv.c: conv_get_code_conv_func(): fix for ISO-8859-*
+         encodings with libjconv.
+         conv_encode_header(): fixed an endless loop bug when encountering
+         an invalid wide character (thanks to Alte).
+       * src/headerview.c: SET_FONT_STYLE(): fixed segfault with invalid
+         bold font.
+       * src/imap.c: imap_create_folder(): don't create folder if the
+         name is INBOX.
+       * src/mainwindow.c: main_window_reflect_prefs_all(): hide the
+         execute button when immediate execution is enabled.
+
+2001-05-22
+
+       * README
+         README.jp: added the "How to run" section.
+
+2001-05-19
+
+       * merged NNTP AUTH from the claws branch.
+       * src/news.[ch]: supported NNTP AUTH.
+       * src/nntp.[ch]: wrapped SockInfo with NNTPSockInfo for NNTP AUTH.
+       * INSTALL
+         INSTALL.jp: modified the confirmation list and the warning about
+         threads.
+
+2001-05-18
+
+       * src/gtkutils.[ch]: moved folderview_find_collapsed_parent() to
+         gtkut_ctree_find_collapsed_parent().
+       * src/folderview.c: folderview_select_node(): automatically expand
+         the parent folders when selected.
+       * configure.in: made the version number to 0.4.99 (0.5pre)
+       * src/main.c: main(): moved parse_cmd_opt() before gtk_init()
+         so that X is not necessary for --help and --version.
+         parse_cmd_opt(): changed g_get_prgname() to g_basename(argv[0]).
+       * src/folderview.c: folderview_update_node(): a fix for collapsed
+         nodes.
+
+2001-05-17
+
+       * src/main.c: lock_socket_input_cb(): changed fd_read() to fd_gets().
+         It caused garbages in --compose option.
+       * src/socket.[ch]: made fd_gets() public.
+
+2001-05-16
+
+       * src/gtkutils.[ch]: gtkut_ctree_node_next(): new.
+       * src/folderview.c: folderview_find_next_unread(): new.
+         folderview_select_next_unread(): modified so that it can find
+         the hidden folder.
+
+2001-05-15
+
+       * src/compose.c: compose_write_headers(): excluded also From, To,
+         Sender because they could be used for SPAM.
+       * src/folderview.c: add '+' mark to the collapsed folder that have
+         some unread folders.
+         folderview_search_new_recursive(),
+         folderview_have_new_children(),
+         folderview_search_unread_recursive(),
+         folderview_have_unread_children(),
+         folderview_find_collapsed_parent(): new.
+         folderview_update_node(): display the number of queued messages.
+
+2001-05-14
+
+       * src/folder.[ch]
+         src/mh.[ch]: modified *_add_msg() to use link(). Added the
+         argument to switch whether to remove the source file or not.
+       * src/compose.c
+         src/inc.c
+         src/mbox.c: modified the argument of folder_item_add_msg() and
+         removed some unlink()'s.
+
+2001-05-13
+
+       * src/prefs_customheader.[ch]: renamed prefs_headers_* to
+         prefs_custom_header_*. Removed `(New)' row and `Substitute'
+         button. Supported empty value.
+         prefs_custom_header_row_moved(): new. Connected "row_move" signal
+         to the function, and made it set header list.
+       * src/customheader.c: custom_header_get_str()
+         src/compose.c: compose_write_headers(): supported empty value.
+       * src/prefs_display_header.c: prefs_display_header_row_moved(): new.
+         Connected "row_move" signal to the function, and made it set
+         header list.
+       * src/compose.c: compose_write_headers(): modified the order of
+         headers, and made it encode the custom headers.
+       * src/prefs_customheader.c: prefs_custom_header_delete_cb()
+         src/prefs_filter.c: prefs_filter_delete_cb(): treat closing the
+         alert panel by ESC as "No".
+
+2001-05-13
+
+       * merged the custom header stuff from claws branch:
+       * src/customheader.[ch]
+         src/prefs_customheader.[ch]: new.
+       * src/customheader.c: custom_header_read_str(): use strtol() instead
+         of atoi() and check errors.
+         custom_header_find(): new function.
+       * src/compose.c: IS_IN_CUSTOM_HEADER(): new macro.
+         compose_write_headers(): made it replace headers with user-defined
+         headers except for some automatically generated headers.
+
+2001-05-11
+
+       * src/inc.c: connection_check_cb(): fixed a bug that caused
+         segmentation fault if connection was not established.
+       * src/compose.c: compose_create(): even if set_autobcc or set
+         autoreplyto is checked and the entries are empty, show them.
+
+2001-05-10
+
+       * src/textview.c: textview_show_mime_part(): modified the messages.
+         TEXT_INSERT(): new macro.
+       * po/ja.po: fixed.
+       * src/prefs_display_header.c: prefs_display_header_create():
+         modified the text of checkbutton.
+
+2001-05-09
+
+       * src/mimeview.c: added "Open with..." to the context menu.
+       * src/summaryview.c: summary_print()
+         src/inputdialog.c: input_dialog(): fixed memory leaks.
+       * src/textview.c: textview_show_mime_part(): updated the description.
+       * src/send.c: implemented sending progress dialog.
+         (TODO: automaton should be used.)
+         send_progress_dialog_create(), send_progress_dialog_destroy(),
+         send_cancel(): new.
+         send_message_smtp(): made it update the dialog for each stage.
+       * src/utils.[ch]: get_left_file_size(): new. Get the left bytes
+         of opened file.
+       * src/summaryview.c: summary_show(): when open_inbox_on_inc is set,
+         go to first unread message even if folder is same as previous.
+       * src/prefs_common.c: made color selection dialog transient, and
+         made escape key close the dialogs.
+
+2001-05-08
+
+       * version 0.4.66
+
+       * src/select-keys.c: delete_event_cb(): removed `;' from its end.
+       * src/recv.c: recv_write(): changed the interval to 10msec.
+       * src/prefs_display_header.c: modified the layout of the dialog,
+         and made the hidden headers list insensitive when `Show other
+         headers' is not checked.
+       * src/textview.c: changed strcasecmp() and strncasecmp() to
+         the corresponding glib functions.
+       * src/inc.c: get_spool(): make a temporary file in the home
+         directory.
+
+2001-05-07
+
+       * src/prefs_common.c
+         src/prefs_account.c
+         src/prefs_filter.c
+         src/account.c
+         src/alertpanel.c
+         src/filesel.c
+         src/foldersel.c
+         src/export.c
+         src/import.c
+         src/inputdialog.c
+         src/passphrase.c
+         src/select-keys.c
+         src/sigstatus.c: fixed a bug that accidentally destroyed dialogs
+         when closed them with delete_event (thanks to DINH).
+         Added *_deleted() and *delete_event() which handle delete_event
+         signal correctly.
+
+2001-05-06
+
+       * src/prefs_display_header.c: merged some changes from claws branch:
+         prefs_display_header_create(): allow reordering of headers by
+         dragging.
+         prefs_display_header_find_header(): new function.
+         prefs_display_header_clist_set_row(): don't allow duplicates.
+       * src/prefs_account.c: prefs_account_receive_create(): changed
+         the label of the check button.
+
+2001-05-05
+
+       * src/pop.c: pop3_getsize_list_recv(): if sscanf() failed, break
+         immediately.
+       * src/inc.h: removed cur_msg_bytes from Pop3State.
+       * src/inc.c: pop3_recv_func()
+         src/recv.[ch]: made the second arguments of RecvUIFunc current
+         total read bytes.
+         recv_write(): made it call UI func if elapsed time is greater
+         than 0.1 sec.
+       * src/recv.c: recv_write(): changed the interval to 300 usec.
+       * src/textview.c: textview_show_header(): if header is Subject,
+         unfold it.
+       * src/utils.[ch]: unfold_line(): new.
+       * src/procheader.[ch]: procheader_get_header_array(): new.
+       * src/prefs_display_header.c: updated defaults.
+
+2001-05-05
+
+       * some merge from the sylpheed-claws branch.
+         It allows user to specify displayed headers in message view.
+         (symbol names were also changed.)
+       * src/prefs_display_header.[ch]
+         src/displayheader.[ch]: new.
+       * src/prefs_display_header.c:
+         removed prefs_display_headers_other_headers_toggled().
+         removed "(New)" row from the list.
+       * src/defs.h: added DISPLAY_HEADER_RC.
+       * src/prefs_common.c: prefs_message_create(): added a button for
+         opening the display header setting dialog.
+       * src/prefs_common.h: added show_other_header and disphdr_list
+         to PrefsCommon.
+       * src/procheader.[ch]: procheader_get_header_list_from_file(),
+         procheader_get_header_array_asis(): new.
+         procheader_get_header_list(): modified so that it takes FILE
+         pointer for its argument.
+         procheader_header_array_destroy(), procheader_header_free(): new.
+       * src/main.c: main(): made it call prefs_display_header_*_config().
+       * src/textview.c: textview_scan_header(): modified so that it
+         sorts headers according to user setting.
+         src/textview_show_header(): made it call
+         textview_make_clickable_parts().
+         textview_make_clickable_parts(): added GdkFont to its arguments,
+         and removed GtkText from them.
+
+2001-05-04
+
+       * implemented auto-checking of new mail based on the patch from
+         Pierric Descamps (thanks!).
+       * src/inc.c: added inc_autocheck_timer_init(),
+         inc_autocheck_timer_set(), inc_autocheck_timer_remove(),
+         inc_autocheck_func() for auto-checking of new mail.
+       * src/main.c: main(): call inc_autocheck_timer_init().
+       * src/prefs_common.c: prefs_receive_create(): activated the
+         auto-checking UI. Added prefs_common_cancel(), and connected
+         some signals to that.
+       * src/prefs_common.c
+         src/prefs_account.c
+         src/prefs_filter.c
+         src/account.c: Disabled auto-checking while opening the dialog.
+       * src/headerview.c: headerview_show_xface(): fixed a bug that
+         showed a warning when header pane was hidden.
+
+2001-05-03
+
+       * src/inc.c
+         src/pop.c
+         src/recv.c: removed non-blocking socket mode support since it
+         does nothing.
+       * src/pop.c
+         src/inc.c: modified the messages of incorporation dialog.
+
+2001-05-02
+
+       * src/utils.h: made u32 the typedef of guint32.
+         added BIG_ENDIAN_HOST macro that is used by md5.c.
+       * src/md5.c: renamed md5c.c. Fixed the indentation. Fixed a bug
+         that didn't calculate MD5 correctly on big endian machines.
+
+2001-05-01
+
+       * version 0.4.65
+
+       * src/folder.c: folder_init(): added the method imap_remove_folder.
+       * src/folderview.c: folderview_rm_imap_folder_cb(): made it
+         actually remove folder from IMAP4 server.
+       * src/imap.[ch]: imap_create_folder(): made it actually create
+         folder on IMAP4 server.
+         imap_remove_folder(): added.
+         imap_create(), imap_delete(): added.
+       * src/summaryview.c: summary_execute_delete(): don't check trash
+         if folder type is not F_MH.
+       * thanks to Ishihara for the above changes.
+       * configure.in
+         ac/check-type.m4: better wint_t typedef detection (renamed
+         sv_CHECK_TYPE to SYLPHEED_CHECK_TYPE).
+
+2001-04-30
+
+       * src/recv.c: recv_bytes_write(): fixed another bug that caused
+         infinite loop and buffer overrun.
+
+2001-04-30
+
+       * src/socket.[ch]: renamed sock_read() and fd_read() to
+         sock_gets() and fd_gets() for preventing confusion.
+         Added sock_read() and fd_read() which is the wrapper of read().
+       * src/recv.c: recv_bytes_write(): fixed a bug that caused infinite
+         loop. Use sock_read() instead of fd_read().
+       * src/esmtp.c
+         src/imap.c
+         src/news.c
+         src/nntp.c
+         src/pop.c
+         src/recv.c
+         src/smtp.c: use sock_gets() instead of sock_read().
+       * src/imap.c: imap_session_new(): fixed the error detection
+         of imap_open().
+
+2001-04-28
+
+       * src/inc.c: made it displays current read bytes to the dialog.
+       * src/pop.c: recv_write(): call UI function before editing
+         strings.
+
+2001-04-27
+
+       * src/progressdialog.c: progress_dialog_create(): modified the
+         size of dialog and made it stretchable.
+       * src/smtp.c
+         src/esmtp.c: smtp_ok(), esmtp_ok(): fixed a bug that didn't
+         process an error response correctly (thanks to Ohmasa).
+       * src/pop.[ch]: added pop3_getsize_list_send(),
+         pop3_getsize_list_recv().
+       * src/recv.[ch]: added recv_set_ui_func() that makes recv_write()
+         call the callback function for each sock_read().
+       * src/inc.h: in Pop3State, renamed bytes to total_bytes, and added
+         cur_msg_bytes, cur_total_bytes, and sizes.
+       * src/inc.c: added inc_pop3_recv_func() that updates the progress
+         bar for each sock_read().
+
 2001-04-26
 
        * src/mh.c: mh_is_maildir_one(): modified so that it uses