some code fix in procheader.c
[claws.git] / ChangeLog
index ca74a375161aa76370c0dd83f48014468c29e8a2..f437885944f9e93d68f16f9994be2b47e8776a72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,390 @@
+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
+         is_dir_exist().
+
+2001-04-25  Werner Koch  <wk@gnupg.org>
+
+       * src/mh.c (mh_is_maildir_one, mh_is_maildir): New.
+       (mh_scan_tree_recursive): Do not include Maildir style directories
+       in the scan.
+
+       Changed the use of integers to describe sockets by an more abstract
+       data structure.
+
+       * src/automaton.h (struct _Automaton): Add help_sock.
+       * src/automaton.c (automaton_input_cb): Changed source to be
+       SockInfo and use wrapper for gdk_input_add.
+
+       * src/send.c (SEND_EXIT_IF_ERROR): Adjusted tests and removed test
+       for invalid socket because this is now done in sock_close. Set
+       sock to NULL.
+       (SEND_EXIT_IF_NOTOK): Set closed sock to NULL.
+       (send_smtp_open): Use only SockInfo.
+
+       * src/news.c (news_session_new): Use SockInfo here.
+       (news_session_destroy): Ditto and set sock to NULL.
+
+       * src/nntp.c: Use SockInfo instead of integers
+       * src/smtp.c: Ditto.
+       * src/pop.c: Ditto.
+       * src/recv.c: Ditto.
+
+       * src/inc.c (inc_pop3_session_do): Removed sock_sockinfo_free. Put
+       gdk_input_add into a wrapper.
+
+       * src/esmtp.c: Changed socket descriptors to use SockInfo.
+       * src/esmtp.h: Ditto, included socket.h.
+       * src/session.h (struct _Session): Likewise.
+       * src/imap.c (imap_open): Return SockInfo ptr and not an integer.
+       Removed access to internal data of SockInfo.  Changed all callers
+       and functions to take SockInfo.
+       (imap_session_new): Use sock_close here.
+       (imap_session_destroy): Ditto.
+
+       * src/compose.c (compose_exec_ext_editor): Replaced sock_write by
+       fd_write.
+
+       * src/main.c (app_will_exit): Close lock socket using fd_close.
+       (prohibit_duplicate_launch): Use fd_xxx functions instead of sock_xxx.
+       (lock_socket_input_cb): Ditto.
+
+       * src/socket.h, src/socket.c: Prepared SockInfo structure to use
+       glib channels. Changed all sock_xxx to use SockInfo instead of an
+       integer.
+       (sock_connect_unix, sock_open_unix, sock_accept): Renamed to ..
+       (fd_connect_unix, fd_open_unix, fd_accept): .. this and changed all
+       callers.
+       (fd_read, fd_write, fd_close): New.
+       (sock_sockinfo_free): Removed.
+       * src/socket.c (sock_connect_nb): Use close instead sock_close here.
+       (sock_connect): Ditto.
+
+2001-04-26
+
+       * config.h.in: removed.
+       * ac/Makefile.am: added gnupg-check-typedef.m4 to MACROS.
+       * .cvsignore: added.
+       * src/inc.c
+         src/progressdialog.[ch]
+         src/pixmaps/complete.xpm
+         src/pixmaps/continue.xpm
+         src/pixmaps/error.xpm: applied the patch from Leandro Pereira
+         that displays the state of message incorporation (thanks!).
+       * src/inc.c: made the progress dialog change the text of status.
+
+2001-04-25
+
+       * removed po/*.gmo, configure, stamp-h.in, aclocal.m4, Makefile.in
+         from the cvs tree.
+       * COPYING: removed RSA copyright notice.
+       * removed po/sylpheed.pot, po/stamp-cat-id, po/cat-id-tbl.c.
+       * configure.in: added the check of sys/utsname.h.
+
+2001-04-24  Werner Koch  <wk@gnupg.org>
+
+       Merged most of the changes from the W32 branch in.
+
+       * configure.in: Require gpgme >= 0.2.1
+
+       * acconfig.h (HAVE_U32_TYPEDEF): New.
+       * ac/gnupg-check-typedef.m4: New.
+       * configure.in: Check for u32 type and the size of some types.
+       * src/utils.h: Define the u32 type and related constants.
+
+       * src/about.c (about_create): Removed the note about MD5.  We are
+       not any longer using the RSA Inc. implementation.
+       * src/md5ify.c, src/md5ify.h, src/md5global.h:  Removed.
+       * src/md5c.c, src/md5c.h: Replaced by an FSF implementation and
+       renamed the function to standard lowercase convention. Changed all
+       callers. 
+       (md5_hex_digest): New.
+       (md5_hmac): Add hmac function by Martin Schaaf with some 
+       modifications.
+       (md5_hex_hmac): New.
+       * src/esmtp.c, src/esmtp.h (md5_hex_hmac): Removed.
+       (hmac_md5): Removed.
+       * src/pop.c (pop3_getauth_apop_send): Replaced the md5_digest by
+       the new md5_hex_digest function.
+
+       * src/about.c: Include utsname.h only if available
+
+       * src/utils.c, src/utils.h (get_home_dir): New to better cope with
+       special Windoze requirements.  Changed all calls to
+       g_get_home_dir() to this function.
+
+       * simple-gettext.c: New.
+
+       * src/main.c (main): Issue a warning if GnuPG is not properly
+       installed.
+
+       * src/sigstatus.c, src/sigstatus.h: New.
+       * src/rfc2015.c (check_signature): Use the sigstatus window and
+       get the status texts from a utility function.
+
+       * src/select-keys.c: Removed the global select_keys var and
+       pass an allocated one along all functions.
+       (set_row): Display only keys capable of encryption.
+       (update_progress): Replaced the progressbar by
+       a windmill and a text showing for which key we are collecting
+       info.  Removed progressbar everywhere else and updated callers.
+
+       * src/prefs_common.c (prefs_privacy_create) [__MINGW32__]: Do not
+       display the grab button. 
+
+2001-04-24
+
+       * src/prefs_common.[ch]
+         src/procheader.c: applied the patch from Darko Koruga that
+         allows user to define their own format for displaying date in
+         summary view using strftime() (thanks!).
+       * src/prefs_common.c: prefs_quote_colors_dialog()
+         src/mainwindow.c: main_window_reflect_prefs_all(): made it
+         update message colors if the colors setting is changed.
+       * src/main.[ch]: made it remember the startup directory.
+       * src/export.c: export_mbox(): made it initially chdir to the
+         startup directory.
+       * src/filesel.c: filesel_select_file(): made it open the startup
+         directory at first.
+
+2001-04-23
+
+       * added option to warn about queued messages on exit [sergey]:
+
+         * src/compose.c: compose_queue(): call folder_item_scan()
+           and folderview_update_item() after queueing.
+         * src/folderview.c: folderview_update_node(): draw the queue
+           folder in bold font if there are queued messages.
+         * src/mainwindow.c: queued_messages(): new function.
+           app_exit_cb(): display warning if there are queued messages
+           if warn_queued_on_exit is set.
+         * prefs_common.[ch]: add warn_queued_on_exit option.
+
+       * src/mainwindow.c: moved queued_messages() to main.c, and renamed
+         it to get_queued_message_num().
+       * src/main.c: app_will_exit(): moved warning dialog code from
+         app_exit_cb(), and added manage_window_focus_in().
+
+       * enhanced GnuPG key selection support [sergey]:
+
+         * src/select-keys.c: updated to newer version from Win32
+           branch with support for selecting arbitrary keys.
+         * src/prefs_account.c: added the Privacy tab to the account
+           options window.
+           prefs_account_privacy_create(),
+           prefs_account_sign_key_set_data_from_radiobtn(),
+           prefs_account_sign_key_set_radiobtn(): new functions.
+         * src/prefs_account.h: new preferences sign_key_type, sign_key_id.
+         * src/rfc2015.c: set_signers(): new function.
+           pgp_sign(): add the account parameter, call set_signers().
+           rfc2015_sign(): add the account parameter, pass it to pgp_sign().
+         * src/rfc2015.h: rfc2015_sign(): updated prototype.
+         * src/compose.c: pass the current account to rfc2015_sign().
+
+2001-04-22
+
+       * src/mbox.c: export_to_mbox(): fixed a memory leak bug.
+
+2001-04-20
+
+       * src/mbox.[ch]: renamed export_mbox() to export_to_mbox().
+         Fixed a memory leak bug.
+       * src/export.[ch]: added for exporting folder to mbox.
+       * src/import.[ch]: made import_mbox() take default folder.
+         Added description to the dialog.
+       * src/summaryview.c: summary_show(): fixed a bug that kept the
+         toolbar buttons insensitive after receiving messages.
+       * src/export.c
+         src/import.c: fixed a bug that caused quitting of the program
+         when OK or Cancel button was clicked several time.
+       * src/prefs_common.[ch]
+         src/addressbook.c: added "Add address to destination when
+         double-clicked" option.
+
 2001-04-19
 
        * src/prefs_common.[ch]: reorganized the items of settings,