sync with sylpheed 0.7.0cvs22
[claws.git] / ChangeLog
index 9eb88d3a2ec5793946dc314852a29351f53c19aa..3eedeb1143353febaaa3a9e1bc3a090a4e836502 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,679 @@
+2002-01-29
+
+       * src/mimeview.c: fixed multiple dialog / moving by correcting
+         button / key event processing.
+       * src/mimeview.[ch]
+         src/textview.c: pass some key press events to MimeView in MIME
+         mode.
+       * src/prefs_filter.c: fixed a bug that didn't set the order of
+         rules correctly.
+
+2002-01-28
+
+       * src/mainwindow.c
+         src/prefs_common.c: reorganized the menu shortcuts.
+         Added 'View - Toggle summary view'.
+       * src/summaryview.[ch]: summary_toggle_view(): made it public
+         function.
+       * src/prefs_common.[ch]: swapped the position of 'Shortcut key'
+         and 'On exit'.
+       * src/importldif.c: imp_ldif_delete_event(): fixed segfault when
+         closing the dialog with window manager (in more appropriate way).
+       * src/imageview.[ch]
+         src/messageview.c
+         src/mimeview.c: fixed wrong scrolling position when switching
+         between text and image parts. Also free the unrequired image
+         (thanks to Sergey Vlasov).
+       * src/prefs_common.c: disabled 'Go to inbox after receiving new mail'
+         by default.
+
+2002-01-28
+
+       * src/prefs_common.c: implemented shortcut quick changer.
+       * src/folderview.c: folderview_key_pressed()
+         src/summaryview.c: summary_key_pressed(): removed some hardcoded
+         key binds.
+
+2002-01-25
+
+       * src/procmime.c:
+         procmime_get_mime_type()
+         procmime_get_mime_type_table(): made the MIME type search case
+         insensitive.
+       * src/gtkstext.c:
+         gtk_stext_delete_line(): delete newline on empty line.
+         gtk_stext_delete_to_line_end(): delete newline if cursor is on
+         the last of line.
+         (thanks to Yasuzaki Masayoshi.)
+
+2002-01-23
+
+       * src/compose.c
+         src/gtkstext.[ch]: removed the hardcoded shortcuts in GtkSText,
+         and made them customizable.
+       * src/utils.[ch]: added get_file_size_as_crlf() which returns
+         the file size when converting LF to CR+LF.
+
+2002-01-22
+
+       * src/compose.c: enabled 'Ctrl-Enter' or
+         'Ctrl-(other modifier keys)-Enter' shortcut that didn't work
+         before.
+       * src/gtkstext.c: disabled some Emacs key bindings.
+         gtk_stext_key_press(): don't extend selection when Shift-Enter
+         is pressed to prevent the disapperance of cursor.
+       * src/summaryview.c: summary_select_next_unread(): added the button
+         to search unread message again from the beginning to the dialog.
+       * src/folderview.c: folderview_key_pressed(): go to next unread
+         folder if space key is pressed on the empty folder.
+         Move CTree focus before selecting row.
+
+2002-01-21
+
+       * src/defs.h: modified the XLFD of default fonts.
+       * src/textview.c: textview_create(): fixed a bug that caused
+         segfault if font couldn't be loaded.
+       * src/folderview.c
+         src/grouplistdialog.c: compare subscribed groups with path.
+       * src/prefs_filter.c: changed 'Operator' to 'Condition'.
+
+2002-01-20
+
+       * src/compose.c: compose_wrap_line_all(): fixed wrapping crash
+         when URL is wider than wrapping margin.
+       * src/mainwindow.c
+         src/prefs_filter.[ch]
+         src/summaryview.[ch]: added "Create filter rule" function based
+         on the patch from Luca Rosellini.
+       * src/summaryview.c: summary_filter_open(): added X-List and
+         X-Mailing-list to the automatically detected headers.
+
+2002-01-18
+
+       * configure.in: support Mac OS X (Darwin).
+
+2002-01-16
+
+       * src/prefs_filter.c: use inc_(un)lock() instead of
+         inc_autocheck_timer_{remove|set}().
+       * src/summaryview.c: summary_sort(): use gtk_ctree_sort_recursive()
+         instead of gtk_ctree_sort_node() so that messages within threads
+         are also sorted.
+       * src/procmsg.c: procmsg_read_mark_file(): fixed a bug that the
+         target of sizeof was wrong and caused crash on Alpha architecture
+         (thanks to Motonobu Ichimura).
+
+2002-01-15
+
+       * src/foldersel.c:
+         foldersel_gnode_func(): made the names of special folders
+         translated strings.
+         foldersel_set_tree(): move the special folder to the top.
+       * src/inputdialog.[ch]: input_dialog_query_password(): new.
+       * src/imap.c
+         src/inc.c
+         src/news.c
+         src/send.c: use input_dialog_query_password() instead of their
+         own query functions.
+
+2002-01-14
+
+       * src/defs.h: modified the default font.
+       * src/folder.[ch]
+         src/mh.[ch]
+         src/imap.[ch]
+         src/news.[ch]: moved the class definition and some methods to
+         the proper location.
+
+2002-01-11
+
+       * src/mimeview.c: mimeview_save_as()
+         src/summaryview.c: summary_save_as(): put the default filename
+         based on the subject.
+       * src/utils.[ch]: added subst_chars() and subst_for_filename()
+         which substitute some special characters with underscore.
+       * src/filesel.c: filesel_select_file(): select the default filename.
+
+2002-01-10
+
+       * INSTALL
+         INSTALL.jp: added the description and the URL for libjconv.
+       * src/mainwindow.c: menu entries cleanup.
+
+2002-01-09
+
+       * README
+         README.jp
+         src/about.c: modified the copyright year.
+       * src/gtkstext.h: added the notice for modification by the Sylpheed
+         Team.
+
+2002-01-08
+
+       * INSTALL
+         INSTALL.jp: added the URL for compface.
+
+2002-01-07
+
+       * version 0.7.0
+
+2002-01-07
+
+       * src/headerwindow.c
+         src/logwindow.c
+         src/messageview.c
+         src/sourcewindow.c: set wmclass when creating windows.
+
+2002-01-04
+
+       * src/compose.c: compose_wrap_line_all(): fixed the bug that
+         caused infinite loop when wrapping certain patterns of quoted text.
+
+2002-01-02
+
+       * src/imap.c: imap_parse_envelope(): put the assertion after
+         imap_parse_address() to prevent segmentation fault.
+
+2001-12-31
+
+       * src/folderview.c
+         src/mainwindow.c: modified some labels of menu items.
+       * src/ldif.c: put the return value of fgetc() in a gint.
+       * src/importldif.c: don't brace null strings with _().
+       * src/compose.c: moved the position of Subject entry to the last.
+         Reorganized the menu.
+         compose_draft_cb(): added 'keep editing after saving to draft'
+         feature.
+
+2001-12-30
+
+       * src/mainwindow.c: reorganization of main menu. Removed 'Summary'
+         menu. Moved 'Help' menu to just the right of 'Configuration'.
+         Removed 'File - Close' menu item.
+
+2001-12-25
+
+       * src/mainwindow.c: some menu reorganization.
+       * AUTHORS: updated. Added more contributors.
+       * src/account.c: account_row_moved(): new. Moves displayed row to
+         the appropriate position when up / down button are pressed.
+         account_clist_set(): move displayed row to the appropriate position.
+       * src/compose.c
+         src/mainwindow.c: set title and wmclass when creating windows.
+
+2001-12-24
+
+       * src/gtkstext.c: fixed a bug that didn't show block cursor
+         correctly. Removed unnecessary GdkGC copy. Fixed cursor
+         coordinate.
+       * src/compose.c
+         src/gtkutils.[ch]
+         src/textview.[ch]
+         src/undo.c: modified to use GtkSText.
+       * src/menu.h: added #include <gtk/gtkmenu.h>.
+
+2001-12-23
+
+       * acconfig.h
+         configure.in: added XIM checking for GTK+.
+       * src/gtkstext.[ch]: new. Copied GtkText in GTK+ and renamed.
+
+2001-12-22
+
+       * src/filter.c: added #include <sys/types.h>.
+
+2001-12-21
+
+       * src/template.c: template_write_config(): fixed a typo.
+       * src/compose.c: toolbar_linewrap_cb(): call compose_wrap_line_all().
+       * src/filter.[ch]
+         src/prefs_filter.c: supported regular expression (thanks to
+         Yukihiro Nakai).
+       * src/undo.c: undo_paste_clipboard_cb(): fixed a bug that broke
+         undo state when pasted clipboard was empty.
+         undo_check_size(): use g_list_last().
+         undo_undo()
+         undo_redo(): fixed NULL checking and made a bit of optimization.
+         Some code cleanups.
+       * src/prefs_common.c: changed the default value of linewrap length
+         to 72.
+
+2001-12-20
+
+       * reorganization of pixmap management.
+       * src/stock_pixmap.[ch]: new. This module manages all static pixmaps.
+       * modified every files which directly use pixmaps data to use
+         stock_pixmap_*().
+       * src/undo.[ch]: renamed undo_set_undo_change_funct() to
+         undo_set_change_state_func(), and changed its argument from
+         GtkWidget* to gpointer.
+         undo_merge(): code cleanup.
+       * src/compose.c: renamed compose_set_undo() to
+         compose_undo_state_changed().
+
+2001-12-19
+
+       * src/account.c: account_find_from_address(): made it case
+         insensitive.
+       * src/addressbook.c: addressbook_create(): set wmclass.
+       * src/compose.c: compose_insert_file(): supported DOS/Win/Mac line
+         break.
+       * src/importldif.c
+         src/ldif.[ch]: merged from the claws branch.
+       * src/importldif.c: removed some warnings.
+         imp_ldif_field_list_toggle(): fixed button checking.
+         imp_ldif_dialog_create(): minor layout fix.
+       * src/ldif.c: removed some warnings.
+       * INSTALL
+         INSTALL.jp: updated confirmation list.
+       * src/vcard.c:
+         vcard_read_file()
+         vcard_test_read_file(): fixed a memory leak of tagtemp.
+         Some code cleanups (decreasing the indent level).
+       * src/addrindex.c
+         src/jpilot.[ch]
+         src/syldap.[ch]: disabled runtime library checking because JPilot
+         and LDAP libraries are linked on the build time, and the program
+         doesn't execute without them anyway.
+       * src/addressbook.c
+         src/addrindex.c: changed "J-Pilot" to "JPilot".
+         Removed warning for atoi().
+
+2001-12-18
+
+       * src/procmsg.c: procmsg_empty_trash()
+         src/mainwindow.c: main_window_empty_trash(): empty trash only if
+         it contains some messages.
+       * src/imap.c: search_array_str(): new.
+         imap_status(): fixed a bug that didn't parse the command response
+         correctly.
+
+2001-12-18
+
+       * merged undo function (by Jens Oberender).
+       * src/undo.[ch]: new.
+         undo_insert_text_cb(): fix for multibyte characters (obtain the
+         number of letters instead of bytes).
+       * src/compose.[ch]: added the code for undo.
+       * src/prefs_common.[ch]: added the interface for setting undo level.
+
+2001-12-16
+
+       * src/compose.c: compose_template_apply()
+         src/prefs_template.c: prefs_template_clist_set_row()
+         src/template.c: template_write_config(): don't replace To: and
+         Subject: entry in composition window if they are empty.
+
+2001-12-16
+
+       * version 0.6.6
+
+2001-12-15
+
+       * src/folderview.c: folderview_drag_motion_cb(): fixed a DnD bug.
+       * src/ldif.c: ldif_get_line(): ignore CR.
+       * src/mimeview.c: mimeview_show_message(): search also text/html
+         for first text part.
+
+2001-12-14
+
+       * src/prefs_account.c: prefs_account_save_config_all(): fixed a bug
+         that didn't update accountrc if account_list == NULL (thanks to
+         Watanabe).
+
+2001-12-14
+
+       * src/utils.h: added the macro Xstrcat_a() that concatenates
+         two strings and return alloca'd string.
+       * src/imap.c: imap_scan_tree_recursive(): fixed a bug that didn't
+         handle folder name which includes some spaces correctly
+         (based on the patch from Willem van Engen (thanks!)).
+       * src/compose.c: compose_wrap_line_all(): fixed the crash when
+         wrapping long lines if linewrap quotation is disabled and
+         a word spanning more than one line.
+
+2001-12-14
+
+       * applied the Tobias' patch with modification (thanks!).
+       * src/imap.[ch]:
+         imap_msg_set_perm_flags()
+         imap_msg_unset_perm_flags(): new. They set permanent flags to
+         a IMAP message.
+       * src/compose.c
+         src/summaryview.c: set flags on IMAP server when flags are changed.
+
+2001-12-11
+
+       * src/gtkutils.[ch]: gtkut_container_remove(): new. It's a wrapper
+         of gtk_container_remove() for workaround of a bug in
+         Gtk{Text,Entry} (thanks to Sergey Vlasov).
+       * src/compose.c
+         src/mainwindow.c
+         src/messageview.c
+         src/mimeview.c
+         src/summaryview.c
+         src/textview.c: replaced gtk_container_remove() with
+         gtkut_container_remove(), and removed previous partial fix.
+
+2001-12-09
+
+       * src/prefs_account.c: prefs_account_apply(): fixed a bug that
+         checked user ID on "local", but didn't on IMAP4.
+       * src/imap.c: imap_session_get(): fixed a crash bug when
+         rfolder->session == NULL.
+       * Makefile.am: changed the arguments of tar from 'chojf' to
+         '--bzip2 -chof'.
+       * src/summaryview.c: summary_toggle_view(): disclaim the selection
+         of textview before removing vpaned.
+
+2001-12-08
+
+       * src/messageview.c: messageview_change_view_type(): disclaim the
+         selection before removing textview. This solves the mysterious
+         copy-paste disability (thanks to Melvin Hadasht).
+       * src/textview.c: textview_set_font(): use
+         gtk_editable_claim_selection() instead of
+         gtk_editable_select_region().
+
+2001-12-06
+
+       * src/prefs_template.c: prefs_template_window_create(): supported
+         address completion on the To: entry.
+
+2001-12-04
+
+       * src/folder.c:
+         folder_count_total_msgs()
+         folder_count_total_msgs_func(): use g_node_traverse() to traverse
+         GNode.
+
+2001-12-03
+
+       * src/compose.c: fixed a bug that empty body was refused.
+       * src/prefs_template.c: fixed a bug that didn't set To: entry
+         correctly. Display error dialog if format is illegal.
+       * src/prefs_common.c
+         src/quote_fmt_lex.l
+         src/quote_fmt_parse.y: changed parenthesis "( )" to curly braces
+         "{ }" to prevent confusion on using parenthesis.
+       * src/html.c: html_get_parenthesis(): ignore CSS / script stuff.
+
+2001-11-29
+
+       * src/prefs_template.c: added colon to the header labels.
+
+2001-11-28
+
+       * src/compose.c
+         src/prefs_template.c
+         src/template.[ch]: added To field to the template.
+
+2001-11-27
+
+       * src/textview.c: textview_show_part(): use first found
+         message/rfc822 header.
+       * src/folderview.c: added "Search messages..." to the context menu.
+       * src/prefs_common.c: prefs_quote_description_create(): added
+         description for characters which need to be escaped.
+
+2001-11-26
+
+       * src/compose.c: compose_wrap_line_all(): more merging from claws.
+         GET_CHAR(): renamed GET_TEXT() and made it more generic.
+         Modified compose_wrap_line() and compose_wrap_line_all() to use
+         GET_CHAR().
+       * src/textview.c: textview_show_part(): show the header of nested
+         RFC822 attachment correctly.
+
+2001-11-25
+
+       * src/folder.[ch]
+         src/main.c: added --status option to get new, unread and total
+         message count from a running Sylpheed (merged from claws).
+         prohibit_duplicate_launch(): output '\n' only once.
+
+2001-11-23
+
+       * src/compose.c
+         src/gtkutils.[ch]: merged the new wrapping function.
+         gtkut_text_str_compare_n()
+         gtkut_text_str_compare()
+         gtkut_text_is_uri_string(): backport from the GtkSText in the
+         claws branch, and made modification.
+       * src/prefs_template.c
+         src/template.[ch]: added Subject to the template.
+
+2001-11-22
+
+       * src/compose.c: compose_write_headers(): added missing parenthesis
+         that generated invalid custom header (thanks to Masaaki Noro).
+         Allow Sender: custom header.
+
+2001-11-20
+
+       * src/procheader.c: procheader_date_parse(): workaround for
+         RFC-incompliant Date header.
+
+2001-11-20
+
+       * src/addrbook.c: removed redundant functions, and fixed generation
+         of spurious address book file names.
+       * src/addrindex.c: V-Card -> vCard.
+
+2001-11-19
+
+       * src/textview.c: get_email_part(): replaced isalnum() with
+         the macro IS_ASCII_ALNUM() which restricts the range of
+         characters to 7bit ASCII (thanks to Shimamoto).
+       * src/utils.c: remote_tzoffset_sec(): workaround for malformed
+         timezone offset.
+
+2001-11-18
+
+       * src/textview.c: textview_show_part(): show headers on nested
+         muitipart text.
+
+2001-11-17
+
+       * src/imap.c: imap_session_get()
+         src/news.c: news_session_get(): fixed segfault when reconnection
+         failed.
+       * src/grouplistdialog.c: removed redundant code, and expand nodes
+         that doesn't match the pattern.
+
+2001-11-16
+
+       * src/compose.c: modified so that it sends message when any of
+         To:, Cc:, Bcc:, or Newsgroups: fields have valid recipient.
+         compose_check_for_valid_recipient(): new.
+       * src/grouplistdialog.c: improved the UI.
+         Added appropriate description and search button.
+         Search doesn't get group list again.
+
+2001-11-15
+
+       * src/news.[ch]: news_session_get(): update the last access time
+         correctly.
+         news_group_list_free(): new.
+       * src/grouplistdialog.c: free resources correctly.
+
+2001-11-15
+
+       * src/folderview.c
+         src/grouplistdialog.[ch]: more merging of new newsgroup
+         subscription dialog.
+       * src/news.[ch]: renamed news_remove_group_list() to
+         news_remove_group_list_cache().
+
+2001-11-14
+
+       * src/defs.h: added MAX_ENTRY_LENGTH definition.
+       * src/compose.c: compose_add_entry_field(): create new entry with
+         max length.
+
+2001-11-13
+
+       * src/grouplistdialog.c: made non-leaf node selectable.
+         Give the complete newsgroup name for each nodes.
+
+2001-11-13
+
+       * src/grouplistdialog.c
+         src/news.[ch]: merging of new newsgroup subscription dialog
+         (still in progress. Don't use it yet!).
+
+2001-11-12
+
+       * src/utils.[ch]: decode_uri(): new. It decodes URL-encoded strings.
+       * src/compose.[ch]: compose_new_with_recipient(): accept mailto
+         URL.
+         compose_entries_set(): new. It parses mailto URL and put each
+         values into the entries.
+
+2001-11-12
+
+       * src/compose.c: compose_forward(): fixed a bug that forward
+         quote mark wasn't used (thanks to Hironori IWANE).
+       * src/codeconv.[ch]
+         src/mainwindow.c
+         src/prefs_common.c: added Thai encodings (thanks to Manrat
+         Chobchuen).
+
+2001-11-08
+
+       * src/socket.c: sock_connect_by_hostname(): removed h_errno.
+       * src/session.h
+         src/defs.h
+         src/imap.[ch]
+         src/news.c: added last_access_time to Session.
+         imap_session_get(): check connection only when access interval
+         has been exceeded.
+
+2001-11-07
+
+       * version 0.6.5
+
+2001-11-07
+
+       * src/socket.c: ssl_gets(): use SSL_peek.
+       * updated NEWS and AUTHORS.
+       * Makefile.am: fixed release target.
+
+2001-11-06
+
+       * src/template.c: changed the format of template file to
+         RFC2822-like.
+       * src/compose.c: compose_template_apply(): freeze the text widget
+         while inserting strings.
+
+2001-11-05
+
+       * po/POTFILES.in: removed src/template_select.c.
+       * src/summaryview.c: summary_set_header()
+         src/address.c: address_parse_str()
+         src/filter.c: filter_read_str()
+         src/news.c: news_parse_xover()
+         src/procheader.c: procheader_get_fromname()
+         src/utils.c: subject_compare():
+         replaced Xalloca() + strcpy() with Xstrdup_a().
+       * src/inputdialog.[ch]: added combo mode.
+         input_dialog_combo(): new.
+       * src/prefs_common.[ch]: added MIME open command setting.
+         prefs_common_{read, save}_config(): read / write command history.
+       * src/mimeview.c: mimeview_open_with(): use combo input dialog.
+       * src/utils.[ch]: add_history(): history list management function.
+
+2001-11-04
+
+       * src/compose.c: select templates from the menu.
+         compose_set_template_menu(): new.
+         compose_reflect_prefs_all(): new.
+         compose_template_apply(): new. Use dummy MsgInfo for parsing.
+       * src/template.[ch]: store template list to the static heap.
+         template_get_config(): new.
+         template_set_config(): new.
+       * src/prefs_template.c: don't store template list to the global area.
+       * src/template_select.[ch]: removed.
+       * src/quote_fmt_parse.y: check folderitem when quoting messages.
+       * src/mh.c: mh_add_msg(): try to copy file whenever link() failed
+         (thanks to OSHIRO Naoki).
+
+2001-11-03
+
+       * src/utils.[ch]: get_template_dir(): new.
+       * src/template.c: use get_template_dir().
+
+2001-11-02
+
+       * src/prefs_template.c: modified the dialog layout.
+         Added symbol description button.
+       * src/summaryview.c: show an arrow mark to the column of the sort
+         target.
+         summary_set_column_titles(): new.
+       * INSTALL
+         INSTALL.jp
+         README
+         README.jp
+         TODO
+         TODO.jp: updated the documents.
+
+2001-11-02
+
+       * src/Makefile.am: add missing checkbox_{on, off}.xpm.
+       * src/textview.c: textview_key_pressed()
+         src/mimeview.c: mimeview_key_pressed()
+         src/summaryview.c: summary_key_pressed(): delete messages with
+         Delete key.
+
+2001-11-01
+
+       * src/socket.c: ssl_gets(): fixed a bug that caused infinite loop
+         when SSL_read() returned 0.
+       * src/utils.[ch]: strcrchomp(): new. It removes CR from the tail
+         of strings.
+       * src/quote_fmt_parse.y: convert CRLF to LF when inserting messages.
+         Add prototype of yylex() to suppress the warning.
+       * merged the template function.
+       * src/prefs_template.[ch]
+         src/template.[ch]
+         src/template_select.[ch]: new.
+         Renamed prefs_templates_* -> prefs_template_*.
+       * src/compose.c: added template menu. Added replyinfo to Compose.
+       * src/mainwindow.c: added template setting menu.
+       * src/quote_fmt_lex.l: output literal tab and return as is.
+       * src/prefs_common.c: changed the pref. name of quote format to
+         'reply_quote_{mark, format}' and 'fw_quote_{mark, format}'.
+
+2001-10-31
+
+       * src/prefs_common.[ch]: added Quote tab, and moved the quote
+         setting from Compose tab.
+       * merged the new quote format parser.
+       * src/quote_fmt_lex.h
+         src/quote_fmt.h
+         src/quote_fmt_lex.l
+         src/quote_fmt_parse.y: new files for quote format parser.
+       * configure.in: added checks for lex and yacc.
+       * src/compose.c: compose_quote_file(), compose_quote_parse_fmt():
+         removed.
+         compose_quote_fmt(): new.
+       * src/prefs_common.[ch]: added forward format setting to the
+         Quote tab. Updated the quote description dialog.
+       * src/quote_fmt_parse.y: fixed bugs that tried to read file even
+         if they couldn't get text part.
+
+2001-10-31
+
+       * src/pixmaps/checkbox_off.xpm
+         src/pixmaps/checkbox_on.xpm: new.
+       * src/account.c: display `get all' status with the checkbox pixmaps.
+
+2001-10-30
+
+       * src/send.c: code cleanup. Pass account prefs structure instead
+         of many arguments.
+         Query password for SMTP AUTH if not specified (thanks to Mio).
+
 2001-10-30
 
        * src/procheader.c: procheader_parse(): fixed a bug that didn't
 
 2001-01-06
 
-       * src/compose.[ch]: integrated news posting patch from DINH V. Hoà
+       * src/compose.[ch]: integrated news posting patch from DINH V. Ho`
          and made many modifications (thanks!).
          compose_write_headers(): made the spaces in newsgroups removed.
          Supported Followup-To.