sync with main 0.9.11cvs1
[claws.git] / ChangeLog
index cc26d60..7783f20 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,708 @@
+2004-06-03
+
+       * src/procmsg.c: procmsg_read_cache_data_str(): changed gint32 to
+         guint32 for some platforms.
+       * src/summaryview.c: restored 'Print' menu.
+
+2004-06-01
+
+       * src/about.c: modified copyright year.
+
+2004-05-28
+
+       * version 0.9.11
+
+2004-05-21
+
+       * src/smtp.c: comply with RFC 2821 (thanks to Alfons).
+
+2004-05-20
+
+       * src/folderview.[ch]: implemented spring-loaded folder.
+
+2004-05-20
+
+       * src/folderview.c: folderview_button_pressed(): enable menu item
+         'Search messages...' only when opened folder is selected.
+
+2004-05-19
+
+       * src/compose.c
+         src/prefs_common.[ch]: removed the option "Queue messages that fail
+         to send".
+
+2004-05-18
+
+       * src/summaryview.c: cleaned up the context menu.
+       * src/mainwindow.c: changed the position of '/Message/Re-edit'
+         menuitem.
+
+2004-05-12
+
+       * src/procmsg.[ch]: fixed the type of integer value in cache data
+         to g(u)int32.
+
+2004-05-11
+
+       * src/nntp.c: nntp_get_article(): ignore the protocol error of
+         response for some broken news servers (thanks to Davide Scola).
+
+2004-05-11
+
+       * src/gtkutils.[ch]: added gtkut_editable_disable_im().
+       * src/passphrase.c: disable XIM on entering passphrase.
+
+2004-05-11
+
+       * src/compose.c
+         src/folderview.c
+         src/inc.c
+         src/prefs_display_header.c
+         src/procmsg.h: fixed for AMD64 (and other 64-bit platforms)
+         (thanks to Hiroyuki Ikezoe).
+
+2004-05-10
+
+       * src/inc.[ch]: don't use gtk_timeout_add(), instead use
+         gettimeofday() (to prevent infrequent lockup).
+
+2004-03-19
+
+       * src/defs.h
+         src/inc.[ch]: changed the method of updating the progress dialog
+         to reduce the overhead on a fast network.
+
+2004-03-16
+
+       * src/nntp.c: nntp_session_new(): attempt to authenticate at the
+         beginning of a session (thanks to Shiino Yuki and IWAMOTO, Kouichi).
+       * src/news.c
+         src/nntp.c: destroy session when socket error occurred.
+
+2004-03-12
+
+       * src/mainwindow.c
+         src/summaryview.[ch]: added a function to filter selected
+         messages.
+
+2004-03-12
+
+       * src/filter.[ch]
+         src/prefs_filter.c: rewrote the filtering system (the UI is not
+         implemented yet).
+
+2004-03-09
+
+       * src/filter.c: fixed the matching algorithm of "not contain" flag
+         (also match if a header not exist, and handle same multiple
+         headers).
+       * src/imageview.c: get_resized_size(): fixed a typo that caused
+         resizing problem.
+
+2004-03-02
+
+       * src/folder.c
+         src/mh.c: only update FolderItem::last_num when removing the last
+         number of message in MH folders, and don't scan in other case
+         (fixes wrong message count on moving).
+
+2004-03-02
+
+       * src/folderview.c
+         src/summaryview.c: always move messages by default when using DnD
+         (except for News folder). Copy messages if Ctrl-key is pressed.
+       * src/mainwindow.c: main_window_empty_trash()
+         src/summaryview.c: summary_execute(): added missing
+         statusbar_pop_all().
+
+2004-02-29
+
+       * version 0.9.10
+
+2004-02-26
+
+       * src/prefs_common.c: made the default of "inc_local" FALSE.
+
+2004-02-26
+
+       * src/account.c
+         src/folderview.c: toggle online mode when checking IMAP4 accounts.
+         Pop status bar after that.
+       * src/inc.c: code cleanup.
+       * src/mainwindow.[ch]: added main_window_get() and
+         main_window_toggle_online_if_offline().
+       * src/prefs_common.c: prefs_common_read_config(): fixed a bug that
+         made it offline mode on first execution.
+
+2004-02-25
+
+       * src/imageview.c: enabled automatic resize on window resize.
+         restrict the minimum size to 16 pixels to prevent crash.
+         imageview_init(): don't cache images when using imlib.
+         imageview_show_image(): fixed memory leak.
+       * src/mimeview.c: mimeview_init(): call imageview_init().
+
+2004-02-24
+
+       * src/codeconv.[ch]: added ISO-2022-JP-3 encoding.
+
+2004-02-24
+
+       * src/codeconv.c
+         src/mainwindow.c
+         src/messageview.c: added KOI8-U encoding.
+       * src/prefs_common.c: prefs_message_create(): modified the string
+         of resizing image option.
+
+2004-02-19
+
+       * src/addressbook.c: addressbook_list_selected(): corrected its
+         argument.
+       * src/imageview.[ch]: keep original image data in ImageView, and
+         enabled the toggle of resizing.
+       * src/messageview.[ch]
+         src/mimeview.[ch]: handle ImageView in MimeView instead of
+         MessageView.
+
+2004-02-16
+
+       * src/imap.c
+         src/news.c
+         src/summaryview.c: removed statusbar_pop_all() from imap.c and
+         news.c (do it in summaryview.c).
+
+2004-02-12
+
+       * src/inc.[ch]
+         src/pop.[ch]: made inc_drop_message() the virtual function of
+         Pop3Session and removed the dependency of pop.c on inc.h.
+
+2004-02-12
+
+       * src/mainwindow.c
+         src/messageview.[ch]
+         src/textview.c: added statusbar to the message view with new window.
+
+2004-02-10
+
+       * src/inc.[ch]: use hash table for progressive update.
+         changed update interval to 2 sec.
+       * src/folder.[ch]
+         src/mh.c
+         src/procmsg.c
+         src/summaryview.c: added FolderItem::unmarked_num to correct the
+         folder message counting.
+
+2004-02-09
+
+       * src/inc.[ch]: update folderview progressively.
+       * src/foldersel.c: display full id for selected item.
+
+2004-02-06
+
+       * src/folderview.[ch]: code cleanup.
+         folderview_append_item(): new. It appends the folder to the folder
+         view.
+       * src/foldersel.c: foldersel_new_folder(): use
+         folderview_append_item().
+
+2004-02-06
+
+       * src/foldersel.c: implemented 'create new folder' function.
+       * src/folder.[ch]: folder_find_child_item_by_name(): new.
+       * src/utils.h: AUTORELEASE_STR(): convert malloc'd string into
+         auto-release (alloca'd) one.
+
+2004-02-05
+
+       * src/folderview.c: put together folderview_new_imap_folder_cb() into
+         folderview_new_folder_cb().
+
+2004-02-04
+
+       * src/compose.c: compose_write_to_file(): removed redundant strlen()
+         (thanks to Alfons).
+       * src/textview.c: textview_button_pressed(): select correct account
+         when address is clicked.
+
+2004-01-29
+
+       * version 0.9.9
+
+2004-01-29
+
+       * src/folder.c: folder_item_fetch_all_msg()
+         src/folderview.c: folderview_download_cb(): show progress with
+         the progressbar.
+       * src/mainwindow.[ch]: added new functions for progressbar.
+
+2004-01-29
+
+       * src/summaryview.c: summary_key_pressed(): GDK_Left should only
+         switch to folderview when summaryview hscrollbar is at the leftmost
+         position (thanks to Alfons).
+
+2004-01-29
+
+       * src/codeconv.c: conv_euctojis(): made JIS X 0201 Kana conversion
+         configurable.
+       * src/prefs_common.[ch]: added PrefsCommon::allow_jisx0201_kana
+         (hidden setting).
+
+2004-01-28
+
+       * src/codeconv.c: conv_euctojis(): force JIS X 0201 Kana to JIS X 0208
+         conversion.
+
+2004-01-28
+
+       * src/imap.c: imap_get_msginfo(): fixed wrong counting.
+
+2004-01-28
+
+       * src/base64.c
+         src/codeconv.c
+         src/compose.c
+         src/html.c
+         src/imap.c
+         src/pop.c
+         src/prefs_account.c
+         src/procmime.c
+         src/procmsg.c
+         src/quote_fmt_parse.y
+         src/quoted-printable.c
+         src/textview.c
+         src/unmime.c
+         src/utils.c
+         src/utils.h
+         src/xml.c: fixed wrong type of argument for ctype functions (char
+         had been passed instead of unsigned char).
+
+
+2004-01-27
+
+       * src/mainwindow.[ch]: added MainWindow::messageview_cid.
+         Clear messageview when it is hidden.
+       * src/textview.c: show URL to the statusbar when its link is clicked.
+         textview_uri_security_check(): compare real URL and apparent one
+         and show warning if it seems to be a fake URL.
+       * src/utils.[ch]:
+         is_uri_string(): return TRUE if the string seems like a URL.
+         get_uri_path(): return URL except for its scheme part.
+
+2004-01-23
+
+       * src/folder.[ch]: folder_item_fetch_all_msg(): new. It fetches all
+         messages in a folder.
+       * src/folderview.c: implemented 'Download' feature.
+
+2004-01-23
+
+       * src/gtkutils.[ch]: implemented ComboButton which adds an arrow
+         menu button to a button.
+       * src/mainwindow.[ch]: main_window_toolbar_create(): added combo
+         button to reply and forward button.
+
+2004-01-22
+
+       * src/mainwindow.c: fixed automatic expansion of window size because
+         of toolbar.
+
+2004-01-21
+
+       * src/addr_compl.[ch]
+         src/gtkshruler.[ch]: changed the copyright notice.
+
+2004-01-20
+
+       * src/gtkstext.c: find_line_params(): also break between mutlibyte
+         and single-byte characters.
+
+2004-01-20
+
+       * src/gtkstext.c: find_line_params(): break lines between multibyte
+         characters on word wrap mode.
+
+2004-01-05
+
+       * src/codeconv.c: conv_iconv_strdup(): fixed crashes on LP64
+         environments (thanks to James Noyes).
+       * src/compose.c: compose_select_account(): don't turn off the sign/
+         encrypt option automatically.
+
+2003-12-17
+
+       * src/inc.[ch]: made inc_account_mail() public.
+       * src/mainwindow.c: moved receive menus into submenu, and added
+         dynamic menus for receiving from each account.
+
+2003-12-15
+
+       * version 0.9.8a
+
+2003-12-15
+
+       * src/procmsg.c: procmsg_open_data_file(): set buffer if DATA_READ
+         is specified and a buffer is given.
+         procmsg_open_cache_file_with_buffer(): new.
+         procmsg_read_cache(): fixed a bug that called setvbuf() after an
+         file I/O which caused buffer read error.
+
+2003-12-12
+
+       * version 0.9.8
+
+2003-12-12
+
+       * configure.in: enable IPv6 support by default.
+
+2003-12-11
+
+       * src/inc.c: inc_mail(), inc_all_account_mail(): ask user to switch
+         to online when in offline mode.
+       * src/mainwindow.h: added main_window_toggle_online().
+
+2003-12-11
+
+       * src/foldersel.c
+         src/folderview.[ch]
+         src/mainwindow.c
+         src/stock_pixmap.[ch]
+         src/pixmap/dir-noselect.xpm: made no-select folders display with
+         dim icon and string.
+       * src/Makefile.am: added offline.xpm, online.xpm, and
+         dir-noselect.xpm to EXTRA_DIST.
+
+2003-12-11
+
+       * src/folder.h: added macro FOLDER_ITEM_CAN_ADD().
+       * src/folderview.c: folderview_drag_motion_cb(): code cleanup.
+         folderview_drag_received_cb(): don't accept at no_select folder or
+         from itself.
+       * src/foldersel.c: made folders on which no_select flag is set not
+         selectable.
+
+2003-12-10
+
+       * src/imap.c: imap_do_copy_msgs(), imap_remove_msgs(): code cleanup.
+         set MSG_INVALID flag when messages are deleted.
+       * src/mh.c: mh_do_move_msgs(), mh_remove_msg(): set MSG_INVALID flag
+         when messages are deleted.
+       * src/procmsg.[ch]:
+         procmsg_move_messages()
+         procmsg_copy_messages(): return error status.
+         Added MSG_INVALID to MsgTmpFlags.
+       * src/summaryview.c: summary_execute(): detect errors and only remove
+         nodes that are invalidated.
+         summary_unthread_for_exec(): fixed a bug that didn't remove nodes
+         in collapsed trees.
+
+2003-12-06
+
+       * src/mainwindow.[ch]: added online switch button to the statusbar,
+         and "/File/Work offline" in the menu.
+       * src/pixmaps/offline.xpm
+         src/pixmaps/online.xpm: new (borrowed from
+         themes/classic/communicator/icons/ in Mozilla).
+       * src/stock_pixmap.[ch]: added online.xpm and offline.xpm.
+       * src/textview.[ch]: textview_show_error(): new.
+       * src/summaryview.c: summary_display_msg_full(): update marks only
+         if messages are displayed.
+       * src/prefs_common.[ch]: added PrefsCommon::online_mode.
+       * src/news.c: news_session_get()
+         src/imap.c: imap_session_get(): return NULL when in offline mode.
+       * src/messageview.[ch]: messageview_show(): return status whether
+         messages are successfully displayed. Display error messages in
+         the view when failed.
+       * src/procmsg.c:
+         procmsg_get_message_file()
+         procmsg_open_message(): don't output warnings when fetch failed.
+
+2003-12-04
+
+       * src/html.c: html_get_tag(): support attributes which don't have
+         values.
+
+2003-12-04
+
+       * src/codeconv.c: conv_get_code_conv_func(): return conv_latintodisp
+         only if src_charset and current charset is identical or current
+         one is multibyte (fixes display of ISO-8859-5 on KOI8-R locale etc.).
+
+2003-11-25
+
+       * autogen.sh: don't include m4 directory in aclocal.
+       * intl/libgnuintl.h: removed from cvs.
+       * po/.cvsignore: added stamp-po and remove-potcdate.sed.
+
+2003-11-24
+
+       * upgraded to gettext-0.12.1.
+
+2003-11-24  gettextize  <bug-gnu-gettext@gnu.org>
+
+       * Makefile.am (SUBDIRS): Add m4.
+       (ACLOCAL_AMFLAGS): New variable.
+       (EXTRA_DIST): Add config.rpath.
+       * configure.in (AC_OUTPUT): Add m4/Makefile.
+
+2003-11-21
+
+       * configure.in: added check for d_type member in struct dirent.
+       * src/mh.c: mh_scan_folder(): use d->d_type if available.
+         mh_get_uncached_msgs(): removed redundant stat().
+         mh_parse_msg(): return NULL if not a regular file.
+         mh_scan_tree_recursive(): use d->d_type if available.
+       * src/utils.[ch]:
+         dirent_is_regular_file()
+         dirent_is_directory(): new. Use d->d_type to determine the type
+         of entry if available.
+         remove_dir_recursive(): use dirent_is_directory().
+
+2003-11-14
+
+       * src/folder.h: added 'updated' flag to FolderItem.
+       * src/folderview.[ch]: folderview_update_all_updated(): new. It
+         updates all updated folders.
+       * src/imap.c: set FolderView::update flag on changes of contents.
+       * src/main.c: send_queue()
+         src/mainwindow.c: send_queue_cb(): code cleanup.
+       * src/mh.c: code cleanup.
+         mh_scan_folder(): correctly count new messages.
+       * src/procmsg.[ch]: code cleanup.
+         procmsg_open_cache_file(): new.
+         procmsg_open_mark_file(): enable read/write/append.
+         procmsg_send_queue(): correctly choose outbox for accounts.
+       * src/send_message.[ch]: send_get_queue_info(): get a queue
+         information from queued messages.
+         send_queue_info_free(): free QueueInfo.
+         send_message_queue(): take QueueInfo as an argument instead of file.  
+       * src/summaryview.c: summary_write_cache(): code cleanup.
+
+2003-11-10
+
+       * src/compose.c: compose_redirect_write_headers(): correctly add
+         Resent-Cc: header.
+
+2003-11-05
+
+       * src/imap.c: imap_get_msg_list(): fallback to FETCH command if SEARCH
+         command to get flags failed.
+         imap_search_flags(): returns UID array and flags hash table using
+         SEARCH command.
+         imap_fetch_flags(): returns UID array and flags hash table using
+         FETCH command.
+
+2003-10-28
+
+       * src/summary_search.c: summary_search_execute(): fixed 'Select all
+         matched' when backward search is enabled.
+         Made the backward search button insensitive when 'select all
+         matched' is enabled.
+
+2003-10-15
+
+       * version 0.9.7
+
+2003-10-15
+
+       * src/imap.c: imap_scan_tree(): check the existence of root directory
+         with LIST instead of STATUS.
+
+2003-10-07
+
+       * src/send_message.c: fixed format string bug (exploitable by
+         malicious SMTP server) when calling alertpanel_error()
+         (thanks to Georgi Guninski).
+
+2003-10-03
+
+       * src/folder.[ch]
+         src/imap.[ch]
+         src/mh.[ch]
+         src/news.[ch]: refactoring of the folder system (based on the claws'
+         implementation).
+       * src/account.c
+         src/foldersel.c
+         src/folderview.c
+         src/mainwindow.c
+         src/messageview.c
+         src/procmsg.c
+         src/setup.c
+         src/summaryview.c: use FOLDER_TYPE() macro at every place.
+
+2003-09-17
+
+       * version 0.9.6
+
+2003-09-17
+
+       * src/addressbook.c:
+         addressbook_folder_load_person()
+         addressbook_folder_load_group(): sort the ctree after the end of
+         the loop (fixes performance issue when many addresses are in one
+         folder) (thanks to christian mock).
+
+2003-09-16
+
+       * src/folderview.c: folder_init(): code cleanup.
+       * src/summaryview.c: summary_init(): check if boldfont is
+         successfully loaded.
+       * src/grouplistdialog.c: use proper callback for delete_event (thanks
+         to Takuro Ashie).
+       * src/imap.c: allow zero-length messages.
+       * src/recv.c: recv_bytes_write(): return immediately if size == 0.
+
+2003-09-16
+
+       * src/folderview.c: folderview_init(): if font can't be loaded, fall
+         back to gtk default (fixes crashes on startup). Also removed the
+         redundant code.
+
+2003-09-15
+
+       * src/compose.c: compose_insert_sig(): insert signature at the
+         current cursor position on manual operation.
+
+2003-09-11
+
+       * src/summaryview.c: summary_key_pressed(): don't ignore delete key
+         even if the main window is locked.
+
+2003-09-10
+
+       * src/action.c: improved synchronous action exit code (fixes long
+         delay after action exit on RH9) (thanks to Melvin).
+       * src/stringtable.[ch]: string_table_insert_string(): modified the
+         code to remove the warning "dereferencing type-punned pointer will
+         break strict-aliasing rules".
+         Use const gchar * instead of gchar * for arguments.
+
+2003-09-05
+
+       * src/utils.[ch]: generate_mime_boundary(): a new function to create
+         MIME boundary (moved from rfc2015.c).
+         Removed more special characters.
+         Use random() instead of lrand48() which is obsolete.
+         Added an argument for prefix to prevent duplication.
+         Always add "=_" as a counter-QP sequence to simplify the code.
+       * src/rfc2015.c:
+         rfc2015_decrypt_message()
+         rfc2015_encrypt()
+         rfc2015_sign(): fixed a bug that didn't handle continuous content
+         lines correctly.
+       * src/compose.c
+         src/rfc2015.c: use generate_mime_boundary().
+
+2003-09-05
+
+       * src/folderview.c:
+         folderview_delete_folder_cb()
+         folderview_remove_mailbox_cb(): close currently displayed folder
+         before removing FolderItem (fixes crash on deleting folder).
+       * src/folder.h
+         src/imap.[ch]: imap_scan_tree()
+         src/mh.[ch]: mh_scan_tree(): return -1 when scanning failed.
+       * src/summaryview.c: summary_clear_all(): also clear the message view.
+       * src/imap.c: imap_close(): fail if the specified folder is not
+         selected.
+         imap_scan_tree(): check if the specified root directory exist, and
+         try creating it if not.
+         imap_parse_list(): output warning if a server returns error.
+         imap_find_namespace_from_list(): support not slash-delimited path.
+         imap_status(): don't return values if they're not specified.
+
+2003-09-02
+
+       * sylpheed.spec.in: fixed a typo.
+
+2003-09-02
+
+       * version 0.9.5
+
+2003-09-01
+
+       * src/inc.[ch]
+         src/main.c
+         src/mainwindow.c
+         src/prefs_common.[ch]: added the receive dialog's option to
+         display the dialog only on manual receiving, and the
+         RECV_DIALOG_ACTIVE option was removed.
+
+2003-09-01
+
+       * src/compose.c: compose_write_headers(): also replace ':' in the
+         MIME boundary with '_' (as a workaround for broken servers).
+
+2003-08-28
+
+       * src/imap.c: imap_scan_tree_recursive(): fixed compile error.
+
+2003-08-27
+
+       * src/prefs_filter.c: added 'Top' and 'Bottom' button.
+
+2003-08-26
+
+       * src/folder.[ch]: folder_item_remove_children(): new. It removes
+         all children under a FolderItem.
+       * src/folderview.c: folderview_rescan_tree(): modified the message.
+       * src/imap.c: imap_scan_tree(), imap_scan_tree_recursive(): reuse
+         the previous FolderItem objects.
+
+2003-08-25
+
+       * src/folder.[ch]: added a reference to its own GNode in FolderItem.
+         folder_item_remove(): free all FolderItem's.
+         folder_tree_destroy(): use folder_item_remove().
+       * src/folderview.c: folderview_sort_folders(): keep the order even
+         if special folders' parents are different.
+       * src/imap.c: imap_scan_tree_recursive(): fixed a memory leak.
+       * src/mh.c: mh_scan_tree(): preserve the previous FolderItem's.
+         mh_remove_missing_folder_items(): scan the directories and remove
+         missing folders.
+         mh_scan_tree_recursive(): reuse the previous FolderItem objects.
+
+2003-08-20
+
+       * src/mainwindow.c: always reflect window size changes.
+       * src/folderview.c: folderview_init()
+         src/summaryview.c: summary_init(): realize the widget before
+         creating pixmaps.
+       * src/prefs_common.[ch]: remember the folder and mesage view's
+         visibility.
+
+2003-08-07
+
+       * src/mainwindow.c
+         src/prefs_common.[ch]: remember the size and position of
+         separated views.
+         main_window_set_widgets(): fixed a bug that the hidden items on
+         the header view were shown when changing the view type.
+         Instead of setting the window size, set the each view's size.
+
+2003-08-01
+
+       * src/compose.c: compose_select_account(): don't append signature
+         on redirect mode.
+         compose_insert_sig(): don't insert "\n\n" if signature string
+         doesn't exist. Always insert signature at the end of message.
+
+2003-08-01
+
+       * improved sylpheed.spec.in (thanks to Andre Oliveira da Costa).
+
+2003-07-31
+
+       * minor code cleanups for the folder system.
+       * src/compose.c: compose_queue(), compose_draft_cb(): code cleanup.
+       * src/folder.c: code cleanups.
+       * src/imap.c
+         src/mh.c: calculate message numbers inside the functions.
+       * src/procmsg.c: procmsg_set_flags(): calculate message numbers.
+       * src/summaryview.[ch]: don't calculate and preserve message numbers
+         inside SummaryView,
+
 2003-07-30
 
        * src/folder.[ch]
 2003-07-30
 
        * src/folder.[ch]
 
        * src/alertpanel.c: alertpanel_create(): fixed truncated message.
        * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
 
        * src/alertpanel.c: alertpanel_create(): fixed truncated message.
        * src/rfc2015.c: rfc2015_decrypt_message(): fixed the case problem
-         of content-type (thanks to René Rebe for the patch).
+         of content-type (thanks to Ren?Rebe for the patch).
        * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
          detection.
        * src/prefs_common.c: prefs_send_create(): made some more character
        * src/codeconv.c: code_get_code_conv_func(): fixed the ISO-8859-1
          detection.
        * src/prefs_common.c: prefs_send_create(): made some more character